/**************************************************************************************************************/

/**************************************************************************************** RIGHT TO LEFT *******/

/**************************************************************************************************************/

.right-to-left {
    margin-bottom: 30px;
}

.right-to-left .caption {
    padding: 20px;
    border: 3px solid #ececec;
}

.right-to-left h3 {
    margin: 0 0 20px 0;
    text-transform: uppercase;
    font-weight: bold;
}

.right-to-left .right {
    float: right;
}

.right-to-left .left {
    float: left;
    text-align: right;
}

@media (max-width: 767px) {
    .right-to-left h3 {}
    .right-to-left .right {
        float: inherit;
    }
    .right-to-left .left {
        float: inherit;
        text-align: left;
    }
}


/**************************************************************************************************************/

/******************************************************************************************** section ********/

/**************************************************************************************************************/

section.parallax-bg {
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

section.normal-bg {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

/**************************************************************************************************************/

/******************************************************************************************** team box ********/

/**************************************************************************************************************/

#content .fw-team {
    margin-bottom: 30px;
}

#content .fw-team .fw-team-name h3 {
    font-size: 1.3em;
}

#content .fw-team .fw-team-name span {
    color: #f6712f;
}

#content .fw-team .fw-team-text {
    font-size: 0.9em;
    background: #f6712f;
    color: #fff;
    padding: 10px;
    -webkit-transition: all .6s;
    -moz-transition: all .6s;
    transition: all .6s;
}

#content .fw-team .fw-team-text:hover {
    background: #232a36;
}



#content .fw-team .fw-team-text p:last-child {
    margin: 0;
}


/**************************************************************************************************************/

/******************************************************************************************** hover box *******/

/**************************************************************************************************************/

.hover-box {
    text-align: center;
    position: relative;
    margin-bottom: 0;
    min-height: 240px;
    background: #ffffff;
    background-size: cover;
    background-position: center center;
}

.hover-box-caption .hover-box-caption-text {
    position: absolute;
    top: 50%;
    width: 100%;
    text-align: center;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    padding: 20px 15px;
    cursor: pointer;
    line-height: 1.2em;
}

.hover-box-caption .hover-box-caption-text p {
    margin: 0;
}

.hover-box h3 {
    margin: 0;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1.3em;
    letter-spacing: 1px;
    color: #fff;
}


.hover-box .hover-box-caption {
    display: block;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    color: #fff;
    opacity: 0;
    -webkit-transition: all .6s;
    -moz-transition: all .6s;
    transition: all .6s;
}

.hover-box:hover .hover-box-caption {
    opacity: 0.8;
}

.nakladka {
    background: rgba(21, 54, 89, 0.35);
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
}


/**************************************************************************************************************/

/******************************************************************************************** hover box *******/

/**************************************************************************************************************/

.team-hover-box {
    text-align: center;
    position: relative;
    margin-bottom: 0;
    min-height: 360px;
    background: #ffffff;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    margin-bottom: 30px;
}

.team-hover-box-caption .team-hover-box-caption-text {
    position: absolute;
    top: 50%;
    width: 100%;
    text-align: center;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    padding: 20px 15px;
    cursor: pointer;
    line-height: 1.2em;
}

.team-hover-box-caption .team-hover-box-caption-text p {
    margin: 0;
    color: #fff;
}

.team-hover-box h3 {
    margin: 0;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1.3em;
    letter-spacing: 1px;
    color: #fff;
}


.team-hover-box .team-hover-box-caption {
    display: block;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    color: #fff;
    opacity: 0;
    -webkit-transition: all .6s;
    -moz-transition: all .6s;
    transition: all .6s;
    background: rgba(0, 44, 95, 0.5);
}

.team-hover-box:hover .team-hover-box-caption {
    opacity: 0.8;
}


.team-hover-box-caption-text .links {
    margin-top: 15px;
}

.team-hover-box-caption-text .links a {
    font-size: 16px;
    color: #232a36;
}

.team-hover-box-caption-text .links a i {
    padding: 5px;
    line-height: 26px;
    width: 36px;
    height: 36px;
    text-align: center;
    background: #fff;
    border-radius: 20px;
}

.team-hover-box .nakladka {
    background: rgba(35, 42, 55, 0.6)
}


/**************************************************************************************************************/

/******************************************************************************************** THUMBNAIL *******/

/**************************************************************************************************************/


.thumbnail {
    margin-bottom: 40px;
    padding: 0;
    border: none;
    border-radius: 0;
}

.thumbnail .img-box {
    overflow: hidden;
}

.thumbnail img {
    -webkit-transition: all 0.8s ease 0s;
    -moz-transition: all 0.8s ease 0s;
    -ms-transition: all 0.8s ease 0s;
    -o-transition: all 0.8s ease 0s;
    transition: all 0.8s ease 0s;
    object-fit: cover;
}

.thumbnail img:hover {
    -webkit-transform: scale(1.15);
    -ms-transform: scale(1.15);
    transform: scale(1.15);
}

.thumbnail h3 {
    font-size: 1.3em;
    margin: 10px 0 15px;
}

.thumbnail .caption {
    
}


.thumbnail-read-more a {
    background: transparent;
    border-radius: 3px;
    font-weight: 400;
    padding: 6px 30px;
    color: #00305d;
    border: 1px solid;
    font-size: 90%;
    margin-bottom: 15px;
    display: inline-block;
}



/**************************************************************************************************************/

/******************************************************************************************** Flat Icon *******/

/**************************************************************************************************************/



.flat-thumbnail{
    text-align: center;
    background: none;
    border: none;
}

.flat-thumbnail h3 {
    margin: 0 0 20px;
}

.flat-thumbnail .glyph-icon {
    display: inline-block;
    padding: 20px;
}
    
.flat-thumbnail .glyph-icon:before {
    font-size: 2.8em;
    color: #fff;
    background: #00305d;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin: 0;
    display: block;
}

.flat-read-more a {
    background: transparent;
    border-radius: 3px;
    font-weight: 400;
    padding: 6px 30px;
    color: #00305d;
    border: 1px solid;
    font-size: 90%;
    margin-bottom: 15px;
    display: inline-block;
}

/**************************************************************************************************************/

/******************************************************************************************** Jumbotron *******/

/**************************************************************************************************************/

.jumbotron {
    padding: 40px;
    background-repeat: no-repeat;
    background-size: cover;
}


/**************************************************************************************************************/

/**************************************************************************************** SCROLL BUTTON *******/

/**************************************************************************************************************/

.scroll-down-btn-section {
    text-align: center;
}

.scroll-down i {
    font-size: 3em;
    color: #ddd;
    transition: .35s ease-in-out;
}

.scroll-down i:hover {
    color: #000;
}

.scroll-down i {
    color: #fff;
}

.scroll-down i:hover {
    color: #000;
}



/**************************************************************************************************************/

/****************************************************************************************** TEXT SLIDER *******/

/**************************************************************************************************************/

.text-slider {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.text-slider-caption h2 {
    -webkit-animation: bounceInUp 1.5s;
    animation: fadeInUp 1.5s;
}

#text-slider .carousel-indicators li {
    border-radius: 0;
}

.carousel-indicators {
    bottom: 0;
    margin-bottom: 10px;
}

.text-slider-caption {
    padding: 80px 5%;
    background: rgba(0, 0, 0, 0.4);
}
