/***************************************************************************

GLOBAL

***************************************************************************/
h2, h3 {
    text-align: center;
}
.parallax-bg, .third-block, .fifth-block {
    background-position: center center;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
.second-block, .third-block, .fourth-block, .fifth-block, .sixth-block, .seventh-block, .contact-block {
    padding-top: 50px;
    padding-bottom: 70px;
}
.block-header .icon-link, .block-header .icon-header, .block-header .select-lang {
    background: #666;
}

.second-block .box, .third-block .box, .sixth-block .box {
    padding: 15px;
    max-width: 260px;
    margin-left: auto;
    margin-right: auto;
}
.second-block .box h3, .third-block .box h3 {
    min-height: 46px;
    vertical-align: middle;
}
.second-block .box p, .third-block .box p {
    min-height: 120px;
}
.third-block .title p, .fourth-block .title p {
    font-size: 24px;
    text-align: center;
    line-height: 80%;
}
.carousel .carousel-indicators {
    background-color: white;
    border-radius: 3px;
    position: relative;
    width: 70px;
    left: auto;
    margin-left: auto;
    margin-right: auto;
    z-index: 0;
}
.carousel .carousel-indicators li {
    border-color: #44B0DF;
    width: 13px;
    height: 13px;
    vertical-align: middle;
    border-width: 2px;
}
.carousel .carousel-indicators li.active {
    background-color: #44B0DF;
}
.embed-responsive.embed-responsive-16by9 {
    padding-bottom: 69.55%;
}
/***************************************************************************

First block

***************************************************************************/

.first-block {
    color: white;
    background-color: #555;
}
.first-block .bg-color-enable {
    background-color: transparent;
    /*background-color: rgba(15, 180, 241, 0.4);*/
    background-color: rgba(15, 180, 241, 0.6);
    color: white;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 5px;
    float: right;
    clear: right;
}
.first-block .bg-color-enable-orange {
    background-color: #f6aa48;
}
.navbar.affix-top .navbar-nav .link:hover .link-header, .navbar.affix-top .login-link:hover, .navbar.affix-top .search-link:hover {
    color: white;
    text-decoration: underline;
}
.first-block h1 {
    font-family: "latoblack";
    font-size: 1.5em;
    color: white;
}
.first-block h1 + p {
    font-size: 1em;
}
#first_paragraph, .first-block h2 {
    font-family: "latoblack";
    font-size: 4em;
    text-align: right;
    line-height: 155%;
    color: white;
}
.first-block p {
    text-align: right;
    font-size: 27px;
    color: white;
    margin-bottom: 50px;
}
.first-block .carousel .item {
    padding-top: 230px;
    padding-bottom: 100px;
}
.first-block .button {
    margin-top: 20px;
    margin-left: 38px;
}
#main {
    padding-top: 0;
}
.first-block .arrow, .sixth-block .arrow {
    display: block;
    border-radius: 3px;
    background-color: #EEE;
    background-color: rgba(0, 0, 0, 0.2);
    width: 51px;
    height: 51px;
    line-height: 51px;
    position: relative;
    text-align: center;
}
.first-block .carousel .first-item {
    background-image: url("/static/website/img/backgrounds/ubi-birthday-10-years.gif");
    background-position: center center;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-repeat: no-repeat;
}
.first-block .carousel .carousel-indicators {
    margin-top: 12px;
}
.first-block .carousel .arrow {
    top: -470px;
}
.first-block .carousel .arrow img, .sixth-block .carousel .arrow img {
    width: 25px;
    height: 25px;
}
.first-block .carousel .arrow-left {
    float: left;
}
.first-block .carousel .arrow-right {
    float: right;
}

/***************************************************************************

Second block

***************************************************************************/
.second-block {
    text-align: center;
}
.second-block img {
    width: 130px;
    height: 130px;
}
.second-block .button {
    margin-top: 70px;
}
.second-block .box {
    margin-top: 80px;
}
.second-block .box h3 {
    min-height: 46px;
}
.second-block .box p {
    min-height: 120px;
}
/***************************************************************************

Third block

***************************************************************************/

.third-block {
    background-color: #555;
    background-image: url("/static/website/img/backgrounds/blue_home.jpg?_=1");
    color: white;
}
.third-block h2 {
    margin-bottom: 54px;
}
.third-block h2, .third-block h3 {
    color: white;
}
.third-block hr {
    width: 288px;
    border-color: white;
    border-width: 3px;
    margin-top: 0px;
    margin-bottom: 54px;
}
.third-block .box {
    margin-top: 55px;
    text-align: center;
}
.third-block .box h3 {
    margin-top: 47px;
}
.third-block p {
    color: white;
}
.third-block .box img + img {
    position: absolute;
    margin-top: -130px;
    margin-left: 235px;
    width: 50px;
}
.third-block .box .arrow-white {
    margin-top: -95px;
}
.third-block .arrow-down {
    display: block;
    position: relative;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #FFF;
    margin-top: -50px;
    margin-left: auto;
    margin-right: auto;
}

/***************************************************************************

Fourth block

***************************************************************************/

.fourth-block .title {
    text-align: center;
}
.fourth-block .subtitle {
    margin-right: auto;
    margin-left: auto;
    display: inline-block;
}
.fourth-block hr + p {
    float: left;
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 14px;
}
.fourth-block hr {
    float: left;
    width: 145px;
    border-color: #44B0DF;
    border-width: 3px;
    margin-top: 22px;
}
.fourth-block .right-block img {
    float: left;
    margin-top: 20px;
    width: 29px;
    height: 29px;
    margin-left: 5px;
}
.fourth-block .right-block h3 {
    text-align: left;
}
.fourth-block .right-block h3, .fourth-block .right-block p {
    margin-left: 45px;
}
.fourth-block .button {
    margin-top: 30px;
}
.fourth-block .embed-responsive.embed-responsive-16by9 {
    margin-top: 10px;
}
/***************************************************************************

Fifth block

***************************************************************************/

.fifth-block {
    background-color: #555;
    background-image: url("/static/website/img/backgrounds/meeting.jpg");
    color: white;
    padding-top: 150px;
    padding-bottom: 150px;
}
.fifth-block h2, .fifth-block h3 {
    color: white;
}
.fifth-block .number {
    font-family: "latobold";
    font-size: 30px;
}
.fifth-block .numbers {
    padding-top: 30px;
    padding-bottom: 30px;
}

/***************************************************************************

Sixth block

***************************************************************************/
.sixth-block {
    padding-bottom: 25px;
}
.sixth-block h3 {
    color: #565656;
}
.sixth-block hr {
    width: 30px;
    border-color: #44B0DF;
    border-width: 2px;
    margin-top: 0px;
    margin-bottom: 0px;
}
.sixth-block .carousel {
    min-height: 320px;
}
.sixth-block .carousel .arrow {
    margin: 15px;
    position: absolute;
    top: 0px;
    background: none;
    color: #565656;
    font-size: 1.5em;
}
.sixth-block .carousel .arrow-left {
    left: 0;
}
.sixth-block .carousel .arrow-right {
    right: 0;
}
.sixth-block .carousel .carousel-indicators {
    margin-top: 40px;
    width: auto;
}
.sixth-block h2 {
    padding-bottom: 40px;
}
/***************************************************************************

7 block

***************************************************************************/
.seventh-block h2 {
    padding-bottom: 40px;
}
/***************************************************************************

Contact block

***************************************************************************/
#id_ask_docs li {
    display: block;
    margin-bottom: 10px;
    list-style-type: none;
}
.contact-block {
    background: #555 url("/static/website/img/backgrounds/maps.jpg?_=1");
    background-position: center center;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-repeat: no-repeat;
    color: white;
}
.contact-block h2 {
    color: white;
}
.contact-block textarea {
    height: 500px;
}
.contact-block .button-white {
    margin-top: 40px;
    margin-left: auto;
    margin-right: auto;
}
.contact-block input,
.contact-block textarea {
    background: transparent;
    color: white;
    font-family: "latoblack";
}
.contact-block input, .contact-block textarea {
    border: 3px solid #FFF;
}
.contact-block label {
    font-family: "latoblack";
    text-transform: uppercase;
    color: white;
}
.contact-block ul li {
    list-style-type: none;
}
.checkbox label {
    border: 2px solid #FFF;
}
.checkbox label:after {
    border-color: #fcfff4;
}
.timeline-header {
    display: none;
}
.checkbox {
    left: 275px;
}
@media (max-width: 768px) {
    .carousel .carousel-indicators {
        width: auto;
    }
    .first-block h1, .first-block h2 {
        font-size: 2.8em;
    }
    .first-block p {
        text-align: right;
        font-size: 1.5em;
        color: white;
        margin-bottom: 50px;
    }
    .first-block .carousel .item {
        padding-top: 59px;
        padding-bottom: 50px;
    }
    #main {
        padding-top: 59px;
    }
    .first-block .button {
        margin: 0;
        font-size: 0.8em;
    }
    .second-block .box p, .third-block .box p {
        min-height: 70px;
    }
    .second-block .box {
        margin-top: 10px;
    }
    .second-block .button {
        margin-top: 10px;
    }
    .third-block .box {
        margin-top: 10px;
    }
    .fourth-block hr {
        float: none;
        width: 100%;
    }
    .fourth-block hr + p {
        float: none;
    }
    .fourth-block .right-block {
        margin-top: 25px;
    }
    .fourth-block .right-block img {
        margin-left: 10px;
    }
    .fourth-block .right-block h3, .fourth-block .right-block p {
        margin-left: 55px;
    }
    .fifth-block {
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .seventh-block {
        padding-top: 15px;
    }
    .contact-block textarea {
        height: 300px;
    }
}
@media (max-width: 480px) {
    .carousel .carousel-indicators {
        width: auto;
    }
    .first-block h1, .first-block h2 {
        font-family: "latoblack";
        font-size: 1.4em;
        text-align: right;
        line-height: 155%;
    }
    .first-block p {
        text-align: right;
        font-size: 1.3em;
        color: white;
        margin-bottom: 50px;
    }
    .first-block .carousel .item {
        padding-top: 59px;
        padding-bottom: 50px;
    }
    #main {
        padding-top: 59px;
    }
    .first-block .button {
        margin: 0;
        font-size: 0.8em;
    }
    .second-block .box p, .third-block .box p {
        min-height: 50px;
    }
    .second-block .box {
        margin-top: 10px;
    }
    .second-block .button {
        margin-top: 10px;
    }
    .third-block .box {
        margin-top: 10px;
    }
    .fourth-block hr {
        float: none;
        width: 100%;
    }
    .fourth-block hr + p {
        float: none;
    }
    .fourth-block .right-block {
        margin-top: 25px;
    }
    .fourth-block .right-block img {
        margin-left: 10px;
    }
    .fourth-block .right-block h3, .fourth-block .right-block p {
        margin-left: 55px;
    }
    .fifth-block {
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .seventh-block {
        padding-top: 15px;
    }
    .contact-block textarea {
        height: 250px;
    }
}
