/*Frontpage header*/
html, body.home, .home #page{
    height: 100%; 
    width: 100%;
    position: relative;
}

.home #content, .home .ast-container, .home #primary, .home .section, .home .entry-content, .home #main, .home article.page, .home .fp-tableCell{
    height: 100% !important;
    width: 100%;
    position: relative;
}

.home .site-header{
	position: fixed;
	width: 100%;
}

.home .site-header .main-header-bar{
	background-color: transparent;
}

.home #content{
    height: 100%; 
}

.home #content .ast-container{
	width: 100%;
    max-width: 100%;
    margin: 0px;
    padding: 0px !important;
}

.home #content .ast-container #primary{
	margin: 0px;
	padding: 0px;
}

.home #content .ast-container #primary #main header{
	margin: 0px;
	display: none;
}

.home #content .ast-container #primary #main article{
	margin: 0px;
	padding: 0px;
}

#fullpage{
    width: 100%; 
}

.fp-tableCell{
    position: relative;
}

.section{
    height: 100%; 
}

.fp-section{
	background-size: cover;
}

.fp-section .content-wrapper{
    position: relative;
    max-width: 1220px;
	width: 70%;
	margin: auto;
}

.section-5.fp-section .content-wrapper{
    width: 70%;
}

@media screen and (max-width: 921px){
    .fp-section .content-wrapper{
    width: 100%;
    padding-left: 45px;
    padding-right: 45px;
    }
    
    .section-5.fp-section .content-wrapper{
    padding-left: 0px;
    padding-right: 0px;
    }
}

/*Font*/
.home .entry-content .section-1 h1{
    font-size: 80px;
}

.home .section-2 span{
    display: none;
}

.home .section-2 p{
    font-size: 12pt;
    margin-bottom: 0px;
    line-height: 1.5;
}

.home .section-2 p.p2:first-of-type{
    font-weight: 600;
}

@media screen and (min-width: 922px){
    .home .section-2{
    z-index: -1;
    }

    .home .section-2 h2{
    font-size: 28pt;
    line-height: 32pt;
    font-weight: 200;
    margin-bottom: 10px; 
    }

    .home .section-2 span{
        display: block;
        font-size: 200pt;
        font-family: Montserrat, sans-serif;
        font-weight: 700;
        position: absolute;
        line-height: 95px;
        left: -74px;
        color: #ecf4f4;
        z-index: -1;
    }
    
    .home .section-2 p.p2:first-of-type{
    padding-top: 10px; 
}

}

.home .section-5 h2{
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 8px;
    margin-top: -4px;
    line-height: 1;
}

.home .section-1 p{
    font-family: liquid embrace;
    font-size: 220%;
    margin-bottom: 0.5em;
    margin-top: -10px;
    transform: rotate(-2deg);
    margin-left: 10px;
}

@media screen and (max-width: 921px){
    p, li{
        line-height: 1.5;
    }
    
    .home .entry-content h1, .home .entry-content h2{
        font-size: 18px;
    }
    
    .home .section-2 h2{
        font-weight: 100;
    } 
    
    .home .entry-content .section-1 h1, .home .entry-content .section-3 h1, .home .entry-content .section-7 h1{
        font-size: 50px;
    }
    
    .section-6 .content-wrapper p{
        margin-bottom: 0px;
    }
    
    .section-6 .content-wrapper h2{
        margin-bottom: 5px;
        margin-top: 15px;
    }
    
    .section-2 .content-wrapper h1{
        margin-top: 5px;
    }
    
    .home .section-2 p.p2:nth-of-type(2){
        padding-bottom: 40px; 
    }
}


@media screen and (max-width: 500px){
    .home .entry-content .section-1 h1, .home .entry-content .section-3 h1, .home .entry-content .section-7 h1{
        font-size: 28px;
    }
}

@media screen and (min-width: 922px){
    .home .section-1 h1{
    margin-bottom: 0px;
    line-height: 1;
}
}

/*General slider blocks*/
.content-wrapper{
    display: flex;
    flex-wrap: wrap;
}

.content-row{
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
}

.img-wrapper{
    position: absolute;
    bottom: 0;
}

.img-wrapper.edge{
    right: 0;
}

.content-overlay{
    position: absolute;
    width: 100%;
    height: 100vh;
    min-height: 100%; 
    top: 0;
    left: 0;
    background-color: rgba(232, 255, 255, 0.65);
}

.flex-100{
    width: 100%;
}

.flex-30{
    width: 30%;
}

.flex-40{
    width: 40%;
}

.flex-50{
    width: 50%;
}

.flex-60{
    width: 60%;
}

.flex-70{
    width: 70%;
}

.flex-80{
    width: 80%;
}

.flex-35-right{
    margin-left: 35%;
}

.flex-50-right{
    margin-left: 50%;
}

.flex-padding-right{
    padding-right: 20px
}

.flex-padding-left{
    padding-left: 20px
}

.img-left{
  left: 15%;  
}

.img-right{
   right: 15%; 
}


.img-relative{
    margin: auto  0 auto 10%;
}

.float-right a{
    float: right;
}

/*Images*/

.full-image{
    margin: auto;
}

.section-2 .img-wrapper.mobile-only{
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    flex-grow: 1;
    position: relative;
}

@media screen and (max-width: 920px){
.flex-10, .flex-20, .flex-30, .flex-40, .flex-50, .flex-60, .flex-70, .flex-80{
    width: 100%;
    margin: 0px;
}
    
    
    
    .flex-padding-right{
        padding-right: 0px;
    }
    
    .section-2 .img-wrapper{
        bottom: auto;
        top: 0px;
    }

    
    .img-left{
        left: 0%;
    }
    
    .img-right{
        right: 0px;
    }
    
    .fp-section img.img-edge{
        right: 0;
        }
    
}

@media screen and (min-width: 921px){
    .content-wrapper>.flex-50:first-child{
        padding-right: 10px;
    }
}

/*Video*/
.fp-section #myVideo{
    position: absolute;
    right: 0;
    bottom: 0;
    top: 0;
    right: 0;
    width: 100%;
    height: auto;
    min-height: 100%;
    background-size: 100% 100%;
    background-color: black;
    background-position: 70% center;
    background-size: cover;
    object-fit: cover;
}

/*Slider controls*/
.fp-section .fp-controlArrow.fp-prev{
	border-width: 18px 18px 18px 0;
	right: 120px;
    left: auto;
    top: calc(100% - 35px);
    border-color: transparent rgba(12, 28, 73, 0.6) transparent transparent;
}

.fp-section .fp-controlArrow.fp-next{
	border-width: 18px 0 18px 18px;
	right: 95px;
    top: calc(100% - 35px);
    border-color: transparent transparent transparent rgba(12, 28, 73, 0.6);
}

.fp-section .fp-controlArrow.fp-prev:hover{
	border-color: transparent rgba(12, 28, 73, 1) transparent transparent;
}

.fp-section .fp-controlArrow.fp-next:hover{
    border-color: transparent transparent transparent rgba(12, 28, 73, 1);
}

/*Background colors and content alignment*/
.section-1 .fp-tableCell{
    background-color: #fff;
}


.section-2 .flex-60{
    margin: auto;
}


@media screen and (max-width: 920px){
 .section-2 .fp-tableCell .content-wrapper{
    background-color: white;
    width: 100%;
    padding: 20px;
    z-index: 1;
    margin-bottom: 35px;
}
    
    .section-2 .fp-tableCell .content-wrapper h1{
    margin-bottom: 2px;
}
    
     .section-6 .fp-tableCell .content-wrapper{
    padding-left: 20px;
    padding-right: 20px;
}
    
    .section-2 .fp-tableCell{
    vertical-align: bottom;
    display: flex;
    flex-direction: column;
}
    
}

@media screen and (min-width: 921px){
    .section-5 .content-wrapper{
        padding-top: 75px;
    }
    .section-1 .content-wrapper{
        padding-top: 50px;
    }
    
}

.section-5 .fp-tableCell{
    background-color: #f5ddd2;
}

.section-3 .fp-tableCell{
    background-color: #b3c7c7;
}

.section-6 .fp-tableCell{
    background-color: #b3c7c7;
}


/*GIF*/
.fp-section .gif-desktop{
	display: none;
	margin: auto;
    max-width: 100%
}

.fp-section .gif-mobile{
	margin: auto;
    max-width: 100%
}

@media screen and (min-width: 777px){
.fp-section .gif-desktop{
	display: block;
}	
.fp-section .gif-mobile{
	display: none;
}	
}

/*Specific sections*/

.img-bottom img{
    width: 100%;
}

/*5th elements*/
.svg-5th-elements-static svg:first-child{
    width: 400px;
    bottom: 0px;
    right: 0px;
    position: absolute;
    transform: rotate(180deg);
}

.svg-5th-elements-static svg:nth-child(2){
    width: 125px;
    top: 150px;
    right: 0px;
    position: absolute;
    transform: rotate(180deg);
}

.svg-5th-elements-static svg:nth-child(3){
    width: 125px;
}

.svg-5th-elements-static{
    position: absolute;
    top: 0;
    width: 100%; 
    height: 100%; 
}

.home .svg-5th-elements-static{
    bottom: 0;
    top: auto;
}

/*Lists*/
.flex-50 ul{
    margin: 0 0 1.5em 1.3em;
}

/*Responsive changes*/
.relative-text{
    position: relative;
}
.text-absolute{
    position: absolute;
    bottom: 0;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    width: 100%;
}

.relative-text .text-absolute h2{
    margin-bottom: 0px;
    font-size: 14px;
    color: white;
    text-transform: none !important;
    font-weight: 600;
}


.mobile-only{
    display: none;
}

@media screen and (max-width: 920px){
    .float-right{
        text-align: left;
        padding-top: 5px;
    }
    .float-right a{
        float: none;
    }
    .desktop-only{
        display: none;
    }
    .mobile-only{
        display: block;
    }
}

/*Culture book*/
.liquid-sub{
    position: absolute !important;
    bottom: -20px !important;
    left: 20px !important;
    transform: rotate(-7deg) !important;
    color: #fd472c !important;
    font-size: 100% !important;
}

@media screen and (min-width: 501px){
    .liquid-sub{
        font-size: 120% !important;
        left: 60px !important;
    }
}

@media screen and (min-width: 922px){
    .liquid-sub{
        font-size: 200% !important;
        bottom: -50px !important;
        left: 90px !important;
    } 
    .subheading-wl{
        padding-top: 50px;
    }
}