/*
Theme Name: DANEA
Theme URL: 
Description: Theme for DANEA.pl
Version: 1.0
Author: eFabryka.net

*/
html>body #content {
	height: auto;
}

body{
	padding: 0px;
	margin: 0px;
	font: 62.5% 'Montserrat', sans-serif; /* Resets 1em to 10px */
	overflow-y: scroll;		
}

/************************************************
*	HEAD										*
************************************************/

#head.scroll {
	position: fixed;
	z-index: 666;
	margin: 0 auto;
	left: 0;
	right: 0;
	top: -115px;
	background: #fff;
	border-bottom: 1px solid #eaeaed;
}

.text-content.scroll {
	padding-top: 235px;
}

.text-content-home.scroll {
	padding-top: 205px;
}

#head h5 {
	display: none;
}
#head .custom-html-widget {
	display: inline-flex;
	width: 33%;
	}
.header-info {
	padding: 50px 0 0 120px;
	letter-spacing: .2em;
	font-size: 1.5em;
}
.lokalizacja {
	padding: 0 0 0 60px;
	background: url(images/lokalizacja.svg) no-repeat;
	background-position: left center;
	}
	
.rejestracja {
	padding: 0 0 0 60px;
	background: url(images/rejestracja.svg) no-repeat;
	background-position: left center;
}


.email {
	padding: 0 0 0 60px;
	background: url(images/email.svg) no-repeat;
	background-position: left center;
}
.head-bold {
	font-size: .8em;
	color: #000;
	font-weight: 700;
}

.head {
	color: #8C8C8D;
	
}
.logo {
	background: url(images/danea-logo.svg) no-repeat; 
	width: 212px;
	height: 67px;
	background-size: 100% auto;
	position: absolute;
	top: 40px;
	left: 0;
	right: 0;
	margin: 0 auto;
	animation: logoanim 1000ms ease;
}

@keyframes logoanim {
	0%{ top: -70px;}
	100% {top: 40px;}
	}

.lokalizacja p, .rejestracja p {
	padding: 0;
	margin: 0;
}


.menu {
		display: block;
		text-align: center;
		padding: 20px 0 0 0;
		letter-spacing: .3em;
		}
.menu ul {
		margin: 20px 0 0 0;
		padding: 0;
		}

.menu li {
		list-style: none; 
		display: inline-block;
		margin: 30px 0;

		}
		
.menu li a{
		font-size: 1.3em;
		font-weight: 500;
		color: #000;
		padding: 8px 20px;		
		-webkit-transition: 200ms ease;
		transition: 200ms ease;
		text-transform: uppercase;
		}


.menu li.flaga a {
	display: block;
	width: 31px;
	height: 19px;
	background: url(images/flaga-slowacji.svg) no-repeat; 
	background-size: cover;
	padding: 0;
}		
		
.menu li a:hover, .menu li.current-menu-item a	 {
		text-shadow: 0 0.015em #101010,0 -0.015em #101010,0.01em 0 #101010,-0.01em 0 #101010;
		transition: 200ms ease;		
		}
		
		
.menu li.dental a:hover, .menu li..dental.current-menu-item a	 {
		text-shadow: 0 0.015em #7E143C,0 -0.015em #7E143C,0.01em 0 #7E143C,-0.01em 0 #7E143C;
		transition: 200ms ease;		
		}
		
		

.dental a {
	background: url(images/dental.svg) no-repeat;
	padding-left: 30px !important;
	color: #7E143C !important;
}

/************************************************
*	SLIDER										*
************************************************/

.top-line {
	border: 1px solid #EAEAED;
}


/************************************************
*	TEXT										*
************************************************/

.podlew1 {
	background: url(images/podlew.jpg) repeat-y top center;
	background-size: 100% auto;
}

.podlew2 {
	background: url(images/podlew.jpg) repeat-y top center;
	background-size: 100% auto;
	padding: 40px 0;
	animation: fadein 1000ms ease;
}


.text-content {
        font-family: "Lato", sans-serif;
		padding: 30px 0 0 0;
        color: #8C8C8D;  
        font-size: 1.1rem;
        line-height: 2rem;	
		text-align: justify;
}

.text-content-home {
	    font-family: "Lato", sans-serif;
		padding: 0 0 0 0;
        color: #8C8C8D;  
        font-size: 1.1rem;
        line-height: 2rem;	
		text-align: justify;
}

a img,:link img,:visited img { border:none }    
a, a:link {text-decoration: none; color: #8C8C8D;}
a:hover {text-decoration: none;}
strong, b {font-weight: bold;}
em, i {font-style: italic;}
ul {margin: 0;}
::selection {
  color: #fff;
  background: #8C8C8D;
}

h1 {
        font-size: 2.0rem;
        line-height: 1.1em;
		font-weight: 300; 
        margin: 0px;
		padding: 0;
		letter-spacing: .2em;
		text-align: left;
}

h2 {
	font-family: "Montserrat", sans-serif;
	font-size: 1em;
	color: #000;
	text-transform: uppercase;
	font-weight: 500;
	letter-spacing: .2em;
}

h1.pagetitle {
	padding: 20px 0;
	text-align: center;
	padding-top: 50px;
	background: url(images/przerywnik.svg) no-repeat top center;
}

h1 strong {
	font-weight: 500;
}

h1, h1 a {
	color: #000;
}



h3 {
	font-family: "Montserrat", sans-serif;
	font-size: 1rem;
	color: #000;
	padding: 0;
	font-weight: 500;
}

.prawakreska {
	border-right: 1px solid #EAEAED;
}

.oferta {
	transition: 300ms ease;
	
}
.oferta:hover {
	background: #eaeaed;
	transition: 300ms ease;
}

.owl-item h3 {
	padding: 70px 0 0 0;
}

.owl-item h3 a{
	padding: 70px 0 0 0;
	color: #000;
}

.sa_hover_container {
	border-right: 1px solid #EAEAED;
	padding-bottom: 30px !important;
	margin-bottom: 30px !important;
}

.white .sa_owl_theme .owl-nav .owl-next {
	background: none !important;
	
}

.navigation {
	padding-top: 20px;
}

.navigation button {
	border: none !important;
	font-weight: 500 !important;
	font-size: .8em !important;
	padding: 20px !important;
}

.navigation button a {
	padding: 20px;
}

.back {
	float: right;
	margin-bottom: 20px !important;
	padding-right: 20px !important;
	}



.h1-specjalizacje {
	background: url(images/h1-nasze-specjalizacje.svg) no-repeat;
	background-position: center center;
	padding: 20px 40px;
}

.h1-endokrynologia {background: url(images/h1-endokrynologia.svg) no-repeat;}
.h1-stomatologia {background: url(images/h1-stomatologia.svg) no-repeat;} 
.h1-implantologia {background: url(images/h1-implantologia.svg) no-repeat;} 
.h1-ortodoncja {background: url(images/h1-ortodoncja.svg) no-repeat;} 
.h1-radiologia {background: url(images/h1-radiologia.svg) no-repeat;} 
.h1-chirurgia {background: url(images/h1-chirurgia.svg) no-repeat;} 
.h1-ortopedia {background: url(images/h1-ortopedia.svg) no-repeat;} 
.h1-ginekologia {background: url(images/h1-ginekologia.svg) no-repeat;} 
.h1-kardiologia {background: url(images/h1-kardiologia1.svg) no-repeat;} 
.h1-rehabilitacja {background: url(images/h1-rehabilitacja.svg) no-repeat;} 
.h1-neurologia {background: url(images/h1-neurologia.svg) no-repeat;} 
.h1-neuropsychologia {background: url(images/h1-neuropsychologia.svg) no-repeat;} 
.h1-dermatologia {background: url(images/h1-dermatologia.svg) no-repeat;} 
.h1-urologia {background: url(images/h1-urologia.svg) no-repeat;} 
.h1-dietetyka {background: url(images/h1-dietetyka.svg) no-repeat;} 
.h1-punkt-poboru {background: url(images/h1-punkt-poboru.svg) no-repeat;} 
.h1-asystentka {background: url(images/h1-asystentka.svg) no-repeat;} 
.h1-higienistka {background: url(images/h1-higienistka.svg) no-repeat;} 
.h1-rejestracja {background: url(images/h1-rejestracja.svg) no-repeat;} 
.h1-manager {background: url(images/h1-manager.svg) no-repeat;} 
.h1-gastroenterologia {background: url(images/h1-gastroenterologia.svg) no-repeat;} 


.h1-set {
	padding: 20px 40px;	
	background-size: auto 60px;
	background-position: 79px center;
}

.h1-aktualnosci {
	background: url(images/h1-aktualnosci.svg) no-repeat;
	background-position: center center;
	padding: 20px 40px;
}

.h1-onas {
	background: url(images/h1-onas.svg) no-repeat;
	background-position: center center;
	padding: 20px 40px; 
}



a.fl-button {
	background: none !important;
	border-radius: 0 !important;
	border: 1px solid #B7B9BF !important;
	transition: 200ms ease;
}

a.fl-button:hover {
	background: #B7B9BF !important;
	color: #fff !important;
	transition: 200ms ease;
}
a.fl-button:hover > span {
	color: #fff !important;
}

.personel {
	text-align: center;
}

.personel h2 {
	font-family: "Montserrat", sans-serif;
	color: #000;
	font-weight: 500;
	font-size: 1em;
	padding: 0;
	margin: 0;
	letter-spacing: 0;
    text-transform: none;
}
.personel h3 {
	font-family: "Montserrat", sans-serif;
	color: #000;
	font-weight: 500;
	font-size: 1.2em;
	letter-spacing: .2em;
	margin: 0;
	padding: 0;
}
.personel h4 {
	font-family: "Montserrat", sans-serif;
	color: #C0A48E;
	font-weight: 500;
	font-size: .9em;
	margin: 20px 0 0 0;
	padding: 0;
}



.fl-module img {
	height: auto;
}
/************************************************
*	LAYOUT										*
************************************************/

.inside {
		width: 1340px;
		margin: 0 auto;
		animation: fadein 1000ms ease;
}

.page {}
.post-on-list {
	width: 49%;
	float: left;
	margin-bottom: 50px;
}

.post-on-list:hover > div a .date {
	right: 12%;
	transition: 200ms ease;
}

.post-on-list:nth-child(4n+1) {
	border-right: 1px solid #EAEAED;
}

.list{
	margin: 0 auto;
	width: 80%;
	display: block;
}
.list h1 {
	font-size: 1.3rem;
	letter-spacing: 0;
	margin: 20px 0;
	color: #8C8C8D;
	font-weight: 500;
	text-align: center;
}
.list h1 a{
	color: #8C8C8D;
}
.list img.attachment-post-thumbnail {
	margin: 0 auto;
	display: block;
}
.list .date {
	position: relative; 
	top: 30px;
	right: 10%;
	background: #f4f6fb;
	padding: 5px 10px;
	color: #000;
	display: inline;
	font-size: .8rem;
	float: right;
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	transition: 200ms ease;
}

.single .date {
	color: #000;
	font-size: .8em;
	letter-spacing: .2em;
}

.list p {
	line-height: 2.3rem;
	text-align: center;
}

.czytajwiecej {
	color: #000 !important;
	font-size: .8rem;
	text-align: center;
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	margin: 0 auto;
	display: block;
	background: none !important;
	border: none !important;
	cursor: pointer;
	padding: 10px 0;
	transition: 200ms ease;
}

.czytajwiecej:hover {
	box-shadow: inset 0 -1px 0 #000;
	transition: 200ms ease;
}	

.post-break:nth-child(4n+0) {
	height: 10px;
	background: url(images/kreski.svg) repeat-x;
	display: block;
	clear: both;
	margin: 20px 0;
}

.kreski {
	min-height: 10px;
	background: url(images/kreski.svg) repeat-x;
	display: block;
	margin: 20px 0;
	float: none; 
} 

.single{}

.singlethumbnail {
	float: left;
	margin-right: 30px;
	margin-bottom: 30px;
}

#singlecontent {
	display: flex;
	flex-direction: column;
	padding: 0 20px;
}

.alignleft {
			float: left;
			margin-right: 20px;
			}
.alignright {
			float: right;
			margin-left: 20px;
			}
.aligncenter {
			text-align: center;
			margin: 0 auto !important;
			display: block;
			text-align: center;
			float: none;
			}

.item p a{
	text-decoration: none;
}
.clear {clear: both;}
/************************************************
*	SIDEBAR									*
************************************************/

/************************************************
*	FOOTER									*
************************************************/
#foot {
	background: url(images/podlew.jpg) repeat-x;
	padding: 20px 0;
	font-size: 1.2em;
	font-weight: 700;
}

#foot-top {
        font-family: "Lato", sans-serif;
		padding: 50px 10px 50px 10px;
        color: #8C8C8D;  
        font-size: 1.1rem;
        line-height: 2rem;	
		text-align: justify;
		background: url(images/kreski.svg) top center repeat-x;
		}

#foot-top .rejestracja {
	margin: 40px 0;
}

.foot-contact {
	float: left;
	width: 400px;
}

.foot-mapa {
	display: flex;
}

#foot h5, #foot-top h5 {
	display: none; 
}

.foot-light {
	color: #B7B9BF;
	font-weight: 500;
}

.efabryka {
	background: url(images/efabryka-logo.svg) no-repeat;
	background-position: right center;
	padding: 10px 130px 10px 0;
	float: right;
	display: block;
	margin-right: 10px;
}

.copyright {
	display: block;
	float: left;
	padding: 10px 0 10px 10px;
}

/************************************************
*	PLUGINS											*
************************************************/				
.owl-stage {
	display: flex;
}

.owl-item .sa_hover_container {background-size: 80px auto !important;}

.sa_owl_theme .owl-item .sa_hover_container .always_visible .sa_slide_link_icon, .sa_owl_theme .owl-item .sa_hover_container .always_visible .sa_popup_zoom_icon, .sa_owl_theme .owl-item .sa_hover_container .always_visible .sa_popup_video_icon, .sa_owl_theme .owl-item .sa_hover_container:hover .sa_hover_buttons .sa_slide_link_icon, .sa_owl_theme .owl-item .sa_hover_container:hover .sa_hover_buttons .sa_popup_zoom_icon, .sa_owl_theme .owl-item .sa_hover_container:hover .sa_hover_buttons .sa_popup_video_icon
{
	width: 200px !important;
	height: 200px !important;
	background: none !important;
	position: relative !important;
	top: 0 !important;
	
}



div#n2-ss-2 .n2-ss-slider-2  {
	height: calc(100vh - 190px) !important;
	min-height: 600px !important;
}

td.column-1 {
	width: 90%;
}

td.column-2 {
	min-width: 150px;
}

.tablepress {
	font-family: "Montserrat", sans-serif;
}

.tablepress thead th {
	background: url(images/podlew.jpg) top center #f2f5fc !important;
	border: 0 !important;
	color: #000 !important;
	letter-spacing: .2em !important;
	padding: 20px 10px;
}


h1.aps-title {
	display: none !important;
}

#slider_logotypy img {
	width: auto !important;
	height: auto !important;
}

h2.aps-post-title {
    font-size: 1.3rem !important;
    letter-spacing: 0 !important;
    margin: 20px 0 !important;
    color: #8C8C8D !important;
    font-weight: 500 !important;
    text-align: center !important;
}

.aps-themeb {
	border: none !important;
	box-shadow: none !important;
}

.aps-themeb p {
	text-align: center;
}
	
.aps-themeb .read-more {
	font-size: .8rem !important;
	color: #000 !important;
    font-family: Montserrat, sans-serif !important;
	text-transform: uppercase;
	font-weight: 700 !important;
	transition: 200ms ease;
	margin: 0 auto;
	width: 130px;
}
.aps-themeb .read-more:hover {
	box-shadow: inset 0 -1px 0 #000 !important;
	transition: 200ms ease;
}
				
/************************************************
*	ANIMATION									*
************************************************/	
@keyframes fadein {
	0%{opacity: 0;}
	100%{opacity: 1;}
}


/************************************************
*	RESPONSIVE									*
************************************************/	
@media(max-width:1340px) {
	.inside {width: 100%;}
}
 
@media(max-width:1280px) {
	.menu li a {
		padding-left: 15px;
		padding-right: 15px;
		}
}

@media(max-width:1150px) {
	.list img.attachment-post-thumbnail {
		width: 80%;
		height: auto;
	}
}
	
@media(max-width:1115px) {
		.menu li a {
		padding-left: 5px;
		padding-right: 5px;
		}
	.header-info {
		padding-left: 20px;
	}

} 	

@media(max-width:940px) {
						#head .menu {
							display:none;
						}
						.logo {
							top: 90px;
							animation: none;
						}
						#head.scroll {
						position: inherit;
						z-index: 666;
						margin: 0 auto;
						left: 0;
						right: 0;
						top: inherit;
						background: #fff;
						border-bottom: 1px solid #eaeaed;
						}
						.text-content.scroll {
						padding-top: inherit;
						}
						.text-content-home.scroll {
						padding-top: inherit;
						}
						.text-content-home {
							padding-top: 30px;
						}
						
						.single {
							margin-top: 45px;
						}
						img {
							max-width: 100%;
							height: auto;
						}


}
	
	@media(max-width:837px) {
		#head .lokalizacja, #head .rejestracja {
			letter-spacing: 0;
			}	
		#singlecontent {
			display: inherit;
			float: none;
			clear: both;
			margin-top: 30px;
		}
		
	.singlethumbnail  {
		width: 100%;
		text-align: center;
		clear: both;
		float: none;
	}
	.single img.wp-post-image {
		display: block;
		margin: 0 auto;
		float: none;
		
	}
	
	
	@media(max-width:768px) {
		.foot-mapa {
			display: block;
			float: none;
			width: 100%;
			height: auto;
} 			
			
			
			
	@media(max-width:687px) {
		#head .lokalizacja, #head .rejestracja {
			display: none;
			}
		#head {
			height: 110px;
		}
		.post-on-list {
			width: 100%; 
			float: none;
		}
		.post-on-list img {
			display: block;
			margin: 0 auto;
		}
		.list img.attachment-post-thumbnail {
			width: 100%;
		}
		
		div#n2-ss-2 .n2-ss-slider-2 {
			min-height: inherit !important;
			height: inherit !important;
		}
} 				
	@media(max-width:575px) {
		
.efabryka, .copyright {
		float: left;
		clear: both;
		padding-left: 20px;
		}
	}
	
	
	@media(max-width:380px) {
		.h1-set {
			padding-left: 0; 
			padding-right: 0; 
			background-position: left center;
			}
			
		h1 {font-size:1.6em;}
		.text-content table {
			font-size: .9rem;
		}
	}
	 


}
}
/* SK-OVERRIDE v2: close any unclosed blocks above, then override */
@media all {
  .h1-aktualnosci { background: none !important; padding: 0 !important; }
  .h1-specjalizacje { background: none !important; padding: 0 !important; }
  .h1-onas { background: none !important; padding: 0 !important; }
}

/* PL-FLAG-OVERRIDE */
@media all { .menu li.flaga a { background: url("data:image/svg+xml;utf8,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 8 5%22><rect width=%228%22 height=%225%22 fill=%22%23fff%22/><rect y=%222.5%22 width=%228%22 height=%222.5%22 fill=%22%23dc143c%22/></svg>") no-repeat !important; background-size: cover !important; border: 1px solid #ccc !important; box-sizing: border-box !important; } }
