@font-face {
    font-family: 'AvenirLTStd';
    src: url('../fonts/AvenirNextLTPro-UltLtCn.otf') format('truetype');
    font-weight: lighter;
    font-style: normal;
}

@font-face {
    font-family: 'AvenirLTStd';
    src: url('../fonts/AvenirNextLTPro-Regular.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'AvenirLTStd';
    src: url('../fonts/AvenirNextLTPro-Demi.otf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

body{
    font-family: 'AvenirLTStd', 'Roboto', sans-serif;
    font-weight: normal;
    color: rgb(160,160,160);
}
::selection{
    /*opacity: .8;*/
    background: rgba(252,81,86,.7);
    color: #FFFFFF;
}
strong, b{
    font-size: bolder;
}
h1, h2, h3, h4{
    font-family: 'AvenirLTStd', 'Roboto', sans-serif;
    font-weight: normal;
}
a, a:hover, a:visited{
    text-decoration: none;
}
.red{
    color: #E82433;
}.lightred{
    color: #fc5156;
}

.col-md-4.col-sm-4.col-xs-7.text-right {
    padding-left: 0px;
    text-align: center;
}

#ref h3 {
    padding-left: 5%;
    padding-right: 5%;
}

#ref h5 {
    padding-left: 5%;
    padding-right: 5%;
}

header{
    /*width: calc(100% + 40px);*/
    width: 100%;
    /*background-color: #FC3840;*/
    /*background-image: url('../img/bg1.jpg');*/
}header.level{
    overflow: auto;
}
header img{
    z-index: 0;
    position: fixed;
    /*position: absolute;*/
    top: 0;
    left: 0;
    min-width: 100%;
    height: calc(100% + 40px);
    -moz-transition: all .25s ease-out;
    -webkit-transition: all .25s ease-out;
    -o-transition: all .25s ease-out;
    transition: all .25s ease-out;
}
header img.desktop{
    display: block;
}
header img.mobile{
    display: none;
}
header .container{
    position: absolute;
    /*bottom: 15%;*/
    /*left: 7%;*/
    bottom: 15%;
    color: #FFFFFF;
    -moz-transition: all .25s ease-out;
    -webkit-transition: all .25s ease-out;
    -o-transition: all .25s ease-out;
    transition: all .25s ease-out;
}
header h1{
    font-size: 75px;
    line-height: 65px;
    font-weight: normal;
    /*letter-spacing: 4px;*/
}header h1 b{
    font-weight: bold;
}
header .caption{
    font-size: 16px;
}
.level{
    z-index: 9;
    position: relative;
    overflow: hidden;
    /* keep as padding-top -> user by .js to center contents */
    padding-top: 40px;
    /*padding-bottom: 40px;*/
    /* keep as padding-top -> user by .js to center contents */
}
.level .upper{
    margin-bottom: 20px;
}
.level h2{
    font-size: 44px;
    margin-bottom: 30px;
}

.upper{
    position: relative;
    z-index: 4;
}
.upper h2{
    font-weight: normal;
}.upper h2 strong{
    font-weight: bold;
}
.upper .caption{
    width: 60%;
    margin: auto;
    font-size: 14px;
    text-align: center;
}
.lower{
    position: relative;
    z-index: 4;
    /*padding-bottom: 40px;*/
    padding-bottom: 0;
    margin-top: 40px;
}
.triangle_layer{
    width: 40px;
    background-color: transparent;
}
.triangle_layer{
    position: relative;
    z-index: 99;
    width: 100%;
    height: 25px;
}
.triangle{
    position: absolute;
    top: 0;
    left: calc(50% - 25px);
    width: 0px;
    height: 0;
    border-top: 25px solid transparent;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
}
.triangle_layer .wing.left{
    position: absolute;
    top: 0;
    left: 0;
    width: calc(50% - 25px);
    height: 100%;
}
.triangle_layer .wing.right{
    position: absolute;
    top: 0;
    right: 0;
    width: calc(50% - 25px);
    height: 100%;
}

.bottom_separator{
    position: relative;
    z-index: 99;
/*    position: absolute;
    bottom: 0;
    left: 0;*/
    width: 100%;
    height: 40px;
    background-color: #FFFFFF;
}
.bottom_separator .left-wing{
    position: absolute;
    top: 0;
    left: 0;
    width: calc(50% - 37px);
    height: 100%;
}
.bottom_separator .center{
    position: absolute;
    top: 0;
    left: calc(50% - 37px);
    width: 74px;
    height: 100%;
    background: transparent;
}.bottom_separator .center img{
    width: 100%;
}
.bottom_separator .right-wing{
    position: absolute;
    top: 0;
    right: 0;
    width: calc(50% - 37px);
    height: 100%;
}


header .bottom_separator{
    /*background-color: #FFFFFF;*/
}



#level1{
    background-color: #FFFFFF;
}
#level1 .card{
    /*overflow: hidden;*/
    padding: 40px 20px;
    padding: 0;
}
.card h3{
    margin-bottom: 40px;
    font-size: 14px;
}
.lower .caption{
    position: relative;
    overflow: hidden;
    padding: 30px 10px 40px 10px;
    font-size: 14px;
}

.good_old_way_animated_smiley,
.good_old_way_animated_line{
    -moz-transition: all 1s ease-out;
    -webkit-transition: all 1s ease-out;
    -o-transition: all 1s ease-out;
    transition: all 1s ease-out;
}
#level1 .svgObject.right,
#level1 .svgObject.left{
    position: relative;
    left: 0;
    top: 0;
    /*max-width: 100%;*/
    /*width: 100%;*/
    height: 250px;
    margin: auto;
    opacity: 1;
    /*max-height: 250px;*/
    /*height: 400px;*/
    -moz-transition: all 1s ease-out, opacity 1.4s ease-in;
    -webkit-transition: all 1s ease-out, opacity 1.4s ease-in;
    -o-transition: all 1s ease-out, opacity 1.4s ease-in;
    transition: all 1s ease-out, opacity 1.4s ease-in;
}
#level1.off .svgObject.left{
    left: -100%;
    opacity: 0;
}#level1.off .svgObject.right{
    left: 100%;
    opacity: 0;
}
#center_figure{
/*    -moz-transition: all 1s ease-out;
    -webkit-transition: all 1s ease-out;
    -o-transition: all 1s ease-out;
    transition: all 1s ease-out;*/
}
#level1 .caption{
    margin: auto;
    opacity: 1;
}
#level1 .caption.off{
    opacity: 0;
}
.caption_overlay{
    position: absolute;
    z-index: 9;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #FFFFFF;
    /*opacity: 1;*/
    -moz-transition: all 1.5s ease-out;
    -webkit-transition: all 1.5s ease-out;
    -o-transition: all 1.5s ease-out;
    transition: all 1.5s ease-out;
    -moz-transition-delay: 1s;
    -webkit-transition-delay: 1s;
    -o-transition-delay: 1s;
    transition-delay: 1s;
}.caption_overlay.kill{
    height: 0%;
    opacity: .5;
}



#level2{
    /*background-color: rgb(251,57,65);*/
    background-color: #E82433;
    color: #FFFFFF;
}
#level2_bg{
    position: absolute;
    z-index: 0;
    left: 5%;
    top: 0;
    width: 90%;
}
#level2 .lower .caption{
    padding: 20px 10px 40px 10px;
}
#level2 .lower h3{
    font-size: 50px;
}
#level2 .count{
    opacity: 0;
    -moz-transition: all .25s ease-out;
    -webkit-transition: all .25s ease-out;
    -o-transition: all .25s ease-out;
    transition: all .25s ease-out;
}



#level3{
    background-color: #FFFFFF;
}
#level3 .card{
    margin: 40px 0 0 0;
    -moz-transition: all 5s ease-in-out;
    -webkit-transition: all 5s ease-in-out;
    -o-transition: all 5s ease-in-out;
    transition: all 5s ease-in-out;
}
#level3 .lower .card .illustration{
    /*overflow: hidden;*/
    height: 210px;
    max-height: 250px;
    max-width: 50%;
    margin: 0 25%;
    opacity: 1
    -moz-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}#level3 .lower .card .illustration.small{
    max-width: 40%;
    margin-left: 30%;
    margin-right: 30%;
}#level3 .lower .card .illustration.large{
    position: relative;
    max-width: 100%;
    margin: 0;
}#level3 .lower .card .illustration.fade_{
    opacity: 0;
}
#svg_overlay{
    position: absolute;
    z-index: 999;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    border-radius: 50%;
    background-image: -webkit-radial-gradient(circle closest-side,rgba(255,255,255,0),rgba(255,255,255,1));
    background-image: -moz-radial-gradient(circle closest-side,rgba(255,255,255,0),rgba(255,255,255,1));
    background-image: -o-radial-gradient(circle closest-side,rgba(255,255,255,0),rgba(255,255,255,1));
    background-image: radial-gradient(circle closest-side,rgba(255,255,255,0),rgba(255,255,255,1));
}




#level4{
    background-color: #363636;
}
#level4 .upper h2{
    color: #FFFFFF;
}
#level4 .lower{
    padding-bottom: 60px;
}
#ref{
    position: relative;
    z-index: 9;
    display: inline-block;
    /*width: auto;*/
    /*margin: auto;*/
    padding: 0 20px;
}
#ref h3{
    position: relative;
    z-index: 9;
    margin-bottom: 0;
    font-size: 24px;
    font-weight: normal;
    letter-spacing: 2px;
    color: #FFFFFF;
}
#ref h5{
    position: relative;
    z-index: 9;
    float: right;
    margin: 0;
    margin-top: 16px;
    font-size: 18px;
    color: #FFFFFF;
}
#ref_bg{
    position: absolute;
    z-index: 8;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: left;
}
.client_box{
    height: 100px;
    margin: 30px 0;
    padding: 20px 10px;
}
.client_box .SVG_client{
    width: 100%;
    max-width: 200px;
}

footer{
    position: relative;
    z-index: 9;
    min-height: 200px;
    padding-bottom: 60px;
    background-color: #E82433;
    color: #FFFFFF;
    font-size: 16px
}
footer .custom_btn{
    margin: 40px 0 120px 0;
}footer .custom_btn:hover{
    border-color: rgba(255,255,255,.4);
}
.footer_row{
    margin-top: 40px;
    vertical-align: bottom;
}
.footer_row img{
    max-height: 40px;
}
.footer_row a, .footer_row a:hover, .footer_row:visited, .footer_row:active{
    text-decoration: none;
    color: #FFFFFF;
}
.footer_row a.underline:hover{
    text-decoration: underline;
}
.footer_row i{
    margin: 10px 10px 0 0 ;
}
#copyright{
    margin-top: 8px;
    color: #FECFCD;
}
#footer_logo{
    margin-top: 20px;
}


@media screen and (max-width: 1200px){
    
}
@media screen and (max-width: 991px){
    header h1{
        font-size: 50px;
        line-height: 60px;
        letter-spacing: 2px;
    }
    .level h2{
        margin-bottom: 20px;
    }
    .upper .caption{
        width: 75%;
        font-size: 14px;
    }
    #level1 .card{
        padding: 30px 15px;
        padding: 0;
    }
    #level1 .svgObject.left,
    #level1 .svgObject.right{
        height: 200px;
    }
    #level1 .caption{
        width: 100%;
        padding: 30px 10px;
    }
    #level2 .data_title h3{
        margin-bottom: 0;
    }
    #level3 .card{
        margin: 20px 0 0 0 ;
    }
}
@media screen and (max-width: 768px){
    .desktop_only{
        display: none;
    }
    header h1{
        font-size: 45px;
        line-height: 40px;
        letter-spacing: 1px;
    }
    header img.desktop{
        display: none;
    }
    header img.mobile{
        display: block;
        min-width: 100%;
        width: auto;
        height: 100%;
    }
    .upper, .level .upper{
        margin-bottom: 0;
    }
    .lower{
        /*padding-bottom: 80px;*/
        padding: 0 0 80px 0;
        padding: 0;
    }
    .upper .caption{
        width: 90%;
        padding: 30px 10px 10px 10px;
    }
    .lower .caption{
        padding: 20px 20px 20px 20px;
    }
    #level1 .card{}
    #level1 .svgObject.left,
    #level1 .svgObject.right{
        height: 175px;
    }
    #level1 .caption{
        width: 90%;
        padding: 30px 10px 30px 10px;
    }
    #level2 .lower h3{
        margin-top: 40px;
    }
    #level3 .lower .card .illustration{
        height: 150px;
        margin-bottom: 20px;
    }#level3 .lower .card .illustration.small{
        margin-bottom: 0;
    }#level3 .lower .card .illustration.large{
        margin-top: 20px;
        margin-bottom: 30px;
    }
    #level3 .lower .card{
        margin: 20px 0 20px 0;   
    }

    #ref{
        margin-top: 30px;
        padding: 15px 10px 30px 10px;
    }
    #ref h3{
        margin-bottom: 0;
        font-size: 16px;
        letter-spacing: 2px;
    }
    #ref h5{
        font-size: 13px;
    }
    .client_box{
        height: 100px;
        margin: 10px 0;
        padding: 20px 10px;
    }
    .client_box .SVG_client{
        max-width: 150px;
    }
    footer{
        font-size: 14px;
    }
    footer .custom_btn{
        margin: 30px 0 0 0;
    }
    #footer_logo{
        margin-top: 10px;
    }
}
@media screen and (max-width: 500px){
    #ref{
        margin-top: 20px;
        padding: 10px;
    }
    #ref h3{
        margin-bottom: 0;
        font-size: 15px;
        letter-spacing: 2px;
    }
    #ref h5{
        font-size: 12px;
    }
    .client_box .SVG_client{
        max-width: 120px;
    }
    footer a{
        /*display: block;*/
        margin-bottom: 4px;
    }
    footer a i{
        margin-bottom: 10px;
    }
}

