@import url('https://fonts.googleapis.com/css?family=Raleway:100,200,300,400,500,600,700&subset=latin-ext');

body{
    margin: 0px;
    padding: 0px;
    font-size: 1em;
    font-family: raleway;
    background-color: #e5e5e5;
    color: #666;
    overflow-x: hidden !important;
    cursor: default;
    position: absolute;
}

html{
    overflow-x: hidden !important;
}

a{
    outline: none !important;
}

a:focus{
    color: inherit !important;
}

header{
    width: 100%;
    height: 75px;
    position: fixed;
    z-index: 100;
}

.nav_bg{
    width: 100%;
    height: 75px;
    background-color: rgba(255,255,255,0.85);
    border-bottom: 3px solid #ddd;
    position: fixed;
    top: -75px;
    z-index: 90;
}

nav{
    width: 100%;
    height: 75px;
    padding-right: 25px;
    position: relative;
    z-index: 100;
}

nav ul{
    margin: 0px;
    padding: 0px;
    float: right;
}

nav ul li{
    float: left;
    list-style-type: none;
    margin: 17px 10px 0px 10px;
    color: #fff;
    font-size: 1.8em;
    font-weight: 300;
    border: 2px solid transparent;
}

nav ul li:hover{
    border: 2px solid #e84c3d;
    border-radius: 100px;
    cursor: pointer;
}

nav ul li a{
    color: inherit;
    display: block;
    padding: 5px 15px 5px 15px;
}

nav ul li a:hover{
    color: inherit;
    text-decoration: none;

}

nav.nav_white{
    background-color: rgba(255,255,255,0.7);
    border-bottom: 3px solid #ddd;
    box-shadow: 3px 0px 0px 3px #fff;
}

nav.nav_white ul li{
    color: #555;
}

nav.nav_white ul li:hover{
    color: #0A246A;
}

.nav_logo{
    width: 250px;
    float: left;
    margin-top: 15px;
    margin-left: 25px;
    display: none;
}

nav.nav_white .nav_logo{
    display: block;
}

#head_slider{
    width: 100vw;
    height: 70vh;
    background-image: url("../img/slide.jpg");
    background-size: cover;
    text-align: center;
    background-attachment: fixed;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
}


#logo_box{
    margin: 20vh auto 0px auto;
    width: auto;
    height: auto;
}

#head_logo{
    position: absolute;
    left: 32.5%;
    opacity: 1;
    width: 35%;
}

#head_logo_hidden{
    opacity: 0;
    width: 35%;
}

h2{
    color: rgba(255,255,255,0.95);
    font-family: raleway;
    font-weight: 500;
    font-size: 2em;
    letter-spacing: 1.1px;
}

.button-rounded{
    background-color: #e84c3d;
    width: 50%;
    height: 50px;
    color: #fff;
    font-size: 2em;
    font-weight: 200;
    border-radius: 100px;
    line-height: 46px;
    margin: 0px auto;
    margin-top: 75px;
    border: 2px solid transparent;
}

.button-rounded:hover{
    background-color: transparent;
    border: 2px solid #e84c3d;
}

.button-rounded a{
    color: inherit;
    display: block;
    width: 100%;
}

.button-rounded a:hover{
    text-decoration: none;
    font-weight: 700;
}

.button-rounded.white{
    background-color: #fff;
    border: 2px solid #e84c3d;
    margin-top: 28px;
    color: #e84c3d;
    text-align: center;
    font-weight: 700;
    line-height: 46px;
    text-transform: uppercase;
    font-size: 1.8em;
}

.f-left{
    float: left;
}

.f-right{
    float: right;
}

#main_page{
    padding: 100px 0px 100px 0px;
}

.container-fluid{
    padding: 0px 10% 0px 10% !important;
}

.text-box{
    width: 100%;
    height: 325px;
    background-color: #fff;
    margin-bottom: 75px;
    border: 5px solid #fff;
    border-left: none;
    border-right: none;
}

.box-image{
    background-size: cover;
    height: 315px;
}

.box-image.cooperate{
    background-image: url('../img/cooperate.jpg');
    background-size: cover;
}

.box-image.job_offer{
    background-image: url('../img/work_offer.jpg');
    background-size: cover;
}

h3{
    color: #233a66;
}

p{
    font-size: 1.5em;
}

#second_page{
    background-color: #f7f7f7;
    min-height: 500px;
    padding: 100px 0px 75px 0px;
}

#second_page h2{
    color: #233a66;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    font-size: 3.5em;
    margin-top: 0px;
}

#second_page p{
    text-transform: uppercase;
    font-size: 1.7em;
    line-height: 2;
    text-align: center;
}


.service_box{
    padding-bottom: 25px;
    position: relative;
    height: 400px;
    margin-bottom: 25px;
    overflow-y: hidden;
}

.service_box h4{
    text-transform: uppercase;
    text-align: center;
    font-size: 1.9em;
    padding: 0px;
    margin: 0px;
    line-height: 50px;
    height: 50px;
}

.service_box img{
    padding: 0px;
    margin: 0px;
}

.service_box_wrapper{
    border: 1px solid #fff;
    width: 100%;
    height: 400px;
    font-size: 1em;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.service_content{
    position: absolute;
    width: 100%;
    background-color: #fff;
    transition: 0.2s ease-in 0s;
    height: 50px;
    margin-top: 50px;
}

.service_box_content{
    position: absolute;
    margin-top: 9px;
    left: 0px;
    background-color: rgba(255,255,255,0.95);
    transition: 0.2s ease-in 0s;
    height: 350px;
}

.service_box_content p{
    padding-top: 40px;
    padding-left: 15px;
    padding-right: 15px;
    text-transform: none !important;
    color: #666;
    text-align: center;
    font-size: 1em;
}

.service-text-box{
    height: 334px;
    display: table;
}

.service-text-box-wrapper{
    display: table-row;
    width: 100%;
    height: 100%;
}

.service-text-box-content{
    display: table-cell;
    vertical-align: middle;
    width: 100%;
    height: 100%;
}

.service-text-box-content a{
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
    padding: 0px;
    margin: 0px;
}

.service-text-box-content p.about_service{
    padding: 10px 0px 0px 0px;
}

.service-text-box-content p.about_service a{
    color: #e84c3d;
    font-weight: 700;
}

.service-text-box-content a:hover{
    text-decoration: none;
}

.service-text-box-content p.about_service a:hover{
    text-decoration: underline;
}

.service-text-box p{
    padding: 0px 15px 0px 15px;
    margin: 0px;
}


.service_box_wrapper:hover .service_box_content{
    margin-top: 0px;
}

.service_box_wrapper .img-box{
    min-height: 232px;
}

.service_box_wrapper:hover .service_content{
    margin-top: -232px;
    transition: 0.2s ease-in 0s;
    background-color: #e84c3d;
    color: #fff;
}


#our_services{
    padding: 100px 0px 25px 0px;
}

#our_services h2{
    color: #233a66;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    font-size: 3.5em;
    margin-top: 0px;
}

#our_services p.caption{
    text-transform: uppercase;
    font-size: 1.7em;
    line-height: 2;
    text-align: center;
}

#our_services .text-box{
    height: auto;
    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;
}

#our_services .text-box h3{
    margin-top: 0px;
}

#our_services .text-box div{
    padding-left: 0px;
    padding-right: 0px;
}

#our_services .img-box{
}

#our_services .content-box{
    -webkit-box-flex: 1;      /* OLD - iOS 6-, Safari 3.1-6 */
    -moz-box-flex: 1;         /* OLD - Firefox 19- */
    width: 50%;               /* For old syntax, otherwise collapses. */
    -webkit-flex: 1;          /* Chrome */
    -ms-flex: 1;              /* IE 10 */
    flex: 1;
}


#our_services .text-wrapper{
    height: 100%;
    display: table;
    -webkit-box-flex: 1;      /* OLD - iOS 6-, Safari 3.1-6 */
    -moz-box-flex: 1;         /* OLD - Firefox 19- */
    width: 100%;               /* For old syntax, otherwise collapses. */
    -webkit-flex: 1;          /* Chrome */
    -ms-flex: 1;              /* IE 10 */
    flex: 1;
}

#our_services .inner_wrapper{
    width: 100%;
    height: 100%;
    display: table-row;
}

#our_services .wrapper_vm{
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    padding: 0px 15px 0px 15px !important;
}


#jobs{
    background-color: #fff;
    padding-top: 100px;
    padding-bottom: 100px;
}

#jobs h2{
    color: #233a66;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    font-size: 3.5em;
    margin-top: 0px;
}

#jobs p{
    text-transform: uppercase;
    font-size: 1.7em;
    line-height: 2;
    text-align: center;
}

#jobs .position{
    margin-top: 25px;

}

#jobs .position h3{
    margin: 0px;
    display: block;
    border-bottom: 2px solid #efefef;
    padding-bottom: 10px;
}

#jobs .position p{
    text-transform: none;
    text-align: left;
    font-size: 1.5em;
    line-height: 1.3;
}

#jobs .position p:first-of-type{
    padding-top: 10px;
}

#contact{
    background-color: #efefef;
    padding-top: 100px;
    padding-bottom: 100px;
}


#contact h2{
    color: #233a66;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    font-size: 3.5em;
    margin-top: 0px;
}

#contact p{
    text-transform: uppercase;
    font-size: 1.7em;
    line-height: 2;
    text-align: center;
    padding-bottom: 100px;
}

.contact-box label{
    width: 75px;
    font-size: 1.2em;
    letter-spacing: 1.1px;
    font-family: Raleway;
    font-weight: 500;
    float: left;
    padding-top: 15px;
    padding-right: 15px;
    text-align: right;
}

.contact-box input[type=text], .contact-box input[type=email]{
    width: 50%;
    padding: 10px 17px;
    font-size: 1.7em;
    border: 2px solid #e84c3d;
    border-radius: 75px;
    margin-bottom: 25px;
    width: 51%;
    background-color: #f9f9f9;
}

.contact-box textarea{
    padding: 10px 17px;
    font-size: 1.7em;
    border: 2px solid #e84c3d;
    border-radius: 20px;
    width: 50%;
    resize: vertical;
    min-height: 200px;
    background-color: #f9f9f9;
}

.contact-box input[type=submit]{
    width: 150px;
    height: 50px;
    background-color: #0A246A;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: Raleway;
    letter-spacing: 1.1px;
    font-size: 1.5em;
    margin-left: 75px;
    margin-top: 20px;
}

.contact-box input[type=submit]:hover{
    border: 2px solid #0A246A;
    background-color: #2c468c;
}

.contact-box p{
    text-align: left !important;
    text-transform: none !important;
    padding-bottom: 0px !important;
    padding-top: 0px !important;
    font-size: 1.5em !important;
}



footer{
    height: 250px;
    background-color: #030a36;
}

footer ul{
    margin: 40px 0px 0px 0px;
    padding: 0px;
    float: left;
    width: 50%;
}

footer ul li:first-of-type{
    border-top: 1px solid rgba(255,255,255,0.5);
}

footer ul li{
    list-style-type: none;
    color: #ddd;
    font-size: 1.4em;
    padding: 10px 0px 10px 25px;
    border-bottom: 1px solid rgba(255,255,255,0.5);
}

footer ul li:hover{
    background-color: #18154b;
}

footer ul li a{
    color: inherit;
    display: block;
}

footer ul li a:hover{
    color: #fff;
}

footer h4{
    color: #fff;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 15px;
}

footer p{
    color: #fff;
    text-align: center;
}

footer .zapis{
    padding-top: 80px;
    color: #ddd
}

.footer-text{
    padding: 0px;
}

.mb-0{
    margin-bottom: 0px;
}

.np{
    padding-bottom: 0px !important;
}

.forward{
    padding-top: 25px;
}

#mobile_nav{
    display: none;
}

/** Medium PC - MD**/
@media (max-width: 1199px) {

}

/** TABLET - SM **/
@media (max-width: 991px) {
    body, html{
        overflow-x: hidden;
    }

    nav{display: none;}

    #mobile_nav{
        display: block;
        width: 100%;
        height: 75px;
        background-color: #fff;
    }

    #mobile_nav .fa-list{
        color: #fff;
        float: right;
        margin-right: 25px;
        margin-top: 20px;
    }

    #mobile_nav.nav_white .fa-list{
        color: #333;
    }

    #mobile_nav.nav_white .nav_logo{
        display: block;
    }

    #mobile_nav ul{
        position: fixed;
        width: 100%;
        top: 75px;
        left: 0px;
        margin: 0px;
        padding: 0px;
        overflow-y: hidden;
        height: 0;
    }

    #mobile_nav ul li:first-of-type{
        border-top: 1px solid #999;
    }

    #mobile_nav.nav_white ul li{
        background-color: rgba(255,255,255,0.95);
        color: #222;
        font-size: 2em;
        padding: 15px 0px 15px 0px;
        text-align: center;
        border-bottom: 1px solid #999;
    }

    #mobile_nav ul li a{
        color: inherit;
    }



}

/** MOBILE - XS **/
@media only screen and (max-width: 766px) {

    .xs-none{
        display: none;
    }

    .box-text .button-rounded{
        width: auto;
        padding-left: 15px;
        padding-right: 15px;
    }

    .service_box img{
         width: 100% !important;
     }

    .service-text-box{
        width: 100%;
    }


    .service_box_wrapper .service_box_content{
        height: 400px;
        width: 100%;
        text-align: center;
    }

    .service_box_wrapper .service_box_content a{
        text-align: center;
    }

    .service_box_wrapper .service_content{
        margin-top: auto;
        top: 400px;
        transition: 0.2s ease-in 0s;
        background-color: #e84c3d;
        color: #fff;
    }

    .service_box_wrapper:hover .service_content{
        margin-top: auto;
        top: 0px;
        transition: 0.2s ease-in 0s;
        background-color: #e84c3d;
        color: #fff;
    }

    .text-box{
        height: auto;
        margin-bottom: 50px;
    }

    .text-box::after{
        content: "";
        clear: both;
        margin-bottom: 50px;
    }

    .box-text .button-rounded{
        margin-bottom: 25px;
    }

    #head_logo{
        position: absolute;
        left: 10%;
        opacity: 1;
        width: 80%;
    }

    #head_logo_hidden{
        opacity: 0;
        width: 80%;
    }

    footer{
        height: auto;
    }

    #our_services .text-box{
        display: block;
    }

    #our_services .content-box{
        display: block;
        width: 100%;
        padding: 15px 0px 0px 15px;
    }

    #our_services .img-box{
        width: 100%;
    }

    #our_services .img-box img{
        width: 100%;
    }

    #contact .contact-box p{
        text-align: center !important;
    }

    input[type=submit]{
        margin-bottom: 50px;
    }

    #head_slider .button-rounded{
        margin-bottom: 0px;
        margin-top: 35px;
    }

}

.error_box{
    background-color: rgba(255,0,0,0.3);
    border: 1px solid rgba(255,0,0,0.8);
    border-radius: 10px;
    width: 50%;
    padding: 20px;
    margin-bottom: 50px;
    color: #333;
    font-size: 2em;
    margin-left: 75px;
    text-align: center;
}

.success_box{
    font-size: 3em;
    padding-top: 100px;
    text-align: center;
}


.email{
    display: none;
}

#email{
    display: none;
}