/* colors: primary: #3b4b61, dark blue: #273344, red: #f39073*/
/*************** GENERAL ********************/
@font-face {
    font-family: 'Cairo';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/cairo-v4-latin-ext_latin_arabic-regular.eot'); /* IE9 Compat Modes */
    src: local('Cairo'), local('Cairo-Regular'),
    url('../fonts/cairo-v4-latin-ext_latin_arabic-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('../fonts/cairo-v4-latin-ext_latin_arabic-regular.woff2') format('woff2'), /* Super Modern Browsers */ url('../fonts/cairo-v4-latin-ext_latin_arabic-regular.woff') format('woff'), /* Modern Browsers */ url('../fonts/cairo-v4-latin-ext_latin_arabic-regular.ttf') format('truetype'), /* Safari, Android, iOS */ url('../fonts/cairo-v4-latin-ext_latin_arabic-regular.svg#Cairo') format('svg'); /* Legacy iOS */
}

* {
    margin: 0;
    padding: 0;
    text-transform: capitalize !important;
}

html, body {
    height: 100%;
}

html, body, .main-wrapper {
    width: 100%;
    max-width: 100%;
}

/*html, body{position:relative;
  overflow:hidden;}*/

/* MODAL ISSUE */
/*body.modal-open{overflow:hidden;}*/
/*.modal-backdrop{display:none!important;}
.modal{background: rgba(0, 0, 0, 0.4);z-index: 100;}*/
/*h5{color: blue!important;}*/
/* MODAL ISSUE */

body, .main-wrapper {
    overflow-x: hidden;
}

.main-wrapper {
    position: relative;
    min-height: 100%;
}

body {
    font-family: 'Cairo', sans-serif;
    color: #737373;
    font-size: 18px;
    letter-spacing: 1px;
}

body.rtl {
    letter-spacing: 0;
}

::-moz-selection {
    color: #fff;
    background: #3b4b61;
}

::selection {
    color: #fff;
    background: #3b4b61;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

h1, h2, h3, h4, h5, h6 {
    color: #3b4b61;
    text-transform: capitalize;
    margin-bottom: 20px;
    font-weight: 600;
}

.heading-blk {
    text-align: center;
    margin-bottom: 50px;
}

.heading-blk.align-initial {
    text-align: initial;
}

.heading-blk h1, .heading-blk h2, .heading-blk h3 {
    color: #3b4b61;
    font-weight: 600;
}

.heading-blk span {
    color: #444;
}

.heading-sub {
    color: #f39073;
    text-transform: capitalize;
    font-size: 13px;
    margin-top: 6px;
    font-weight: bold;
}

a {
    color: #333;
    transition: all 0.5s ease;
}

a:hover {
    color: #f39073;
}

a:hover, .btn:hover {
    text-decoration: none;
}

.btn.focus, .btn:focus {
    box-shadow: none;
}

.d-none {
    display: none;
}

.text-ltr {
    direction: ltr;
    display: inline-block;
}

.btn-primary {
    background-color: #24457a !important;
    border-color: transparent !important;
    color: #fff !important;
    transition: all 0.5s ease;
}

.btn-primary:hover {
    background-color: #142a4d !important;
}

.btn-primary-plain {
    background-color: #fff !important;
    border-color: #3b4b61 !important;
    color: #3b4b61 !important;
    transition: all 0.5s ease;
}

.btn-primary-plain:hover {
    background-color: #ddd !important;
}

.btn-red, .btn-green, .btn-orange, .btn-blue {
    color: #fff !important;
    transition: all 0.5s ease;
}

.btn-red {
    background-color: #f39073 !important;
}

.btn-red:hover {
    background-color: #e18367 !important;
}

.btn-green {
    background-color: #1cbbb4 !important;
}

.btn-green:hover {
    background-color: #18a9a2 !important;
}

.btn-orange {
    background-color: #fbaf5d !important;
}

.btn-orange:hover {
    background-color: #efa351 !important;
}

.btn-blue {
    background-color: #00bff3 !important;
}

.btn-blue:hover {
    background-color: #02a7d4 !important;
}

.btn-rounded {
    border-radius: 30px;
    padding-right: 30px;
    padding-left: 30px;
}

.btn-rounded.btn-lg {
    padding-right: 50px;
    padding-left: 50px;
}

.bg-light-blue {
    background: #eff4fb;
}

.text-black {
    color: #000 !important;
}

.text-red {
    color: #f39073 !important;
}

.font-sm {
    font-size: 15px;
}

.dir-ltr {
    direction: ltr;
    display: inline-block;
}

.social-icons a,
#header-wrap .navbar-nav li a,
.top-user-blk-actions li a,
.form-control,
.top-contact a,
.top-user-blk-lnk {
    transition: all 0.5s ease;
}

#header-wrap .navbar-nav li a,
.top-user-blk-actions li a {
    color: #333;
}

/* dark grey */
#header-wrap .navbar-nav li.active a,
#header-wrap .navbar-nav li a:hover,
.top-user-blk-actions li a:hover,
.top-contact a:hover,
.top-user-blk-lnk:hover {
    color: #f39073;
}

/* color red */
#main-footer {
    background: #142a4d;
}

.copyright {
    background: rgba(0, 0, 0, 0.2);
}

.copyright a {
    color: #f39073;
}

.copyright a:hover {
    color: #e18367;
}

.top-contact a {
    color: #fff;
}

/* TOP BAR */
#top-bar {
    background: #142a4d;
    padding: 10px 0;
    color: #fff;
    font-size: 14px;
}

#top-bar .social-icons > span {
    margin-right: 10px;
}

.rtl #top-bar .social-icons > span {
    margin-left: 10px;
    margin-right: 0;
}

.social-icons a {
    color: #fff;
    margin: 0 10px;
    font-size: 16px;
}

.social-icons a:hover {
    color: #f39073;
}

.social-icons a.soc-icon-facebook:hover {
    color: #4267b2;
}

.social-icons a.soc-icon-twitter:hover {
    color: #1da1f2;
}

.social-icons a.soc-icon-instagram:hover {
    color: #d13694;
}

.social-icons a.soc-icon-google:hover {
    color: #de564a;
}

.top-contact p {
    display: inline-block;
}

.top-contact p {
    margin: 0 10px;
}

.top-contact p:last-child {
    margin-right: 0;
}

.rtl .top-contact p:last-child {
    margin-left: 0;
    margin-right: 10px;
}

.top-contact img {
    width: 23px;
    height: auto;
}

.top-contact img, .top-contact i {
    margin: 0 5px;
}

.top-contact i {
    font-size: 18px;
    position: relative;
    top: 3px;
}

/* HEADER */
#header-wrap .navbar-nav li a {
    font-size: 14px;
    text-transform: capitalize;
    font-weight: 600;
    margin: 0 3px;
}

#header-wrap .navbar-nav li a i {
    font-size: 21px
}

.top-user-blk-lnk {
    font-size: 15px;
    cursor: pointer;
    color: #333;
}

.user-img {
    margin: 0 10px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.top-user-blk {
    position: relative;
}

.top-user-blk-actions {
    display: none;
    position: absolute;
    top: calc(100% + 13px);
    right: 0;
    background: #fff;
    padding: 10px;
    width: 100%;
    min-width: 150px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 7px 10px rgba(0, 0, 0, 0.7);
    list-style-type: none;
}

.rtl .top-user-blk-actions {
    left: 0;
    right: auto;
}

.top-user-blk-actions li a {
    margin-bottom: 10px;
    display: block;
}

.top-user-blk-actions li:last-child a {
    margin-bottom: 0;
}

.top-user-blk-actions li a i {
    margin-right: 5px;
}

.rtl .top-user-blk-actions li a i {
    margin-left: 5px;
    margin-right: 0;
}

.navbar-nav {
    clear: both;
}

#mob-open-main-menu {
    margin-right: 10px;
    padding: 2px 15px;
    background: transparent;
    border-radius: 2px;
    font-size: 23px;
    color: #3b4b61;
    cursor: pointer;
    display: none;
}

.rtl #mob-open-main-menu {
    margin-left: 10px;
    margin-right: 0;
}

#mob-close-main-menu {
    float: right;
    font-size: 30px;
    padding: 15px 10px;
    color: rgba(255, 255, 255, 0.62);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: none;
}

.rtl #mob-close-main-menu {
    float: left;
}

/* TITLE */
#main-title {
    padding: 80px 0;
    background: url("../images/title-bg.png") no-repeat 0 0;
    background-size: cover;
}

#main-title h1 {
    color: #fff;
    text-align: center;
}

/* FOOTER */
.footer-wrap {
    padding: 60px 0 0;
}

.footer-wrap .container, .copyright {
    position: relative;
}

.footer-wrap .row {
    position: relative;
    z-index: 1007;
    padding-bottom: 60px;
}

.footer-img {
    position: absolute;
    bottom: 0px;
    width: 40%;
    max-height: 100%;
    overflow: hidden;
}

.footer-img.footer-left-img {
    left: 65px;
}

.footer-img.footer-right-img {
    right: 0;
}

.rtl .footer-img.footer-left-img {
    right: 65px;
    left: auto;
}

.rtl .footer-img.footer-right-img {
    left: 0;
    right: auto;
}

.footer-img img {
    width: 100%;
    height: 100%;
}

.footer-links li {
    margin: 15px 0;
}

.footer-links li:first-child {
    margin-top: 0;
}

.footer-links li:last-child {
    margin-bottom: 0;
}

.footer-links li:before {
    content: '';
    margin-right: 15px;
    padding: 4px;
    width: 8px;
    height: 8px;
    background: #f39073;
    border: 3px solid #f39073;
    position: relative;
    transition: all 0.5s ease;
    top: 1px;
    border-radius: 50%;
    display: inline-block;
}

.rtl .footer-links li:before {
    margin-left: 15px;
    margin-right: 0;
}

.footer-links li:hover:before {
    border-color: #b16149;
}

.footer-links li a {
    color: #fff;
    font-size: 21px;
    text-transform: capitalize;
}

.footer-links li:hover a {
    color: #f39073;
}

.footer-wrap .footer-logo {
    margin-bottom: 20px;
    width: 300px;
    max-width: 90%;
}

.footer-wrap .social-icons a {
    font-size: 20px;
    border: 3px dotted;
    width: 45px;
    height: 45px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    line-height: 40px;
}

.footer-form {
    position: relative;
}

.footer-form .form-control {
    padding: 15px 95px 15px 15px;
    border-radius: 30px;
    height: 60px;
}

.rtl .footer-form .form-control {
    padding: 15px 15px 15px 95px;
}

.footer-form button {
    position: absolute;
    right: 10px;
    top: 8px;
    border-radius: 30px;
    width: 80px;
    height: 44px;
}

.rtl .footer-form button {
    left: 10px;
    right: auto;
}

.footer-form button img {
    height: 100%;
    width: auto;
}

.copyright {
    padding: 10px 0;
    color: #ddd;
    font-size: 15px;
}

/* FORMS */
.form-sm, .form-md {
    width: 95%;
    margin: 0 auto;
    border: 1px solid #ccc;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.form-md {
    max-width: 850px;
}

.form-sm {
    max-width: 650px;
}

label {
    display: block;
    color: #555;
}

.form-plain-style .form-group {
    margin-bottom: 50px;
    position: relative;
}

.form-plain-style .form-group:after {
    content: '';
    background: #f39073;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 0;
    height: 2px;
    transition: all 1s ease-in-out;
}

.form-control:focus {
    border-color: #ced4da;
    box-shadow: 0 0 0 0.2rem rgba(243, 144, 115, 0.7);
}

.form-plain-style .form-control {
    height: 40px;
    padding: 5px;
    border-right: 0;
    border-left: 0;
    border-top: 0;
    box-shadow: none !important;
    border-radius: 0;
    margin-bottom: 2%;
}

.form-plain-style .form-group.group-focused:after {
    width: 100%;
}

.form-plain-style .form-control.input-focused {
    height: 40px;
    padding: 5px;
}

.form-plain-style textarea.form-control.input-focused {
    height: 150px;
}

.form-normal-style label {
    display: none;
    padding: 0 30px;
}

.form-normal-style .form-control {
    overflow: hidden;
    background: #eff4fb;
    border: 0;
    border-radius: 30px;
    padding: 15px 30px;
}

.form-normal-style textarea.form-control {
    height: 170px;
}

textarea.form-control {
    resize: none;
    margin-bottom: 2%;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* TABLES */
.table tbody tr:hover {
    background-color: rgba(0, 0, 0, .2) !important;
}

.table tr .btn {
    width: 100%;
}

.table .thead-dark th {
    background-color: #273344;
    border-color: #212c3c;
}

/* USER PROFILE */
.user-profile-head, .user-main-info {
    display: flex;
    flex-flow: row;
    align-items: center;
}

.user-profile-head {
    margin-bottom: 30px;
    justify-content: space-between;
}

.user-main-info {
    justify-content: flex-start;
}

.user-profile .user-img {
    width: 150px;
    height: 150px;
    margin-right: 20px;
    margin-left: 0;
    border: 4px solid #b16149;
}

.user-profile.text-center .user-img {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.rtl .user-profile .user-img {
    margin-left: 20px;
    margin-right: 0;
}

.user-info-blk {
    background: #ececec;
    margin-top: 30px;
    padding-bottom: 10px;
    border-radius: 10px;
    overflow: hidden;
}

.user-info-blk h4 {
    background: #f39073;
    padding: 10px 70px;
    color: #fff;
    position: relative;
}

.user-info-blk h4:before {
    content: '\f05a';
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 100%;
    display: inline-block;
    background: rgba(0, 0, 0, 0.1);
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    text-align: center;
    line-height: 50px;
}

.rtl .user-info-blk h4:before {
    right: 0;
    left: auto;
}

.user-info-blk p {
    margin-left: 20px;
}

.rtl .user-info-blk p {
    margin-right: 20px;
    margin-left: 0;
}

.user-info-blk p span {
    color: #333;
    font-weight: bold;
    text-transform: capitalize;
}

/* CONTENT */
.main-content {
    padding: 60px 0;
}

.section-blk {
    padding: 50px 0;
}

/* WEBSITE */
/* NAV BAR */
.home-top-lang {
    font-size: 15px;
    letter-spacing: 0;
    position: relative;
    top: 12px;
    text-transform: capitalize;
    z-index: 2;
}

.home-top-lang i {
    margin: 0 7px;
    position: relative;
    top: 0;
}

.rtl .home-top-lang i {
    top: 0px;
}

.rtl .home-top-lang {
    letter-spacing: 1px;
}

.home-top-left #header-wrap .navbar-nav li a {
    font-size: 16px;
    text-transform: capitalize;
    font-weight: 500;
    margin: 0;
}

.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1009;
    width: 100%;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.header-fixed .navbar {
    padding-top: 0;
    padding-bottom: 0;
}

.header-fixed .navbar-brand img {
    height: 35px;
    transition: all 0.5s ease;
}

/* HOME */
.home-top-right {
    width: calc(100% + 20%);
    position: absolute;
    overflow: hidden;
    height: calc(100% + 50px);
}

.home-top-right img {
    width: 100%;
    height: 100%;
}

/* LOG-AS-BLK */
#h-log-as {
    background: #eff4fb;
}

.log-as-item {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.log-as-item img {
    height: 120px;
    width: auto;
    max-width: 100%;
}

.log-as-tit {
    color: #000;
}

.log-as-item .btn {
    margin: 15px 0 10px;
}

/* ABOUT BLK */
.about-blk-imgs-container {
    display: flex;
    justify-content: flex-start;
}

.about-blk-imgs-container img {
    width: 100%;
}

.about-main-img {
    width: 80%;
}

.about-floated-images {
    width: 250px;
    margin-left: -90px;
    display: flex;
    flex-flow: column;
    justify-content: space-around;
    padding: 20px 0;
}

.rtl .about-floated-images {
    margin-right: -90px;
    margin-left: 0;
}

.about-floated-images img {
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

/* PROPS BLK */
#h-props-blk {
    background: #eff4fb;
}

.prop-item {
    margin: 10px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.prop-img-container {
    height: 160px;
    overflow: hidden;
}

.prop-img-container img {
    width: 100%;
    height: 100%;
    transition: all 2s ease;
}

.prop-dets {
    padding: 10px 15px;
    height: calc(100% - 160px);
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    align-items: center;
}

.prop-tit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.props-carousel .item {
    height: 100%;
}

.props-carousel .prop-item {
    height: calc(100% - 20px);
}

.prop-price {
    color: #f39073;
    font-weight: 600;
}

.prop-item:hover .prop-img-container img {
    transform: scale(1.2);
}

.owl-theme .owl-dots .owl-dot:hover span {
    background: #3b4b61 !important;
}

.owl-theme .owl-dots .owl-dot.active span {
    width: 15px;
    height: 15px;
    background: #3b4b61 !important;
}

.owl-theme .owl-dots .owl-dot span {
    background: transparent !important;
    border: 1px solid #3b4b61;
}

/* PAGING */
.paging-custom-style-1 .page-item, .paging-custom-style-1 .page-item .page-link {
    position: relative;
}

.paging-custom-style-1 .page-item .page-link {
    border-radius: 50%;
    margin: 0 10px;
    color: #333;
    transition: all 0.5s ease;
    z-index: 2;
}

.paging-custom-style-1 .page-item .page-link, .paging-custom-style-1 .page-item.disabled:hover .page-link {
    background-color: #eff4fb;
    border-color: #eff4fb;
}

.paging-custom-style-1 .page-item.disabled .page-link {
    color: #ddd;
}

.paging-custom-style-1 .page-item:hover .page-link {
    background-color: #e6ecf5;
    border-color: #e6ecf5;
}

.paging-custom-style-1 .page-item.active .page-link {
    background-color: #f39073;
    border-color: #f39073;
    color: #fff;
}

.paging-custom-style-1 .page-item:before {
    content: '';
    display: inline-block;
    background-color: #eff4fb;
    width: 30px;
    height: 6px;
    position: absolute;
    top: 50%;
    left: -15px;
    margin-top: -3px;
}

.rtl .paging-custom-style-1 .page-item:before {
    right: -15px;
    left: auto;
}

.paging-custom-style-1 .page-item:nth-child(2):before, .paging-custom-style-1 .prev-page-link:before, .paging-custom-style-1 .next-page-link:before {
    display: none;
}

.paging-custom-style-1 .prev-page-link .page-link:after, .paging-custom-style-1 .next-page-link .page-link:after {
    font-size: 20px;
    padding: 0 3px;
    color: #333;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    display: inline-block;
}

.paging-custom-style-1 .prev-page-link .page-link:after {
    content: "\f104";
}

.paging-custom-style-1 .next-page-link .page-link:after {
    content: "\f105";
}

.rtl .paging-custom-style-1 .prev-page-link .page-link:after {
    content: "\f105";
}

.rtl .paging-custom-style-1 .next-page-link .page-link:after {
    content: "\f104";
}

.paging-custom-style-1 .prev-page-link.disabled .page-link:after, .paging-custom-style-1 .next-page-link.disabled .page-link:after {
    color: #ddd;
}

/* ABOUT PAGE */
.about-pg-img {
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.about-pg-img.custom-height {
    height: calc(100% - 100px);
}

.about-pg-img > img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.about-pg-group-imgs {
    height: 100%;
    display: flex;
    flex-flow: column;
}

.about-pg-group-imgs > div {
    width: 100%;
}

.about-pg-imgs-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.about-pg-imgs-container > div {
    margin: 10px;
}

.about-pg-imgs-container > div:first-child {
    margin-left: 0;
}

.rtl .about-pg-imgs-container > div:first-child {
    margin-left: 10px;
    margin-right: 0;
}

.about-pg-imgs-container > div:last-child {
    margin-right: 0;
}

.rtl .about-pg-imgs-container > div:last-child {
    margin-right: 10px;
    margin-left: 0;
}

.about-pg-imgs-container img {
    width: 100%;
    border-radius: 20px;
    height: 100px;
}

/* CLIENTS CAROUSEL */
.client-carousel.owl-carousel.owl-drag .owl-item {
    height: auto !important;
    padding: 10px 0;
}

.client-item {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    margin: 0px;
    overflow: hidden;
    width: 100%;
}

.client-item img {
    width: 100%;
    max-width: 75%;
    max-height: 100%;
    margin: 0 auto;
}

/* BOX SHADOW */
.box-shadow-blk {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.box-shadow-blk.box-shadow-blk-pad {
    padding: 30px;
}

/* CONTACT PAGE */
.contact-pg .box-shadow-blk {
    height: 100%;
}

.map-container, .map-container iframe {
    width: 100%;
}

.map-container {
    height: 100%;
    overflow: hidden;
    min-height: 400px;
}

.map-container iframe {
    margin-top: -105px;
    height: calc(100% + 105px);
}

.map-dets {
    position: absolute;
    top: 30px;
    left: 13px;
}

.rtl .map-dets {
    right: 13px;
    left: auto;
}

.map-dets p {
    background: #fff;
    border-radius: 0 30px 30px 0;
    padding: 5px 30px 5px 15px;
    color: #000;
}

.rtl .map-dets p {
    border-radius: 30px 0 0 30px;
    padding: 5px 15px 5px 30px;
}

.map-dets p i {
    color: #f39073;
    margin-right: 15px;
    box-shadow: -1px 0 5px rgba(0, 0, 0, 0.02);
}

.rtl .map-dets p i {
    margin-left: 15px;
    margin-right: 0;
}

/* PROPERTY DETAILS */
.prop-det, .prop-det-specs, .prop-det-loc {
    display: flex;
}

.prop-det-specs {
    align-items: center;
}

.prop-det-specs {
    justify-content: space-around;
    align-items: center;
}

.prop-det-loc {
    justify-content: space-between;
}

.prop-det-img-container {
    width: 40%;
}

.prop-det-img-container img {
    height: 100%;
}

.prop-det-blk {
    width: calc(100% - 40%);
    padding: 30px;
}

.prop-det-specs {
    border: 1px solid #ccc;
    padding: 30px 15px;
    border-radius: 5px;
}

.prop-det-specs p {
    border-right: 1px solid #ccc;
    padding: 0 16px;
}

.rtl .prop-det-specs p {
    border-left: 1px solid #ccc;
    border-right: 0;
}

.prop-det-specs p:last-child {
    border: 0;
}

.prop-det-specs p, .prop-det-loc p {
    color: #333;
    text-transform: capitalize;
}

.prop-det-loc p {
    position: relative;
    padding-left: 30px;
    min-width: 205px;
}

.rtl .prop-det-loc p {
    padding-right: 30px;
    padding-left: 0;
}

.prop-det-loc p i {
    color: #f39073;
    font-size: 25px;
    margin-right: 10px;
    position: absolute;
    top: 0;
    left: 0;
}

.rtl .prop-det-loc p i {
    margin-left: 10px;
    margin-right: 0;
    right: 0;
    left: auto;
}

.prop-det-blk .prop-price {
    font-size: 30px;
}

/* UPDATES */
.tenant-prop-item, .prop-item-dets-foot {
    display: flex;
}

.tenant-prop-item {
    margin-bottom: 30px;
    padding: 0px 0px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.tenant-prop-item-img {
    width: 30%;
    background: url(../images/house.jpeg) 50% 50%;
    background-size: cover;
}

.tenant-prop-item-img img {
    width: 100%;
    height: auto;
    min-height: 100%;
    background-color: #ddd;
    display: block; /*border-radius: 10px;*/
}

.tenant-prop-item-dets {
    width: 100%;
    padding: 20px 15px;
}

.prop-item-det-single {
    font-size: 15px;
    margin-bottom: 3px;
}

.prop-item-dets-foot {
    margin-top: 10px;
}

.prop-item-dets-foot > div {
    margin-right: 10px;
}

.rtl .prop-item-dets-foot > div {
    margin-left: 10px;
    margin-right: 0;
}

@media (max-width: 575.98px) {
    .prop-item-dets-foot {
        flex-flow: column;
    }

    .prop-item-dets-foot > div {
        margin-right: 0;
        margin-left: 0;
        margin-bottom: 10px;
    }
}

/* MSG ICON */
.msg-h-lnk {
    color: #333;
    position: relative;
    display: inline-block;
    font-size: 20px;
    margin: 0 10px;
}

.msg-h-lnk:hover {
    color: #333;
}

.msg-counter {
    background: #f4b10b;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    position: absolute;
    top: 0;
    left: -8px;
    letter-spacing: 0;
    color: #fff;
}

.rtl .msg-counter {
    right: -8px;
    left: auto;
}

/* MESSAGES */
#pg-messages {
    background: #f5f6fa;
    margin: -60px 0;
    padding: 60px 0;
}

.chat-items::-webkit-scrollbar, .message-items::-webkit-scrollbar {
    width: 3px;
}

.chat-container { /*background: #fff;box-shadow: 0 6px 7px rgba(0,0,0,0.2);border: 1px solid #d6d5d5;padding: 0 15px;*/
}

.chats-list { /*border-right: 1px solid #d6d5d5;*/
    padding: 20px 15px 0;
}

.chats-list, .chat-messages {
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.06);
    border-radius: 4px;
}

.rtl .chats-list { /*border-left: 1px solid #d6d5d5;border-right: 0;*/
}

.chats-list .user-blk {
    border-bottom: 1px solid #f3f3f3;
    padding-bottom: 30px;
}

.chats-list .user-blk img {
    width: 80px;
    opacity: 0.8;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #00396f;
    box-shadow: 0px 0px 10px #00396f;
}

.chats-list .user-blk h5 {
    margin-top: 30px;
    font-weight: 600;
}

.chats-list .user-blk .search-blk {
    display: flex;
    align-items: center;
    margin: -10px 0 -20px;
}

.chats-list .user-blk .search-blk input {
    width: 100%;
    height: 35px;
    border-radius: 0;
    box-shadow: none;
    padding: 20px;
    border: 0;
}

.chats-list .user-blk .search-blk input:focus, .chat-messages-footer textarea:focus {
    outline: 0; /*border-color: #a6c7ff;border-width: 2px;*/
}

.chats-list .user-blk .search-blk button {
    position: absolute;
    top: 3px;
    right: 22px;
    background: transparent;
}

.rtl .chats-list .user-blk .search-blk button {
    left: 22px;
    right: auto;
}

.chat-items, .message-items {
    overflow-y: auto;
    overflow-x: hidden;
}

.chat-items {
    height: 740px;
    width: calc(100% + 30px);
    position: relative;
    left: -15px;
}

.rtl .chat-items {
    right: -15px;
    left: auto;
}

.message-items {
    height: 630px;
}

.chat-item {
    padding: 15px;
    border-bottom: 1px solid #f3f3f3;
    cursor: pointer;
    transition: all 0.5s ease;
    display: flex;
    align-items: center;
}

.chat-item:hover, .chat-item.active {
    background: #f2f2f5;
    text-decoration: none;
}

.chat-item img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.chat-dets {
    width: calc(100% - 60px);
}

.chat-item h5 {
    font-size: 16px;
    margin: 0;
}

.chat-item p.chat-text {
    font-size: 14px;
    max-width: 100%;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.chat-item h5 {
    max-width: calc(100% - 75px);
}

.chat-item p.chat-text {
    max-width: 100%;
}

.chat-item p.chat-text, .chat-item h5 {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.chat-item .chat-time {
    font-size: 12px;
    color: #797979;
    display: block;
    text-align: right;
    margin: 0;
}

.rtl .chat-item .chat-time {
    text-align: left;
}

.chat-item .chat-text {
    color: #7d7d7d;
}

.user-img-stat-blk {
    position: relative;
    width: 50px;
    margin-right: 10px;
}

.rtl .user-img-stat-blk {
    margin-left: 10px;
    margin-right: 0;
}

.user-img-stat-blk img, .chat-user-img {
    width: 50px !important;
    height: 50px !important;
}

.user-img-stat-blk:after {
    content: '';
    width: 13px;
    height: 12px;
    background: #43d880;
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    border-radius: 50%;
    border: 2px solid #fff;
}

.rtl .user-img-stat-blk:after {
    left: 0;
    right: auto;
}

.user-img-stat-blk.active:after {
    background: #43d880;
}

.user-img-stat-blk:after {
    background: #ececec;
}

.chat-messages {
    padding-bottom: 90px;
    position: relative;
}

.chat-messages-header {
    padding: 14px 10px;
    border-bottom: 1px solid #d6d5d5;
    display: flex;
    align-items: center;
}

.chat-user-img {
    float: left; /*width: 65px;height:65px;*/
    border-radius: 50%; /*border: 2px solid #00396f;*/
}

.rtl .chat-user-img {
    float: right;
}

.chat-messages-header #chat-mob-back-btn {
    display: none;
    color: #ffc008;
    float: left;
    font-size: 30px;
    margin-top: 12px;
    margin-right: 12px;
}

.rtl .chat-messages-header #chat-mob-back-btn {
    float: right;
    margin-left: 12px;
    margin-right: 0;
}

.rtl .fa-arrow-alt-circle-left:before {
    content: "\f35a";
}

.chat-messages-header h4 {
    float: left;
    margin-top: 18px;
    margin-left: 20px;
    font-size: 17px;
}

.rtl .chat-messages-header h4 {
    float: right;
    margin-right: 20px;
    margin-left: 0;
}

.chat-messages-header a.chat-user-toggle {
    display: block;
    color: #9d9d9d !important;
    font-size: 23px;
    text-align: center;
    margin-top: 13px;
}

.chat-messages-header a.chat-user-toggle:hover {
    color: #757575 !important;
    cursor: pointer;
    transition: all 0.5s ease;
}

.message-items {
    width: 100%;
    padding: 0 20px 0 10px;
}

.rtl .message-items {
    padding: 0 10px 0 20px;
}

.message-item {
    padding: 20px 0;
    clear: both;
}

.message-item.box-align-right img, .message-item.box-align-right p {
    float: left;
}

.rtl .message-item.box-align-right img, .rtl .message-item.box-align-right p {
    float: right;
}

.message-item.box-align-left img, .message-item.box-align-left p {
    float: right;
}

.rtl .message-item.box-align-left img, .rtl .message-item.box-align-left p {
    float: left;
}

.message-item p.message-text {
    padding: 20px;
    max-width: calc(100% - 150px);
    margin-top: 32px;
    font-size: 14px;
}

.message-item.box-align-right p {
    border-radius: 0 30px 30px 30px;
    margin-left: 3px;
    background: #f2f2f5; /*color:#fff;*/
}

.rtl .message-item.box-align-right p {
    border-radius: 30px 0 30px 30px;
    margin-right: 3px;
    margin-left: 0;
}

.message-item.box-align-left p {
    border-radius: 30px 0 30px 30px;
    margin-right: 3px;
    background: #c5c2d6;
    color: #fff;
}

.rtl .message-item.box-align-left p {
    border-radius: 0 30px 30px 30px;
    margin-left: 3px;
    margin-right: 0;
}

.chat-messages-footer {
    clear: both;
    width: 100%;
    left: 0;
    position: absolute;
    bottom: 0;
}

.rtl .chat-messages-footer {
    right: 0;
    left: auto;
}

.chat-messages-footer textarea {
    resize: none;
    width: 100%;
    font-size: 15px;
    height: 84px;
    padding: 5px 90px 5px 20px;
    position: absolute;
    bottom: 0;
    border: 0;
    border-top: 1px solid #d6d5d5;
}

.rtl .chat-messages-footer textarea {
    padding: 5px 20px 5px 90px;
}

.chat-messages-footer button {
    color: #fff !important;
    height: 58px;
    position: absolute;
    bottom: 15px;
    right: 20px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    text-transform: capitalize;
}

.rtl .chat-messages-footer button {
    left: 20px;
    right: auto;
}

.chat-messages-footer button img {
    width: 40px;
    height: auto;
    position: relative;
    top: 2px;
    left: -6px;
}

.rtl .chat-messages-footer button img {
    right: -6px;
    left: auto;
}

.chat-user-actions {
    display: none;
    position: absolute;
    background: #efefef;
    width: 200px;
    right: 15px;
    border-radius: 10px;
    padding: 10px;
    list-style: none;
}

.rtl .chat-user-actions {
    left: 15px;
    right: auto;
}

.chat-user-actions li a {
    font-size: 17px;
    display: block;
    padding: 0 10px;
    color: #222;
}

.chat-user-actions li a:before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    display: inline-block;
    background: #222;
    margin-right: 7px;
    position: relative;
    bottom: 3px;
    transition: all 0.5s ease;
}

.rtl .chat-user-actions li a:before {
    margin-left: 7px;
    margin-right: 0;
}

.chat-user-actions li a:hover {
    text-decoration: none !important;
}

.chat-user-actions li a:hover:before {
    margin-right: 14px;
}

.rtl .chat-user-actions li a:hover:before {
    margin-left: 14px;
    margin-right: 0;
}

.chat-messages-footer .btn-warning {
    color: #212529;
    background-color: #f4b10b;
    border-color: #f4b10b;
}

.chat-messages-footer .btn-warning:hover, .chat-messages-footer .btn-warning:focus {
    color: #212529;
    background-color: #d39e01;
    border-color: #d39e01;
}

@media (max-width: 575.98px) {
    .navbar-brand img {
        width: 100px;
    }

    /* MESSAGES */
    .chat-item img, .chat-user-img {
        width: 40px;
        height: 40px;
    }

    /*.chat-user-img{margin-top: 10px;}*/
    .chat-item h5 {
        font-size: 16px;
        margin-bottom: 0;
    }

    .chat-item p.chat-time {
        margin-bottom: 0;
    }

    .chat-item p.chat-text {
        font-size: 14px;
    }

    .chat-messages-header h4 {
        margin-top: 20px;
        margin-left: 10px;
        font-size: 17px;
    }

    .rtl .chat-messages-header h4 {
        margin-right: 10px;
        margin-left: 0;
    }

    .message-item p.message-text {
        max-width: calc(100% - 60px);
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    /* MESSAGES */
    .message-item p.message-text {
        max-width: calc(100% - 75px);
    }
}

@media (max-width: 767.98px) {
    /* MEASSAGES */
    .chats-list .user-blk {
        background: #fff;
    }

    .chat-messages {
        display: none;
    }

    .chat-messages-header #chat-mob-back-btn {
        display: inline-block;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    /* MESSAGES */
    .chats-list .user-blk .col-md-12, .chat-items .col-md-12 {
        text-align: center;
    }

    .chat-items .user-img-stat-blk {
        margin: 0 auto 10px;
    }

    .chat-dets {
        width: 100%;
        text-align: center;
    }

    .chat-item, .chat-dets > div.d-flex {
        flex-flow: column;
        justify-content: center !important;
        align-items: center;
    }

    .chat-item img {
        width: 40px;
        height: 40px;
    }

    .chat-item .chat-time {
        text-align: center !important;
    }

    /*.chat-items {max-height: 539px;}*/
    .message-item p.message-text {
        max-width: calc(100% - 75px);
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    /* MESSAGES */
    .chat-item img {
        width: 42px;
        height: 42px;
    }
}

/*************** RESPONSIVE ********************/
/*Extra small devices (portrait phones, less than 576px)*/
@media (max-width: 575.98px) {
    #main-title h1 {
        font-size: 27px;
    }

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

    #header-wrap .navbar-nav li a {
        font-size: 16px;
    }

    .user-profile-head, .user-main-info {
        flex-flow: column;
        justify-content: center;
    }

    .user-profile-names {
        text-align: center;
    }

    .user-profile .user-img, .user-profile-names {
        margin-bottom: 20px;
    }

    .user-profile .user-img {
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    .user-info-blk p span {
        display: block;
    }

    .user-info-blk h4 {
        font-size: 18px;
    }

    .log-as-item {
        max-width: 250px;
        margin: 0 auto 30px;
    }

    .about-main-img {
        width: 100%;
        max-width: 100%;
    }

    .about-floated-images {
        width: 125px !important;
    }
}

/*Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) and (max-width: 767.98px) {
    .modal-backdrop {
        position: relative !important;
    }
}

@media (max-width: 767.98px) {
    .home-top-blk {
        position: relative;
    }

    .col-home-top-right {
        position: static;
    }

    .home-top-right {
        width: 420px !important;
        top: 0;
        right: 0;
        position: absolute;
        height: auto;
        max-height: calc(100% - 15px);
    }

    .rtl .home-top-right {
        left: 0;
        right: auto;
    }

    .top-contact p, .top-user-blk-lnk > span {
        display: none;
    }

    .top-contact p:last-child {
        display: inline-block;
        width: 100%;
    }

    .home-top-left, .main-content {
        position: relative;
        z-index: 2;
    }

    #home-top-blk:before {
        content: '';
        background: #fff;
        opacity: 0.7;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 100%;
        z-index: 2;
    }

    .home-top-text p {
        color: #000;
        font-size: 16px;
        font-weight: 600;
    }

    #mob-open-main-menu {
        padding: 0;
    }

    .footer-img.footer-left-img {
        left: 0;
    }

    .rtl .footer-img.footer-left-img {
        right: 0;
    }

    .footer-wrap {
        text-align: center;
    }

    .footer-wrap > .container > .row > div:first-child {
        display: none;
        margin: 0;
        padding: 0;
    }

    .footer-wrap .row > div {
        margin-bottom: 40px;
    }

    .footer-wrap .row > div:last-child {
        margin: 0;
    }

    .footer-logo {
        display: none;
    }

    .footer-wrap .social-icons a {
        margin: 0 3px !important;
    }

    .footer-form {
        max-width: 360px;
        margin: 0 auto;
    }

    .user-profile .user-img {
        width: 100px;
        height: 100px;
    }

    .user-profile-names h3 {
        font-size: 22px;
    }

    .user-profile-names p {
        font-size: 15px;
    }

    .form-group .user-img {
        margin-bottom: 10px;
    }

    .log-as-item img {
        height: 100px;
    }

    #h-contact-blk form {
        margin: 0 auto 30px;
        max-width: 350px;
    }

    .props-carousel .prop-item {
        margin-bottom: 0;
    }

    .prop-item {
        max-width: 200px;
        margin: 0 auto 30px;
    }

    .about-pg-img, .about-pg-imgs-container {
        max-width: 300px;
    }

    .about-pg-img {
        margin-bottom: 30px;
        height: auto;
    }

    .about-pg-img > img {
        position: static;
    }

    .about-pg-group-imgs {
        flex-flow: row;
        justify-content: space-between;
    }

    .about-pg-group-imgs > div {
        width: 46%;
    }

    .about-pg-img.custom-height {
        height: 100%;
        float: left;
    }

    .rtl .about-pg-img.custom-height {
        float: right;
    }

    .about-pg-imgs-container {
        flex-flow: column;
    }

    .about-pg-imgs-container > div {
        margin: 0;
    }

    .about-pg-imgs-container > div > img {
        margin-bottom: 20px;
    }

    .about-pg-imgs-container > div:last-child > img {
        margin-bottom: 0;
    }

    .prop-det, .prop-det-specs {
        flex-flow: column !important;
    }

    .prop-det-img-container, .prop-det-blk {
        width: 100%;
    }

    .prop-det-specs {
        padding: 0 !important;
    }

    .prop-det-specs p {
        width: 100% !important;
        border: 0 !important;
        border-bottom: 1px solid #ddd !important;
        padding: 10px !important;
    }

    .prop-det-specs p:last-child {
        border: 0 !important;
    }

    #h-log-as .d-md-flex > div {
        width: 100% !important;
    }

    #h-log-as .d-md-flex > div img {
        max-width: 200px;
        margin: 0 auto 20px;
    }

}

/*Medium devices (tablets, 768px and up)*/
@media (max-width: 991.98px) {
    .home-top-left #header-wrap .navbar-nav li a {
        font-size: 18px;
        font-weight: 600;
        margin: 0 15px;
    }

    .home-top-right {
        width: calc(100% + 50%);
    }

    .top-contact {
        display: flex;
        justify-content: space-between;
    }

    .navbar-collapse {
        display: block;
        padding: 0 20px;
        z-index: 1009;
        background: #3b4b61;
        position: fixed;
        top: 0;
        left: -500px;
        width: auto;
        min-width: 200px;
        height: 100%;
        overflow: auto;
    }

    .rtl .navbar-collapse {
        right: -500px;
        left: auto;
    }

    #header-wrap .navbar-nav li a {
        color: #fff;
    }

    #mob-open-main-menu, #mob-close-main-menu {
        display: inline-block;
    }

    .top-user-blk-lnk > span {
        margin-right: 10px;
    }

    .rtl .top-user-blk-lnk > span {
        margin-left: 10px;
        margin-right: 0;
    }

    #main-header .social-icons {
        display: none;
    }

    .footer-wrap .social-icons a {
        font-size: 16px;
        width: 35px;
        height: 35px;
        line-height: 30px;
        margin: 0 3px 10px;
    }

    .footer-links li a, .footer-wrap p {
        font-size: 15px;
    }

    .footer-links li:before {
        margin-right: 7px;
        padding: 2px;
    }

    .rtl .footer-links li:before {
        margin-left: 7px;
    }

    .footer-form .form-control {
        height: 50px;
    }

    .footer-form button {
        height: 33px;
    }

    .footer-form button img {
        height: calc(100% + 10px);
        position: relative;
        bottom: 4px;
    }

    .copyright {
        font-size: 13px;
    }

    .about-blk-imgs-container {
        justify-content: center;
        margin-bottom: 30px;
    }

    .about-main-img {
        max-width: 300px;
    }

    .about-floated-images {
        width: 150px;
    }

    .prop-det-specs {
        padding: 15px 5px;
    }

    .prop-det-loc {
        flex-flow: column;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .prop-det-specs {
        flex-flow: wrap;
    }

    .prop-det-specs p {
        width: 45%;
        padding: 0;
    }

    .prop-det-specs p:nth-child(2) {
        border: 0;
    }

    .top-contact p {
        margin: 0 2px;
    }
}

/*Large devices (desktops, 992px and up)*/
@media (min-width: 992px) and (max-width: 1199.98px) {
    .home-top-left .navbar-brand {
        margin-right: 10px;
    }

    .rtl .home-top-left .navbar-brand {
        margin-left: 10px;
        margin-right: 0;
    }

    .home-top-left #header-wrap .navbar-nav li a {
        padding: 0 3px;
    }

    .home-top-right {
        width: calc(100% + 25%);
    }

    #header-wrap .navbar-nav li a {
        font-size: 13px;
    }

    .user-img {
        margin: 0 5px;
        width: 45px;
        height: 45px;
    }

    .footer-links li a {
        font-size: 17px;
    }

    .footer-links li:before {
        padding: 2px;
        margin-right: 10px;
    }

    .rtl .footer-links li:before {
        margin-left: 10px;
    }

    .about-floated-images {
        width: 190px;
    }

    .prop-det-specs p {
        padding: 0 2px;
    }
}

/*Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {
}

@media (min-width: 1350px) {
    .home-top-right {
        width: calc(100% + 35%);
    }
}

@media (min-width: 1500px) {
    .home-top-right {
        width: calc(100% + 45%);
    }
}

@media (min-width: 1600px) {
    .home-top-right {
        width: calc(100% + 68%);
    }
}

.darker {
    border-color: #ccc;
    background: #ccc;
    text-align: right;
    padding: 1%;
    margin-bottom: 1%;
    border-radius: 10px;
}

.lighter {
    text-align: left;
    background: #bfe1fc;
    padding: 1%;
    margin-bottom: 1%;
    border-radius: 10px;
}

.time-right {
    float: right;
    color: #aaa;
}

.time-left {
    float: left;
    color: #999;
}

/* MSG ICON */
.msg-h-lnk {
    color: #333;
    position: relative;
    display: inline-block;
    font-size: 20px;
    margin: 0 10px;
}

.msg-h-lnk:hover {
    color: #333;
}

.msg-counter {
    background: #f4b10b;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    position: absolute;
    top: 0;
    left: -8px;
    letter-spacing: 0;
    color: #fff;
}

.rtl .msg-counter {
    right: -8px;
    left: auto;
}

/* MESSAGES */
#pg-messages {
    background: #f5f6fa;
    margin: -60px 0;
    padding: 60px 0;
}

.chat-items::-webkit-scrollbar, .message-items::-webkit-scrollbar {
    width: 3px;
}

.chat-container { /*background: #fff;box-shadow: 0 6px 7px rgba(0,0,0,0.2);border: 1px solid #d6d5d5;padding: 0 15px;*/
}

.chats-list { /*border-right: 1px solid #d6d5d5;*/
    padding: 20px 15px 0;
}

.chats-list, .chat-messages {
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.06);
    border-radius: 4px;
}

.rtl .chats-list { /*border-left: 1px solid #d6d5d5;border-right: 0;*/
}

.chats-list .user-blk {
    border-bottom: 1px solid #f3f3f3;
    padding-bottom: 30px;
}

.chats-list .user-blk img {
    width: 80px;
    opacity: 0.8;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #00396f;
    box-shadow: 0px 0px 10px #00396f;
}

.chats-list .user-blk h5 {
    margin-top: 30px;
    font-weight: 600;
}

.chats-list .user-blk .search-blk {
    display: flex;
    align-items: center;
    margin: -10px 0 -20px;
}

.chats-list .user-blk .search-blk input {
    width: 100%;
    height: 35px;
    border-radius: 0;
    box-shadow: none;
    padding: 20px;
    border: 0;
}

.chats-list .user-blk .search-blk input:focus, .chat-messages-footer textarea:focus {
    outline: 0; /*border-color: #a6c7ff;border-width: 2px;*/
}

.chats-list .user-blk .search-blk button {
    position: absolute;
    top: 3px;
    right: 22px;
    background: transparent;
}

.rtl .chats-list .user-blk .search-blk button {
    left: 22px;
    right: auto;
}

.chat-items, .message-items {
    overflow-y: auto;
    overflow-x: hidden;
}

.chat-items {
    height: 740px;
    width: calc(100% + 30px);
    position: relative;
    left: -15px;
}

.rtl .chat-items {
    right: -15px;
    left: auto;
}

.message-items {
    height: 630px;
}

.chat-item {
    padding: 15px;
    border-bottom: 1px solid #f3f3f3;
    cursor: pointer;
    transition: all 0.5s ease;
    display: flex;
    align-items: center;
}

.chat-item:hover, .chat-item.active {
    background: #f2f2f5;
    text-decoration: none;
}

.chat-item img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.chat-dets {
    width: calc(100% - 60px);
}

.chat-item h5 {
    font-size: 16px;
    margin: 0;
}

.chat-item p.chat-text {
    font-size: 14px;
    max-width: 100%;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.chat-item h5 {
    max-width: calc(100% - 75px);
}

.chat-item p.chat-text {
    max-width: 100%;
}

.chat-item p.chat-text, .chat-item h5 {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.chat-item .chat-time {
    font-size: 12px;
    color: #797979;
    display: block;
    text-align: right;
    margin: 0;
}

.rtl .chat-item .chat-time {
    text-align: left;
}

.chat-item .chat-text {
    color: #7d7d7d;
}

.user-img-stat-blk {
    position: relative;
    width: 50px;
    margin-right: 10px;
}

.rtl .user-img-stat-blk {
    margin-left: 10px;
    margin-right: 0;
}

.user-img-stat-blk img, .chat-user-img {
    width: 50px !important;
    height: 50px !important;
}

.user-img-stat-blk:after {
    content: '';
    width: 13px;
    height: 12px;
    background: #43d880;
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    border-radius: 50%;
    border: 2px solid #fff;
}

.rtl .user-img-stat-blk:after {
    left: 0;
    right: auto;
}

.user-img-stat-blk.active:after {
    background: #43d880;
}

.user-img-stat-blk:after {
    background: #ececec;
}

.chat-messages {
    padding-bottom: 90px;
    position: relative;
}

.chat-messages-header {
    padding: 14px 10px;
    border-bottom: 1px solid #d6d5d5;
    display: flex;
    align-items: center;
}

.chat-user-img {
    float: left; /*width: 65px;height:65px;*/
    border-radius: 50%; /*border: 2px solid #00396f;*/
}

.rtl .chat-user-img {
    float: right;
}

.chat-messages-header #chat-mob-back-btn {
    display: none;
    color: #ffc008;
    float: left;
    font-size: 30px;
    margin-top: 12px;
    margin-right: 12px;
}

.rtl .chat-messages-header #chat-mob-back-btn {
    float: right;
    margin-left: 12px;
    margin-right: 0;
}

.rtl .fa-arrow-alt-circle-left:before {
    content: "\f35a";
}

.chat-messages-header h4 {
    float: left;
    margin-top: 18px;
    margin-left: 20px;
    font-size: 17px;
}

.rtl .chat-messages-header h4 {
    float: right;
    margin-right: 20px;
    margin-left: 0;
}

.chat-messages-header a.chat-user-toggle {
    display: block;
    color: #9d9d9d !important;
    font-size: 23px;
    text-align: center;
    margin-top: 13px;
}

.chat-messages-header a.chat-user-toggle:hover {
    color: #757575 !important;
    cursor: pointer;
    transition: all 0.5s ease;
}

.message-items {
    width: 100%;
    padding: 0 20px 0 10px;
}

.rtl .message-items {
    padding: 0 10px 0 20px;
}

.message-item {
    padding: 20px 0;
    clear: both;
}

.message-item.box-align-right img, .message-item.box-align-right p {
    float: left;
}

.rtl .message-item.box-align-right img, .rtl .message-item.box-align-right p {
    float: right;
}

.message-item.box-align-left img, .message-item.box-align-left p {
    float: right;
}

.rtl .message-item.box-align-left img, .rtl .message-item.box-align-left p {
    float: left;
}

.message-item p.message-text {
    padding: 20px;
    max-width: calc(100% - 150px);
    margin-top: 32px;
    font-size: 14px;
}

.message-item.box-align-right p {
    border-radius: 0 30px 30px 30px;
    margin-left: 3px;
    background: #f2f2f5; /*color:#fff;*/
}

.rtl .message-item.box-align-right p {
    border-radius: 30px 0 30px 30px;
    margin-right: 3px;
    margin-left: 0;
}

.message-item.box-align-left p {
    border-radius: 30px 0 30px 30px;
    margin-right: 3px;
    background: #c5c2d6;
    color: #fff;
}

.rtl .message-item.box-align-left p {
    border-radius: 0 30px 30px 30px;
    margin-left: 3px;
    margin-right: 0;
}

.chat-messages-footer {
    clear: both;
    width: 100%;
    left: 0;
    position: absolute;
    bottom: 0;
}

.rtl .chat-messages-footer {
    right: 0;
    left: auto;
}

.chat-messages-footer textarea {
    resize: none;
    width: 100%;
    font-size: 15px;
    height: 84px;
    padding: 5px 90px 5px 20px;
    position: absolute;
    bottom: 0;
    border: 0;
    border-top: 1px solid #d6d5d5;
}

.rtl .chat-messages-footer textarea {
    padding: 5px 20px 5px 90px;
}

.chat-messages-footer button {
    color: #fff !important;
    height: 58px;
    position: absolute;
    bottom: 15px;
    right: 20px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    text-transform: capitalize;
}

.rtl .chat-messages-footer button {
    left: 20px;
    right: auto;
}

.chat-messages-footer button img {
    width: 40px;
    height: auto;
    position: relative;
    top: 2px;
    left: -6px;
}

.rtl .chat-messages-footer button img {
    right: -6px;
    left: auto;
}

.chat-user-actions {
    display: none;
    position: absolute;
    background: #efefef;
    width: 200px;
    right: 15px;
    border-radius: 10px;
    padding: 10px;
    list-style: none;
}

.rtl .chat-user-actions {
    left: 15px;
    right: auto;
}

.chat-user-actions li a {
    font-size: 17px;
    display: block;
    padding: 0 10px;
    color: #222;
}

.chat-user-actions li a:before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    display: inline-block;
    background: #222;
    margin-right: 7px;
    position: relative;
    bottom: 3px;
    transition: all 0.5s ease;
}

.rtl .chat-user-actions li a:before {
    margin-left: 7px;
    margin-right: 0;
}

.chat-user-actions li a:hover {
    text-decoration: none !important;
}

.chat-user-actions li a:hover:before {
    margin-right: 14px;
}

.rtl .chat-user-actions li a:hover:before {
    margin-left: 14px;
    margin-right: 0;
}

.chat-messages-footer .btn-warning {
    color: #212529;
    background-color: #f4b10b;
    border-color: #f4b10b;
}

.chat-messages-footer .btn-warning:hover, .chat-messages-footer .btn-warning:focus {
    color: #212529;
    background-color: #d39e01;
    border-color: #d39e01;
}

@media (max-width: 575.98px) {
    /* MESSAGES */
    .chat-item img, .chat-user-img {
        width: 40px;
        height: 40px;
    }

    /*.chat-user-img{margin-top: 10px;}*/
    .chat-item h5 {
        font-size: 16px;
        margin-bottom: 0;
    }

    .chat-item p.chat-time {
        margin-bottom: 0;
    }

    .chat-item p.chat-text {
        font-size: 14px;
    }

    .chat-messages-header h4 {
        margin-top: 20px;
        margin-left: 10px;
        font-size: 17px;
    }

    .rtl .chat-messages-header h4 {
        margin-right: 10px;
        margin-left: 0;
    }

    .message-item p.message-text {
        max-width: calc(100% - 60px);
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    /* MESSAGES */
    .message-item p.message-text {
        max-width: calc(100% - 75px);
    }
}

@media (max-width: 767.98px) {
    /* MEASSAGES */
    .chats-list .user-blk {
        background: #fff;
    }

    .chat-messages {
        display: none;
    }

    .chat-messages-header #chat-mob-back-btn {
        display: inline-block;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    /* MESSAGES */
    .chats-list .user-blk .col-md-12, .chat-items .col-md-12 {
        text-align: center;
    }

    .chat-items .user-img-stat-blk {
        margin: 0 auto 10px;
    }

    .chat-dets {
        width: 100%;
        text-align: center;
    }

    .chat-item, .chat-dets > div.d-flex {
        flex-flow: column;
        justify-content: center !important;
        align-items: center;
    }

    .chat-item img {
        width: 40px;
        height: 40px;
    }

    .chat-item .chat-time {
        text-align: center !important;
    }

    /*.chat-items {max-height: 539px;}*/
    .message-item p.message-text {
        max-width: calc(100% - 75px);
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    /* MESSAGES */
    .chat-item img {
        width: 42px;
        height: 42px;
    }
}

.btn-home-tenant {
    width: 100%;
    line-height: 72px;
    margin-bottom: 2%;
}