a{
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
.mega-menu .wp-block-navigation .wp-block-navigation__submenu-icon:focus{
    outline: none !important;
}
/*navigation css*/
@media screen and (min-width:1000px){
    .wp-block-navigation ul li a{
        position: relative;
    }
    .wp-block-navigation ul li a::before {
        content: "";
        background: var(--wp--preset--color--primary);
        opacity: 0;
        margin: 0 auto;
        height: 3px;
        width: 0;
        right: 0;
        left: 0;
        top: -20px;
        position: absolute;
        -moz-transition: width 0.5s ease-in-out, opacity 0.5s ease-in-out;
        -o-transition: width 0.5s ease-in-out, opacity 0.5s ease-in-out;
        -webkit-transition: width 0.5s ease-in-out, opacity 0.5s ease-in-out;
        transition: width 0.5s ease-in-out, opacity 0.5s ease-in-out;
    }
    .wp-block-navigation ul li a:hover::before,
    .wp-block-navigation ul li a:focus::before {
        opacity: 1;
        width: calc(100% - 3px);
    }
    .wp-block-navigation .current-menu-item a::before{
        content: "";
        position: absolute;
        opacity: 1;
        background: var(--wp--preset--color--primary);
        margin: 0 auto;
        height: 3px;
        right: 0;
        left: 0;
        top: -20px;
        width: calc(100% - 3px);
    }
    .wp-block-navigation ul li a:hover,
    .wp-block-navigation ul li a:focus,
    .wp-block-navigation .current-menu-item a,
    .wp-block-navigation ul ul li a:hover,
    .wp-block-navigation ul ul li a:focus,
    .wp-block-navigation__submenu-container .current-menu-item a{
        color: var(--wp--preset--color--primary) !important;
    }
    .wp-block-navigation .has-child .wp-block-navigation__submenu-container{  
        border-top: 2px solid var(--wp--preset--color--primary);
        border-bottom: 2px solid var(--wp--preset--color--primary);
        box-shadow: -2px 2px 8px #cfc8d8;
    }
    .wp-block-navigation ul ul li a:hover::before,
    .wp-block-navigation ul ul li a:focus::before,
    .wp-block-navigation ul ul .current-menu-item a::before {
        width: 0 !important; 
    }
    .wp-block-navigation ul ul li a{
        border-bottom: 1px solid var(--wp--preset--color--border-color);
        color: var(--wp--preset--color--primary) !important;
    }
    .wp-block-navigation ul li:last-child a{
        border-bottom: none;
    }
    .wp-block-navigation ul ul li a:hover,
    .wp-block-navigation ul ul li a:focus,
    .wp-block-navigation__submenu-container .current-menu-item a{
        background-color: var(--wp--preset--color--primary-light) !important;
    }
    /*mega-menu*/
    .mega-menu .wp-block-navigation .has-child .wp-block-navigation__submenu-container{
        box-shadow: none;
        border-top: none;
        border-bottom: none;
    }
    .mega-menu .wp-block-navigation ul li a::before,
    .mega-menu .wp-block-navigation ul ul .current-menu-item a::before{
        display: none;
    }
    .mega-menu .wp-block-navigation ul ul li a{
        color: var(--wp--preset--color--black) !important;
    }
    .mega-menu .wp-block-navigation ul ul li a:hover,
    .mega-menu .wp-block-navigation ul ul li a:focus{
        color: var(--wp--preset--color--primary) !important;
    }
}
.wp-block-navigation ul ul{
    padding: 0 !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-page-list,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container{
    width: 100%;
    border: 1px solid var(--wp--preset--color--border-color);
    border-top-color: var(--wp--preset--color--primary);
    border-bottom-color: var(--wp--preset--color--primary);
}
.wp-block-navigation__responsive-container.is-menu-open li a,
.wp-block-navigation__responsive-container.is-menu-open li li a,
.wp-block-navigation__responsive-container.is-menu-open li li:last-child a{
    border-bottom: 1px solid var(--wp--preset--color--border-color);
}
.wp-block-navigation__responsive-container.is-menu-open li:last-child a{
    border-bottom: none;
}
.wp-block-navigation__responsive-container.is-menu-open li a:hover,
.wp-block-navigation__responsive-container.is-menu-open li a:focus,
.wp-block-navigation__responsive-container.is-menu-open li.current-menu-item a{
    background-color: var(--wp--preset--color--primary-light) !important;
    color: var(--wp--preset--color--primary) !important;
}
@media screen and (max-width:999px) {
    .wp-block-navigation__responsive-container,
    .wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content{
        display: none;
    }

    .wp-block-navigation__responsive-container-close svg,
    .wp-block-navigation__responsive-container-open svg{
        width: 26px;
        height: 26px;
    }
    
    .wp-block-navigation__responsive-container-open svg{
        fill: var(--wp--preset--color--heading);
    }
    .wp-block-navigation__responsive-container-close svg{
        fill: var(--wp--preset--color--black);
    }

    .wp-block-navigation__responsive-container-close{
        top: 0;
        left: 20px;
    }

    .wp-block-navigation__responsive-container-open:not(.always-shown){
        display: block;
    }

    .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
        display: none; 
    }

    .wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open{
        background-color: var(--wp--preset--color--white);
    }

    .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content{
        padding: 1.5em;
        padding-top: 2.5rem;
    }

    .wp-block-navigation .wp-block-navigation__responsive-container-content ul.wp-block-navigation__container {
        width: 100%;
        gap: 0 !important;
        border-bottom: none;
    }
    .wp-block-navigation .wp-block-navigation__responsive-container-content ul.wp-block-navigation__container li.wp-block-navigation-item {
        width: 100%;
        gap: 0 !important;
        border: none !important;
    }
    .wp-block-navigation .wp-block-navigation__responsive-container-content ul.wp-block-navigation__container li.wp-block-navigation-item a {
        width: calc( 100% - 48px );
        padding: 12px 24px 12px;
        line-height: 30px;
    }

    /*
    * Submenu Css
    */
    .wp-block-navigation .wp-block-navigation__responsive-container-content ul.wp-block-navigation__container li.wp-block-navigation-item ul.wp-block-navigation__submenu-container {
        width: 100%;
        gap: 0;
        margin: 0;
        padding: 0;
        box-shadow: none;
    }
    .wp-block-navigation .wp-block-navigation__responsive-container-content ul.wp-block-navigation__container li.wp-block-navigation-item ul.wp-block-navigation__submenu-container li.wp-block-navigation-item a{
        gap: 3px;
        font-weight: 300 !important;
    }
    .wp-block-navigation .wp-block-navigation__responsive-container-content ul.wp-block-navigation__container li.wp-block-navigation-item ul.wp-block-navigation__submenu-container li.wp-block-navigation-item a:before {
        content: '--';
    }
}
/*mega menu css*/
.mega-menu .wp-block-navigation__responsive-container.is-menu-open{
    width: 20%;
    right: auto;
    left: 0;
    margin-left: 0;
    margin-right: auto;
}
.mega-menu .wp-block-navigation__responsive-container-close svg,
.mega-menu .wp-block-navigation__responsive-container-open svg{
    width: 26px;
    height: 26px;
}
.mega-menu .wp-block-navigation__responsive-container-open svg{
    fill: var(--wp--preset--color--heading);
}
.mega-menu .wp-block-navigation__responsive-container-close svg{
    fill: var(--wp--preset--color--black);
}
.mega-menu .wp-block-navigation__responsive-container-close{
    top: 10px;
    left: 20px;
}
.mega-menu .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content{
    padding: 1.5em;
    padding-top: 2.5rem;
}
.mega-menu .wp-block-navigation .wp-block-navigation__responsive-container-content ul.wp-block-navigation__container {
    width: 100%;
    gap: 0 !important;
}
.mega-menu .wp-block-navigation .wp-block-navigation__responsive-container-content ul.wp-block-navigation__container li.wp-block-navigation-item {
    width: 100%;
    gap: 0 !important;
    border: none !important;
}
.mega-menu .wp-block-navigation .wp-block-navigation__responsive-container-content ul.wp-block-navigation__container li.wp-block-navigation-item a {
    width: calc( 100% - 48px );
    padding: 12px 24px 12px;
    line-height: 30px;
    text-align: right;
}
/*
* Submenu Css
*/
.mega-menu .wp-block-navigation .wp-block-navigation__responsive-container-content ul.wp-block-navigation__container li.wp-block-navigation-item ul.wp-block-navigation__submenu-container {
    width: 100%;
    gap: 0;
    margin: 0;
    padding: 0;
    box-shadow: none;
}
.mega-menu .wp-block-navigation .wp-block-navigation__responsive-container-content ul.wp-block-navigation__container li.wp-block-navigation-item ul.wp-block-navigation__submenu-container li.wp-block-navigation-item a{
    gap: 3px;
    font-weight: 300 !important;
}
.mega-menu .wp-block-navigation .wp-block-navigation__responsive-container-content ul.wp-block-navigation__container li.wp-block-navigation-item ul.wp-block-navigation__submenu-container li.wp-block-navigation-item a:before {
    content: '--';
}
@media screen and (max-width:1399px){
    .mega-menu .wp-block-navigation__responsive-container.is-menu-open{
        width: 25%;
    }
}
@media screen and (max-width:1099px){
    .mega-menu .wp-block-navigation__responsive-container.is-menu-open{
        width: 30%;
    }
}
@media screen and (max-width:999px){
    .mega-menu .wp-block-navigation__responsive-container.is-menu-open{
        width: 100%;
    }
}
.wp-block-image img{
    vertical-align: middle;
}

.pos-relative{
    position: relative;
}

form {
    position: relative;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea,
select {
    width: 100%;
    margin: 0;
    padding: 10px 15px;
    border: 1px solid var(--wp--preset--color--border-color);
    resize: none;
    line-height: 20px;
    background: none;
    color: var(--wp--preset--color--foreground);
    font-weight: 400;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
select option{
    background: var(--wp--preset--color--base);
    color: var(--wp--preset--color--foreground);
}
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
select::-ms-expand {
    display: none; /* hide the default arrow in ie10 and ie11 */
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus,
select:focus {
    border-color: var(--wp--preset--color--primary);
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    -moz-appearance: button;
    appearance: button;
    cursor: pointer;
    border: none;
    padding: 12px 20px;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: var(--wp--preset--color--primary);
    border-radius: 0;
}
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    text-align: center;
    letter-spacing: 2px;
}

.wpcf7-form label {
    display: block;
    text-transform: uppercase;
    font-size: 12px;
    margin: 0 0 8px;
    color: var(--wp--preset--color--foreground);
    font-weight: 700;
}

.form-group {
    margin-bottom: 30px;
}

.form-group p{
    margin: 0;
}

.form-group.half {
    width: 48%;
    margin-left: 4%;
    float: right;
}

.form-group.half.last {
    margin-left: 0;
}

.form-group.third {
    width: 32%;
    margin-left: 2%;
    float: right;
}

.form-group.third.last {
    margin-left: 0;
}
/*comment*/
.wp-block-comments{
    padding: 20px;
    border: 1px solid var(--wp--preset--color--border-color);
}
.wp-block-comment-template li .wp-block-columns{
    border: 1px solid var(--wp--preset--color--border-color);
    padding: 20px;
}
.wp-block-avatar img{
    border: 1px solid var(--wp--preset--color--border-color);
    padding: 2px;
}
.wp-block-post-comments-form textarea{
    background: var(--wp--preset--color--section-bg);
}
.single-post .post-meta .wp-block-post-author{
    align-items: center;
}
.single-post .wp-block-comments .comment-respond .comment-form .comment-form-cookies-consent{
    align-items: flex-start;
}
.single-post .wp-block-post-featured-image img{
    height: 400px;
    width: 400px;
    object-fit: contain;
     transform: translateY(10px);
    transition: all 0.4s ease;
}
.single-post .wp-block-post-featured-image img:hover{
    transform: translateY(0px);
}
.single-post .related-post .wp-block-post-featured-image img{
    height: 200px;
    width: 100%;
}
/*pagination*/
.wp-block-query-pagination-numbers .page-numbers{
    padding: var(--wp--preset--spacing--20);
    line-height: 1;
    text-decoration: none;
    color:var(--wp--preset--color--primary);
}
.wp-block-query-pagination-numbers .page-numbers.current{
    background:var(--wp--preset--color--primary);
    color: var(--wp--preset--color--white) !important;
}
.wp-block-query-pagination-numbers .page-numbers:hover{
    color:var(--wp--preset--color--heading);
}
.wp-block-query-pagination-next, .wp-block-query-pagination-previous{
    background:var(--wp--preset--color--primary);
    font-size: var(--wp--preset--font-size--small);
    line-height: 1;
    padding: 10px;
    color: var(--wp--preset--color--white);
    text-decoration: none;
}
.wp-block-query-pagination-next:hover, .wp-block-query-pagination-previous:hover{
    color: var(--wp--preset--color--white);
    background-color: var(--wp--preset--color--heading);
}
/*sidebar css*/
.sidebar-box,.inner-post-box{
    position: relative;
    box-shadow: 0px 4px 9px var(--wp--preset--color--sidebar-shadow-color);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.sidebar-box:hover{
    transform: translateY(-6px);
    box-shadow:0 18px 40px rgba(0, 0, 0, 0.25), 0 8px 20px rgba(0, 0, 0, 0.20);
}
.sidebar-heading{
    display: table;
    position: absolute;
    right: 0;
    left: 0;
    top: -25px;
    width: auto;
}
.sidebar-post-title{
    margin-block-start: 10px;
    margin-block-end: 0;
}
.sidebar-box .wp-block-page-list  ul li{
    list-style: square;
}
.sidebar-box .wp-block-archives-list li ,
.sidebar-box .wp-block-categories-list li,
.sidebar-box .wp-block-page-list li{
    list-style: circle;

}
.sidebar-box .wp-block-archives-list li::marker,
.sidebar-box .wp-block-categories-list li::marker,
.sidebar-box .wp-block-page-list li::marker{
    color: var(--wp--preset--color--primary);
}
.sidebar-box .wp-block-archives-list,.sidebar-box .wp-block-categories-list{
    padding-right: 20px;
}
.sidebar-box ul li a{
    text-decoration: none;
}
.sidebar-box .wp-block-tag-cloud a{
    background: var(--wp--preset--color--primary-light);
    color: var(--wp--preset--color--black);
}
.sidebar-box .wp-block-tag-cloud a:hover{
    background: var(--wp--preset--color--background);
    color: var(--wp--preset--color--primary);
}
.sidebar-box ul li{
    transition: all .6s ease-in-out;
}
.sidebar-box ul li:hover{
    padding-right: 15px;
}
/*post css*/
.post-title{
    position: relative;
}
.post-title .wp-block-separator{
    width: 57px !important;
}
.post-title .wp-block-separator:after{
    position: absolute;
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 10px;
    background: var(--wp--preset--color--primary);
    top: 0;
    bottom: 0;
    margin: auto;
}
.archieve-readmore .wp-block-separator{
    width: 20px !important;
}

/*woocommerce*/
.wp-block-group.woocommerce.product{
    margin-block-start: 0;
}
.wc-block-product,
.wc-block-grid__product,
.woocommerce .products li,
.wp-block-woocommerce-related-products li,
.products-block-post-template li  {
    text-align: center;
    padding: 10px !important;
    background: var(--wp--preset--color--section-bg);
}
.wc-block-grid__product{
    margin: 0 10px;
}
a.wc-block-grid__product-link,.wc-block-grid__product-image,.wc-block-grid__products .wc-block-grid__product-image img {
    width: 100%;
}
.wc-block-components-product-rating__stars,.wc-block-grid__product-rating,.woocommerce .star-rating {
    margin: 0 auto 0.5em;
    color: #f4bc16;
}
.wc-block-components-product-rating__stars::before,.wc-block-grid__product-rating .star-rating:before{
    color: #cfc8d8;
}
.woocommerce span.onsale,.wc-block-grid .wc-block-grid__product-onsale, .wc-block-grid__product-image .wc-block-grid__product-onsale{
    background-color: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--white-color);
    padding: 0;
    border-radius: 0px;
    margin: 5px !important;
    min-height: 8px;
    line-height: 26px;
    min-width: 60px;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address-title.title h2{
    font-size: 30px;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address-title.title h2 + .edit{
    float: right;
    color: var(--wp--preset--color--secondary);
    font-weight: 600;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address-title.title h2 + .edit:hover{
    color: var(--wp--preset--color--primary);
}
.woocommerce-cart .wp-block-woocommerce-empty-cart-block ul.wc-block-grid__products{
    display: grid;
    grid-template-columns: 25% 25% 25% 25%;
    justify-content: space-between;
}
.woocommerce-cart .wp-block-woocommerce-empty-cart-block ul.wc-block-grid__products li{
    max-width: 100%;
    margin-bottom: 15px;
}
.woocommerce-cart .wp-block-woocommerce-empty-cart-block ul.wc-block-grid__products li .wc-block-grid__product-onsale span{
    color: #ffffff;
}
nav.woocommerce-MyAccount-navigation ul li {
    background: var(--wp--preset--color--primary);
    border: 1px solid;
    border-color: var(--wp--preset--color--primary);
    padding: 12px!important;
    margin-bottom: 10px;
}
nav.woocommerce-MyAccount-navigation ul li a{
    color: var(--wp--preset--color--foreground);
}
nav.woocommerce-MyAccount-navigation ul li:hover {
    background: var(--wp--preset--color--heading);
    border-color: var(--wp--preset--color--heading);
}
nav.woocommerce-MyAccount-navigation ul li:hover a{
    color: var(--wp--preset--color--background);
}
.woocommerce ul.products li.product .button{
    padding: var(--wp--preset--spacing--30);
    border-radius: 30px;
}
.woocommerce a.added_to_cart,
.added_to_cart.wc-forward,
.single-product .wp-block-woocommerce-store-notices .wc-forward{
    background-color: var(--wp--preset--color--primary);
    color: #ffffff;
    border-radius: 0;
    padding: var(--wp--preset--spacing--30);
    text-decoration: none;
    display: inline-block;
    margin-top: 0;
}
.single-product .wp-block-woocommerce-store-notices .wc-forward{
    background-color: var(--wp--preset--color--primary) !important;
    color: #ffffff !important;
    padding: 10px !important;
    opacity: 1;
}
.single-product .wp-block-woocommerce-store-notices .wc-block-components-notice-banner,
.single-product .wp-block-woocommerce-store-notices .wc-block-components-notice-banner .wc-block-components-notice-banner__content{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.woocommerce a.added_to_cart:hover, .added_to_cart.wc-forward:hover{
    background-color: var(--wp--preset--color--secondary);
}
.added_to_cart.wc-forward{
    margin-right: 10px;
}
.wc-block-components-product-badge{
    box-shadow: -2px 2px 0 0 var(--wp--preset--color--heading);
    border-radius: 0 !important;
    border: solid 2px var(--wp--preset--color--heading) !important;
    padding: 5px 8px !important;
}
.wc-block-grid__product .wc-block-grid__product-title,.wc-block-components-product-name,h2.woocommerce-loop-product__title,.woocommerce-Tabs-panel h2{
  font-size: 18px !important;
  font-weight: bold;
}
.woocommerce #review_form #respond textarea{
   background: var(--wp--preset--color--section-bg);
    border: 1px solid var(--wp--preset--color--border-color);
}
.woocommerce-Tabs-panel--reviews,.wc-block-checkout__form,.woocommerce-Tabs-panel--description{
    padding: 20px !important;
    border: 1px solid var(--wp--preset--color--border-color);
}
.wc-block-checkout__form, .wp-block-woocommerce-checkout-order-summary-block,.wc-block-checkout__actions_row a:hover{
    color: var(--wp--preset--color--heading);
}
.wc-block-components-sidebar-layout.wc-block-cart{
    padding-top: 30px;
}
.wc-block-cart{
    border: 1px solid var(--wp--preset--color--border-color);
    padding: 30px;
    border-radius: 10px;
    color: var(--wp--preset--color--heading);
}
.is-large.wc-block-cart .wc-block-cart-items td:after ,.is-large.wc-block-cart .wc-block-cart-items:after {
    border-color: transparent;
}
.wc-block-cart .wc-block-cart-items th,.wp-block-woocommerce-cart-order-summary-block .wc-block-cart__totals-title, .wp-block-woocommerce-cart .wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-coupon-form-block, .wp-block-woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-wrapper{
    padding: 10px !important;
}
form.woocommerce-ordering select.orderby{
    -webkit-appearance: auto;
    -moz-appearance: auto;
    appearance: auto;
}
.woocommerce-page .wp-block-breadcrumbs + .wp-block-query-title{
    display: none;
}
.wc-block-cart table.wc-block-cart-items{
    margin: 0 !important;
}
.wp-block-woocommerce-cart .wc-block-cart-items,.wc-block-cart-items__header,.wp-block-woocommerce-checkout-order-summary-block,.wp-block-woocommerce-cart-order-summary-block,.woocommerce-Tabs-panel--description,.is-large.wc-block-cart .wc-block-cart-items{
    border: 1px solid var(--wp--preset--color--border-color);
}
.wc-block-components-totals-wrapper:after{
    border-color:  var(--wp--preset--color--border-color);
    opacity: 1 !important;
}
.wc-block-cart__submit-container a{
    margin-top: 15px;
}
.wc-block-checkout__actions_row a{
    color: var(--wp--preset--color--primary);
}
.wc-block-checkout__actions_row a:hover{
    color: var(--wp--preset--color--heading);
}
.wp-block-woocommerce-cart.alignwide, .wp-block-woocommerce-checkout.alignwide.wc-block-checkout {
    margin-left: auto !important;
    margin-right: auto !important;
}
.wc-block-components-sidebar-layout .wc-block-components-main {
    padding-left: 0 !important;
}
.wc-block-components-notice-banner>.wc-block-components-notice-banner__content .wc-forward:hover {
    background: transparent;
}
.wc-block-grid__product-image img{
    transition: transform 0.4s ease, opacity 0.4s ease;
}
.wc-block-grid__product-image:hover img{
    transform: scale(0.9);
}

@media screen and (max-width:999px){
    .woocommerce-page.search .wp-block-woocommerce-product-template,
    .woocommerce-page .products-block-post-template,
    .wp-block-woocommerce-related-products .wp-block-post-template{
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .woocommerce-page .wp-block-query-title{
        font-size: 30px !important;
    }
    .wc-block-components-totals-wrapper{
        padding: 16px 4px;
    }
    .wc-block-cart{
        padding: 0;
        border: none;
    }
    .wc-block-components-sidebar-layout.wc-block-cart{
        padding-top: 0;
    }
}
@media screen and (max-width:600px){
    .woocommerce-page.search .wp-block-woocommerce-product-template,
    .woocommerce-page .products-block-post-template,
    .wp-block-woocommerce-related-products .wp-block-post-template{
        grid-template-columns: 1fr !important;
    }
    .single-product .wp-block-woocommerce-product-meta .wp-block-group{
        display: block !important;
    }
    .woocommerce-page .wp-block-query-title{
        font-size: 25px !important;
    }
    .wp-block-woocommerce-cart:where(:not(.alignleft):not(.alignright):not(.alignfull)){
        max-width: 90% !important;
    }
}
/* scroll top */
p.scroll-top {
    position: absolute;
}
.scroll-top::before{
    font-size: 20px;
    cursor: pointer;
    background: var(--wp--preset--color--white); 
    color: var(--wp--preset--color--primary);
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    content: '\f135'; 
    position: fixed;
    bottom: 20px;
    left: 30px;
    width: 40px;
    height: 40px;
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    z-index: 99;
    transition: all .5s ease-in-out;
}

.scroll-top:hover::before {
    background: var(--wp--preset--color--heading) !important;
    color: var(--wp--preset--color--background);
    margin-bottom: 10px;
}
/*--- banner ----*/
.banner-excerpt{
    width: 80%;
}
.bannerimage .wp-block-button__link{
    padding-right: 10px !important;
}
.bannerimage .wp-block-button__link i {
    padding: 12px 10px;
    background: var(--wp--preset--color--secondary);
    border-radius: 6px 0 0 6px;
    margin-right: 6px;
    font-size: 15px;
}
.bannerimage .wp-block-button__link:hover,
.bannerimage .wp-block-button__link:focus{
    background: var(--wp--preset--color--secondary) !important;
}
.bannerimage .wp-block-button__link:hover i,
.bannerimage .wp-block-button__link:focus i{
    background: var(--wp--preset--color--primary);
}
.bannerimage .wp-block-cover__inner-container{
    position: relative;
    z-index: 999;
}
/*schedule progress bar*/
.progress-box .eb-progressbar-wrapper .eb-progressbar-line,
.progress-box .eb-progressbar-wrapper .eb-progressbar-line-fill{
    border-radius: 5px;
    height: 10px !important;
}
.progress-box .eb-progressbar-line {
    display: block;
    position: relative;
    width: 100%;
    background-color: #CECBCC;
}
.progress-box .eb-progressbar-line .eb-progressbar-count-wrap {
    bottom: calc(100% + 5px);
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    position: absolute;
    left: 0;
}
.progress-box .eb-progressbar-wrapper .eb-progressbar-title,
.progress-box .eb-progressbar-wrapper .eb-progressbar-count-wrap  {
    font-family: "Josefin Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--wp--preset--color--heading);
}
.schedule-btn-box .wp-block-button__link:hover,
.schedule-btn-box .wp-block-button__link:focus{
    background: var(--wp--preset--color--primary) !important;
    color: var(--wp--preset--color--white) !important;
}
/*--event-section--*/
.event-content-box{
    position: absolute;
    z-index: 1;
    right: 20px;
    bottom: 20px;
}
.event-content-box .wp-block-button__link{
    padding-right: 10px !important;
}
.event-content-box .wp-block-button__link i {
    padding: 12px 10px;
    background: var(--wp--preset--color--black);
    border-radius: 6px 0 0 6px;
    margin-right: 6px;
    font-size: 15px;
    color: var(--wp--preset--color--white);
}
.event-content-box .wp-block-button__link:hover,
.event-content-box .wp-block-button__link:focus{
    background: var(--wp--preset--color--primary) !important;
    color: var(--wp--preset--color--white) !important;
}
.event-content-box .wp-block-button__link:hover i,
.event-content-box .wp-block-button__link:focus i{
    background: var(--wp--preset--color--secondary);
}
.time-box-wrap{
    position: absolute;
    z-index: 1;
    top: 20px;
    right: 20px;
    width: 90%;
}
.time-box-inner{
    position: relative;
}
.calendar-icon {
    position: relative;
    width: 42px;
    z-index: 2;
    height: 42px;
    right: 0;
    margin-right: 0 !important;
}
.calendar-icon:where(:not(.alignleft):not(.alignright):not(.alignfull)){
    margin-right: 0 !important;
}
.calendar-icon img {
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    margin: auto;
}
.time-box-inner .time-details-box{
    position: absolute;
    z-index: 1;
    top: 8px;
    right: 10px;
    width: 95%;
    opacity: 0;
    box-shadow: 0px 3px 6px #00000029;
}
.time-box-inner:hover .time-details-box{
    opacity: 1;
}
.time-text:before{
    content: '\f017';
    font-size: 11px;
    font-family: 'Font Awesome 5 Free';
    font-weight: 600;
    color: var(--wp--preset--color--primary);
    margin-left: 4px;
}
.place-text:before{
    content: '\f3c5';
    font-size: 11px;
    font-family: 'Font Awesome 5 Free';
    font-weight: 600;
    color: var(--wp--preset--color--primary);
    margin-left: 4px;
}
.events-box .wp-block-cover .wp-block-cover__inner-container{
    height: 500px;
}
/*latest news*/
.latest-blogs li{
    margin-bottom: 65px !important;
}
.latest-blog-content{
    position: relative;
    margin-top: -38px;
    z-index: 999;
    left: 0;
    width: 85%;
    background: var(--wp--preset--color--background);
    box-shadow: 0px 3px 3px #00000017;
}
.latest-blogs .wp-block-cover{
    padding: 0;
}
.latest-blogs .wp-block-cover .wp-block-cover__inner-container{
    height: 300px;
}
.date-box-wrap{
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
}
.latest-blog-content .wp-block-read-more{
    position: relative;
}
.latest-blog-content .wp-block-read-more:before {
    content: '\f061';
    position: absolute;
    font-size: 11px;
    left: -13px;
    font-family: 'Font Awesome 5 Free';
    font-weight: 600;
    color: var(--wp--preset--color--heading);
}
.latest-blog-content .wp-block-post-author__avatar img{
    border-radius: 50%;
}
.latest-blog-content .wp-block-post-author{
    align-items: center;
}
/*--footer--*/
.footer-box-1 .footer-seperator,
.footer-box-3 .footer-seperator{
    margin-right: 0;
    margin-top: 8px;
    width: 55px !important;
}
.footer-box-1 .footer-li{
    padding-right: 20px;
}
.footer-box-1 .footer-li li{
    margin-bottom: 20px;
    list-style: none;
    position: relative;
}
.footer-box-1 .footer-li li:before {
    content: '\f054';
    position: absolute;
    font-size: 18px;
    right: -13px;
    font-family: 'Font Awesome 5 Free';
    font-weight: 600;
    color: var(--wp--preset--color--primary);
}
.footer-box-1 .footer-li li:last-child{
    margin-bottom: 0;
}
.footer-box-1 .footer-li li a{
    margin-right: 10px;
    text-decoration: none;
}
.footer-box-1 .footer-li li a:hover,
.footer-box-1 .footer-li li a:focus{
    color: var(--wp--preset--color--primary);
}
.footer-box-2 .wp-block-gallery img{
    border-radius: 12px;
}
.footer-excerpt p{
    width: 100%;
    margin: auto;
}
.footer-excerpt .wp-block-separator{
    border-bottom: 1px dashed;
    width: 300px !important;
    margin-top: 30px;
}
.footer-box-3 .wp-block-image img {
    margin-top: 4px;
}
.copyright-text .wp-block-social-links .wp-block-social-link.wp-social-link:hover{
    color: var(--wp--preset--color--primary) !important;
}

/*-------- Inner Pages Media Quries --------------- */
@media screen and (max-width:1199px) {
    .latest-news .wp-block-post-template{
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .latest-blogs .wp-block-cover{
        min-height: 400px !important;
    }
    .latest-blogs .wp-block-cover .wp-block-cover__inner-container{
        height: 400px !important;
    }
}
@media screen and (max-width:999px) {
    .latest-news .wp-block-post-template,
    .post-grid-layout.wp-block-post-template{
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .inner-cover-img h2,.without-cover-img h2{
        font-size: 30px !important;
    }
}
@media screen and (max-width: 999px) and (min-width: 782px){
    .page-template-blog-right-sidebar .wp-block-post-template,
    .page-template-blog-left-sidebar .wp-block-post-template,
    .search-results .wp-block-post-template{
        grid-template-columns: 1fr !important;
    }
    .sidebar-col,.post-col{
        flex-basis: 50% !important;
    }
    .page-sidebar-col{
        flex-basis: 40% !important;
    }
    .page-text-col{
        flex-basis: 60% !important;
    }
    .latest-blogs .wp-block-cover{
        min-height: 300px !important;
    }
    .latest-blogs .wp-block-cover .wp-block-cover__inner-container{
        height: 300px !important;
    }
}
@media screen and (max-width:781px){
    .post-title .wp-block-separator{
        width: 30px !important;
    }
    .post-title h4{
        font-size: 21px;
    }
    .archieve-meta time ,.archieve-meta .wp-block-post-author-name{
        font-size: 13px !important;
    }
    .latest-blogs .wp-block-cover{
        min-height: 250px !important;
    }
    .latest-blogs .wp-block-cover .wp-block-cover__inner-container{
        height: 250px !important;
    }
    .search-no-results .wp-block-query-no-results, .single-post .wp-block-cover.inner-cover-img + .wp-block-group > .wp-block-group.alignwide > .wp-block-columns .wp-block-column:first-child{
        margin-bottom: 30px;
    }
}
@media screen and (max-width: 991px) and (min-width: 768px){
    .woocommerce-cart .wp-block-woocommerce-empty-cart-block ul.wc-block-grid__products{
        grid-template-columns: 50% 50%;
    }
}
@media screen and (max-width:767px){
    .woocommerce-cart .wp-block-woocommerce-empty-cart-block ul.wc-block-grid__products{
        grid-template-columns: 100%;
    }
    .post-grid-layout.wp-block-post-template,
    .page-template-blog-right-sidebar .wp-block-post-template,
    .page-template-blog-left-sidebar .wp-block-post-template,
    .latest-news .wp-block-post-template,
    .search-results .wp-block-post-template{
        display: block !important;
    }
    .post-grid-layout.wp-block-post-template li,
    .page-template-blog-right-sidebar .wp-block-post-template li,
    .page-template-blog-left-sidebar .wp-block-post-template li,
    .latest-news .wp-block-post-template li,
    .search-results .wp-block-post-template li{
        margin-bottom: 40px;
    }
    .post-grid-layout.wp-block-post-template li:last-child,
    .page-template-blog-right-sidebar .wp-block-post-template li:last-child,
    .page-template-blog-left-sidebar .wp-block-post-template li:last-child,
    .latest-news .wp-block-post-template li:last-child,
    .search-results .wp-block-post-template li:last-child{
        margin-bottom: 0;
    }
    .inner-cover-img h2,.without-cover-img h2{
        font-size: 25px !important;
        text-align: center !important;
    }
    .error-heading{
        font-size: 110px !important;
    }
    .latest-blogs .wp-block-cover{
        min-height: 350px !important;
    }
    .latest-blogs .wp-block-cover .wp-block-cover__inner-container{
        height: 350px !important;
    }
    .latest-btn{
        gap: 10px;
    }
}

/*-------- Home Page Media Quries --------------- */
@media screen and (min-width:2000px){
    .events-box .wp-block-cover{
        min-height: 650px !important;
    }
    .events-box .wp-block-cover .wp-block-cover__inner-container{
        height: 650px;
    }
}
@media screen and (max-width:1599px){
    .bannerimage h2{
        font-size: 35px !important;
    }
    .footer-box-1 li,.footer-box-3 p{
        font-size: 16px !important;
    }
    .footer-box-2 p{
        font-size: 12px !important;
    }
    .footer-box-3 .wp-block-image img {
        margin-top: 0;
    }
}
@media screen and (max-width:1599px) and (min-width: 1200px){
    .time-box-inner .time-details-box{
        padding-right: var(--wp--preset--spacing--50) !important;
        padding-left: var(--wp--preset--spacing--20) !important;
        right: 19px;
        gap: 2px !important;
    }
    .calendar-icon{
        width: 40px;
        height: 40px;
    }
    .event-content-box h5{
        font-size: 20px !important;
    }
}
@media screen and (max-width:1399px){
    .banner-excerpt {
        width: 100%;
    }
    .footer-box-1{
        flex-basis: 25% !important;
    }
    .footer-box-3{
        padding-right: var(--wp--preset--spacing--30) !important;
        flex-basis: 30% !important;
    }
    .footer-box-2{
        flex-basis: 45% !important;
    }
}
@media screen and (max-width:1399px) and (min-width: 1200px){
    .events-box .wp-block-cover{
        min-height: 400px !important;
    }
    .events-box .wp-block-cover .wp-block-cover__inner-container{
        height: 400px;
    }
    .time-details-box p{
        font-size: 10px !important;
    }
    .time-text:before,.place-text:before {
        font-size: 9px;
    }
    .calendar-icon img{
        height: 15px;
        width: 15px;
    }
    .calendar-icon {
        width: 35px;
        height: 35px;
    }
    .time-box-wrap,
    .event-content-box{
        right: 10px;
    }
    .time-box-inner .time-details-box{
        right: 16px;
        top: 5px;
    }
}
@media screen and (max-width:1299px){
    .banner-left{
        flex-basis: 20% !important; 
    }
    .banner-center{
        flex-basis: 75% !important;
    }
    .banner-right{
        flex-basis: 5% !important;
    }
    .footer-box-2{
        padding-left: var(--wp--preset--spacing--60) !important;
        padding-right: var(--wp--preset--spacing--60) !important;
    }
}
@media screen and (max-width:1199px){
    .bannerimage .wp-block-cover{
        min-height: 600px !important;
    }
    .banner-left,.banner-right{
        flex-basis: 10% !important;
    }
    .banner-center{
        flex-basis: 80% !important;
    }
    .events-box .wp-block-cover{
        min-height: 600px !important;
    }
    .events-box .wp-block-cover .wp-block-cover__inner-container{
        height: 600px;
    }
    .events-box{
        flex-wrap: wrap !important;
    }
    .events-box .wp-block-column{
        flex-basis: 48% !important;
    }
    .schedule-table .class-type,
    .schedule-table .progress-box{
        flex-basis: 25% !important;
    }
    .copyright-text{
        gap: 10px !important;
    }
    .copyright-text .wp-block-social-links{
        gap: 10px !important;
    }
    .copyright-text .wp-block-social-links a{
        font-size: 18px !important;
    }
}
@media screen and (max-width:999px){
    .logo-block{
        flex-basis: 60% !important;
    }
    .nav-block,.mega-menu{
        flex-basis: 20% !important;
    }
    .banner-left, .banner-right{
        display: none;
    }
    .banner-center{
        flex-basis: 100% !important;
    }
    .bannerimage .wp-block-cover {
        min-height: 500px !important;
    }
    .bannerimage h2{
        font-size: 30px !important;
    }
    .time-details-box p{
        font-size: 10px !important;
    }
    .time-text:before,.place-text:before {
        font-size: 9px;
    }
    .calendar-icon img{
        height: 15px;
        width: 15px;
    }
    .calendar-icon {
        width: 35px;
        height: 35px;
    }
    .time-box-wrap,
    .event-content-box{
        right: 10px;
    }
    .time-box-inner .time-details-box{
        right: 16px;
        top: 5px;
    }
    .class-type h6,.class-no h6{
        font-size: 14px !important;
    }
    .time-box h6{
        font-size: 20px !important;
    }
    .time-box p{
        font-size: 12px !important;
    }
    .schedule-btn-box .wp-block-button__link{
        padding-left: var(--wp--preset--spacing--20) !important;
        padding-right: var(--wp--preset--spacing--20) !important;
        font-size: 14px !important;
    }
    .footer-widgets{
        flex-wrap: wrap !important;
    }
    .footer-box-1{
        order: 2;
        flex-basis: 45% !important;
    }
    .footer-box-2{
        order: 1;
        flex-basis: 100% !important;
        border-right: none !important;
        border-left: none !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }
    .footer-box-3{
        order: 3;
        flex-basis: 45% !important;
        padding-right: 0 !important;
    }
    .copyright-text{
        display: block !important;
        text-align: center;
    }
    .copyright-text .wp-block-social-links{
        justify-content: center !important;
        margin-top: 10px !important;
    }
}
@media screen and (max-width:781px){
    .menu-header .wp-block-columns{
        flex-wrap: nowrap !important;
    }
    .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column.nav-block,
    .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column.mega-menu{
        flex-basis: 15% !important;
    }
    .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column.banner-left-cover{
        flex-basis: 45% !important;
        order: 2;
    }
    .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column.banner-right-cover{
        flex-basis: 45% !important;
        order: 3;
    }
    .banner-middle-cover{
        order: 1;
    }
    .bannerimage{
        gap: 0 !important;
    }
    .banner-left-cover .wp-block-cover,.banner-right-cover .wp-block-cover{
        min-height: 600px !important;
    }
    .bannerimage {
        text-align: center;
    }
    .banner-excerpt{
        width: 60%;
        margin: auto;
    }
    .bannerimage .wp-block-buttons{
        justify-content: center !important;
    }
    .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column.time-box{
        flex-basis: 10% !important;
        order: 1;
    }
    .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column.class-type{
        flex-basis: 25% !important; 
        order: 2;
    }
    .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column.class-no{
        flex-basis: 25% !important; 
        order: 3;
    }
    .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column.schedule-btn-box{
        flex-basis: 20% !important;  
        order: 4;
    }
    .progress-box{
       order: 5; 
    }
    .schedule-table-wrap{
        padding-bottom: var(--wp--preset--spacing--50) !important;
    }
    .schedule-table{
        padding-bottom: 30px;
        border-bottom: 1px solid #ececec;
    }
    .table-last{
        padding-bottom: 0;
        border-bottom: none;
    }
    .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column.footer-box-3,
    .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column.footer-box-1{
        flex-basis: 40% !important; 
    }
    .events-box .wp-block-cover {
        min-height: 700px !important;
    }
    .events-box .wp-block-cover .wp-block-cover__inner-container{
        height: 700px;
    }
}
@media screen and (max-width:599px){
    footer .wp-block-gallery{
        flex-wrap: nowrap !important;
    }
    .banner-excerpt{
        width: 80%;
    }
}
@media screen and (max-width:499px){
    .menu-header .wp-block-columns{
        flex-wrap: wrap !important;
    }
    .logo-block{
        text-align: center !important;
    }
    .mega-menu .is-layout-flex,.nav-block nav{
        justify-content: center !important;
    }
    .banner-left-cover .wp-block-cover, .banner-right-cover .wp-block-cover {
        min-height: 350px !important;
    }
    .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column.time-box{
        flex-basis: 20% !important;
    }
    .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column.class-type{
        flex-basis: 60% !important;  
    }
    .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column.class-no,
    .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column.schedule-btn-box{
        flex-basis: 40% !important;  
    }
    .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column.footer-box-1,
    .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column.footer-box-3{
        flex-basis: 100% !important;
        text-align: center;
    }
    .footer-box-1 .footer-li li{
        list-style: none;
    }
    .footer-box-1 .footer-li li:before{
        display: none;
    }
    .footer-box-1 .footer-seperator, .footer-box-3 .footer-seperator{
        margin-right: auto;
    }
    .footer-box-1 .footer-li{
        padding-right: 0;
    }
    .footer-box-3 .is-layout-flex{
        display: block !important;
    }
    .events-box .wp-block-cover {
        min-height: 500px !important;
    }
    .events-box .wp-block-cover .wp-block-cover__inner-container{
        height: 500px;
    }
    .bannerimage h2 {
        font-size: 22px !important;
    }
    .banner-excerpt {
        width: 100%;
    }
    .time-box-inner .time-details-box {
        padding-right: var(--wp--preset--spacing--30) !important;
        padding-left: var(--wp--preset--spacing--30) !important;
        right: 3px;
        top: 40px;
        width: 100%;
    }
}

.wc-block-components-order-summary .wc-block-components-order-summary-item{
    display: unset !important;
}
