/* 
    Created on : 29.6.2015, 13:16:10
    Author     : Jakub
*/

html { height: 100%; overflow:auto; }
body { height: 100%; }

p {
    line-height: 35px;
}

section {
    margin-top: 25px;
}

.row-collapse {
    margin: 0;
    padding: 1px 0 0 1px;
}

.row-collapse > div {
    padding: 0px;
    margin: -1px 0 0 -1px;
}

.bg-light {
    background: #F7F7F7;
}

.title-secondary {
    color: black;
    padding-left: 40px;
}

.title-secondary::after {
    top: 2px;
    left: 0px;
}

/* ============== FONTS =============== */

@font-face {
    font-family: "Brandon Grotesque";
    src: url("../fonts/Brandon_Grotesque/Brandon_bld.otf");
    font-weight: 700;
}

@font-face {
    font-family: "Brandon Grotesque";
    src: url("../fonts/Brandon_Grotesque/Brandon_med.otf");
    font-weight: 500;
}

@font-face {
    font-family: "Brandon Grotesque";
    src: url("../fonts/Brandon_Grotesque/Brandon_reg.otf");
    font-weight: 400;
}

@font-face {
    font-family: "Brandon Grotesque";
    src: url("../fonts/Brandon_Grotesque/Brandon_light.otf");
    font-weight: 300;
}

/* ============== HEADER =============== */

header {
    position: relative;
}

header:not(.menu-fixed) .header-content {
    position: relative;
    z-index: 1;
}

@media(max-width: 991px) {
    
    header.menu-fixed .header-content {
        position: relative;
        z-index: 1;
    }
    
    .header-content {
        top: -125px;
    }
    
}

.header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.main-header {
    height: 100%;
    overflow: hidden;
    min-height: 650px;
}

@media(max-width: 400px) {
    
    .main-header {
        min-height: 700px;
    }
    
}

.secondary-header .header-content {
    position: relative;
    padding-top: 125px;
    background: url(../img/secondary-header.jpg) center center no-repeat;
}

@media(max-width: 991px) {
    
    .secondary-header {
        margin-bottom: -125px;
    }
    
    .secondary-header .header-content {
        padding-top: 100px;
    }
    
}


.secondary-header .header-content h1 {
    color: white;
    margin: 0;
    padding: 0;
    height: 140px;
    line-height: 140px;
}

/* ======= MENU ======== */

.navbar-default:not(.navbar-fixed-top), .menu-fixed .navbar-default:not(.navbar-fixed-top) {
    position: relative;
    z-index: 2;
    border-color: white;
    border-bottom: 1px solid #412A56;
}

.navbar-brand {
    padding: 31px 20px 41px 10px;
}

.navbar-nav {
    font-size: 19px;
    font-weight: 500;
}

@media(max-width: 991px) {
    
    .navbar-nav {
        margin: 0 -15px;
    }
    
    .navbar-default {
        min-height: 105px;
    }
    
    .navbar-brand {
        height: 105px;
        padding: 21px 20px 31px 10px;
    }
    
}

@media(max-width: 767px) {
    
    .navbar-nav {
        margin: 0 -15px;
    }
    
    .navbar-default {
        min-height: 85px;
    }
    
    .navbar-brand {
        height: 85px;
        padding: 11px 20px 21px 10px;
    }
    
    .navbar-toggle {
        margin: 12px 10px 13px 0 !important;
    }
    
}

.menu-item a::after {
    display: none;
}

li.active .menu-item a, li:not(.lang) .menu-item a:hover {
    font-weight: 700;    
}

li.active .menu-item a::after, li:not(.lang) .menu-item a:hover::after  {
    display: block;
    top: 2px;
    left: -16px;
}

.navbar-default {
    -webkit-transition: all .4s;
    -moz-transition: all .4s;
    -o-transition: all .4s;
    transition: all .4s;
}

header.menu-fixed .navbar-default {
    background: white;
    border-color: #412A56;
}

@media(max-width: 991px) {
 
    .navbar-default {
        background: white;
        border-color: #412A56;
    }
    
}

.navbar-toggle {
    border-color: #402D55 !important;
    background: none !important;
    margin: 22px 10px 23px 0;
}

.navbar-toggle .icon-bar {
    background: #412A56 !important;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.navbar-toggle:hover .icon-bar, .navbar-toggle:focus .icon-bar, .navbar-toggle:active .icon-bar {
    background: white !important;
}

@media(max-width: 1349px) {
    
    .navbar-nav .menu-item {
        padding-left: 60px;
    }
    
}

.menu-item {
    height: 125px;
    padding: 49px 0 49px 110px;
}

.menu-item a {
    color: black;
}

@media(max-width: 991px) {
    
    .navbar-nav .menu-item, .navbar-nav .lang {
        height: 70px;
        padding: 21.5px 0;
        text-align: center;
    }
    
    .navbar-nav .lang {
        padding: 0;
    }
    
    .navbar-nav .lang .btn {
        border-color: transparent;
    }
    
    .navbar-nav .lang .btn:hover {
        border-color: transparent !important;
        background: none !important;
        color: black !important;
    }
    
    .navbar-nav li {
        position: relative;
    }
    
    .navbar-nav li::after {
        position: absolute;
        content: " ";
        display: block;
        width: 40px;
        height: 3px;
        background: #D7D7D7;
        top: -2px;
        left: 50%;
        margin-left: -20px;
        
    }
    
    .navbar-nav li:first-child::after {
        display: none;
    }
    
}

.lang {
    padding: 27px 0 28px 110px;
}

@media(max-width: 1349px) {
    .lang {
        padding-left: 60px;
    }
}

.lang .btn-default {
    height: 70px;
    line-height: 70px;
    padding: 0 25px;
    color: black;
}

.lang img {
    position: relative;
    top: -3px;
    margin-right: 5px;
}


/* ============== FOOTER =============== */

footer {
    background: #402D55;
    height: 190px;
    text-align: center;
}

footer p, footer a {
    font-family: "Open Sans";
    color: white;
    font-size: 13px;
    line-height: 15px;
}

footer a:hover {
    color: white;
    text-decoration: underline;
}

footer .logo {
    margin-top: 35px;
    margin-bottom: 30px;
}

/* ============== BUTTONS =============== */

.btn-default {
    height: 80px;
    border: 2px solid;
    background: none;
    line-height: 80px;
    padding: 0 42px;
    border-radius: 40px;
    font-size: 16px;
    letter-spacing: 2px;
    color: #402D55;
    text-transform: uppercase;
    font-weight: 500;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.btn-default:not(.no-hover):hover, .btn-default:not(.no-hover):focus, .btn-default:not(.no-hover):active {
    background: #402D55 !important;
    border-color: #402D55 !important;
    color: white;
    box-shadow: none !important;
}

.btn-default:hover .arrow-primary .fill, .btn-default:focus .arrow-primary .fill, .btn-default:active .arrow-primary .fill {
    fill: white;
}

@media(max-width: 991px) {
    
    .btn-default {
        height: 60px;
        line-height: 60px;
        padding: 0 20px;
    }
    
}

.btn-inverse {
    border-color: white;
    color: white;
}

.btn-inverse:hover, .btn-inverse:focus, .btn-inverse:active {
    border-color: white !important;
    color: white !important;
}

/* ============== INPUT =============== */

.form-control {
    box-shadow: none;
    border-radius: 0px;
    padding: 6px 25px;
    line-height: 80px;
    font-weight: 300;
    color: #402D55;
}

.form-control:hover, .form-control:focus, .form-control:active {
    box-shadow: none;
}

input.form-control {
    height: 80px;
}

textarea.form-control {
    padding: 20px 25px;
    min-height: 180px;
    max-width: 100%;
    max-height: 450px;
    resize: resize-x;
    line-height: 30px;
}

/* ============== OTHER =============== */

.arrow {
    margin-left: 25px;
    height: 11px;
    width: 15px;
}

.arrow-right {    
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

.arrow .fill {
    fill: black;
    -webkit-transition: fill .3s;
    -moz-transition: fill .3s;
    -o-transition: fill .3s;
    transition: fill .3s;
}

.arrow-primary .fill {
    fill: #402d55;
}

.arrow-inverse .fill {
    fill: white;
}

.arrow.disabled .fill {
    fill: #C1BFC2;
}

.arrow-primary {
    position: relative;
}

.arrow-primary::after {
    content: " ";
    display: block;
    position: absolute;
    width: 6px;
    height: 21px;
    background: url(../img/arrow.png) center center no-repeat;
}



/* =========================================== PAGES ================================================ */

/* ============== HP =============== */

/* ======== Slider ======= */

.main-title {
    position: relative;
}

@media(max-width: 991px) {
    
    .main-title {
        text-align: center;
    }

}

.main-title h1 {
    font-size: 69px;
    margin: 0px;
    line-height: 70px;
    padding-bottom: 20px;
}

.main-title h2 {
    font-size: 32px;
    font-weight: 300;
    margin: 0px 0 25px;
}

.scroll-wrapper {
    position: absolute;
    z-index: 1;
    bottom: 45px;
    left: 50%;
}

.scroll {
    position: relative;
    left: -13px;
}

@media(max-width: 500px) {
    
    .scroll-wrapper {
        display: none;
    }

}

/* ======== Company ======= */

#company {
    min-height: 100%;
    margin-top: 0px;
}

@media(min-width: 1920px) {

    #company {
        background: url(../img/hp/company.jpg) center center no-repeat;
        background-size: cover;
    }

}

@media(max-width: 1919px) {

    #company {
        background: url(../img/hp/company_50.jpg) center center no-repeat;
        background-size: cover;
    }

}

.company-box {
    margin: 80px 0;
    padding: 65px 170px 80px 75px;
    background-color: rgba(255,255,255,.9);
}

@media(max-width: 991px) {
    
    .company-box {
        padding: 65px 65px 80px 65px;
    }

}

.company-box h2 {
    font-size: 36px;
    line-height: 40px;
}

.company-box p {
    margin: 40px 0 0;
    text-align: justify;
    color: #6f6080;
}

.company-box .subtitle {
    font-weight: 700;
    color: black;
    font-size: 21px;
}

.company-box .btn {
    margin: 40px 0 0;
}

/* ======== Services ======= */

.section-title {
    font-size: 36px;
    line-height: 42px;
    font-weight: 300;
    text-align: center;
    margin-top: 50px;
    padding-bottom: 35px;
    position: relative;
}

.section-title::after {
    content: " ";
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    height: 3px;
    background: #D7D7D7;
    width: 136px;
    margin-left: -68px;  
}

.services {
    margin-top: 35px;
}

.service {
    height: 290px;
    border: 1px solid #DBDBDB;
    background: white;
    position: relative;
    -webkit-transition: background .7s ease;
    -moz-transition: background .7s ease;
    -o-transition: background .7s ease;
    transition: background .7s ease;
}

.service:hover, .service.hover {
    background: #412C55;
}
.service img.oneye, .service img.oneye {
  display: none;
}
.service:hover img.noeye, .service.hover img.noeye {
  display: none;
}
.service:hover img.oneye, .service.hover img.oneye {
  display: inline-block;
}

.service-icon svg {
    height: 59px;    
}

.service-icon {
    opacity: 1;
    -webkit-transition: opacity .3s ease;
    -moz-transition: opacity .3s ease;
    -o-transition: opacity .3s ease;
    transition: opacity .3s ease;
}

.service:hover .service-icon, .service.hover .service-icon {
    opacity: 0;
}

.service .btn-default:hover, .service .btn-default:focus, .service .btn-default:active {
    border-color: white !important;
}

.service::after {
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background: white;
    opacity: 1;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}

.service:hover::after, .service.hover::after {
    top: 30%;
    left: 50%;
    right: 50%;
    bottom: 70%;
    opacity: 0;
}

.service-content {
    position: relative;
    z-index: 1;
}

.service-title {
    text-align: center;
    margin-top: 45px;
    padding-bottom: 5px;
    position: relative;
    -webkit-transition: margin .3s ease;
    -moz-transition: margin .3s ease;
    -o-transition: margin .3s ease;
    transition: margin .3s ease;
}

.service-title::after {
    content: " ";
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    height: 3px;
    background: #D7D7D7;
    width: 56px;
    margin-left: -28px;
    opacity: 1;
    -webkit-transition: opacity .2s ease;
    -moz-transition: opacity .2s ease;
    -o-transition: opacity .2s ease;
    transition: opacity .2s ease;
}

.service:hover .service-title::after, .service.hover .service-title::after {
    opacity: 0;
}

.service:hover .service-title, .service.hover .service-title {
    margin-top: -20px;
}

.service-icon .fill {
    fill: #422B59;
    -webkit-transition: fill .3s ease;
    -moz-transition: fill .3s ease;
    -o-transition: fill .3s ease;
    transition: fill .3s ease;
}

.service:hover .service-icon .fill, .service.hover .service-icon .fill {
    fill: white;
}

.service h3 {
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 12px;
    -webkit-transition: color .3s ease;
    -moz-transition: color .3s ease;
    -o-transition: color .3s ease;
    transition: color .3s ease;
}

.service:hover h3, .service.hover h3 {
    color: white;
}

.service-info {
    height: 50px;
    position: relative;
    top: 25px;
}

.service:hover .service-info, .service.hover .service-info {
    visibility: hidden;
}

.service-info ul {
    padding-left: 25%;
}

.service-info li {
    font-size: 15px;
}

.service-more {
    position: relative;
    text-align: center;
    opacity: 0;
    top: -200px;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}

.service:hover .service-more, .service.hover .service-more {
    opacity: 1;
    top: -35px;
}

@media(max-width: 991px) {
    
    .service:hover .service-more, .service.hover .service-more {
        top: -25px;
    }
    
}

@media(max-width: 500px) {
 
    .service .btn {
        padding: 0 20px;
    }
    
}


.service-button {
    margin: 30px 0 40px;  
    text-align: center;
}

@media(max-width: 500px) {
    
    .service-button .btn-default {
        padding: 0 20px;
    }
    
    .service-button .btn-default .arrow {
        display: none;
    }
    
}

/* ======== Partners ======= */

#partners h1 {
    color: black;
}

.partners {
    margin: 25px 0;
}

.partner {
    width: 100%;
    height: 170px;
}

/* ======== News ======= */

.news {
    margin-top: 20px;
    margin-bottom: 25px;
}

.news-paging-container {
    position: absolute;
    top: -5px;
    right: 30px;
}

@media(max-width: 991px) {
    
    .news-paging-container {
        position: relative;
        top: 10px;
        right: 15px;
    }
    
    .news-paging .arrow {
        width: 30px;
        height: 22px;
    }

}

.article {
    padding: 0 30px 40px 30px;
}

.article .media {
    margin-top: 27px;
}

.article .media-left {
    padding-right: 25px;
}

@media(max-width: 500px) {
    
    .article .media-left {
        position: absolute;
    }
    
    .article .media-body::before {
        content: " ";
        display: inline-block;
        width: 80px;
        height: 80px;
        float: left;
    }
    
}

.article-date {
    width: 62px;
    height: 62px;
    background: #412C55;
    color: white;
    text-align: center;
    line-height: 20px;
    padding: 11px 0;
}

.article h3 {
    padding-left: 25px;
    font-size: 22px;
}

.article h3.arrow-primary::after {
    top: 0;
}

.article p {
    font-family: "Open Sans";
    font-size: 13px;
    line-height: 20px;
    color: black;
    text-align: justify;
    margin-top: 0px;
}

.article .more {
    font-family: "Open Sans";
    font-weight: 700;
    font-size: 15px;
    color: #402d55;
}

.article .more a {
    font-family: "Open Sans";
}

.article .more a:hover {
    text-decoration: underline;
}

.article .source {
    font-family: "Open Sans";
    font-size: 13px;
    line-height: 20px;
    color: #7b7b7b;
    margin-top: 13px;
}

.article .source a {
    font-family: "Open Sans";
    color: #7b7b7b;
}

.article .source a:hover {
    text-decoration: underline;
}

/* ============== ABOUT =============== */

#about {
    padding-bottom: 50px;
    background: url(../img/about/map.jpg) center center no-repeat;
}

#about .title {
    margin-top: 55px;
}

#about p {
    margin-top: 35px;
    text-align: justify;
}

#about h3 + p {
    margin-top: 20px;
}

.about-gap {
    height: 360px;
}

/* ============== SERVICES =============== */

.services-page {
    margin: 0;
}

.services-page .services {
    margin: 0;
}

.service-small {
    height: 100px;
}

.service-small:hover::after, .service-small.hover::after {
    top: 40%;
    left: 50%;
    right: 50%;
    bottom: 60%;
}

.service-small .service-title {
    margin-top: 0px;
}

.service-small:hover .service-title, .service-small.hover .service-title {
    margin-top: 0px;
}

.service-small .service-title::after {
    display: none;
}

.service-small .service-icon {
    display: inline;
    opacity: 1;
}

.service-small:hover .service-icon, .service-small.hover .service-icon {
    opacity: 1;
}

.service-small h3 {
    margin: 0;
    line-height: 100px;
    font-size: 12px;
}

.service-small svg {
    display: inline-block;
    position: relative;
    margin-right: 10px;
    height: 29px;
    max-width: 30px;
    top: 8px;
}

#service {
    margin-bottom: 60px;
}

#service article p {
    padding-left: 40px;
}

#service article h3 {
    cursor: pointer;
}

.service-close {
    cursor: pointer;
    display: none;
    font-size: 14px;
    font-weight: 500;
    color: #402D55;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 6px 0;
}

#accordion article.active .service-close {
    display: block;
}

@media(max-width: 767px) {
    
    .service-close {
        display: none !important;
    }
    
}

/* ============== CONTACT =============== */

#contact {
    margin-bottom: 60px;
}

#contact .title {
    margin-top: 55px;
}

#contact .form-control {
    margin-bottom: 30px;
}

#contact form {
    margin-top: 45px;
}

@media(min-width: 1350px) {

    #contact form {
        padding-right: 50px;
    }   

}

@media(min-width: 768px) {
    
    #contact .btn-default {
        padding: 0 75px;
    }
    
}

@media(max-width: 767px) {
    
    #contact .send-button {
        text-align: center;
    }
    
}

.contact-info {
    margin-top: 40px;
    font-size: 22px;
    line-height: 1.2;
}

.contact-info .light {
    font-weight: 300;
}

.contact-info .big {
    font-size: 24px;
}

.contact-info a:hover {
    text-decoration: underline;
}
h3.hoverek { text-decoration: underline; }
h3.hoverek:hover { text-decoration: none !important; }
div.newsrss { min-height: 290px; }
#lang:focus, #lang:hover, #lang:active {
background: none;
outline: none;
}

.lang .dropdown-menu {
border-radius: 40px;
-webkit-box-shadow: none;
box-shadow: none;
background: #fff;
color: white;
border: 2px solid #402D55;
max-width: 100%;
min-width: 100%;
}

.lang .dropdown-menu li a {
color: #402D55;
text-transform: uppercase;
text-align: center;
font-weight: 700;
}

.lang .dropdown-menu li a:hover {
background: none;
text-decoration: underline;
}