/*

Theme Name: Kancelaria Bartosz-Burdiak

*/

/*
#e9eef9 rgba(233,238,249)
#99b7cc rgba(153,183,204)
#3f729b rgba(63,114,155)
#192241 rgba(25,34,65)
*/


/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #eee;
	clip: auto !important;
	clip-path: none;
	color: #444;
	display: block;
	font-size: 1em;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}



body, html {
	color: #192241;
	font-family: 'pt sans','Hind Siliguri',sans-serif;
	font-size: 16px;
	letter-spacing: .03em;
	margin: 0;
	padding: 0;
	position: relative;
}

h1,h2,h3,h4,h5,h6 {
	font-weight: normal;
	margin: 0;
	padding: 0;
}

h2 {
	color: #3f729b;
	font-size: 24px;
}

a {
	color: inherit;
	text-decoration: none;
	transition: .7s;
}

img {
	height: auto;
	max-width: 100%;
}

.grid-cont {
	margin: 0 auto;
	max-width: 94%;
	width: 950px;
}

.grid-cont h2 {
	color: rgba(0, 47, 76, 1);
	font-weight: bold;
	margin: .5em 0 1em;
}

.grid-cont a {
	color: #3f729b;
}

.logo {
	display: inline-block;
	max-width: 60%;
	padding: 10px 0;
}

.logo im {
	background: rgba(255,255,255,.8);
  padding: 20px;
  border-radius: 0 0 10px 10px;
}
.logo img {
	width: 200px;
}

.top-bar {
    background: rgba(0, 47, 76, 1);
    background: rgb(0, 24, 39);
    color: #fff;
    font-weight: bold;
    padding: 3px 0;
    text-align: right;
}
.top-bar a {
    color: #fff;
}
.nav {
		/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#030911+0,05050f+100&1+0,0.51+65,0+100 */
	background: -moz-linear-gradient(top, rgba(3,9,17,.85) 0%, rgba(4,6,16,0.4) 75%, rgba(5,5,15,0) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, rgba(3,9,17,.85) 0%,rgba(4,6,16,0.4) 75%,rgba(5,5,15,0) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(3,9,17,.85) 0%,rgba(4,6,16,0.4) 75%,rgba(5,5,15,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#030911', endColorstr='#0005050f',GradientType=0 ); /* IE6-9 */
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 99;
	transition: .7s;
}
.nav.solid {
	background: rgba(0, 47, 76, 1);
	position: fixed;
}
.nav.solid img {
	width: 120px;
}
.nav.solid .menu-menu-1-container {
	margin-top: 26px;
}

.nav .main_menu li a {
	color: #fff;
	font-size: 15px;
	font-weight: bold;
	padding: 1em .5em;
	position: relative;
	text-decoration: none;
	text-transform: uppercase;
	/*text-shadow: 2px 2px 2px #000;*/
	top: 0px;
}

.nav .main_menu .current-menu-item a {
	color: #45b0ff;
}
.nav .main_menu a:hover, .nav a:hover {
	color: #7bc7ff;
	position: relative;
	/*text-shadow: 2px 2px 2px rgba(0,0,0,0);*/
  top: 0px;
}
.nav ul {
	margin: 0;
	padding: 0;
}
.nav li {
	display: inline-block;
}

.menu-menu-1-container {
	float: right;
	margin-top: 40px;
}
.hamburger {
	display: none;
}
@media screen and (max-width: 700px) {
	.nav {
	background: -moz-linear-gradient(top, rgba(3,9,17,.85) 0%, rgba(4,6,16,0.7) 85%, rgba(5,5,15,0) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, rgba(3,9,17,.85) 0%,rgba(4,6,16,0.7) 85%,rgba(5,5,15,0) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(3,9,17,.85) 0%,rgba(4,6,16,0.7) 85%,rgba(5,5,15,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#030911', endColorstr='#0005050f',GradientType=0 ); /* IE6-9 */
}
	.hamburger {
		background: transparent;
		border: none;
		border-top: 3px solid #fff;
		border-bottom: 3px solid #fff;
		cursor: pointer;
		display: block;
		float: right;
		height: 29px;
		margin: 30px 20px 0 0;
		padding: 0;
		width: 35px;
	}
	.hamburger:after {
		background: #fff;
		content: '';
		display: block;
		height: 3px;
		margin-top: 2px;
		width: 100%;
	}
	.solid .hamburger {
		margin-top: 20px;
	}
	.menu-menu-1-container {
		float: none;
		padding-bottom: 70px;
		text-align: center;
	}
	.menu-menu-1-container li {
		display: block;
	}
	.menu-menu-1-container li a {
		display: inline-block;
		padding: 10px 0;
	}
	.menu-menu-1-container.hide {
		height: 0;
		overflow: hidden;
	}

}

@media screen and (max-height: 500px) {
    .logo img {
    	width: 100px;
    }
    html .nav .menu-menu-1-container {
        margin-top: 0px;
    }
    .menu-menu-1-container li a {
        padding: 2px 0;
    }
}

.main {
	margin-top: 2em;
	margin-bottom: 2em;
}
.main:after {
	clear: both;
	content: '';
	display: block;
}


.title-cont {
	background: #00537C no-repeat center;
	background-size: cover;
	background-attachment: fixed;
	color: #fff;
	padding: 195px 0 50px;
	position: relative;
	text-align: center;
}
.title-cont:beforec {
	background: -moz-linear-gradient(top, rgba(9,26,45,0.75) 0%, rgba(8,23,41,0) 34%, rgba(8,21,38,0) 62%, rgba(7,18,33,0.62) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, rgba(9,26,45,0.75) 0%,rgba(8,23,41,0) 34%,rgba(8,21,38,0) 62%,rgba(7,18,33,0.62) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(9,26,45,0.75) 0%,rgba(8,23,41,0) 34%,rgba(8,21,38,0) 62%,rgba(7,18,33,0.62) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bf091a2d', endColorstr='#9e071221',GradientType=0 ); /* IE6-9 */
	content: '';
	display: block;
	height: 40%;
	position: absolute;
	width: 100%;
	top: 0;
	height: 100%;
	background: rgba(0,0,60,.4);
}
.title-cont h1 {
	margin: 0 auto;
	max-width: 930px;
	position: relative;
	text-shadow: 2px 2px 1px #002;
	z-index: 3;
}
.title-cont:before {
	content: '§';
	display: inline-block;
	font-size: 30px;
	text-shadow: 2px 2px 1px #002;
}

.title-cont .date {
	text-shadow: 2px 2px 2px #002;
}

.title-section h2 {
	bottom: 15%;
	color: #fff;
	font-size: 60px;
	font-style: italic;
	left: 15%;
	position: absolute;
	text-shadow: 2px 2px 8px #000;
	z-index: 3;
}




#onepage {
	position: relative;
}

#onepage section {
	background: #00537C no-repeat center;
	background-size: cover;
	text-align: center;
	position: relative;
}
#onepage section:befoe {
		background: rgba(9, 28, 66, 0.6);
		/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#091a2d+0,071221+100&0.75+0,0+34,0+62,0.62+100 */
		background: -moz-linear-gradient(top, rgba(9,26,45,0.75) 0%, rgba(8,23,41,0) 34%, rgba(8,21,38,0) 62%, rgba(7,18,33,0.62) 100%); /* FF3.6-15 */
		background: -webkit-linear-gradient(top, rgba(9,26,45,0.75) 0%,rgba(8,23,41,0) 34%,rgba(8,21,38,0) 62%,rgba(7,18,33,0.62) 100%); /* Chrome10-25,Safari5.1-6 */
		background: linear-gradient(to bottom, rgba(9,26,45,0.75) 0%,rgba(8,23,41,0) 34%,rgba(8,21,38,0) 62%,rgba(7,18,33,0.62) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bf091a2d', endColorstr='#9e071221',GradientType=0 ); /* IE6-9 */
		content: '';
		display: block;
		height: 100%;
		position: absolute;
		top: 0;
		width: 100%;
}

#onepage section:after {
	content: '';
	display: inline-block;
	height: 100%;
	vertical-align: middle;
	width: 0;
}

html .onepage-pagination li a::before {
	background: #fff;
}
html .onepage-pagination li a.active::before {
	border-color: #fff;
}
.inner-sec {
	background: rgba(0, 47, 76, 0.74);
	background: rgba(68, 72, 78, 0.72);
    border: 1px solid #fff;
	color: #fff;
	display: inline-block;
    font-size: 20px;
	max-width: 85%;
    max-width: calc(100% - 6em);
	padding: 1em 2em;
	position: relative;
	text-align: center;
	vertical-align: middle;
    width: 340px;
	z-index: 3;
}
.inner-sec h2 {
	color: #45b0ff;
	font-family: 'dancing script';
	font-size: 30px;
	/*text-transform: uppercase;*/
	position: relative;
}
.inner-sec h2:after {
	background: #45b0ff;
	content: '';
	display: block;
	height: 2px;
	margin: 9px auto 0;
	width: 20px;
}
.slide2 .inner-sec {
	background: rgba(113, 113, 113, 0.7);
}
.slide3 .inner-sec {
	background: rgba(169, 176, 186, 0.7);
	color: #0f3754;
}
.slide3 .inner-sec h2 {
	color: #0f3754;
}
.slide3 .inner-sec h2:after {
	background: #0f3754;
}
.inner-sec a {
	color: #fff;
	background: #f16c20;
	display: inline-block;
    font-size: 17px;
	padding: .26em .7em .3em;
	text-decoration: none;
    width: 7em;
}
.inner-sec a:hover, .inner-sec a:focus {
	background: #f67c40;
}
.inner-sec a:after {
	content: ' >';
	display: inline;
}


.slogan {
	font-family:'dancing script';
	font-weight:bold;
	line-height: .9;
	text-align: left;
}

.slogan span {
	display: block;
}

.slogan span:last-child {
	padding-left: 50px;
}


html body .osoba {
	color: rgba(0, 47, 76, 1);
	display: inline-block;
	margin-bottom: 2em;
	text-align: center;
	vertical-align: top;
	width: 300px;
}
.osoba .outer-photo {
	display: block;
	border: 1px solid rgba(0, 47, 76, 0.35);
	padding: 10px;
}
.osoba .photo {
	display: block;
	background: no-repeat center;
	background-size: cover;
	padding-top: 100%;
	width: 100%;
}
.osoba .name {
	display: inline-block;
	font-size: 18px;
	font-weight: bold;
	margin-top: .5em;
}
.osoba .title {
    display: block;
    font-style: italic;
    text-align: center;
}

.page-id-4 .content-column, .page-id-254 .content-column, .page-id-16 .content-column {
	font-size: 15px;
}
.page-id-4 .one_fourth, .page-id-254 .one_fourth {
    width: 25%;
    box-sizing: border-box;
    padding: 20px;
}
.page-id-16 .content-column {
	color: #22B5FC;
	text-transform: uppercase;
}


@media screen and (max-width: 700px) {
	.wmle_container {
		height: auto !important;
	}
	.wmle_item_holder {
		width: 100% !important;
		position: static !important;
	}
}
.wmle_item {
	background: #dfe7ff;
	padding: 20px;
	margin: 20px;
}

.wpme_image {
	margin-top: 6px;
}

	/* Kontakt */
html .fa-big {
	color: #00537C;
	font-size: 80px;
	margin-bottom: 20px;
	transition: .7s;
}



.wpgmza_widget {
	width: 100%;
}
.office-photo {
    display: block;
    height: auto;
    width: 100%;
}

@media screen and (min-width: 800px) {
    .wpgmza_widget {
        float: left;
    	width: calc(100% - 333px);
    }
    .office-photo {
        float: right;
        height: 400px;
        width: auto;
    }
}


.footer {
	background: rgba(0, 47, 76, 1);
	color: #ddd;
	padding: 1em;
	text-align: center;
}
