@font-face {
    font-family: 'Gotham Black';
    src: url('../fonts/Gotham-Black.ttf')  format('truetype'), url('../fonts/Gotham-Black.otf'); 
}
@font-face {
    font-family: 'Gotham Light';
    src: url('../fonts/Gotham-Light.ttf')  format('truetype'), url('../fonts/Gotham-Light.otf'); 
}
@font-face {
    font-family: 'Futura Medium';
    src: url('../fonts/Futura-Medium.ttf')  format('truetype'), url('../fonts/FuturaStd-Medium.otf'); 
}

body {

    padding-top: 102px;
}
h3 {
    font-size: 2.2em;
    color: #000;
    text-transform: uppercase;
    font-weight: 300;
    letter-spacing: 0.3px;
    right: 0;
    margin-bottom: 20px;
    font-family: "Gotham Black";
    border-bottom: 2px solid #000;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.text-container {
    background-image: url(../img/content-background.jpg);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 100%;
    max-width: 1321px;
    margin: 30px auto 15px;
    min-height: 560px;
    padding: 40px 15px;
}
.text-container .col-lg-11 {
    margin: 0;
    float: none;
    padding: 10px 0;
}
/* Effect 21: borders slight translate */
ul.navbar-nav li a a {
	padding: 10px;
	color: #237546;
	font-weight: 700;
	text-shadow: none;
	-webkit-transition: color 0.3s;
	-moz-transition: color 0.3s;
	transition: color 0.3s;
}

ul.navbar-nav li a::before,
ul.navbar-nav li a::after {
	position: absolute;
	left: 0;
	width: 100%;
	height: 1px;
	background: #fff;
	content: '';
	opacity: 0;
	-webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
	-moz-transition: opacity 0.3s, -moz-transform 0.3s;
	transition: opacity 0.3s, transform 0.3s;
	-webkit-transform: translateY(-10px);
	-moz-transform: translateY(-10px);
	transform: translateY(-10px);
}

ul.navbar-nav li a::before {
	top: 0;
	-webkit-transform: translateY(-10px);
	-moz-transform: translateY(-10px);
	transform: translateY(-10px);
}

ul.navbar-nav li a::after {
	bottom: 0;
	-webkit-transform: translateY(10px);
	-moz-transform: translateY(10px);
	transform: translateY(10px);
}

ul.navbar-nav li a:hover,
ul.navbar-nav li a:focus {
	color: #fff;
}

ul.navbar-nav li a:hover::before,
ul.navbar-nav li a:focus::before,
ul.navbar-nav li a:hover::after,
ul.navbar-nav li a:focus::after {
	opacity: 1;
	-webkit-transform: translateY(0px);
	-moz-transform: translateY(0px);
	transform: translateY(0px);
}


@media (min-width: 991px) {
    ul.navbar-nav li:nth-child(1){
        margin-left: 0;
    }
    ul.navbar-nav li:nth-child(2){
        text-align: left;
        margin-right: 370px;
    }    
}
@media (min-width: 768px) and (max-width: 991px) {
    ul.navbar-nav li:nth-child(1){
        margin-left: -13px;
    }
    ul.navbar-nav li:nth-child(3){
        width: 368px;
        text-align: left;
    }    
}
@media (min-width: 991px) and (max-width: 1199px) {
    ul.navbar-nav li:nth-child(1){
        margin-left: -110px;
    }
    ul.navbar-nav li:nth-child(3){
        width: 120px;
        text-align: left;
    }    
}
@media (max-width: 767px) {
    .navbar-brand {
        margin-top: 2px;
        padding-top: 0;
    }
}

.slider-wrapper.theme-default {
    position: relative;
}
.slider-wrapper .nivo-caption {
    width: 70%;
    position: absolute;
    left: 15%;
    top: 0;
    font-family: "Gotham Black";
    max-width: 1500px;
    margin: 0 auto;
}
.slider-wrapper .nivo-caption h2.white {
    color: #fff;
}
.slider-wrapper .nivo-caption h2 {
    color: #498ec8;
    text-transform: uppercase;
    font-size: 33px;
    position: absolute;
    bottom: 21%;
    width: 540px;
    right: 0;
}
.slider-wrapper .nivo-caption h3.green {
    color: #8baa2a;
    width: 539px;
    font-size: 20px;
    letter-spacing: 0.6px;
    margin-top: 59px;
}
.slider-wrapper .nivo-caption h3 {
    color: #fff;
    position: absolute;
    text-transform: uppercase;
    font-size: 30px;
    font-family: "Gotham Light";
    bottom: 26%;
    width: 600px;
    margin-bottom: -23px;
}
.slider-wrapper .nivo-caption h3 span {
    color: #ff0000;
}
.slider-wrapper .nivo-caption a {
    border: 1px solid #fff;
    right: 0;
    position: absolute;
    color: #fff;
    font-size: 15px;
    font-weight: normal;
    font-family: "Open Sans";
    text-transform: uppercase;
    padding: 5px 55px;
    bottom: 27%;
    margin-bottom: -72px;
}
.slider-wrapper .nivo-caption a:hover {
    background: #fff;
    color: #1d4d78;
}
.slider-wrapper .nivo-caption a.green {
    border: 1px solid #8baa2a;
    color: #8baa2a;
    right: 61px;
}
.slider-wrapper .nivo-caption a.green:hover {
    background: #8baa2a;
    color: #fff;
}
.both-line span:before,
.both-line span:after {
    content: "";
    position: absolute;
    height: 5px;
    border-top: 1px solid #2a8fcb;
    top: 16px;
    width: 100%;
}
.both-line span:before {
    right: 100%;
    margin-right: 25px;
}
.both-line span:after {
    left: 100%;
    margin-left: 25px;
}

.both-line span {
    display: inline-block;
    position: relative;  
}

#offer {
    background-image: url(../img/content-background.jpg);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 100%;
    max-width: 1321px;
    margin: 30px auto 15px;
}

#offer .col-sm-5 {
    -webkit-box-shadow: 0 0 2px 2px rgba(0,0,0,0.1);
    box-shadow: 0 0 2px 2px rgba(0,0,0,0.1);
    background: #fff;
    margin: 0 2.167% 50px 6%;
}
#offer .col-sm-5 .content {
    margin: 20px 5px 35px;
    text-align: center;
    border: 1px solid #d1d1d1;
    transition : border 500ms ease-out; 
    -webkit-transition : border 500ms ease-out; 
    -moz-transition : border 500ms ease-out;
    -o-transition : border 500ms ease-out;   
}
#offer .col-sm-5:hover .content {
    border: 1px solid #2b8fcc;
}
#offer .col-sm-5 .img {
    display: block;    
    margin: 20px;
}
#offer .col-sm-5 .img img {
    max-width: 100%;
}
#offer .link {
    position: absolute;
    width: 100%;
    bottom: 28px;
    left: 0;
    text-align: center;
}
#offer .link a {
    border: 1px solid #d1d1d1;    
    padding: 10px 40px;
    background: #fff;
    text-transform: uppercase;
    transition : border 500ms ease-out; 
    -webkit-transition : border 500ms ease-out; 
    -moz-transition : border 500ms ease-out;
    -o-transition : border 500ms ease-out;   
}
#offer .col-sm-5:hover .link a {
    border: 1px solid #2b8fcc;    
}
#offer .link span {
    background: url(../img/arrow-bottom.png) no-repeat top center;
    width: 100%;
    height: 11px;
    position: absolute;
    left: 0;
    bottom: -30px;
    opacity: 0;
    transition : all 500ms ease-out; 
    -webkit-transition : all 500ms ease-out; 
    -moz-transition : all 500ms ease-out;
    -o-transition : all 500ms ease-out;  
}
#offer .col-sm-5:hover .link span {
    bottom: -16px;
    opacity: 1;
}

ul.certificats {
    margin: 20px 0;

    padding: 0;
}

ul.certificats li {
    list-style: none;    
    -webkit-box-shadow: 0 0 2px 2px rgba(0,0,0,0.1);  box-shadow: 0 0 2px 2px rgba(0,0,0,0.1);
    margin-bottom: 25px;
    padding: 20px;
    position: relative;
}

ul.certificats li a.img {
    display: inline-block;    
    vertical-align: top;
}

ul.certificats li a.img img {
    max-width: 100%;
}

ul.certificats li .content {
    display: inline-block;

}

ul.certificats li h4 {
    text-transform: uppercase;
    color: #2b8fcc;
    font-size: 24px;
    font-weight: 300;
}

ul.certificats li p {

}

ul.certificats li p.more {
    position: absolute;
    bottom: 20px;
    right: 30px;
}

ul.certificats li p.more a {
    background: #2b8fcc;
    color: #fff;
    font-size: 15px;
    text-transform: uppercase;
    padding: 9px 32px;
    font-weight: bold;
    border: 1px solid #2b8fcc;
    -webkit-transition: all 0.3s ease;                  
    -moz-transition: all 0.3s ease;                 
    -o-transition: all 0.3s ease;   
    -ms-transition: all 0.3s ease;          
    transition: all 0.3s ease;    
}

ul.certificats li p.more a:hover {
    color: #2b8fcc;
    background: #fff;
    border: 1px solid #c5d4dd;
}
footer {
    background: #050e15;
    color: #fff;
    margin-top: 50px;
    padding: 20px 0;
    border-bottom: 30px solid #1D4D78;
}

footer p {
    color: #fff;
    line-height: 22px;
}

footer p.p-text {    
    font-size: 11px;
    border-top: 1px solid #2b8fcc;
    border-bottom: 1px solid #2b8fcc;
    text-align: center;
    padding: 10px;
    margin-top: 20px;
}

footer h2 {
    text-transform: uppercase;    
    font-family: 'Open Sans';
    font-weight: bold;
    font-size: 18px;
}

footer input {
    margin-bottom: 7px;
}
footer input.form-control {
    border: 0;
}
footer input[type=submit], input.submit {
    background: #1d4d78;
    color: #fff;
    border: 0;
    float: right;
    width: 100%;
    padding: 5px 0;
}
.col-lg-8 input.submit {
    width: 30%;
}

.tabs {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 5em 0 2em;
    font-weight: 300;
}

/* Nav */
.tabs nav {
    text-align: center;
    margin-bottom: 30px;
}

.tabs nav ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: inline-block;
    text-align: center;
}

.tabs nav ul li {
    border: 1px solid #000;
    margin: 0 1.05em;
    display: block;
    position: relative;
    -webkit-box-shadow: 0px 0px 2px 0px rgba(50, 50, 50, 0.45);  
    -moz-box-shadow: 0px 0px 2px 0px rgba(50, 50, 50, 0.45);  
    box-shadow: 0px 0px 2px 0px rgba(50, 50, 50, 0.45);
    display: inline-block;
    margin-bottom: 20px;
    background: #1d4d78;
}

.tabs nav li.tab-current {
    border: 1px solid #1d4d78;
    z-index: 100;
    background: #fff;
}

.tabs nav li.tab-current:before,
.tabs nav li.tab-current:after {
    content: '';
    position: absolute;
    height: 1px;
    right: 100%;
    bottom: 0;
    width: 1000px;
}

.tabs nav li.tab-current:after {
    right: auto;
    left: 100%;
    width: 4000px;
}

.tabs nav a {
    margin: 0 30px;
    color: #fff;
    display: block;
    font-size: 1em;
    line-height: 1.8;
    padding: 0 1.65em;
    white-space: nowrap;
    text-transform: uppercase;
    font-weight: bold;
}

.tabs nav a:hover {
    color: #768e9d;
}

.tabs nav li.tab-current a {
    color: #1d4d78;
    background: #fff;
}

/* Icons */
.tabs nav a:before {
    display: inline-block;
    vertical-align: middle;
    text-transform: none;
    font-weight: normal;
    font-variant: normal;
    font-family: 'icomoon';
    line-height: 1;
    speak: none;
    -webkit-font-smoothing: antialiased;
    margin: -0.25em 0.4em 0 0;
}

/* Content */
.content img {
    max-width: 100%;
}
.content section {
    font-size: 1.25em;
    padding: 0.2em 1em 1.6em;
    display: none;
    max-width: 1230px;
    margin: 0 auto;
    background: #1d4d78;
}
.content section h5 {
    margin-bottom: 30px;
    color: #fff;
    border-bottom-color: #fff;
    border-bottom-width: 1px;
    font-size: 21px;
}
.content section:before,
.content section:after {
    content: '';
    display: table;
}

.content section:after {
    clear: both;
}

/* Fallback example */
.no-js .content section {
    display: block;
    padding-bottom: 2em;
    border-bottom: 1px solid #47a3da;
}

.content section.content-current {
    display: block;
}

.mediabox {
    float: left;
    width: 33%;
    padding: 0 25px;
}

.mediabox img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

.mediabox h3 {
    margin: 0.75em 0 0.5em;
}

.mediabox p {
    padding: 0 0 1em 0;
    margin: 0;
    line-height: 1.3;
}

/* Example media queries */

@media screen and (max-width: 52.375em) {
    .tabs nav a span {
    }

    .tabs nav a:before {
        margin-right: 0;
    }

    .mediabox {
        float: none;
        width: auto;
        padding: 0 0 35px 0;
        font-size: 90%;
    }

    .mediabox img {
        float: left;
        margin: 0 25px 10px 0;
        max-width: 40%;
    }

    .mediabox h3 {
        margin-top: 0;
    }

    .mediabox p {
        margin-left: 40%;
        margin-left: calc(40% + 25px);
    }

    .mediabox:before,
    .mediabox:after {
        content: '';
        display: table;
    }

    .mediabox:after {
        clear: both;
    }
}
@media screen and (max-width: 1000px) { 
    .tabs nav li a {
        font-size: 1em;
        padding: 0 0.8em;
    }
}
@media screen and (max-width: 768px) {

    h3 {
        font-size: 2em;
    }

    .tabs nav ul li {
        display: block;
        float:  none;
        margin: 5px 0 !important;
    }

    .slider-wrapper .nivo-caption {
        width: 95%;
        left: 0;
    }

    .slider-wrapper .nivo-caption h2 {
        font-size: 18px !important;
        width: auto !important;
        bottom: 55% !important;
        left: auto !important;
        right: 5% !important;
    }

    .slider-wrapper .nivo-caption h3 {
        font-size: 12px !important;   
        width: auto !important;
        bottom: 62% !important;
        left: auto !important;
        right: 5% !important;
    }

    .slider-wrapper .nivo-caption a {
        bottom: 87%;
        padding: 4px;
        right: 5% !important;
        font-size: 12px;
    }

}
@media screen and (max-width: 32em) {
    .tabs nav ul,
    .tabs nav ul li a {
        width: 100%;
        padding: 0;
    }

    .tabs nav ul li {
        margin: 0 0 0 -1px;
    }

    .tabs nav ul li:last-child {
        border-right: none;
    }

    .mediabox {
        text-align: center;
    }

    .mediabox img {
        float: none;
        margin: 0 auto;
        max-width: 100%;
    }

    .mediabox h3 {
        margin: 1.25em 0 1em;
    }

    .mediabox p {
        margin: 0;
    }
}

.f-right {
    float: right !important;
}


section p {
    color: #c0c0c0;
}

#kontakt input[type=text] {
    background: #f6f7fa;    
}

#kontakt input[type=submit] {
    color: #f6f7fa;    
    background: #2a5f88;
    width: 200px;
}


#kontakt textarea {
    border: 1px solid #b2b5bb;    
    background: #f6f7fa;
}

#kontakt p.large {
    font-size: 20px; text-align: center;
    font-style: italic;
    margin-bottom: 30px;
}