/*
 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:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */
@font-face {
    font-family: 'Akrobat-Light';
    src: url("/wp-content/themes/Divi-Child/fonts/Akrobat-Light.otf") format('opentype');
    font-weight: 300;
    font-style: normal;
}

 @font-face {
    font-family: 'Akrobat-Regular';
    src: url("/wp-content/themes/Divi-Child/fonts/Akrobat-Regular.otf") format('opentype');
    font-weight: 400;
    font-style: normal;
} 

@font-face {
    font-family: 'Akrobat-Bold';
    src: url("/wp-content/themes/Divi-Child/fonts/Akrobat-Bold.otf") format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Akrobat-Black';
    src: url("/wp-content/themes/Divi-Child/fonts/Akrobat-Black.otf") format('opentype');
    font-weight: 900;
    font-style: normal;
}

body { font-family: 'Akrobat-Regular'; }
h1, h2, h3, h4, h5 { font-family: 'Akrobat-Bold'; } 

.one-third {
	width: 31%;
    display: inline-block;
    margin-right: 20px;
}
.two-third-last {
	width: 66%;
    display: inline-block;
	vertical-align: top;
}

#pa-back-button:before {
    padding-top: 2px;
}
#pa-button:after {
    padding-top: 2px;
}

.product-slide .et_pb_slide {
	padding: 0; }

.product-slide .et_pb_slide_image { margin-top: 10px !important; }

/* Show slider arrows always */
.et-pb-arrow-next {
       opacity: 1;
       right: 0px;
}
.et-pb-arrow-prev{
       opacity: 1;
       left: 0px;
}

#top-menu > li:last-child .sub-menu {
position: absolute;
right: -20px;
width: 100px !important;
}

.wpml-ls-current-language > a:before {
    font-family: 'ETMODULES';
    content: '\e0e3';
    text-align: center;
    vertical-align: bottom;
    margin-right: 4px;
    margin-left: -10px;
    font-size: 1.2em;
    transition: all .3s ease;
}

@media (min-width: 981px) {
#top-menu li.mega-menu>ul>li {
    width: 33.33%;
}
 
#top-menu li.mega-menu>ul>li:nth-of-type(4n) {
    clear: unset;
}
 
#top-menu li.mega-menu>ul>li:nth-of-type(4n+1) {
    clear: unset;
}
#top-menu li.mega-menu>ul {
    width: 86%;
	right: 0 !important;
    left: auto !important;
}
#top-menu li.mega-menu>ul>li>a { padding: 10px !important; }
	
#top-menu li.mega-menu>ul>li>a:first-child {
    padding-top: 10px !important;
}
#top-menu li.mega-menu>ul {
    padding: 10px 20px 20px 20px;
}
}

@media all and (max-width: 479px) {
   .use-block .et_pb_column { width: 30%!important; }
   .use-block { justify-content: space-between; }

}

@media all and (max-width: 767px) {
	.et_pb_row { width: 90%; }
	.et_pb_slide_image, .et_pb_slide_video { display: block!important; }
	.one-third, .two-third-last { width: 100%; }

}
