/*
Theme Name: Dziecięca Akademia Dietetyczna
Author: Investnet
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html 
Template: sober
*/


.site-header {
    padding: 13px 0;
}
 
.topbar{
	background:#afd3c4;
	color:#23232c; 
	max-height: 40px;
}
@media screen and (max-width: 990px) {
	body .topbar {
		display: block !important;
	}
	body .topbar  > .sober-container {
		display: none !important;
	}
}
.home .slider{
	padding-top:100px;
	padding-bottom:100px;
	min-height: 100vh;
	text-align:center; 
	color:#FFF;
    background-position: top center !important;
}
.slider h1{
	color:#FFF;
	text-align:center;
    margin: 0 0 20px;
}
.slider p{
    font-size: 1.3em;
	max-width:60%;
	margin:0 auto;
}

.button, .btn, .wpcf7-form .wpcf7-submit{
    background-color: #afd3c4;
    color: #000;
}

.grid1{
	font-size:18px;
	font-weight:bold;
	color:#000;
    line-height: 1.2;
	text-align: center;
}

.d-flex{
	display:flex;
    align-items: center;
}
.d-flex img{
	margin-right:20px;
    width: 160px;
}

.grid0{
	padding:50px 5%;
}

.grid4{
	text-align:center;
}

h6{
	margin:0;
	color:#afd3c4;
	text-transform:uppercase;
	letter-spacing:0.2px;
	font-size:16px;
}

.sober-banner{
	padding:5px;
}


.grid5{
	text-align:center;
	padding:130px 0;
	font-size:2em;
	line-height:1.2;
}
.grid5 p{
	margin-bottom:20px;
    color: #FFF;
}

.sociallink{ 
    display: inline-block;
    border: solid 2px #FFF;
    width: 80px;
	font-size:1.4em;
    height: 80px;
    line-height: 80px;
    text-align: center;
    border-radius: 50%;
    color: #FFF;
	margin:0 10px;
}
.sociallink:hover{
	background:#FFF;
	color:#afd3c5;
}

.telbig{
	font-size:2em;
	font-weight:bold;
}
.telbig:hover{
	color:#000;
	font-weight:bold;
}

.grid6{
	text-align:center;
    padding-top: 80px;
}

.grid6 h6{
	color:#FFF;
}

.grid6:before {
    content: "";
    display: block;
    width: 100%;
    height: 400px;
    background: #afd3c4;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
}

.box-wyzwania{
    background: #afd3c4;
    text-align: center;
    padding: 30px;
    margin-bottom: 60px;
}
.box-wyzwania h2{
	margin:20px 0;
}

.box-wyzwania i{
	font-size:50px;
}

@media screen and (max-width: 1690px) {
	.sober-category-banner .banner-content{
		width: 75%;
	}
	.telbig {
    font-size: 1.5em;
}}
@media screen and (max-width: 990px) {
	.sober-category-banner .banner-content{
		width: 100%;
	}
	.slider h1{
		font-size:30px;
	}
	.slider p { 
    max-width: 100%;
	line-height:1.3;
	}
	.d-flex{
		margin-bottom:20px;
	}
	
	.grid0{
		padding-bottom:0;	
	}
	.grid5 {
    font-size: 1em;
		padding: 50px 0;
	}
	.sober-category-banner .banner-title {
    font-size: 28px;
	}
	
	.grid6:before{
		height:300px
	}
	.site-footer{
		line-height: 1.2;
	}
}
.przepis-row {
	margin-top: 30px;
}
.przepis-featured img {
	margin: auto;
	padding-right: 15px;
}
.przepis-row h2 {
	font-size: 22px;
	margin-top: 0;
}
.przepis-row ul, .przepis-row ol {
	padding-inline-start: 20px;
}
/*.przepis-rysunek {
	margin-top: 25px;
	margin-bottom: 25px;
	padding: 25px 0;
	border-width: 1px 0;
	border-color: #f1f2f4;
	border-style: solid;
}*/
.przepis_rysunkowy .download-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 10px;
	margin-bottom: 15px;
	padding: 10px 10px;
	border: 2px solid #afd3c4;
	transition: ease all 0.3s;
}
.przepis_rysunkowy .download-btn:hover {
	background: #afd3c4;
}
.przepis_rysunkowy .download-btn:hover i, .przepis_rysunkowy .download-btn:hover span {
	color: #fff;
}
.przepis_rysunkowy .download-btn i {
	display: inline-block;
	font: normal normal normal 14px/1 FontAwesome;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	margin-right: 8px;
	font-size: 19px;
	color: #afd3c4;
	transition: ease all 0.3s;
	text-align: center;
}
.przepis_rysunkowy .download-btn span {
	font-size: 14px;
	text-transform: uppercase;
	font-weight: 600;
	transition: ease all 0.3s;
	text-align: center;
	line-height: 1.3;
}
@media screen and (max-width: 992px) {
	.przepis-featured img {
		padding-right: 0;
	}
	.przepis-row > .col-12 {
		margin-bottom: 20px;
	}
}

.post.box .box-title {
	font-size: 17px;
	margin-top: 15px;
	margin-bottom: 0;
	text-align: center;
}
.post.box .box-title a:hover {
	font-weight: 500;
}
.post.box {
	text-align: center;
}
.post.box .box-thumbnail img {
	width: auto;
	height: auto;
	max-height: 240px;
	margin: auto;
	transition: ease all 0.3s;
	text-align: center;
}
.post.box .box-thumbnail:hover img {
	opacity: 0.6;
}
.post.box {
	min-height: 330px;
}
@media screen and (max-width:1200px) {
	.box-col.col-12 {
		display: flex;
		flex-wrap: wrap;
	}
}
@media screen and (max-width: 992px) {
	.post.box .box-thumbnail img {
		max-height: 220px;
	}
	.post.box {
		min-height: 280px;
	}
}
.header-icon li ul {
	    box-shadow: 0 4px 10px 0 rgb(3 3 3 / 10%);
    transform: translateY(39px);
    position: absolute;
    top: 100%;
    left: -40px;
    padding: 30px 0;
    min-width: 166px;
    display: none;
    z-index: 99;
    background-color: #fff;
    white-space: nowrap;
}
.header-icon li.menu-item a {
	font-family: Poppins;
    font-size: 12px;
    font-weight: 600;
    color: #23232c;
    text-transform: uppercase;
	position: relative;
	display: block;
}
.header-icon li.menu-item {
	display: inline-block;
    position: relative;
}
.header-icon > ul > li.menu-item > a:after {
	content: '';
    position: absolute;
    right: 0;
    bottom: -3px;
    transition: all .5s;
    width: 0;
    height: 2px;
    background-color: #23232c;
}
.header-icon li.menu-item.current-menu-item > a:after, .header-icon li.menu-item.current-menu-ancestor > a:after, .header-icon > ul > li.menu-item:hover > a:after {
	width: 100%;
	left: 0;
}
.header-icon li:hover ul {
	display: flex;
	flex-direction: column;
}
.header-icon li.menu-item ul:before {
	position: absolute;
	top: -39px;
	left: 0;
	content: '';
	width: 100%;
	height: 39px;
	background-color: transparent;
}

.header-icon li.menu-item ul ul {
	left: 100%;
	top: 10px;
	transform: translate(3px, -40px);
}

.header-icon li.menu-item ul ul:before {
	top: 0;
	left: -3px;
	width: 3px;
	height: 100%;
}

.header-icon li.menu-item li {
	display: block;
	margin: 0;
	padding: 10px 40px;
}

.header-icon li.menu-item li a {
	color: #909097;
	font-weight: 400;
	text-transform: none;
	text-align: left;
	line-height: 1.4;
}
.header-icon li.menu-item li a:hover {
	color: #23232c;
}

.toggle-list-maker {
	font-weight: 600;
	margin-top:15px;
	margin-bottom: 10px;
	font-size: 18px;
	display: inline-block;
}
.toggle-list-maker:hover {
	font-weight: 600;
}
.toggle-list-item {
	overflow: hidden;
	max-height: 0;
	opacity: 0;
	transition: ease all 0.3s;
	margin-top: 0;
	margin-bottom: 0;
	padding: 0;
}
.toggle-list-item.active {
	max-height: 10000px;
	padding-top: 15px;
	padding-bottom: 15px;
	margin-top: 10px;
	margin-bottom: 10px;
	opacity: 1;
}

.tc-extra-product-options h3,.tc-extra-product-options h4 {
	margin-top: 0;
}
.tc-extra-product-options .radio-image-label {
	padding: 5px 0 0 0;
	line-height: 1.3;
	font-size: 13px;
}
body.single-product.woocommerce div.product.tm-has-options div.summary {
	padding-left: 100px;
	padding-right: 80px;
}
body .tc-extra-product-options .tmcp-field-wrap .price.tc-price .amount {
	font-size: 13px !important;
	line-height: 1.1;
	font-weight: 600;
}
body.single-product.woocommerce div.product.tm-has-options .tm-extra-product-options .radio_image {
	width: 128px;
	height: 128px;
	object-fit: cover;
}
body.single-product.woocommerce div.product.tm-has-options  .tc-extra-product-options h3 {
	margin-bottom: 15px;
}
body.single-product.woocommerce div.product.tm-has-options  .tc-extra-product-options h4 {
	margin-bottom: 8px;
}
body.single-product.woocommerce div.product.tm-has-options .big-text p, body.single-product.woocommerce div.product.tm-has-options .big-text li {
	font-size: 17px;
	line-height: 1.6;
}
body.single-product.woocommerce div.product.tm-has-options .big-text h3 {
	font-size: 21px;
}
body.single-product.woocommerce div.product.tm-has-options .big-text h4 {
	font-size: 19px;
}
.col-image-row .wpb_single_image img {
	max-width: 85%;
	max-height: 520px;
	object-fit: contain;
	object-position: center;
}
.col-image-row  .wpb_single_image .vc_figure  {
	text-align: center;
}
.product-image-row img {
	width: 360px;
	height: 360px;
	object-fit: cover;
}
.product-image-row .wpb_single_image {
	margin-bottom: 10px;
}
.product-image-row .wpb_text_column p {
	font-size: 17px;
	line-height: 1.4;
	font-weight: 600;
}
.big-text h3 {
	margin-top: 1em !important;
	margin-bottom: 1.1em !important;
}
.big-text p {
	margin-bottom: 0.7em;
}
@media screen and (max-width: 1440px) {
	body.single-product.woocommerce div.product.tm-has-options div.summary {
		padding-left: 50px;
		padding-right: 30px;
	}
}
@media screen and (max-width: 1150px) {
	body.single-product.woocommerce div.product.tm-has-options div.summary {
		padding-left: 40px;
		padding-right: 0px;
	}
	.tc-extra-product-options .radio-image-label {
		font-size: 12px;
	}
}
@media screen and (max-width: 1024px) {
	.product-image-row .wpb_text_column p {
		font-size: 16px;
	}
		body.single-product.woocommerce div.product.tm-has-options .big-text p, body.single-product.woocommerce div.product.tm-has-options .big-text li {
		font-size: 16px;
	}
	body.single-product.woocommerce div.product.tm-has-options .big-text h3 {
		font-size: 19px;
	}
	body.single-product.woocommerce div.product.tm-has-options .big-text h4 {
		font-size: 17px;
	}
}
@media screen and (max-width: 991px) {
	body.single-product.woocommerce div.product.tm-has-options div.summary {
		padding-left: 0;
	}
}
@media screen and (max-width: 768px) {
	.product-image-row .wpb_text_column p {
		font-size: 15px;
		max-width: 400px;
		margin-left: auto;
		margin-right: auto;
	}
	body .product-image-row {
		margin-bottom: 0 !important;
	}
	body.single-product.woocommerce div.product.tm-has-options .big-text p, body.single-product.woocommerce div.product.tm-has-options .big-text h3  {
		text-align: center !important;
	}
	.col-image-row .wpb_single_image {
		margin-top: 15px !important;
		text-align: center !important;
	}
	.product-image-row > .wpb_column {
		margin-bottom: 20px;
	}
	body.single-product.woocommerce div.product.tm-has-options .big-text p, body.single-product.woocommerce div.product.tm-has-options .big-text li {
		font-size: 15px;
		line-height: 1.5;
	}
	body.single-product.woocommerce div.product.tm-has-options .big-text h3 {
		font-size: 17px;
	}
	body.single-product.woocommerce div.product.tm-has-options .big-text h4 {
		font-size: 16px;
	}
}
.absolute-img {
	position: absolute;
	z-index: -1;
	opacity: 0.3;
}
.absolute-img.bottom-left {
	left: 0;
	bottom: 0;
}
#popup.sober-popup.popup-layout-modal .popup-content.popup-image {
	display: none;
}
#popup.sober-popup.popup-layout-modal .popup-content {
	width: 100%;
	padding: 0;
}
#popup.sober-popup.popup-layout-modal .popup-modal svg {
	fill: #fff !important;
}
.site-footer .mailerlite-form .mailerlite-form-inputs {
	display: flex;
	align-items: stretch;
	justify-content: center;
	padding-top: 15px;
}
.site-footer .mailerlite-form .mailerlite-form-inputs .mailerlite-form-field label {
	display: none;
}
.site-footer .mailerlite-form .mailerlite-form-inputs .mailerlite-form-field {
	display: flex;
	flex-direction: column;
}
.site-footer .mailerlite-form .mailerlite-subscribe-submit {
	color: #fff;
}
@media screen and (max-width: 520px) {
	.site-footer .mailerlite-form .mailerlite-subscribe-submit {
		padding: 6px 25px;
	}
}
.patroni-images-row .patroni-images-col > .vc_column-inner > .wpb_wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
}
.patroni-images-row .patroni-images-col .patroni-title, .patroni-images-row .patroni-images-col  .patroni-medialni-title {
	width: 100%;
	display: block;
}
.patroni-images-row.columns .patroni-images-col .patron-img {
	width: 33.3%;
	display: block;
	padding: 5px;
}
.patroni-images-row .patroni-images-col .patron-img {
	width: 14.2%;
	display: block;
	padding: 5px;
}
.patroni-images-row .patroni-images-col .patron-img img {
	width: 100%;
	height: 85px;
	object-fit: contain;
}
.patroni-images-row:not(.columns) {
	padding-bottom: 35px;
}
@media screen and (max-width: 1024px) {
	.patroni-images-row.columns .patroni-images-col .patron-img {
		width: 45%;
	}
}
@media screen and (max-width: 768px) {
	.ksiazka-ikony .vc_grid-item {
		display: inline-block !important;
		width: 50%;
		padding-right: 10px !important;
		padding-bottom: 10px !important;
	}
	.patroni-images-row.columns .patroni-images-col .patron-img {
		width: 48%;
	}
	.patroni-images-row .patroni-images-col .patron-img {
		width: 33.3%;
	}
}

.opinie .opinie-row .opinia-col .wpb_text_column a {
	display: inline-block;
	padding: 10px 23px;
	background: #afd3c4;
}
.opinie .opinie-row .opinia-col .wpb_text_column a:hover {
	background: #23232c;
	color: #fff;
}
.opinie .wpb_single_image {
	padding: 25px 0;
}
.post-type-archive-przepisy .gorny-opis h2 {
	margin-top: 0;
}
.post-type-archive-przepisy .kategorie {
	margin-bottom: 60px;
	margin-top: 35px;
}
.post-type-archive-przepisy .kategorie h3 {
	margin-top: 0;
	margin-bottom: 15px;
}
.post-type-archive-przepisy .kategorie ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	align-items: flex-start;
}
.post-type-archive-przepisy .kategorie ul li {
	margin-right: 15px;
	margin-bottom: 8px;
}
.post-type-archive-przepisy .kategorie ul li a {
	display: inline-block;
	padding: 12px 18px;
	color: #000;
	background: #afd3c4;
	font-weight: 600;
	font-size: 12px;
	text-transform: uppercase;
	line-height: 1.2;
	transition: ease all 0.3s;
}
.post-type-archive-przepisy .kategorie ul li a:hover {
	background: #000;
	color: #fff;
}
.post-type-archive-przepisy .dolny-opis {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	padding: 60px 0 0 0;
}
.post-type-archive-przepisy .dolny-opis h2 {
	margin-top: 0;
}
.post-type-archive-przepisy .dolny-opis .opis {
	width: 60%;
	padding-right: 15px;
}
.post-type-archive-przepisy .dolny-opis .obraz {
	width: 40%;
	padding-left: 15px;
}
.post-type-archive-przepisy .dolny-opis p {
	line-height: 1.6;
	font-size: 14px;
}
@media screen and (max-width: 1024px) {
	.post-type-archive-przepisy .dolny-opis .opis, .post-type-archive-przepisy .dolny-opis .obraz {
		width: 100%;
		padding-left: 0;
		padding-right: 0;
	}
	.post-type-archive-przepisy .dolny-opis .obraz {
		padding-top: 25px;
		text-align: center;
	}
}
@media screen and (max-width: 768px) {
	.post-type-archive-przepisy .kategorie ul {
		flex-wrap: wrap;
	}
	.post-type-archive-przepisy .kategorie ul li {
		margin-right: 10px;
		margin-bottom: 10px;
	}
}
.menu-item.hot {
	padding-right: 24px;
}
.menu-item.hot::after {
	content: 'HOT';
	background: #E15756;
	color: #fff;
	font-size: 8px;
	font-weight: 700;
	position: absolute;
	right: 0;
	top: 0;
	line-height: 1;
	padding: 3px 3px 1px 3px;
}
@media screen and (max-width: 1390px) {
	.header-icon li {
		margin-right: 20px;
	}
}
@media screen and (max-width: 1330px) {
	.header-icon li, .nav-menu li {
		margin-right: 15px;
	}
	.site-branding .DAD logo img {
		width: 115px;
		height: auto;
	}
}
@media screen and (max-width: 1230px) {
	.header-icon li.menu-item a {
		font-size: 11px;
	}
}
@media screen and (max-width: 768px) {
	.site-branding .DAD logo img {
		width: 105px;
		height: auto;
	}
}
@media screen and (max-width:520px) {
	.site-branding .DAD logo img {
		width: 95px;
		height: auto;
	}
}

.author-info .author-vcard {
	max-width: 300px;
	margin-left: 0;
	margin-right: auto;
	float: inherit !important;
}
.author-info .author-vcard 
.single-przepisy .author-info {
	padding-top: 40px;
}
.single-przepisy article.przepisy {
	padding-bottom: 40px;
	margin-bottom: 0;
}
.author-info .author-vcard > a {
	max-width: 160px;
	width: 30%;
	margin-left: 0;
	margin-right: auto;
	display: inline-block;
}
.author-info .author-vcard .author-title {
	width: 70%;
	margin: 0 auto 0 auto;
	padding-left: 10px;
	display: inline-block;
	float: right;
}
.author-info .author-vcard p {
	margin-bottom: 0;
	padding-top: 10px;
}