/*
 Theme Name:     Kriegsgeschäfteinitiative
 Theme URI:      http://kpunkt.ch/
 Description:    Divi-Child Theme für die Abstimmungskampage der Kriegsgeschäfteinitiative. | Divi-Child Theme pour la campagne de vote sur l'initiative contre le commerce du guerre. | Divi-Child Theme for the "Kriegsgeschäfteinitiative" campaign.
 Author:         Timothy von K.
 Author URI:     http://kpunkt.ch/
 Template:       Divi
 Version:        0.0.1
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */


/****************************************************
*****************************************************
***************** TABLE OF CONTENTS *****************
*****************************************************
*****************************************************


*****************
1. Root Variables XXX -- XXX

*****************
2. Typography XXX -- XXX

*****************
3. Elements XXX -- XXX

*****************
4. Containers XXX -- XXX

*****************
X. Corrections and fixes XXX -- XXX


*****************
1. ROOT VARIABLES
****************/

:root {
    --red: #CC2633;
    --second-red: #c26c73;
    --anthrazit: #232323;
    --hellgrau: #C8C8C8;
    --primary-color: var(--red);
    --graph-ff: 'graph-ff-condensed';
    --work-sans: 'Work Sans', sans-serif;
}



/****************
2. Typography
****************/


body {
    background-color: white;
    font-family: var(--work-sans);
    font-weight: 400;
    line-height: 1.65;
    color: #333;
    font-size: clamp(16px, 1.5vw, 20px);
}

p {margin-bottom: 1.15rem;}

h1, h2, h3, h4, h5 {
    margin: 2.75rem 0 1.05rem;
    font-family: var(--graph-ff);
    text-transform: uppercase;
    line-height: 1.15;
    letter-spacing: 0.03em;
}


.header-bg h1, .header-bg h2, .header-bg h3, .header-bg h4, .header-bg h5, .header-bg h6 {
    background-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0.3em 0 0 var(--primary-color), -0.3em 0 0 var(--primary-color);
    margin-left: 0.3em;
    line-height: 1.3;
    -webkit-box-decoration-break: clone;
    -moz-box-decoration-break: clone;
    box-decoration-break: clone;
    display: inline;
    padding: 0.2em 0px 0.3em 0px;
}

div.header-bg {
    margin-bottom: 1em;
}

h1 {
margin-top: 0;
font-size: 3.052em;
}

h2 {font-size: 2.441em;}

h3 {font-size: 1.953em;}

h4 {font-size: 1.563em;}

h5 {font-size: 1.25em;}

small, .text_small {font-size: 0.7em;}


a {
    color: var(--primary-color);
}

a.light {
    color: #ffffff;
}


h1.nobg, h2.nobg, h3.nobg, h4.nobg, h5.nobg, h6.nobg {
    background-color: unset;
    box-shadow: none;
    margin-left: 0;
    line-height: 1.3;
    -webkit-box-decoration-break: unset;
    -moz-box-decoration-break: unset;
    box-decoration-break: unset;
    display: inline;
    padding: 0;
} 

/****************
3. Elements
****************/

/********* BUTTONS *********/
.button {
    font-family: 'graph-ff-condensed',Georgia,"Times New Roman",serif;
    color: #ffffff !important;
    font-size: 24px;
    letter-spacing: 0.03em;
    background-color: var(--primary-color);
    border-width: 0px !important;
    border-radius: 0px;
    display: block;
    padding: .3em 1em !important;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    transition: 0.25s;
    width: fit-content;
    width: -moz-fit-content;
    cursor: pointer;
}
  
.button:hover {
    -webkit-box-shadow: -0.2em 0.2em 0px 0px var(--second-red);
    -moz-box-shadow: -0.2em 0.2em 0px 0px var(--second-red);
    box-shadow: -0.2em 0.2em 0px 0px var(--second-red);
    transform: translate(0.2em, -0.2em);
}

.button:active {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    transform: unset;
    transition: 0.1s;
}

/****************
4. Containers
****************/
.main-container {
    padding: 3em 0 1.5em 0;
}


.big-container {
    width: 90vw;
    margin: auto;
    max-width: 500px;
}

.small-container {
    width: 80vw;
    margin: auto;
    max-width: 1080px;
}

@media only screen and (max-width: 980px) {
    .small-container {
        width: 90vw;
    }
}


/****************
X. Corrections and fixes
****************/

/* Fixed Header Padding */

#et-main-area {
    padding-top: 100px;
}

@media only screen and (max-width:980px) {
    #et-main-area {
        padding-top: 80px;
    }
}

.et-menu .menu-item-has-children>a:first-child:after {
    right: -16px !important;
}


/* Mobile Menu */
#my-mobilemenu-anchor {
    padding: .75vw 3vw;
    background-color: var(--red);
    color: white !important;
}
#my-mobilemenu-anchor p {
    margin-bottom: 0 !important;
}
#my-mobilemenu-anchor p span {
    font-family: var(--graph-ff);
    font-size: 130%;
}

#mymenu-overlay {
    height: 100vh;
    height: calc(100 * var(--vh));
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    /*visibility: hidden;*/
    background-color: var(--red);
}

#mymobile-menu-container {
    width: 90vw;
    height: 100%;
    margin: auto;
    display: grid;
}

#mymobile-inner {
    color: white !important;
}


.main-container {
    min-height: calc(100 * var(--vh) - var(--footer-height));
}

html.noscroll {
    overflow-y: hidden;
}