/* 
 Theme Name: Simpli-s
 Theme URI: //
 Author: Adrian Turulski
 Author URI: //
 Description: Motyw dla firm
 Version: 1.0 
 */

/*-------------------------------------------------------------

	0.  Custom New
    1.  General Styles
    2.  Preloader
    3.  Search Section 
    4.  Top Header
    5.  Header Wrapper
    6.  Footer Wrapper
    7.  Blog posts
    8.  Single Blog
    9.  Page Title
    10. About Section
    11. Conact Section
    12. 404 Section
    13. Owl Slider
    14. Fullpage wrapper
    15. Shop Page	
    16. Responsive Section
	
/*-------------------------------------------------------------
	Buttons
-------------------------------------------------------------*/

/*-------------------------------------------------------------
	Fonts
-------------------------------------------------------------*/

/*-----Desktop-------*/

@media (min-width: 992px){}

/*-----Mobile-------*/

@media (max-width: 991px){

	iframe{
		width: 100%;
	}

}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body{
	font-family: 'Manrope', sans-serif !important;
	font-style: normal;
}

p, a{
	font-size: 16px;
	font-weight: 400;
	color: #151F35;
}

.sofia-italic{
	font-style: italic;
}

b,
strong{
	font-weight: 700;
	color: #151F35;
}

.top-bar p{
	font-weight: 500;
}

h1,
h2,
h3,
h4,
h5,
h6{
	font-weight: 400;
	color: #151F35;
}



h2{
	font-size:  calc(20px + (25 - 20) * ((100vw - 992px) / (1920 - 360)));
}

h3{
	font-size:  calc(17px + (20 - 17) * ((100vw - 992px) / (1920 - 360)));
	font-weight: 600;
}

h4{
	font-size:  calc(16px + (17 - 16) * ((100vw - 992px) / (1920 - 360)));
}

h5{
	font-size:  13px;
}
	

ul{
	margin-bottom: 1rem;
	padding-left: 30px;
}



a {
	text-decoration: none;
	transition: all 0.3s;
}

a:focus,
a:hover {
	color: #151F35;
	text-decoration: none;
	/*text-shadow: 0 0 0.5px #151F35, 0 0 0.5px #151F35;*/
}

img {
	max-width: 100%;
}

.page-template-default img{
	object-fit: contain;
}

:active,
:focus {
	outline: none !important;
}

::-webkit-input-placeholder{
	color: #000000;
	font-size: 13px;
}

:-ms-input-placeholder{
	color: #000000;
	font-size: 13px;
}


::-ms-input-placeholder{
	color: #000000;
	font-size: 13px;
}


::placeholder {
    color: #000000;
	font-size: 13px;
}

::-webkit-input-placeholder{
    color: #000000;
	font-size: 13px;
}

section {
	position: relative; 
}

blockquote {
	padding: 20px 20px;
	margin: 0 0 20px;
	font-size: 16px;
	background: #F7F7F7;
	border-radius: 10px;
}

blockquote p {
	line-height: 1.6;
}

#main-container{}
#main-row{}


/*---------------------
Social section
---------------------*/

.social-header,
.social-footer{
	display: flex;
	justify-content: flex-end;
}

.social-footer img,
.social-header img{
	object-fit: contain;
}

.social-header img{
	padding-left: 10px;
	width: 40px;
    height: 40px;
}

.social-footer a{
	display: block;
	margin-left: 20px;
	width: 24px;
    height: auto;

}

/*-------------------------------------------------------------
   Top Menu
-------------------------------------------------------------*/

/*---------------------------------------------
---------------------------------------------*/

nav ul.menu {
    padding-left: 0;
    list-style: none;
    display: flex;
    justify-content: space-around;
    margin-bottom: 0;
}

header{
	width: 100%;
}

nav{	
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 22;
	transition: all 0.5s;
	background: white;
}

.scrollUp{
	transform: translateY(-100px)
}

.menu-content{
	display: flex;
	justify-content: space-between;
}

.menu-column.active{}

/*---------------------
Menu standard
---------------------*/

.menu-horizontal{
	width: 100%;
	justify-content: flex-end;
}

.menu-horizontal a{
	text-transform: uppercase;
	padding: 0 10px;
}

.menu-horizontal a:hover{
	color: #F47841;
}

.menu-horizontal .current-menu-item a{
	color: #F47841;
	text-decoration: underline;
}



/*---------------------
Menu Hamburger
---------------------*/

.menu-hamburger
{
	justify-content: flex-end;
}

/*---------------------------------------------
	Main menu
---------------------------------------------*/

/*-Desktop-*/
@media (min-width: 992px){	
	.menu-content{
		max-width: 1812px;
		margin: auto;
		padding: 0 15px;
	}
	
	.hidden-desktop{
		display: none !important;
	}	
	
	nav,
	.menu-content{
		height: 100px;
	}
}

/*-Mobile-*/
@media (max-width: 991px){	
	.menu-content{
		padding: 0 33px;
	}
	
	.hidden-mobile{
		display: none !important;
	}	
	
	nav,
	.menu-content{
		height: 80px;
	}
	
	.home nav,
	.home .menu-content{
		background: #F2F2F2;
	}
}

/*---------------------
Sub menu
---------------------*/

.sub-menu:before {
    content: '';
    width: 9px;
    height: 9px;
    left: 15px;
    top: -5px;
    background: #708FA5;
    position: absolute;
    transform: rotate(45deg);
}

.menu-horizontal a {
  text-decoration: none;
}

.menu-horizontal ul {
  background: white;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.menu-horizontal li {
  background: transparent;
  display: block;
  float: left;
  padding: 1rem 0;
  position: relative;
  text-decoration: none;
  transition-duration: 0.5s;
}

.menu-horizontal .sub-menu a {
	color: white;
}

/*
.menu-horizontal li:hover {
  background: #748558;
  cursor: pointer;
}

.menu-horizontal li:hover a {
  color: white;
}
*/

.menu-horizontal ul li ul {
    background: #708FA5;
    visibility: hidden;
    opacity: 0;
    min-width: 192px;
    position: absolute;
    transition: all 0.5s ease;
    margin-top: 1rem;
    left: calc(1rem + 10px);
}

.menu-horizontal ul li:hover > ul,
.menu-horizontal ul li ul:hover {
  visibility: visible;
  opacity: 1;
  display: block;
}

.menu-horizontal ul li ul li {
  clear: both;
  width: 100%;
}


@media (max-width: 991px){
	.sub-menu:before{
		display: none;
	}
	
	.menu-overlay ul li{
		font-size: 20px;
		line-height: 1.6;
	}
	
	.menu-overlay .children {
		display: none;
	}
	
	.menu-overlay ul.sub-menu li{
		border: none;
		margin: 0;
	}
	
	.menu-overlay ul.sub-menu li a{
		border: none;
		margin: 0;
		font-size: 18px;
		font-weight: 400;
		padding-left: 10px;
	}
	
}

/*---------------------
Logo, search etc container
---------------------*/

.menu-group{
	width: 100%;
	justify-content: flex-end;
}

.menu-horizontal
.menu-hamburger,
.menu-group,
.logo,
.search-icon,
.menu-content .form-field
{
	display: flex;
	align-items: center;
}

/*---------------------
Logo
---------------------*/

.logo{
	justify-content: flex-end;
}

.logo img{
	object-fit: contain;
	height: 40px;
}

/*---------------------
Search icon
---------------------*/

.search-icon{
	justify-content: center;
}

#searchIconForm img{
	max-width: 29.7px;
}

.menu-content .form-field label{
	margin-bottom: 0;
}

/*---------------------
Hamburger icon
---------------------*/

.menu-hamburger{
	width: 50px;
}

/*-------------------------------------------------------------
   Content column
-------------------------------------------------------------*/

/*---------------------
Desktop
---------------------*/

@media (min-width: 991px){
	#content-column{
		padding: 96px 15px 50px;
	}
}

/*---------------------
Mobile
---------------------*/

@media (max-width: 992px){
	#content-column{
		padding: 80px 0 50px;
	}
}


/*-------------------------------------------------------------
   Footer column
-------------------------------------------------------------*/

/*---------------------
Desktop
---------------------*/

@media (min-width: 992px){
	
	#footer-content{

	}
	
	#widget-two,
	#widget-three,
	#widget-four,
	#widget-five{
		display: flex;
		justify-content: center;	
	}	
	
	#widget-two .widget-content,
	#widget-three .widget-content,
	#widget-four .widget-content,
	#widget-five .widget-content{

	}
}

/*---------------------
Mobile
---------------------*/

@media (max-width: 991px){
	
	#widget-one,
	#widget-two,
	#widget-three,
	#widget-four,
	#widget-five{
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
	}
	
}

@media (min-width: 992px){
	
	footer .adress{
		padding-left: 5px;
	}
	
}

footer .title-content h2 {
    font-size: calc(30px + (40 - 30) * ((100vw - 360px) / (1920 - 360)));
}

footer .sub-menu{
	display: none;
}

footer iframe{
	border: none;	
}

footer .google-map{
	margin: 0 -15px;
}

footer h4{
	text-transform: uppercase;
	color: white;
	margin-bottom: 14px;
}

footer ul li a,
footer p{
	color: #151F35;
}

.google-map .title-content{
	padding: 0 15px 2.5vw;
	max-width: 1460px;
    margin: auto;
}

footer .right-foot .title-content h2{
	text-transform: inherit;
	margin: 3.125vw 0;
}


#footer-content{
	color: #151F35;
	margin: -6px -15px 0;
}

#footer-content .left-foot{
	background: #F47841;
	padding: 60px;
	height: 100%;
	display: flex;
	flex-direction: column;
}

#footer-content .left-foot img{
	max-width: 154px;
	width: 8.020833333333334vw;
	position: absolute;
	left: 60px;
	bottom: 0;
}

#footer-content .page-button{
	margin-top: auto;
    margin-left: auto;
    margin-right: 67px;
	background: #F47841;
}

#footer-content .right-foot{
	background: #B7C7D2;
	padding: 60px;
	height: 100%;
}

#footer-content .right-foot .title-content h3{
	padding: 0 0 2.5vw;
}

#footer-content .right-foot img{
	max-width: 146px;
}

#copyright{	
	margin: 0 -15px;
	background: #151F35;
}

.copyright-content{
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 64px;
	padding: 0 60px;
}

#copyright p{
	margin-bottom: 0;
	color: #B7C7D2;
}

a.foot-logo img{
	width: 180px;
}

footer ul.menu {
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	height: 200px;
}

@media (max-width: 991px){
	
	#footer-content .left-foot img{
		min-width: 112px;
		left: 15px;
	}
	
	#footer-content .left-foot {
		padding: 45px 14px;
		height: 451px;
	}
	
	#footer-content .right-foot {
		padding: 45px 14px;
	}
	
	.copyright-content {
		padding: 0 15px;
	}
	
	#footer-content .title-content{
		padding: 0;
	}
	
	#footer-content .right-foot .title-content h3{
		margin: 92px 0 40px;
		font-weight: 600;
	}
	
	#footer-content .right-foot img{
		margin-bottom: 80px;
	}
	
	footer ul.menu {
		display: flex;
		flex-direction: column;
		justify-content: space-around;
		height: 200px;
	}
	
}

/*---------------------
Widget
----------------------*/

footer ul.menu {
	padding-left: 0;
	list-style: none;
}

/*-----------------------------------------------------------
   Post listing/single common
------------------------------------------------------------*/

/*---------------------
Mobile
----------------------*/

@media (min-width: 991px){

	#entry-media img{
		height: 250px;
	}

	.title-container{
		display: flex;
		justify-content: space-between;
	}
	
	.blog-post .entry-title{
		width: 65%;
	}
	
	.blog-post .title-container{
		padding-top: 30px;
	}
	
	.blog-post{
		padding: 4vw;
		max-width: 1366px;
		margin: auto;
	}

}

/*----------------------
Desktop
-----------------------*/

@media (max-width: 992px){
	
	#entry-media {
		padding-right: 0;
	}

	#entry-media img{
		height: 100%;
	}
	
	.blog-post .title-container{
		padding-top: 10px;
	}
	

	
	.category-container span{
		font-size: 13px;
	}
	
}

article{
	margin-bottom: 40px;
}

#entry-media{}

#entry-media img{
    object-fit: cover;
    width: 100%;
}

#entry-meta-content{}

.title-container h2,
.title-container h1{	
	font-family: obviously-wide, sans-serif;
	line-height: 1.4; 
	color: #000000; 
}

.date-article-list{
	font-size:  calc(25px + (40 - 25) * ((100vw - 360px) / (1920 - 360))) !important;	
}

span.date-article-list{
	line-height: 1; 
}

.blog-post .entry-title {
	font-size:  calc(15px + (20 - 15) * ((100vw - 992px) / (1920 - 992))) !important;		
	margin-bottom: 20px; 
}

.blog-post .title-container{
	border-top: 1px solid #000000;
}

.category-container{}

/*---------------------------------------------
Next/prev post
---------------------------------------------*/

/*---------------------------------------------
Mobile
---------------------------------------------*/

@media (min-width: 991px){

	.next-post-container{
		margin: 85px 0 100px;
	}

}

/*---------------------------------------------
Desktop
---------------------------------------------*/

@media (max-width: 992px){

	.next-post-container{
		margin: 50px 0;
	}

}

.next-post-container a{
	display: flex;
	max-height: 154px;
}

.next-post-container img {
    width: 40%;
    height: auto;
    max-width: 287px;
    max-height: 154px;
    object-fit: cover;
}

.next-post-container p{
	margin-bottom: 0;
	font-size: 12px;
	text-transform: uppercase;
}

.content-next-post {
	width: 50%;
	max-width: 412px;
	padding-left: 30px;
	display: flex;
	justify-content: space-between;
	flex-direction: column;
	
}

.content-next-post h2{
	font-size: calc(16px + (20 - 16) * ((100vw - 992px) / (1920 - 992))) !important;
}

/*-----------------------------------------------------------
   Post pagination
-------------------------------------------------------------*/

/*-----------------------------------------------------------
Mobile
-------------------------------------------------------------*/

@media (min-width: 991px){
	
	.paginationHome li a{
		
	}

}

/*----------------------------------------------------------
Desktop
------------------------------------------------------------*/

.page-nav li {display: inline-block;}

.page-nav li:hover, 
.page-nav li.active a {
    color: #111;
}

.pagination{
	position: relative;
	display: flex;
	align-items: center;
	max-width: 1460px;
    margin: auto;
}

.paginationHome{
	text-align: center;
	width: 100%;
	padding-left: 0;
	margin: 5vw 0;
}

.paginationHome li {
    line-height: 51px;
    font-size: 15px;
    display: inline-block;
}

.paginationHome li a {
    line-height: 51px;
    color: #898989;
	cursor: pointer;
}

.paginationHome li a:hover, .paginationHome li.active a {color: #111;}

.pagination .next,
.pagination .prev{}

.pagination .next{
	right: 66px;
	position: absolute;
}

.pagination .prev{
	left: 40px;
	position: absolute;
}

.pagination .prev:after{
	left: -67px;
	transform: rotate(180deg);
}

.pagination ul li{
	display: inline;
	padding: 0 5px;
}

@media (max-width: 991px){
	
	.pagination .next{
		right: 35px;
	}
	
	.pagination .prev{
		left: 35px;
	}

	.pagination{
		position: relative;
		display: flex;
		align-items: center;
	}
	
	.paginationHome{
		padding-left: 0;
	}
	
	.pagination .prev,
	.pagination .next{
		width: 110px;
	}
	
	.pagination .page-button{
		padding: 0;
	}
	
	.paginationHome li a{
		padding: 0;
	}
	
	.pagination .prev:after{
		left: -57px;
		transform: rotate(180deg);
	}
	
	.pagination ul li ,
	.paginationHome li a {
		color: transparent;
	}

}

/*-----------------------------------------------------------
   Breadcrumb
-------------------------------------------------------------*/

/*---------------------------------------------
Desktop
---------------------------------------------*/

@media (min-width: 991px){}

/*---------------------------------------------
Mobile
---------------------------------------------*/

@media (max-width: 992px){}

.breadcrumbs-container{}

.breadcrumbs {
	font-size: 13px;
	color: #000000;	
	border: 1px solid #000000;
	padding: 12px 16px;
}

/*
.bread-start-text:after{
	content:'';
	background: url("images/arrow-right.png");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
	width: 35px;
    margin-left: 10px;
	height: 100%;
	position: absolute;	
}
*/

/*-----------------------------------------------------------
   Single post
-------------------------------------------------------------*/

/*---------------------------------------------
Desktop
---------------------------------------------*/

@media (min-width: 992px){

	
	.single-post .entry-title:after {
		bottom: -25px;
	}
	
	.single-post .title-container{
		margin-top: 40px;
		margin-bottom: 107px;
	}


	.entry-media-container img{
		height: 300px;
	}
	
	.other-info-container{	
		display: flex;
	}
}

/*---------------------------------------------
Mobile
---------------------------------------------*/

@media (max-width: 991px){

	.single-post .entry-title:after {
		bottom: -50px;
	}
	
	.single-post .entry-title{
		padding: 15px 0;
	}
	
	.single-post .title-container{
		margin-top: 40px;
		margin-bottom: 70px;
	}
	
	.entry-media-container{
		margin-top: 15px;
	}
	
	.date-article-list{
		font-size: 20px;
	}

}

.single-post .entry-title {
	font-size:  30px !important;		
	position: relative;
	line-height: 1.4;
}

.single-post .entry-content img{
	width: 100%;
    height: auto;
	max-width: 800px;
	margin: 2rem auto;
	display: block;
}

.entry-media-container{
	margin-bottom: 20px;
}

.entry-media-container img{
	width: 100%;
	object-fit: contain;
}

/*
.single-post .entry-title:after {
    content: '';
    background: #F0BAAE;
    width: 50px;
    height: 5px;
    position: absolute;
    left: 0;
}*/

.other-info-container{	
	margin-bottom: 30px;
}

.other-info-container span{
	font-size: 13px;
	font-weight: bold;
}

.comments-count{
	padding: 0 20px;
    border-left: 1px solid black;
    border-right: 1px solid black;
}

.author{
	padding-right: 20px;
}

.single-post .category{
	padding-left: 20px;
}

/*-----------------------------------------------------------
   Comments form single post
-------------------------------------------------------------*/

/*---------------------------------------------
Desktop
---------------------------------------------*/

@media (min-width: 991px){

	.comments-list .form-field input,
	.comment-form-comment textarea{
		width: 50%;
	}

}

/*---------------------------------------------
Mpbile
---------------------------------------------*/

@media (max-width: 992px){

	.comments-list .form-field input,
	.comment-form-comment textarea{
		width: 100%;
	}

}

.comments-list .form-field input{
	height: 40px;
	padding: 0 15px;
}

.comment-form-comment textarea{
	height: 180px;
	padding: 10px 15px;
}

.button-comments-form {
	width: 126px;
}

.button-comments-form input {
    outline: none;
	border: 1px solid black;
	padding: 12px 30px;
    background-color: black;
    font-size: 13px;
    text-transform: uppercase;
    color: white;
    text-decoration: none;
    transition: all .5s ease;
    position: relative;
	cursor: pointer;
}

.button-comments-form:hover input {
    color: black;
	background-color: transparent;
	border: 1px solid black;
}

.checkbox-text{
	font-size: 13px;
}

.comments-list,
.comments-list ul{
	list-style: none;
}

.comment-author{
	padding: 20px 0;
}

.comment-meta .time{
	font-size: 13px;
    font-weight: bold;
	margin-bottom: .3rem;
	display: block;
}

.comment-respond{
	margin-top: 20px;
}

/*-----------------------------------------------------------
   Category
-------------------------------------------------------------*/

.cat-meta-container .entry-title:after {
    content: '';
    background: #4DECB5;
    width: 50px;
    height: 5px;
    position: absolute;
    bottom: -25px;
    left: 0;
}

.cat-meta-container .title-container{
	margin-top: 40px;
	margin-bottom: 60px;
}

.cat-meta-container .entry-title{
	font-size:  calc(25px + (30 - 25) * ((100vw - 992px) / (1920 - 992))) !important;		
	width: 75%;
	position: relative;
}

.cat-meta-container .entry-content{
	margin-bottom: 50px !important;
}

/*-----------------------------------------------------------
   Search page and overlay form
-------------------------------------------------------------*/

/*---------------------------------------------
Desktop
---------------------------------------------*/

@media (min-width: 992px){

	.search-section .centered { 
		position: absolute; 
		width: 900px ;
		top: 50%;
		left: 50%;
		margin-top: -35px;
		margin-left: -450px; 
	}
	
	.close-search {
		top: 20px;
		right: 20px; 
	}
	
	.search-section .centered form input {
		width: 80%; 
	}
	
	.search-section .centered form button{
		width: 15%; 
	}
	

	.search-meta-container .button-search-form{
		width: auto;
		margin-left: 10px;
	}
	
	.search-meta-container .searchform .form-field{
		width: 50%;
	}
	
	.search-meta-container .searchform{
		display: flex;
	}
	
	.search-section {
		top:0; 
		height: 100%; 
	}
	
}

/*---------------------------------------------
Mobile
---------------------------------------------*/

@media (max-width: 991px){

	.search-section .centered {
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 15px;
	}
	
	.close-search {
		top: 10px;
		right: 5px; 
	}
	
	.close-search img{
		max-width: 75%;
	}
	
	.search-section .centered form input {
		width: 100%; 
	}
	
	.search-section .centered form button{
		width: 100%; 
	}
	
	.search-meta-container .searchform .form-field input {
		width: 100%;
		padding: 0 15px;
		height: 100%;
	}
	
	.search-meta-container .searchform .form-field{
		height: 50px;
	}
	
	.search-meta-container .button-search-form{
		width: 100%;
	}
	
	.search-meta-container .button-search-form input{
		width: 100%;
		margin-top: 5px;
	}
	
	.search-section {
		/*top:80px;*/
		height: 100%;
	}
	
	.centered{
		height: 100%;
	}
	
	.centered{
		position: fixed;
		left: -100%;
		width: 100%;
	}

	.centered.active{
		left: 0;
	}

}
	
.centered{
	visibility: hidden;
	opacity: 0;
	transition: all 1s;
	transition-timing-function: ease;
}

.centered.active{
	visibility: visible;
	opacity: 1;
}

.search-section {
	position: fixed; 
	width: 0%; 
	z-index: 5; 
	background-color: rgba(255,255,255,0.97); 
	transition: width 1s;
    transition-timing-function: ease;
}

.search-section.active{
    width: 100%;
}

.search-meta-container .searchform{
	margin-bottom: 30px;
}

.search-meta-container .button-search-form input {
    outline: none;
	border: 1px solid black;
	padding: 12px 30px;
    background-color: black;
    font-size: 13px;
    text-transform: uppercase;
    color: white;
    text-decoration: none;
    transition: all .5s ease;
    position: relative;
	cursor: pointer;
}

.search-section .centered form input {
	color: #333; 
	font-weight: 300; 
 	float: left; 
	border:0;  
	border-bottom: 1px #aaa solid; 
	height: 50px; 
	background-color: transparent; 
}

.search-section .centered form button {
	font-weight: 300;  
	cursor: pointer;
	height: 50px;  
	border:0;  
	border-bottom: 1px #aaa solid; 
	color: white;
	background-color: black; 
	float: right;
	border: 1px black solid;
	transition: .5s;
}

.search-section .centered form button:hover {
	color: black;
	background-color: transparent; 
	border: 1px black solid; 
}

.search-meta-container .entry-title:after {
    content: '';
    background: #4DECB5;
    width: 50px;
    height: 5px;
    position: absolute;
    bottom: -25px;
    left: 0;
}

.search-meta-container .title-container{
	margin-top: 40px;
	margin-bottom: 60px;
}

.search-meta-container .entry-title{
	font-size:  calc(25px + (30 - 25) * ((100vw - 992px) / (1920 - 992))) !important;		
	width: 75%;
	position: relative;
}

.search-meta-container .entry-content{
	margin-bottom: 80px;
}

.search-meta-container .searchform .form-field input{
	width: 100%;
	padding: 0 15px;
	height: 100%;
}

.search-meta-container .button-search-form:hover input {
    color: black;
	background-color: transparent;
	border: 1px solid black;
}

.search-section .centered form {
	width: 100%; 
}

/*-----------------------------------------------------------
  Single post thumbnail
-------------------------------------------------------------*/

.single-post .entry-media img{	
	object-fit: cover;
}

.single ul.post-categories li a{
	font-size: 2.5rem;
}

ul.post-categories{
	list-style: none;
	padding-left: 0;
}

/*-----------------------------------------------------------
  Post comment
-------------------------------------------------------------*/

/*-----------------------------------------------------------
Desktop
-------------------------------------------------------------*/

@media (min-width: 992px){

	ul.children{
		padding-left: 100px;
	}

}

/*---------------------------------------------
Mobile
---------------------------------------------*/

@media (max-width: 991px){

}

.form-field label{
	font-size: calc(14px + (16 - 14) * ((100vw - 1200px) / (1920 - 1200)));
}

.reply{
    text-decoration: underline;
    font-weight: 600;
	font-size: 14px;
}


/*-----------------------------------------------------------
    2. Page Loader 
-------------------------------------------------------------*/

#preloader {
    position:fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
     background: #B7C7D2 ; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    height: 100%;
    z-index:99; /* makes sure it stays on top */
}

#status {
    width:150px;
    height:30px;
    position:absolute;
    left: 0; /* centers the loading animation horizontally one the screen */
	right: 0;
	margin-left: auto;
	margin-right: auto;
    top:50%; /* centers the loading animation vertically one the screen */
    
}

.spinner {
  margin: 0px auto;
  width: 50px;
  height: 30px;
  text-align: center;
  font-size: 10px;
}

.spinner > div {
  background-color: #fff;
  height: 100%;
  width: 6px;
  display: inline-block;
  
  -webkit-animation: stretchdelay 1.2s infinite ease-in-out;
  animation: stretchdelay 1.2s infinite ease-in-out;
}

.spinner .rect2 {
  -webkit-animation-delay: -1.1s;
  animation-delay: -1.1s;
}

.spinner .rect3 {
  -webkit-animation-delay: -1.0s;
  animation-delay: -1.0s;
}

.spinner .rect4 {
  -webkit-animation-delay: -0.9s;
  animation-delay: -0.9s;
}

.spinner .rect5 {
  -webkit-animation-delay: -0.8s;
  animation-delay: -0.8s;
}

@-webkit-keyframes stretchdelay {
  0%, 40%, 100% { -webkit-transform: scaleY(0.4) }  
  20% { -webkit-transform: scaleY(1.0) }
}

@keyframes stretchdelay {
  0%, 40%, 100% { 
    transform: scaleY(0.4);
    -webkit-transform: scaleY(0.4);
  }  20% { 
    transform: scaleY(1.0);
    -webkit-transform: scaleY(1.0);
  }
}
 
/*------------------------------------------------------------
   Categories/menu overlay left to right
-------------------------------------------------------------*/

@media (min-width: 992px){
	
	.overlay-section {
		top:0; 
	}	
	
	.menu-overlay {
		top: -100%;
		overflow: overlay;	
		width: 100%;
		height: calc(100% - 100px);
		position: fixed;
	}

	.menu-overlay.active {
		top: 0;
	}
	
	.menu-overlay li{
		display: flex;
		flex-direction: column;
		align-items: start;
	}
	
	.sub-cat{
		display: none;
	}
	
	.overlay-section {
		position: fixed; 
		background: #F0BAAE;
		height: 100%; 
	}
	
	.menu-overlay li a::after,
	.menu-overlay li.current-cat a::after,
	.menu-overlay li.current-cat-parent a::after	{
		top: 60%;
	}
}

@media (max-width: 991px){
	
	.overlay-section {
		height: 100%;
		position: fixed;
		background: #F2F2F2;
		overflow: overlay;
	}
	
	.menu-overlay{
		top: 60px;
		left: -250%;
		height: auto; 
		position: relative;
	}
	
	.menu-overlay li a {
		max-width: 95%;
	}
	
	.menu-overlay li {
		margin: 2vw 0;
	}


	.menu-overlay.active {
		left: 0;
	}
	
	.no-children .sub-cat{
		display: none !important;
	}

	.has-children .sub-cat{
		display: inline-block;
		position: absolute;
		right: 4vw;
	}

	.has-children a{
		display: inline-block;
		line-height: 1.2;
	}
	
	.menu-overlay li a::after,
	.menu-overlay li.current-cat a::after,
	.menu-overlay li.current-cat-parent a::after	{
		top: 100%;
	}
	
}

.overlay-section{
	z-index: 20; 
	width: 0; 
	transition: width 1s;
	transition-timing-function: ease;
}

.overlay-section.active{  
	width: 100%;
}

.menu-overlay{
	z-index: 2; 
	display: flex; 
	padding: 80px 4vw;
	justify-content: flex-start;
	flex-direction: column;	
	visibility: hidden;
	opacity: 0;
	overflow: overlay;	
	transition: all 1s;
	transition-timing-function: ease;
}

.menu-overlay.active{
	visibility: visible;
	opacity: 1;
}

.menu-overlay li{
	font-size: calc(18px + (56 - 18) * ((100vw - 300px) / (1920 - 300)));
	line-height: 1.6;
	font-family: obviously-wide, sans-serif;
	font-weight: 500;
	font-style: normal;
	list-style-type: none;
}

.menu-overlay li a{
	position: relative;
	text-decoration: none;
	transition: 0.5s;
	color: black;
}

/*
.menu-overlay li a::after{
	position: absolute;
	content: "";
	width: 100%;
	height: 3px;
	left: 0;
	background: #ffffff;
	transition: transform 0.5s;
	transform: scaleX(0);
	transform-origin: right;
}

.menu-overlay li a:hover::after{
	transform: scaleX(1);
	transform-origin: left;
}
*/
.menu-overlay li.current-cat a::after{
	position: absolute;
	content: "";
	width: 100%;
	height: 3px;
	left: 0;
	background: #ffffff;
	transition: transform 0.5s;
	transform: scaleX(1);
	transform-origin: left;
}

.menu-overlay li.current-cat-parent a::after{
	position: absolute;
	content: "";
	width: 100%;
	height: 3px;
	left: 0;
	background: #ffffff;
	transition: transform 0.5s;
	transform: scaleX(1);
	transform-origin: left;
}

.collapseActive a.active{
	text-shadow: 0 0 .9px #333, 0 0 .9px #333, 0 0 .9px #333; 
}

/*-----------------------------
   Submenu
-----------------------------*/

@media (max-width: 991px){
	
	.menu-overlay ul li{
		font-size: 16px;
		line-height: 1.6;	
		position: relative;
	}
	
	.menu-overlay .children {
		display: none;
	}
	
	.menu-overlay ul{
		padding-left: 0;
	}
	
	.menu-mobile{
		padding-left: 15px;
	}
	
	.menu-overlay .title-content h2 {
		margin: 50px 0 75px;
		font-size: 25px;
		text-transform: lowercase;
	}	
	
	.menu-overlay .title-content h3 {
		margin-bottom: 20px;
		font-weight: 600;
	}
	
	.menu-overlay .title-content{
		padding: 0;
	}
	
	.menu-overlay .current-menu-item a{
		color: #F47841;
	}
	
	.menu-overlay .current-menu-item a:after{
		content: '';
		width: 100%;
		height: 2px;
		background: #F47841;
		position: absolute;
		left: 0;
		bottom: 0;
	}

}

@media (min-width: 992px){
	
	.menu-overlay .has-children:hover ul.children{
		max-height: 500px;
		z-index: 100;
		transition: all 2s;
	}
	
	.menu-overlay ul.children{
		max-height: 0;
		overflow: hidden;
		transition: all 2s;
	}
	
		
	.menu-overlay ul li{
		font-size: 20px;
		margin-bottom: 5px;
		line-height: 1.6;			
	}
	
}

.menu-overlay ul li{
	list-style-type:  none !important;
	font-weight: 600;	
	font-family: poppins, sans-serif;
	line-height: 1.6;
}
/*
.menu-overlay ul li a::after{
	transform: scaleX(0) !important;
}
*/
.menu-overlay ul li a {
    /*letter-spacing: .1em;*/
    transition: text-shadow .3s;
    font-size: 25px;
    /*text-transform: uppercase;*/
    line-height: 2;
	font-weight: 600;
}

.menu-overlay ul li a:hover{
  text-shadow: 0 0 .65px #333, 0 0 .65px #333;
  /* use the line below if you want a more intense effect */
  /* text-shadow: 0 0 .9px #333, 0 0 .9px #333, 0 0 .9px #333; */
}

.menu-overlay ul.children{
	padding-left: 0;
	margin-bottom: 0;
}

.menu-overlay .collapseActive{
	max-height: 500px !important;
	display: block;
	z-index: 99;
}

/*---------------------------------------------

---------------------------------------------*/

/*Contact form*/

/* Contact Form 7 Form Background And Border CSS
 -----------------------------------------------*/
 .wpcf7 {
     max-width: 469px;
	 width: 100%;
	 margin-right: auto;
 }
 
 /* Contact Form 7 Input CSS 
 ---------------------------*/
 .wpcf7 input[type="text"],
 .wpcf7 input[type="email"],
 .wpcf7 input[type="tel"],
 textarea {
     font-size: 16px;
     background-color: transparent;
     border: none;
     width: 100%;
     padding: 25px 0 5px;
	 color: #151F35;
	 border-bottom: 1px solid #B7C7D2;
 }
 
textarea{
	height: 130px;  
}
 
::-webkit-input-placeholder {
    font-weight: 400 !important;
    font-style: normal;
    color: #151F35 !important;
	font-size: 16px;
}
 
 /* Contact Form 7 Submit Button 
 -------------------------------*/
input[type="submit"] {
	font-size: 16px;
	height: 66px;
    color: #151F35;
    background: transparent;
    padding: 15px;
    border: none;
    width: 100%;
    text-transform: lowercase;
	text-align: center;
	cursor: pointer;
	border: 2px solid #151F35;
    border-radius: 50px;
}
 
 
.support-button-div{
	position: relative;
	margin-top: 25px;
	width: 70%;
}

.support-button-div:after{
    content: '';
	background-image: url('https://elbox.pl/wp-content/uploads/2020/12/niebieski-przycisk.png');
	transition: 0.3s;
    width: 66px;
    height: 66px;
    right: -66px;
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
	top: 0;
}
 
input[type="submit"]:hover .support-button-div:after{
	background-image: url('https://elbox.pl/wp-content/uploads/2020/12/niebieski-przycisk-pelny.png');
	transition: all 0.4s ease 0s;
}

 /* Checkbox CSS
----------------*/
input[type="checkbox"] {
    transform: scale(1.3);
    margin-left: 5px;
}

span.wpcf7-list-item {
margin: 0;
padding-bottom: 20px;
}

/*****************************************************************************************************/