:root {

    --main-color: #e7c12a;
    --second-color: #978074;
    --main-font: 'Poppins', sans-serif;
}

body {
    
    overflow-x: hidden !important;
    
}

h1, h2, h3, h4, h5, h6 {

    font-family: var(--main-font);

}

a {

    text-decoration: none !important;
    color: var(--main-color)
}

.dropzone {

    border: none;
    background: #f6f6f6;

}

.dropzone .dz-preview.dz-image-preview {

    background: transparent;

}

.dropzone .dz-preview .dz-image,
.dropzone .dz-preview .dz-image img {

    width: 220px;
    height: 220px;
    object-fit: cover;

}

.dropzone .dz-preview .dz-remove {

    position: absolute;
    top: 0;
    right: 0;
    z-index: 9999999999999;
    background: #000;
    padding: 6px 14px;
    color: var(--main-color) !important;
    text-decoration: none !important;
    font-size: 13px;
    border-top-right-radius: 18px;

}

.dropzone .dz-preview .dz-main-img {

    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    z-index: 999999;
    color: #fff;
    font-size: 17px;
    text-align: center;
    text-shadow: 1px 1px 1px #000;
    padding: 7px;
    
}

.dz-main-img label {

    position: relative;
    margin-bottom: 0;
    vertical-align: top;
    display: inline-block;

}

.dz-main-img .custom-control-label::before,
.dz-main-img .custom-control-label::after {

    left: -28px;

}

.custom-control-input:focus ~ .custom-control-label::before {

    box-shadow: 0 0 0 1px #fff,0 0 0 .2rem rgba(231,193,42,.25);

}

.btn-primary {

    background-color: var(--main-color);
    border-color: var(--main-color);

}

.btn-primary:hover {

    background-color: #b09527;
    border-color: #b09527;

}

.shadow {

    box-shadow: 1px 1px 1px 1px #ddd !important;

}

.img-cover {

    height: 150px;
    display: block;
    object-fit: cover;

}

.action button[type="submit"] {

    color: #fff;
    background-color: var(--main-color);
    padding: 5px 10px;
    border: 1px solid var(--main-color);
    border-radius: 5px;
    cursor: pointer;

}

.cover {

    object-fit: cover;
    height: 450px;
    width: 100%;

}

.trumbowyg-box .trumbowyg-editor {

    background: #fff;

}

.select2 {

    width: 100% !important;

}


.dataTables_wrapper {

    overflow: scroll;

}



/****************
* Header
****************/

.top-bar {

    background-color: var(--second-color);
    padding: 10px 0;

}

.top-bar h1 {

    font-size: 14px;
    color: #fff;
    margin: 0;

}

.top-bar a {

    color: #fff;
    margin-right: 10px;
    font-size: 14px;
    text-decoration: none;

}

.top-bar a svg {

    color: var(--main-color);

}

.top-bar-right {

    display: flex;
    justify-content: flex-end;
    align-items: center;

}

.scial-media {

    list-style: none;
    margin: 0;
    margin-left: 50px;
    padding: 0;

}


/* Header */

header {

    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../img/main/bg-header.jpg');
    background-size: cover;
    position: relative;
    background-position: center;
    

}

.overlay {

    padding-bottom: 20px;

}

.sp .overlay {
    
    padding-bottom: 0;
    
}

.navbar-brand img{

    width: 170px;

}

.navbar-light .navbar-nav .nav-link {

    color: #fff !important;

}

.navbar-toggler {
    
    background: var(--main-color);
    
}

/****************
* Breadcrumb
****************/

.header-breadcrumb {

    text-align: center;
    color: #fff;
}

.header-breadcrumb h1 {

    font-family: var(--main-font);
    font-size: 35px;
    margin-bottom: 11px;
    
}

.header-breadcrumb p {

    font-family: var(--main-font);
    margin-bottom: 10px;

}

/******************
* Filter property
******************/

.filter-property {

    width: 100%;
    background-color: #fdfdfd;
    padding: 20px 0;
    
}

.filter-property p {

    color: var(--main-color)

}

.filter-property .select {

    position: relative;

}

.filter-property .selected {

    border: 1px solid var(--main-color);
    width: 100%;
    display: block;
    padding: 5px;
    cursor: pointer;

}

.filter-property .select-item {

    margin: 0;
    padding: 0;
    background-color: #fff;
    list-style: none;
    position: absolute;
    width: 100%;
    box-shadow: 0px 0px 7px -5px black;
    overflow: hidden;
    transition: all 0.4s ease-in;
    height: 0;
    z-index: 99999;

}

.filter-property .select-item svg {

    color: var(--main-color)

}

.filter-active {

    height: initial !important;

}

.filter-property .select-item .select-element {

    padding: 10px;
    border-bottom: 1px solid #f6f6f6;
    cursor: pointer;


}

.filter-property .select-item .select-element:hover {

    background-color: #f6f6f6;

}

.filter-property button{

    display: block;
    width: 100%;
    padding: 5px;
    border: 1px solid var(--main-color);
    background: var(--main-color);
    color: #fff;
    cursor: pointer;

}

/****************
* New property
****************/

.new-property {

    margin: 10px auto 50px auto;

}

.new-property h2 {

    font-size: 45px;
    font-family: var(--main-font);
    color: black;

}

.cat-section h2 {
    
    font-size: 30px;
    
}

.new-property .new-property-card {

    display: block;
    margin-bottom: 30px;
    background: #fff;
    box-shadow: 0px 0px 5px -4px #000;
    border-radius: 20px;

}

.new-property .new-property-card .new-property-header {

    position: relative;
    overflow: hidden;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    width: 100%;

}

.new-property .new-property-card .new-property-header img {

    width: 100%;
    transition: all 0.9s ease-in-out;
    object-fit: cover;
    height: 250px;

}

.card-gallery {
    
    position: absolute;
    bottom: 0px;
    right: 10px;
    color: #fff;
    
}

.new-property .new-property-card .new-property-header img:hover {

    transform: scale(1.1, 1.1);

}

.new-property .new-property-card .new-property-header span {

    position: absolute;
    top: 30px;
    left: 20px;
    background: var(--main-color);
    color: #fff;
    padding: 5px 20px;
    border-radius: 20px;
    box-shadow: 0px 0px 6px -3px #000;

}

.new-property .new-property-card .new-property-header .new-property-link {

    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--main-color);
    color: #fff;
    padding: 5px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    transition: all 0.2s ease-in;

}

.new-property .new-property-card .new-property-header .new-property-link:hover {

    background: var(--second-color);

}

.new-property .new-property-card .new-property-body {

    padding: 30px;

}

.new-property .new-property-card .new-property-body h3 {

    font-size: 20px;
    color: black

}

.new-property .new-property-card .new-property-body p {

    font-size: 13px;

}

.new-property .new-property-card .new-property-body .new-property-locals {

    font-size: 16px;
    margin: 20px 0;
}

.new-property .new-property-card .new-property-body .new-property-price {

    background: var(--main-color);
    color: #fff;
    padding: 5px 20px;
    border-radius: 20px;
    
}

.new-property .new-property-card .new-property-footer {

    display: flex;
    justify-content: space-around;
    border-top: 1px solid #f6f6f6;
    list-style: none;
    margin: 0;
    padding: 20px 0;

}

.new-property .new-property-card .new-property-footer li {

    font-size: 15px;
    font-weight: 400;

}

.new-property svg {
    
    color: var(--main-color) !important;
    
}

.page-item.active .page-link {

    background-color: var(--main-color);
    border-color: var(--main-color);

}

.page-link,
.page-link:hover {

    color: var(--main-color)

}

/*********************
* Property Recomended
**********************/

.property-recomended  {

    background-image: url('../img/main/interior-2685521_1280.jpg');
    background-size: cover;
    padding: 100px 0;
    position: relative;

}

.property-recomended .property-recomended-title {

    color: #fff;
    text-shadow: 1px 1px 1px #000;
    position: absolute;
    right: 0;
    top: -40px;
    background: var(--main-color);
    padding: 0px 20px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    left: 0;
    width: 50%;
    bottom: 0;
    height: 40px;
    margin: 0 auto;

}

.property-recomended .property-recomended-item {

    background: #fff;
    border-radius: 10px;
    width: 100%;
    position: relative;
    padding: 20px;

}

.property-recomended .property-recomended-item span {

    position: absolute;
    top: 0;
    right: 0;
    background: var(--main-color);
    color: #fff;
    padding: 5px 35px;
    border-bottom-left-radius: 20px;

}

.property-recomended .property-recomended-item ul {

    display: flex;
    list-style: none;
    padding: 0;
    justify-content: space-between;
    font-size: 14px;
    margin: 20px 0;

}

.property-recomended-item h3 {
    
    width: 60%;
    
}

.property-recomended .property-recomended-item .property-recomended-price  {

    color: var(--second-color);

}

.property-recomended .property-recomended-item a {

    color: var(--main-color);
    background: transparent;
    border: 1px solid var(--main-color);
    border-radius: 20px;
    padding: 6px 10px;
    transition: all 0.3s ease-in-out;

}

.property-recomended .property-recomended-item a:hover {

    color: #fff;
    background: var(--main-color);   

}

/************************
* Property Testimonials
************************/

.property-testimonials {

    padding: 40px 0 40px 0;

}

.property-testimonials h2 {

    color: var(--second-color);

}

.property-testimonials svg {

    font-size: 45px;
    color: var(--second-color);

}

.property-testimonials h3 {

    font-size: 18px;
    color: var(--main-color)

}

/************************
* Property share footer
************************/

.property-share {

    background-image: url('../img/main/test-bg.jpg');
    background-size: cover;
    position: relative;
    padding: 130px 0;
    background-attachment: fixed;
    background-repeat: no-repeat;
    
}

.property-share h2 {

    font-size: 20px;
    color: #fff;

}

.property-share a {

    color: #fff;

}

.property-share .add {

    background-color: transparent;
    border: 2px solid #fff;
    border-radius: 30px;
    padding: 10px;
    text-align: center;
    

}

/********************
* Deposit property
********************/

.deposit-property {

    margin: 40px 0 100px 0;

}

.deposit-property h2 {

    font-size: 25px;

}

label span {

    color: red;

}


.custom-radio .custom-control-input:checked ~ .custom-control-label::before {

    background: var(--main-color);

}

/***********
* About
***********/

.text-center h1 {
    color: darkgoldenrod;
}
.about-ns {
    margin: 20% ; 
}
.about-ns h3
{
    padding-left: 10%;
      color: rgb(9, 9, 56);
    size: 35% ;
}
.about-ns p{
    padding: 10px ;
    padding-left: 15px ;
    color: grey;
}
.img-about img {
    margin-top: 10% ;
    border-radius: 10px ;
    margin-bottom: 20px  ;
}

.about-img {

    width: 310px;
    display: block;

}

/****************
* Singl proprety
****************/

.proprety {

    border: 1px solid #f6f6f6;
    margin: 30px 0;
    position: relative;

}

.proprety-form h2 {

    font-size: 15px;
    background-color: #f6f6f6;
    padding: 15px;
    text-align: center;

}

.proprety-form .action {

    padding: 10px;

}

.proprety-details .proprety-details-header{

    padding: 10px;
    margin-top: 20px;

}

.ref {

    background: var(--main-color);
    color: #fff;
    width: 165px;
    text-align: center;
    
}

.proprety-details .proprety-details-header svg,
.proprety-details .proprety-details-items svg{

    color: var(--main-color);

}

.proprety-details .price-area {

    color: #fff;
    background-color: var(--second-color);
    font-size: 18px;
    width: 173px;
    text-align: center;

}

.proprety-details .carousel-control-next svg, 
.proprety-details .carousel-control-prev svg {
    
    color: var(--main-color);
    font-size: 25px;
    background: rgba(255, 255, 255, 0.8);
    width: 30px;
    height: 30px;
    
}



.proprety-items ul {

    list-style: none;
    margin: 0;
    margin-bottom: 10px;
    padding: 5px;

}

.proprety-items svg {

    color: green;

}

.proprety-agent {

    background-color: #f6f6f6;

}

.proprety-agent ul {

    list-style: none;
    margin: 0;
    padding: 0;

}

.proprety-agent ul li {

    margin-bottom: 10px;

}

.proprety-agent svg.agent {
    
    font-size: 115px;
    border: 1px solid var(--main-color);
    padding: 15px;
    
}

.proprety-agent svg {

    color: var(--main-color)

}

/****************
* Contact
****************/

.box-info {

    border: 1px solid #ddd;
    padding: 25px;
    border-radius: 5px;

}

.box-info div {

    margin-bottom: 30px;

}

/****************
* Privacy policy
****************/

.Politique h1
{
    margin-top: 20px ;
    color:  #e5c02b ;
    text-decoration: underline;
    margin-bottom: 20px ;
}

/***********
* Footer
***********/

.main-footer {

    background-color: #fdfdfd;

}

.footer-top {

    padding: 60px 0;

}

.footer-top h4 {

    margin-bottom: 20px;

}

.footer-top ul {

    margin: 0;
    padding: 0 0 0 17px;
    list-style: square;
    
}

.footer-top ul li {

    margin-bottom: 10px;

}

.footer-top a {

    display: block;
    color: #000;

}

.footer-social {

    display: flex;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;

}

.footer-social li {

    margin-right: 10px;
    background-color: transparent;
    border: 1px solid var(--main-color);
    border-radius: 100%;
    width: 40px;
    height: 40px;
    text-align: center;
    padding: 7px;

}

.footer-social li a {

    color: var(--main-color);

}

.footer-bottom {

    padding: 20px 0;

}


/****************
* Admin
****************/

body.admin-page {

    background-image: url('../img/main/bg-header.jpg');
    background-size: cover;
    position: relative;
    
}

.login-section {

    background: rgba(151, 128, 116, 0.9);
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;

}

.logo {

    width: 65%;
    margin: 0 auto;
    display: block;
    margin-bottom: 20px;
}

.form-login {

    width: 30%;
    margin: 80px auto;
    background: #fff;
    padding: 30px;
    box-shadow: 0px 0px 8px -2px #ddd;
    border-radius: 5px;

}

.form-login input {

    border: none;
    border-bottom: 1px solid #ddd;

}

.input-icon {

    position: relative;

}

.input-icon svg {

    position: absolute;
    right: 15px;
    top: 10px;
    color: var(--second-color);
}

.form-login button {

    background: var(--second-color);
    border: 1px solid var(--second-color);
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    transition: all 0.4s ease-in;

}

.form-login button:hover {

    background: transparent;
    color: var(--main-color);
    border-color: var(--main-color);
}

.admin-sidbar {

    position: fixed;
    top: 0;
    left: 0;
    background: #000;
    width: 20%;
    height: 100%;
    overflow-x: auto;
    overflow-y: scroll;
    z-index: 9999999;

}

.admin-sidbar::-webkit-scrollbar {

    width: 5px;

}

.admin-sidbar::-webkit-scrollbar-track {

    background-color: #f6f6f6;

}

.admin-sidbar::-webkit-scrollbar-thumb {

    background-color: var(--main-color);
    border-radius: 40px;
    
}

.admin-sidbar .admin-logo {

    width: 100%;
    text-align: center;

}

.admin-menu-list {

    list-style: none;
    margin: 0;
    margin-top: 50px;
    padding: 0;

}

.admin-menu-list li {

    margin: 0 0 20px 20px;

}

.admin-menu-list li a {

    color: #fff;
    padding: 7px 0;

}

.admin-menu-list li a svg {

    color: var(--main-color);
    letter-spacing: 5px;
}

.page-container {

    margin: 40px 0 40px 20%;

}

.page-container h1 {
    
    font-size: 20px !important;
    text-decoration: underline !important;
    
}

.bg-transparent {
    
    border: none !important;
    background: transparent !important;
    cursor: pointer !important;
    
}

.page-container form .form-group{

    margin-bottom: 50px;

}

.page-container form .tox-tinymce {

    height: 450px !important;

}

.page-container .action button[type="submit"] {

    background-color: var(--main-color);
    color: #fff;
    border: 1px solid var(--main-color);
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.2s ease-in-out;

}

.page-container .action button[type="submit"]:hover {

    background-color: transparent;
    color: var(--main-color);

}

.select2-container .select2-selection--single {

    height: 40px;

}

.select2-container--default .select2-selection--single .select2-selection__rendered {

    line-height: 37px;

}

.select2-container--default .select2-selection--single .select2-selection__arrow {

    top: 8px;

}

.admin-footer {

    background-color: #f6f6f6;
    padding: 5px 0;
    width: 100%;
    position: fixed;
    bottom: 0;

}

.admin-footer span {

    font-size: 13px;

}

.error-page {

    background-image: url('../img/main/test-bg.jpg');
    background-size: cover;

}

.error-contents {

    background: rgba(0, 0, 0, 0.7);
    padding: 70px;
    width: 50%;
    box-shadow: 1px 1px 11px -4px #ddd;
    border-radius: 20px;
    margin: 150px auto;

}

.error-contents h1,
.error-contents p,
.error-contents a {

    text-align: center;

}

.error-contents > a {

    display: block;

}

.sidbar-open,
.sidbar-close {

    display: none;
    margin: 15px;
    background: var(--main-color);
    color: #fff;
    border: 1px solid var(--main-color);
    cursor: pointer;
    transition: all 0.1s ease-in;

}

.sidbar-btn:hover,
.sidbar-close:hover {

    background: transparent;
    color: var(--main-color);

}

@media(max-width: 991px) {

    .top-bar h1,
    .top-bar-right a {

        margin-bottom: 20px;
        display: block;

    }

    .top-bar-right {

        display: block;

    }

    .scial-media {

        margin: 0;
        padding: 0

    }
    
    .header-breadcrumb {
        
        margin-top: 50px;
        
    }

    .header-breadcrumb h1 {

        font-size: 30px;

    }
    
    .new-property h2 {

        font-size: 25px;

    }

    .property-recomended .property-recomended-title {

        transform: none;
        position: static;
        margin-bottom: 40px;
        right: initial;
        top: initial;
        background: transparent;
        padding: 0;
        left: initial;
        width: 100%;
        height: 100%;

    }
    
    .property-recomended .property-recomended-item {
        
        padding: 60px 10px;
        
    }

    .form-section .form-group:first-of-type {

        margin-bottom: 0 !important;

    }

    .form-section input:first-of-type {

        margin-bottom: 1rem !important;

    }
    
    
    .property-share {

        padding: 80px 0;

    }
    
    .property-share .add {

        margin-top: 15px;

    }

    .proprety-details-items {

        text-align: center;

    }

    .proprety-details-items .proprety-details-items-title {

        display: none;

    }

    /* DASHBOARD */

    .sidbar-overlay {

        background: rgba(0, 0, 0, 0.6);
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 9999;
        cursor: pointer;
    
    }

    .form-login {

        width: 50%;
        margin: auto;

    }
    
    .sidbar-open,
    .sidbar-close {

        display: block;

    }

    .admin-sidbar {

        width: 65%;
    }
    
    .page-container {

        margin: auto;

    }

    .hide {

        display: none !important;

    }


}

@media(max-width: 750px) {

    .form-login {

        width: 60%;
        padding: 10px;

    }

}

@media(max-width: 570px) {

    body.admin-page {

        background: none;

    }

    .logo {

        width: 40%;

    }

    .login-section {

        position: relative;

    }

    .form-login {

        width: 100%;
        box-shadow: none;

    }

}