:root {
    --web-primary: #b51d1d;
    --web-secondary: #a00e0e;
}

.btn-theme {
    color: #fff;
    background-color: var(--web-primary);
    border-color: var(--web-secondary);
    box-shadow: none;
}

.btn-theme.focus,
.btn-theme:focus,
.btn-theme:not(:disabled):not(.disabled).active,
.btn-theme:not(:disabled):not(.disabled):active,
.btn-theme:hover {
    background-color: var(--web-secondary);
    border-color: var(--web-secondary);
    box-shadow: none, 0 0 0 rgb(111 151 132 / 50%);
}

/* .layout-top-nav .wrapper .main-header .brand-image {
    height: 60px !important;
} */

/* ====================================================== */
/* Product List Page Css */
.product-card:hover {
    /* box-shadow: none, 0 0 0 rgb(111 151 132 / 50%); */
    transition: .3s all ease-in-out;
    transform: translate(0px, -2px);
    box-shadow: 0 0 30px rgba(0, 0, 0, .125), 0 2px 10px rgba(0, 0, 0, .2);
}

.img-wrap {
    max-width: 100%;
    height: 150px;
    text-align: center;
}

.img-wrap .product-img {
    width: inherit;
    height: inherit;
    background-size: 180px;
    background-repeat: no-repeat;
    background-position: center;
}

.list_table tr td {
    vertical-align: middle;
}

.action_btn {
    margin-bottom: 5px;
}

.list-inline {
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
}

img.table-avatar {
    border-radius: 50%;
    display: inline;
    width: 2.5rem;
}


.action-btn-profile {
    color: #fff;
    font-size: 15px;
    border: 2px solid #4044cc;
    background-image: -webkit-linear-gradient(30deg, #4044cc 50%, transparent 50%);
    background-image: linear-gradient(30deg, #4044cc 50%, transparent 50%);
    background-size: 500px;
    background-repeat: no-repeat;
    background-position: 0%;
    -webkit-transition: background 300ms ease-in-out;
    transition: background 300ms ease-in-out;
}

.action-btn-profile:hover {
    background-position: 100%;
    color: #4044cc;
}

.custom-text-end {
    text-align: right;
}

.checks-number {
    margin-top: -14px;
    font-size: 40px;
    font-weight: bold;
}


/* Start Rating Promo Rating */
.rating,
.rating_average {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center
}

.rating>input {
    display: none
}

.rating>label {
    position: relative;
    width: 1em;
    font-size: 30px;
    font-weight: 300;
    color: #FFD600;
    cursor: pointer
}

.rating_average>label {
    position: relative;
    width: 1em;
    font-size: 30px;
    font-weight: 300;
    color: #FFD600;
    cursor: pointer
}

label:not(.form-check-label):not(.custom-file-label) {
    /* font-weight: 200; */
}

.rating>label::before {
    content: "\2605";
    position: absolute;
    opacity: 0
}

.rating>label:hover:before,
.rating>label:hover~label:before {
    opacity: 1 !important
}

.rating>input:checked~label:before {
    opacity: 1
}

.rating:hover>input:checked~label:before {
    opacity: 0.4
}

/* For Half Star */
.rating_average .half::before {
    content: "\2605";
    position: absolute;
    background: linear-gradient(90deg, #FFD600 50%, #E0E0E0 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 1;
}

.rating_average .full::before {
    content: "\2605";
    position: absolute;
    color: #FFD600;
    opacity: 1;
}

.agent-rating-content {
    padding: 0 20px;
}




.property-slider {
    width: 100%;
    max-width: 100vw;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.property-slider .card {
    border: 1px solid #ddd;
    /* border-radius: 8px; */
    overflow: hidden;
    margin: 0 10px;
}

.property-slider .card img {
    height: auto;
    border-bottom: 1px solid #ddd;
}


.property-slider .card-body {
    padding: 10px;
}

.property-slider .card-title {
    font-size: 18px;
    color: #333;
}

.position-relative {
    position: relative;
}

.logo-bottom-right {
    position: absolute;
    bottom: 10px;
    right: 7px;
    width: 15%;
}

.slick-dots {
    /* margin-left: -20px; */
    display: none !important;
}

.slick-prev:before,
.slick-next:before {
    color: #b51d1d;
    font-size: 30px;

}

.slick-next {
    right: 0px;
}

.slick-prev {
    /* left: 0px; */
    left: -10px;

}

.province-details {
    height: 50px;
    overflow: hidden;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.province-details a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.h-details {
    height: 70px;
    overflow: hidden;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.h-details a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #343a40;
    text-decoration: none;
    margin: 0;
    padding: 0;
}


.h1-all {
    display: inline-block;
    border-bottom: 3px solid red;
    padding-bottom: 5px;
    font-size: 24px;
}

/* .btn-primary{
    background-color: #e74c3c;
    border: none;
} */

.btn-primary {
    background-color: #e74c3c;
    border: none;
    color: #fff;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-primary:hover {
    background-color: #c0392b;
    color: #fff;
}

.btn-primary.focus,
.btn-primary:focus {
    color: #fff;
    background-color: #c0392b;
    border: none;
}

.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show>.btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #c0392b;
    border-color: #c0392b;
}

/* .btn-info {
    background-color: #5c5c5c;
    border: none;
    color: #fff;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-info:hover {
    background-color: #424242;
    color: #fff;
} */

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #b51d1d;
    border: none;
}

.text-primary {
    color: #ff4f5a !important;
}

a {
    color: #ff4f5a;
    text-decoration: none;
    background-color: transparent;
}

a.text-primary:focus,
a.text-primary:hover {
    color: #ff4f5a !important;
}

a:hover {
    color: #b11414;
}

.dropdown-item:focus,
.dropdown-item:hover {
    color: #ffffff;
    text-decoration: none;
    background-color: #b51d1d;
}

.check-b {
    border: 1px solid #cecece;
    border-radius: 3px;
}

/* 
.custom-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 3px solid #fff;


} */

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    font-family: Arial, sans-serif;
}

.overlay-text h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: bold;
    text-shadow: 2px 2px 4px #00000094;
}

.overlay-text p {
    font-size: 18px;
    /* font-size: 1.4rem; */
    margin-top: 0;
    text-shadow: 2px 2px 4px #00000061;
}



.custom-video {
    width: 100%;
    /* height: 100%; */
    height: 700px;
    object-fit: cover;
    /* border: 3px solid #fff;
    margin-bottom: 25px; */

}

.video-container-main {
    margin-bottom: 20px;

}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    margin-bottom: 15px;

}

.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    font-family: Arial, sans-serif;
    width: fit-content;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 5px 10px;
    border-radius: 5px;
}

.overlay-text h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.overlay-text p {
    font-size: 1.4rem;
    margin-top: 0;
}



.content-wrapper {
    min-height: 430.3px;
    background-image: url("../../front/images/canada-day-background.png");
    background-size: inherit;
    background-repeat: repeat-x;
    background-position: bottom;
}

/* .main-wrapper {
    padding: 50px 0;
}    */

.ctcustommenu a {
    display: inline-block;
    padding-left: 5px !important;
}
  .nav-item.ctcustommenu {
    font-weight: bold;
}


.card.ctcard {
    box-shadow: none;
}
.ctround {
    border:1px solid #dfdfdf;
    padding:10px;
    border-radius:45%;
}

.agentwelcomemsg{
    padding: 10px;
    border: 2px solid #016701;
    border-radius: 3px;
    background-color: #b51d1d;
    color: #fff;
}