/* ==========================================================================
   OVERRIDES.CSS - Optimized with Variables
   ========================================================================== */

/* 1. Theme Color Overrides
   These variables override the ones set in main.css for the top-level scope.
   ========================================================================== */
:root {
    /* Custom Palette for this Overrides file */
    --color-custom-link: #18afd3;
    --color-custom-link-hover: #fff;
    --color-custom-btn: #dd504a;
    --color-custom-btn-text: #fff;
    --color-custom-accent: #16b0c8;
    --color-custom-dark-bg: #3e454c;
    --color-custom-dark-text: #fff;
    --color-custom-dark-border: #333;
    --color-custom-dark-btn: #3e454c;
    --color-custom-dark-btn-text: #fff;
    --color-custom-highlight: #f8633a;
    --color-custom-menu-hover: #1693b1;
    --color-custom-accordion-bg: #337AB7;
    --color-custom-accordion-text: #BFE2FF;
    --color-custom-accordion-active: #285f8f;
    --color-custom-box-bg: #F6FCFF;
    --color-custom-box-hover: #c6e8f9;
    --color-custom-box-rita: #16B0C8;
    --color-custom-box-rita-text: #fff;
}

/* 2. Global & Links
   ========================================================================== */
a {
    color: var(--color-custom-link);
}

a:hover {
    color: var(--color-custom-link-hover);
}

/* 3. Buttons
   ========================================================================== */
a.btn:focus, 
a.btn:hover {
    border-color: var(--color-custom-btn);
    background-color: var(--color-white);
    color: var(--color-custom-btn);
}

input[type="reset"]:hover, 
input[type="submit"]:hover, 
input[type="button"]:hover, 
input[type="reset"]:focus, 
input[type="submit"]:focus, 
input[type="button"]:focus {
    background-color: var(--color-white);
    color: var(--color-custom-btn);
}

/* 4. Header & Top Strip
   ========================================================================== */
.home #header {
    position: relative;
}

.top-strip {
    padding: 10px 0 30px 0;
    min-height: 25px;
    text-align: center;
}

.social-icons {
    float: left;
    width: 40%;
}

.contact-info {
    float: left;
    width: 100%;
}

.contact-info-ul {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.contact-info a:hover {
    color: #000000;
}

.contact-info ul li {
    display: inline-block;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 18px;
    text-align: left;
}

.contact-info ul li:nth-child(2) {
    margin-left: 25px;
}

.contact-info ul li span {
    left: -.5em;
    color: #8F44AD;
}

.contact-area {
    overflow: hidden;
    padding: 100px 30px 150px 30px;
}

.elementor-text-editor a {
    color: #7d7d7d;
}

/* Icons */
.glyphicon {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.glyphicon-earphone:before {
    content: "\e182";
    color: #de3203;
}

.glyphicon-envelope:before {
    content: "\2709";
    color: #de3203;
}

/* 5. Custom Accordion
   ========================================================================== */
.acor-container {
    margin: 20px 0;
}

.acor-container label {
    cursor: pointer;
    background-color: var(--color-custom-accordion-bg);
    display: block;
    padding: 15px 20px;
    width: 100%;
    color: var(--color-custom-accordion-text);
    font-weight: 300;
    box-sizing: border-box;
    z-index: 100;
    font-family: Verdana, sans-serif;
    font-size: 18px;
    margin: 0 0 5px;
    transition: color .35s;
}

.acor-container label:hover {
    color: #FFF;
}

.acor-container label:before {
    content: '\276F';
    float: right;
}

.acor-container input {
    display: none;
}

.acor-container input:checked + label {
    background-color: var(--color-custom-accordion-active);
    color: #FFF;
    box-shadow: 0 8px 26px rgba(0,0,0,0.4), 0 28px 30px rgba(0,0,0,0.3);
}

.acor-container input:checked + label:before {
    transition: transform .35s;
    transform: rotate(90deg);
}

.acor-container input:checked + label + .acor-body {
    height: auto;
    margin-top: -5px;
    color: #000;
    padding: 20px 30px 10px;
    margin-bottom: 1rem;
}

.acor-container .acor-body {
    width: calc(100% - 40px);
    margin: 0 auto;
    height: 0;
    color: rgba(0, 0, 0, 0);
    background-color: var(--color-custom-accordion-text);
    line-height: 18px;
    padding: 0 30px;
    box-sizing: border-box;
    transition: color 0.5s, padding 0.5s;
    overflow: hidden;
    font-family: Verdana, sans-serif;
    font-size: 16px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2), 0 10px 16px rgba(0,0,0,0.2);
}

.acor-container .acor-body p {
    margin: 0 0 10px;
}

/* 6. Navigation (Desktop & Mobile)
   ========================================================================== */
.navbar {
    margin-bottom: 0;
    background: rgba(0, 0, 0, 0.02);
    padding: 16px 0 16px;
    margin-top: 2px;
}

.navbar-nav {
    width: 95%;
    margin: 0 auto;
    float: none;
    text-align: center;
    display: block;
}

.navbar-nav > li > a {
    padding: 0 !important;
    text-align: center;
    color: #263D48;
    font-weight: 400;
    font-size: 15px;
    margin: 0px 30px;
    transition: all 0.4s ease-in-out;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Roboto Condensed', sans-serif;
}

.navbar-nav>li>a {
    padding-top: 10px;
    padding-bottom: 10px;
    line-height: 20px;
}

.nav>li>a {
    position: relative;
    display: block;
    padding: 10px 15px;
}

.navbar-nav > li.current_page>a, 
.navbar-nav > li.current_page>a:hover {
    border-bottom: 1px solid #de3203;
    color: #de3203;
}

.navbar-nav > li>a:focus, 
.navbar-nav>li>a:hover {
    border-bottom: 2px solid var(--color-custom-link) !important;
}

.nav_1>li>a:hover, 
.nav_1>li>a:focus {
    background-color: rgba(86, 207, 202, 0) !important;
    color: #000;
}

.navbar-collapse.collapse {
    display: block!important;
    height: auto!important;
    padding-bottom: 0;
    overflow: visible!important;
}

.sf-menu>li.sfHover>a:hover, 
.sf-menu>li>a:hover {
    color: var(--color-custom-link);
}

.sf-menu li.dropdown ul {
    min-width: 35em !important;
    background-color: var(--color-custom-menu-hover);
}

.sf-menu li.dropdown li>a:hover:before {
    border-bottom: 1px solid #fff;
}

/* Mobile Menu Override */
#mobile-menu {
    background-color: var(--color-custom-accent);
}

#mobile-menu-trigger i {
    color: var(--color-accent-2); /* From main.css */
}

#custom-search-button {
    color: var(--color-accent-2);
}

/* 7. Intro Section & Swiper Panel
   ========================================================================== */
.intro-section {
    padding: 9px 0 2.8em;
    padding-bottom: 115px;
    border-bottom: 3px solid var(--color-custom-accent) !important;
}

.intro-section-second img {
    margin-right: 20px;
}

.swiper-top-panel {
    position: relative;
    top: 30px;
    left: 0;
    right: 0;
    z-index: 2;
    width: 100%;
    min-height: 100px;
    margin-bottom: 80px;
    display: flex;
}

.swiper-top-panel .swiper-top-panel-center {
    text-align: right;
    display: flex;
}

.swiper-top-panel .swiper-top-panel-right {
    text-align: left;
    margin-left: 10%;
    display: flex;
}

.swiper-top-panel .swiper-top-panel-left {
    margin-right: 15%;
}

.bi-telephone,
.bi-signpost-split {
    color: #fff;
    padding: 15px;
    font-size: 30px;
}

.mdi-phone:before {
    content: "\f4e1";
}

/* Intro Content Elements */
.intro-text-div {
    margin-top: 0px;
    margin-right: 130px;
}

.intro-text-div h2 {
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 50px;
}

.intro-text-div h5 {
    color: #ffffff;
    font-weight: 100;
    margin-bottom: 50px;
}

.intro-callback-div {
    background: rgba(0,0,0, 0.35);
    padding: 20px 0px 0px 0px;
    border-radius: 5px;
}

.intro-callback-div {
    margin: 0px 20px;
}

.callback-text {
    margin-left: 15px;
}

.callback-text h6 {
    color: #fff;
}

/* 8. Services & Boxes
   ========================================================================== */
.static-text-w-label-vertical .picture.appointment {
    background-position: left top;
}

.static-text-w-label-vertical .picture {
    height: 131px;
    width: 131px;
    background: url(../images/services.png) no-repeat left top;
    display: block;
    margin: 0 auto 25px;
}

.static-text-w-label-vertical h5 {
    text-align: center;
    font-size: 16px;
    color: #37474f;
    margin: 0 0 10px 0;
    font-weight: normal;
}

.static-text-w-label-vertical h4 {
    text-align: center;
    font-size: 20px;
    color: #9e9e9e;
    margin: 0 0 10px 0;
    font-weight: normal;
}

.static-text-w-label-vertical p {
    text-align: center;
    font-size: 12px;
    color: #9e9e9e;
    line-height: 14px;
}

.static-text-w-label-vertical .picture.shedule {
    background-position: left -393px;
}

.static-text-w-label-vertical .picture.feedback {
    background-position: left -131px;
}

.static-text-w-label-vertical .picture.personal {
    background-position: left -262px;
}

.static-text-w-label-vertical .picture.area {
    background-position: left -655px;
}

.section-md-2 {
    padding: 20px 0;
}

.service-box {
    padding: 5px;
}

ul.list-h-c5 {
    list-style: none;
    width: 100%;
}

ul.list-h-c5 li {
    padding: 0;
    margin-top: 30px;
    margin-bottom: 3px;
    float: left;
    width: 18%;
}

.box-nancy-body {
    position: relative;
    display: block;
    min-width: 210px;
    min-height: 210px;
    padding: 45px 20px 0px 20px;
    background: var(--color-custom-box-bg);
    text-align: center;
    will-change: transform;
    overflow: hidden;
    backface-visibility: hidden;
    z-index: 1;
    margin-left: auto;
}

.box-nancy-body:hover {
    opacity: 0.8;
    background: var(--color-custom-box-hover);
}

.box-rita {
    background: var(--color-custom-box-rita);
    padding: 15px;
    max-width: 370px;
    margin-right: auto;
    margin-left: auto;
}

.box-rita-wrapper {
    padding: 34px 28px 30px 30px;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.box-rita-wrapper h2 {
    color: var(--color-custom-box-rita-text);
    font-size: 3.2rem;
    margin-bottom: 30px;
}

.box-rita-wrapper p,
.box-rita-list li {
    color: var(--color-custom-box-rita-text);
}

.box-rita-list {
    margin-top: 42px;
}

.time {
    float: right;
}

.time::before {
    content: '-';
    color: var(--color-custom-box-rita-text);
    top: 0;
    left: -34px;
}

.btn-ujarak {
    background: var(--color-white) !important;
    color: #000  !important;
    border-color: var(--color-white)  !important;
}

.btn-ujarak:hover {
    background: var(--color-custom-accent) !important;
    color: var(--color-white)  !important;
    border-color: var(--color-white)  !important;
}

.icon-java-filled {
    background: var(--color-custom-link);
}

.unit-left {
    width: 60px;
    overflow: hidden;
    background: var(--color-custom-link);
    height: 60px;
    border-radius: 50%;
}

.unit-body {
    margin-left: 25px;
}

.unit-body a:hover {
    color: var(--color-custom-link);
}

/* 9. Welcome Slider
   ========================================================================== */
.welcome-left-div {
    min-height: 380px;
    background: rgba(232, 232, 232, 0.7);
    padding: 10px;
}

.welcome-img {
    min-height: 180px;
}

.welcome-img-div {
    padding: 0px 0px 20px;
}

.welcome-bg-div {
    background: url(/templates/predgrb/images/welcome-bg.png);
    opacity: 0.45;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
}

.welcome-slider {
    padding-top: 50px !important;
    padding-right: 60px !important;
    padding-bottom: 70px !important;
    padding-left: 60px !important;
    background-color: #f6f6f6 !important;
}

.welcome-slider .slick-prev {
    top: 40% !important;
    left: 87% !important;
    background: #B8B8B8;
    border-radius: 50%;
}

.welcome-slider > .slick-prev {
    transform: translate(-50%, 0) rotate(90deg);
    right: 5% !important;
}

.welcome-slider .slick-next {
    right: 5% !important;
    top: 50% !important;
    background: #B8B8B8;
    border-radius: 50%;
}

.welcome-slider > .slick-next {
    transform: translate(-50%, 0) rotate(90deg);
    right: 5% !important;
}

/* 10. Common Sections & Elements
   ========================================================================== */
.custom-logo {
    height: 90px;
}

.common-section2 {
    background-color: var(--color-custom-link);
    color: #fff;
}

.common-section2 .bg-light {
    background-color: #52cdeb !important;
}

.static-text-w-label-vertical {
    margin-left: 1em;
    margin-right: 1em;
}

.text-color-white {
    color: #fff !important;
}

.page blockquote.quote .text-white, 
.page .text-white {
    color: #fff;
}

.icon-xs.icon-rect, 
.icon-xs.icon-rounded, 
.icon-xs.icon-circle, 
.icon-xs.icon-outlined {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 26px;
}

/* 11. Modals
   ========================================================================== */
.white-popup-block {
    position: relative;
    max-width: 420px;
    margin: 40px auto;
    padding: 0;
    text-align: left;
    background: #f9f9f9;
    overflow: hidden;
}

.white-popup-block .modal-header {
    margin: 40px 40px 0px;
}

.white-popup-block .modal-header h1 {
    margin-bottom: 0;
    color: #223240;
    text-transform: uppercase;
    font-size: 24px;
}

.white-popup-block .modal-header h2 {
    font-size: 27px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0;
}

.white-popup-block .modal-content {
    padding: 30px 40px 35px;
    background: #f9f9f9;
}

.white-popup-block .modal-content input[type='text'],
.white-popup-block .modal-content textarea {
    border: 1px solid #d1d1d1;
}

.white-popup-block .modal-content .consurm a {
    color: #96a4b0;
    border-bottom: 1px dashed #96a4b0;
}

.white-popup-block .modal-content p {
    color: #96a4b0;
}

.white-popup-block .modal-content form {
    padding: .75em 0 0;
}

.white-popup-block .modal-content form .btn {
    width: 100%;
}

.mfp-close-btn-in .mfp-close {
    color: #223240;
    right: 20px;
    top: 12px;
    font-size: 26px;
}

/* 12. Footer & Contrast-2
   ========================================================================== */
.common-section-type-1 {
    margin: 4em 0 0;
    background-color: #fff;
}

.hot-phone-section {
    background-color: var(--color-accent-2);
    color: #fff;
    padding: 2em 0 0;
}

.hot-phone-section p {
    line-height: 0.8em;
    margin-bottom: 0.5em;
}

.hot-phone-section .with-phone-label {
    margin-left: 2em;
}

.hot-phone-section .with-phone-label:before {
    min-width: 1.07142857em;
    min-height: 1.07142857em;
    padding: 0.3em 0.2em 0.1em;
    border-radius: 20%;
    border: 1px solid #f3f3f3;
    background-color: #f3f3f3;
    color: var(--color-accent-2);
    text-align: center;
    font-size: 32px;
    line-height: 28px;
    margin: 0 1em;
    float: left;
    position: relative;
    top: -0.2em;
    content: "\f095";
    font-family: 'FontAwesome';
}

.webform-box-a span {
    font-size: 12px;
}

.webform-box-btn {
    margin-bottom: 10px !important;
}

.hotnews-section {
    background-color: #ffffff;
    padding: 70px 0 14px;
    overflow: hidden;
}

.news-slider {
    padding: 0px 20px 0px 20px;
}

.news-slider .item {
    padding: 15px;
    margin: 0px 10px;
}

.news-slider img {
    margin: 0 auto;
}

.news-slider .date {
    width: 100%;
}

.news-slider .slick-active:hover .item {
    border: 1px solid var(--color-custom-accent);
}

.news-slider > .slick-prev:before,
.news-slider > .slick-next:before {
    color: var(--color-accent-2);
    font-size: 35px;
}

.news-slider-btn {
    text-align: center;
    text-transform: uppercase;
    margin: 20px 0px;
}

.bg-primary {
    background: var(--color-custom-btn);
    fill: var(--color-custom-btn);
}

.divider-lg {
    width: 80px;
    height: 4px;
    margin: 30px auto 30px;
    margin-top: 35px;
}

.news-header {
    min-height: 150px;
    max-height: 150px;
    overflow: hidden;
    font-weight: 100;
    font-size: initial;
}

.col-md-offset-1-5 {
    margin-left: 12.5%;
}

.input-container i {
    position: absolute;
}

.input-container input[type="text"] {
    padding-left: 2.2em;
}

.input-container .icon {
    padding: 15px;
    color: var(--color-custom-btn);
    text-align: left;
}

.feedback-section {
    position: relative;
    top: -30px;
}

.feedback-section .box {
    background-color: #fff;
    margin: 0px 10px;
    border: 1px solid var(--color-border);
    padding: 2em;
    font-size: 90%;
}

.feedback-section .box .phone {
    border-bottom: 1px solid var(--color-border);
}

.feedback-section .box .phone span {
    padding-bottom: 5px;
    border-bottom: 1px solid var(--color-accent-1);
}

.feedback-section .text-accent-color {
    color: #000;
    font-size: 16px;
}

.about-section {
    padding: 2.8em 0 2.8em;
    overflow: hidden;
    position: relative;
}

.sp-underline {
    border-bottom: 1px solid var(--color-border);
}

.sp-underline > .sp-area {
    padding-bottom: 5px;
    border-bottom: 1px solid var(--color-accent-1);
}

.intro-section-second {
    background-color: var(--color-bg-light);
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: cover;
    border-bottom: 3px solid var(--color-custom-accent);
}

/* 13. Buttons & Radius Overrides
   ========================================================================== */
input[type="reset"],
input[type="submit"],
input[type="button"] {
    border-radius: 1.5em;
    border: 1px solid var(--color-custom-btn);
    background-color: var(--color-custom-btn);
}

a.btn {
    border-radius: 1.5em !important;
    background-color: var(--color-custom-btn);
    border-color: var(--color-custom-btn);
}

a.btn:focus, 
a.btn:hover {
    background-color: rgba(255,255,255, 0.5);
}

a.btn.btn-small {
    border-radius: 0.7em;
}

a.btn.btn-large {
    border-radius: 0.7em;
    width: 100%;
}

/* 14. Map & Shadow
   ========================================================================== */
.shadow {
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
}

iframe {
    margin: 0;
    padding: 0;
    border: 0;
}

.wp-map-section-map {
    height: 400px;
}

.wp-map-section-about {
    background: linear-gradient(to right, rgba(61, 174, 221, 0.7), rgba(61, 174, 221, 0.7)), url('../images/bg22.jpg');
    background-size: cover;
    height: 400px;
}

.wp-map-section-about h6,
.wp-map-section-about p {
    color: #fff;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.wp-map-section-about p {
    margin-bottom: 0.2em;
}

.wp-map-section-about h6 {
    border-bottom: 3px solid #fff;
}

#footer-bottom {
    background-color: var(--color-custom-dark-bg) !important;
}

.widget_categories_footer li a:before {
    color: var(--color-white) !important;
}

#footer {
    padding: 2.5em 0 0.5em;
    background-color: var(--color-accent-2);
    border-top: 3px solid var(--color-custom-accent);
}

#footer p {
    line-height: 0.8em;
    margin-bottom: 0.5em;
}

.prefooter-menu {
    display: inline-flex;
}

.prefooter-menu li {
    list-style-type: none;
    margin: 0px 20px;
}

.footer-top {
    background: #2b3138;
    position: relative;
    border-bottom: 1px solid var(--color-custom-dark-border);
    border-top: 1px solid var(--color-custom-dark-border);
    padding: 10px 0 10px;
}

.footer-top-imgbox {
    text-align: center;
}

.footer-top img {
    max-height: 60px;
}

.footer-top-textbox {
    padding: 10px 0 10px;
}

#footer-banners {
    background: #2b3138;
    padding: 20px 0px;
}

.footer-middle {
    margin-top: 50px;
}

.footer-middle-btn {
    background-color: var(--color-custom-dark-btn) !important;
    color: var(--color-custom-dark-btn-text) !important;
    border: 1px solid var(--color-white) !important;
}

.footer-middle-btn:hover {
    background-color: var(--color-white) !important;
    color: var(--color-custom-dark-btn) !important;
    border: 1px solid var(--color-white) !important;
}

.phone_apps {
    padding: 5px 0;
    border: 1px solid #e2eaf1;
    border-radius: 5px;
}

.phone_app:first-child {
    border-right: 1px solid #e2eaf1;
}

.phone_app a {
    font-size: 80%;
    line-height: 1.2;
    display: block;
    padding: 6px 3px 6px 37px;
    color: #fff;
}

.phone_app_android {
    background: url('../images/android.png') 9px center no-repeat;
}

.phone_app_iphone {
    background: url('../images/iphone.png') 10px center no-repeat;
}

.phone_app a:hover {
    color: rgba(255,255,255, 0.5);
}

.phone_app i {
    font-size: 22px;
    color: #037dd1;
    margin-top: -2px;
}

/* Contrast Mode 2 */
.contrast-2 {
    background-color: var(--color-custom-dark-bg) !important;
    color: var(--color-custom-dark-text) !important;
}

.contrast-2 a {
    color: var(--color-custom-dark-text);
    text-decoration: none;
    outline: 0;
}

.contrast-2 a:focus {
    color: var(--color-hover);
}

.contrast-2 a:hover {
    color: var(--color-accent-2);
}

.contrast-2 a:active {
    color: var(--color-header);
}

/* 15. Utilities
   ========================================================================== */
.mt-1 { margin-top: 1em !important; }
.mt-2 { margin-top: 2em !important; }
.mt-3 { margin-top: 3em !important; }
.mt-4 { margin-top: 4em !important; }
.mb-1 { margin-bottom: 1em !important; }
.mb-2 { margin-bottom: 2em !important; }
.mb-3 { margin-bottom: 3em !important; }
.mb-4 { margin-bottom: 4em !important; }
.ml-1 { margin-left: 1em !important; }
.mr-1 { margin-right: 1em !important; }
.ml-2 { margin-left: 2em !important; }
.mr-2 { margin-right: 2em !important; }
.ml-3 { margin-left: 3em !important; }
.mr-3 { margin-right: 3em !important; }

.ph-0 { padding-left: 0; padding-right: 0; }

.pt-1 { padding-top: 1em; }
.pt-2 { padding-top: 2em; }
.pt-3 { padding-top: 3em; }
.pt-4 { padding-top: 4em; }
.pb-1 { padding-bottom: 1em; }
.pb-2 { padding-bottom: 2em; }
.pb-3 { padding-bottom: 3em; }
.pb-4 { padding-bottom: 4em; }
.pl-1 { padding-left: 1em; }
.pr-1 { padding-right: 1em; }
.pl-2 { padding-left: 2em; }
.pr-2 { padding-right: 2em; }
.pl-3 { padding-left: 3em; }
.pr-3 { padding-right: 3em; }

.w-100 { width: 100%; }
.w-95 { width: 95%; }
.w-90 { width: 90%; }
.w-85 { width: 85%; }
.w-80 { width: 80%; }
.w-75 { width: 75%; }
.w-50 { width: 50%; }
.w-40 { width: 40%; }
.w-35 { width: 35%; }
.w-30 { width: 30%; }
.w-25 { width: 25%; }
.w-20 { width: 20%; }
.w-15 { width: 15%; }
.w-10 { width: 10%; }
.w-5 { width: 5%; }

.h-em-10 { height: 10em; }
.h-em-15 { height: 15em; }
.h-em-17 { height: 17em; }
.h-em-20 { height: 20em; }
.h-em-40 { height: 40em; }

/* 16. Misc Overrides
   ========================================================================== */
.alignright {
    float: right;
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    word-break: break-word;
}

input.bg-dark-input,
textarea.bg-dark-input {
    border: 1px solid var(--color-white);
    background-color: var(--color-custom-dark-bg);
}

input:focus.bg-dark-input {
    border: 1px solid #2a3948;
}

img.box-img {
    border: 1px solid var(--color-border);
}

a.slick-prev,
a.slick-next {
    right: 0px;
    bottom: 14px;
    width: 2.33333333em;
    height: 2.33333333em;
    border-radius: 50%;
    background-color: var(--color-accent-2);
    color: var(--color-white);
    line-height: 2.13333333;
    text-align: center;
    opacity: 0.5;
    cursor: pointer;
    transition: all 0.4s ease 0s;
}

table {
    width: 100%;
    border: 0px;
    border-collapse: collapse;
    font-size: 90%;
}

table thead { font-weight: bold; }

table td,
table th {
    padding: 0.6rem 0.2rem;
    border-bottom: 1px solid var(--color-border);
}

.disable {
    pointer-events: none;
    opacity: 0.4;
}

.message {
    padding: 50px;
    max-width: 500px;
}

.breadcrumbs ul {
    margin: 0;
    padding: 2em 0;
    list-style: none;
    text-align: left;
}

.breadcrumbs li { display: inline; }

.breadcrumbs>ul>li:after {
    padding: 0 1em;
    content: '/';
}

.breadcrumbs>ul>li:last-child:after {
    content: '';
}

.wp-pagination {
    overflow: hidden;
    margin: 0 0 30px;
    text-align: center;
}

.wp-pagination ul { display: block; }

.wp-pagination ul li {
    display: inline-block;
    list-style: none;
    margin: 0;
    padding: 0;
}

.wp-pagination span,
.wp-pagination a {
    display: block;
    margin: 0 1px;
    padding: 5px 15px;
    border-radius: 3px;
}

.wp-pagination .current {
    color: var(--color-white);
    background: var(--color-accent-2);
}

.wp-pagination a:hover {
    background: #eee;
    text-decoration: none;
}

a#btn-poorvision-on { color: var(--color-custom-link); }
a#btn-poorvision-on:hover { color: #000; }

#raspisanie tr:nth-child(n+3):hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

/* 17. Specific Button Colors
   ========================================================================== */
input[type="reset"].turquoise-color-btn,
input[type="submit"].turquoise-color-btn,
input[type="button"].turquoise-color-btn {
    border: 1px solid var(--color-accent-2);
    background-color: var(--color-accent-2);
    color: var(--color-white);
}

input[type="reset"]:hover.turquoise-color-btn,
input[type="submit"]:hover.turquoise-color-btn,
input[type="button"]:hover.turquoise-color-btn,
input[type="reset"]:focus.turquoise-color-btn,
input[type="submit"]:focus.turquoise-color-btn,
input[type="button"]:focus.turquoise-color-btn {
    background-color: var(--color-white);
    color: var(--color-accent-2);
}

input[type="reset"]:active.turquoise-color-btn,
input[type="submit"]:active.turquoise-color-btn,
input[type="button"]:active.turquoise-color-btn {
    border-color: var(--color-header);
    background-color: var(--color-header);
    color: var(--color-white);
}

textarea.gray-color-btn {
    margin-bottom: 0.4em;
}

input[type="reset"].gray-color-btn,
input[type="submit"].gray-color-btn,
input[type="button"].gray-color-btn {
    border: 1px solid #f3f3f3;
    background-color: #f3f3f3;
    color: var(--color-header);
}

input[type="reset"]:hover.gray-color-btn,
input[type="submit"]:hover.gray-color-btn,
input[type="button"]:hover.gray-color-btn,
input[type="reset"]:focus.gray-color-btn,
input[type="submit"]:focus.gray-color-btn,
input[type="button"]:focus.gray-color-btn {
    background-color: var(--color-white);
    color: var(--color-header);
}

input[type="reset"]:active.gray-color-btn,
input[type="submit"]:active.gray-color-btn,
input[type="button"]:active.gray-color-btn {
    border-color: var(--color-header);
    background-color: var(--color-header);
    color: var(--color-white);
}

a.btn.gray-color-btn {
    border: 1px solid #f3f3f3;
    background-color: #f3f3f3;
    color: var(--color-header);
}

a.btn.gray-color-btn:focus,
a.btn.gray-color-btn:hover {
    border-color: #f3f3f3;
    background-color: var(--color-white);
    color: var(--color-header);
}

a.btn.gray-color-btn:active {
    border-color: var(--color-header);
    background-color: var(--color-header);
    color: var(--color-white);
}

/* 18. Media Queries
   ========================================================================== */
@media screen and (max-width: 800px) {
    table thead { display: none; }
    table tr { display: block; margin-bottom: 1rem; border-bottom: 2px solid var(--color-border); }
    table td { display: block; text-align: right; }
    table td:before { content: attr(title); float: left; font-weight: bold; }
    
    .contact-info-ul {
       flex-direction: column; 
    }
    
}

@media (max-width: 1199px) {
    .alignright { float: right; margin: 0; }
    
    .top-strip {
    padding: 10px 0 30px 0;
    min-height: 25px;
    text-align: center;
    height: 100px;
}

}

@media (max-width: 767px) {
    
    
    .contact-info-ul {
       flex-direction: column; 
    }
    
    .top-strip {
    height: 220px;
    }

    .contact-info ul li {
        text-align: center;
    }
        
    .feedback-section { display: none; }
    ul.list-h-c5 li { width: 100%; }
    
    .hot-phone-section p { line-height: 1em; margin-bottom: 0.5em; }
    .hot-phone-section .with-phone-label { margin-left: 0.5em; }
    .hot-phone-section .with-phone-label:before { top: 0.05em; }

    .contact-info { width: 100%; }
    .swiper-top-panel { 
        margin: 20px;
        width: 95%; 
    }
    .intro-text-div { text-align: center; margin-right: 0; margin-top: 30px; }
    .intro-section { padding-bottom: 30px; }
    
    #footer { padding-top: 10px !important; }
    .prefooter { overflow: hidden; }
    .prefooter-menu { display: block !important; text-align: center; }
    .footer-top { text-align: center; }
    .footer-middle { overflow: hidden; }
    .services { overflow: hidden; }
    
    #desktop-menu { display: none !important; }
    .navbar { max-height: 80px; }
    
    #mobile-menu-trigger { padding: 0px; }
    .fa-navicon:before, .fa-reorder:before, .fa-bars:before {
        content: "\f0c9";
        font-size: 24px;
        color: var(--color-custom-accent);
    }
}

@media (max-width: 479px) {
    .hot-phone-section p { line-height: 1em; margin-bottom: 0.5em; }
    .hot-phone-section .with-phone-label { margin-left: 0.5em; }
    .hot-phone-section .with-phone-label:before { top: 0; }
}

@media (max-width: 355px) {
    .hot-phone-section p { line-height: 1em; margin-bottom: 0.5em; }
    .hot-phone-section .with-phone-label { margin-left: 0.5em; }
    .hot-phone-section .with-phone-label:before { top: 0.15em; }
}