/*
Theme Name: My Website Theme
Theme URI: https://up-to-you.ch/
Author: Léa Medrano
Author URI: https://leamedrano.myportfolio.com/
Description: uptoyoutheme
Text Domain: uptoyoutheme
Requires at least: WordPress 5.6
Version: 1.1.56
*/

/****
WP CUSTOM
 */

.top-header {
    position: fixed;
    top: 0;
}

#wpadminbar {
	/*display: none !important;*/
}

.admin-bar .top-header {
    top: 32px;
}

.pp-multiple-authors-boxes-wrapper {
	display: none;
}

/*****
VARS
 */

html {
    font-size: 18px;
}

:root {
    --main-font: 'Gabor', sans-serif;
    --second-font: 'Inferi', sans-serif;
    --beige-color: #F0EDE5;
    --citron-color: #FF5660; /*#D6F6BC;*/
    --pink-color: #FF5660;
    --lilac-color: #E6D6FB;
    --grey-color: #767676;
    --container-width-s: 1180px;
    --container-width-m: 1420px;
    --header-height: 120px;
}


/* //FONTS */

@font-face {
    font-family: 'Gabor';
    src: url('assets/fonts/Gabor_font/ElleGaborStd-Text.otf');
	font-weight: normal;
}

@font-face {
    font-family: 'Inferi';
    src: url('assets/fonts/Inferi_font/Inferi-LightItalic-light.otf');
	font-weight: normal;
}

/*****
GENERAL
 */

body {
    margin-bottom: -15px;
    font-family: var(--main-font);
}

section {
    padding: var(--margin-m) 0;
}

strong {
	font-weight: bold;
}

p {
   	margin-top: 0;
    margin-bottom: 0;
    color: #000;
	/*text-align: center;*/
    font-family: var(--main-font);
	font-size: 20px;
	font-style: normal;
	font-weight: 400;
	line-height: 28px; /* 120% */
}

a {
	text-decoration: none !important;
	color: #000;
	text-align: center;
    font-family: var(--main-font);
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	line-height: 20px; /* 166.667% */
	text-transform: uppercase;
	padding: 7px;
	/*background: var(--citron-color);*/
    cursor: pointer;
}

strong a {
	font-weight: bold;
}

a.cat-btn {
    background: var(--citron-color);
}

a:hover {
	text-decoration: none;
	color: inherit;
}

li {
    list-style: none;
}


img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

ul {
    margin-top: 0;
    margin-bottom: 0;
}

.page-template-default p {
    margin-top: 5px;
    margin-bottom: 20px;
}

/*****
DISPOSITION
 */

.di__container-small {
    width: var(--container-width-s);
    margin: 0 auto;
}

.di__container-big {
    /*width: var(--container-width-m);*/
	width: 100%;
    margin: 0 auto;
}

.di__section-main {
    background-color: var(--main-color);
}

.di__section-accent {
    background-color: var(--accent-color);
}

.di__section-basic {
    background-color: var(--basic-color);
}

.di__padding-regular {
    padding-top: 100px;
    padding-bottom: 100px;
}

.di__padding-top-regular {
    padding-top: 100px;
}

.di__padding-basic {
    padding-top: 75px;
    padding-bottom: 100px;
}

.di__padding-small {
    padding-top: 60px;
    padding-bottom: 50px;
}

.di__padding-x-small {
    padding-top: 60px;
    padding-bottom: 40px;
}

.di__flex-column {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.di__flex-center {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}


.di__flex-around {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
}


.di__flex-between {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.di__flex-start-center {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
}

/*****
TYPOS
 */

h1 {
	color: #000;
	font-family: var(--main-font);
	font-size: 34px;
	font-style: normal;
	font-weight: 500;
	/*line-height: 12px; /* 35.294% */
	text-transform: uppercase;
}


h2 {
	color: #000;
	font-family: var(--main-font);
	font-size: 28px;
	font-style: normal;
	font-weight: 400;
	line-height: 30px; /* 107.143% */
}

h2.italic {
	color: #000;
    font-family: 'Inferi';
	/* font-family: Inferi-Trial; */
	font-size: 34px;
	font-style: italic;
	font-weight: 300;
	line-height: 33.5px; /* 98.529% */
}

h3 {
	color: #000;
	font-family: var(--main-font);
	font-size: 36px;
	font-style: normal;
	font-weight: 400;
	/*line-height: 20px; /* 55.556% */
}
/*****
SECTIONS
 */


/* HEADER */

/* The sticky class is added to the navbar with JS when it reaches its scroll position */

.burger-mobile {
	display: block;
}

.burger-mobile div {
	z-index: 10;
	position: relative;
	top: 3px;
	height: 2px;
	width: 28px;
	background-color: black;
	margin-bottom: 5px;
	transition: 0.3s ease transform, 0.3s ease top, 0.3s ease width, 0.3s ease right;
	border-radius: 2px;
}

.burger-mobile.open div:first-child {
	transform: rotate(45deg);
	top: 7px;
	width: 32px;
}

.burger-mobile.open div:nth-child(2) {
	width: 0;
	transform: rotate(45deg);
}

.burger-mobile.open div:last-child {
	transform: rotate(-45deg);
	top: -7px;
	width: 32px;
}

.contact-mobile {
    display: none;
}

.navbar {
    background-color: transparent;
    justify-content: space-between;
    align-items: center;
    padding: 25px 40px;
    z-index: 99;
}

.navbar a {
    font-family: var(--accent-font);
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 20px;
    font-feature-settings: 'pnum' on, 'lnum' on;
    color: var(--main-color);
}

.navbar-light .navbar-nav .nav-link {
    color: var(--main-color);
    padding: 0 20px;
}

.navbar-light .navbar-nav .menu-item:last-child {
    display: flex !important;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0px 15px;
    margin: 0 20px;
    height: 50px;
    border-radius: 50px;
    color: var(--basic-color);
    background-color: var(--accent-color);
    transition: all .5s ease;
}

.navbar-light .navbar-nav .menu-item:last-child:hover {
    background-color: var(--main-color);
}

.navbar-light .navbar-nav .menu-item:last-child a {
    color: var(--basic-color);
    font-size: 16px;
    line-height: 20px;
    padding: 0 10px;
    padding-top: 2px;
}


.navbar-light .navbar-nav .menu-item:last-child::before {
    background: url(assets/imgs/Calendar.png);
    background-size: cover;
    content: '';
    display: block;
    height: 25px;
    width: 23px;
}

#menu-header, #menu-header-de {
    align-items: center;
}

.navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .nav-link.active {
    color: var(--accent-color);
}

.el__nav-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.el__btn-navbar {
    width: 22.85px;
    height: 25px;  
}

.el__nav-bar > a > p {
    color: var(--basic-color);
}

/* VIDEO */

.el__video-mobile {
    display: none;
}

.video-container {
    position: relative;
}

.unmute {
    margin: 20px;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0px 0px 50px rgb(0 40 100 / 40%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 0;
    align-items: center;
    justify-content: center;
    display: flex;
}

.unmute img {
    width: auto;
    height: 60%;
    opacity: 0.3;
}

.unmute img.play {
    margin-left: 20px;
}

.unmute img:last-child {
    display: none;
}

.hide {
    display: none !important;
}
.uptoyou {


    text-align: center;
    color: black;
    padding: 20px;
    font-size: 12px;
}

.uptoyou a {
    color: #0445d1;
}

.category-title .content {
    margin-bottom: 10px;
}

.category-title .content p {
    text-align: left;
}

.pagination a, 
.pagination span {
	font-size: 1rem;
	background-color: transparent;
	padding: 9px 5px;
    line-height: 20px;
}

.category-title img {
    height: 210px;
}

.el__single-post {
    margin: 30px 0 0 0;
}
																					
.page {
    margin-bottom: 50px;
}

.page .container-fluid:first-child {
	margin-top: 30px;
}

.home {
	margin-top: 0;
	margin-bottom: 0;
}

.footer-access {
    display: flex;
    width: var(--container-width-m);
    margin: auto;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.light {
    font-family: var(--second-font);
}

.latest-posts {
    /*margin: 0 10%;*/
}

.menu .nav-item.active a,
.page-numbers.current{
    color: var(--pink-color) !important;
}

.menu .nav-item.no-active.active a {
    color: black !important;
}

.advads-highlighted-wrappers img {
	width: inherit !important;
	max-width: 99vw;
}

[id^=advads-] img {
    /*width: inherit;*/
	/*width: revert-layer !important; /* new */
}

[id^=advads-] {
    margin: 10px 0;
	padding: 0 5px;
}

.advads-before-menu {
	margin: 0 !important;
	padding: 0 !important;
	text-align: center;
}

.advads-sticky {
	top: 200px !important;
}

.bg-ad-logo {
	display: none;
	width: 150px;
}

.advads-body-background .bg-ad-logo {
	display: block;
}

.advads-body-background .social-media {
	justify-content: space-between;
}


.advads-body-background .social-media-icons {
	margin-right: 0;
}

.advads-body-background .logo-nav-desktop {
	justify-content: end;
}

.advads-body-background .logo-nav-desktop .custom-logo-link {
	display: none;
}

.advads-body-background header {
	/*margin-bottom: 400px;*/
}

.advads-body-background > .container {
	/*width: 56%;*/
	background-color: white;
}

.advads-body-background .weekly-buzz {
/*	width: 56%;*/
    margin: auto;
}

.advads-body-background #top-header {
	/*width: 56% !important;*/
	margin: auto;
}

.advads-body-background .container-fluid {
	background-color: #fff;
/*	width: 56%;*/
}

.advads-body-background .advads-inject {
	background-color: #fff;
}

.advads-body-background .el__footer {
	/*width: 56%;*/
	margin: auto;
}

.advads-body-background .el__single-post {
	margin-top: 0;
}
.advads-body-background .post-content {
	padding-left: 40px;
	padding-right: 40px;
}


@media (min-width: 1000px) {
	.advads-body-background > .container,
	.advads-body-background .weekly-buzz,
	.advads-body-background #top-header,
	.advads-body-background .container-fluid,
	.advads-body-background .el__footer {
		width: 95%  !important;
	}
}

@media (min-width: 1200px) {
	.advads-body-background > .container,
	.advads-body-background .weekly-buzz,
	.advads-body-background #top-header,
	.advads-body-background .container-fluid,
	.advads-body-background .el__footer {
		width: 80%  !important;
	}
}

@media (min-width: 1400px) {
	.advads-body-background > .container,
	.advads-body-background .weekly-buzz,
	.advads-body-background #top-header,
	.advads-body-background .container-fluid,
	.advads-body-background .el__footer {
		width: 70%  !important;
	}
}

@media (min-width: 1600px) {
	.advads-body-background > .container,
	.advads-body-background .weekly-buzz,
	.advads-body-background #top-header,
	.advads-body-background .container-fluid,
	.advads-body-background .el__footer {
		width: 56% !important;
	}
}

.advads-body-background .weekly-buzz .container-fluid {
	width: 100%;
}

.advads-body-background {
	margin-bottom: 0;
	margin-top: 10%;
}

.advads-body-background .container-fluid.buzz-slider  {
	background-color: inherit;
}

.advads-body-background .container-fluid .container-fluid {
	width: 100%;
}

.advads-body-background .footer-access,
.advads-body-background .newsletter {
	width: 100%;
}

.read-also-block,
.read-also-block p {
    color: var(--citron-color);
}

.read-also-block p.card-subtitle {
    font-size: 80%;
}

.read-also-block img {
    width: 100% !important;
    aspect-ratio: 1; 
}

[id^=advads-] a {
	background-color: transparent;
	padding: 0;
}

.inferi {
    font-family: 'Inferi';
}

.chapeau a {
    padding: 7px 0;
    text-decoration: underline;
}

.anchor {
    display: block;
    position: relative;
    top: -150px;
    visibility: hidden;
}

#cover-img:hover {
	cursor: pointer;
}

.read-also-block > div {
    background: var(--beige-color);
}

@media (min-width: 992px) {
    .footer-access {
        justify-content: space-between;
        flex-direction: row-reverse;
    }
}

.container-fluid {
    width: 70%;
    padding-bottom: 20px;
    padding-top: 20px;
}

/* RESPONSIVE */

@media (max-width: 1440px) {
    :root {
        --container-width-m: 1180px;
    }
}

@media (max-width: 1280px) {
    :root {
        --container-width-m: 1024px;
    }
}

@media (max-width: 1024px) {
    :root {
        --container-width-m: 940px;
    }

    .container-fluid {
        width: 95%;
        margin-top: 0;
        padding-bottom: 20px;
    }

    .post-content p {
        margin-top: 0;
    }
}

@media (max-width: 992px) {
    :root {
        --container-width-m: 100%;
    }

    .di__container {
    	padding: 0 50px;
    }
    .post-content img {
        width: 100% !important;
    }
	
	.parallax-content p {
		font-size: 40px !important;
		line-height: 40px !important;
	}
}
	

/*@import url('https://fonts.googleapis.com/css2?family=Playfair+Display&display=swap');*/
