/*
Theme Name: Con Base Theme
Author: Degu Web Dev
Author URI: https://deguweb.dev
Update URI: https://github.com/DeguWebDev/con-theme-base
Version: 1.118
*/

html, body {
    margin: 0;
    padding: 0;
}

.sr {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

body {
    background: #FFF;
    color: #222;
    font-family: Verdana, Arial, sans-serif;
    font-size: 18px;
    line-height: 1.3;
    overflow-x: hidden;
}


img {
    max-width: 100%;
    height: auto!important;
}


a {
    color: blue;
    transition: color 0.3s ease;
}
a:hover {
    color: #000;
}


.button {
    display: inline-block;
    border: 2px solid blue;
    text-align: center;
    background: blue;
    color: #FFF;
    text-decoration: none;
    font-weight: bold;
    padding: 1em 2em;
    line-height: 1;
    border-radius: 3em;
    transition: all 0.3s ease;
}
.button:hover {
    border-color: #000;
    background: #000;
    color: #FFF;
}
.button.button-line {
    background: #FFF;
    color: blue;
}
.button.button-line span {
    transition: all 0.3s ease;
    background: blue;
    color: #FFF;
}
.button.button-line:hover {
    border-color: #000;
    background: #FFF;
    color: #000;
}
.button.button-line:hover span {
    background: #000;
    color: #FFF;
}


.sitewidenotice {
    background: blue;
    color: #FFF;
    padding: 1em;
    font-weight: bold;
    text-align: center;
}
.sitewidenotice a {
    display: block;
    color: #FFF!important;
    text-decoration: none;
}
.sitewidenotice a::after {
    content: ' →';
}


#togglenav {
    display: none;
    background: none;
    border: none;
    padding: 0;
    width: 40px;
    height: 40px;
    text-align: center;
    cursor: pointer;
}
#togglenav svg {
    display: none;
    fill: blue;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
}
#togglenav svg.ham,
#togglenav.active svg.ex {
    display: block;
}
#togglenav.active svg.ham {
    display: none;
}

#topnav .menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 0.25em;
}
#topnav .menu > li {
    position: relative;
}
#topnav .menu > li > a {
    display: block;
    padding: 1em 2em;
    font-weight: bold;
    text-decoration: none;
}
#topnav .menu > li.menu-item-has-children > a {
    pointer-events: none;
}
#topnav .menu > li.menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"/></svg>');
    background-size: 1em 1em;
    background-repeat: no-repeat;
    width: 1em;
    height: 1em;
    margin-left: 0.5em;
}
#topnav .menu > li .sub-menu {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.1s ease;
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    z-index: 50;
    top: 2.9em;
    left: 0;
    right: 0;
    line-height: 1;
    background: #FFF;
    box-shadow: 0 0.4em 0.3em rgba(0,0,0,0.25);
    border-bottom-left-radius: 0.75em;
    border-bottom-right-radius: 0.75em;
    padding: 0.75em 0;
    min-width: 230px;
}
#topnav .menu > li:hover .sub-menu {
    visibility: visible;
    opacity: 1;
}
#topnav .menu > li .sub-menu li {
}
#topnav .menu > li .sub-menu li a {
    display: block;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5em 0.75em;
    font-size: 0.95em;
}



.headline {
    text-align: center;
}
.headline h1 {
    margin: 0;
}


.alert {
    background: rgba(0, 0, 255, 0.1);
    border: 2px solid rgba(0, 0, 255, 0.25);
    padding: 1em;
    font-weight: bold;
    text-align: center;
    border-radius: 0.5em;
    margin: 1em 0;
}


.homepagebuttons {
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75em;
    margin: 0.75em 0;
}
.homepagebuttons .button {
    min-width: 200px;
}
.homepagebuttons .button-line {
    position: relative;
}
.homepagebuttons .button-line span {
    position: absolute;
    bottom: -0.75em;
    right: 0.25em;
    display: block;
    font-size: 0.75em;
    padding: 0.35em 0.65em;
    border-radius: 1em;
    line-height: 1;
    font-weight: normal;
}


.socials {
    list-style: none;
    marign: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25em;
}
.socials a {
    display: block;
}
.socials a svg {
    display: block;
    width: 40px;
    height: 35px;
    fill: blue;
    transition: all 0.3s ease;
}
.socials a:hover svg {
    fill: #000;
}


.bskycol {
    background: #F9F9F9;
    border: 2px solid #CCC;
    border-radius: 0.5em;
    height: 500px;
    max-width: 500px;
    margin: 1em auto;
    overflow: hidden;
}
.bskycol iframe {
    display: block;
    width: 100%;
    height: 100%;
}


.applicationframe {
    background: #EEE url('img/loading-eee.gif') top center no-repeat;
    border-radius: 0.5em;
    overflow: hidden;
    border: 2px solid #CCC;
    min-height: 89vh;
}
.applicationframe iframe {
    background: #EEE;
    display: block;
    width: 100%;
    height: 90vh;
}


.fulliframe {
    background: #222 url('img/loading-222.gif') top center no-repeat;
    width: 100%;
    height: 90vh;
}
.fulliframe iframe {
    display: block;
    width: 100%;
    height: 100%;
}
.fullimage, .fullbook {
    background: #222; 
    padding: 1em;
    height: 90vh;
    overflow-x: hidden;
    overflow-y: scroll;
}
.fullimage img {
    display: block;
    margin: 0 auto;
}


.fullbook {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 1em;
}
.fullbook .conbook-page {
    width: Calc(50% - 0.5em);
}
.fullbook .conbook-page figure {
    margin: 0 auto;
}
.fullbook img {
    display: block;
}
.fullbook .conbook-page:nth-of-type(even) {
    text-align: right;
}
.fullbook .conbook-page:nth-of-type(even) img {
    margin-left: auto;
}
.fullbook .conbook-page:nth-of-type(odd),
.fullbook .custom-page {
    text-align: left;
}
.fullbook .conbook-page:nth-of-type(odd) img {
    margin-right: auto;
}
.fullbook .conbook-page.conbook-first, 
.fullbook .conbook-page.conbook-last {
    width: 100%;
    text-align: center;
}
.fullbook .conbook-page.conbook-first img, 
.fullbook .conbook-page.conbook-last img {
    margin: 0 auto;
}
.fullbook .custom-page h1,
.fullbook .custom-page h2,
.fullbook .custom-page h3,
.fullbook .custom-page h4,
.fullbook .custom-page h5,
.fullbook .custom-page h6,
.fullbook .custom-page p {
    padding: 1rem;
    margin: 0;
    text-align: left;
}
.fullbook .custom-page .has-text-align-center {
    text-align: center!important;
}
.fullbook .custom-page .dealerlist {
    margin: 0;
    padding: 1rem 1rem 1rem 2rem;
    columns: 2;
}
.fullbook .consched-day-tabs, 
.fullbook .conschedlegend, 
.fullbook .schedlistview {
    display: none!important;
}
.fullbook .schedtableview, 
.fullbook .tableview {
    display: block!important;
}
.fullbook a.openpanelinfo {
    pointer-events: none;
}


footer {
    text-align: center;
}
footer .menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.8em;
    gap: 0.75em 1.5em;
}
footer .menu a {
    display: block;
    text-decoration: none;
}
footer .copyright {
    font-size: 0.8em;
}


.admin-only-warning {
    position: fixed;
    bottom: 0;
    left: 0;
    background: #000;
    color: #FFF;
    padding: 1em;
    font-weight: bold;
    z-index: 9999;
}
.admin-only-box {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #FFF;
    padding: 1em;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
}
.admin-only-box img {
    width: 150px;
}
.admin-only-box p {
    font-weight: bold;
}


@media (max-width: 986px) {
    #togglenav {
        display: block;
    }
    #topnav {
        display: none;
    }
    #topnav .menu {
        flex-direction: column;
    }
    #topnav .menu > li > a {
        padding: 0.5em 1em;
    }
    #topnav .menu > li.menu-item-has-children > a {
        pointer-events: auto;
    }
    #topnav .menu > li.menu-item-has-children > a.active-sub::after {
        rotate: 180deg;
    }
    #topnav .menu > li .sub-menu {
        visibility: visible;
        opacity: 1;
        display: none;
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        min-width: 0;
        box-shadow: none;
        border-radius: 0.5em;
        padding: 1em;
        background: #EEE;
    }
}

@media (max-width: 768px) {
    .homepagebuttons {
        flex-direction: column;
        align-items: stretch;
    }
    .homepagebuttons .button {
        display: block;
        min-width: 0;
    }
}

@media (max-width: 600px) {
    footer .menu {
        flex-direction: column;
        gap: 0.75em;
    }
}



