/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        4.0.1
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */
@media(max-width:767px){
	
	.et_header_style_left .logo_container{ width:100% !important;}
	body:not(.et-tb) #main-content .container, body:not(.et-tb-has-header) #main-content .container{padding-top:20px !important; width: 90%;}
	
	#et_top_search{display:none;}
	.mobile-menu{display:block !important; padding-bottom: 50px;}
	.mobile_menu_bar:before{content: url(/wp-content/uploads/2020/11/mobile-menu-icon.png);}
	/*#main-header #mobile_menu.et_mobile_menu .mobile-menu a{text-align:center !important;}*/
	.footer-section-3 .footer-logo-content img {display: block; float: none; margin: 0 auto;}
	.footer-section-3 .et_pb_module{text-align:center; margin-bottom:50px !important;}
	
	.et_pb_text_7_tb_footer img{margin: 0px auto 30px auto;}
	.postlisti-section .et_contact_bottom_container {    
    	width: 60%;
    	margin: 0 auto;
		float:none;
	}
	.postlisti-section .et_pb_contact_field {
    	width: 80% !important;
    	float: none;
    	margin: 0 auto !important;
   	 	text-align: center;
    	padding-bottom: 30px !important;
	}
	
	.postlisti-section .et_pb_contact_form .et_contact_bottom_container .et_pb_button{margin-left: 0px !important;}
	.footer-section-3 h4 {padding-bottom: 16px;}
	.footer-section-3 p {font-weight: 300;}
	
	.mobile-view-tab-slider .et_pb_slide_title{
		/*border:0.5px solid #822791; */
		padding:15px;
		width: 80%;
    	margin: 0 auto;
	}
	.mobile-view-tab-slider .et_pb_slides .et_pb_slider_container_inner{vertical-align: top;}
	.mobile-view-tab-slider .et_pb_slides .et_pb_container{height: 100% !important;}
	.mobile-view-tab-slider .et_pb_slide_description{padding:0px;}
	.mobile-view-tab-slider .et_pb_slide{padding:0px;}
	.mobile-view-tab-slider .et_pb_slide .et_pb_slide_title{text-transform:uppercase;}
	.mobile-view-tab-slider .et-pb-arrow-next,.mobile-view-tab-slider .et-pb-arrow-prev{top: 20px;}
	.mobile-view-tab-slider .et-pb-arrow-prev:before{right:15px; position:relative;}
	.mobile-view-tab-slider .et-pb-arrow-next:before{left:15px; position:relative;}
	.mobile-view-tab-slider table{background: #FFFFFF; border: 0.5px solid #222222;}
	.mobile-view-tab-slider table tr td,
	.mobile-view-tab-slider table tr th{
		background: #FFFFFF; 
		border: 0.5px solid #444;
		border-bottom-color: #444;
    	border-color: #222;
		font-weight: 500;
		text-align: center;
		text-shadow: none;
		height: 54px;
	}
	.mobile-view-tab-slider table tr th{text-transform:uppercase; color:#222;}
	.mobile-view-tab-slider table tr th, .stundaskra-tab-section .mobile-view-slider table tr td:nth-child(1){
		font-weight: 500;
		font-size: 14px;
		line-height: 18px;
	}
	.mobile-view-tab-slider .et_pb_slide_content{padding-top: 20px;}
	.mobile-view-tab-slider .et_pb_slide_description{text-shadow:none;}
	.stundaskra-tab-section .mobile-view-tab-slider .et_pb_slide_title{border:none !important;}
		
	.timar-section .label-text {
    	top: 170px !important;
    	height: 40px !important;
    	font-weight: 600;
    	font-size: 12px !important;
    	line-height: 16px !important;
		width: auto !important;
	}
	.timar-section .et_pb_blurb_container{padding:10px 25px;}
	
	.vidburdir-section .et_pb_slide_image{display:block !important;}
	.vidburdir-section .et_pb_slide_description{
		background: #92278F; 
		padding: 20px;
		/*position: relative;
		bottom: 150px;
    	left: 20px;*/
	}
	/*.vidburdir-section .et_pb_post_slider{height: 470px;}*/
	.vidburdir-section .et_pb_slide_description .et_pb_slide_content{text-align:left; font-weight: normal;}
	.vidburdir-section .et_pb_slide_description .et_pb_slide_title a{font-weight:normal !important;}
	
	.vidburdir-section .et_pb_slide{padding:0px 6% 0px 0px;}
	
	
	.jogatimar-tab-section .mobile-view-tab-slider .et-pb-arrow-next,.jogatimar-tab-section .mobile-view-tab-slider .et-pb-arrow-prev{top: 20px;}
	.jogatimar-tab-section .mobile-view-tab-slider .et-pb-arrow-prev:before{right:15px; position:relative;}
	.jogatimar-tab-section .mobile-view-tab-slider .et-pb-arrow-next:before{left:15px; position:relative;}
	.jogatimar-tab-section .mobile-view-tab-slider .et_pb_slide_description{text-shadow:none;}
	.jogatimar-tab-section .mobile-view-tab-slider .allirtimar-tab-1-content .et_pb_column{padding-bottom:30px;}
	.jogatimar-tab-section .mobile-view-tab-slider .allirtimar-tab-1-content {padding-bottom:0px;}
	
	
	.kundalini-joga-section .et_pb_text h1 img{display:none;}
	.kundalini-joga-section .btn-inline .et_pb_button_module_wrapper a {display: inline-block;  width: 140px;}
	
	
	.kundalini-tab-section .mobile-view-tab-slider .et-pb-arrow-next,.kundalini-tab-section .mobile-view-tab-slider .et-pb-arrow-prev{top: 20px;}
	.kundalini-tab-section .et_pb_text h1 img{display:none;}
	
	
	.verdskra-tab-section .opidkort-tab-1-content .text-content p{display:none;}	
	.verdskra-tab-section .opidkort-tab-1-content .text-content ul li{font-size:16px; line-height:32px; margin: 0 0.5rem !important;}
	.verdskra-price-list .et_pb_button{width:180px !important;}
	.verdskra-tab-section .verdskra-price-list .price-menu p{
		padding-bottom:10px !important; 
		padding-left: 0px !important;
		font-size: 18px;
    	vertical-align: middle;
		display:block;
	}
	.verdskra-tab-section .medgongujoga-tab-2-content .verdskra-price-list .price-menu p.price span {display: block;}
	
	
	.um-jogasetrid-section .et_pb_text h1 img{display:none;}
	.um-jogasetrid-section h1 span{padding:0px !important;}
	.um-jogasetrid-section p img{margin-top:20px;}
	
	.hreyfau-vid-orkunni-section .et_pb_row_2 {background-size: contain !important;}	
	
	.servidburdir-price-list .price-menu p.name{    
		padding: 0px 0px 0px 10px!important;
    	font-size: 18px;
    	vertical-align: middle;
	}
	.servidburdir-price-list .price-menu p{border:none !important; text-align:center !important; width:100% !important;}
	.servidburdir-price-list .et_pb_button_module_wrapper a {
		width: 130px !important;  
		padding: 1em 2em !important;
	}
	
	.galleri-section{padding-bottom:0px; padding-top:0px;}
	
	/* 06/11/2020 */
	.single-yoga-classes .yoga-category-title .et_pb_text_inner{
		font-size: 32px !important;
		line-height: 40px !important;
	}
	.single-yoga-classes .yoga-category-title .et_pb_text_inner:before, .single-yoga-classes .yoga-category-title .et_pb_text_inner:after {
		background-image: url(/wp-content/uploads/2020/09/Jogasetrid-heading-img.png);
		background-size: contain;
		display: inline-block;
		width: 30px;
		height: 20px;
		content: "" !important;
		background-repeat: no-repeat;
	}
	.single-yoga-classes .yoga-category-title .et_pb_text_inner:before{margin:0px 10px 0px 0px !important;}
	.single-yoga-classes .yoga-category-title .et_pb_text_inner:after{margin:0px 0px 0px 10px !important;}
	.custom-post-build .et_pb_title_container h1.entry-title {margin-top: 20px !important; font-weight:600 !important;}
	.custom-post-build span.et_pb_image_wrap img {
		margin-top: -80px !important;
		width: 255px;
    	height: 160px;
    	object-fit: cover;
   		display: flex;
    	margin: 0 auto;
	}	
	.custom-post-build .et_pb_row {width: 100% !important;}
	.custom-post-build .et_pb_button{border-width:2px !important;}
	
	
.et-pb-arrow-next, .et-pb-arrow-prev{opacity:1 !important;}
.medgongujoga-page-section .servidburdir-price-list .price-menu p.name {
    border-bottom: 1px solid #B7B7B5 !important;
    padding: 25px 0px !important;
	width: auto !important;
}
	.medgongujoga-page-section .servidburdir-price-list .price-menu p.price{line-height:22px !important;}
	
}	
@media all and (max-width: 980px){
    /* add padding to header bar */
    .et_header_style_left #main-header {
        padding: 30px 0;
    }
    /* change logo positioning and set its height */
    .et_header_style_left  header#main-header .logo_container,
    .et_header_style_left .logo_container {
        position: relative;
        height: auto;
        max-height: 100px;
        padding-left: 16px;
        text-align: left;
    }
    /* set width and remove top and left padding of #et-top-navigation */
    .et_header_style_left #main-header div#et-top-navigation {
        padding-left: 0 !important;
        padding-top: 0;
        width: 100%;
    }
    
    /* display the "Select Page" words */
    .et_header_style_left .mobile_nav .select_page {
        display: none;
    }
    /* align the menu "hamburger" */
    .et_header_style_left .mobile_menu_bar {
        position: absolute;
        top: 20px;
        right: 5px;
		padding-right: 16px;
    }
    /* add top offset to dropdown menu */
    .et_header_style_left .et_mobile_menu {
        top: 0px;
    }
}
/* Nesting Menu */


/* when mobile menu is open, change hamburger icon to x icon */

#et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before {
    content: '\4d';
	z-index: 9999;
}
/* makes sub sub menu icon be right arrow instead of down arrow */

#top-menu .menu-item-has-children .menu-item-has-children > a:first-child::after,
#et-secondary-nav .menu-item-has-children .menu-item-has-children > a:first-child::after {
    content: '5';
}
/* - mobile menu toggling elements, injected via jQuery - */
/* make menu list item be relative, to be able to position toggle within this item */

#main-header #mobile_menu.et_mobile_menu .menu-item-has-children {
    position: relative;
}
/* the new toggle element, which is added via jQuery */

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle {
    position: absolute;
    background-color: rgba(255,255,255, 0.2);
    z-index: 1;
    width: 36px;
    height: 36px;
    line-height: 36px;
    border-radius: 50%;
    top: 35px;
    right: 30px;
    cursor: pointer;
    text-align: center;
    -webkit-box-shadow: 0 2px 14px 0 rgba(0,0,0, .1);
            box-shadow: 0 2px 14px 0 rgba(0,0,0, .1);
}
/* the new toggle element when popped */

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped {
    background-color: rgba(255,255,255, 0.2);
}
/* toggle icon */

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle::before {
    font-family: "ETmodules" !important;
    font-weight: normal;
    font-style: normal;
    font-variant: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 36px;
    font-size: 24px;
    text-transform: none;
    speak: none;
    content: '\33';
    color: #fff;
}
/* toggle icon when triggered */

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped::before {
    content: '\32';
}
/* hide sub menus by default */

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle ~ ul.sub-menu {
    display: none !important;
    padding-left: 0;
}
/* show sub menu when triggered via jQuery toggle, and add slight bg color */

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped ~ ul.sub-menu {
    display: block !important;
}
/* remove sub menu list item left padding, since padding will be on anchors */

#main-header #mobile_menu.et_mobile_menu li li {
    padding-left: 0;
}
/* adjust mobile menu anchors side paddings */

#main-header #mobile_menu.et_mobile_menu li a {
    padding-left: 20px;
    text-align: left;
	font-weight: 600;
	font-size: 20px;
	line-height: 26px;
	color: #F2F1EC;
}
#main-header #mobile_menu.et_mobile_menu li.mobile-menu a{padding-left:0px;}
/* indent sub sub menus further */

#main-header #mobile_menu.et_mobile_menu li li li a {
    padding-left: 60px;
    padding-right: 20px;
}

#main-header #mobile_menu.et_mobile_menu .menu-item-has-children > a {
    background-color: transparent;
    font-weight: inherit;
}
/* make the current page's mobile menu link be different */

#main-header #mobile_menu.et_mobile_menu li.current-menu-item > a {
    font-weight: bolder;
}

/****** Code Style: Menu Full-screen ******/


@media screen and (max-width: 980px) {
  .et_header_style_centered #main-header {
    position: fixed;
  }
  .et_header_style_centered #main-header .mobile_nav {
    background-color: transparent;
  }
  .mobile_nav.closed .select_page {
    display: none;
  }
  .et-fixed-header#main-header {
    background-color: transparent !important;
  }
}
.et_mobile_menu {
  top: 0;
  left: 0;
  position: fixed;
  z-index: 9998;
  overflow: scroll !important;
  background: #822791 !important;
  padding: 0px 30px;
  height: 100%;
  width: 100%;
  border-top: none;
}

.mobile_nav ul#mobile_menu .current_page_item > a {
  color: #5376F6;
  background-color: rgba(255,255,255, 0.1);
}
.mobile_nav ul#mobile_menu li ul li a {
  font-size: 1.05em !important;
  margin: auto;
  padding-top: 0.2em;
}
.et_mobile_menu li a:hover {
  color: #999;
  -webkit-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
}
@media(max-width:768px){
.mobile_menu_bar:before{content: url(/wp-content/uploads/2020/11/mobile-menu-icon.png);}
}


