/*
Theme Name: Planet Quiz Patente
Theme URI: http://planetquizpatente.it
Author: Edimedia Comunicazione srl
Author URI: http://planetquizpatente.it
Description: WordPress theme for Planet Quiz Patente - La simulazione d'esame per il ciclomotore. Elementor compatible.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: planetquiz
Tags: education, quiz, driving-license, italian
*/

/* ==========================================================================
   1. CSS RESET
   ========================================================================== */

a,
abbr,
acronym,
address,
applet,
article,
aside,
audio,
b,
blockquote,
big,
body,
center,
canvas,
caption,
cite,
code,
command,
datalist,
dd,
del,
details,
dfn,
dl,
div,
dt,
em,
embed,
fieldset,
figcaption,
figure,
font,
footer,
form,
h1,
h2,
h3,
h4,
h5,
h6,
header,
hgroup,
html,
i,
iframe,
img,
ins,
kbd,
keygen,
label,
legend,
li,
meter,
nav,
object,
output,
p,
pre,
progress,
q,
s,
samp,
section,
small,
span,
source,
strike,
strong,
sub,
sup,
table,
tbody,
tfoot,
thead,
th,
tr,
td,
video,
tt,
u,
ul,
var {
    background: transparent;
    border: 0 none;
    font-size: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    vertical-align: top;
}

ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

table,
table td {
    padding: 0;
    border: none;
    border-collapse: collapse;
}

img {
    vertical-align: top;
}

embed {
    vertical-align: top;
}

/* ==========================================================================
   2. HTML5 DISPLAY CORRECTIONS
   ========================================================================== */

article,
aside,
audio,
canvas,
command,
datalist,
details,
embed,
figcaption,
figure,
footer,
header,
hgroup,
keygen,
meter,
nav,
output,
progress,
section,
source,
video {
    display: block;
}

mark,
rp,
rt,
ruby,
summary,
time {
    display: inline;
}

/* ==========================================================================
   3. GLOBAL PROPERTIES
   ========================================================================== */

body {
    background: #fff url(assets/images/body-bg.jpg) repeat-y top center;
    font: 13px Arial, Helvetica, sans-serif;
    line-height: 21px;
    color: #464646;
    min-width: 1000px;
}

html,
body {
    height: 100%;
}

p {
    padding-top: 21px;
}

a {
    color: #00529b;
    outline: none;
}

a:hover {
    text-decoration: none;
}

a {
    outline: 0;
    border: 0;
}

/* ==========================================================================
   4. LAYOUT STRUCTURE
   ========================================================================== */

.main {
    margin: 0 auto;
    width: 948px;
}

header {
    height: 140px;
}

section#content {}

footer {
    height: 80px;
}

/* ==========================================================================
   5. UTILITY CLASSES
   ========================================================================== */

.fleft {
    float: left;
}

.fright {
    float: right;
}

.clear {
    clear: both;
}

.col-1,
.col-2,
.col-3,
.col-4,
.col-5 {
    float: left;
}

.alignright {
    text-align: right;
}

.aligncenter {
    text-align: center;
}

.wrapper {
    width: 100%;
    overflow: hidden;
}

.container {
    width: 100%;
}

/* Spacing utilities */
.top {
    padding-top: 4px;
}

.top_1 {
    padding-top: 11px !important;
}

.top1 {
    padding-top: 16px;
}

.top2 {
    padding-top: 21px;
}

.top3 {
    padding-top: 25px;
}

.top4 {
    padding-top: 27px;
}

.top5 {
    padding-top: 18px;
}

.bot {
    padding-bottom: 45px;
}

.bot1 {
    padding-bottom: 38px;
}

.bot2 {
    padding-bottom: 32px;
}

.margin-top {
    margin-top: 13px;
}

.spacer10 {
    margin: 0;
    padding: 0;
    clear: both;
    height: 10px;
}

.spacer1 {
    margin: 0;
    padding: 0;
    clear: both;
    height: 1px;
    font-size: 1px;
    line-height: 1px;
}

/* Extracted inline styles */
.pqp-logo-spacing {
    padding: 10px 0 0px 25px;
}

.pqp-autoscuola-dropdown-wrap {
    float: right;
    margin-top: 20px;
}

.pqp-sponsor-wrap {
    margin: 25px;
    float: left;
    color: #bbb;
    padding: 5px;
}

.pqp-sponsor-img {
    width: 316px;
    height: 312px;
    border: 1px solid #bbb;
}

.pqp-autoscuola-contact-wrap {
    margin: 10px 60px 0 0;
}

.pqp-social-wrap {
    float: right;
    margin: 10px 0 0 0;
}

.pqp-block-green-top {
    background: url(assets/images/dividergreen.gif) repeat-x top left;
}

.pqp-block-white-text {
    color: #fff;
}

.pqp-block-highlight {
    color: #fff;
    font-size: 18px;
    text-decoration: underline;
}

/* Form elements */
input,
select,
textarea {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1em;
    vertical-align: middle;
    font-weight: normal;
}

/* Image indents */
.img-indent {
    margin: 0 20px 0 0;
    float: left;
}

.img-indent1 {
    margin: 0 25px 0 0;
    float: left;
}

.img {
    padding-top: 6px;
}

.extra-wrap {
    overflow: hidden;
}

.phone {
    display: inline-block;
    width: 88px;
    vertical-align: baseline;
}

/* ==========================================================================
   6. TYPOGRAPHY
   ========================================================================== */

h1 {
    padding: 0px 0 10px 25px;
    position: relative;
    float: left;
}

h1 a {
    display: block;
    width: 462px;
    height: 75px;
    text-indent: -5000px;
    background: url(assets/images/logo.png) left top no-repeat;
}

h2 {
    font-size: 30px;
    line-height: 1.2em;
    color: #00529b;
    padding: 35px 0 8px 0;
    margin: 0 0 0 0;
    letter-spacing: -1px;
}

h3 {
    padding: 12px 0 0;
    font-size: 46px;
    line-height: 0.2em;
    letter-spacing: -.05em;
    color: #1e1e1e;
    height: 51px;
}

h4 {
    font-size: 18px;
    line-height: 1.1em;
    color: #1e1e1e;
    padding: 35px 0 8px 0;
    margin: 0 0 0 0;
    letter-spacing: -1px;
}

h4 span,
h2 span {
    font: 12px Arial;
    line-height: 1.1em;
    color: #1e1e1e;
    font-weight: normal;
}

h5 {
    font: 24px "Trebuchet MS", Helvetica, sans-serif;
    line-height: 1.2em;
    color: #00529b;
    padding: 35px 0 8px 0;
    margin: 0 0 0 0;
    letter-spacing: -1px;
}

.strong {
    padding-bottom: 4px;
    display: block;
}

.text {
    font-size: 18px;
    line-height: 25px;
    color: #464646;
    display: block;
    margin-top: 3px;
}

.text1 {
    font-size: 14px;
    line-height: 25px;
}

.text2 {
    font-size: 13px;
    line-height: 25px;
}

.text2 a {
    color: #00529b;
}

.color {
    color: #00529b;
}

.color1 {
    color: #a3a3a3;
}

/* ==========================================================================
   7. NAVIGATION
   ========================================================================== */

nav {
    position: relative;
}

nav ul {
    width: 100%;
}

nav li {
    float: left;
    font-size: 16px;
    line-height: 1.2em;
    background: url(assets/images/nav-li-bg.png) 0 0 no-repeat;
    padding-left: 1px;
    width: 188px;
}

nav li a {
    display: block;
    text-decoration: none;
    color: #00529b;
}

nav a strong {
    padding: 14px 0 16px;
    display: block;
    text-align: center;
    background: url(assets/images/nav-a-bg.png) 0 0 repeat-x;
}

nav a:hover strong,
nav .active strong {
    background: url(assets/images/nav-a-bg-hover.png) 0 0 repeat-x;
}

nav .first {
    background: none;
}

nav .first a {
    padding: 0px 0px 0px 7px;
    background: url(assets/images/nav-first-strong-bg.png) 0 0 no-repeat;
}

nav .first a:hover,
nav .first .active {
    background: url(assets/images/nav-first-strong-bg-hover.png) 0 0 no-repeat;
}

nav .last a {
    padding: 0px 10px 0px 0px;
    background: url(assets/images/nav-last-strong-bg.png) right top no-repeat;
    width: 184px;
}

nav .last a:hover,
nav .last .active {
    background: url(assets/images/nav-last-strong-bg-hover.png) right top no-repeat;
}

/* ==========================================================================
   8. SLIDER
   ========================================================================== */

#faded {
    position: relative;
    overflow: hidden;
    width: 948px;
    height: 247px;
    background-color: #fff;
}

.sliders li {
    width: 100%;
}

.slogan {
    top: 0px;
    right: 53px;
    width: 372px;
    height: 240px;
    text-align: center;
    font-size: 36px;
    line-height: 1.0em;
    color: #00529b;
    position: absolute;
    letter-spacing: -1px;
    z-index: 10;
}

.slogan strong {
    font-size: 93px;
    line-height: 1.2em;
    display: block;
    margin-bottom: -16px;
}

.slogan a {
    display: inline-block;
    background: url(assets/images/slogan-a-bg.gif) 0 0 repeat-x;
    border-radius: 28px;
    -moz-border-radius: 28px;
    -webkit-border-radius: 28px;
    box-shadow: 0 2px 4px #dddddd;
    -moz-box-shadow: 0 2px 4px #dddddd;
    -webkit-box-shadow: 0 2px 4px #dddddd;
    position: absolute;
    top: 149px;
    left: 99px;
    text-align: center;
    width: 192px;
    height: 46px;
    color: white;
    text-decoration: none;
    font-size: 30px;
    line-height: 1.2em;
    padding-top: 9px;
}

.slogan a:hover {
    color: #111111;
}

/* Pagination */
ul.pagination {
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 10;
    position: absolute;
    font-size: 0;
    line-height: 0;
    top: 180px;
    right: 175px;
    width: 93px;
}

ul.pagination li {
    float: left;
    padding: 0 0px 0 0;
}

ul.pagination li a {
    display: block;
    width: 31px;
    height: 31px;
    background: url(assets/images/faded-pagination-bg.png) left top no-repeat;
    color: #fff;
    font-size: 0;
    text-align: center;
    line-height: 0;
    text-decoration: none;
}

ul.pagination li a:hover {
    background: url(assets/images/faded-pagination-bg-hover.png) left top no-repeat;
}

ul.pagination li.current a {
    background: url(assets/images/faded-pagination-bg-active.png) left top no-repeat;
    color: #00529b;
}

/* ==========================================================================
   9. CONTENT BLOCKS
   ========================================================================== */

/* Indents */
.indent {
    padding: 0px 29px 36px 29px;
}

.indent1 {
    padding: 0px 0px 36px 29px;
}

.pad-left-col {
    padding-left: 29px;
}

/* Column indents */
.col-indent {
    padding-right: 60px;
}

.col-indent1 {
    padding-right: 0px;
}

.col-indent2 {
    padding-right: 0px;
}

.col-indent3 {
    padding-right: 0px;
}

/* Boxes */
.box {
    background: none;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    position: relative;
    border: 1px solid #c8c8c8;
}

.bg {
    background: url(assets/images/box-bg.png) 0 0 repeat-x;
}

.block-bg {
    background: url(assets/images/yellow-bg.gif) 0 0 repeat-x #ffdd00;
}

.block {
    min-height: 209px;
    text-align: center;
    font-size: 14px;
    color: #675302;
    padding-bottom: 2px;
}

.block2 {
    height: 50px;
    text-align: center;
    font-size: 14px;
    color: #675302;
    padding-bottom: 32px;
}

.block img {
    padding: 26px 0 0 0;
    text-align: left;
}

.block p {
    padding: 0 0 0 0;
    margin-top: -4px;
}

.block a {
    background: url(assets/images/block-a-bg.gif) 0 0 repeat-x;
    border-radius: 22px;
    -moz-border-radius: 22px;
    -webkit-border-radius: 22px;
    box-shadow: 0 2px 4px #ddc000;
    -moz-box-shadow: 0 2px 4px #ddc000;
    -webkit-box-shadow: 0 2px 4px #ddc000;
    position: relative;
    width: 141px;
    height: 35px;
    display: inline-block;
    color: white;
    text-decoration: none;
    margin-top: 28px;
    font-size: 22px;
    line-height: 1.2em;
    letter-spacing: -1px;
    padding-top: 6px;
}

.block a:hover {
    color: #ffcc00;
}

.block2 a {
    background: url(assets/images/block-a-bg.gif) 0 0 repeat-x;
    border-radius: 22px;
    -moz-border-radius: 22px;
    -webkit-border-radius: 22px;
    box-shadow: 0 2px 4px #ddc000;
    -moz-box-shadow: 0 2px 4px #ddc000;
    -webkit-box-shadow: 0 2px 4px #ddc000;
    position: relative;
    width: 241px;
    height: 35px;
    display: inline-block;
    color: white;
    text-decoration: none;
    margin-top: 28px;
    font-size: 22px;
    line-height: 1.2em;
    letter-spacing: -1px;
    padding-top: 6px;
}

/* ==========================================================================
   10. LISTS & LINKS
   ========================================================================== */

.list {
    padding-top: 17px;
}

.list li {
    margin: 8px 0 0 0;
    padding-left: 16px;
    font-size: 12px;
    line-height: 17px;
    background: url(assets/images/list-bg.gif) 1px 12px no-repeat;
}

.list li a {
    color: #00529b;
    text-decoration: none;
}

.list .list-bot {
    padding-bottom: 24px;
}

ol.list2 {}

ol.list2 li {
    margin: 8px 0 0 0;
    font-size: 12px;
    line-height: 17px;
    list-style-type: decimal;
}

ol.list2 li a {
    color: #00529b;
    text-decoration: none;
}

ol.list2 li a:hover {
    color: #000000;
    text-decoration: underline;
}

ol.list2 .list-bot {
    padding-bottom: 24px;
}

/* Links */
.link {
    background: url(assets/images/link-bg.gif) 0 0 repeat-x;
    display: inline-block;
    width: 124px;
    height: 25px;
    padding-top: 7px;
    border: 1px solid #cfcfcf;
    text-align: center;
    text-decoration: none;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    position: relative;
    font-size: 16px;
    line-height: 1.2em;
    color: #1b1b1b;
    margin-top: 9px;
    text-transform: capitalize;
}

.link:hover {
    color: #6c6c6c;
}

.decoration {
    text-decoration: none;
}

.decoration:hover {
    text-decoration: underline;
}

/* ==========================================================================
   11. TABS MENU
   ========================================================================== */

ul.tabs {
    position: relative;
    padding: 27px 0 23px 0;
    width: 100%;
    overflow: hidden;
}

ul.tabs li {
    float: left;
    font-size: 16px;
    line-height: 1.2em;
    background: url(assets/images/nav-li-bg.png) 0 0 no-repeat;
    padding-left: 1px;
    width: 148px;
}

ul.tabs li a {
    display: block;
    text-decoration: none;
    color: #00529b;
}

ul.tabs a strong {
    display: block;
    background: url(assets/images/nav-a-bg.png) 0 0 repeat-x;
    text-align: center;
    padding: 14px 0 16px;
}

ul.tabs a:hover strong,
ul.tabs .active strong {
    background: url(assets/images/nav-a-bg-hover.png) 0 0 repeat-x;
}

ul.tabs .first {
    background: none;
}

ul.tabs .first a {
    padding: 0px 0px 0px 7px;
    background: url(assets/images/nav-first-strong-bg.png) 0 0 no-repeat;
}

ul.tabs .first a:hover,
ul.tabs .first.active a {
    background: url(assets/images/nav-first-strong-bg-hover.png) 0 0 no-repeat;
}

ul.tabs .last a {
    padding: 0px 10px 0px 0px;
    background: url(assets/images/nav-last-strong-bg.png) right top no-repeat;
    width: 142px;
}

ul.tabs .last a:hover,
ul.tabs .last.active a {
    background: url(assets/images/nav-last-strong-bg-hover.png) right top no-repeat;
}

.tab_content {
    width: 100%;
    overflow: hidden;
}

/* ==========================================================================
   12. CONTACT FORM
   ========================================================================== */

.contact {
    font-size: 13px;
    line-height: 21px;
    font-weight: bold;
    color: #464646;
}

.contact span {
    display: inline-block;
    vertical-align: baseline;
}

select.regions {
    margin: 10px 0 0 0;
    padding: 4px;
    width: 234px;
    float: right;
}

.ContactForm {
    padding-top: 27px;
}

.ContactForm .column1 {
    float: left;
    width: 276px;
    margin-right: 19px;
}

.ContactForm .column2 {
    float: left;
    width: 276px;
}

.ContactForm label {
    height: 32px;
    display: block;
    background: #fff;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    position: relative;
    border: 1px solid #cdcdcd;
    margin-bottom: 25px;
}

.ContactForm .submit {
    color: #1b1b1b;
    text-decoration: none;
    text-align: center;
    height: 26px;
    width: 97px;
    padding-top: 2px;
    margin-top: 3px;
    position: relative;
    background: url(assets/images/link-bg.gif) 0 0 repeat-x;
    display: inline-block;
    border: 1px solid #cfcfcf;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    box-shadow: 2px 2px 3px #d7d7d7;
    -moz-box-shadow: 2px 2px 3px #d7d7d7;
    -webkit-box-shadow: 2px 2px 3px #d7d7d7;
    font-size: 16px;
    line-height: 1.2em;
    cursor: pointer;
}

#ContactForm a {
    color: #1b1b1b;
    text-decoration: none;
    text-align: center;
    height: 26px;
    width: 97px;
    padding-top: 5px;
    margin-top: 7px;
    position: relative;
    margin: 34px 2px 0 0px;
    background: url(assets/images/link-bg.gif) 0 0 repeat-x;
    display: inline-block;
    border: 1px solid #cfcfcf;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    box-shadow: 2px 2px 3px #d7d7d7;
    -moz-box-shadow: 2px 2px 3px #d7d7d7;
    -webkit-box-shadow: 2px 2px 3px #d7d7d7;
    font-size: 16px;
    line-height: 1.2em;
}

.ContactForm a:hover {
    color: #6c6c6c;
}

.ContactForm em {
    display: inline-block;
    margin-left: 6px;
}

.ContactForm input {
    width: 234px;
    background: none;
    border: none;
    padding: 7px 0px;
    margin: 0 20px;
    color: #464646;
}

.ContactForm textarea {
    width: 253px;
    height: 136px;
    background: none;
    border: none;
    padding: 7px 0px;
    margin: 0 0 0 20px;
    overflow: auto;
    color: #464646;
}

.ContactForm span {
    height: 150px;
    display: block;
    background: #fff;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    position: relative;
    border: 1px solid #cdcdcd;
}

.pqp-contact-textarea {
    width: 300px;
    height: 200px;
    border: 1px solid #ccc;
}

.pqp-prov-select {
    margin: 5px 0 0 20px;
}

/* ==========================================================================
   13. IMAGES
   ========================================================================== */

.images {
    width: 569px;
    overflow: hidden;
    padding: 31px 0 16px 1px;
}

.et {
    margin: 0 0 0 -1px;
    padding: 0;
    width: 10px;
    height: 10px;
    vertical-align: -1px;
}

/* ==========================================================================
   14. FOOTER
   ========================================================================== */

footer p {
    float: left;
    font-size: 14px;
    line-height: 21px;
    color: #8f8f8f;
    padding: 40px 0 0 7px;
}

footer strong {
    font-weight: normal;
    color: #1e1e1e;
    padding-right: 4px;
}

footer p a {
    text-decoration: none;
    color: #00529b;
}

footer p span {
    display: block;
}

footer p a:hover {
    text-decoration: underline;
}

/* Social */
.social {
    float: right;
    padding: 40px 10px 0 0;
}

.social img {
    float: left;
    margin-right: 9px;
}

/* ==========================================================================
   15. PAGE-SPECIFIC OVERRIDES
   ========================================================================== */

/* Homepage (page1) */
#page1 header {
    height: 380px;
}

#page1 .col-1 {
    width: 315px;
}

#page1 .col-2 {
    width: 303px;
}

#page1 .col-3 {
    width: 600px;
}

#page1 .divider {
    background: url(assets/images/divider-bg.gif) 315px 0px repeat-y;
}

#page1 .divider1 {
    background: url(assets/images/divider-bg.gif) 630px 0px repeat-y;
}

#page1 .divider2 {
    background: url(assets/images/divider2.gif) 630px 0px no-repeat;
    position: relative;
}

#page1 .divider3 {
    background: url(assets/images/divider2.gif) 315px 0px no-repeat;
    position: relative;
}

#page1 .divider4 {
    background: url(assets/images/divider-tail.gif) 630px 0px repeat-y;
    position: relative;
}

#page1 .divider5 {
    background: url(assets/images/divider-tail.gif) 315px 0px repeat-y;
    position: relative;
}

/* Inner pages (page2 - Apprendimento, Test, etc.) */
#page2 .col-1 {
    width: 572px;
}

#page2 .col-1 .col-1 {
    width: 280px;
}

#page2 .col-2 {
    width: 257px;
}

#page2 .divider {
    background: url(assets/images/divider-bg.gif) 601px 0px repeat-y;
}

#page2 .divider1 {
    background: url(assets/images/divider-bg.gif) 286px 0px repeat-y;
}

/* page3 */
#page3 .col-1 {
    width: 572px;
}

#page3 .col-1 .col-1 {
    width: 280px;
}

#page3 .col-2 {
    width: 258px;
}

#page3 .divider {
    background: url(assets/images/divider-bg.gif) 601px 0px repeat-y;
}

#page3 .divider1 {
    background: url(assets/images/divider-bg.gif) 286px 0px repeat-y;
}

/* page4 */
#page4 .col-1 {
    width: 572px;
}

#page4 .col-1 .col-1 {
    width: 280px;
}

#page4 .col-2 {
    width: 258px;
}

#page4 .divider {
    background: url(assets/images/divider-bg.gif) 601px 0px repeat-y;
}

#page4 .divider1 {
    background: url(assets/images/divider-bg.gif) 286px 0px repeat-y;
}

/* page5 - Contatti */
#page5 .col-1 {
    width: 572px;
}

#page5 .col-1 .col-1 {
    width: 280px;
}

#page5 .col-2 {
    width: 258px;
}

#page5 .divider {
    background: url(assets/images/divider-bg.gif) 601px 0px repeat-y;
}

#page5 .divider1 {
    background: url(assets/images/divider-bg.gif) 286px 0px repeat-y;
}

/* ==========================================================================
   16. QUIZ UI ELEMENTS
   ========================================================================== */

.verofa {
    margin: 0 0 20px 30px;
    padding: 0;
    float: right;
}

.verofa img,
.verofa2 img {
    margin: 0 30px 0 0;
    padding: 0;
    float: left;
    width: 64px;
    height: 70px;
}

.verofa2 {
    margin: 0 0 20px 240px;
    padding: 0;
}

#txt {
    margin: 0;
    padding: 10px 0 0 0;
    clear: both;
    font: bold 17px/18px "Trebuchet MS", Helvetica, sans-serif;
}

p.doma {
    font-size: 11px;
}

img.imgsim {
    float: right;
    clear: both;
}

#imgsche {
    margin: 20px 10px 0 0;
    float: left;
    clear: both;
}

.ok {
    font: 20px "Trebuchet MS", Helvetica, sans-serif;
    color: #00529b;
    margin: 0 0 0 0;
    letter-spacing: -1px;
}

.ko {
    font: 20px "Trebuchet MS", Helvetica, sans-serif;
    color: #ee0000;
    margin: 0 0 0 0;
    letter-spacing: -1px;
}

#msgerr {
    font: 20px "Trebuchet MS", Helvetica, sans-serif;
    padding: 20px;
    display: none;
    text-align: center;
    color: #f00;
}

.simbox {
    float: right;
    width: 250px;
    background-color: #fff;
    border: 1px solid #999;
    text-align: center;
}

.banhome {
    margin: 8px 20px 0 0;
    padding: 50px 0 0 0;
    float: right;
    width: 300px;
    height: 20px;
    border: 1px solid #ccc;
    font: bold 12px/12px "Trebuchet MS", Helvetica, sans-serif;
    color: #069;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
}

/* ==========================================================================
   17. ELEMENTOR COMPATIBILITY
   ========================================================================== */

/*
 * Scope theme styles to avoid conflicts with Elementor.
 * When Elementor is active on a page, its own styles take precedence.
 * Theme styles are scoped so they don't override Elementor widgets.
 */

/* Do not apply theme nav styles inside Elementor sections */
.elementor-section nav,
.elementor-widget nav {
    position: static;
}

.elementor-section nav ul,
.elementor-widget nav ul {
    width: auto;
}

.elementor-section nav li,
.elementor-widget nav li {
    float: none;
    background: none;
    padding-left: 0;
    width: auto;
}

/* Prevent theme box styles from bleeding into Elementor */
.elementor .box {
    border: none;
    border-radius: 0;
    background: none;
}

/* Ensure Elementor headings are not affected by theme h-tag overrides */
.elementor-widget h1,
.elementor-widget h2,
.elementor-widget h3,
.elementor-widget h4,
.elementor-widget h5,
.elementor-widget h6 {
    padding: initial;
    margin: initial;
    letter-spacing: initial;
    line-height: initial;
    color: initial;
    height: auto;
    float: none;
    position: static;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS
   ========================================================================== */

@media screen and (max-width: 980px) {

    /* Reset fixed widths */
    .main,
    #faded,
    header,
    footer,
    .container,
    .wrapper {
        width: 100% !important;
        max-width: 100%;
        box-sizing: border-box;
    }

    body {
        min-width: 320px;
        background-size: cover;
    }

    /* Adjust Main Container Padding */
    .main {
        padding: 0 10px;
    }

    /* Logo Scaling */
    h1 {
        float: none;
        text-align: center;
        padding: 10px 0;
        width: 100%;
    }

    h1 a {
        background-size: contain;
        background-position: center;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        height: 65px;
        /* Adjust based on aspect ratio */
    }

    header {
        height: auto;
    }

    /* Autoscuole Dropdown */
    .pqp-autoscuola-dropdown-wrap {
        float: none;
        width: 100%;
        text-align: center;
        margin: 10px 0;
    }

    .regions {
        float: none;
        width: 90%;
        max-width: 300px;
    }

    /* Navigation - Stacked Vertical */
    nav {
        margin-top: 10px;
    }

    nav ul {
        padding: 0;
    }

    nav li {
        float: none;
        width: 100%;
        margin: 0;
        padding: 0;
        background: #f4f4f4;
        border-bottom: 1px solid #ddd;
        text-align: center;
    }

    nav li a {
        display: block;
        width: 100% !important;
        padding: 0 !important;
    }

    nav a strong {
        background: none !important;
        padding: 15px 0 !important;
    }

    /* Remove background images from stacked nav */
    nav .first a,
    nav .last a {
        background: none !important;
        width: 100% !important;
    }

    /* Active state for mobile */
    nav .active strong,
    nav a:hover strong {
        background-color: #e0e0e0 !important;
        color: #00529b;
    }

    /* Slider / Hero */
    #faded {
        height: auto;
        margin-bottom: 20px;
    }

    .sliders {
        height: auto !important;
    }

    .sliders li {
        position: relative !important;
        display: block;
        float: none;
    }

    .sliders li img {
        width: 100%;
        height: auto;
        display: block;
    }

    /* Slogan / Hero Text */
    .slogan {
        position: relative;
        width: 100%;
        height: auto;
        right: auto;
        top: auto;
        background: #fff;
        padding: 20px;
        box-sizing: border-box;
        text-align: center;
    }

    .slogan strong {
        font-size: 40px;
        line-height: 1.1em;
    }

    .slogan a {
        position: relative;
        top: auto;
        left: auto;
        margin: 15px auto;
        display: block;
    }

    ul.pagination {
        display: none;
    }

    /* Content Columns */
    .col-1,
    .col-2,
    .col-3,
    .column1,
    .column2 {
        float: none;
        width: 100%;
        margin: 0 0 20px 0;
        padding: 0;
    }

    /* Remove fixed-position divider backgrounds that break layout */
    .divider,
    .divider1,
    .divider2,
    .divider3,
    .divider4,
    .divider5 {
        background-image: none !important;
    }

    /* Paddings */
    .indent,
    .indent1,
    .pad-left-col {
        padding: 10px;
        width: 100%;
        box-sizing: border-box;
    }

    /* Feature Links (Entra buttons) */
    .block a,
    .block2 a {
        background-size: cover;
        /* Ensure button bg covers */
    }

    /* Images in content */
    .img-indent,
    .img-indent1 {
        float: none;
        margin: 0 auto 20px;
        display: block;
        text-align: center;
    }

    .img-indent img,
    .img-indent1 img {
        max-width: 100%;
        height: auto;
    }

    /* Footer */
    footer {
        height: auto;
        padding: 20px;
        text-align: center;
    }

    footer p {
        line-height: 1.6em;
    }

    /* Contact Form */
    .ContactForm .column1,
    .ContactForm .column2 {
        float: none;
        width: 100%;
    }

    .ContactForm input,
    .ContactForm textarea {
        width: 95%;
    }

    /* Ads/Sponsors */
    .pqp-sponsor-wrap {
        float: none;
        margin: 20px auto;
        width: 100%;
        text-align: center;
    }

    .pqp-sponsor-img {
        max-width: 100%;
        height: auto;
    }
}