/*
Theme Name:     Theratio Child
Theme URI:      http://wpdemo.archiwp.com/theratio/
Description:    Make your modifications to [Parent Theme] in this child theme.
Author:         Oceanthemes
Author URI:     http://oceanthemes.net/
Version:        1.0
Template:       theratio
*/

@import url("../theratio/style.css");
@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap");

/* =Theme customization starts here
------------------------------------------------------- */
.page-header{
    margin-bottom: 20px !important;
}

/* Cairo for all text site-wide (icon fonts are left alone) */
:root {
    --e-global-typography-primary-font-family: "Cairo";
    --e-global-typography-secondary-font-family: "Cairo";
    --e-global-typography-text-font-family: "Cairo";
    --e-global-typography-accent-font-family: "Cairo";
}
html :is(body, h1, h2, h3, h4, h5, h6, p, a, li, ul, ol, div, span, strong, em, b, small, label, input, textarea, select, button, td, th, blockquote, figcaption, rs-layer):not(i):not(.fa):not(.fas):not(.far):not(.fab):not(.fal):not(.dashicons):not([class^="fa-"]):not([class*=" fa-"]):not([class^="flaticon"]):not([class*=" flaticon"]):not([class^="eicon"]):not([class*=" eicon"]):not([class*="revicon"]):not([class*="dashicons"]) {
    font-family: "Cairo", sans-serif !important;
}

/* Single project: solid #1A1A1A title bar with the project name, clear of the fixed header */
body.single-projects .header-desktop,
body.single-projects .header-mobile {
    background-color: #1A1A1A;
}
body.single-projects .elementor-location-single > .e-con:first-child {
    /* explicit layout: the template's own stylesheet (post-*.css) is missing, so .e-con would render inline */
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    background-image: none !important;
    background-color: #1A1A1A !important;
    min-height: 0 !important;
    padding: 70px 20px 60px !important;
}
body.single-projects .elementor-location-single > .e-con:first-child > .e-con-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    box-sizing: border-box;
}
body.single-projects .elementor-location-single > .e-con:first-child .elementor-heading-title {
    color: #fff !important;
    text-align: center;
    margin: 0;
}
@media (max-width: 767px) {
    body.single-projects .elementor-location-single > .e-con:first-child {
        padding: 40px 15px 40px !important;
    }
    body.single-projects .elementor-location-single > .e-con:first-child .elementor-heading-title {
        font-size: 28px !important;
        line-height: 1.4 !important;
        overflow-wrap: anywhere;
    }
    body.single-projects .elementor-location-single > .e-con:first-child > .e-con-inner,
    body.single-projects .elementor-location-single > .e-con:first-child .elementor-widget {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0;
        align-self: stretch;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* Single project: space between the content and the footer */
body.single-projects #content {
    margin-bottom: 60px;
}
