.d-flex {
    display: flex;
}

.justify-content-arround {
    justify-content: space-around;
}

.justify-content-center {
    justify-content: center !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.position-relative {
    position: relative !important;
}

.pr-0 {
    padding-right: 0;
}

.pl-6 {
    padding-left: 6rem !important;
}

.pl-0 {
    padding-left: 0 !important;
}

.pl-8 {
    padding-left: 8rem;
}

.pr-8 {
    padding-right: 8rem;
}

.pl-5 {
    padding-left: 5rem;
}

.pr-5 {
    padding-right: 5rem;
}

.pl-3 {
    padding-left: 3rem;
}

.pb-4 {
    padding-bottom: 4rem;
}
.py-3{
    padding-top: 1.3rem !important ;
    padding-bottom: 1.3rem !important;
}
.m-0 {
    margin: 0;
}

.mt-4 {
    margin-top: 4rem;
}

.mt-3 {
    margin-top: 3rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-1 {
    margin-top: 1rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.pr-1 {
    padding-right: 1rem;
}

.ml-1 {
    margin-left: 0.5rem;
}

.ml-2 {
    margin-left: 2rem;
}

.ml-3 {
    margin-left: 3rem;
}

.ml-4 {
    margin-left: 4rem;
}

.pb-2 {
    padding-bottom: 2rem;
}

.d-block {
    display: block;
}


/* Fonts */

.font_regular {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}

.font_meduim {
    font-family: 'Poppins', sans-serif;
    font-weight: 500 !important;
}

.font_bold {
    font-family: 'Poppins', sans-serif;
    font-weight: 600 !important;
}

.font_black {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
}


/* color */

.color_red {
    color: #EC2429;
}

.color_gray {
    color: #ADADAD;
}

.color_grey {
    color: #707070;
}

.dark {
    color: black;
}


/* size */

.size_n {
    font-size: 1.5rem;
}

.size_m {
    font-size: 2rem;
}

.size_l {
    font-size: 3rem;
}

.w-100 {
    width: 100%;
}


/* decoration */

.underline {
    text-decoration: underline;
}

.image_cover {
    background: url('https://damane-imm.majjane.biz/wp-content/uploads/2022/09/2643140154.1506686623.5865.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    height: 155vh;
}

.linear_background {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #1f407abf;
}

#register ::placeholder {
    color: #ADADAD;
}

.input_style {
    border: 1px solid #EDEDED;
    padding-left: 2rem;
    box-shadow: rgb(0 0 0 / 2%) 0px 0px 0px 1px;
    border-radius: 3px;
    width: 100%;
    height: 5rem;
    line-height: 2rem;
    display: block;
}

#sign,
#connect,
#reset_pass,
.form-group .reset,
.reset_form .reset,
#save,
#register_auto {
    background: #1F407A;
    color: white;
    padding: 1rem 3rem !important;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Poppins';
    border-radius: 5px;
    border: 1px solid #1F407A;
    width: 90%;
}
#reset_pass{
    height: 4.3rem;
}
#register_auto {
    margin-top: 3rem;
    width: fit-content;
}
.form-group input {
    /* padding: 0; */
    height: initial;
    width: initial;
    /* margin-bottom: 0; */
    /* display: none; */
    font-size: 0;
    opacity: 0;
    /* visibility: hidden; */
}

.form-group label {
    position: relative;
    cursor: pointer;
}

.form-group label:before {
    content: '';
    -webkit-appearance: none;
    background-color: white;
    border: 1px solid #1F407A;
    padding: 9px;
    display: inline-block;
    position: relative;
    vertical-align: middle;
    cursor: pointer;
    margin-right: 12px;
}

.form-group input:checked+label::before {
    background-color: #1F407A;
}

.form-group input:checked+label:after {
    content: '';
    display: block;
    position: absolute;
    top: 3px;
    left: 7px;
    width: 6px;
    height: 14px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.wp_position_sign_title {
    position: absolute;
    bottom: 15%;
    padding: 0 3rem 0 5rem;
}

.wp_position_sign {
    position: absolute;
    top: 5%;
    right: 6%;
    z-index: 1;
}

.wp_position_sign a {
    border: 1px solid white;
    border-bottom: 2px solid;
    padding: 0.6rem 1.5rem;
}


/* connected */

.wp_email::before,
.wp_password::before {
    content: url('https://damane-imm.majjane.biz/wp-content/themes/Damane_immo/svg/envelope (2).svg');
    position: absolute;
    left: 6%;
    top: 42%;
    transform: translate(-50%, -50%);
}

.wp_password::before {
    content: url('https://damane-imm.majjane.biz/wp-content/themes/Damane_immo/svg/key.svg');
}

.connected .image_cover {
    height: 120vh;
}

.swal2-html-container {
    font-size: 1.5em !important;
    margin: 2rem 0 !important;
    color: black !important;
    font-family: 'poppinsregular';
    font-weight: 500 !important;
}

.swal2-container.swal2-center>.swal2-popup {
    width: 35%;
    padding: 3rem 0;
}

.swal2-styled.swal2-confirm {
    border: 1px solid #1F407A !important;
    border-radius: 7px !important;
    background: initial !important;
    background-color: #1F407A !important;
    color: #fff !important;
    font-size: 1.8em !important;
    padding: 1rem 2rem;
    font-weight: 600;
}

.swal2-styled.swal2-confirm:focus {
    box-shadow: none !important;
}


/* hedaer */

.connection {
    display: block;
    border: 1px solid #1f407a;
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 7px;
}

.wp_connection {
    float: right;
    margin: 0 -1.5rem 0 2.5rem;
}

/* header .navbar-form {
    margin-top: 8px !important;
} */

.menu-menu-langue-et-rechercher-v-fr-container {
    margin-top: 6px !important;
}

/* .wp_connection i {
    margin-right: 6px;
} */


/* reset password */

.reset_password {
    background: url('https://damane-imm.majjane.biz/wp-content/uploads/2022/09/2643140154.1506686623.5865.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    height: 100vh;
}

.cover_reset {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #1f407a94 linear-gradient(to bottom, #1f407af0 100%, transparent);
}

.reset_form {
    background: white;
    margin-top: 8rem;
    padding: 3rem 7rem;
}

.reset_form .wp_email::before {
    left: 18%;
    top: 40%;
}

#reset_pass {
    background: #EC2429;
    border: none;
}

.reset_form .reset,
.reset_form .reset:hover {
    text-align: center;
    background: white;
    color: #1F407A !important;
}

.reset_form .wp_email {
    padding: 0 8rem;
}


/* My account */

#save {
    width: initial;
}

.bande {
    background: #1F407A;
    padding: 1rem;
    position: relative;
}

.bande a {
    color: white !important;
    display: block;
    padding: 0 4rem;
    position: relative;
}

.bande a:hover {
    color: white !important;
}

.bande a:not(:last-child)::after {
    content: "";
    width: 0.1rem;
    height: 2rem;
    background: white;
    position: absolute;
    right: 0;
    top: 3%;
}


/* Favoris */

.wp_thumbnail {
    width: 418px;
    height: 237px;
    position: relative;
}

.wp_thumbnail img {
    width: 100%;
    height: 100%;
}

.wp_bien {
    background: white;
    margin-bottom: 2rem;
    border-top: 1px solid #8080800d;
    box-shadow: rgb(0 0 0 / 14%) -1px 3px 14px 1px;
    border-radius: 5px;
}

.wp_detail_bien {
    padding: 2rem 2rem 2rem 3rem;
}

.access {
    background: #EC2429;
    margin-top: 8rem;
    text-align: center;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    position: relative;
    transition: ease out 0.3s;
}

.access:hover {
    background: #1F407A;
}

.access img {
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
}

.wp_thumbnail::after {
    content: '';
    position: absolute;
    bottom: 12%;
    left: 9%;
    width: 4rem;
    height: 4rem;
    background: url('/wp-content/themes/Damane_immo/svg/ios-heart.svg') white;
    border-radius: 50px;
    background-repeat: no-repeat;
    background-position: center 50%;
}

#favoris_bien .pagination>.page-numbers {
    color: #1f407a;
    width: 39px;
    height: 39px;
    border: 0.1px solid #1F407A;
    margin: 0 0.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
}

#favoris_bien .pagination .next,
#favoris_bien .pagination .prev {
    width: 12rem;
    font-size: 16px;
}

#favoris_bien .pagination span[aria-current="page"] {
    color: white !important;
    background: #1F407A !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
}

#favoris_bien .page-numbers:hover {
    background-color: transparent;
}


/* favoris home */

.like {
    position: absolute;
    bottom: 8%;
    left: 6%;
}

.like button {
    width: 4rem;
    height: 4rem;
    border-radius: 50px;
    background: white;
    position: relative;
    outline: none;
    border: none;
}

#like #img_red,
#like #img_gray {
    display: block;
    margin: 0 auto;
    transform: scale(1.2);
    margin-top: 3px;
    width: initial !important;
    height: initial !important;
    box-shadow: none !important;
    object-fit: initial !important;
}

.modal {
    text-align: center;
    padding: 0!important;
}

.modal:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -4px;
}

.modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}

.modal-header {
    padding: 2rem 3rem;
    border-bottom: none;
}

.modal-footer {
    border-top: none;
}

.modal-body {
    padding: 1rem 7rem;
}

.modal-header h5 {
    text-align: center;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.modal-header p {
    text-align: center;
}

@media (max-width: 1270px) {
    .image_cover {
        height: 188vh;
    }
    .pl-8 {
        padding-left: 6rem;
    }
    .pr-8 {
        padding-right: 6rem;
    }
    .reset_form .wp_email::before {
        left: 23%;
    }
}

@media (max-width: 1198.98px) {
    .pr-8 {
        padding-right: 2rem;
    }
    .pl-8 {
        padding-left: 2rem;
    }
    .reset_form .wp_email {
        padding: 0 6rem;
    }
    .wp_detail_bien {
        padding: 2rem 2rem 2rem 5rem;
    }
    .like {
        bottom: 25%;
    }
}

@media (max-width: 991.98px) {
    .wp_position_sign {
        top: 6%;
    }
    .wp_position_sign a {
        border: 1px solid #1F407A;
        border-bottom: 2px solid #1F407A;
        color: #1F407A !important;
    }
    .wp_position_sign a:hover {
        color: white !important;
        background: #1F407A;
    }
    .col-none {
        display: none;
    }
    .pl-8 {
        padding-left: 8rem;
    }
    .pr-8 {
        padding-right: 8rem;
    }
    .wp_email::before,
    .wp_password::before {
        left: 4%;
    }
    .wp_connection {
        margin: 3px 0rem 0 1rem;
    }
    .connection {
        padding: 0.5rem 1rem;
        font-size: 13px;
    }
    .reset_form .wp_email::before {
        left: 13%;
        margin-left: 3rem;
        margin-right: 0rem;
    }
    .reset_form .wp_email {
        padding: 0 5rem;
    }
    .wp_detail_bien {
        padding: 2rem 2rem 2rem 1rem;
    }
    .wp_thumbnail {
        width: 286px;
        height: 230px;
    }
    .sp_xs {
        margin-right: 1.5rem;
    }
    .like {
        bottom: 18%;
    }
}

@media (max-width: 767.98px) {
    .wp_email::before,
    .wp_password::before {
        left: 6%;
    }
    .wp_connection {
        margin: 4px 0rem 0 2.5rem;
    }
    .connection {
        padding: 0.4rem 1rem;
    }
    .wp_thumbnail {
        width: 228px;
        height: 231px
    }
    .wp_detail_bien {
        padding: 1rem;
    }
    .wp_thumbnail {
        width: 220px;
        height: 231px;
    }
    .sp_xs {
        margin-right: 1rem;
    }
    .access {
        width: 35px;
        height: 35px;
    }
    .access img {
        transform: translate(-50%, -50%) scale(.75);
    }
    .star {
        margin-left: 7px;
    }
    .like button {
        width: 3rem;
        height: 3rem;
    }
    .like {
        bottom: 32%;
    }
}

@media (max-width: 575.98px) {
    .pr-8 {
        padding-right: 3rem;
    }
    .pl-8 {
        padding-left: 4rem;
    }
    .reset_form .wp_email::before {
        left: 0%;
    }
    .reset_form .wp_email {
        padding: 0;
    }
    .bande {
        padding: 1rem 0;
    }
    .bande a {
        padding: 0 3rem;
    }
    .fav {
        flex-direction: column;
        justify-content: center;
    }
    .col-tab {
        width: 83%;
    }
    .sp_xs a {
        margin-left: 16px !important;
        margin-bottom: 2rem;
    }
    .access img {
        transform: translate(-50%, -50%);
    }
    .access {
        margin-top: 0;
    }
    .fav .col-xs-5 {
        width: 99.666667%;
        padding: 0;
    }
    .wp_thumbnail {
        width: 100%;
        height: 100%;
    }
    .star {
        display: none;
    }
    .wp_thumbnail::after {
        bottom: 7%;
        left: 5%;
    }
    .like {
        bottom: 8%;
    }
}

@media (max-width: 475.98px) {
    .pr-8 {
        padding-right: 0rem;
    }
    .pl-8 {
        padding-left: 1rem;
    }
    .pl-3 {
        padding-left: 0rem;
    }
    .form-group label {
        font-size: 12px;
    }
    .reset_form {
        padding: 3rem 4rem;
    }
    .bande a {
        padding: 0 2rem;
    }
    #favoris_vide img {
        transform: scale(.7);
    }
    #favoris_vide h1 {
        font-size: 2.3rem;
    }
}

@media (max-width: 375.98px) {
    .wp_position_sign {
        top: 5.5%;
    }
    .pl-3 {
        padding-left: 0rem;
    }
    .wp_email::before,
    .wp_password::before {
        left: 8%;
    }
    .d-xs-block {
        display: block;
    }
    .reset_form {
        padding: 3rem 2rem;
    }
    #reset_pass,
    .reset_form .reset {
        padding: 1rem 1.5rem !important;
        font-size: 13px;
    }
    .reset_form .reset {
        padding: 0.8rem 1.5rem !important;
        font-size: 13px;
    }
    .bande a {
        font-size: 12px;
        padding: 0 1rem;
    }
    .col-tab {
        width: 99%;
    }
    .like {
        bottom: 20%;
    }
}