/* DEVELOPMENT CLASS */
#editability { position: absolute; width: 100%; text-align: center; top: 2px; }

html { overflow-y: scroll; }

/* COOKIE CLASSES */
#cookie-message-container-container {
    position: absolute;
    width: 100%;
}
#cookie-message-container {
    position: relative;
    z-index: 10000;
    max-width: 700px;
    width: 80%;
    font-size: 10px;
    background-color: #f5f5f5;
    border: 1px solid #d0d0d0;
    border-radius: 2px;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
}
#cookie-message {
    margin: 4px;
    text-align: center;
}
#cookie-message input {
    font-weight: 600;
    font-size: 1.2em;
}

/* USEFUL QUICK CLASSES */
.margin5 { margin: 5px; }
.margin6 { margin: 6px; }
.margin7 { margin: 7px; }
.margin8 { margin: 8px; }
.margin9 { margin: 9px; }
.margin10 { margin: 10px; }
.padding5 { padding: 5px; }
.clear { clear: both; }
.ui-nearly-last-child { border-bottom-right-radius: 0px !important; }
.ui-very-last-child { border-bottom-left-radius: 0px !important; }
.bigger { font-size: 1.4em; }
.smaller { font-size: 0.8em; }

/* .green-glow { box-shadow: 0px 0px 7px 2px rgba(94, 167, 0, 0.8); -moz-box-shadow: 0px 0px 7px 2px rgba(94, 167, 0, 0.8); -webkit-box-shadow: 0px 0px 7px 2px rgba(94, 167, 0, 0.8); } */
.green-glow {
    border: 1px solid rgb(94, 167, 0) !important;
    box-shadow: 0px 0px 4px 2px rgba(94, 167, 0, 0.7);
    -moz-box-shadow: 0px 0px 4px 2px rgba(94, 167, 0, 0.7);
    -webkit-box-shadow: 0px 0px 4px 2px rgba(94, 167, 0, 0.7);
}

/* THEME BUTTON ENHANCE */
a.ui-btn-icon-right::after {
    border: 2px solid rgb(74, 147, 0);
}

a.ui-btn-icon-right[data-theme="b"]::after {
    background-color: rgb(114, 187, 20);
    border: 2px solid white;
}

/* DISABLE STRANGE JQUERY MOBILE GLOW */
.ui-focus, .ui-btn:focus { -moz-box-shadow: none !important; -webkit-box-shadow: none !important; box-shadow: none !important; }

/* SEARCH PANEL */
.search-panel {	background: #e0e0e0 !important; }
.search-panel .ui-panel-inner { padding: 0em !important; }
.search-panel .search-container { padding: 1em; margin-bottom: 1em; }
.search-panel .loading-message { width: 100%; text-align: center; }
.search-panel .search-results h5 { font-size: 0.85em !important; overflow: visible !important; white-space: normal !important; }
.search-panel .search-results p { font-size: 0.75em !important; overflow: visible !important; white-space: normal !important; }

/* NAVIGATION BAR */
.navbar-container .navbar-entry {
    width: 14.28% !important;
    clear: none !important;
}
.navbar-container .navbar-entry a {
    border-top-width: 1px !important;
    color: white !important;
    background-color: rgb(94, 167, 0) !important;
    text-shadow: 1px 1px rgb(54, 127, 0) !important;
}
.dropdown {
    width: 100%;
    border-top: #606060;
    border-bottom: #606060;
    background: #d0d0d0;
    display: none;
    overflow: hidden;
}
.navigation-unit {
    float: left;
    width: 25%;
}
.navigation-unit-wrapper {
    margin: 1em;
}
.navigation-see-more {
    font-size: 0.9em;
    float: right;
    margin-top: 0.5em;
    margin-right: 0.5em;
}
.dropdown .margin-top-remove { margin-top: -0.5em !important; }

/* NAVIGATION PANEL - Default (hidden) */
.navigation-open-container { width: 100%; text-align: left; padding-left: 0.25em; }
.navigation-panel {
    display: none;
    position: fixed;
    left: 0px;
    background: #e0e0e0;
    z-index: 200;
}
.navigation-expanded { display: block !important; }
.navigation-dismiss {
    display: none;
    position: absolute;
    left: 17em;
    right: 0px;
    top: 0px;
    bottom: 0px;
    z-index: 199;
}
.navigation-panel .ui-panel-inner {
    overflow: auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0px;  
    -webkit-overflow-scrolling: touch;
}

/* LOGO CONTAINER */
.logo-panel .logo { margin: 0.5em; z-index: 100; }
.logo-panel { width: 100%; background-color: white; color: black; text-shadow: none; }
.logo-panel .responsive-grid .responsive-block { background-color: white !important; overflow: visible; }

.boldchat { text-align: center; margin-top: 0.5em; }
.bcStatic { margin-bottom: -0.25em; }
.contact-details { font-size: 0.75em; text-align: center; margin-top: 1.5em; }
.contact-details table { text-align: left; margin: 0 auto; }
.boldchat .ui-btn { margin: 0.25em auto !important; }
.boldchat, .contact-details { float: right; width: auto !important; margin-right: 1em; }

/* PAGE FOOTER */
.ui-footer { text-align: center; font-size: 80%; }
.footer { margin: 1em; }
.footer-links a,
.agree-to a { 
    border: 1px solid #38c;
    border-radius: 5px;
    padding: 7px;
    margin: 10px;
    line-height: 50px;
    white-space: nowrap;
}

/* RESPONSIVE GRID */
.responsive-grid .responsive-block { width: 100%; }
.responsive-grid .responsive-display-block img, .responsive-grid .responsive-display-block .block-image {
    float: right;
    height: 6em;
    margin-left: 0.5em;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    border: 1px solid #e0e0e0;
}
.block-image { display: block; }
.responsive-grid .listed-block .ui-listview { margin-top: -0.5em !important; }
.responsive-grid .listed-block h3 { margin-right: 3em !important; }
.responsive-grid .listed-block .ui-li-aside { margin-right: -2.5em !important; margin-top: -0.25em !important; }
.responsive-listview { padding-top: 1em; padding-bottom: 1em; }

.quote-button a { font-size: 150%; }

/* PAGE CLASSES - Image */
.page-image {
    float: right;
    margin-left: 0.5em;
    margin-bottom: 0.5em;
    text-align: center;
}
.page-image img { margin: 1em auto; }

/* PAGE CLASSES - Table */
.page-table-container {
    width: 100%;
    overflow-y: auto;
    _overflow: auto;
    margin: 0 0 1em;
}
.page-table {
    border: 1px solid #b0b0b0;
    border-collapse: collapse;
    background: #f0f0f0;
    font-size: 80%;
}
.page-table th, .page-table td { padding: 0.5em; border-bottom: 1px solid #b0b0b0; text-align: center; }
.page-table td[rowspan="2"] { border: 1px solid #b0b0b0; }
.ui-content { overflow: hidden !important; }

.responsive-block-title {
    font-size: 1.17em;
}

.responsive-block-description {
    color: rgb(51, 51, 51);
    font-family: sans-serif;
    font-size: 16px;
    line-height: 20.8px;
    margin-block-end: 16px;
    margin-block-start: 16px;
    margin-inline-end: 0px;
    margin-inline-start: 0px;
    text-shadow: rgb(243, 243, 243) 0px 1px 0px;
    text-size-adjust: 100%;
    font-weight: normal;
}
/*FIX OVERWRITTEN CSS*/
.contact-details table.smaller {
    font-family: sans-serif, arial !important;
    border-collapse: collapse;
    width: 100%;
}
.contact-details table.smaller tr {
    background-color: white !important;
}
.contact-details table.smaller td {
    padding: 3px !important;
    margin: 0 !important;
    border: 0px solid transparent !important;
    border-spacing: 2px;
}
li.navbar-entry.ui-block-a {
    border: 0px solid transparent;
}

@media (max-width: 440px) {
    .logo { width: 90% !important; }
}

@media (max-width: 24.99em) {
    .boldchat, .contact-details { float: none !important; width: 100% !important; }
    .boldchat .ui-btn { width: 10em !important; }
}

@media (min-width: 25em) and (max-width: 49.99em) {
    .boldchat, .contact-details { float: right; width: 50% !important; margin-right: 0 !important; }
}

@media (max-width: 49.99em) {
    #state-mobile { }
    #state-tablet { display: none; }
    #state-desktop { display: none; }

    .logo { display: block; margin: 0 auto !important; }
    .logo-panel { width: 96% !important; margin-left: 2% !important; }

    .navbar { display: none; }

    .mobile-hidden { display: none !important; }

    .page-image { float: none; display: block; }

    .ui-header .ui-title { width: 0em !important; overflow: hidden !important; }

    .ui-content { padding-left: 1em; padding-right: 1em; }

    .responsive-grid .responsive-display-block img { display: none; }
    .responsive-grid .listed-block h3 { margin-right: 0em !important; }
    .responsive-grid .listed-block .ui-li-aside { display: none; }

    .boldchat .ui-btn { margin: 1em auto !important; }

}

@media (min-width: 50em) and (max-width: 69.99em) {
    #state-mobile { display: none; }
    #state-tablet { }
    #state-desktop { display: none; }

    .navigation-open { display: none !important; }

    .navigation-container, .dropdown, .dropdown .ui-btn { font-size: 0.8em !important; }

    .ui-content { padding-left: 2em; padding-right: 2em; }

    .responsive-listview { margin-right: 0.5em !important; margin-left: 0.5em !important; }
    .responsive-listview .list-entry { float: left; width: 50% !important; }
    .quote-container { padding-right: 320px; }
    .quote-button { position: absolute; width: 300px; bottom: 0px; right: 0.5em; }
    .responsive-grid .responsive-block { width: 50%; float: left; }
}

@media (min-width: 70em) {
    #state-mobile { display: none; }
    #state-tablet { display: none; }
    #state-desktop { }

    .navigation-open { display: none !important; }

    .navigation-container, .dropdown, .dropdown .ui-btn { font-size: 0.9em !important; }

    .ui-content { padding-left: 4em; padding-right: 4em; }

    .responsive-listview { margin-right: 0.5em !important; margin-left: 0.5em !important; }
    .responsive-listview .list-entry { float: left; width: 50% !important; }
    .quote-container { padding-right: 320px; }
    .quote-button { position: absolute; width: 300px; bottom: 0px; right: 0.5em; }
    .responsive-grid .responsive-block { width: 50%; float: left; }
}

.mobile-view {
    display: none !important;
}
.desktop-view {
    display: block !important;
}
@media (max-width: 49.99em) {
    .mobile-view {
        display: block !important;
    }
    .desktop-view {
        display: none !important;
    }
}
@media (min-width: 50em) {
    .mobile-view {
        display: none !important;
    }
    .desktop-view {
        display: block !important;
    }
}