/*
Theme Name: SeaMan's Book
Description: SeaMan's theme based on The HTML5 Reset Theme
Author: itcraft.pl
Version: 1.0
*/
html,body{
    font-family: "LatoWeb",Helvetica,Arial,sans-serif;
    font-weight: 400;
    font-size:14px;
    color:#d6dbff;
    height:100%;
}
.orange {
    width: 20%;
    border: 1px solid #ff7300;
    text-align: center;
}
p{
    line-height: 2.5em;
    color: #fff;
}
h1{
    color:#fff;
    font-size:48px;
    font-family: "LatoWebLight",Helvetica,Arial,sans-serif;
    font-weight: normal !important;
}
h2{
    color:#fff;
    font-size: 24px;
    font-family: "LatoWebSemibold",Helvetica,Arial,sans-serif;
}
h4{
    color:#3847a8;
    font-size: 16px;
    font-family: "LatoWebBold",Helvetica,Arial,sans-serif;
    line-height: 0.1em;
}
footer h4 {
    padding-top: 20px;
}
h5{
    color:#48484a;
    font-size: 12px;
    font-family: "LatoWebBold",Helvetica,Arial,sans-serif;
    line-height: 0.1em;
}
.content a{
    color:#394648;
    font-weight:700;
    text-decoration:none;
}
.contact-page h1,
.terms-page h1 {
    line-height: 20px;   
}
.contact-page .orange {
    width: 8%;
}
.orange-error {
    width: 30%;
    border: 1px solid #ff7300;   
}
.content a:hover,
.content a:focus{
    text-decoration:underline;
}
footer {
    bottom: 0;
    background-color: #fff;
    width: 100%;
    text-align: center;
    height: 10%;
}
.container {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    box-sizing: border-box;
    height: 100%;
}
@media (min-width: 768px) {
    .container {
        width: 750px;
    }
}
@media (min-width: 992px) {
    .container {
        width: 970px;
    }
}
@media (min-width: 1200px) {
    .container {
        width: 1170px;
    }
}
nav{
    background: #fff;
}
nav .menuToggle{
    float:right;
    height:70px;
    padding:0 10px;
    margin:0;
    margin-top: 15px;
    display: inline-block;
    background:transparent; 
    border:0 none;
}
nav .menuToggle img{
    vertical-align: middle;
    margin-top:-4px;
}
nav .logo{
    display:inline;
    line-height:100px;
    text-align: center;
    padding:0 10px;
    margin: 0 auto;
}
nav .logo img{
    line-height:70px;
    vertical-align:middle;
}
.logo-smb{
    display: none ;
}
.logo-cp{
    display: none ;
}
@media screen and (max-width: 393px) {
    nav .logo img{
        width:90px;
    }
}
@media screen and (min-width: 470px) {
    .logo-smb-small{
        display: none ;
    }
    .logo-cp-small{
        display: none ;
    }
    .logo-smb{
        display: inline-block ;
    }
    .logo-cp{
        display: inline-block ;
    }
}
nav ul{
    list-style:none;
    padding:0;
    margin:0;
    display: none;
}
nav ul.visible{
    display:block;
    border-top:#dcdcdc;
    margin-top:0.5em;
}
nav li{
    display:block;
}
nav li:last-child{
    border-bottom:0 none;
}
nav li a{
    display:block;
    padding:1em 20px;
    color: #000000;
    font-family:"LatoWeb",Helvetica,Arial,sans-serif;
    font-size:18px;
    text-decoration: none;
}
nav li a:hover,
nav li a:focus,
nav li a:active{

}
nav li.current-menu-item a:hover,
nav li.current-menu-item a:focus,
nav li.current-menu-item a:active{
    color: #3847a8;
    font-weight: bold;
}
nav li a:hover,
nav li a:focus,
nav li a:active,
nav li.current-menu-item a{
    color: #3847a8;
}
.images img{
    margin:0 auto;
}
#menu-item-118 a:hover,
#menu-item-118 a:focus,
#menu-item-118 a:active,
#menu-item-119 a:hover,
#menu-item-119 a:focus,
#menu-item-119 a:active,
#menu-item-120 a:hover,
#menu-item-120 a:focus,
#menu-item-120 a:active{
    color: #3847a8;
    font-weight: bold;
}
#menu-item-118 li.current-menu-item a,
#menu-item-119 li.current-menu-item a,
#menu-item-120 li.current-menu-item a{
    color: #3847a8;
}
#menu-item-118 a,
#menu-item-119 a,
#menu-item-120 a{
    display: inline;
    padding:0.2em 8px;
    color: #48484a;
    font-family:"LatoWebMedium",Helvetica,Arial,sans-serif;
    font-size:12px;
    text-decoration: none;
}
#menu-item-168 {
    border-bottom-color: #3847a8;
    border-radius: 10px;
    border-width: 2px;
    color: #fff;
}

#menu-item-168 a{
    display: inline;
    padding:0.2em 8px;
    color: #48484a;
    font-family:"LatoWebMedium",Helvetica,Arial,sans-serif;
    font-size:13px;
    text-decoration: none;
    background-color: #3847a8;
    color: #fff;
    border-radius: 8px;
    padding: 8px;   
}

#menu-item-168 a:hover,
#menu-item-168 a:focus{
    background-color: #3847aa;
    color: #ff7300;
}

#wrapper {
    height: 100%;
}
.main-page {
    background-image: url('_/inc/images/agencies2.jpg');
    background-repeat: no-repeat;
    background-size: cover;   
    background-clip: content-box;
    position: relative;
    min-height: 75%;
}
.training-page {
    background-image: url('_/inc/images/training.jpg');
    min-height: 75%;
}
.contact-page {
    background-image: url('_/inc/images/contact.jpg');
    min-height: 75%;
}
.error-page {
    background-image: url('_/inc/images/contact.jpg');
    min-height: 75%;
}
.terms-page {
    background-image: url('_/inc/images/terms.jpg');
    min-height: 75%;
    background-attachment: fixed;
}
.agencies-page {
    background-image: url('_/inc/images/home2.jpg');
    background-repeat: no-repeat;
    background-size: cover;   
    background-clip: content-box;
    position: relative;
    min-height: 75%;
}
@media screen and (max-width: 767px) { 
    .main-page .content,
    .agencies-page .content{
        text-align: center;
    }
}
@media screen and (max-width: 320px) { 
    .terms-page h1 {
        line-height: 1em;
    }
    nav .logo {
        padding: 0;
    }
}
@media screen and (max-width: 767px) { 
    .training-page {
        background-position: 100% 0% !important; 
    }
}
@media screen and (max-width: 991px) { 
    .main-page .images,
    .agencies-page .images {
       display: none;
    }
    .main-page .content {
        margin-left:0 ;
    }
    .content {
        margin-top: 20px;
        padding-bottom: 20px;
        width:100%;
    }
    .content h1 {
        padding-top: 20px;
    }
    .main-page {        
        background-position:  80% 0%; 
    }
    .agencies-page {
        background-position:  20% 0%; 
    }
    .training-page {
        background-position:  100% 0% !important; 
    }
    .terms-page {
        background-position:  60% 0%;
    }
    .contact-page {
        background-position: 20% 0%;
    }
}
@media screen and (max-width: 1199px) {
    .training-page {
        background-position:  40% 0% ; 
    }
}

.main-page .content h1:first-child,
.agencies-page .content h1:first-child {
    margin-top:-20px;
} 
.main-page .big-top-margin,
.agencies-page .big-top-margin{
    text-align:center;
}
@media screen and (min-width: 990px) {  /*bylo 768*/
    nav .logo{
        display: inline-block;  
    }
    nav .menuToggle{
        display: none;
    }
    nav ul{
        display: block;
        float:right;
        white-space: nowrap;
        border-top:0 none;
    }
    nav li{ 
        display:inline-block;
        border-bottom:0 none;
    }
    nav li:after{ 
        margin:0px;
        display:inline-block;
        font-weight: bold;
        font-size:10px;
        line-height: 10px;
        vertical-align:middle;
    }
    nav li:last-child:after{ 
        content:"";
        display:none;
    }
    nav li a{
        margin-top:45px;
        display:inline-block;
        padding:0;
        height:5px;
        line-height:10px;
        box-sizing: border-box;
        padding:0 10px;
    }
    nav li a:hover,
    nav li a:focus,
    nav li a:active{
        color: #3847a8;
    }
    nav li.current-menu-item a{
        color: #3847a8;
        font-weight: bold;
    }
    #menu-item-126,
    #menu-item-127,
    #menu-item-128,
    #menu-item-169{
        display:none;
    }
}
@media (min-width: 768px) {
    .main-page .images{
        width:50%;
        float:left;
        position: absolute;
        bottom: 0;
        left: 0;  
    }
    .orange {
        text-align: left;
        float: left;
    }
    .main-page .big-top-margin,
    .agencies-page .big-top-margin{
        text-align:left;
    }
    .agencies-page .images img{
       
    }
    .main-page .content{
        padding-top:0px;
    }
    .main-page .content h1:first-child{
        margin-top:0px;
    }  
}
@media (min-width: 992px) {  
    .main-page .content{  
        margin-left:600px;
        padding-top:50px;
        position: relative;
        padding-bottom:20px;
    }
    .main-page .images{
        width:600px;
        position: absolute;
        bottom: 0;
        left: 0;
    }
}
@media (min-width: 1200px) {
    .main-page .content{
        margin-left:600px;
        padding-top:100px;
        position: relative;
        padding-bottom:70px;
    }
    .main-page .images{
        width:600px;
        position: absolute;
        bottom: 0;
        left: 0;
    }
    .main-page .content h1:first-child{
        margin-top:-70px;
    }
}
@media (min-width: 1500px) {
    .main-page .images{
        left: 190px;
    }
    .training-page .images{
        left: 0 !important;
        bottom: 0 !important; 
    }
    .training-page .images img{
        height: 100%;
    }
}
.contact-page .content{
    margin-bottom:2em;
}
@media (min-width: 768px) {
    .contact-page .content h1:first-child{
        margin-top:0px;
    }
    .contact-page .content{
        float:left;
        width:100%;
        margin-bottom: 20px;
        padding-bottom: 20px;
    }
    .contact-page .contact-form{
        padding-bottom: 10px;
    }
    .contact-page .content,
    .contact-page .contact-form{
        padding-top:50px;
    }
}
@media (min-width: 992px) {  
    .contact-page .content,
    .contact-page .contact-form{
        padding-top:30px;
    }
}
@media (min-width: 1200px) {
    .contact-page .content,
    .contact-page .contact-form{
        padding-top:30px;
    }
}
@media (min-width: 768px) {
    .agencies-page .images{
        width:50%;
        float:right;
        position: absolute;
        bottom: 0;
        right: 0px;
    }
    .agencies-page .content{
        margin-right:50%;
        padding-top:0px;
    }
    .agencies-page .content h1:first-child{
        margin-top:0px;
    }  
}
@media (min-width: 992px) {  
    .agencies-page .content{  
        padding-top:50px;
        position: relative;
        padding-bottom:20px;
    }
}
@media (min-width: 1240px) {
    .agencies-page .images{
        width:650px;  
    }
    .agencies-page .content{
        margin-right:600px;
        padding-top:100px;
        position: relative;
        padding-bottom:70px;
    }
    .agencies-page .content h1:first-child{
        margin-top:-70px;
    }
}
@media (min-width: 1570px) {
    .agencies-page .images{
        right: 0px;
        width: 900px;
    }
}
.notFound{
    text-align: center;
}
.big-top-margin{
    margin-top:50px;
}
.btn-group{
    display:inline-block;
    vertical-align:top;
    margin:0 7px 15px;
}
.btn-group .btn-info{
    display:block;
    font-family:"LatoWebBold",Helvetica,Arial,sans-serif;
    font-size:16px;
    color:#939899;
    text-align:center;
    margin-top:3px;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.clearFixAfter:after{
    content:"";
    width:0;
    height:0;
    clear:both;
    display:table;
}
.clear {
    clear: both;
    float: none;
}
.img-responsive{
    display: block;
    max-width: 100%;
    height: auto;
}
.hide{
    display: none;
}
/* Second menu */
.menu-sub_menu-container {
    margin-top: -30px;
    width: 150px;
    float: right;
    display: inline;
    margin-right: 10px;
}
.app-download img{
    height: 60px;
    margin-left: 10px;
    text-align: left;
}
.menu-sub_menu-container .menu {
    -webkit-padding-start: 0px;
    -webkit-margin-before: 0.2em;
    -webkit-margin-after: 0.2em;
}
#responsive-form{
	margin:0 auto;
    width:100%;
}
.form-row{
	width: 100%;
}
.column-half, .column-full{
	float: left;
	position: relative;
	padding: 0.65rem;
	width:100%;
	-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}
.clearfix:after {
	content: "";
	display: table;
	clear: both;
}
/**---------------- Media query ----------------**/
@media only screen and (min-width: 48em) { 
	.column-half{
		width: 50%;
	}
}
.nice-form .submit-wrap{
    position:relative;
    margin: 0 auto;
    text-align: center;
}
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 textarea {
	width: 100%;
	padding: 16px;
	border: 2px solid #ccc;
	border-radius: 3px;
	-webkit-box-sizing: border-box;
	 -moz-box-sizing: border-box;
	      box-sizing: border-box;
    color: #000;      
}
input[type="text"]:hover,
input[type="text"]:focus,
input[type="text"]:active,
input[type="email"]:hover,
input[type="email"]:focus,
input[type="email"]:active,
textarea:hover,
textarea:focus,
textarea:active {
    border-color:#ff7300;
    text-decoration: none;
    outline:none;
}
.wpcf7 input[type="text"]:focus{
	background: #fff;
}
.wpcf7-not-valid {
    border: 2px solid #ff0000 !important;
}
.wpcf7-not-valid-tip {
    display: none !important;
}
input[type="submit"] {
	width: 100px;
    border: 2px solid #ccc;
    border-radius: 29px;
    background: transparent;
    padding: 15px 0px;
	cursor: pointer;
    text-align:center;
    font-size:16px;
    text-transform: uppercase;
    font-family:"LatoWeb",Helvetica,Arial,sans-serif;
    margin-bottom: 10px;
    outline: none;
}
.wpcf7-submit:hover{
	color: #ff7300;
    border-color: #ff7300;
}
span.wpcf7-not-valid-tip{
	text-shadow: none;
	font-size: 12px;
	color: #fff;
	background: #ff0000;
	padding: 5px;
}
div.wpcf7-validation-errors { 
	text-shadow: none;
	border: 0 !important;
	padding: 0px;
	color: #FFF;
	text-align: center;
	margin: 0;
	font-size: 16px !important;
}
div.wpcf7-mail-sent-ok{
	text-shadow: none;
	border: 0 !important;
	padding: 0px;
	color: #FFF;
	text-align: center;
	margin: 0;
	font-size: 16px !important;
}
.nice-form {
    font-size:18px;
}
.owl-carousel-item-text{
    line-height: 2.5em;
    text-align: inherit !important;
}

.owl-carousel {
    margin-top: 20px;
}

.home-ul li{
    line-height: 1.5em;
    color: #fff;
}
.bigger-p {
    font-size: 18px;
}

.ol-extra-margin {
    margin-left: 30px;
}
.terms-page {
    color: #fff;
}
.policy p{
    line-height: 1.2em;
}

/**---------------- for over full HD ----------------**/
@media only screen and (min-width: 2000px) { 
	.main-page {
        min-height: 25%;
    }
    .training-page {
        min-height: 25%;
    }
    .contact-page {
        min-height: 25%;
    }
    .error-page {
        min-height: 25%;
    }
    .terms-page {
        min-height: 25%;
    }
    .agencies-page {
        min-height: 25%;
    }
    .agencies-page .images {
        left: 50%;
        width: 900px;
    }
    .main-page .images {
        left: 14%;
        width: 900px;
    }
    .main-page {        
        background-position:  80% 50%; 
    }
    .agencies-page {
        background-position:  20% 50%; 
    }
    .training-page {
        background-position:  100% 50% !important; 
    }
    .terms-page {
        background-position:  60% 0%;
    }
    .contact-page {
        background-position: 20% 50%;
    }
}