/************************************
 To overwrite css properties, uncomment/edit them.
 If you decide to change the size of elements,
 please keep in mind both mobile and desktop layouts (media queries)
************************************/

/*******************************
            Top Banner
*******************************/
.body .banner .banner-overlay {
    /*background-color: rgba(0, 0, 0, 0.5);*/
}
.body .banner h1 {
    /*color: #fff;*/
    /*text-shadow: 2px 2px 8px #000000;*/
}
.body #section-bar {
    /*background-color: #000;*/
    /*color: #fff;*/
}
.body #progress-bar {
    /*padding: 0;*/
    /*border-bottom: 1px solid #fff;*/
}
.body .progress-bar {
    /*background-color: #EC5D2F;*/
}


/*******************************
            Footer
*******************************/
nav .footer .footer-text {
    /*color: #ffffff;*/
    /*background-color: #DA5124;*/
}
nav .footer .footer-text a {
    /*color: #fff;*/
}
nav .footer .nav-control button {
    /*border-top: 1px solid #EC5D2F;*/
    /*background-color: #EC5D2F;*/
    /*color: #FFF;*/
}
nav .footer .nav-control button.active i,
nav .footer .nav-control button:active i {
    /*color: #393939;*/
}
nav.navbar-fixed-bottom {
    /*background-color: #ec5d2f;*/
}
@media (min-width: 768px) {
    nav.navbar-fixed-bottom {
        /*background-color: #f1f1f1;*/
    }
    nav .footer button.footer-button {
        /*background-color: #ffffff;*/
        /*color: #EC5D2F;*/
        /*border: 1px solid #fff;*/
    }

    nav .footer button.footer-button:hover {
        /*background-color: #EC5D2F;*/
        /*background-image: none;*/
        /*color: #FFFFFF;*/
    }
}

/************************************
        Custom question CSS rules

It is not recommended to edit this part.
*************************************/
.body .banner {
	height: 120px;
	position: relative;
    background-size: cover;
    background-position: center center;
}

.banner .banner-overlay {
	position: absolute;
	width: 100%;
	top: 0;
	bottom: 0;
}

.body .banner h1 {
    margin: 38px 0 0;
    padding: 0;
    font-weight: 400;
    font-size: 1.5em;
}

.body .banner h1 span {
	line-height: 40px;
}

.body .banner h1 img {
	height: 40px;
    margin-right: 10px;
}

#page-content {
    margin-bottom: 90px;
}

#questions section {
    width: 100%;
    margin-bottom: 0px;
    padding-top: 40px;
    position: relative;
}

#questions section:last-child {
    padding-bottom: 50px;
}


.navbar-fixed-bottom {
	border: 0;
    min-height: 0px;
}

.navbar-fixed-bottom .container {
	padding: 0;
}

#section-bar {
    font-size: 0.9em;
    height: 30px;
    line-height: 30px;
}

#section-bar.fixed {
	position: fixed;
    top: 0;
    z-index: 999;
    max-width: 1170px;
}

#progress-bar {
	padding: 0;
}

#progress-bar.fixed {
	position: fixed;
    top: 30px;
    z-index: 999;
    max-width: 1170px;
}

/* hide back button */
.footer.no-back-button .nav-control-back {
	display: none !important;
}

.footer-mobile.no-back-button .nav-control-next {
	width: 100%;
}

#overlay-passing-top{
    position: fixed;
    top:0px;
    height: 60px;
    width: 100%;
    left: 0;
    background: #cacaca;
    background: linear-gradient(to top, rgba(23, 23, 23, 0) 0%, rgba(23, 23, 23, 0.05) 100%);
}

#overlay-passing-bottom{
    position: fixed;
    bottom:0px;
    height: 60px;
    width: 100%;
    left: 0;
    background: #cacaca;
    background: linear-gradient(to bottom, rgba(23, 23, 23, 0) 0%, rgba(23, 23, 23, 0.05) 100%);
}

@media (min-width: 768px) {
    #progress-bar.fixed,
    #section-bar.fixed {
       max-width: 750px;
    }

    #overlay-passing-top,
    #overlay-passing-bottom{
        display:none;
    }

}

@media (min-width: 992px) {
    #progress-bar.fixed,
    #section-bar.fixed {
       max-width: 970px;
    }
}

@media (min-width: 1200px) {
	#progress-bar.fixed,
    #section-bar.fixed {
       max-width: 1170px;
    }
}

.progress {
    border-radius: 0;
    height: 8px;
    margin: 0;
}

.footer {
    padding: 0;
    margin: 0;
}

.footer .nav-control {
	padding: 0;
	margin: 0;
}

.footer .footer-text {
    font-size: 0.8em;
    font-weight: 100;
    width: 100%;
    padding: 0 15px;
}


.footer .footer-text P {
	margin: 5px 0;
	text-align: center;
}

.footer .nav-control button {
	padding: 18px 0;
    border-radius: 0;
    border: 0;
    font-weight: 600;
    font-size: 1.8em;
    line-height: 1.2em;
    outline: none;
    outline: none !important;
}

.btn.active, .btn:active {
    box-shadow: inset 0 5px 10px rgba(0,0,0,.125);
    box-shadow: none;
}

/** --- Media  -- */
@media (min-width:768px) {
    .footer .footer-text {
	   padding: 15px;
	}
	
	.footer .footer-text p {
	   text-align: left;
	   display: inline;
	   margin-left: 20px;
       line-height: 48px;
	}

    .footer button.footer-button {
        height: 48px;
        width: 85px;
        font-size: 18px;
        font-weight: bold;
        margin-left: 5px;
    }
    .footer button.footer-button.nav-control-next i{
        font-size: 14px;
        position: relative;
        right: -8px;
        top: -2px;
    }

    .footer button.footer-button.nav-control-back i{
        font-size: 14px;
        position: relative;
        right: 8px;
        top: -2px;

    }

    .body .banner h1 {
       font-size: 2.1em;
       margin-top: 25px;
    }
    
    .body .banner h1 img {
       height: 70px;
    }

    .body .banner h1 img {
        height: 55px;
    }

    .footer .footer-text {
        padding: 5px;
    }

    .body .banner {
        height: 100px;
    }
}

@media (min-width:1200px) {

    .body .banner h1 {
        font-size: 25px;
        margin-top: 25px;
    }
}

@media (max-height:410px) {
    .body .banner {
        height: 60px;
    }
    .body .banner h1 {
        margin: 10px 0 0;
    }

    .footer .nav-control button {
        padding: 10px 0;
    }
}
