/* 
Theme Name: Webmister
Theme URI: https://webmister.pro/
Description: Hello Elementor Child theme by Webmister
Author: Webmister
Author URI: https://webmister.pro/
Template: hello-elementor
Version: 1.0.1
Text Domain: webmister
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/

h1,h2,h3,h4,h5,h6 {
    margin-block-start:1.3rem;
    margin-block-end:.3rem;
}

ul, ol {
    margin-bottom: 0.9rem;
}


.footer-webmister-logo a {
    color: #B38AB7;
    font-family: "Lato", Sans-serif;
    line-height: 1em;
    font-weight: 300;
    font-size: 12px;
}

.footer-webmister-logo a {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.footer-webmister-logo a div {
    display: inline-flex;
    padding: 0 3px;
}

/* Show Hide Sticky Header Speed Control */
#hide-header {
	transition: all .4s ease!important;
}

/* shrinking header section */

.shrinker {
	background: transparent;
	transition: all .2s linear!important;
	-webkit-transition: all .2s linear!important;
	-moz-transition: all .2s linear!important;
}

.shrinker.elementor-sticky--effects {
	background: #fff;
	padding-top: 0px!important;
	padding-bottom: 0px!important;
	box-shadow: 0px 6px 30px -4px rgba(0,0,0,.05);
	transition: all .2s linear!important;
	-webkit-transition: all .2s linear!important;
	-moz-transition: all .2s linear!important;
}

/* shrinking logo image */
.shrinking-logo img {
	width: 170px!important;
	transition: all .2s linear!important;
	-webkit-transition: all .2s linear!important;
	-moz-transition: all .2s linear!important;
}

.shrinker.elementor-sticky--effects .shrinking-logo img {
	width: 100px!important;
	transition: all .2s linear!important;
	-webkit-transition: all .2s linear!important;
	-moz-transition: all .2s linear!important;
}

/* shrinking menu */
.shrinker .shrinking-menu .elementor-nav-menu--main .elementor-item {
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 26px;
    color: #ffffffb5;
    fill: #ffffffb5;
}

.shrinker .shrinking-menu .elementor-nav-menu--main .elementor-item:hover,
.shrinker .shrinking-menu .elementor-nav-menu--main .elementor-item-active.elementor-item {
    color: #ffffff;
    fill: #ffffff;    
}

.shrinker .shrinking-menu.elementor-widget-nav-menu .elementor-nav-menu--main:not(.e--pointer-framed) .elementor-item:before,
.shrinker .shrinking-menu.elementor-widget-nav-menu .elementor-nav-menu--main:not(.e--pointer-framed) .elementor-item:after {
    background-color: #ffffff;
}

.shrinker.elementor-sticky--effects .shrinking-menu .elementor-nav-menu--main .elementor-item {
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 22px;
    color: var(--e-global-color-primary );
    fill: var(--e-global-color-primary );
	transition: all .2s linear!important;
	-webkit-transition: all .2s linear!important;
	-moz-transition: all .2s linear!important;
}

.shrinker.elementor-sticky--effects .shrinking-menu .elementor-nav-menu--main .elementor-item:hover,
.shrinker.elementor-sticky--effects .shrinking-menu .elementor-nav-menu--main .elementor-item-active.elementor-item {
    color: var(--e-global-color-secondary );
    fill: var(--e-global-color-secondary );    
}

.shrinker.elementor-sticky--effects .shrinking-menu.elementor-widget-nav-menu .elementor-nav-menu--main:not(.e--pointer-framed) .elementor-item:before,
.shrinker.elementor-sticky--effects .shrinking-menu.elementor-widget-nav-menu .elementor-nav-menu--main:not(.e--pointer-framed) .elementor-item:after {
    background-color: var(--e-global-color-secondary );
}

.elementor-nav-menu--layout-horizontal .elementor-nav-menu>.wpml-ls-first-item>.elementor-item {
    margin-right: 5px;
}

.elementor-nav-menu--layout-horizontal .elementor-nav-menu>.wpml-ls-last-item>.elementor-item {
    margin-left: 5px;
}

.elementor-nav-menu--layout-horizontal .elementor-nav-menu>.wpml-ls-item>.elementor-item:after {
    background-color: transparent !important;
}


.elementor-widget-testimonial-carousel .swiper-slide {
    padding: 0px;
}

.elementor-testimonial--skin-bubble .elementor-testimonial .elementor-testimonial__content {
    background-color: #fef5df;
    padding: 20px;
    position: relative;
    border-radius: 15px;
}

.elementor-testimonial--skin-bubble .elementor-testimonial .elementor-testimonial__content:after {
    background-color: #fef5df;
}

.elementor-testimonial--align-center.elementor-testimonial--layout-image_inline .elementor-testimonial .elementor-testimonial__image+cite {
    text-align: center;
    margin-left: 0;
}

@media (max-width: 1024px) {
    .elementor-nav-menu--dropdown>.elementor-nav-menu {
        text-align: center;
    }
    .elementor-nav-menu--dropdown>.elementor-nav-menu>.wpml-ls-item {
        width: auto;
        display: inline-block;
        margin-top: 15px;
    }
}

@media (max-width: 768px) {
    .elementor-posts--thumbnail-left .elementor-posts-container .elementor-post,
    .elementor-posts--thumbnail-right .elementor-posts-container .elementor-post {
        flex-direction: column;
    }
    
    .elementor-posts--thumbnail-left .elementor-posts-container .elementor-post .elementor-post__text,
    .elementor-posts--thumbnail-right .elementor-posts-container .elementor-post .elementor-post__text {
        padding-top: 23px !important;
    }
}




