/*
 *
 * START OF FILE
 *
 */

/*--------------------------------------------------------------------------------*/

@media only screen and (min-width: 1200px) {
    .xl-two-cols ul {
        width: 100%;
        columns: 2;
        -webkit-columns: 2;
        -moz-columns: 2;
    }
}

@media only screen and (max-width: 1199px) {
    section.page-section .sp-el-row {
        max-width: 95%;
    }
    section.page-section .sp-el-row.row-style-1 {
        max-width: calc(95% - 60px);
    }
    section.page-section .sp-el-row.padding-style-1 {
        max-width: calc(95% - 30px);
    }
    section.page-section .sp-el-row.padding-style-2 {
        max-width: calc(95% - 20px) !important;
    }

    section.secondary-menu + section.header:not(.menu) .sp-el-col:nth-child(1),
    section.secondary-menu + section.header:not(.menu) .sp-el-col:nth-child(3) {
        display: none;
    }
    section.secondary-menu + section.header:not(.menu) .sp-el-col {
        width: 100% !important;
    }

    section.header.menu.bg-pattern {
        padding: 5px;
    }
    
    section.copyright .sp-el-block.sp-text-wrapper {
        text-align: center !important;
    }
    
    span.url-in-caps {
        display: block;
        margin: 0;
    }
}

@media only screen and (max-width: 1024px) {
    section.page-section .sp-el-row.lg-force-width {
        max-width: 95% !important;
    }
    section.page-section .sp-el-row.row-style-1.lg-force-width {
        max-width: calc(95% - 60px) !important;
    }
    
    section.page-section .sp-el-row.row-style-1.col-responsive.sm\:sp-flex {
        padding-bottom: 0;
    }
    
    .sp-custom-grid-cols-4 {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }
    
    section.banner-style-1 img,
    .sp-image-wrapper.page-banner img {
        /*height: 45vh;*/
    }
    
    .events-plain-grid-style .tribe-events-pro .tribe-events-pro-photo__event {
        width: 50% !important;
    }
}

@media only screen and (min-width: 769px) and (max-width: 1024px) {
    section.footer.page-section:not(.copyright) .sp-el-col {
        flex: 25% 0 !important;
    }
    section.footer.page-section:not(.copyright) .gutter {
        display: none;
    }
    
    .column-3 .imagebox-style-1.size-L {
        padding: 30px !important;
    }
    .column-3 .iconbox-style-2.padding-size-L {
        padding: 30px !important;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .banner-style-2 .sp-type-header {
        padding: 0 30px !important;
    }

    section.page-section .sp-el-row.col-responsive.sm\:sp-flex {
        margin-bottom: -50px;
        flex-wrap: wrap;
    }
    section.page-section .sp-el-row.col-responsive.sm\:sp-flex > div {
        margin-bottom: 50px;
        flex: 50% 0;
    }
}

@media only screen and (min-width: 768px) {
    #clean-mobile-menu > ul:first-child,
    #clean-mobile-menu > div.socialmedia-icon {
        display: none;
    }
}

@media only screen and (max-width: 768px) {
    section.page-section .sp-el-row.md-force-width {
        max-width: 95% !important;
    }
    
    section.page-section .sp-el-row:not(.col-responsive) {
        flex-wrap: wrap;
    }
    section.page-section .sp-el-row:not(.col-responsive) > div {
        flex: 100% 0;
        margin-bottom: 50px;
    }
    section.page-section .sp-el-row:not(.col-responsive) > div:last-child {
        margin-bottom: 0;
    }

    section.page-section .sp-el-row {
        max-width: 95%;
    }
    section.page-section .sp-el-row.row-style-1 {
        max-width: calc(95% - 60px) !important;
    }

    section.page-section.banner-style-1 .sp-el-row,
    section.page-section.banner-style-2 .sp-el-row {
        max-width: 100% !important;
    }

    .banner-style-1 .sp-el-col:first-child,
    .banner-style-2 .sp-el-col:first-child {
        margin-top: 0;
    }

    section.footer.page-section:not(.copyright) .sp-el-col {
        flex: 100% 0 !important;
    }
    section.footer.page-section:not(.copyright) .gutter {
        display: none;
    }
    section.footer.page-section:not(.copyright) p {
        text-align: center;
    }
    
    .footer .quick-links {
        text-align: center !important;
    }
    
    .buttons-centered {
        flex-wrap: nowrap !important;
    }
    
    .md-margin-bottom-10 {
        margin-bottom: 10px !important;
    }
    .md-margin-bottom-30 {
        margin-bottom: 30px !important;
    }
    
    .sp-custom-grid-cols-4,
    .sp-custom-grid-cols-3 {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
    
    .three-cols ul {
        columns: unset;
    }
}

@media only screen and (max-width: 767px) {
    section.secondary-menu {
        display: none;
    }

    section.page-section {
        padding: 40px 0;
    }
    section.page-section .sp-el-row.col-responsive.sm\:sp-flex {
        margin-bottom: -50px;
        flex-wrap: wrap;
    }
    section.page-section .sp-el-row.col-responsive.sm\:sp-flex > div {
        margin-bottom: 50px;
        flex: 100% 0;
    }

    section.page-section[class*="divider-style-"] {
        padding-top: 75px !important;
    }
    section[class*="divider-style-"]:before {
        background-size: 100% 50px;
        height: 50px;
    }

    section.page-section .sp-el-row > div {
        width: 100% !important;
    }
    
    section.page-section .sp-el-row.row-style-1.col-responsive.sm\:sp-flex {
        padding-bottom: .1px;
    }
    section.page-section .sp-el-row.col-responsive.sm\:sp-flex.sm-margin-bottom-0 {
        margin-bottom: 0;
    }

    section.page-section .sp-el-row.lg-force-width {
        max-width: 100% !important;
    }
    section.page-section .sp-el-row.row-style-1.lg-force-width {
        max-width: calc(100% - 60px) !important;
    }
    section.page-section .sp-el-row.md-force-width {
        max-width: 100% !important;
    }
    
    .hero-cover .sp-el-row {
        min-height: 50vh;
        align-items: center;
        display: flex;
        padding: 30px 0 !important;
    }
    
    .pricelist-style-1 span.sp-price-block-seperator {
        min-width: 20px;
    }
    .pricelist-style-1 span.sp-pricelist-price-block {
        white-space: normal;
        max-width: 50%;
    }
    
    .imagebox-style-1 *[class*="sp-feature-header"] {
        text-align: left;
    }
    .imagebox-style-1 p,
    .imagebox-style-1 *[class*="sp-feature-text-"] * {
        text-align: left;
    }
    
    .sm-margin-top-30 {
        margin-top: 30px !important;
    }
    
    .posts-style-1 .sp-custom-grid {
        grid-gap: 30px;
        gap: 30px;
    }
    
    .iconbox-style-1 *[class*="sp-icon-feature-text-"] {
        word-break: break-word;
    }
    
    .accordion-style-1 summary + span {
        word-break: break-word;
    }
    
    .events-plain-grid-style .tribe-events-pro .tribe-events-pro-photo__event {
        width: 100% !important;
    }
}

@media only screen and (max-width: 639px) {
    section.page-section .buttons-centered > div:first-child {
        margin-bottom: 30px;
    }
    section.page-section .buttons-centered .sp-el-block.sp-button-wrapper {
        text-align: center !important;
    }
    section.page-section .buttons-inline .sp-button-wrapper {
        margin-left: 0 !important;
        margin-right: 0 !important;
        display: block;
    }
    section.page-section .sp-el-block.sp-type-header,
    section.page-section .sp-el-block.sp-text-wrapper {
        word-break: break-word;
    }
    
    .header .sp-el-col {
        width: 100% !important;
    }
    
    .two-cols ul {
        columns: unset;
    }
}

@media only screen and (max-width: 575px) {
    section.header {
        padding: 30px 0;
    }
    section.header.menu {
        padding: 1px 0 0;
    }
    section.header .sp-el-col {
        padding: 0;
        width: 100% !important;
        margin-bottom: 30px;
    }
    section.header .sp-el-col:last-child {
        margin-bottom: 0;
    }
    section.header .sp-el-block {
        padding: 0;
    }

    section.page-section .sp-el-row {
        max-width: 100% !important;
    }

    .modal .modal-heading {
        font-size: 16px;
    }
    button.modal-close {
        top: 5px;
    }
    form#searchform input#s {
        font-size: 16px;
        padding: 10px 15px;
    }
    form#searchform button {
        width: 46px;
        height: 46px;
    }

    #menu-popup ul a {
        padding: 10px 15px;
        font-size: 16px;
    }
    #menu-popup li.has-child:before {
        display: none;
    }
    #menu-popup a:before {
        display: none;
    }
    #menu-popup ul ul {
        margin-left: 15px;
    }
    .modal-scrollable.modal-centered {
        margin: 3em auto;
        max-height: calc(100% - 6em);
        min-height: calc(100% - 6em);
    }

    section.page-section {
        padding: 30px 0;
    }

    .banner-style-1 .sp-el-col:first-child,
    .banner-style-2 .sp-el-col:first-child {
        margin-top: 0;
    }
    .banner-style-1 .sp-el-col:first-child img {
        max-width: 100%;
    }

    section.banner-style-2 .sp-type-header {
        padding: 0 3px;
    }
    section.banner-style-3 .sp-el-row {
        min-height: unset;
    }

    section.page-section .sp-el-row.col-responsive.sm\:sp-flex {
        margin-bottom: -30px;
    }
    section.page-section .sp-el-row.col-responsive.sm\:sp-flex > div {
        margin-bottom: 30px;
    }

    section.page-section .sp-el-row:not(.col-responsive) > div {
        margin-bottom: 30px;
    }

    section.page-section .sp-el-row.row-style-1 {
        max-width: calc(100% - 60px) !important;
        padding: 30px 0px;
    }
    section.page-section .sp-el-row.padding-style-1 {
        max-width: calc(100% - 30px) !important;
    }
    section.page-section .sp-el-row.padding-style-2 {
        max-width: calc(100% - 20px) !important;
    }
    section.page-section .sp-el-row.row-style-1.padding-style-2 {
        max-width: calc(100% - 60px) !important;
        padding: 30px 10px;
    }

    section.page-section .sp-el-row + .sp-el-row {
        margin-top: 30px;
    }

    section.page-section .sp-el-row.padding-style-2 + .sp-el-row.padding-style-2 {
        margin-top: 60px;
    }

    .sp-text-wrapper.text-style-1 {
        padding: 30px 30px !important;
    }

    .sp-text-wrapper:not([class*="text-style-"]) + .sp-text-wrapper[class*="text-style-"],
    .sp-text-wrapper[class*="text-style-"] + .sp-text-wrapper[class*="text-style-"] {
        margin-top: 30px !important;
    }

    .imagebox-style-1.size-L {
        padding: 30px !important;
    }

    .sp-gallery-block {
        display: block;
    }
    .sp-gallery-block a {
        display: block;
    }
    .sp-gallery-block a:not(:last-child) {
        margin-bottom: 30px;
    }

    section.page-section .buttons-inline .sp-button-wrapper + .sp-button-wrapper {
        margin-left: 0 !important;
        margin-right: 0 !important;
        display: block;
    }
    section.page-section .buttons-inline.buttons-centered .sp-button-wrapper  {
        margin-left: 0 !important;
        margin-right: 0 !important;
        display: block;
    }

    .xs-margin-bottom {
        margin-bottom: 0 !important;
    }
    .xs-margin-bottom-style-2 {
        margin-bottom: 50px !important;
    }

    #clean-mobile-menu .socialmedia-icon a {
        width: 36px;
        height: 36px;
        line-height: 36px;
    }
    #clean-mobile-menu .socialmedia-icon a i {
        font-size: 14px;
        position: relative;
        top: -2px;
    }

    section.secondary-menu + section.header:not(.menu) .sp-el-col {
        padding: 0 30px;
        margin-bottom: 0;
    }
    section.secondary-menu + section.header:not(.menu) .sp-el-col .sp-image-wrapper:not(:last-child) {
        margin-bottom: 20px !important;
    }

    .installation-name {
        padding-bottom: 5px !important;
        letter-spacing: 3px;
        line-height: 110%;
    }
    .force-support {
        letter-spacing: 3px;
        line-height: 120%;
    }

    .iconbox-style-2.padding-size-L {
        padding: 30px !important;
    }
    
    .sp-type-alert {
        word-break: break-word;
    }
    
    ul.sp-bulletlist-wrapper {
        word-break: break-word;
    }
    
    section.banner-style-1 img,
    .sp-image-wrapper.page-banner img {
        /*height: 25vh;*/
    }
    
    .hero-carousel img {
        height: 35vh !important;
    }
    
    *[class*="sp-feature-header"] {
        word-break: break-word;
    }
    
    .iconbox-style-1 i {
        font-size: 26px;
    }
}

/*--------------------------------------------------------------------------------*/

/*
 *
 * END OF FILE
 *
 */