/*
Theme Name: Codex Kancelaria Prawna
Author: woiteh.com
Author URI: http://www.woiteh.com
Version: 1.0
*/

html, body{
	font-family: 'Domine', serif;
}
html{
	background-color: #aeaeae;
}
/***************************************************/
/********              CSS              ************/
/***************************************************/
body{
	background-color:#fff;
}
img{
	max-width:100%;
	height:auto;
}

a{
	transition:all ease-in-out 0.3s;
}
a:hover{
	text-decoration:none;
}



/***************************************************/
/********            HEADER             ************/
/***************************************************/

header{
	min-height:110px;
	width:100%;
	background-color: #03132b;
}
header .logo{
	display:block;
	background-image:url(img/Logo_Codex_Kancelaria.png);
	background-size:contain;
	width:100%;
	background-repeat:no-repeat;
	background-position:left center;
	height:80px;
	margin:15px 10px;
	color:transparent;
	text-indent:-9999px;
}
header .main-menu{
}
header .main-menu .mobile-menu{
	display:none;
}

header .main-menu ul{
	display:block;
	margin:30px 0;
	padding:0;
	float:right;
}
header .main-menu ul li{
	float:left;
	list-style:none;
	display:inline-block;
	margin-left: 10px;
}
header .main-menu ul li a{
	display: block;
	text-transform:uppercase;
	font-size:16px;
	padding:8px 13px;
	line-height:30px;
	color:#fff;
	position:relative;
	overflow:hidden;
	transition:all ease-in-out 0.5s;
	border:1px solid #03132b;
	border-radius: 10px;
}
header .main-menu ul li a:hover{
	text-decoration:none;
	color:#0090ff;
	border-color: #0090ff;
}

@media (max-width: 1199px){
	header .main-menu ul li a{
	  font-size:16px;
	}
}
@media (min-width: 992px) and (max-width: 1199px){
	header .main-menu ul li a{
	  padding:5px 6px;
	  font-size:14px;
	}
}
@media (min-width: 768px) and (max-width: 991px){
	header .main-menu ul li{
		float:none;
	}
	header .main-menu ul{
		text-align:center;
	}
	
}
@media (max-width: 991px){
	header .logo{
		background-position: center;
		margin-top:20px;
	}
	header .main-menu{
		clear:both;
	}
	header .main-menu ul{
		margin:0px 15px 20px;
	}
	
}

header .mobile-menu {
	padding:15px 10px;
	text-align:center;
	font-size:18px;
	line-height:65px;
	font-weight:600;
	color:#fff;
	padding:0 15px;
	background-color:#666;
	cursor:pointer;
}
@media (max-width: 767px){
	header .main-menu .mobile-menu{
		display:block;
	}
	header .main-menu ul li{
		width: 100%;
		text-align:center;
		margin-top:10px;
		margin-left:0;
	}
	header .main-menu ul li a{
		border-color: #0090ff;
	}
	header .main-menu .menu > ul{
		max-height:0;
		opacity:0;
		transition:all ease-in-out 0.3s;
		
	}
	header .main-menu.mob-is-vis .menu > ul{
		max-height:9999px;
		opacity:1;
	}
	h2{
		text-align:center;
	}
	#page-content{
		padding: 20px 0;
	}
	#page-content p{
		font-size:16px;
		line-height:22px;
		padding-left: 20px;
		padding-right:20px;
	}
}
@media (max-width: 991px){
	
}
/***************************************************/
/********            SLIDER             ************/
/***************************************************/
#slider{
	overflow:hidden;
	display:inline-block;
	width:100%;
	float:left;
	clear:both;
	height:650px;
	max-height: 100vh;
	position:relative;
}
#slider .flexslider{
	margin:0;
}
#slider .slides .slajd{
	height:650px;
	max-height:100vh;
	background-size:cover;
	background-position:center;
}
#slider .flex-control-nav{
	bottom:30px;
}
#slider .flex-control-paging li a{
	border:1px solid #004c86;
	background-color:#0090ff;
	border-radius:60%;
	box-shadow:none;
}
#slider .flex-control-paging li a.flex-active{
	background-color:#004c86;
}

.spin{
	-webkit-animation: spin 1.5s linear infinite;
  	animation: spin 1.5s linear infinite;
}
#slider .loader{
	position:absolute;
	top:0; left:0; right:0; bottom:0;
	background-color:#f2f2f2;
	opacity:0;
	transition:all ease-in-out 0.5s;
}
#slider .loader.loading{
	opacity:1;
}
#slider .loader .loader-center{
	margin:0 auto;
	width:50px;
	text-align:center;
	margin-top: 250px;
}
#slider .loader .loader-center span::before{
	display:block;
	font-size:40px;
}
#slider .flex-direction-nav a{
	background-color: rgba(3,19,43,1);
}
#slider .flex-direction-nav a::before{
	color:#fff;
}

/* include this only once */
@-webkit-keyframes spin {
    0%   {
        -webkit-transform: rotate(0deg);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(0deg);  /* IE 9 */
        transform: rotate(0deg);  /* Firefox 16+, IE 10+, Opera */
    }
    100% {
        -webkit-transform: rotate(360deg);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(360deg);  /* IE 9 */
        transform: rotate(360deg);  /* Firefox 16+, IE 10+, Opera */
    }
}
@keyframes spin {
    0%   {
        -webkit-transform: rotate(0deg);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(0deg);  /* IE 9 */
        transform: rotate(0deg);  /* Firefox 16+, IE 10+, Opera */
    }
    100% {
        -webkit-transform: rotate(360deg);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(360deg);  /* IE 9 */
        transform: rotate(360deg);  /* Firefox 16+, IE 10+, Opera */
    }
}

/***************************************************/
/********              PAGE             ************/
/***************************************************/

#page-title{
	background-color: #03132b;
	clear:both;
	font-size: 50px;
	line-height: 60px;
	padding:30px 0;
	color: #FFF;
}
#page-title.szary{
	background-color:#ddd;
}
#page-title.szary h2{
	color:#333;
}
#page-content{
	color:#424242;
	padding:30px 0;
	text-align:justify;
}
#page-content p,
#page-content ul li{
	margin-bottom: 10px;
	font-size:18px;
	line-height:26px;
}
@media (max-width: 1199px){
	#page-content p,
	#page-content ul li{
		font-size:16px;
		line-height:20px;
	}
}
#page-content ul li{
	line-height:26px;
}
#page-content ul{
	margin-bottom:30px;
	padding-left:20px;
}

/***************************************************/
/*************     KONTAKT PAGE    *****************/
/***************************************************/

.kontakt-content{
}
.kontakt-content .content h3{
	margin-top:20px;
	margin-bottom:2px;
	font-weight:600;
}
.kontakt-content .content h3:first-child{
	margin-top:0px;
}
.kontakt-content .content p{
	margin-bottom:0px;
	font-size:16px;
	line-height:20px;
}
.kontakt-content .formularz{
}
.kontakt-content .formularz .col-lg-6:first-child{
	padding-right:0;
}
.kontakt-content .formularz input,
.kontakt-content .formularz textarea{
	border:1px solid #CCC;
	padding:10px 15px;
	font-size:16px;
	color:#999;
	margin-bottom:10px;
	width:100%;
	transition:all ease-in-out 0.3s;
}
.kontakt-content .formularz textarea{
	height:200px;
	min-height:80px;
	resize:vertical;
}
.kontakt-content .formularz input:focus,
.kontakt-content .formularz textarea:focus{
	border-color:#0a1b7d;
	padding:10px 15px;
	font-size:16px;
	color:#0a1b7d;
	margin-bottom:10px;
	width:100%;
}
.kontakt-content .formularz input.wpcf7-submit{
	width:200px;
	background-color:#CCC;
	color:#fff;
}
.kontakt-content .formularz input.wpcf7-submit:hover{
	background-color:#0a1b7d;
	transform:scale(1.1);
}
.page-template-page-kontakt #map{
	height:400px;
	max-height:100vh;
}


/***************************************************/
/********             FOOTER            ************/
/***************************************************/

footer .footer-content{
	padding:20px 0;
	clear:both;
	width:100%;
	background-color: #aeaeae;
}
footer .footer-content img{
	height: auto;
	max-width: 100%;
}
footer .footer-content h4{
	font-size:30px;
}
footer .footer-content .kontakt-line{
	display:block;
	clear:both;
	position:relative;
	margin-bottom:10px;
}
footer .footer-content .kontakt-line i.fa{
	font-size:30px;
	line-height:32px;
	color:#9b9b9b;
	position:absolute;
	top:0;
	left:0;
	width:30px;
	text-align:center;
}
footer .footer-content .kontakt-line i.fa.fa-envelope-o{
	font-size:22px;
}
footer .footer-content .kontakt-line span{
	margin-bottom:3px;
	line-height:20px;
	font-size:16px;
	display:inline-block;
	margin-left:45px;
	padding-top:4px;
}

footer .footer-copyright{
	padding:20px 0;
	font-size:14px;
	line-height:16px;
	color:#e0e0e0;
	font-weight:400;
	float:left;
	clear:both;
	width:100%;
	background-color:#727272;
}
footer .footer-copyright p{
	margin-bottom:0;
}
footer .footer-copyright .woiteh{
	text-align:right;
}
footer .footer-copyright .woiteh a{
	color:#fff;
}
footer .footer-copyright .woiteh a:hover{
	color:#999;
}
@media (max-width: 991px){
	footer .footer-content{
		text-align:center;
	}
	footer .footer-content .kontakt-line{
		display:inline-block;
		clear:both;
		margin:10px 20px;
	}
	footer h4{
		text-align:center;
	}
	footer .footer-copyright .woiteh,
	footer .footer-copyright .copyright{
		margin:10px 0;
		text-align:center;
	}
}