/**
 * AriaMarz — legacy content styles rescued from header_top.php.
 *
 * header_top.php (the OLD header) carried two big <style> blocks that
 * styled not just the old header but lots of PAGE CONTENT (.img_carasol,
 * .btn_container, .floating-action-bar, notification dropdowns, .c-common-empty,
 * search filter buttons, loaders, etc.). Now that header_new.php renders
 * instead, those content styles were lost — so they live here and load on
 * every page. Old-header-only selectors (.navbar*, .top-nav-text, .subnav,
 * #navbarTogglerDemo02, .my_nav ...) are harmless no-ops because that markup
 * no longer exists; the new header's own rules (in new-header.css) win for
 * any shared class via higher specificity.
 */

/* ===== Block 1 (was header_top.php lines 74–486) ===== */
    .btn-primary {
        background: #007bff !important;
    }
.dropdown_custom:hover .my_nav{
    left: 0px !important;
    right: auto;
}    
.top-nav-text li .subnav .innler_part .col_part p {
    font-size: 15px;
    color: #2a2a33;
    margin-bottom: 15px;
    font-weight: 500;
    line-height: 1.2;
}
.img_carasol p {
    text-align: center;
    margin-bottom: 0;
    line-height: 2rem;
    font-weight: 500;
}
    @media (max-width: 340px){
        .secondary-header.search_section .btn_secton a {
             font-size: 8px !important;
        }
    }
        @media (max-width: 386px){
        .navbar2 a {
             padding: 6px 0px !important;
            }
    }
.col-md-12.col-12.p-0.click_open.colmd3 {
    display: flex !important;
    align-items: center;
}
.secondary-header.search_section .btn_secton a {
    height: 32px;
    overflow: hidden;
}
a#drop_down_menu2 {
    width: -webkit-fill-available;
    padding: 0 5px;
}
.floating-action-bar {
    left: 0% !important;
    right: 0%;
    margin: auto;
    width: fit-content;
}
    .navbar-toggler.collapsed i.fas.fa-bars {
        color: #0064f0 !important;
    }
    .floating-action-bar .action-bar-left-content a, .floating-action-bar .action-bar-left-content button, .floating-action-bar .action-bar-right-content a, .floating-action-bar .action-bar-right-content button {
    font-weight: 600 !important;
    line-height: 1.3 !important;
    font-size:14px;
    }
    @media (min-width: 1280px){
        .main_body.profile_page.load_top_error.resp_top_zero #edit_profile {
             padding-left: 0px;
             padding-right: 0px;
         }
    }
    .c-common-empty {
    display: flex;
    width: 100%;
    min-height: 50px;
    padding: 10px 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.c-common-empty .empty-text {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 400;
    color: #8c96a6;
}
.dropdown_custom:hover .my_nav {
    top: 62px;
    min-width: 340px;
}
.search-details-page {
    background-color: rgb(0 0 0 / 5%)!important;
}
a:not([href]):not([tabindex]):focus, a:not([href]):not([tabindex]):hover {

    border: none;
}
.new_loader {
    width: 100% !important;
    height: 100% !important;
    position: fixed;
    z-index: 2147483647 !important;
    background: #fdfdfdad;
    touch-action: none;
    pointer-events: none;
    top: 0;
}
.spinner {
    
		border: none !important;
		border-top: none !important;
		border-radius: 0% !important;
		width: 45px !important;
        margin-top: 45vh;
        right: 47% !important;
		height: 45px !important;
		position: fixed !important;
		animation: spin 0.5s linear infinite !important;
		text-align: center !important;
        background-image: url(/theme/images/loader-large.png);
        background-repeat:no-repeat;
	}
    @keyframes spin {
	  0% { transform: rotate(0deg); }
	  100% { transform: rotate(360deg); }
	}

@media(max-width:991px){ 
    button.StyledButton-c11n-8-62-4__sc-wpcbcc-0.cscaEb.srp__c3ge2v-0.srp__sc-1k6ohnd-0.ehiZCq.action-bar-sort-button.a11y-pagination-focus {
        color: goldenrod;
    }
    .secondary-header.search_section .btn_secton {
        width: 25% !important;
        padding: 0 2px 0px 2px;
    }
    .btn_container{
        width: 100%;
        display: flex;
    }
    .spinner {
        right: 43vw !important;
    }
    .navbar-collapse {
        padding-right: 15px;
        padding-left: 0px !important;
    }
    }

    .postproperty{
        padding:4px;
        border: 1px solid #fe5700;
        border-radius: 3px;
        background: #fe5700;
        margin-left: 15px;
        padding-right: 10px;
        padding-left: 10px;
    }

    .unread_c_mesage {
        color: #f8f9fa !important;
        min-width: 20px;
        border-radius: 50%;
        float: left;
        position: absolute;
        padding: 0px 10px 0px 10px !important;
        z-index: 99 !important;
        background: #e96e2f;
        left: 5px;
    }
    .unread_message_count {
        background: #e96e2f;
        border-radius: 12px;
        color: #fff;
        text-align: center;
        cursor: pointer;
        padding: 1px 4px 0;
        min-width: 20px;
        height: 22px;
        margin-right:4px

    }

    .unread_notification_count {

        font-family:iransansxv;
        font-weight:normal;
        float: left;
        margin-right: 5px;
        background: #e96e2f;
        border-radius: 12px;
        color: #fff;
        text-align: center;
        cursor: pointer;
        padding: 1px 4px 0;
        font-size: 14px;
        min-width: 25px;
        line-height: 25px;
        height: 25px;
        margin-top:-3px;
    }
    .main-logo{
        width:152px;
    }
    .dropdown2 {
        position: absolute !important;
        display: inline-block;
        left:400px;
        margin-top: 6.6%;
    }
    @media (max-width: 991px){
        .dropdown2 {
        left:0px;
    }
    .help-class{
        padding-top: 20px;
    }    

    .new-parts{
        padding-bottom:10px !important;
    }

        .top-nav-text li {
        margin-left: 0px;
        margin-right: 0px;
        padding-left: 0px;
        padding-top:10px !important;
        padding-bottom:10px !important;
    }   
    ul.top-nav-text li:last-child {
        margin-right: 0px;
    }
    ul.top-nav-text {

        left: 0px;
    }

    nav .navbar-collapse.d-flex.justify-content-between.collapse {
        padding-bottom: 100%;
    }

        .navbar-toggler {
        margin: 15px 20px;
    }    

    #navbarTogglerDemo02 {
        margin-top: 0px;
    }
    /* The container <div> - needed to position the dropdown2 content */
    .dropdown2 {
        position: relative !important;
        max-height: calc(77vh);
        flex-wrap: wrap;
        overflow: auto;
        width:100%;
        border-radius:10px;
        margin-right: auto !important;
        margin-top: auto !important;
    }
    #notification_listing{
        min-width: 100% !important;
    }
    .dropdown-content a {
        text-align:center;
    }

    .dropbtn2 {
        margin-top: 0px !important;
        margin: 0px 10px;
        color:#0064f0 !important;
        padding:20px !important;
        padding-left: 17px !important;
        padding-right: 13px !important;
        /*margin-right: 66% !important;*/
    }

    /* dropdown2 Content (Hidden by Default) */
    .dropdown-content {
    position: relative !important;
    }

    .navbar-light .navbar-toggler {
        border: transparent;
        background: white;
        padding-bottom: 10px;
        padding-top: 10px;
        margin: 10px 20px;
    }
    .search-bars .search-divs {
        margin-top: 0px;
    }
    .search-iconss {
        top: 14px;
    }   
    .div-logo-head {
        left: 50%;
        top: 0px;
        display: none;
        position: absolute;
        transform: translateX(-50%);
    }
    .unread_message_count {
        float: left;
        background: #e96e2f;
        border-radius: 12px;
        color: #fff;
        margin-left: 80px;
        text-align: center;
        cursor: pointer;
        padding: 1px 4px 0;
        font-size: 14px;
        min-width: 34px;
        line-height: 22px;
        height: 22px;
        margin-top: 13px;
    }
    .unread_notification_count {
        font-family: iransansxv;
        font-weight: normal;
        float: right;
        margin-top: -15px;
        margin-left: -8px;
        background: #e96e2f;
        border-radius: 12px;
        color: #fff;
        text-align: center;
        cursor: pointer;
        padding: 1px 4px 0;
        font-size: 14px;
        min-width: 25px;
        line-height: 22px;
        height: 22px;
        backface-visibility: hidden;
    }
    .main-logo{
        width:94px;
    }
    .black-logo {
        display: block;
    }
    .navbar-collapse {
            opacity: 0;
            visibility: hidden;
    }
}
@media (min-width:1280px){
    .rentclass{
        margin-right:25px !important;
    }
}

.top-nav-text li .subnav {
    top: 0px;
    margin-top: 10px;
}


@media (min-width:992px){
    .postproperty{
        display:none;
    }
    .btn_container{
        margin-right: 5px;
        align-self: center;
    }
    .search_section form {
        display:flex;
    }
    .desktop-hide{
        display:none;
    }
    .top-nav-text li .subnav {
        top: 38px;
    }
    .top-first-nav {
        width: 40%;
        margin: 0 !important;
        padding: 0 !important;
        justify-content: flex-start;
    }
    .top-nav-text {
        width: 40%;
        justify-content: flex-end;
    }

}


#notification_listing{
    width: 360px !important;
    padding: 0;
    background: white;
    border: 1px solid var(--bg-f6f9ff);
    border-radius: 4px;
    position: absolute;
    color: #606266;
    line-height: 1.4;
    text-align: justify;
    font-size: 14px;
    box-shadow: 0 2px 12px 0 rgb(0 0 0 / 10%);
  

}
.message-main{
    height: 280px;
    overflow-y: scroll;
}

::-webkit-scrollbar-thumb {
    width: 6px;
    background-color: #dde0e8;
    border-radius: 4px;
    box-shadow: inset 0 0 4px rgb(0 0 0 / 5%);
}
::-webkit-scrollbar {
    height: 9px;
}
::-webkit-horizontal, ::-webkit-scrollbar {
    width: 10px;
    padding: 0;
    background-color: transparent;
    scroll-behavior: smooth;
}

/* ===== Block 2 (was header_top.php lines 490–684) ===== */
/* dropdown2 Button */
.dropbtn2 {
  color: white;
  padding: 16px;
  padding-bottom:0.5rem;
  font-size: 17px;
  border: none;
  color:#333;
  margin-top: 0px;
}

/* The container <div> - needed to position the dropdown2 content */
.dropdown2 {
  position: relative;
  display: inline-block;
}


/* dropdown2 Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f6f9ff;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown2 */
.dropdown-content a {
  padding: 12px 16px;
  text-decoration: none;
  display: flex;
}

/* Change color of dropdown2 links on hover */
.dropdown-content a:hover {background-color: #f6f9ff;}

/* Show the dropdown2 menu on hover 
.dropdown2:hover .dropdown2-content {display: block;}*/

/* Change the background color of the dropdown2 button when the dropdown2 content is shown */
.dropbtn2:hover {color: #3e8e41; cursor: pointer;}
.alert-success {
    color: #000000;
    background-color: white;
}
#notification_listing img{
   width:30px;
   height:30px;
   border-radius:50%; 
}
.message-time{
    margin-top: 5px;
    font-size: 12px;
    font-weight: 400;
    line-height: 17px;
    color: #99a3b7;
}
.unread-notification .blue-circle{
    margin-left: 5px;
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-bottom: 2px;
    background: #2470d8;
    border-radius: 50%;
    content: "";
}
.dropbtn2:hover .dropdown2{
    display: block;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgb(0 0 0 / 20%);
    z-index: 1;
    min-width: 380px !important;
    max-height: 85vh;
    overflow: auto;
}


#notification_listing .alert{
    padding:10px !important;
    margin-bottom:0px !important;
    border:0px !important;
    border-bottom:solid 1px #fff !important;
    border-radius:0px !important;
    cursor: pointer;
    margin-right: 0px;
}

#notification_listing p{
    padding:0px !important;
    margin-bottom: 0rem !important;
}

#notification_listing h5{
    padding:0px !important;
    padding-bottom:0px !important;
    padding-top:3px !important;
    font-size:14px;
}

#notification_listing .col-sm-11{
    text-align:right;
    font-size:13px;
    max-width:80% !important;
}

#notification_listing .col-sm-1{
    max-width:20% !important;
    margin-top: 16px;
}

#notification_container .read{
    background:#fff !important;
}
#notification_container{
    text-align:center;
    padding: 12px 16px;
}

#notification_container .read{
    
    margin-right: 0px;
}
@media (max-width: 991px){
    .responsive-hide{
        display:none;
    }
    .responsive_show_custom {
        display: block !important;
    }
    .home .black-logo {
        display: block;
        z-index: 3;
    }
    ::-webkit-horizontal, ::-webkit-scrollbar {
        width: 6px;
        scroll-behavior: smooth;
    }
}
.cancelbtn{
    font-size: 16px;
    display: inline-flex;
    justify-content: center;
    place-items: center;
}
.ctoa_btn {
    background: #FF6600;
    color: white;
    border: #FF6600;
    border-radius: 5px;
    height: 40px;
}
/* (Removed a PHP-conditional block of OLD-header dark-banner styling —
   navbar toggler / #navbarTogglerDemo02 / white .header_logo / #header-second.
   It only applied to the old header, which no longer renders.) */
.nav-style li a{
    width: 100%;
    text-align: right;
    padding-right: 0 !important;
    padding-left: 0 !important;
}
.grecaptcha-badge { 
    visibility: hidden; 
}
