/* Shared mobile layout refinements. Loaded after Bootstrap so these rules are intentional overrides. */
.contactPage .containerContact {
    margin: 32px 0;
}

.contactGrid {
    display: flex;
    flex-wrap: wrap;
}

.contactColumn {
    margin-bottom: 24px;
}

.contactArea,
.contactForm {
    height: 100%;
    padding: 24px;
    border: 1px solid #e8e8e8;
    background: #fff;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .08);
}

.contactLeftTitle,
.contactRightTitle {
    margin-top: 0;
    margin-bottom: 24px;
}

.contactDetail {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.contactDetail:last-child {
    border-bottom: 0;
}

.contactDetail span {
    display: block;
    margin-bottom: 4px;
    color: #666;
    font-size: .85em;
    font-weight: 600;
}

.contactDetail p {
    margin: 0;
    line-height: 1.5;
}

.contactDetail a {
    color: #d3331d;
}

.contactForm .form-group {
    margin-bottom: 16px;
}

.contactForm textarea.form-control {
    min-height: 140px;
}

.contactForm .btnGonder {
    min-width: 120px;
    border: 0;
    border-radius: 0;
    background: #d3331d;
    color: #fff;
}

.contactMaps {
    display: flex;
    flex-wrap: wrap;
}

.contactMap {
    width: 50%;
}

.contactMap iframe {
    display: block;
    width: 100%;
    min-height: 320px;
    border: 0;
}

@media (max-width: 767px) {
    header {
        position: relative;
        z-index: 10000;
        isolation: isolate;
    }

    header .container,
    header .row,
    header .col-md-12 {
        overflow: visible;
    }

    header nav {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 68px;
        padding: 8px 16px;
    }

    header nav #logo {
        display: block;
        width: auto;
        padding: 0;
        margin: 0;
        float: none;
        line-height: 1;
        text-align: left;
    }

    header nav #logo img {
        display: block;
        width: auto;
        max-width: 180px;
        height: 44px;
    }

    header nav .mobileMenuToggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin: 0 0 0 auto;
        padding: 0;
        border: 1px solid #d3331d;
        border-radius: 6px;
        background: #fff;
        color: #d3331d;
        font-size: 20px;
        line-height: 1;
        cursor: pointer;
    }

    header nav .mobileMenuToggle:hover,
    header nav .mobileMenuToggle:focus {
        background: #fff5f2;
        color: #a92717;
    }

    header nav > ul.menu {
        display: block;
        position: fixed;
        top: 68px;
        right: 0;
        left: 0;
        z-index: 10001;
        width: 100%;
        float: none;
        margin: 0;
        padding: 0;
        max-height: calc(100vh - 68px);
        overflow-y: auto;
        background: #fff;
        box-shadow: 0 8px 18px rgba(0, 0, 0, .14);
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
    }

    header nav > #drop:checked ~ ul.menu,
    header nav.menu-open > ul.menu {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
        transition-delay: 0s;
    }

    header nav > .menu > li {
        border-bottom: 1px solid #eee;
    }

    header nav > .menu > li > .anaMenu,
    header nav > .menu > li > .toggle {
        min-height: 50px;
        padding: 15px 20px;
        font-size: 15px;
    }

    .home-fair-card {
        padding-right: 8px;
        padding-left: 8px;
    }

    main .containerNews .home-fair-card .newsContent {
        min-height: 0;
        margin-bottom: 16px;
    }

    main .containerNews .home-fair-card .newsBlok {
        height: auto;
        min-height: 220px;
        padding-bottom: 58px;
    }

    main .containerNews .home-fair-card .newsBlok h4 {
        min-height: 42px;
        margin: 12px 6px 8px;
        font-size: 1.1em;
    }

    main .containerNews .home-fair-card .newsBlok p {
        margin: 0 8px;
        font-size: .8em;
    }

    main .containerNews .home-fair-card .button {
        display: inline-block;
        padding: 10px 8px;
        font-size: .82em;
    }

    .footerTop {
        padding-top: 24px !important;
    }

    .footerTop > .container > [class*="col-md-"] {
        width: 100%;
        float: none;
        margin-bottom: 24px;
    }

    .footerTop > .container > [class*="col-md-"]:last-child {
        margin-bottom: 0;
    }

    .footerPartnerLogos {
        display: block;
        width: min(100%, 360px);
        height: auto;
        margin: 0 auto;
    }

    .footerBrand {
        display: block;
        text-align: center;
    }

    .footerBrand img {
        width: min(100%, 190px);
        height: auto;
    }

    .footerBottom {
        height: auto;
        padding: 12px 0;
    }

    .footerBottom .container > [class*="col-md-"] {
        width: 100%;
        float: none;
        text-align: center;
    }

    .footerBottom span,
    .footerBottom a {
        margin-top: 0 !important;
    }

    .contactPage .containerContact {
        margin: 20px 0;
    }

    .contactArea,
    .contactForm {
        padding: 18px;
    }

    .contactMap {
        width: 100%;
    }

    .contactMap + .contactMap {
        margin-top: 12px;
    }
}
