/*
Template Name: Start Page
*/

/* COVER MEDIA */

.video {
    position: relative;
    width: 100%;
}

.video-item {
	width: 100%;
	height: auto;
	z-index:0;
}

.photo {
    position: relative;
    width: 100%;
}

.photo-item {
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 50vh;
    min-height: 100%;
}

.text-in-media {
    color: #fff;
	font-family: ikano_sansbold;
	text-align: center;
	position: absolute;
    top: 50%;
	z-index: 1;
    transform: translate(0,-50%);
    user-select: none;
}
.text-in-media h1 {
    font-size: 1.75rem;
    line-height: 2rem;
}


.text-in-media-startpage {
    color: #fff;
    font-family: ikano_sansbold;
    text-align: center;
    position: absolute;
    top: 50%;
    z-index: 1;
    transform: translate(0,-50%);
    user-select: none;
}
.text-in-media-startpage h1{
    font-size: 3.25rem;
    line-height: 3.75rem;
}

    @media (max-width: 480px) {
        .video {
            position: relative;
            width: 100%;
            margin-top: 80px;
            margin-bottom: -10px;
        }
        .text-in-media-startpage h1 {
            font-size: 2rem;
            line-height: 2.3125rem;
        }
    }


    @media (min-width: 480px) {
        .text-in-media h1 {
            font-size: 2rem;
            line-height: 2.3125rem;
        }

        .video {
            position: relative;
            width: 100%;
            margin-top: 51px;
            margin-bottom: -10px;
        }

        .text-in-media-startpage h1 {
            font-size: 2rem;
            line-height: 2.3125rem;
        }
    }

    @media (min-width: 769px) {
        .text-in-media h1 {
            font-size: 2.5rem;
            line-height: 2.875rem;
        }
        .text-in-media-startpage h1 {
            font-size: 2.5rem;
            line-height: 2.875rem;
        }
    }

    @media (min-width: 1092px) {
        .text-in-media h1 {
            font-size: 3.25rem;
            line-height: 3.75rem;
        }
        .text-in-media-startpage h1 {
            font-size: 3.25rem;
            line-height: 3.75rem;
        }
    }
    /* TAB SECTION */
    .tab-section {
        background-color: #f8f7f6;
        padding-bottom: 12px;
    }

.nav-tabs {
    border-bottom: none;
    padding-top: 15px;
}

.nav-justified .nav-item {
    position: relative;
    color: #c4bfb7;
    border-left: 1px solid #ebeae9;
    border-radius: 0;
    min-width: 58px;
    padding-left: 0;
    padding-right: 0;
    padding-top: 15px;
    padding-bottom: 15px;
}

.nav-justified .nav-item:hover {
    border: none;
    border-left: 1px solid #ebeae9;
    text-decoration: none;
}

.nav-justified .nav-item.active {
    background-color: #fcbd31;
    color: #fff;
    border-color: transparent;
}

.nav-justified .nav-item:first-child {
    border-left: none;
}

.nav-justified .nav-item.active:not(.empty)::after {
    content: ' ';
    position: absolute;
    border: solid 10px transparent;
    border-top: solid 0px transparent;
    border-width: 10px;
    top: 100%;
    left: 50%;
    margin-left: -10px;
    border-color: #fcbd31 transparent transparent;
}

.tab-content {
    padding-top: 20px;
}

.header {
    margin-bottom: 10px;
}

.ingress {
    color: #f38230;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.tab-link {
    margin-bottom: 16px;
}

.countries {
    padding-top: 50px;
}

.list-group-item {
    font-family: ikano_sansbold;
    background-color: transparent;
    border: 0px;
}

.flag {
    position: relative;
    top: -1.5px;
    margin-right: 5px;
    height: 18px;
    width: 28px;
}

.cml-group {
    margin-bottom: 16px;
}

/* CONTENT SECTION */

.content-section .row:nth-child(even) {
    background-color: #f8f7f6;
}

.content-section .row:nth-child(odd) {
    background-color: #fff;
}

.background {
    max-height: 551px;
}



.two-boxes-aside {
    
    padding-bottom: 30px;
    padding-top: 30px;
    
    background-size: cover;
    background-repeat: no-repeat;
     min-height: 30vh;
}

.left-box-content {
    padding-bottom: 16px;
}

.right-box-content {
    padding-bottom: 16px;
}

.left-box-content:first-child {
    padding-top: 16px;
}

.right-box-content:first-child {
    padding-top: 16px;
}

.left-box-content > * {
    margin: 0;
}

.right-box-content > * {
    margin: 0;
}

.picture-in-content {
    max-width: 400px;
}

.text-content-start p img{
    max-width: 100%;
    height: auto;
}

.startpage-news-box-img img{
    max-width: 100%;
    height: auto;
}
.startpage-news-box-text p{
    font-family: ikano_sanslight,Arial,sans-serif;
    font-size: 16px;
    color: #34353a;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5rem;
}

.startpage-news-box-text strong{
    font-family: ikano_sanslight,Arial,sans-serif !important;
    font-size: 16px;
    color: #34353a;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5rem;
}

/* MEDIA QUERIES */

@media (max-width: 575px) {
    
    .text-content-start p img{
     max-width: 315px;
     max-height: 185px;
    }

    iframe{
        max-width: 315px;
        max-height: 185px;
    }

    .nav-item {
        font-size: .75rem;
    }

    .header {
        font-size: 1.75rem;
    }

    .ingress {
        font-size: .75rem;
    }

    .countries {
        padding-top: 0px;
    }

    .picture-in-content {
        max-width: calc(100vw - 47px);
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .nav-item {
        font-size: .875rem;
    }

    .header {
        font-size: 2.25rem;
    }

    .ingress {
        font-size: .75rem;
    }

    .countries {
        padding-top: 0px;
    }

    .picture-in-content {
        max-width: calc(100vw - 47px);
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .nav-item {
        font-size: 1rem;
    }

    .header {
        font-size: 2.25rem;
    }

    .ingress {
        font-size: .75rem;
    }

    .picture-in-content {
        max-width: calc(50vw - 38.5px);
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .header {
        font-size: 2.25rem;
    }

    .ingress {
        font-size: .875rem;
    }

    .picture-in-content {
        max-width: calc(50vw - 38.5px);
    }
}

@media (min-width: 1200px) {
    .nav-tabs {
        padding: 20px calc(50vw - ((1200px/2) + 7.5px - 20px)) 0;
    }

    .tab-content {
        padding: 20px calc(50vw - ((1200px/2) + 7.5px - 20px)) 0;
    }

    .left-box-content {
        padding-left: calc((50vw - ((1200px/2) + 7.5px - 20px)) + 15px);
    }

    .right-box-content {
        padding-right: calc((50vw - ((1200px/2) + 7.5px - 20px)) + 15px);
    }

    .header {
        font-size: 2.25rem;
    }

    .ingress {
        font-size: .875rem;
    }

    .picture-in-content {
        max-width: 550px;
    }
}