/*
Theme Name: madanayar
Tested up to: 6.2
Requires PHP: 7.4
version: 1.0
author: nirweb
 */
/***************************************************************************
# General
 ***************************************************************************/
@font-face {
    font-family: IRANYekan;
    font-style: normal;
    font-weight: 600;
    src: url("assets/fonts/iranyekanwebboldfanum.woff") format("woff2"),
        /* FF39+,Chrome36+, Opera24+*/ url("assets/fonts/iranyekanwebboldfanum.woff")
    format("woff");
}
@font-face {
    font-family: IRANYekan;
    font-style: normal;
    font-weight: 400;
    src: url("assets/fonts/iranyekanwebregularfanum.woff") format("woff2"),
        /* FF39+,Chrome36+, Opera24+*/ url("assets/fonts/iranyekanwebregularfanum.woff")
    format("woff");
}
@font-face {
    font-family: IRANYekan;
    font-style: normal;
    font-weight: 300;
    src: url("assets/fonts/iranyekanweblightfanum.woff") format("woff2"),
        /* FF39+,Chrome36+, Opera24+*/ url("assets/fonts/iranyekanweblightfanum.woff")
    format("woff");
}
*{padding: 0;margin: 0;box-sizing: border-box;}
html{ scroll-behavior: smooth;}
ul,li{list-style: none;}
a{text-decoration: none;color: var(--main-nayar);}
img{display: block;max-width: 100%;height: auto;}
img.alignright {display: inline;float:right;}
img.alignleft {float: left;display: inline;}
img.aligncenter {margin: auto; display: flex;}
.alignright,.alignleft img{max-width: 50% !important;}
input,button,textarea{font-family:inherit;outline:0;}
button{cursor:pointer}
input::placeholder,textarea::placeholder{color:inherit;}
textarea{resize: none}
body {background-color: #F5F5F5;font-family: 'IRANYekan';font-size: 14px;}
:root{
    --main-nayar : #033F88
}
.spinner:before {
    content: '';
    box-sizing: border-box;
    position: absolute;
    top: 40%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin-top: -15px;
    margin-left: -15px;
    border-radius: 50%;
    border: 3px solid #ccc;
    border-top-color: #fff;
    animation: spinner .6s linear infinite;
    display:block;
}
.spinner{
    position: relative;
}
@keyframes spinner {
    to {transform: rotate(360deg);}
}
@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
.nayar_ovl{position: fixed;top: 0;right: 0;bottom: 0;left: 0;height: 100%;z-index: 99;display: none;backdrop-filter: blur(9px);-webkit-backdrop-filter: blur(9px);-webkit-animation-name: fadeIn;-webkit-animation-duration: 0.4s;animation-name: fadeIn;animation-duration: 0.4s;background: rgba(0,0,0,0.7);}
/***************************************************************************
# Header
 ***************************************************************************/
.header_content_madan{
    display: flex;
    align-items: center;
    max-width: 75%;
}
.main_menu_nayar{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.main_menu_nayar li a{
    color: #000;
    display: flex;
    align-items: center;
    line-height: 35px;
}
.logo_madanayar{
    margin: 10px 0 0 50px;
}
header{
    box-shadow: 0 0 4px 0 rgba(0,0,0,0.15);
    background: #fff url("assets/images/header-bg.svg") no-repeat;
    padding: 30px 0 15px;
    background-size: 100% auto;
}
.search_form_madanayar{
    display: flex;
    align-items: center;
    margin-right: auto;
    margin-top: -20px;
    width: 250px;
    max-width: 100%;
    border: 1px solid var(--main-nayar);
    border-radius: 5px;
    overflow: hidden;
}
.search_form_madanayar input{
    width: 100%;
    height: 36px;
    border: 0;
    padding: 0 5px;
    margin: 0;
}
.search_form_madanayar button{
    display: flex;
    height: 36px;
    align-items: center;
    justify-content: center;
    background: var(--main-nayar);
    width: 50px;
    border: 0;
}
.main_menu_nayar > li{
    position: relative;
    margin: 0 0 0 20px;
    font-weight: 500;
}
.main_menu_nayar .sub-menu{position: absolute;width: max-content;min-width: 150px;background: #fff;box-shadow: 0 3px 6px rgba(0,0,0,0.12);border-radius: 5px;padding: 7px;top: 30px;z-index: 1;display: none;}
.main_menu_nayar .sub-menu li{
    line-height: 35px;
    border-bottom: 1px solid #eee;
}
.main_menu_nayar .sub-menu li:last-child{
    border-bottom:0;
}
/***************************************************************************
# Footer
 ***************************************************************************/
.madanayar_footer{
    background-color: #fff;
    padding: 30px 0 15px 0;
    margin: 30px 0 0 0;
}
.footer_menu_nayar{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
footer .search_icon_madan path{
    fill: #000;
}
.footer_content_nanyar{
    margin-top: -60px;
}
.footer_menu_nayar li{
    margin: 0 0 0 15px;
}
.footer_menu_nayar li a{
    color: #000;
}
.copyright_nayar{
    color: #777;
    text-align: center;
    margin-top:70px;
}
/***************************************************************************
# Page
 ***************************************************************************/
.page_placeholder_nayar{background: #fff;padding: 30px;margin: 30px 0;border-radius: 10px;line-height: 30px;}
.page_title_nayar{
    margin: 0 0 20px 0;
    font-size: 24px;
}
.page_placeholder_nayar img{
    border-radius:10px;
}
.contactpage_title_nayar{font-size: 21px;margin: 0 0 5px 0;}
.contactus_subtitle_nayar{font-size: 13px;margin: 0 0 15px 0;}
.contactus_desc_nayar{color: #595959;margin: 0 0 15px 0;text-align: justify;}
.contactus_info_content_nayar{
    margin: 0 10px 0 0;
}
.contactus_info_list_nayar li{
    display: flex;
    align-items: center;
    margin: 0 0 10px 0;
}
.contactus_info_content_nayar h3{
    font-size: 15px;
}
.contactus_info_content_nayar p{
    color: #555;
}
.wpcf7-form{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
}
.wpcf7-form p:nth-last-child(3){
    width: 100%;
}
.wpcf7-form p{
    width: 48%;
    margin: 0 0 15px 0;
}
input{
    border: 1px solid var(--main-nayar);
    background: #FAFCFF;
    border-radius: 5px;
    margin: 7px 0 0 0;
    width: 100%;
    height: 40px;
    padding: 0 10px;
}
textarea{
    border: 1px solid var(--main-nayar);
    background: #FAFCFF;
    border-radius: 5px;
    margin: 7px 0 0 0;
    width: 100%;
    padding: 10px;
    height: 120px;
}
input[type="submit"]{
    background: var(--main-nayar);
    color: #fff;
    font-size: 15px;
    width: 150px;
    height: 45px;
    cursor: pointer;
}
.menu_toggler_nayar,.resp_footer_logo_nayar{display: none;}
@media only screen and (max-width:991px){
    .menu_toggler_nayar{display: block}
    .madanayar_footer{
        padding: 15px 0;
    }
    footer .search_icon_madan{
        margin-right: auto;
    }
    .desktop_footer_logo_nayar{
        display: none;
    }
    .resp_footer_logo_nayar{
        display: block;
        margin: 0 auto;
    }
    header{
        background: transparent;
        padding: 10px 0 ;
    }
    .header_content_madan{
        max-width: 100%;
        justify-content: space-between;
    }
    .main_menu_nayar{
        flex-direction: column-reverse;
        width: 300px;
        border-radius: 0;
        background: #fff;
        min-height: 100vh;
        position: fixed;
        right: -100%;
        z-index: 100;
        top: 0;
        align-items: flex-start;
        justify-content: flex-end;
        overflow-y: auto;
        padding: 0;
        transition: .4s ease-in-out;
    }
    .main_menu_nayar.show{
        right: 0;
    }
    .search_form_madanayar{
        width: 100%;
        margin: 10px 0 0 0;
    }
    .main_menu_nayar > li{
        width: 100%;
        margin: 0;
        padding: 10px;
    }
    .main_menu_nayar li a{
        justify-content: space-between;
    }
    .main_menu_nayar li a svg{
        transform: rotate(90deg);
        border: 1px solid #ccc;
        border-radius: 4px;
    }
    .main_menu_nayar li a svg.toggled{
        transform: rotate(180deg);
    }
    .main_menu_nayar .sub-menu{
        width: 100%;
        position: unset;
        box-shadow: none;
        background: #f9f9f9;
        margin: 0 0 10px 0;
    }
    .main_menu_nayar .sub-menu li a{
        margin:0;
    }
    .footer_menu_nayar{
        display: none;
    }
    .copyright_nayar{
        border-top: 1px solid #ccc;
        padding-top: 15px;
    }
    .wpcf7-form p{
        width: 100%;
    }
}