/*
Theme Name:        Silicon Child
Theme URI:         https://themeforest.net/user/madrasthemes/portfolio
Author:            MadrasThemes
Author URI:        https://themeforest.net/user/madrasthemes/
Description:       Child Theme of Silicon Multipurpose Business Theme. Silicon is a multipurpose WordPress Theme with focus in Technology Business niches.
Requires at least: WordPress 5.0
Template:          silicon
Version:           1.6.8.1233291877983127983
License:           GNU General Public License v3 or later
License URI:       LICENSE
Text Domain:       silicon-child
Tags:              two-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, featured-images, full-width-template, threaded-comments, rtl-language-support, footer-widgets, sticky-post, theme-options
*/

@import url(https://use.typekit.net/qdg5eii.css?v=1.0);

/* font-family: "fieldwork", sans-serif;
font-weight: 700;
font-style: italic;
font-family: "fieldwork-hum", sans-serif;
font-weight: 300;
font-style: normal; */

:root{
    --bs-font-sans-serif: "fieldwork", sans-serif;
}

body{

}

h1, h2, h3, h4, h5, h6{

}

::selection {
    color: white;
    background-color: #C9985E;
}  

.bg-dark{

}
.dark-mode body{
    background-color: #22201D;
}
.bg-dark{
    background-color: #22201D !important;
}
.dark-mode .offcanvas{
    background-color: #1D1914 !important;
}
.dark-mode .page-loading{
    background: #2B2825 !important;
}

#masthead{
    background-color: #1D1914 !important;
}

.custom-form input[type="text"], .custom-form input[type="email"]{
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
}

.custom-form input[type="text"], .custom-form input[type="email"], .custom-form textarea{
    padding: 13px 20px !important;
    border: 0 !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.custom-form input[type="text"]:focus, .custom-form input[type="email"]:focus, .custom-form textarea:focus{
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
}

.custom-form .wpforms-form .wpforms-field-label{
    font-size: 18px !important;
    margin-bottom: 15px !important;
    padding-bottom: 0 !important;
}
.custom-form .wpforms-field{
    padding-top: 10px !important;
}
.custom-form button[type=submit]{
    background: #C9985E !important;
    height: auto !important;
    padding: 19px 55px 23px !important;
    max-height: none !important;
    /* margin-top: 15px !important; */
}
.custom-form .wpforms-footer{
    display: flex;
    justify-content: space-between;
}
@media only screen and (max-width: 992px) {
    .custom-form .wpforms-footer{
        flex-direction: column;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

.custom-footer{
    background-color: #1D1914;
    padding: 40px 0;
}
.custom-footer .footer-row{
    width: 100%;
    display: flex;
    justify-content: space-between
}
.custom-footer .footer-row p{
    margin: 0;
    opacity: .6;
}
.custom-footer .footer-row .creator{
    width: 35px;
    height: 35px;
    background: url(./az-logo.svg) center center no-repeat;
    background-size: contain;
    opacity: .15;
    transition: all .3s ease;
}
.custom-footer .footer-row .creator:hover{
    opacity: 0.4;
}

.elementor-accordion .elementor-tab-title{
    padding: 18px 20px 22px !important;
}
.elementor-accordion-item:first-child {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}
.elementor-accordion-item:last-child {
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

@media only screen and (max-width: 1200px) {
    .advantages-text-col{
        padding-right: 40px;
    }
}
@media only screen and (max-width: 992px) {
    .advantages-text-col{
        padding-right: 15px;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .elementor-573 .elementor-element.elementor-element-ae3b2e7 {
        --width: 80%;
    }
}

#intro-box{
    height: 100vh;
    max-height: 1000px;
}
@media (max-width: 992px) {
    #intro-box{
        height: auto;
        max-height: none;
    }
}

.dark-mode .navbar-light .navbar-brand{
    font-size: 0;
    color: transparent;
}

.dark-mode .site-dark-logo{
    width: 176px;
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav {
        flex-direction: row;
        margin: 0 auto;
    }
}

body.error404 #content{
    padding-top: 100px;
}

.stanky-reference-widget{
    text-align: center;
}
.elementor-widget-reference_widget{

}
.homepage-reference-wrapper{
    flex-wrap: nowrap !important;
}
.homepage-reference-wrapper > .e-con-inner{
    flex-wrap: nowrap !important;
}
.stanky-reference-widget .reference-items{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
}
@media only screen and (max-width: 768px) {
    .stanky-reference-widget .reference-items{
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}
.stanky-reference-widget .reference-item{
    position: relative;
    aspect-ratio: 1/1;
    background: #1D1914;
    border-radius: 16px;
    text-align: left;
}
@media only screen and (max-width: 768px) {
    .stanky-reference-widget .reference-item:nth-child(3){
        display: none;
    }
}
.stanky-reference-widget .reference-item .reference-text{
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 20px;
    z-index: 1;
    width: 100%;
}
.stanky-reference-widget .reference-item .reference-text::before{
    content: "";
    width: 100%;
    height: 225px;
    position: absolute;
    z-index: -1;
    bottom: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(66, 50, 31, 0) 0%, #2C251E 100%);
}
.stanky-reference-widget .reference-item .reference-text a{
    color: #C9985E;
    text-transform: uppercase;
    font-weight: 600;
    position: relative;
    letter-spacing: .05em;
    display: inline-block;
}
.stanky-reference-widget .reference-item .reference-text a:hover{
    text-decoration: underline;
}
.stanky-reference-widget .reference-item .reference-text a::after{
    content: "";
    width: 19px;
    height: 19px;
    display: inline-block;
    position: absolute;
    background: url(./images/gold-arrow-right.svg) no-repeat center center;
    background-size: contain;
    top: 50%;
    transform: translateY(-50%);
    right: -29px;
    margin-top: -2px;
}
.stanky-reference-widget .reference-item .reference-photo{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    border-radius: 16px;
}
.stanky-reference-widget .reference-item h3{
    font-size: 22px;
    margin-bottom: 5px;
    line-height: 110%;
}
.stanky-reference-widget .reference-item .reference-year{
    border-radius: 100%;
    width: 64px;
    height: 64px;
    position: absolute;
    top: 20px;
    right: 20px;
    background: #C9985E;
    color: white;
    text-align: center;
    z-index: 2;
    font-weight: bold;
    line-height: 64px;
    vertical-align: middle;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
}
.stanky-reference-widget .more-references{
    background: #C9985E;
    color: white;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    display: inline-block;
    margin: 50px auto;
    text-align: center;
    padding: 15px 40px;
    font-weight: bold;
    transition: all .3s ease;
}
.stanky-reference-widget .more-references:hover{
    background: #A67B4C;
    color: white;
    text-decoration: none;
}

.references-page-header{
    padding: 150px 0 50px;
    text-align: center;
}
.references-page-header h1{
    font-size: 24px;
    font-weight: bold;
    text-decoration: uppercase !important;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, .7) !important;
    margin-bottom: 0;
}
@media only screen and (max-width: 768px) {
    .references-page-header h1{
        font-size: 20px;
    }
}
.references-page-header .bigger-title{
    font-size: 70px;
    font-weight: bold;
    color: white;
    line-height: 110%;
    margin: 20px 0;
}
@media only screen and (max-width: 768px) {
    .references-page-header .bigger-title{
        font-size: 50px;
    }
}
.references-page-header .text{
    font-size: 18px;
    max-width: 750px;
    margin: 0 auto;
}
@media only screen and (max-width: 768px) {
    .references-page-header .text{
        font-size: 16px;
    }
}
.references-page-header .year-filter{
    margin-top: 40px;
}
.references-page-header .year-filter p{
    font-weight: bold;
    font-size: 18px;
    color: white;
    margin-bottom: 5px;
}
.references-page-header .year-filter .year-btn{
    border: 2px solid #C9985E;
    color: #C9985E;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    margin: 10px;
    display: inline-block;
    transition: all .2s ease;
}
.references-page-header .year-filter .year-btn.active{
    background: #C9985E;
    color: white;
}
.references-page-header .year-filter .year-btn:hover{
    background: #C9985E;
    color: white;
}
.references-page-header .year-filter .clear-filter-wrap{
    display: inline-block;
    margin: 0 auto;
}
.references-page-header .year-filter .clear-filter{
    display: flex;
    align-items: center;
    line-height: 0;
    color: #fff;
    justify-content: center;
    opacity: .5;
    font-size: 15px;
}
.references-page-header .year-filter .clear-filter span{
    padding-top: 2px;
}
.references-page-header .year-filter .clear-filter:hover{
    color: #bf2008;
    opacity: 1;
}
.references-page-header .year-filter .clear-filter:hover svg path{
    fill: #bf2008;
}
.references-page-header .year-filter .clear-filter em{
    width: 13px;
    height: 13px;
    margin-right: 10px;
}
.references-page-header .year-filter .clear-filter em svg{
    width: 100%;
}
.references-page-header .year-filter .clear-filter em svg path{
    transition: all .2s ease;
}

.references-page-content{
    background: #121212;
    padding: 60px 0;
}
.references-page-content .references-year-block{
    margin-bottom: 25px;
}
.references-page-content .references-year-block h2{
    font-size: 50px;
    color: #C9985E !important;
    border-bottom: 1px solid rgba(255, 255, 255, .2);
    padding-bottom: 10px;
}
@media only screen and (max-width: 768px) {
    .references-page-content .references-year-block h2{
        text-align: center;
    }
}
.references-page-content .references-year-block .reference-items{
    padding: 25px 0;
}
.references-page-content .references-year-block .reference-item{
    display: flex;
    /* align-items: stretch; */
    padding: 25px 0;
}
@media only screen and (max-width: 768px) {
    .references-page-content .references-year-block .reference-item{
        flex-direction: column;
        margin-bottom: 30px;
    }
}
.references-page-content .references-year-block .reference-item .left-text{
    width: 35%;
    padding-right: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@media only screen and (max-width: 992px) {
    .references-page-content .references-year-block .reference-item .left-text{
        width: 45%;
    }
}
@media only screen and (max-width: 768px) {
    .references-page-content .references-year-block .reference-item .left-text{
        width: 100%;
        text-align: center;
        margin-bottom: 30px;
        padding-right: 0;
    }
}
.references-page-content .references-year-block .reference-item .left-text h3{
    font-size: 40px;
    line-height: 110%;
    margin-bottom: 20px;
}
@media only screen and (max-width: 992px) {
    .references-page-content .references-year-block .reference-item .left-text h3{
        font-size: 30px;
    }
}
.references-page-content .references-year-block .reference-item .left-text p{
    line-height: 160%;
    margin-bottom: 0;
}
@media only screen and (max-width: 992px) {
    .references-page-content .references-year-block .reference-item .left-text p{
        font-size: 14px;
    }
}
.references-page-content .references-year-block .reference-item .reference-gallery{
    width: 65%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
}
@media only screen and (max-width: 992px) {
    .references-page-content .references-year-block .reference-item .reference-gallery{
        width: 55%;
        grid-template-columns: 1fr 1fr;
    }
}
@media only screen and (max-width: 768px) {
    .references-page-content .references-year-block .reference-item .reference-gallery{
        width: 100%;
        gap: 30px;
        grid-template-columns: 1fr 1fr 1fr;
    }
}
@media only screen and (max-width: 576px) {
    .references-page-content .references-year-block .reference-item .reference-gallery{
        grid-template-columns: 1fr 1fr;
    }
}
.references-page-content .references-year-block .reference-item .reference-gallery .gallery-item{
    height: 100%;
    border-radius: 16px;
    min-height: 270px;
    background-position: center;
    background-size: cover;
}
@media only screen and (max-width: 768px) {
    .references-page-content .references-year-block .reference-item .reference-gallery .gallery-item{
        min-height: 200px;
    }
}
@media only screen and (max-width: 576px) {
    .references-page-content .references-year-block .reference-item .reference-gallery .gallery-item{
        min-height: 150px;
    }
}

@media only screen and (max-width: 992px) {
    .references-page-content .references-year-block .reference-item .reference-gallery .gallery-item:nth-child(3){
        display: none;
    }
}
@media only screen and (max-width: 768px) {
    .references-page-content .references-year-block .reference-item .reference-gallery .gallery-item:nth-child(3){
        display: block;
    }
}
@media only screen and (max-width: 576px) {
    .references-page-content .references-year-block .reference-item .reference-gallery .gallery-item:nth-child(3){
        display: none;
    }
}

.after-title-tag-wrap{
    display: inline-block;
}
.after-title-tag{
    background: #25211E;
    color: white;
    border-radius: 99px;
    padding: 9px 20px 9px 15px;
    display: flex;
    align-items: center;
}
.after-title-tag img{
    margin-right: 10px;
}
.after-title-tag p{
    padding: 0 0 0 5px;
    margin: 0;
    font-size: 16px;
    font-weight: bold;
}
@media only screen and (max-width: 768px) {
    .after-title-tag p{
        font-size: 14px;
    }
}