/*
 Theme Name:   TopGadgets
 Theme URI:    https://manifestor.gr
 Description:  Dynamic Theme
 Author:       The Manifestor
 Author URI:   https://manifestor.gr
 Template:     Divi
*/

/*make Divi Builder text style settings sticky on scroll*/
.mce-panel .mce-stack-layout-item.mce-first {
	position: sticky!important;
	top: -60px;
}

/*Hide Divi AI button*/
.et-fb-icon.et-fb-icon--divi-ai, button.et-fb-button.et-fb-button.et-fb-button--info.et-fb-ai-options-button {
	display: none !important;
}

/*-----Stop words from braking -----*/
h1, h2, h3, h4, h5, h6 p div {
    overflow-wrap: normal !important;
}

.et-search-form, blockquote {
    border-color: #0a4c0d !important;
}

.pst-cont a {
	color: #0a4c0d !important;
	font-weight: 500 !important;
}

.pst-cont a:hover {
	background-color: #feff00 !important;
}

.pst-cont h2 a {
	color: #0a4c0d !important;
	font-weight: 700 !important;
}

/* Text left of hamburger in the Theme Builder */
.et_mobile_nav_menu:before  {
content: 'MENU';
position: absolute;
right: 40px;
margin-top:5px;
color: #333;
font-size:16px;
}

/* Text left of hamburger in Divi 3 */
#et_mobile_nav_menu:before  {
	content: 'MENU';
	position: absolute;
	right: 33px;
	bottom:30px;
	color: #252525;
	font-size:16px;
}

/* X icon in expanded mobile menu */
.mobile_nav.opened .mobile_menu_bar:before {
	content: '\4d';
	color: #00b150;
}

/* X icon in expanded mobile menu */
	.mobile_nav.closed .mobile_menu_bar:before {
	color: #00b150;
}

/* Remove the top line in the mobile menu*/
.et_mobile_menu {
	border-top:0;
}

/* Center-align moble menu items */
.et_mobile_menu li {
	text-align:center !important;
}
  
.et_mobile_menu li li, .et_mobile_menu li ul {
	padding-left:0 !important;
}

/* Make mobile menu fullwidth */
.et_mobile_menu {
	min-width: 100vw;
	margin-left: -10vw;
}

/* Make the mobile menu full height */
.et_mobile_menu {
	min-height:100vh !important;
	min-height: -webkit-fill-available;
	padding-top:50px !important;
}

html {
	height: -webkit-fill-available;
}

/* Remove the animation to avoid delay */

.mobile_nav.opened .et_mobile_menu {
	display:block !important;
}

#main-header { box-shadow: none !important; }
#main-header.et-fixed-header { box-shadow: none !important; }

.navbar-nav a.active { 
    color: #00b150; 
}

#top-menu a {
	font-weight: 400 !important;
}

#top-menu .current-menu-item a::before,
#top-menu .current_page_item a::before {
 content: "";
 position: absolute;
 z-index: 2;
 left: 0;
 right: 0;
}
#top-menu li a:before {
 content: "";
 position: absolute;
 z-index: -2;
 left: 0;
 right: 100%;
 bottom: 50%;
 background: #00b150; /*** COLOR OF THE LINE ***/
 height: 2px; /*** THICKNESS OF THE LINE ***/
 -webkit-transition-property: right;
 transition-property: right;
 -webkit-transition-duration: 0.3s;
 transition-duration: 0.3s;
 -webkit-transition-timing-function: ease-out;
 transition-timing-function: ease-out;
}
#top-menu li a:hover {
 opacity: 1 !important;
}
#top-menu li a:hover:before {
 right: 0;
}
#top-menu li li a:before {
 bottom: 10%;
}

.foot-a a {
	color: #ffffff !important;
}

.foot-a a:hover {
	color: #00b150 !important;
}

.et_pb_blog_0 .et_pb_post div.post-content a.more-link:after {
    content: "...";
}

.et_pb_blog_0 .et_pb_post div.post-content a.more-link:hover {
    text-decoration: underline;
}

a.more-link {
    color: #00b150 !important;
}

a.more-link:hover {
    text-decoration: underline;
}

img.wp-image-168 {
    border-radius: 50% !important;
	display: block !important;
    margin: 0 auto !important;
	margin-top: -3em !important;
}

@media only screen and (max-width: 600px) {
	img.wp-image-168 {
		margin-top: -1em !important;
	}	
}

p.has-text-align-center {
    text-align: center !important;
	font-size: 13px !important;
	margin-top: -5em !important;
}

@media only screen and (max-width: 600px) {
	p.has-text-align-center {
		margin-top: -1em !important;
	}	
}

div#recent-posts-2 {
    margin-top: -3em !important;
}

@media only screen and (max-width: 600px) {
	div#recent-posts-2 {
		margin-top: -1em !important;
	}	
}

div#block-10 {
    margin-top: -5em !important;
}

@media only screen and (max-width: 600px) {
	div#block-10 {
		margin-top: -1em !important;
	}	
}

div#block-13 {
    margin-bottom: 0.8em !important;
	margin-top: -2em !important;
}

@media only screen and (max-width: 600px) {
	div#block-13 {
		margin-top: 0em !important;
	}	
}

div#recent-posts-widget-with-thumbnails-2 {
    margin-top: -3em;
}

@media only screen and (max-width: 600px) {
	div#recent-posts-widget-with-thumbnails-2 {
		margin-top: -1em !important;
	}	
}

.et_pb_widget_area ul {
    font-size: 14px !important;
}

.et_pb_widget_area ul:hover {
	text-decoration: underline;
}

h4.widgettitle {
    display: none !important;
	margin-bottom: 2em !important;
}

li::marker {
  font-weight: 700;
}

input#searchsubmit {
	color: #fff !important;
	text-transform: uppercase !important;
    background-color: #00b150 !important;
}

input#searchsubmit:hover {
	background-color: #008000 !important;
}

.col-1 {
	display: grid;
	grid-template-columns: auto auto;
}
