/*
Theme Name: VISIODENTAL
Theme URL: 
Description: 
Version: 1.0
Author: eFabryka

*/

@import "css/fonts.css";

html>body #content {
	height: auto;
}

body{
	padding: 0px;
	margin: 0px;
	font: 62.5% 'Montserrat', sans-serif; /* Resets 1em to 10px */
	overflow-y: scroll;	
	animation: fadein 1000ms ease;	
	color: var(--f-color);
	background: #fff;
}

:root {
	--f-color: #000;
	--s-color: #2DA3C1;
	--t-color: #21516D;
	--h-color: #162938;
}

/************************************************
*	HEAD										*
************************************************/

#head{
	position: fixed;
	z-index: 999;
	left: 0;
	right: 0;
	margin: 0 auto;
	border-bottom: 1px solid #fff;
	transition: 200ms;
	}
	
#head.scroll{
	background: var(--t-color);
	transition: 200ms;
	}
	
#head .logo {
	width: 295px;
	height: auto;		
	transition: 200ms;
	margin: 7px 0 7px 10px;
	}

#head h5 {display: none;}

#head .inside {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#head .menu {
		display: block;
		text-align: right;
		}
		
#head ul.menu {
		margin: 0 10px 0 0;
		padding: 0;
		}

#head .menu li {
		list-style: none; 
		display: inline-block;
		font-family: 'Poppins', sans-serif;
		margin-right: 20px;
		}
		
#head .menu li:last-of-type {
		margin-right: 0;
		}
		
#head .menu li a{
		font-size: 1rem;
		font-weight: 700;
		transition: 200ms ease;
		color: #fff;
		transition: 200ms;
		}
			
#head .menu li a:after {
		content: '';
		width: 5px;
		height: 5px;
		display: block;
		border-radius: 100%;
		background: var(--s-color);
		margin: 0 auto;
		opacity: 0;
		transition: 200ms;
		}
		
#head .menu li a:hover, #head .menu li.current-menu-item a {
		color: var(--s-color);
		transition: 200ms;
		}

#head .menu li a:hover:after {
	opacity: 1;
	transition: 200ms;
}
		
#head .menu li.menu-item-has-children {
	position: relative;
}	
	
#head .menu li.menu-item-has-children:after {
	content: url(images/li-after.svg);
	margin-left: 5px;
	transition: 200ms;
	display: inline-block;
	
}	

#head .menu li.menu-item-has-children:hover:after {
	transform: rotate(90deg);
	transition: 200ms;
}

	
#head ul.sub-menu {
		display: flex;
		width:250px;
		flex-direction: column;
		padding: 30px 0 0 0;
		position: absolute;
		left: -70px;
		transform-origin: top;
		transition: 500ms ease;
		z-index: 666;
		transform: scale(1,0);
		opacity: 0;
}

#head ul.sub-menu li {
	padding: 10px 10px;
	text-align: center;
	margin: 4px 0;
}

#head ul.sub-menu li a {
	padding: 10px 10px;
	text-align: center;
}

#head ul.sub-menu li a:hover {
}

#head li.menu-item-has-children:hover > ul.sub-menu {
	transform: scale(1,1);
	opacity: 1;
	transition: 500ms;
}

a.zadzwon img {
	display: block;
	z-index: 999;
	right: 5px;
	bottom: 100px;
	width: 60px;
	height: 60px;	
	position: fixed;
	animation: telanim 3000ms infinite;
}

@keyframes telanim {
	0% {transform: rotate(0deg);}
	47% {transform: rotate(0deg);}
	48% {transform: rotate(10deg);}
	49% {transform: rotate(-10deg);}
	50% {transform: rotate(10deg);}
	51% {transform: rotate(-10deg);}
	52% {transform: rotate(10deg);}
	53% {transform: rotate(-10deg);}
	54% {transform: rotate(0deg);}
	
}

/************************************************
*	TEXT										*
************************************************/

.text-content {
	font-size: 1rem;
	line-height: 1.6rem;
}

.text-content li {
	list-style-image: url(images/li.svg);
	padding-left: 40px;
}

.text-content ul {
	padding-left: 20px;

}

.tcolor {
	color: var(--t-color);
}

a img,:link img,:visited img { border:none }    
a, a:link {text-decoration: none; color: var(--page-color);}
a:hover {text-decoration: none;}
strong, b {font-weight: bold;}
em, i {font-style: italic;}
ul {margin: 0;}

::selection {color: #fff;background: #333;}

.text-content h1 {
		font-family: 'Poppins', sans-serif;
        font-size: 2.0rem;
		line-height: 2.3rem;
}

.text-content h2 {
	font-family: 'Poppins', sans-serif;
        font-size: 2.5rem;
		line-height: 2.8rem;
		margin: 10px 0;
		color: var(--h-color);
}

.text-content h3 {
	font-family: 'Poppins', sans-serif;
        font-size: 1.563rem;
		line-height: 1.8rem;
		margin: 0;
		color: var(--t-color);
		font-weight: 500;
}

.text-content h4 {
	font-family: 'Poppins', sans-serif;
        font-size: 2.188rem;
		line-height: 2.3rem;
		margin: 0;
		color: var(--s-color);
		font-weight: 700;
}

.text2 {
	font-family: 'Poppins', sans-serif;
	font-size: 1.563rem;
	line-height: 2.1rem;
	color: var(--h-color);
}

/************************************************
*	LAYOUT										*
************************************************/
.blog-header {
	background: url(images/blog-header.jpg) no-repeat;
	background-size: cover;
	background-position: center;
	width: 100%;
	height: 386px;
}

.singlepost {
	width: 900px;
	box-sizing: border-box;
	margin: 0 auto;
	padding: 0 10px;
}

.singlepost .miniatura img {
	width: 80%;
	height: auto;
	border-radius: 20px;
	margin: 40px 0 0 0;
}

.singlepost .miniatura {
	text-align: center;
}

.singlepost .fl-button {
	float: right;
	margin: 0 20px 40px 0 !important;
	display: inline-block !important;
	
}

.singlepost h1 {
	margin: 40px 0 10px 0;
}

.singlepost .data {
	display: block;
	background: url(images/data.svg) no-repeat;
	background-position: left center;
	background-size: auto 15px;
	padding-left: 25px;
}


.lista-wpisow {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}

.lista-wpisow .wpis {
	box-sizing: border-box;
	width: 50%;
	padding: 0 40px 20px 0;
	display: flex;
	margin-bottom: 40px;
}

.lista-wpisow .wpis div {
	width: 50%;
	box-sizing: border-box;
}

.lista-wpisow .wpis .miniatura img {
	width: 100%;
	height: auto; 
	border-radius: 20px;
}

.lista-wpisow .wpis .miniatura  {
	padding-right: 40px;
}

.lista-wpisow .wpis h2  {
	font-size: 1rem;
	line-height: 1.2rem;
	margin: 0;
	text-transform: uppercase;
}

.lista-wpisow .wpis .fl-button  {
	display: inline-block !important;
	margin-top: 20px !important;
}

.lista-wpisow .wpis .data {
	display: block;
	background: url(images/data.svg) no-repeat;
	background-position: left center;
	background-size: auto 15px;
	padding-left: 25px;
}

.kontakt-podstrona .telefon {
	background: url(images/telefon-foot.svg) no-repeat;
	background-position: left top;
	background-size: 46px auto;
	padding-left: 55px;
}

.kontakt-podstrona .email {
	background: url(images/email-footer.svg) no-repeat;
	background-position: left top;
	background-size: 42px auto;
	padding-left: 55px;
}

.kontakt-podstrona .mapa {
	background: url(images/mapa-footer.svg) no-repeat;
	background-position: left top;
	background-size: 39px auto;
	padding-left: 55px;
}

.kontakt-podstrona .godziny {
	background: url(images/zegar-footer.svg) no-repeat;
	background-position: left top;
	background-size: 34px auto;
	padding-left: 45px;
}

.kontakt-podstrona strong {
	color: var(--s-color);
}

.kontakt-podstrona {
	font-weight: 700;
}

.kontakt-podstrona a {
	transition: 200ms;
}

.kontakt-podstrona a:hover  {
	color: var(--s-color);
	transition: 200ms;
}

.strongcolor strong {
	color: var(--t-color);
}

.sp-testimonial-content p {
	color: #fff !important;
	font-weight: 700 !important;
}

h4.sp-testimonial-client-name {
	color: #fff !important;
	font-weight: 700 !important;
	font-size: 1.2rem !important;
}

.kafle-glowna-dol {
	font-family: 'Poppins', sans-serif;
        font-size: 1.25rem;
		line-height: 1.8rem;
		margin: 0;
		font-weight: 700;	
}

.kafle-glowna-dol .fl-module {
	background: #F1F4F6;
	border-radius: 20px;
	margin: 0 20px 20px 20px !important;
	width: calc(100% - 40px) !important;
	min-height: 300px;
}

.kafle-glowna-dol .fl-module img {
	margin: 20px auto 40px auto !important;
}

.kafle-glowna-dol .fl-col:nth-of-type(1) img {margin-top: 80px !important;}
.kafle-glowna-dol .fl-col:nth-of-type(2) img {margin-top: 90px !important;}
.kafle-glowna-dol .fl-col:nth-of-type(4) img {margin-top: 0 !important;}

.licznik .fl-module {
	text-align: center;
	color: #fff;
	font-size: 1.25rem;
	line-height: 1.5rem;
}

.licznik .fl-module h2 {
	font-family: 'Poppins', sans-serif;
	font-size: 3.75rem;
	color: #fff;
	font-weight: 700;
	margin-bottom: 50px;
}

.licznik .fl-module h3 {
	font-family: 'Poppins', sans-serif;
	font-size: 1.563rem;
	line-height: 1.9rem;
	color: #fff;
	font-weight: 700;
}

.baner {
	background: #147395;
	color: #fff;
	font-family: 'Poppins', sans-serif;
	font-size: 1rem;
	font-weight: 700;
	height: 303px;
	display: flex;
	align-items: center;
	margin: 0 !important;
	padding: 0 !important;
}

.kafle-glowna.pomoc .baner {
	height: 150px;
}

.kafle-glowna.pomoc .baner.lewy p {
	margin-left: 20px;
}

.baner.lewy {
	border-radius: 20px 0 0 20px;
}

.baner.lewy p {
	padding-left: 60px;
	background-image: url(images/telefon1.svg);
	background-repeat: no-repeat;
	background-position: left center;
	background-size: auto 46px;
}

.baner.srodek p {
	padding-left: 60px;
	background-image: url(images/czas1.svg);
	background-repeat: no-repeat;
	background-position: left center;
	background-size: auto 34px;
}

.baner.prawy p {
	padding-left: 60px;
	background-image: url(images/opinie1.svg);
	background-repeat: no-repeat;
	background-position: left center;
	background-size: auto 40px;
}

.baner.srodek {

}

.baner.prawy {
	border-radius: 0 20px 20px 0;
	margin-right: 20px !important;
}

.baner strong {
	color: #A1E2E1;
	font-size: 1.25rem;
	font-weight: 700;
}

.ciemnetlo {
	background: #21516D;
	color: #fff;
	margin: 0;
}

.ciemnetlo p {
		padding: 0 20px 20px 20px; 
}

.ciemnetlo .fl-button {
		margin: -20px 0 10px 0 !important;
}

.ciemnetlo.top {
	border-radius: 20px 20px 0 0;
}

.ciemnetlo.bottom {
	border-radius: 0 0 20px 20px;
}

.ciemnetlo strong:last-of-type {
	display: inline-block;
	padding-top: 20px;
}

.kafle-glowna .obrazek {
	padding: 0 !important;
	margin-right: 20px !important;
	width: calc(100% - 20px) !important;
	margin-bottom: 20px !important;
}

.kafle-glowna .obrazek2 {
	padding: 20px 0!important;
}


.kafle-glowna .obrazek3 {
	padding: 0 0 20px 0 !important;
	margin-right: 20px !important;
	width: calc(100% - 20px) !important;	
}

.ciemnetlo2 {
	background: #147395;
	color: #fff;
	padding: 0 20px 10px 20px !important; 
	margin-right: 20px !important;
	width: calc(50% - 20px) !important;
	border-radius: 20px;
	line-height: 1.5rem;
	margin-bottom: 20px !important;
}

.ikony-glowna {
	font-size: 1rem;
	line-height: 1.5rem;
	font-weight: 700;
	color: #21516D;
	font-family: 'Poppins', sans-serif;
}

.ikony-glowna .fl-module {
	cursor: crosshair;
}

.ikony-glowna .fl-module img{
	transition: 300ms;
}

.ikony-glowna .fl-module:hover img{
	transform: scale(-1,1);
	transition: 300ms;
}

.marginesy .fl-module {
	padding: 10px !important;
	margin: 0 !important;
}

.naglowek h1 {
	font-family: 'Poppins', sans-serif;
	font-size: 2.5rem;
	line-height: 2.9rem;
	color: #fff;
	font-weight: 700;
	margin-top: 380px;
	margin-bottom: 0;
}

.naglowek h2 {
	font-family: 'Poppins', sans-serif;
	font-size: 1.875rem;
	line-height: 2.3rem;
	color: #fff;
	font-weight: 100;
	font-style: italic;
	margin: 0;
}

.naglowek .fl-button {
	display: inline-block !important;
	margin: 30px 0 80px 0 !important;
}

.inside {
        width: 1440px;
		margin: 0 auto;
}

.alignleft {float: left;margin-right: 20px;}
.alignright {float: right;margin-left: 20px;}
.aligncenter {display: block;text-align: center;margin: 0 auto !important;}
.item p a{text-decoration: none;}
.clear {clear: both;}


/************************************************
*	FOOTER									*
************************************************/
#foot {
	background: #162938;
	padding: 20px 0;
	color: #fff;
	font-size: 1rem;
	line-height: 1.6rem;
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
}

#foot, #foot a {
	color: var(--s-color);
	transition: 200ms;
}

#foot .foot-top {
	margin-bottom: 30px;
}

#foot strong {
	color: #fff;
}

#foot a:hover {
	opacity: .6;
	transition: 200ms;
}

#foot .telefon {
	background: url(images/telefon-foot.svg) no-repeat;
	background-position: left top;
	background-size: 46px auto;
	padding-left: 55px;
}

#foot .email {
	background: url(images/email-footer.svg) no-repeat;
	background-position: left top;
	background-size: 42px auto;
	padding-left: 55px;
}

#foot .mapa {
	background: url(images/mapa-footer.svg) no-repeat;
	background-position: left top;
	background-size: 39px auto;
	padding-left: 55px;
}

#foot .godziny {
	background: url(images/zegar-footer.svg) no-repeat;
	background-position: left top;
	background-size: 34px auto;
	padding-left: 45px;
}

#foot .social {
	background: url(images/social-footer.svg) no-repeat;
	background-position: left top;
	background-size: 57px auto;
	padding-left: 65px;
}

#foot .social img {
	margin: 10px 5px 20px 0;
}

#foot .znanylekarz {
	margin-top: 20px;
}


#foot .footer {display: flex; justify-content: space-between;}
#foot .footer > div:first-of-type {margin-left: 10px;}
#foot .footer > div:last-of-type {margin-right: 10px;}
#foot ul {margin: 0; padding: 0; list-style: none;}

#foot h5 {display: none;}

.foot-bottom {
	margin-top: 40px;
	padding: 20px 0 20px 0;
	border-top: 1px solid #fff;
	text-align: center;
}

.foot-bottom a.efabryka {
	font-size: 0.625rem;
	font-weight: 700;
	color: #fff !important;
	background: url(images/efabryka.svg) no-repeat;
	background-position: right center;
	background-size: 125px auto;
	padding: 10px 135px 10px 0;
}

/************************************************
*	PLUGINS										*
************************************************/				

.mobmenu-content a:focus {
	font-weight: 700 !important;
}

.tablepress thead tr th {
	background: #D5D6D8 !important;
	text-transform: uppercase;
	padding: 20px 10px !important;
}


.tablepress tr td:first-of-type {
	width: 70%;
}

.tablepress tr td:last-of-type {
	width: 30%;
}


.testimonial-nav-arrow {
	border-color: #fff !important;
	color: #fff !important;
}


.fl-button {
	background: #2DA3C1 !important;
	border: none !important;
	color: #fff !important;
	border-radius: 10px !important;
	font-weight: 700 !important;
	font-size: 1rem !important;
	transition: 200ms;
	padding: 10px 20px !important;
}

.fl-button span {
	color: #fff !important;
	transition: 200ms;
}


.fl-button:hover {
	background: #147395 !important;
	transition: 200ms;
}

.cky-btn-revisit-wrapper.cky-revisit-bottom-left {
	display: none !important;
}


/************************************************
*	ANIMATION									*
************************************************/	
@keyframes fadein {
	0%{opacity: 0;}
	100%{opacity: 1;}
}


/************************************************
*	RESPONSIVE									*
************************************************/	
@media(max-width:1440px) {
	.inside {width: 100%;}
}

@media(max-width:1300px) {
	#head .inside {
		flex-direction: column;
	}
}

@media(max-width:999px) {
	#foot .inside {flex-direction: column; align-items: center;}
	#foot .inside div{margin-bottom: 20px;}	
	#foot .inside div:last-of-type{margin-bottom: 0;}
	.naglowek h1 {margin-top: 80px;}
	.lista-wpisow .wpis {width: 100%;}	
	
}

@media(max-width:900px) {
	.singlepost {width: 100%;}
	.fl-col-small:not(.fl-col-small-full-width) {max-width: inherit !important;}
	.marginesy .baner, .baner {
		height: auto;
		display: flex;
		align-items: center;
		margin: 0 !important;
		border-radius: 0 !important;
	}
	.marginesy .baner.lewy {padding: 30px 20px 0 20px !important;}
	.marginesy .baner.srodek {padding: 30px 20px 0 20px !important;}
	.marginesy .baner.prawy {padding: 30px 20px 30px 20px !important;}
	.baner.lewy {padding: 30px 20px 0 20px !important;}
	.baner.prawy {padding: 30px 20px 30px 20px !important; margin-right: 0 !important;}
	.text-content h1 {font-size: 1.7rem; line-height: 2.1rem;}
	.text-content h2 {font-size: 1.7rem; line-height: 2.1rem;}
	.text-content h4 {font-size: 1.7rem; line-height: 2.1rem;}
}

@media(max-width:555px) {
	.lista-wpisow .wpis {flex-direction: column;}	
	.lista-wpisow .wpis h2 {margin: 20px 0 0 0;}	
	.lista-wpisow .wpis {padding: 0 20px;}	
	.lista-wpisow .wpis div {width: 100%;}	
	.lista-wpisow .wpis .miniatura {padding: 0;}	
}