/*
 * Start Bootstrap - One Page Wonder (http://startbootstrap.com/)
 * Copyright 2013-2016 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
 */

body {
    margin-top: 0px; /* Required padding for .navbar-fixed-top. Remove if using .navbar-static-top. Change if height of navigation changes. */
    font-family: 'Ubuntu', sans-serif;
}

/*Navigation*/
.navbar-inverse {
    background-color: #0d1322;
    border-color: #0d1322;
}
.navbar {
    position: relative;
    min-height: 200px;
    margin-bottom: 4px;
    border: 1px solid transparent;
}
.navbar-brand {
    background: url('../img/logo.png') center;
    background-size: contain;
    background-repeat: no-repeat;
    width: 380px;
    transform: translateX(-50%);
    -ms-transform: translateX(-50%); /* IE 9 */
    -webkit-transform: translateX(-50%); /* Safari */
    left: 50%;
    position: absolute;
    padding: 50px;
    margin-top: 40px;
}

.navbar>.container .navbar-brand, .navbar>.container-fluid .navbar-brand{
    margin-left: 0;
}
.header-image {
    display: block;
    width: 100%;
    text-align: center;
    background: url('../img/hero-image.png') no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
    margin-bottom: 78px;
}

.headline {
    padding: 120px 0 20px;
}

.headline h1 {
    font-size: 40px;
    color: #fff;
    text-shadow: 7px 7px 7px rgba(0,0,0,0.75);
}

.headline h2 {
    font-size: 77px;
    background: #fff;
    background: rgba(255,255,255,0.9);
}
.headline img{
    margin-top: 100px;
}
.headline img:hover{
    opacity: 0.8;
}
.srcroll-button:hover #to-down {
    -webkit-transform:scale(1);
    transform:scale(1);
}
.srcroll-button {
    overflow:hidden;
    width:200px;
    height:150px;
}
#to-down {
    -webkit-transform:scale(1.3);
    transform:scale(1.3);
    -webkit-transition: all 0.7s ease;
    transition: all 0.7s ease;
}
#to-down{
    width: 50px;
    cursor: pointer;
}

.featurette-divider {
    margin: 0 0 80px 0;
}

/*Panels*/

.equal, .equal > div[class*='col-'] {  
    display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */
    flex:1 1 auto;
    padding: 0 17px;
}
.hover-panel-container:hover .custom-panel {
    -webkit-transform:scale(1.1);
    transform:scale(1.1);
}
.hover-panel-container {
    overflow:hidden;
}
.custom-panel {
    -webkit-transform:scale(1);
    transform:scale(1);
    -webkit-transition: all 0.7s ease;
    transition: all 0.7s ease;
}

/*.panel{
    color: #0f1523;
    border: 4px solid #0f1523;
    border-radius: 40px;
    -webkit-box-shadow: 3px 3px 3px rgba(0,0,0,.5);
    box-shadow: 3px 3px 3px rgba(0,0,0,.5);
}*/
.panel{
    margin-bottom: 20px;
}
.custom-panel{
    color: #0f1523;
    border: 4px solid #0f1523;
    border-radius: 40px;
    -webkit-box-shadow: 3px 3px 3px rgba(0,0,0,.3),
        -3px -3px 3px rgba(0,0,0,.3),
        -3px 3px 3px rgba(0,0,0,.3),
        3px -3px 3px rgba(0,0,0,.3);
    box-shadow: 3px 3px 3px rgba(0,0,0,.3),
        -3px -3px 3px rgba(0,0,0,.3),
        -3px 3px 3px rgba(0,0,0,.3),
        3px -3px 3px rgba(0,0,0,.3);
    font-size: 16px;
    margin: 30px 5px;
}
.custom-panel:hover, .custom-panel:focus, .custom-panel:active{
    color: #fff;
    background-color: #0f1523;
    border-color:#fff;
}
.custom-panel>.panel-heading {
    background-color: transparent;
    border-bottom: 4px solid;
    border-color: inherit;
    padding: 20px;
    color: inherit;
}
.custom-panel>.panel-heading>.panel-title {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 48px;
}
.panel-body{
    padding: 25px;
}
.panel-body p{
    /*font-size: 16px;*/
    text-align: left;
}

/*Carousel*/
.carousel-holder {
    margin-top: 60px;
    margin-bottom: 96px;
}
.carousel {
    position: relative;
}
.carousel-indicators {
    position: absolute;
    bottom: -50px;
    left: 50%;
    z-index: 15;
    width: 60%;
    padding-left: 0;
    margin-left: -30%;
    text-align: center;
    list-style: none;
}

.carousel-indicators li {
    display: inline-block;
    width: 18px;
    height: 16px;
    margin: 1px;
    text-indent: -999px;
    cursor: pointer;
    background-color: #000\9;
    background-color: rgba(0,0,0,0);
    border: 3px solid #a9b0b4;
    border-radius: 6px;
}
.carousel-indicators .active {
    width: 20px;
    height: 18px;
    margin: 0;
    background-color: #fff;
    border-color: #0f1523;
    -webkit-box-shadow: 2px 2px 2px rgba(0,0,0,.3);
    box-shadow: 2px 2px 2px rgba(0,0,0,.3);
}
ol, ul {
    margin-top: 0;
    margin-bottom: 10px;
}

.carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.carousel-control.left {
    background-image: none;
    background-image: none;
    background-repeat: no-repeat;
}
.carousel-control.right {
    right: 0;
    left: auto;
    background-image: none;
    background-repeat: no-repeat;
}
.featurette {
    overflow: hidden;
}

.featurette-image.pull-left {
    margin-right: 40px;
}

.featurette-image.pull-right {
    margin-left: 40px;
}

.featurette-heading {
    font-size: 50px;
}

footer {
    margin: 0;
}
#footer{
    background-color: #0d1322;
    color: #fff;
    padding: 20px;
}
#footer a{
    color: #fff;
}
#footer a:hover{
    color: #337ab7;
}

@media(max-width:1200px) {
    .headline h1 {
        font-size: 38px;
    }

    .headline h2 {
        font-size: 63px;
    }

    .featurette-divider {
        margin: 50px 0;
    }

    .featurette-image.pull-left {
        margin-right: 20px;
    }

    .featurette-image.pull-right {
        margin-left: 20px;
    }

    .featurette-heading {
        font-size: 35px;
    }

}
@media(max-width:1023px) {
    .hover-panel-container:hover .custom-panel {
        -webkit-transform:scale(1);
        transform:scale(1);
    }
}

@media(max-width:991px) {
    .headline h1 {
        font-size: 32px;
    }

    .headline h2 {
        font-size: 50px;
    }

    .featurette-divider {
        margin: 40px 0;
    }

    .featurette-image {
        max-width: 50%;
    }

    .featurette-image.pull-left {
        margin-right: 10px;
    }

    .featurette-image.pull-right {
        margin-left: 10px;
    }

    .featurette-heading {
        font-size: 30px;
    }
    .equal, .equal > div[class*='col-'] {  
        display: block;
    }
    .email-info{
        margin-bottom: 10px;
    }
}

@media(max-width:768px) {
    .container {
        padding: 0 50px;
    }
    .headline h1 {
        font-size: 30px;
    }

    .featurette-divider {
        margin: 40px 0;
    }

    .featurette-heading {
        font-size: 25px;
    }
}

@media(max-width:668px) {
    .headline h1 {
        font-size: 24px;
    }

    .headline h2 {
        font-size: 32px;
    }

    .featurette-divider {
        margin: 30px 0;
    }
}

@media(max-width:640px) {
    .headline {
        padding: 75px 0 25px 0;
    }

    .headline h1 {
        /*        font-size: 60px;*/
    }

    .headline h2 {
        font-size: 30px;
    }
}
@media(max-width:480px) {
    .header-image{
        margin-bottom: 40px;
    }
}

@media(max-width:375px) {
    .headline h1 {
        font-size: 20px;
    }
    .featurette-divider {
        margin: 10px 0;
    }

    .featurette-image {
        max-width: 100%;
    }

    .featurette-image.pull-left {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .featurette-image.pull-right {
        margin-bottom: 10px;
        margin-left: 0;
    }
    .custom-panel{
        font-size: 12px;
    }
    #footer p{
        font-size: 12px;
    }
}
@media(max-width:320px) {
    .navbar-brand {
        background: url(../img/logo.png) center / contain no-repeat;
        width: 300px;
        transform: translateX(-50%);
        left: 50%;
        position: absolute;
        padding: 50px;
        margin-top: 40px;
    }
}