/*
 Theme Name:  Divi Child Theme
 Theme URI:    https://divilife.com
 Description:  Child Theme for Divi
 Author:       Tim Strifler
 Author URI:   https://divilife.com
 Template:     Divi
 Version:      1.0.0
*/

/*****Add any custom CSS below this line*****/

/*****************************************************************
Full width mobile menu DiviTutorials.co.uk
 *****************************************************************/
/** Makes the menu background full width **/
 
@media (min-width: 981px) {
 .container.et_menu_container { 
    width: calc( 100% - 60px);
 }
}
 
.et_mobile_menu {
    margin-left: -30px;
    padding: 5%;
    width: calc( 100% + 60px);
}
 
/** Hamburger icon turns to an x when opened **/
.mobile_nav.opened .mobile_menu_bar:before {
    content: "\4d";
}

#mobile_menu {
    padding: 0;
}

/* Mjenja boju hamburger ikonice */
.mobile_menu_bar:before {
color: #61b700 !important;
}


/** Podesava da mobile meni bude sticky samo u Portrait modu **/
@media only screen and (max-width: 480px) {
.et_fixed_nav #main-header, 
.et_fixed_nav #top-header,
.et_non_fixed_nav.et_transparent_nav #main-header,
.et_non_fixed_nav.et_transparent_nav #top-header {
    position: fixed;
	height: 90px;
	opacity: 1;
}
}
.et_mobile_menu {
    overflow: scroll !important;
    max-height: 80vh;
}
/**  KRAJ  **/


/**  Podesava da logo bude veci na mobilnom  **/
    @media only screen and (max-width: 980px) {
    #logo {
        height: 100% !important;
        max-height: 100% !important;
        width: auto;
        max-width: 100% !important;
		padding-top: 5px;
		padding-bottom: 5px;
		}
    }
/**  KRAJ  **/

/**  Podesava da logo bude bude odmaknutut od gore i dole  **/
@media only screen and (min-width: 1200px) {
#logo {
		padding-top: 5px;
		padding-bottom: 5px;
        }
	 }
/**  KRAJ  **/



/* ##### PODESAVA DROPDOWN MENU ##### */

#top-menu .sub-menu {
   background-color: #ffffff; /* Background color dropdown */
   border-top: 3px solid #61b700; /* Top border color dropdown */
}
#top-menu .sub-menu li a {
   /*font-size: 16px; /* Font size dropdown */
   width: 100%;
   /*color: #231f20;
  /* border-bottom: 1px solid #768792; /* Border bottom menu item color */
}

@media only screen and (min-width: 981px) {
.nav li ul {
	margin-top: -30px;  /* Pomjera podmeni blize glavnom meniju */
}
	}


.sub-menu li:hover {
	background-color: #61b700; /* Hover color menu item */
	color: #000000;
}
#top-menu .sub-menu li a:hover {  /* Hover dropdown menu color menu item */
   color: #000000;
   transition: 0s;
}
.sub-menu .current_page_item {
   background-color: #61b700; /* Current menu item color dropdown **/
	color: #000000;
}
#top-menu .sub-menu li {  /* Podesava da kompletna linija podmenija bude ispunjena hover bojom */
   padding-left: 0px;
   padding-right: 0px;
   width: 100%;
}
#top-menu li li a {
   padding-top: 10px;
   padding-bottom: 8px;
}
#top-menu .sub-menu {
   padding-top: 0px;
   padding-bottom: 0px;
}
.nav ul li a:hover {
   opacity: 1;
   background-color: rgba(0,0,0,0);
}

#top-menu li.sub-menu a { 
   padding-top: 30px;
}

/**  KRAJ DROPDOWN MENU **/

/* Adjust MENU Breakpoint */

@media (max-width: 1149px) {
 #et_mobile_nav_menu {
 display: block;
 }
 
#top-menu {
 display: none;
 }
 }

/* KRAJ */