/*
Theme Name: One Business Blocks Child
Theme URI: https://github.com/eprismagroup/anfora-landing
Author: Eprisma group
Author URI: https://eprismagroup.com/
Description: One Business Blocks Child
Requires at least: 6.0
Tested up to: 6.4.3
Requires PHP: 5.7
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: one-business-blocks
Text Domain: one-business-blocks-child
Tags: Landing-page, Anfora-web, Eprisma-Group
*/


html {
    overflow-y: scroll !important;
    scroll-behavior: smooth !important;
}

a{
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
a:focus,
button:focus{
	outline: 0px solid transparent !important;
}
.wp-block-navigation ul li a:focus,
.wp-block-navigation .wp-block-navigation__submenu-icon:focus{
	outline: none;
	border: 0px solid transparent;
}
.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container{
    background-color: var(--wp--preset--color--secondary);
}
.wp-block-navigation ul ul{
    padding: 0 !important;
}
/*navigation css*/
@media screen and (min-width:1000px){
    .wp-block-navigation .current-menu-item a{
        color: var(--wp--preset--color--primary) !important; 
    }
    .wp-block-navigation__submenu-container .current-menu-item a{
        color: var(--wp--preset--color--white) !important; 
    }
    .wp-block-navigation ul ul li a:hover,.wp-block-navigation ul li a:hover{
        color: var(--wp--preset--color--primary) !important;
    }
    .wp-block-navigation ul ul li a:hover{
        background-color: var(--wp--preset--color--white) !important;
    }
}
.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 #ebebeb;
    outline: 0;
    resize: none;
    line-height: 20px;
    background: none;
    color: #B18A45;
    font-weight: 400;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

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;
    outline: none;
    padding: 12px 20px;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background: var(--wp--preset--color--primary);
    color: #ffffff;
    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: #595e5c;
    font-weight: 700;
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color: #a9e4ae; /* Green */
    background-color: #46b44f46;
    color: #29742f!important;
}



.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
	border-color: #dc3232; /* Red */
    background-color: #f4b0b04a;
    color: #742929!important;
}

.wpcf7 form.spam .wpcf7-response-output {
	border-color: #f56e28; /* Orange */
    background-color: #efbda450;
    color: #ca5a22!important;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
	border-color: #ffb900; /* Yellow */
    background-color: #e9d6a250;
    color: #bb952c!important;
}

.wpcf7-response-output {
    border-radius: 12px;
}

.form-group {
    margin-bottom: 30px;
}

.form-group p{
    margin: 0;
}

.form-group.half {
    width: 48%;
    margin-right: 4%;
    float: left;
}

.form-group.half.last {
    margin-right: 0;
}

.form-group.third {
    width: 32%;
    margin-right: 2%;
    float: left;
}

.form-group.third.last {
    margin-right: 0;
}
/*comment*/
.wp-block-comments{
    padding: 20px;
    border: 1px solid #dfdfdf;
}
.wp-block-comment-template li .wp-block-columns{
    border: 1px solid #dfdfdf;
    padding: 20px;
}
.wp-block-avatar img{
    border: 1px solid #949494;
    padding: 2px;
}
.wp-block-post-comments-form textarea{
    background: #eee;
}
/*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-color: 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-color: 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 #a7aaad;
}
.sidebar-heading{
    display: table;
    position: absolute;
    left: 0;
    right: 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-image: url(images/list1.png);
}
.sidebar-box .wp-block-archives-list li ,.sidebar-box .wp-block-categories-list li,.sidebar-box .wp-block-page-list li{
    list-style-image: url(images/list.png);
}
.sidebar-box ul li a{
    text-decoration: none;
}
.sidebar-box .wp-block-tag-cloud a{
    background: #ecffff;
}
.sidebar-box .wp-block-tag-cloud a:hover{
    background: var(--wp--preset--color--white);
}
/*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*/
.woocommerce-Tabs-panel--reviews, .woocommerce-Tabs-panel--description {
    padding: 20px !important;
    border: 1px solid #e1e1e1;
}
.woocommerce span.onsale{
    background-color:var(--wp--preset--color--primary);
    border-radius: 10px;
}
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--white);
}
/*header*/
.home-header-class{
    position: absolute;
    z-index: 999;
    width: 100%;
}
.home-header-class .upper-header,.home-header-class .menu-header{
    background: #1110107b !important;
}
.home-header-class .inner-upper-header{
    border-bottom-color: #595e5c !important;
    border-bottom-width: 2px !important;
}
.contact-info{
    gap: 15px;
}
.upper-header .is-style-logos-only svg path:hover,.upper-header .is-style-logos-only svg path:focus {
   color:var(--wp--preset--color--primary);
}
.search-block .wp-element-button{
    background: transparent !important;
}
/*banner*/
.banner-image-cover img{
    width: 100%;
}
/*service section*/
.service-seperator{
    height: 3px !important;
    width: 75px !important;
}
.service-inner-box{
    box-shadow: 0 0 3px -1px;
    height: 25rem;
}
/*about us*/
.about-us-img,.profit-img,.map-img{
    position: relative;
}
.about-upper-box{
    position: absolute;
    z-index: 999;
    top: 10%;
    right: 12%;
    width: 30%;
}
.about-box-img{
    position: relative;
    margin-top: -25px;
    z-index: 999;
}
.about-box,.profit-box{
    opacity: 0.7;
}
/*profit*/
.profit-upper-box{
    position: absolute;
    z-index: 999;
    top: 15%;
    left: 12%;
    width: 30%;
}
.profit-img-box{
    gap: 5px;
}
/*skill-section*/
.skill-inner-box{
    box-shadow: 0 0 8px 2px #eee;
}
.skill-inner-box{
    position: relative;
}
.skill-img{
    position: absolute;
    z-index: 999;
    top: -43px;
    left: 0;
    right: 0;
} 
/*map section*/
.map-upper-box{
    position: absolute;
    z-index: 999;
    bottom: 5%;
    left: 12%;
    display: inline-block;
}
.map-head{
    position: absolute;
    z-index: 999;
    top: 10%;
    left: 0;
    right: 0;
}
/*footer*/
.footer-widgets li{
    margin-block-start: 10px !important;
}
.home-footer-class{
    margin-block-start: 0;
}
.copyright-text{
    gap: 10px;
}
.footer-widgets li:hover{
    color: var(--wp--preset--color--primary) !important;
}
/*latest news*/
.blog-box{
    position: relative;
}
.blog-date-box:before {
    content: '';
    position: absolute;
    top: 2px;
    right: 2px;
    padding: 0;
    height: 80px;
    opacity: 0.7;
    width: 110px;
    z-index: -1;
    background: #fff;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%);
}
.blog-date-box{
    padding: 0;
    position: absolute;
    top: 2px;
    right: 2px;
}
.blog-date{
    padding: 10px;
}

/* --- Block Media Quries
-------------------------------------------------------- */
/* --- > Media Queries
-------------------------------------------------------- */
/* --- > 781px
-------------------------------------------------------- */
/* --- Inner Pages Media Quries
-------------------------------------------------------- */
@media screen and (max-width:999px) {
    .post-grid-layout.wp-container-core-post-template-layout-1.wp-container-core-post-template-layout-1{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media screen and (max-width:600px){
    .post-grid-layout.wp-container-core-post-template-layout-1.wp-container-core-post-template-layout-1{
        grid-template-columns: 1fr;
    }
}
@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: 42px;
        height: 42px;
    }
    
    .wp-block-navigation__responsive-container-open svg path,
    .wp-block-navigation__responsive-container-close svg path{
        fill: var(--wp--preset--color--white);
    }

    .wp-block-navigation__responsive-container-close{
        top: 20px;
        right: 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--secondary);
    }

    .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content{
        padding: 1.5em;
    }

    .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;
        text-align: left;
    }

    /*
    * Submenu Css
    */

    .wp-block-navigation .wp-block-navigation__responsive-container-content ul.wp-block-navigation__container li.wp-block-navigation-item .wp-block-navigation__submenu-icon {
        display: block !important;
        margin-left: 15px;
        padding: 3px 10px;
        float: right;
        font-size: 19px;
        line-height: 1;
        position: absolute;
        right: 0;
        top: 0;
        height: 42px;
        width: 42px;
    }
    .wp-block-navigation .wp-block-navigation__responsive-container-content ul.wp-block-navigation__container li.wp-block-navigation-item .wp-block-navigation__submenu-icon svg {
        stroke: var(--wp--preset--color--white);
        display: block;
        width: 30px;
        height: 13px;
        margin: 0 !important;
        padding: 0 !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 {
        width: 100%;
        gap: 0;
        margin: 0;
        padding: 0;
        display: none;
        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 {
        padding-left: 35px;
    }
    .wp-block-navigation .wp-block-navigation__responsive-container-content ul.wp-block-navigation__container li.wp-block-navigation-item .wp-block-navigation-submenu__toggle[aria-expanded=true] + ul.wp-block-navigation__submenu-container {
        display: block;
        margin: 0;
        padding: 0;
    }
    .footer-nav,.nav-block{
        flex-basis: 10% !important;
    }
    .copyright-text-outer{
        flex-basis: 90% !important;
    }
    .logo-block{
        flex-basis: 40% !important;
    }
    .search-block,.button-block{
        flex-basis: 25% !important;
    }
    .blog-section .wp-container-core-post-template-layout-1.wp-container-core-post-template-layout-1{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media screen and (max-width:1300px){
    .about-upper-box,.profit-upper-box{
        width: 50%;
    }
    .banner-content h2{
        font-size: 35px;
    }
    .service-outer-box,.skill-outer-box{
        gap: 24px !important;
    }
}
@media screen and (max-width:1110px) and (min-width: 782px){
    .footer-rights.alignwide ,.service-section :where(:not(.alignleft):not(.alignright):not(.alignfull)),.skill-section :where(:not(.alignleft):not(.alignright):not(.alignfull)),.footer-widgets :where(:not(.alignleft):not(.alignright):not(.alignfull)){
        max-width: 95% !important;
    }
    .footer-social{
        font-size: 20px !important;
    }

    .wp-container-core-cover-layout-1.wp-container-core-cover-layout-1 > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
        margin-top: 10rem;
    }
    .service-inner-box {
        height: 31rem;
    }
    
}
@media screen and (max-width:781px) {
    .home-header-class,.skill-img{
        position: static;
    }
    .home-header-class .upper-header, .home-header-class .menu-header{
        background: var(--wp--preset--color--heading) !important;
    }
    .footer-copyright.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column.copyright-text-outer{
        flex-basis: 85% !important;
    }
    .inner-upper-header.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column{
        flex-basis: 50% !important;
    }
    .header-details.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column,.inner-menu-header.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column.logo-block{
        flex-basis: 30% !important;
    }
    .service-outer-box.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column,.records-sec .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column,.skill-outer-box.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column{
        flex-basis: 45% !important;
    }
    .inner-menu-header.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column.button-block{
        flex-basis: 20% !important;
    }
    .inner-menu-header.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column.search-block,.inner-menu-header.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column.nav-block,.footer-copyright.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column.footer-nav{
        flex-basis: 10% !important;
    }
    .upper-header .wp-block-group, .menu-header .wp-block-group, .menu-header .wp-block-buttons, .upper-header .wp-block-social-links{
        justify-content: center !important;
    }
    .logodiv h1{
        font-size: 23px !important;
    }
    .banner-content h2{
        font-size: 30px;
    }
    .skill-spacer{
        height: 0 !important;
    }
    .service-inner-box {
        height: 22rem;
    }
}
@media screen and (max-width:600px){
    .inner-menu-header{
        gap: 17px;
    }
    .skill-outer-box.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column,.header-details.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column,.service-outer-box.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column{
        flex-basis: 50% !important;
    }
    .inner-menu-header.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column.logo-block{
        flex-basis: 100% !important;
    }
    .about-upper-box,.profit-upper-box{
        position: static;
        width: 100%;
        text-align: center;
    }
    .copyright-text{
        display: grid !important;
    }
    .copyright-text p,.about-upper-box h3,.profit-upper-box h3{
        text-align: center;
    }
    .profit-img-box p{
        font-size: 10px !important;
    }
    .footer-nav nav{
        justify-content: center !important;
    }
    .banner-p :where(:not(.alignleft):not(.alignright):not(.alignfull)){
        max-width: 100% !important;
    } 
    .banner-content h2{
        font-size: 20px;
    }
    .banner-p p{
        font-size: 12px;
    }
    @media screen and (max-width:375px){
        .button-block .wp-block-button a{
            padding-left: 10px !important;
            padding-right: 10px !important;
            font-size: 11px !important;
        }
        .records-sec h2{
            font-size: 25px;
        }
        .records-sec h5{
            font-size: 15px;
        }
        .map-upper-box{
            left: 3%;
            right: 3%;
        }
    }
}

@media screen and (min-width:1600px) {
    .service-inner-box {
        height: 22rem;
    }
}

.name-forms, .email-forms, .phone-forms, .message-forms, select.subject-list-form {
    background-color: var(--wp--preset--color--section-bg) !important;
    border-radius: 10px!important;
}
