/*
Theme Name:     topolekgel
Theme URI:      https://topolekgel.ru/
Description:    Тема детского сада №3 «Тополёк»
Author:         7lotosov
Author URI:     https://instagram.com/7lotosov
Template:       oceanwp
Version:        1.0.0
*/


/*******HEADER*******/

body .hfe-flyout-close,
body .hfe-flyout-close svg {
    top: 3px;
    right: 3px;
    z-index: 9999;
}

.hfe-nav-menu-icon svg {
    vertical-align: top;
}

.hfe-nav-menu-icon::after {
    content: "Меню";
    font-family: "fk-bennie-kz", Sans-serif;
    letter-spacing: 2px;
    /* vertical-align: middle; */
    /* font-weight: 600; */
    font-size: 30px;
    /* text-transform: uppercase; */
    /* color: #64B418; */
}

.hfe-nav-menu .menu-item-has-children .menu-item-has-children .sub-menu {
    padding-left: 20px !important;
}

@media screen and (min-device-width: 320px) and (max-device-width: 767px) {

    .hfe-nav-menu-icon::after {
        content: "";
    }

    .hfe-nav-menu-icon {
        line-height: 0 !important;
    }

    .hfe-nav-menu-icon::after {
        font-size: 33px;
    }

    body .header-title h1 {
        /* text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6) !important;
        font-weight: bold !important;
        line-height: 32px;
        letter-spacing: 3px !important; */
    }

}

/*******ВЕРСИЯ ДЛЯ СЛАБОВИДЯЩИХ*******/

body a.bvi-link-widget, a.bvi-link-shortcode {
    color: #4a4a4a !important;
    background-color: #ffffff00 !important;
    text-transform: uppercase;
    font-weight: 600;
    text-align: end;
    letter-spacing: 0.5px;
}

body .bvi-svg-eye {
    display: none !important;
}

body .bvi-link-widget::before {
    background-size: cover;
    width: 42px;
    height: 42px;
    margin-right: 5px;
    display: inline-block;
    vertical-align: middle;
    content: "";
    background-image: url(https://topolekgel.ru/wp-content/uploads/2021/05/icon-eye.svg);
}

.header-eye-column {
    text-align: end;
}

body a.bvi-link-widget, a.bvi-link-shortcode {
    background-color: transparent !important;
}


@media screen and (min-device-width: 320px) and (max-device-width: 499px) {
	

    body .bvi-link-widget::before {
        width: 30px;
        height: 30px;
    }

    body a.bvi-link-widget, a.bvi-link-shortcode {
        font-size: 11px;
    }

}


/*******CONTENT+WIDGET*******/

body .content-area,
body .sidebar-box {
    -webkit-box-shadow: 0 0px 2px rgba(0, 0, 0, 0.17);
    box-shadow: 0 0px 2px rgba(0, 0, 0, 0.17);
    border-radius: 2px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    -o-border-radius: 2px;
}

body .widget-title {
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
    text-transform: none;
}

.header-title-wawe-bottom {
    height: 40px;
    /* background-image: url(https://ds38abinsk.ru/wp-content/uploads/2021/02/header-wawe-bottom-min-3.png); */
    background-position: top center;
    background-size: cover;
    /* background-size: contain; */
}

.site-main {
    background: 
    url(https://topolekgel.ru/wp-content/uploads/2021/05/fon-page-bottom-min-1.png) left bottom no-repeat,
    /* url(https://ds2gel.ru/wp-content/uploads/2021/05/fon-page-top-min.png) center top no-repeat, */
    url(https://topolekgel.ru/wp-content/uploads/2021/05/fon-page-min-1.png) center top,
    #68c9da;
	background-size: contain;
}

.widget-title {
    border-width: 0px;
    padding: 20px;
    background: #CDD618;
    margin: 0px;
    /* font-size: x-large; */
}

body .widget-area .sidebar-box .textwidget {
    padding: 20px !important;
}

body .widget-area .sidebar-box .textwidget.custom-html-widget {
    padding: 0px !important;
}

.separate-layout #main #content-wrap {
    padding-top: 60px;
    padding-bottom: 120px;
}

body .blog-entry.large-entry .blog-entry-readmore a {
    text-transform: initial;
    font-size: inherit;
}

.single-post:not(.elementor-page) .entry-content a, 
.page:not(.elementor-page):not(.woocommerce-page) .entry a,
.single-post:not(.elementor-page) .entry-content a:hover, 
.page:not(.elementor-page):not(.woocommerce-page) .entry a:hover {
    text-decoration: none;
}

.section-resurses {
    line-height: 1.6em;
}

#scroll-top {
    background-color: rgba(0,0,0,0);
    background-image: url(https://topolekgel.ru/wp-content/uploads/2021/05/icon-scroolup.svg);
    background-size: cover; 
    width: 55px !important;
    height: 55px !important;
    line-height: 40px !important;
    bottom: 60px;
    right: 40px; 
}

#scroll-top:hover {
    background-color: rgba(0,0,0,0);
}

#scroll-top::after {
    content: "Наверх";
    font-size: 12px;
    display: block;
    color: initial;
    margin-top: 5px;
    color: #4a4a4a;
}

#scroll-top span::before {
    content: "";
}

.wp-block-file .wp-block-file__button {
    background: #A9C632;
    color: #4a4a4a !important;
    opacity: 1 !important;
}

.wp-block-file .wp-block-file__button:hover {
    background: #93b117;
    opacity: 1 !important;
}
    

.wp-block-table,
table {
    overflow: hidden;
    overflow-x: scroll;
    display: block;
}

.wp-block-table tr th:first-child, 
.wp-block-table tr td:first-child,
.wp-block-table tr th:last-child, 
.wp-block-table tr td:last-child {
    padding-left: 10px !important;
    padding-right: 10px !important;
}

.wp-embed-responsive .wp-has-aspect-ratio .wp-block-embed__wrapper:before {
    padding-top: 0%;
}

.single-post:not(.elementor-page) .entry-content a:not(.wp-block-button__link):not(.wp-block-file__button),
.page:not(.elementor-page):not(.woocommerce-page) .entry a:not(.wp-block-button__link):not(.wp-block-file__button) {
    text-decoration: none !important;
    text-decoration-line: none !important;
    -moz-text-decoration-line: none !important;
}

@media screen and (min-device-width: 1025px) and (max-device-width: 1280px) {
	
	#primary {
        width: 56% !important;
        display: inline-block;
	}

	#left-sidebar {
		width: 22% !important;
		padding-right: 20px !important;
	}

	#right-sidebar {
		width: 22% !important;
        padding-left: 20px !important;
    }
    
}

@media screen and (min-device-width: 768px) and (max-device-width: 1280px) {

    .separate-layout #main #content-wrap {
        padding-top: 20px;
        padding-bottom: 80px;
        width: 95%;
        max-width: 95%;
    }

    .widget-title {
        padding: 16px;
        font-size: 20px;
    }

}

@media screen and (min-device-width: 768px) and (max-device-width: 1024px) {
	
	#primary {
		width: 70% !important;
		display: inline-block;
	}

	#right-sidebar {
		width: 29% !important;
		padding-left: 15px !important;
		display: inline-block !important;
		vertical-align: top;
    }
    
    .separate-layout #main #content-wrap {
        padding-top: 20px;
        padding-bottom: 170px;
    }


}

@media screen and (min-device-width: 320px) and (max-device-width: 1024px) {
	
	#left-sidebar {
		display: none;
	}

}

@media screen and (min-device-width: 520px) and (max-device-width: 767px) {
	
	.section-resurses img {
        max-width: 60px;
    }

    .separate-layout #main #content-wrap {
        padding-top: 20px;
        padding-bottom: 170px;
    }


}

@media screen and (min-device-width: 320px) and (max-device-width: 767px) {
	
	body table {
		font-size: smaller;
    }

    .separate-layout #main #content-wrap {
        padding-top: 20px;
        padding-bottom: 130px;
    }

    #scroll-top {
        width: 40px !important;
        height: 40px !important;
        bottom: 30px !important;
        right: 20px;
        line-height: 32px !important;
    }

    #scroll-top::after {
        margin-top: 0px;
        font-size: x-small;
    }

    
}

@media screen and (min-device-width: 320px) and (max-device-width: 519px) {
	
	#right-sidebar .sidebar-box {
		text-align: center;
	}

	#right-sidebar .sidebar-box .widget-title {
		text-align: left;
	}

}

/*******VERTICAL MOBILE NAVIGATION*******/

body .wp-megamenu-main-wrapper.wpmm-orientation-vertical {
    width: 100%;
}

body .wpmm-orientation-vertical ul.wpmm-mega-wrapper li > a.wp-mega-menu-link {
    padding: 12px 25px 12px 15px !important;
}

body .wpmm-orientation-vertical .search-toggle-li {
	display: none;
}

.wpmm-orientation-vertical ul.wpmm-mega-wrapper > li:nth-last-child(2) {
    border-bottom: 0px !important;
}

body .wpmm-orientation-vertical ul.wpmm-mega-wrapper > li,
body ul.wpmm-mega-wrapper li.wpmega-menu-flyout ul.wp-mega-sub-menu li {
    border-bottom: 1px solid rgba(50,40,25,0.08) !important;
}

body .wp-megamenu-main-wrapper.wpmm-orientation-vertical ul li.menu-item-has-children > a:after {
    font-size: 20px;
}

body ul.wpmm-mega-wrapper li.wpmega-menu-flyout ul,
body ul.wpmm-mega-wrapper li.wpmega-menu-flyout ul.wp-mega-sub-menu li a {
    width: 400px !important;
}

body .wp-megamenu-main-wrapper.wpmm-ctheme-wrapper.wpmega-default-theme.wpmm-orientation-horizontal ul.wpmm-mega-wrapper > li > a,
body .wp-megamenu-main-wrapper.wpmm-ctheme-wrapper.wpmega-default-theme.wpmm-orientation-vertical ul.wpmm-mega-wrapper > li > a {
    font-weight: 400;
}

/*******FOOTER*******/

#footer ul {
    margin: 0;
}

#footer .menu li {
    list-style-type: none;
}

#footer .menu li a {
    color: #343434;
}

@media screen and (min-device-width: 320px) and (max-device-width: 767px) {
	
#footer .elementor-icon-box-wrapper .elementor-icon-box-icon {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 0px;
    line-height: 0px;
}

#footer .elementor-icon-box-wrapper .elementor-icon-box-content {
    display: inline-block;
    vertical-align: middle;
    width: 85%;
}

.phone-footer-menu {
    font-size: 14px;
}

#footer .footer-phone-menu .elementor-image-box-content {
    display: inline-block;
    width: 88%;
    margin-left: 5px;
    vertical-align: middle;
}

#footer .footer-phone-menu .elementor-widget-image-box .elementor-image-box-wrapper {
    text-align: left;
}

}