/*
Theme Name: Divi - Épületmérnök
Theme URI: https://epuletmernok.hu/
description: >-
  Épületmérnök Theme
Author: Norbert Szabo
Author URI: https.//myplan.cloud/
Template: Divi
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: epuletmernok
Text Domain: Divi-epuletmernok
*/

/* table of contents */
.table_of_contents{}
.table_of_contents a{display: block; padding: 2px 6px 2px 10px; background-color: #f6f6f6; color: #2f2f2f; margin-bottom: 10px; border-style: solid; border-color: #ffd54f; border-width: 0 0 0 4px;}
.table_of_contents a.selected{background-color: #ffd54f; color: #2f2f2f;}

.table_of_contents.mobile{display: none; margin-top: 40px;}
@media (max-width: 980px){
	.table_of_contents.mobile{display: block;}
}

/* post yellow h2 */
.single-post h2{background-color: #ffd54f; color: #2f2f2f; display: inline-block; padding: 8px 12px; margin: 40px 0 60px 0; font-size: 26px !important;}
.single-post h1{margin-bottom: 30px;}

/* footer settings and widgets if needed */
#footer-widgets .footer-widget:nth-of-type(1) {
    width: 20%;
	margin-right: 5%;
}
#footer-widgets .footer-widget:nth-of-type(2) {
    width: 44%;
	margin-right: 1%;
}
#footer-widgets .footer-widget:nth-of-type(3) {
    width: 29%;
	margin-right: 1%;
}
#footer-widgets{display:none;}
#footer-info{display: block; width: 100%; text-align: center;}
footer{border-color: #ffd54f; border-style: solid; border-width: 0 0 3px 0;}

/*menu fixing*/
@media (min-width: 980px){
	.et_header_style_left .et-fixed-header #et-top-navigation, .et_header_style_split .et-fixed-header #et-top-navigation {
		padding-top: 0;
	}
}
#top-menu li{padding: 15px 10px 0 10px;}
#top-menu>li:last-child{padding: 15px 10px 0 10px;}
#top-menu li.current-menu-ancestor, #top-menu li.current-menu-parent, #top-menu li.current-post-parent, #top-menu li.current-menu-item{background-color: #ffd54f; color: #2f2f2f;}
.et_header_style_left #et-top-navigation, .et_header_style_split #et-top-navigation{padding-top:0;}
.et_header_style_left #et-top-navigation .mobile_menu_bar, .et_header_style_split #et-top-navigation .mobile_menu_bar{padding: 12px 0;}

/* left sidebar */

/*#sidebar{float: left !important; width: 20%; padding: 0 !important;}
#left-area{float: right !important; border-width: 0 !important; padding: 0 0 23px 5%!important; width: 79% !important;}
#main-content .container:before{left: 22.5%!important;}
#sidebar .widget_media_image a{display: block; text-align: center;}
@media (max-width: 980px){
	#sidebar {display: none;}
	#left-area {width: 100% !important; padding: 0 !important;}
}*/

@media (max-width: 980px){
	#sidebar .table_of_contents{display: none;}
}

.hero_image{height: 200px;}
.hero_image img{display: none;}

figure.wp-block-image{}
	figure.wp-block-image img{display: block; width: 100%;}
	figure.wp-block-image figcaption{margin-top: 0; font-weight: bold; font-size: 10px; margin-bottom: 20px; text-align: center; background-color: #f6f6f6;}

.table_vertical_aligntop td{vertical-align: top;} 