/**
* Theme Name: Atlas Child
* Description: This is a child theme of Atlas.
* Author: tmrwstudio
* Template: atlas
* Version: 1.0
*/

/**************************KalamehWeb*****************************/

@font-face {
    font-display: swap;
    font-family: KalamehWeb;
    font-style: normal;
    font-weight: 100;
    src: url('fonts/kalameh/KalamehWeb-Thin.woff2') format('woff2')
}

@font-face {
    font-display: swap;
    font-family: KalamehWeb;
    font-style: normal;
    font-weight: 400;
    src: url('fonts/kalameh/KalamehWeb-Regular.woff2') format('woff2')
}

@font-face {
    font-display: swap;
    font-family: KalamehWeb;
    font-style: normal;
    font-weight: 500;
    src: url('fonts/kalameh/KalamehWeb-Medium.woff2') format('woff2')
}

@font-face {
    font-display: swap;
    font-family: KalamehWeb;
    font-style: normal;
    font-weight: 600;
    src: url('fonts/kalameh/KalamehWeb-SemiBold.woff2') format('woff2')
}

@font-face {
    font-display: swap;
    font-family: KalamehWeb;
    font-style: normal;
    font-weight: 700;
    src: url('fonts/kalameh/KalamehWeb-Bold.woff2') format('woff2')
}

@font-face {
    font-display: swap;
    font-family: KalamehWeb;
    font-style: normal;
    font-weight: 900;
    src: url('fonts/kalameh/KalamehWeb-Black.woff2') format('woff2')
}

/*********************************YekanBakh***************************/


@font-face {
    font-display: swap;
    font-family: YekanBakh;
    font-style: normal;
    font-weight: 300;
    src: url('fonts/yekanbakh/YekanBakh_Light.woff') format('woff')
}

@font-face {
    font-display: swap;
    font-family: YekanBakh;
    font-style: normal;
    font-weight: 400;
    src: url('fonts/yekanbakh/YekanBakh.woff') format('woff')
}



body, .sticky-post-title, a, div, table{
    font-family: YekanBakh !important;
}

h1, h2, h3, h4, h5, h6,h1 a, h2 a, h3 a, h4 a, h5 a, h6 a{
    font-family: KalamehWeb !important;
    font-weight: bold !important;
}

h1{
    font-size: 20px;
}

h2{
    font-size: 19px;
}

h3{
    font-size: 17px;
}

p,
li{
    font-size: 16px;
    line-height: 1.8;
}

a.title-text{
    font-family: KalamehWeb !important;
}

.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear{
    float: right;
}

.main-header .bg-light{
    background: none;
}

.single-content h2 {
    font-size: 20px !important;
    color: #4bd274;
    margin: 15px 0 !important;
    padding: 15px 10px;
    background-image: linear-gradient(270deg, #4bd2740C, #fff);
    border-radius: 8px;
}

.single-content h3 {
    font-size: 18px !important;
    color: #4bd274;
    margin: 15px 0 !important;
    padding: 15px 10px;
    /*background-image: linear-gradient(270deg, #F2CA000C, #fff);*/
    /*border-radius: 8px;*/
}

.single-content p,
.single-content ul li{
    text-align: justify;
}

.single-content .wp-block-image img{
    width: 100%;
    margin: auto;
    box-shadow: 0 0 20px #e3e3e3;
    border-radius: 15px;
}

.single-content a{
    color: #4bd274;
    border-bottom: 1px dashed #4bd274;
    padding: 0 5px;
}

.elementor p a{
    color: #4bd274;
    border-bottom: 1px dashed #4bd274;
    padding: 0 5px;
}

#ez-toc-container {
    border-radius: 12px !important;
    background: #fff;
    border: 1px solid #aaa;
}

#ez-toc-container .ez-toc-title{
    font-size: 24px !important;
    font-weight: 600 !important;
}

#ez-toc-container nav {
    padding: 10px !important;
}

#ez-toc-container .ez-toc-heading-level-2{
    border-right: 5px solid #fff;
    padding: 15px;
}

#ez-toc-container .ez-toc-heading-level-2:not(:last-child){
    border-bottom: 1px solid #f7f7f7;
}

#ez-toc-container .ez-toc-heading-level-2>a {
    font-size: 20px;
    font-weight: 900 !important;
    color: #000;
    border-bottom: 0;
}

#ez-toc-container .ez-toc-heading-level-2 ul li>a{
    font-size: 16px;
}

#ez-toc-container .ez-toc-heading-level-2:hover {
    border-right: 5px solid #4bd274;
}

#ez-toc-container .ez-toc-heading-level-2:hover a{
    text-decoration: none;
}

#ez-toc-container .ez-toc-heading-level-2 .ez-toc-heading-level-3 {
    padding: 10px;
    border-right: 3px solid #fff;
}

#ez-toc-container .ez-toc-heading-level-2 .ez-toc-heading-level-3:hover {
    border-right: 3px dashed #18187a;
}

#ez-toc-container .ez-toc-heading-level-2 .ez-toc-heading-level-3:hover a{
    text-decoration: none;
}

.ez-toc-open-icon{
    opacity: 50%;
}

.ez-toc-sticky-fixed .ez-toc-sidebar .ez-toc-sticky-title-container .ez-toc-sticky-title{
    text-align: right;
}

.ez-toc-sticky-fixed .ez-toc-close-icon{
    background: #4bd274;
    color: #fff;
    padding: 1px 9px;
    border-radius: 50%;
}

@media only screen and (max-width: 767px){
    .container{
        padding: 10px !important;
    }
    
    #ez-toc-container .ez-toc-heading-level-2{
        padding-right: 0;
        padding-left: 0;
    }
    
    .box-wrap{
        padding-right: 5px !important;
        padding-left: 5px !important;   
    }
    
    ul,
    ol{
        padding-right: 20px !important;
    }
    
    #ez-toc-container{
        padding-right: 5px;
    }
    
    .thumb-container img{
        padding-bottom: 178px;
    }
}

.w-100 a img{
    width: 100% !important; 
}

.rmp-widgets-container.rmp-wp-plugin.rmp-main-container p{
    text-align: center;
    margin: 20px 0 !important;
}

.rmp-widgets-container.rmp-wp-plugin.rmp-main-container{
    padding: 25px;
    background: #f7f9f8;
    border-radius: 15px;
}

.rmp-heading--title{
    font-size: 28px;
    font-weight: 500;
    font-family: 'KalamehWeb';
}

.centered-text{
    float: right !important;
}

input[type="checkbox"] + *, input[type="radio"] + *,input[type="email"]::placeholder,input[type="number"]::placeholder,input[type="password"]::placeholder, input[type="email"]::placeholder, textarea::placeholder{
    color: #555;
    font-family: 'YekanBakh';
}

.button, button, input[type='button'], input[type='reset'], input[type='submit']{
    color: #353535;
}

.my-modal-content {
    overflow: auto;
    margin: 50px auto;
    height: 90%;
    z-index: 1000;
}


@media only screen and (max-width: 767px){
    .header-space{
        display: none;
    }  
    
    .totop-fly.show{
        bottom: 100px;
    }
    
    .fly-trigger{
        bottom: 60px;
    }
}

.mob_header-section .container{
    padding: 0 !important;
}
.mob_header-section .section-inner{
    margin: 0;
    border-radius: 0;
}

.mob_header-section .section-inner{
    direction: ltr;
}

.gform-body input{
    border: none !important;
    background-image: linear-gradient(to top left, var(--color-accent) -2500%, #0000 300%);
    border-radius: 10px !important;
    padding: 25px !important;
}

.gform-body textarea{
    border: none !important;
    background-image: linear-gradient(to top left, var(--color-accent) -2500%, #0000 300%);
    border-radius: 10px !important;
    padding: 25px !important;
}

.gform-theme--framework input[type='submit']{
    background: var(--color-accent) !important;
    border-radius: 10px !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    padding: 20px !important;
    margin: auto !important;
}

.thumb-container img{
	height: auto !important; 
}
.wp-block-image img{
	border-radius: 20px !important; 
}

.gform-body input{ 
	padding:2px !important;
}
