/*
 Theme Name:   MSG
 Description:  Custom Theme for MSG Singer
 Author:       Webmedia Solution Hilcher
 Author URI:   https://www.webmedia-hilcher.de
 Template:     twentytwenty
 Version:      1.0
 Text Domain:  msg
*/

/* FONTS */

/* roboto-300 - latin */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    src: url('assets/fonts/roboto-v20-latin/roboto-v20-latin-300.eot'); /* IE9 Compat Modes */
    src: local('Roboto Light'), local('Roboto-Light'),
    url('assets/fonts/roboto-v20-latin/roboto-v20-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('assets/fonts/roboto-v20-latin/roboto-v20-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
    url('assets/fonts/roboto-v20-latin/roboto-v20-latin-300.woff') format('woff'), /* Modern Browsers */
    url('assets/fonts/roboto-v20-latin/roboto-v20-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
    url('assets/fonts/roboto-v20-latin/roboto-v20-latin-300.svg#Roboto') format('svg'); /* Legacy iOS */
}

/* roboto-regular - latin */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('assets/fonts/roboto-v20-latin/roboto-v20-latin-regular.eot'); /* IE9 Compat Modes */
    src: local('Roboto'), local('Roboto-Regular'),
    url('assets/fonts/roboto-v20-latin/roboto-v20-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('assets/fonts/roboto-v20-latin/roboto-v20-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
    url('assets/fonts/roboto-v20-latin/roboto-v20-latin-regular.woff') format('woff'), /* Modern Browsers */
    url('assets/fonts/roboto-v20-latin/roboto-v20-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
    url('assets/fonts/roboto-v20-latin/roboto-v20-latin-regular.svg#Roboto') format('svg'); /* Legacy iOS */
}

/* roboto-700 - latin */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('assets/fonts/roboto-v20-latin/roboto-v20-latin-700.eot'); /* IE9 Compat Modes */
    src: local('Roboto Bold'), local('Roboto-Bold'),
    url('assets/fonts/roboto-v20-latin/roboto-v20-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('assets/fonts/roboto-v20-latin/roboto-v20-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
    url('assets/fonts/roboto-v20-latin/roboto-v20-latin-700.woff') format('woff'), /* Modern Browsers */
    url('assets/fonts/roboto-v20-latin/roboto-v20-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
    url('assets/fonts/roboto-v20-latin/roboto-v20-latin-700.svg#Roboto') format('svg'); /* Legacy iOS */
}

/* roboto-900 - latin */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 900;
    src: url('assets/fonts/roboto-v20-latin/roboto-v20-latin-900.eot'); /* IE9 Compat Modes */
    src: local('Roboto Black'), local('Roboto-Black'),
    url('assets/fonts/roboto-v20-latin/roboto-v20-latin-900.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('assets/fonts/roboto-v20-latin/roboto-v20-latin-900.woff2') format('woff2'), /* Super Modern Browsers */
    url('assets/fonts/roboto-v20-latin/roboto-v20-latin-900.woff') format('woff'), /* Modern Browsers */
    url('assets/fonts/roboto-v20-latin/roboto-v20-latin-900.ttf') format('truetype'), /* Safari, Android, iOS */
    url('assets/fonts/roboto-v20-latin/roboto-v20-latin-900.svg#Roboto') format('svg'); /* Legacy iOS */
}

/* MOBILE MENU */
.menu-modal{
    z-index: 1001;
}
.menu-modal button:focus{
    text-decoration: none;
    outline: none;
}
.menu-modal-inner{
    background-color: #e23429;
    color: #ffffff;
}
.modal-menu a{
    color: #ffffff !important;
}
.msg-bars{
    display: block;
    content: ' ';
    background-image: url('/wp-content/themes/msg/assets/images/menu.svg');
    background-size: 55px 55px;
    height: 55px;
    width: 55px;
    position: relative;
    left: -20px;
}
.msg-close{
    display: block;
    content: ' ';
    background-image: url('/wp-content/themes/msg/assets/images/close.svg');
    background-size: 55px 55px;
    height: 55px;
    width: 55px;
    position: relative;
    left: 8px;
    top: 2px;
}
.slider-link a > div > div {
    margin-left: -15px;
}

.slider-link a > div:before{
    display: block;
    content: ' ';
    background-image: url('/wp-content/themes/msg/assets/images/arrow-up-right-white.svg');
    background-size: 20px 20px;
    height: 20px;
    width: 20px;
    position: relative;
    left: -15px;
    top: 0;
}
.close-nav-toggle i{
    font-size: 40px;
    color: #ffffff;
}
.menu-logo img{
    position: absolute;
    top: 0;
    max-height: 6rem;
    margin: 2rem auto 0;
    width: auto;
}
.mobile-menu{
    margin-top: 3.1rem;
}
.mobile-menu a{
    text-align: center;
}
.mobile-menu .menu-item{
    border: none;
}
.menu-bottom .social-menu .svg-icon{
    display: none;
}
.menu-bottom .social-icons a{
    border-radius: 0;
    width: 14rem;
    height: 10rem;
    background-color: #000000;
    text-align: center;
    text-transform: uppercase;
}
.menu-bottom .social-icons li a{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.menu-bottom .social-icons li:first-child a{
    background-color: #ffffff;
    color: #e23429;
}
.menu-bottom .social-icons a::after{
    content: "zur Website";
    width: 100%;
    text-align: center;
    font-size: 12px;
    text-transform: none;
    background-image: url('/wp-content/themes/msg/assets/images/arrow-up-right-white.svg');
    background-size: 20px 20px;
    background-position: left;
    background-repeat: no-repeat;
    background-position-x: 20px;

}
.menu-bottom .social-icons li:first-child a::after{
    background-image: url('/wp-content/themes/msg/assets/images/arrow-up-right-red.svg');
}

/* GLOBAL */

body {
    background: #f5efe0;
    color: #000;
    font-family: Roboto, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 1.8rem;
    letter-spacing: -0.015em;
    text-align: left;
}
input[type="text"], input[type="password"], input[type="email"], input[type="url"], input[type="date"], input[type="month"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="week"], input[type="number"], input[type="search"], input[type="tel"], input[type="color"], textarea{
    border-color: #2a3e65 !important;
    width: 100%;
}
.elementor, .section-inner, .header-inner, .msg-slider-overlay{
    max-width: 140rem !important;
}
.msg-slider-overlay{
    align-self: center !important;
    width: calc(100% - 4rem) !important;
}
.msg-headline h2{
    margin-bottom: 0 !important;
}

h1, h2, h3, h4, h5, h6{
    text-transform: uppercase;
}
.msg-headline, .elementor-widget-heading .elementor-heading-title, .elementor-image-box-title {
    color: #2a3e65 !important;
}
.button-msg-red .elementor-button{
    background-color: #e23429 !important;
    border-radius: 0 !important;
}
.msg-text-red{
color: #e23429;
}
.button-xl .elementor-button span{
    font-size: 16px !important;
}
h1{
    font-size: 44px;
    margin-bottom: 25px !important;
    margin-top: 0 !important;
}
h2{
    font-size: 24px !important;
    margin-bottom: 20px !important;
    margin-top: 0 !important;
    font-weight: 400 !important;
}
h3{
    font-size: 28px !important;
    font-weight: 700 !important;
    margin-bottom: 18px !important;
    margin-top: 0 !important;
}
h4{
    font-size: 24px !important;
    font-weight: 400 !important;
    margin-bottom: 15px !important;
    margin-top: 0!important;
}
p{
    font-size: 16px;
}

/* HEADER */
#site-header{
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-bottom: solid #929db0 1px;
}
.header-inner, .close-nav-toggle{
    padding: 2rem 0 !important;
}
.primary-menu > li > a{
    font-size: 20px;
    font-weight: normal;
}
body:not(.overlay-header) .primary-menu > li:nth-last-child(2) > a, body:not(.overlay-header) .primary-menu > li:last-child > a{
    color: #2a3e65 !important;
}


/* CONTENT */
.elementor-column-gap-default > .elementor-row > .elementor-column > .elementor-element-populated {
    padding: 0 !important;
}
.msg-cta-box > *{
    border-color: #2a3e65 ;
    padding: 0 0 20px !important;
    margin-bottom: 5rem
}

.msg-cta-box .elementor-image-box-content, .msg-cta-box .button-msg-red{
    padding: 0 0 20px 20px;
}
.msg-cta-box .elementor-widget:not(:last-child){
    margin-bottom: 0;
}
.elementor-image-box-title{
    text-align: left;
}
.elementor-accordion .elementor-accordion-item{
    border-color: #2a3e65 !important;
    border-right: 0 !important;
    border-left: 0 !important;
    border-top: 0 !important;
    border-bottom-width: 2px !important;
}
.elementor-accordion .elementor-tab-content{
    border: none !important;
}
.elementor-accordion-icon{
    color: #2a3e65 !important;
}
.elementor-tab-title{
    color: #2a3e65 !important;
    text-transform: uppercase;
}
a.elementor-accordion-title{
    color: #2a3e65 !important;
    font-size: 26.6px;
}
.elementor-tab-content {
    font-size: 24px;
}
section.msg-double-headline, section.msg-project-image-row, .msg-p0{
    padding: 0;
}
section.msg-mb, section.margin-headline, .msg-mb{
    margin-bottom: 5rem !important;
}
.msg-cta-box h3{
    font-size: 24px !important;
}
.msg-cta-box h3:after{
    content: " ";
    width: 60px;
    border-top: solid 2px #2a3e65;
    display: block;
    margin-top: 10px;
}
.wpcf7-form-control.wpcf7-submit{
    background-color: #2a3e65;
    width: 100%;
    margin-top: 10px;
}
.wpcf7-form > a{
    color: #e23429;
}
.wpcf7-form label{
    width: 100%;
    margin-bottom: 15px;
}
.acceptance-text{
    font-size: 14px ;
}

/* Slider Switch */
.acceptance-slider {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 28px;
}

.acceptance-slider input {
    opacity: 0;
    width: 0;
    height: 0;
}

.acceptance-slider .wpcf7-list-item-label {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 28px;
    font-size: 0;
}

.acceptance-slider .wpcf7-list-item-label:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}

.acceptance-slider input:checked + .wpcf7-list-item-label {
    background-color: #2a3e65;
}

.acceptance-slider input:focus + .wpcf7-list-item-label {
    box-shadow: 0 0 1px #2a3e65;
}

.acceptance-slider input:checked + .wpcf7-list-item-label:before {
    -webkit-transform: translateX(32px);
    -ms-transform: translateX(32px);
    transform: translateX(32px);
}



/* FOOTER */

.footer-menu a, #site-footer, .footer-credits p{
    font-size: 12px;
    font-weight: 400;
    text-align: center;
    color: #929db0 !important;
}
#site-footer .section-inner {
    border-top: solid 2px #929db0;
    flex-direction: column;
}
.footer-menu li {
    display: inline;
    margin-right: 10px;
}
.footer-nav, .footer-credits{
    align-self: center;
}


/* > 360px */


/* > 768px */

@media (min-width: 768px){

    h1{
        font-size: 64px;
    }

    h2{
        font-size: 32px !important;
    }
    p{
        font-size: 20px;
    }
    .menu-logo img{
        max-height: 9rem;
    }
    .close-nav-toggle{
        padding: 4rem 0 !important;
    }
    .elementor-column-gap-default > .elementor-row > .elementor-column > .elementor-element-populated {
        padding: 15px !important;
    }
    .elementor-column-gap-default > .elementor-row > .elementor-column.msg-cta-box > .elementor-element-populated {
        padding: 0 !important;
    }
    .msg-slider-headline, .msg-slider-button{
        padding-left: 15px;
    }
    .button-xl .elementor-button span{
        font-size: 24px !important;
    }
    .msg-cta-box > *{
        margin-left: 10px;
        margin-right: 10px;
    }
    .msg-cta-box:first-child > *, .msg-cta-box:last-child > *{
        margin-left: 0;
    }
    .msg-cta-box:nth-child(2) > *, .msg-cta-box:last-child > *{
        margin-right: 0;
    }
    .footer-menu a, #site-footer, .footer-credits p{
        font-size: 16px;
        text-align: initial;
    }
}



/* > 1280px */

@media (min-width: 1280px) {
    #site-header{
        position: relative;
        border-bottom: none;
    }
    .header-inner{
        padding: 3.15rem 0 !important;
    }
    .header-titles .site-title, .header-titles .site-logo, .header-titles .site-description{
        margin: 1rem 0 0 3.4rem;
    }
    .primary-menu > li{
        margin: 0.8rem 0 0 7.5rem;
    }
    .primary-menu > li:first-child{
        margin: 0.8rem 0 0 0;
    }
    #site-footer .section-inner {
        flex-direction: row;
    }
    .footer-nav, .footer-credits{
        align-self: unset;
    }
    .elementor-column-gap-default > .elementor-row > .elementor-column > .elementor-element-populated {
        padding: 10px !important;
    }
    .elementor-column-gap-default > .elementor-row > .elementor-column.msg-cta-box > .elementor-element-populated {
        padding: 0 !important;
    }
    .msg-cta-box > *{
        margin-left: 10px;
        margin-right: 10px;
    }
    .msg-cta-box:first-child > *{
        margin-left: 10px;
    }
    .msg-cta-box:last-child > *{
        margin-right: 10px;
        margin-left: 10px;
    }
    .msg-cta-box:nth-child(2) > *{
        margin-right: 10px;
        margin-left: 10px;
    }
}
