/*
Theme Name:   UnderStrap Child MQ
Theme URI:    https://www.understrap.com
Description:  UnderStrap Child Theme
Author:       Holger Koenemann
Author URI:   http://www.holgerkoenemann.de
Template:     understrap
Version:      0.2.1
License:      Commercial
Text Domain:  understrap-child
Tags: one-column, custom-menu, featured-images, theme-options, translation-ready
*/


/* MIN */

@media (min-width: 1300px) {
    .container {
        width: 1240px;
    }
}
@media (min-width: 1500px) {
    .container {
        width: 1640px;
    }
}
@media (min-width: 1700px) {
    .container {
        width: 1640px;
    }
}

/* MAX */

@media (max-width: 1500px) {
    .homepage-news-events .news-line,
    .homepage-news-events .events-text {
        font-size: 0.85em;
    }
    .complaint-box h5,
    .permit-box h5,
    .gray h6 {
        font-size: 1rem;
    }
    .main-section .vertical div,
    .text-below-image-box {
        font-size: 0.85em;
    }
}
@media (max-width: 1499px) {
    .top-nav .nav-and-title a {
        font-size: 0.79em;
        margin-right: 0;
        margin-left: 0.4em;
    }
}
@media (max-width: 1300px) {
    .top-nav img {
        width: 70px;
    }
}
@media (max-width: 1299px) {
    .top-nav .nav-and-title a {
        font-size: .6em;
        margin-right: 0;
    }
}
@media (max-width: 1200px) {
    .image-box {
        display: none;
    }
    .text-below-image-box {
        border-top: 1px solid #c7553f;
    }
    .submenu-wrapper h5 {
        font-size: 1em;
        padding: 0.45em 1.3em;
    }
    .submenu li a {
        font-size: 0.85em;
    }
    .submenu-wrapper .header-image {
        height: 6em;
    }
}
@media (max-width: 1000px) {
    .top-nav img {
        position: fixed;
        left: 1em;
        top: 0.5em;
    }
    .top-nav .hamburger button {
        position: fixed;
        right: 1em;
        top: 1em;
        background: none;
        border: none;
    }
    .top-nav .nav-and-title,
    .top-nav .social-icons {
        display: none;
    }
    .top-nav .hamburger {
        display: flex !important;
    }
    .carousel-item {
        height: 20em;
    }
    .carousel-caption {
        bottom: 20px;
    }
    .carousel-caption.d-none {
        display: block !important;
    }
    .side.col-md-12 {
        padding-top: 1.5em;
        padding-right: 45px !important;
        padding-left: 45px !important;
    }
}
@media (max-width: 991px) {
    .submenu-wrapper .header-image {
        display: none;
    }
    .main-section {
        padding-top: 3em;
    }
    .text-right {
        text-align: left !important;
    }
    .permitRow .col {
        text-align: center;
    }
    .btn-pdf,
    .btn-doc,
    .btn-blank,
    .btn-link {
        width: 100%;
        margin-bottom: 1rem;
    }
    .flex-text img.alignright,
    .flex-text img.alignleft {
        float: none;
        margin: 1em auto;
        padding: 0;
    }
}
@media (max-width: 768px) {
    #wpadminbar {
        display: none;
    }
    .ln-letters a {
        display: inline-block;
        width: 10%;
        border-bottom: 1px solid #fff
    }
    .top-nav img {
        position: fixed;
        left: 1em;
        top: 0.65em;
    }
    .carousel-h1 {
        font-size: 2.5em;
    }
    .carousel-p {
        font-size: 1.2em;
    }
    .pre-footer,
    .homepage-twitter {
        font-size: 0.85em;
    }
    .main-section {
        text-align: center;
    }
    .main-section h3 {
        padding: 0.5em 0;
    }
    .main-section div.horizontal-start,
    .main-section div.vertical {
        display: block;
    }
    .main-section .vertical div,
    .main-section .vertical a {
        margin: 1em 0;
    }
    .main-section .vertical .pad-bottom {
        padding-top: 1em;
        padding-bottom: 0;
    }
    .homepage-announcement-bar h2 {
        font-size: 1.2em;
        padding-top: 1em;
        padding-bottom: 0.25em;
    }
    .homepage-announcement-bar span {
        font-size: 1em;
        padding-bottom: 1em;
    }
    .homepage-announcement-bar .button {
        font-size: 1em;
        padding-bottom: 1.5em;
    }
    .horn {
        display: none !important;
    }
    .homepage-news-events .horizontal-start {
        justify-content: center;
    }
    .homepage-news-events .col-md-4 {
        padding-top: 2em;
    }
    .homepage-news-events img {
        padding-bottom: 1em;
    }
    .homepage-news-events .events-title {
        margin-bottom: 1em;
    }
    .homepage-news-events .events-text {
        padding: 0.5em 1em;
    }
    .pre-footer .horizontal-end {
        display: none;
    }
    .pre-footer {
        padding: 2em 0;
    }
}
@media (max-width: 768px) {
    .carousel-item {
        height: 15em;
    }
    .carousel-h1 {
        font-size: 2em;
    }
    .carousel-p {
        font-size: 1em;
    }
}