/*======================================
Theme Name: Nasza Szkoła
Description: Theme modified for Nasza Szkoła @ 2019
Version: 1.0
Author: Remlas
Author URI: https://remlas.pl
Template: Divi
======================================*/

span.space, space {
		padding: 0.5rem;
}

.container {
	width: 100%;
}
.logo_links_helper {
	width: 63%;
	margin: auto;
	position: relative;
}
.et_header_style_centered nav#top-menu-nav {
	display: block;
	margin: auto;
	width: 63%;
}

.et_header_style_centered #top-menu>li>a {
    padding-bottom: 1.5em;
    padding-top: 1.5em;
}

.blog #content-area, .single-post #main-content .container{
	width: 63%;
	margin: auto;
	padding-top: 58px;
}

#main-content .container {
    /*max-width: 1200px;*/
	/*width: 63%*/
}

a#cookie_action_close_header {
    border-radius: 6px;
}

#et-secondary-nav .menu-item-has-children>a:first-child:after, #top-menu .menu-item-has-children>a:first-child:after {
	top: unset;
	content: url(/wp-content/themes/nasza-szkola/images/main-menu-dropdown.png);
}

#et-secondary-nav .et-show-dropdown.menu-item-has-children>a:first-child:after, #top-menu .et-show-dropdown.menu-item-has-children>a:first-child:after {
	content: url(/wp-content/themes/nasza-szkola/images/main-menu-dropdown-up.png);
}

#top-menu li.current-menu-item>a {
	color: inherit;
}

.nav li ul{
	border: 1px solid rgba(0, 0, 0, 0.1)!important;
	border-radius: 12px;
}

/*ul.sub-menu {
    margin-top: 10px;
}*/

.nav ul li a:hover {
    color: #ff9a00!important;
	background: none;
}

.et_header_style_centered #main-header div#et-top-navigation, footer#main-footer {
	border-top: 1px solid rgba(0,0,0,.1);
	border-bottom: 1px solid rgba(0,0,0,.1);
    /*width: 99%;
    margin: auto;*/
}


#main-header{
	box-shadow: none;
}

.et_full_width_page .entry-content, .nauczyciele .entry-content{
	width: 63%;
	margin: auto;
}

/*PAGE HEADER*/
#main-content .container {
    padding-top: 0px;
}
.entry-title.main_title{
	text-align: center;
	font-size: 46px;
	line-height: 60px;
	font-weight: normal;
	color: #fff;
    font-family: 'Petit Formal Script',handwriting;
	padding: 120px 0;
	background-image: url('/wp-content/themes/nasza-szkola/images/headers/subpage-header-general.png');
	background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
	margin-bottom: 120px;
}

.nauczyciele div.metabox-frame{
	background-image: url('/wp-content/themes/nasza-szkola/images/bg_falka.png');
	border-radius: 0 0 60px 60px;
	padding-bottom: 1px;
}


/* STRONA Z NAUCZYCIELAMI */
.nauczyciele div.metabox{
	text-align: center;
	padding: 72px 0;
	background-image: url('/wp-content/themes/nasza-szkola/images/headers/subpage-header-general.png');
	background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
	/*margin-bottom: 120px;*/
}

.nauczyciele h1.main_title{
	font-weight: normal;
	color: #fff;
    font-family: 'Petit Formal Script',handwriting;
	font-size: 46px;
	line-height: 60px;
}

.nauczyciele h2.sub_title{
	font-weight: normal;
	color: #fff;
}

.nauczyciele .nauczyciel-box{
	border: 1px solid rgba(0,0,0,.1);
    border-radius: 12px;
    overflow: hidden;
}

.nauczyciele div.metabox{
	background-image: url('https://nasza-szkola.eu/wp-content/themes/nasza-szkola/images/nauczyciele.jpg');
	border-radius: 0 0 60px 60px;
	background-position: center 33%;
	margin-bottom: 30px;
}
.nauczyciele .et_pb_team_member_image{
	width: 100%;
	max-width: unset;
}
.nauczyciele .et_pb_module_header{
	font-size: 36px;
	text-align: center;
	font-weight: 500;
}

.nauczyciele .et_pb_team_member_description{
	padding-left: 5%;
    padding-right: 5%;
    padding-bottom: 20px;
}

.nauczyciele .et_pb_team_member_description p {
	color: #aaa;
	text-align: justify;
	font-weight: 300;
	font-size: 16px;
	line-height: 1.3em;
}

.nauczyciele .et_pb_team_member_description .et_pb_member_position{
	color: #000;
	line-height: 1.3em;
	font-size: 16px;
	margin-bottom: 16px;
}

.nauczyciele .et_pb_team_member .et_pb_team_member_image{
	margin: auto;
	margin-bottom: inherit;
}

.nauczyciel-content{
	display: inline-block;
}

.nauczyciel-sidebar{
	text-align: center;
	vertical-align: top;
	display: inline-block;
}

.nauczyciel-sidebar .et_pb_team_member{
	margin: 10px 32px 0 32px;
}

.nauczyciel-sidebar .et_pb_team_member_description div{
	padding-bottom: 36px;
}

a.all_nauczyciele{
	top: -16px;
}

@media (max-width: 980px){
	.nauczyciele .nauczyciel-row:not(.et-last-child){
		margin-bottom: 60px!important;
	}
	.nauczyciel-content, .nauczyciel-sidebar{
		width: unset !important;
		margin-bottom: 64px;
	}

}

@media (max-width: 980px) and (min-width: 768px){
	.nauczyciele .et_pb_team_member_image{
		width: 280px;
	}
}

/*  */

.flex-row-wrapper .et_pb_column {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-self: flex-start;
}

.et_header_style_centered #main-header .logo_container, .et_header_style_centered #main-header div#et-top-navigation{
	text-align: left;
}

#et-top-navigation {
    font-weight: normal;
}

.header_links_container{
	text-align: right;
	position: absolute;
	right: 0;
	top: 25px;
}

a.header_icons {
  	display: inline-block;
	margin-left: 50px;
	color: #000;
	font-size: 16px;
	vertical-align: top;
}

a.header_icons p {
	display: inline-block;
    height: 45px;
    vertical-align: top;
    line-height: 45px;
	margin-left: 10px;
    font-weight: bold;
	transition: all .4s ease-in-out;
}

.et-fixed-header a.header_icons p{
	font-size: 14px;
	transition: all .4s ease-in-out;
	line-height: 30px;
}

a.header_icons img{
	height: 45px;
	transition: all .4s ease-in-out;
}

.et-fixed-header a.header_icons img{
	height: 30px;
	transition: all .4s ease-in-out;
}

article p {
	text-align: justify;
	font-weight: 300;
}

article li {
	font-weight: 300;
	line-height: 1.7em;
}

article p a {
	font-weight: bold;
}

article ol { 
    counter-reset: item;
    list-style-type: none;
}
article ol > li { display: block; }
article ol > li:before { 
    content: counter(item) ". "; 
    counter-increment: item;
    color: #ff9a00;
    font-weight: 400;
}

article h1,h2,h3,h4,h5,h6 {
	font-weight: bold;
	line-height: 1.3em;
}
article h2{font-size: 30px;}
article h3{font-size: 22px;}
article h4{font-size: 20px;}
article h5{font-size: 18px;}
article h6{font-size: 16px;}

.et_pb_toggle {
	padding: 0;
	margin-bottom: 10px!important;
}

.et_pb_toggle h4.et_pb_toggle_title {
	width: 100%;
    border: 1px solid rgba(0,0,0,.1);
    border-radius: 12px;
    padding: 1.3em 20px 1.3em 84px;
    font-weight: normal!important;
}

.et_pb_toggle_open h4.et_pb_toggle_title {
    color: #fff;
	border: none;
	background-color: #ff9a00;
}

.et_pb_accordion .et_pb_toggle_title:before, .et_pb_toggle .et_pb_toggle_title:before {
    right: 0;
    left: auto;
    right: unset;
    left: 50px;
    background-image: url(https://nasza-szkola.eu/wp-content/themes/nasza-szkola/images/plus.png);
    content: '';
    width: 12px;
    height: 14px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
/*
.et_pb_accordion .et_pb_toggle_open .et_pb_toggle_title:before, .et_pb_toggle .et_pb_toggle_open .et_pb_toggle_title:before {
	background-image: url(https://nasza-szkola.eu/wp-content/themes/nasza-szkola/images/minus.png);
	display: block;
}
*/

/* latin-ext */
@font-face {
  font-family: 'Petit Formal Script';
  font-style: normal;
  font-weight: 400;
  src: local('Petit Formal Script'), local('PetitFormalScript-Regular'), url(https://fonts.gstatic.com/s/petitformalscript/v7/B50TF6xQr2TXJBnGOFME6u5OR83oRP5qkHDgPrgZ.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Petit Formal Script';
  font-style: normal;
  font-weight: 400;
  src: local('Petit Formal Script'), local('PetitFormalScript-Regular'), url(https://fonts.gstatic.com/s/petitformalscript/v7/B50TF6xQr2TXJBnGOFME6u5OR83oRP5qkH7gPg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.decorative {
    font-family: 'Petit Formal Script',handwriting;
	font-weight: normal;
}

.et_pb_row {
    width: 63%;
}

#footer-widgets {
	padding: 0;
	font-family: 'Quicksand';
}


.slider .slide-container{
	display: flex;
	align-items: center;
}

.slider .slide-img{
	width: 55%;
}

.slider .slide-container .slide-desc h1{
	font-size: 90px;
}
.slide-desc {
	width: 45%;
    margin-left: 9%;
    margin-top: -3%;
}

.slide-desc p{
	font-size: 22px;
    line-height: 1.5em;
	margin-top: 20px;
    max-width: 50%;
	text-align: left;
}


.et_pb_gutters1.et_pb_footer_columns3 .footer-widget:first-child, .footer-widget:first-child {
    width: 43%;
}
.et_pb_gutters1.et_pb_footer_columns3 .footer-widget:nth-child(2), .footer-widget:nth-child(2) {
	padding: 100px 0 0 70px;
	width: 25%;
}
.et_pb_gutters1.et_pb_footer_columns3 .footer-widget:nth-child(3), .footer-widget:nth-child(3) {
	padding-top: 100px;
	width: 32%;
}


#footer-widgets .footer-widget li {
    display: inline-block;
    width: 49%;
	padding-left: 0;
}

#footer-widgets .footer-widget li:before {
	display: none;
}

#custom_html-2 .textwidget.custom-html-widget {
    height: 450px;
}

.hidden {
    visibility: hidden;
}

.contact-widget {
	padding-bottom: 20px;
}

.contact-widget .contact-icon{
	display: inline-block;
	margin-right: 18px;
	margin-top: 4.5px;
	vertical-align: top;
}

.footer-widget h4{
	padding-bottom: 20px;
}

.contact-widget .contact-detail{
	display: inline-block;
}

.contact-widget .contact-detail h5{
	padding-bottom: 0;
}

#footer-bottom {
    padding: 0;
    border-top: 1px solid rgba(0,0,0,.1);
}

#footer-info {
    float: unset;
    text-align: center;
	font-family: 'Quicksand';
    font-size: 16px;
	padding: 1.5em 0;
}

.orange-arrow{
	background-image: url('/wp-content/themes/nasza-szkola/images/hero-nav-right-yellow.png');
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	width: 80px;
	height: 80px;
	display: block;
	margin: auto;
	margin-top: 2em;
}


/* Contact Form Styling */

.et_pb_contact p input, .et_pb_contact p textarea, .et_pb_subscribe .et_pb_contact_field input, .et_pb_subscribe .et_pb_contact_field textarea{
	border-radius: 10px;
	border: 1px solid rgba(0, 0, 0, 0.6);
	background-color: #fff;
	opacity: 0.6;
}
.et_pb_contact p input:focus, .et_pb_contact p textarea:focus, .et_pb_subscribe .et_pb_contact_field input:focus, .et_pb_subscribe .et_pb_contact_field textarea:focus{
	opacity: 1;
}

/* Article page proportions */
.single-nauczyciele.et_pb_gutter.et_pb_gutters1 #left-area{
	width: 100%;
}
.et_pb_gutter.et_pb_gutters1 #left-area, .single-nauczyciele.et_pb_gutter.et_pb_gutters1 #left-area .entry-content .nauczyciel-content{
	width: 67%;
}
.et_pb_gutter.et_pb_gutters1 #sidebar, .nauczyciel-sidebar {
	width: 33%;
}

/* Latests news styling */

#sidebar .et_pb_widget {
	border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 30px;
	font-family: 'Quicksand';
}

.widget_recent_entries a{
	color: #000;
	line-height: 1.8em;
}

.widget_recent_entries .post-date {
	display: block;
    font-weight: bold;
    color: #04c9d9;
}

.widget_recent_entries ul li {
	border-bottom: 1px solid rgba(0, 0, 0, 0.2);
	padding: 15px 0;
}

.widget_recent_entries ul li:last-child {
	border-bottom: none;
}

#sidebar #custom_html-4{
	border: none;
	padding: 0;
}

/* Article - Sidebar | seperator remove */
#main-content .container:before{
	display: none;
}

/*Equalize Blog Columns*/
 
.bloggrid .et_pb_salvattore_content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
 
.bloggrid article {
        margin-bottom: 20px !important;
	-webkit-box-flex: 1;
	    -ms-flex: 1 0 auto;
	        flex: 1 0 auto;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
}

.bloggrid .entry-title {
	-webkit-box-flex: 1;
	    -ms-flex: 1 0 auto;
	        flex: 1 0 auto;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
}

.bloggrid .post-content {
	-webkit-box-flex: 2;
	    -ms-flex: 2 0 auto;
	        flex: 2 0 auto;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
}
 
.bloggrid .column {
        margin-bottom: 20px !important;
		margin-right: 10px!important;
		margin-left: 10px!important;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
}

.bloggrid .et_pb_blog_grid .et_pb_post {
    padding: 29px;
}
.bloggrid .et_pb_image_container {
    margin: -30px -30px 0px;
}
.bloggrid .et_pb_post .post-content {
	margin-top: 1.5em;
}

.et_pb_image_container {
    margin-bottom: 0;
}

.et_pb_testimonial::before {
	display: block;
	margin: auto;
	margin-bottom: 20px;
	background-image: url('/wp-content/themes/nasza-szkola/images/quote.png');
	background-repeat: no-repeat;
	background-size: contain;
	background-color: unset;
	width: 80px;
	height: 80px;
	position: relative;
	left: unset;
	font-size: 0;
	top: 0;
}

.et_pb_testimonial_portrait {
    position: absolute;
	margin: auto!important;
    bottom: 5em;
    right: 0;
    left: 0;
}

.et_pb_testimonial_description {
	margin-left: 0!important;
}


.flex-row-wrapper {
 display: flex;
 }
.flex-row-wrapper .et_pb_column{
 display: flex;
}

/* Al'a Responsive */

@media (max-width: 1500px) {
    #top-menu li a {
        font-size: 15px!important;
    }
    #top-menu li {
    padding-right: 10px!important;
}
}

@media (max-width: 1200px) {
 #et_mobile_nav_menu {
 display: block;
 }
 .et_header_style_centered .mobile_nav .select_page, .et_header_style_split .mobile_nav .select_page{
     display: inline-block;
 }
 
#top-menu, .header_links_container {
 display: none;
 }
 .et_header_style_centered #main-header .mobile_nav {
    display: block;
    padding: 5px 10px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background-color: rgba(0,0,0,.05);
    text-align: left;
}
.et_header_style_centered #et_mobile_nav_menu {
    float: none;
    position: relative;
    margin-top: 20px;
}
.et_header_style_centered .mobile_menu_bar {
    position: absolute;
    top: 2px;
    right: 5px;
}
.et_pb_gutters1.et_pb_footer_columns3 .footer-widget:first-child, .footer-widget:first-child{
    width: 100%!important;
}
.et_header_style_centered #main-header .logo_container, .et_header_style_centered #main-header div#et-top-navigation{
	text-align: unset;
}
.et_header_style_centered #main-header div#et-top-navigation{
    border-top: none;
}
.et_pb_gutters1.et_pb_footer_columns3 .footer-widget:nth-child(3), .footer-widget:nth-child(3) {
    padding: 54px 0 0 70px;
	width: 50%;
}
	.et_pb_gutters1.et_pb_footer_columns3 .footer-widget:nth-child(2), .footer-widget:nth-child(2){
		padding: 54px 0 0 70px;
		width: 50%;
	}
	#main-content .container, .blog #content-area, .single-post #main-content .container {
		width: 100%;
	}
	.blog #content-area, .single-post #content-area{
		width: 80%;
		margin: auto;
	}
	.et_full_width_page .entry-content {
    width: 80%;
	}
	.et_pb_row {
    width: 80%;
}
	
.flex-row-wrapper {
 display: block;
 }

	.et_pb_toggle h4.et_pb_toggle_title{
		padding-left: 20px;
	}
	.et_pb_accordion .et_pb_toggle_title:before, .et_pb_toggle .et_pb_toggle_title:before{
		display: none;
	}
	
/* Sekcja "Co nas wyróżnia"*/
	.et_pb_main_blurb_image {
		border: none!important;
		padding: 10px 20px 10px 0!important;
		margin: 0!important;
	}
	.et_pb_blurb.et_pb_text_align_left .et_pb_blurb_content .et_pb_blurb_container {
		width: 70%;
		display: inline-block;
		vertical-align: top;
    	padding-top: 15px;
	}
	
/* SLIDER */
	.slider .slide-container {
		flex-wrap: wrap;
	}
	.slider .slide-img, .slider .slide-desc{
		width: 100%;
	}
	.bx-controls{
		display: none;
	}
	.et_header_style_centered #main-header{
		padding-bottom: 0;
	}
	.slide-desc p {
		max-width: 90%;
	}
	.slider .slide-container .slide-desc h1{
		font-size: 55px;
    	margin-top: 32px;
	}
}
@media (max-width: 500px) {
	.et_pb_blurb .et_pb_blurb_content, .et_pb_blurb h4.et_pb_module_header{
		text-align: center!important;
	}
	.et_pb_blurb.et_pb_text_align_left .et_pb_blurb_content .et_pb_blurb_container {
		width: unset;
	}
	.nauczyciel-sidebar .et_pb_team_member{
		margin: 0;
	}
}

@media (max-width: 980px){
.et_header_style_centered .et_mobile_menu {
    top: 36px;
	}
}

.bwg_container *{
	font-family: Quicksand!important;
}