/*
Theme Name: Sound And Science 2022 Version 2
Author: Clara Busson (Design), Kaspar Dornfeld (Design / Code)
Description: Customized Design for the Sound And Science: Digital Histories Database
Version: 2.0
License: All Rights Reserved
Tags: one-cloumn, turquoise, two-columns, left-sidebar, flexible-width
Text Domain: soundandscience
*/

/**********
 GLOBALS 
 *********/

* {
    --lightblue: #5394ab;
    --theme: #14617c;
    --themepale: rgba(20,97,124,0.9);
    --themebg: #f9f9f9;
    --themecolor: #1c1c1c;
    --lines: #b0b0b0;
    --headercol: #f9f9f9;
    --bodybg: #eee;
    box-sizing: border-box;
    font-smooth: always;
    -webkit-font-smoothing: subpixel-antialiased;
    -moz-osx-font-smoothing: grayscale; 
	transition: all 0.3s ease-in-out
}

*::selection, *::-moz-selection, *::-webkit-selection {
    background-color: var(--theme) !important;
	color: var(--headercol) !important;
}

html {
    background-color: white;
	padding: env(safe-area-inset);
}

body {
    background-color: var(--bodybg);
    box-shadow: 0 0 10px -8px #999;
    font-family: 'Lato', sans-serif !important;
}

h1, h2, h3 {
    font-family: 'Source Serif Pro', serif;
    font-weight: 600;
}

h4, h5, h6, p, a {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
}

a {
    color: var(--theme);
    text-decoration: none;
}

a:hover {
    color: var(--theme);
    text-decoration: none;
}

p a:hover {
    text-decoration: underline;
}

ul {
	padding-left: 0 !important;
}

td {text-align: left;}

.outline {
    border-top: 1px solid var(--lines);
    border-bottom: 1px solid var(--lines);
}

.site-name {
    border-top: 1px solid #000;
    border-bottom: 1px solid var(--lines);
    display:flex;
    justify-content: space-evenly;
    padding: 30px 0;
}

.site-name h5 {
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 19px;
    margin: 0 auto;
}

#menu-primary-1 {
    padding-left: 0 !important;
    display:none;
}

.post-type {
    border-bottom: 1px solid var(--lines);
    color: var(--themecol);
    font-size: 0.7rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.owl-theme .owl-nav .disabled {display: none !important;}

.current-menu-item, .current_page_item {border-bottom: 1px solid var(--lightblue);}


.wp-video {
    max-width: 100%;
    height: auto;
    border-radius: 25px !important;
    overflow: hidden !important;
    border: 1px solid var(--lines) !important;
  }


.wonderplugin-pdf-iframe {
	overflow: hidden;
	border-radius: 25px;
	border: 1px solid var(--lines);
}

/**********
 UTILS
 *********/

.desktop {
    display: block;
}

.mobile {
    display: none;
}

.text-right-lg {
    text-align: right;
    padding: 0 !important;
    margin:0 !important;
}

.text-left-lg {
    text-align: left;
    padding: 0 !important;
    margin:0 !important;
}

.px-60, .px-60-res {
    padding-left: 60px;
    padding-right: 60px;
}

.p-0 {
    padding: 0;
}

.p-20 {
    padding: 20px;
}

.p-60, .p-60-2 {
    padding: 60px;
}

.px-60 {
    padding-left: 60px;
    padding-right: 60px;
}

.px-big-auto {
    padding-left: 7vw;
    padding-right: 7vw;
}

.py-120 {
    padding-top: 120px;
    padding-bottom: 120px;
} 

.py-20 {
    padding-top: 20px;
    padding-bottom: 20px;
}

.py-60 {
    padding-top: 60px;
    padding-bottom: 60px;
}

.py-30 {
    padding-top: 30px;
    padding-bottom: 30px;
}

.pt-20 {
    padding-top: 20px;
}

.mx-0 {
    margin:0;
}

.mx-10 {
    margin-left: 10px;
    margin-right: 10px;
}

.mx-20 {
    margin-left: 20px;
    margin-right: 20px;
}

.m-20 {
    margin: 20px;
}

.my-20 {
    margin-top: 20px;
    margin-bottom: 20px;
}

.my-40 {
    margin-top: 40px;
    margin-bottom: 40px;
}

.my-bottom-120 {
	margin-bottom: 120px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mb-50 {
    margin-bottom: 50px;
}

.mlx-7 {
    margin-left: 8px;
}

.one-col {
    display: none;
}

.two-col {
    display: block;
}

.floater-left {
    float:left;
}

.round-image {
    border-radius: 25px;
}

.upper-round {
    border-top-left-radius: 25px !important;
    border-top-right-radius: 25px !important;
}

input::placeholder {
    color: var(--theme);
}

/**********
 SCROLLUP BUTTON
 *********/
 .scrollup-button .scrollup-svg-icon {
    fill: var(--lightblue) !important;
    transition: all 0.25s ease;
}

#scrollup-master {background-color: transparent !important;}

.scrollup-button .scrollup-svg-icon:hover {
    fill: var(--theme) !important;
}


/**********
 BOOTSTRAP REWRITES
 *********/

.xxl {
    max-width: 1600px;
    margin:0 auto;
    padding:0;
    background-color: var(--themebg);
    box-shadow: 0 0 10px -5px #333;
    overflow: hidden !important;
}

/**********
 BREAKPOINTS
 *********/

 @media screen and (max-width:990px) {

    .desktop {
        display: none;
    }
    .mobile {
        display: block;
    }
    
    .text-left-lg, .text-right-lg {
        width: 100%;
        text-align: center;
    }

    .one-col {
        display: block;
    }
    
    .two-col {
        display: none;
    }

    .post-type {text-align: center;}

    .floater-left {float: none;}

    .mlx-7 {
        margin-left: 0;
    }
 }

 @media screen and (max-width: 768px) {
    .px-big-auto {
        padding-left: 20px;
        padding-right: 20ox;
        text-align: justify;
    }
	 
	 .px-60 {
		 padding-left: 20px;
		 padding-right: 20px;
	 }

    .py-60 {text-align: justify;}

    .p-60 {
        padding-left: 30px;
        padding-right: 30px;
    }

    .p-60-2, .px-60-res {
        padding-left: 0;
        padding-right: 0;
    }

    .py-20 {
        padding-top: 0;
        padding-bottom: 0;
    }
	 
	 .py-120 {
		 padding-top: 20px;
		 padding-bottom: 20px;
	 }

 }