/*
Theme Name: Marra Child
Theme URI: https://marra.qodeinteractive.com
Description: A child theme of Marra
Author: Mikado Themes
Author URI: https://qodeinteractive.com
Version: 1.0.0
Text Domain: marra
Template: marra
*/

body {
    font-family: 'Inter', sans-serif;
}

@media (max-width: 1024px) {
    h2,
    .qodef-h2 {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    h2,
    .qodef-h2 {
        font-size: 28px;
    }
}


/** Header **/

#qodef-page-header {
    padding-top: 30px;
}

#qodef-page-header-inner {
    flex-flow: column-reverse;
}

#qodef-page-header .qodef-header-logo-link {
    position: absolute;
    left: 0;
    top: 0;
    max-height: none;
}

body:not(.qodef-header--sticky-display) #qodef-page-header .qodef-header-sticky .qodef-header-logo-link {
    max-height: 100%;
}

body:not(.qodef-header--sticky-display) #qodef-page-header-inner .qodef-header-navigation {
    height: auto;
    margin-bottom: auto;
    display: flex;
}

.qodef-header-navigation>ul>li:not(:last-child):after {
    content: "|";
    position: absolute;
    right: -12px;
}

#qodef-page-header-inner .qodef-header-navigation>ul>li:not(:last-child):after {
    top: 0;
}

.qodef-header-sticky .qodef-header-navigation>ul>li:not(:last-child):after {
    top: 50%;
    transform: translateY(-50%);
}

.qodef-header-navigation>ul>li>a {
    text-transform: none;
    font-weight: normal;
    font-size: 18px;
    letter-spacing: normal;
    font-family: 'Inter', sans-serif;
}

.qodef-header-navigation>ul>li {
    margin: 0 10px;
}

.qodef-header-navigation>ul>li.current-menu-ancestor>a:before,
.qodef-header-navigation>ul>li.current-menu-item>a:before,
.qodef-mobile-header-navigation>ul>li.current-menu-ancestor>a:before,
.qodef-mobile-header-navigation>ul>li.current-menu-item>a:before,
.qodef-header-navigation>ul>li>a:before,
.qodef-header-navigation>ul>li.qodef-menu-item--narrow ul:not(.qodef-drop-down--right) li>a:before,
.qodef-mobile-header-navigation .qodef-drop-down-second-inner ul li>a:before,
body:not([class*=marra-core]) .qodef-mobile-header-navigation ul ul li>a:before {
    display: none;
}

.qodef-mobile-header-navigation>ul {
    padding-top: 60px;
}

.qodef-header-navigation>ul>li.current-menu-ancestor>a,
.qodef-header-navigation>ul>li.current-menu-item>a {
    font-weight: bold;
}

body:not(.qodef-header--sticky-display) .qodef-header-navigation>ul {
    height: auto;
}

body:not(.qodef-header--sticky-display) #qodef-page-header .qodef-widget-holder {
    height: auto;
    margin-left: auto;
    margin-bottom: 10px;
}

#qodef-page-header .qodef-widget-holder p {
    font-weight: bold;
}

#qodef-page-header .qodef-widget-holder .wp-block-image {
    margin: auto;
}

#qodef-page-header-inner.qodef-skin--light .qodef-widget-holder p,
#qodef-page-header-inner.qodef-skin--light .qodef-header-navigation>ul>li:not(:last-child):after {
    color: #fff;
}

#qodef-page-header-inner.qodef-skin--dark .qodef-widget-holder p,
#qodef-page-header-inner.qodef-skin--dark .qodef-header-navigation>ul>li:not(:last-child):after {
    color: #161127;
}

.qodef-header-navigation>ul>li.qodef-menu-item--narrow ul:not(.qodef-drop-down--right) li>a,
.qodef-mobile-header-navigation .qodef-drop-down-second-inner ul li.current-menu-ancestor>a,
.qodef-mobile-header-navigation .qodef-drop-down-second-inner ul li.current-menu-item>a,
body:not([class*=marra-core]) .qodef-mobile-header-navigation ul ul li.current-menu-ancestor>a,
body:not([class*=marra-core]) .qodef-mobile-header-navigation ul ul li.current-menu-item>a {
    padding: 0 11px 0 0 !important;
}

.qodef-header-navigation>ul>li>a:hover {
    text-decoration: underline;
}

#qodef-page-mobile-header {
    height: 85px;
}

#qodef-page-mobile-header .qodef-mobile-header-logo-link {
    height: 64px !important;
}

#qodef-page-mobile-header .qodef-mobile-header-logo-link img {
    height: 64px;
    max-height: none;
    z-index: 20;
}

.qodef-header-sticky {
    height: 110px;
}

/*** Home Range Squares ***/

.qodef-banner div.qodef-m-subtitle {
    font-size: 14px;
}

.qodef-banner h3 {
    font-size: 44px;
}

.qodef-banner .qodef-button {
    border-radius: 15px;
    padding: 10px 15px;
    border-width: 2px;
    font-size: 14px;
    font-weight: 500;
    line-height: 10px;
    text-transform: none;
    letter-spacing: 1px;
}

.qodef-banner .qodef-m-image {
    display: flex;
}

.qodef-banner .qodef-m-image img {
    margin: auto;
}


/*** Footer ***/

#qodef-page-footer p {
    color: #fff;
}

@media (max-width: 768px) {
    #qodef-page-footer #qodef-page-footer-top-area-inner .qodef-grid-inner .qodef-grid-item:not(:last-child) {
        margin-bottom: 30px;
    }
}


/*** Home Page Testimonials ***/

.home-testimonial {
    height: 100%;
}

.home-testimonial>div {
    height: 100%;
}

.home-testimonial .testimonial-quote .qodef-m-title {
    position: relative;
    padding: 20px 0;
}

.home-testimonial .testimonial-quote .qodef-m-title::before {
    content: open-quote;
    font-family: 'Inter', sans-serif;
    display: block;
    line-height: 10px;
    font-size: 70px;
}

.home-testimonial .testimonial-quote .qodef-m-title::after {
    content: close-quote;
    font-family: 'Inter', sans-serif;
    font-size: 70px;
    position: absolute;
    bottom: -40px;
    transform: translateX(-25px);
}

.home-testimonial .testimonial-quote .qodef-m-text {
    font-weight: bold;
    font-size: 20px;
    font-family: 'Inter', sans-serif;
}

@media (max-width: 767px) {
    .home-testimonial .testimonial-quote .qodef-m-title {
        font-size: 24px;
    }
}


/*** Ranges List ***/

.qodef-portfolio-list .qodef-e-title a::after {
    content: "View Range";
    border: 2px solid;
    border-radius: 15px;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 500;
    line-height: 10px;
    text-transform: none;
    letter-spacing: 1px;
    border-color: #6c8cb4;
    color: #6c8cb4;
    display: inline-block;
    float: right;
}

.qodef-portfolio-list .qodef-e-title a:hover {
    color: #6c8cb4;
}

.qodef-portfolio-list .qodef-e-title a:hover::after {
    background-color: #6c8cb4;
    color: #fff;
}

.qodef-item-layout--info-below.qodef-hover-animation--fade-in .qodef-e-media-image:after {
    background-color: rgb(27 40 71 / 50%);
}

.qodef-portfolio-list .qodef-e-info-category span {
    font-size: 11px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: #000;
}

.qodef-portfolio-list .qodef-e-info-category span:not(:last-child):after {
    content: "|";
    margin: 0 3px 0 0;
}

.image-link-hover a:after {
    transition: ease-in-out opacity 0.5s;
    opacity: 0;
    content: '';
    position: absolute;
    top: 0%;
    bottom: 0%;
    left: 0%;
    right: 0%;
    background-color: rgb(27 40 71 / 50%);
}

.image-link-hover a:hover:after {
    opacity: 1;
}


/*** Gallery Images ***/

.range-gallery .qodef-image-wrapper a {
    position: relative;
    display: block;
}

.range-gallery:not(.no-plus) .qodef-image-wrapper a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    --b: 3px;
    width: 30px;
    height: 30px;
    border: 4px solid #000;
    /* the outer space */
    background: conic-gradient(from 90deg at var(--b) var(--b), #000 90deg, #fff 0) calc(100% + var(--b)/2) calc(100% + var(--b)/2)/ calc(50% + var(--b)) calc(50% + var(--b));
    display: inline-block;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.range-gallery .qodef-image-wrapper a::after {
    transition: ease-in-out opacity 0.5s;
    opacity: 0;
    content: '';
    position: absolute;
    top: 0%;
    bottom: 0%;
    left: 0%;
    right: 0%;
    background-color: rgb(27 40 71 / 50%);
}

.range-gallery .qodef-image-wrapper a:hover:after {
    opacity: 1;
}

.kitchen-photo-grid {
    margin: -10px;
}

.kitchen-photo-grid[data-current-filter="*"] .eael-filterable-gallery-item-wrap:nth-child(n+7) {
    display:none !important;
 }
/*
.kitchen-photo-grid[data-current-filter=".eael-cf-gloss"] {
	border: 1px solid red;
}

.kitchen-photo-grid[data-current-filter=".eael-cf-matte"] {
	border: 1px solid blue;
}

.kitchen-photo-grid[data-current-filter=".eael-cf-painted"] {
	border: 1px solid green;
}
*/



/*** Testimonials Page List ***/

.qodef-testimonials-list .qodef-e-media-image {
    padding-top: 100%;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
}

.qodef-testimonials-list .qodef-e-media-image img {
    position: absolute;
    height: 100%;
    max-width: none;
    width: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.qodef-testimonials-list.qodef-item-layout--info-below .qodef-e-quote-mark {
    z-index: 1;
}


/*** Contact Form ***/

.contact-form-50-50 {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.contact-form-50-50>div {
    width: 50%;
    padding-left: 15px;
    padding-right: 15px;
}

@media (max-width: 767px) {
    .contact-form-50-50>div {
        width: 100%;
    }
}

.wpcf7-form-control-wrap.ranges .wpcf7-checkbox {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.wpcf7-form-control-wrap.ranges .wpcf7-checkbox .wpcf7-list-item {
    margin: 0;
    width: 33%;
    padding-right: 10px;
}

@media (max-width: 1024px) {
    .wpcf7-form-control-wrap.ranges .wpcf7-checkbox .wpcf7-list-item {
        width: 50%;
    }
}

@media (max-width: 767px) {
    .wpcf7-form-control-wrap.ranges .wpcf7-checkbox .wpcf7-list-item {
        width: 100%;
    }
}

.wpcf7-form input[type=text],
.wpcf7-form input[type=email],
.wpcf7-form textarea {
    margin-top: 10px;
    background-color: #e2e2e1;
    padding: 10px 5px;
    line-height: 1;
    font-size: 16px;
}

.wpcf7-form.sent .contact-form-fields {
    display: none;
}

rs-bcr, rs-fcr {
    display: none;
}

@media (max-width: 599px) {
.design-service-banner .qodef-m-button{
	display: none;
	}
}

/*Cookie Control*/
#ccc-icon.ccc-icon--dark #star path {
    fill: #fff !important;
}

body #ccc #ccc-icon {
    fill: #6c8cb4 !important;
}	
