:root {
    --primary-color: rgba(90, 90, 150, 1);
}

@font-face {
    font-family: Sahel;
    src: url("/fonts/Sahel_farsi_digits.woff") format("woff");
    font-weight: normal;
}

body {
    direction: rtl;
    text-align: right;
    font-family: "Sahel", arial, serif;
    user-select: none;
}

.btn-purple {
    background-color: var(--primary-color);
    color: white;
}

.border-purple {
    border-color: var(--primary-color) !important;
}

.bg-purple {
    background-color: var(--primary-color);
}

.btn-purple:hover {
    background-color: rgba(100, 100, 200, 1);
    color: white;
}

.left-to-right {
    direction: ltr;
}

.right-to-left {
    direction: rtl;
}

.bold {
    font-weight: bold !important;
}

.font-10 {
    font-size: 10px;
}

.font-12 {
    font-size: 12px;
}

.font-14 {
    font-size: 14px;
}

.font-16 {
    font-size: 16px;
}

.font-18 {
    font-size: 18px;
}

.font-20 {
    font-size: 20px;
}

#admin_menu_toggle_button {
    font-size: 30px;
    cursor: pointer;
    color: var(--primary-color);
}

.owner-image-small {
    border-radius: 50%;
    width: 30px;
    height: 30px;
}

.owner-image-big {
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

input[type="checkbox"].big-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin-left: 5px;
}

input[type="checkbox"].medium-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin-left: 5px;
}

.cursor-pointer {
    cursor: pointer;
}

.cursor-default {
    cursor: context-menu !important;
}

section#content {
    min-height: 400px;
}

.unstyled-link {
    color: inherit;
    text-decoration: none;
}

.unstyled-link:hover {
    color: black;
    text-decoration: none;
}

.table-vertical-divider {
    border-left: 1px solid black;
}

.table-vertical-divider-gray {
    border-left: 1px solid #dee2e6;
}

.page-item.active .page-link {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
}

.page-link {
    color: var(--primary-color) !important;
}

/* DATE PICKER */

.datepicker-plot-area {
    font-family: "Sahel", arial, serif !important;
}

input.date-picker[readonly] {
    background-color: white !important;
}

input.date-picker {
    cursor: pointer;
}

input.date-picker {
    cursor: pointer;
}

input.date-picker:focus,
input.date-picker:active {
    box-shadow: inset 0 0 0 #ddd;
}

.date-picker-clear-btn {
    margin-right: -10px !important;
    border-radius: 5px 0 0 5px !important;

    border-left: 1px solid #ced4da;
    border-top: 1px solid #ced4da;
    border-bottom: 1px solid #ced4da;
}

.date-picker-clear-btn:focus,
.date-picker-clear-btn:active {
    box-shadow: inset 0 0 0 #ddd;
}

/* Navbar ------------> */
.navbar-brand {
    text-align: center;
}

.farsi-brand {
    font-weight: bold;
    font-size: 24px;
    color: var(--primary-color);
}

.english-brand {
    font-size: 12px;
    color: var(--primary-color);
}

#admin_side_nav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 9999;
    top: 0;
    right: 0;
    background-color: var(--primary-color);
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

#admin_side_nav a {
    padding: 8px 30px;
    text-decoration: none;
    font-size: 16px;
    color: white;
    display: block;
    transition: padding-right 0.3s;
    user-select: none;
}

#admin_side_nav a.subitem {
    font-size: 14px;
    padding-right: 45px;
    color: #eee;
}

#admin_side_nav a.item:hover {
    /*background-color: #363669;*/
    padding-right: 40px;
    color: orange;
}

#admin_side_nav a.subitem:not(.active-white-bar):hover {
    /*background-color: #363669;*/
    padding-right: 55px;
    color: orange;
    font-weight: bold;
}

#admin_side_nav a.item.active-orange-text {
    color: orange;
}

#admin_side_nav a.item.active-white-bar,
#admin_side_nav a.subitem.active-white-bar {
    background-color: white;
    color: var(--primary-color);
}

#admin_side_nav .closebtn {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 36px;
    text-shadow: 1px 1px 1px #333;
}

#admin_side_nav .item_bottom_line {
    background-color: #ffffff;
    margin: 0;
    height: 1px;
    opacity: 0.1;
}

@media screen and (max-height: 450px) {
    #admin_side_nav {
        padding-top: 15px;
    }
    /*#admin_side_nav a {font-size: 18px;}*/
}

/* <------------ End of Navbar */

/* Banner ------------> */
#banner {
    background-image: url("/images/webapp/banner.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 50vh;
    border-top: 2px solid rgba(0, 0, 0, 0.3);
    border-bottom: 2px solid rgba(0, 0, 0, 0.3);
}

/*---Media Queries --*/
@media (min-height: 100px) {
    #banner {
        min-height: 110vh;
        padding-top: 5px;
    }
}

@media (min-height: 150px) {
    #banner {
        min-height: 130vh;
        padding-top: 5px;
    }
}

@media (min-height: 200px) {
    #banner {
        min-height: 130vh;
        padding-top: 20px;
    }
}

@media (min-height: 250px) {
    #banner {
        min-height: 110vh;
        padding-top: 20px;
    }
}

@media (min-height: 300px) {
    #banner {
        min-height: 90vh;
        padding-top: 20px;
    }
}

@media (min-height: 350px) {
    #banner {
        min-height: 80vh;
        padding-top: 30px;
    }
}

@media (min-height: 400px) {
    #banner {
        min-height: 65vh;
        padding-top: 10px;
    }
}

@media (min-height: 450px) {
    #banner {
        min-height: 65vh;
        padding-top: 20px;
    }
}

@media (min-height: 500px) {
    #banner {
        min-height: 60vh;
        padding-top: 40px;
    }
}

@media (min-height: 550px) {
    #banner {
        min-height: 70vh;
        padding-top: 80px;
    }
}

@media (min-height: 560px) {
    #banner {
        min-height: 65vh;
        padding-top: 80px;
    }
}

@media (min-height: 650px) {
    #banner {
        min-height: 60vh;
        padding-top: 85px;
    }
}

@media (min-height: 700px) {
    #banner {
        min-height: 60vh;
        padding-top: 100px;
    }
}

/* <------------ End of Banner */

/* Tips -------------------------------------> */
.tip-block {
    cursor: pointer;
}

/* <-------------------------------------------- */

/* Footer  ------------> */
#footer {
    background-color: #ddd;
    border-top: 1px solid rgba(0, 0, 0, 0.5);
    padding: 50px 10px;
}

#footer a {
    text-decoration: none;
    color: #555;
}

#footer a:hover {
    text-decoration: none;
    color: #222;
}

img.download-app {
    width: 180px;
}

#footer .logo {
    background-color: white;
    border-radius: 5px;
    padding: 10px;
    height: 100px;
    width: 100px;
}

.copyright {
    color: #777;
}

/*  <------------ Footer */

/* HouseCard ------------> */
.houses {
    margin: 50px;
}

.house-container .house-cover-container {
    height: 150px;
    width: 100%;
}

.house-container .first-title-container {
    background-color: var(--primary-color);
    color: white;
}

.house-container .house-summary-info {
    background-color: rgba(245, 245, 245, 1);
    padding: 10px;
}

.house-container .properties-container {
    padding: 5px 2px;
    background-color: #555;
    color: white;
}

.house-container .price {
    font-size: 14px;
    color: #333;
}

.old-price {
    font-size: 14px;
    color: #555;
}

.red-line {
    color: red;
    text-decoration: line-through;
}

.house-container .properties {
    font-size: 13px;
}

.house-container .house-cover {
    z-index: 0;
    height: 100%;
    width: 100%;
}

.house-cover {
    object-fit: cover !important;
}

.image-cover {
    object-fit: cover !important;
}

.house-container .discount-value {
    width: auto;
    margin: 10px 10px;
    position: absolute;
    z-index: 1;
    left: 0px;
    font-weight: bold;
    box-shadow: 1px 1px black;
}

.house-container .special-mark {
    width: auto;
    margin: 10px 10px;
    position: absolute;
    z-index: 1;
    right: 0px;
    font-weight: bold;
    box-shadow: 1px 1px black;
}

.house-container .first-title {
    text-decoration: none;
    color: inherit;
}

.map {
    height: 200px;
}

@media (min-width: 576px) {
    .map {
        height: 300px;
    }
}

@media (min-width: 768px) {
    .map {
        height: 350px;
    }
}

@media (min-width: 992px) {
    .map {
        height: 400px;
    }
}

@media (min-width: 1200px) {
    .map {
        height: 500px;
    }
}

/* <------------ HouseCard */

/* Slider  ------------> */
@media (max-width: 3000px) {
    .carousel-item img {
        height: 500px;
    }
}
@media (max-width: 1200px) {
    .carousel-item img {
        height: 350px;
    }
}
@media (max-width: 991px) {
    .carousel-item img {
        height: 460px;
    }
}
@media (max-width: 768px) {
    .carousel-item img {
        height: 350px;
    }
}
@media (max-width: 500px) {
    .carousel-item img {
        height: 300px;
    }
}
@media (max-width: 450px) {
    .carousel-item img {
        height: 200px;
    }
}

.carousel-item img {
    width: auto !important;
    margin: 0 auto !important;
}

.carousel-indicators > li {
    border-radius: 50%;
    width: 10px;
    height: 10px;
}

.carousel-item .carousel-caption {
    bottom: 0px !important;
    left: 30px !important;
    text-align: left;
}

.carousel .carousel-control-prev,
.carousel .carousel-control-next {
    background-image: linear-gradient(
        to left,
        rgba(0, 0, 0, 1),
        rgba(0, 0, 0, 1)
    );
    width: 50px;
    height: 50px;
    opacity: 0.8;
}

.carousel .carousel-control-prev {
    border-bottom-right-radius: 10px;
}

.carousel .carousel-control-next {
    border-bottom-left-radius: 10px;
}

/* Below Slider */

#below_slider .price {
    font-size: 18px;
    color: #333;
    font-weight: bold;
}

#below_slider .old-price {
    font-size: 18px;
    color: #555;
}

/* Description  ------------> */
#description .section-body {
    font-size: 14px;
    color: #555;
    line-height: 25px;
}
/* <------------ End of Description */

#sections .section-title {
    font-weight: bold;
}

.facility-name {
    color: #555;
    font-size: 14px;
}

.facility-icon {
    margin: auto;
}

.rule .rule-text {
    font-size: 14px;
    color: #555;
    padding-right: 4px;
}

/* Properties ------------> */
#properties .caption {
    color: #555;
}
/* <------------ End of Properties */

.icon-arrow-left,
.icon-arrow-left-deactive,
.icon-arrow-left-narrow,
.icon-arrow-right,
.icon-arrow-right-deactive,
.icon-delete,
.icon-edit,
.icon-facility-air-hockey,
.icon-facility-alachiq,
.icon-facility-alarm,
.icon-facility-balcony,
.icon-facility-barbeque,
.icon-facility-bath,
.icon-facility-bath-tube,
.icon-facility-billiard,
.icon-facility-cctv,
.icon-facility-closet,
.icon-facility-cooking-tools,
.icon-facility-digital-receiver,
.icon-facility-dining-table,
.icon-facility-disabled-services,
.icon-facility-dishwasher,
.icon-facility-eating-tools,
.icon-facility-elevator,
.icon-facility-fan,
.icon-facility-fireplace,
.icon-facility-foreign-toilet,
.icon-facility-forniture,
.icon-facility-fridge,
.icon-facility-game-console,
.icon-facility-gas-cooler,
.icon-facility-guard,
.icon-facility-hair-dryer,
.icon-facility-hanging-dry,
.icon-facility-heater,
.icon-facility-heat-from-floor,
.icon-facility-hood,
.icon-facility-iranian-toilet,
.icon-facility-iron,
.icon-facility-jacuzzi,
.icon-facility-kettle,
.icon-facility-microwave,
.icon-facility-parking,
.icon-facility-phone,
.icon-facility-pool-indoor,
.icon-facility-pool-outdoor,
.icon-facility-radiator,
.icon-facility-safe-door,
.icon-facility-sauna,
.icon-facility-split,
.icon-facility-stove,
.icon-facility-table-football,
.icon-facility-table-tennis,
.icon-facility-tea-pot,
.icon-facility-terrace,
.icon-facility-toilet-paper,
.icon-facility-tv,
.icon-facility-vacuum-cleaner,
.icon-facility-video-door-phone,
.icon-facility-washing-machine,
.icon-facility-water-cooler,
.icon-facility-wifi,
.icon-notvisible,
.icon-property-bed,
.icon-property-capacity,
.icon-property-house-type,
.icon-property-room,
.icon-rule-bullet,
.icon-star-gray,
.icon-star-white,
.icon-star-white-outline,
.icon-star-yellow,
.icon-visible {
    background: url("/images/icons/sprite_v2.png") no-repeat top left;
    width: 32px;
    height: 32px;
}
.icon-arrow-left {
    background-position: 0 0;
    width: 20px;
    height: 20px;
}
.icon-arrow-left-deactive {
    background-position: 0 -25px;
    width: 20px;
    height: 20px;
}
.icon-arrow-left-narrow {
    background-position: 0 -50px;
    width: 20px;
    height: 20px;
}
.icon-arrow-right {
    background-position: 0 -75px;
    width: 20px;
    height: 20px;
}
.icon-arrow-right-deactive {
    background-position: 0 -100px;
    width: 20px;
    height: 20px;
}
.icon-delete {
    background-position: 0 -125px;
    width: 24px;
    height: 24px;
}
.icon-edit {
    background-position: 0 -154px;
    width: 24px;
    height: 24px;
}
.icon-facility-air-hockey {
    background-position: 0 -183px;
}
.icon-facility-alachiq {
    background-position: 0 -220px;
}
.icon-facility-alarm {
    background-position: 0 -257px;
}
.icon-facility-balcony {
    background-position: 0 -294px;
}
.icon-facility-barbeque {
    background-position: 0 -331px;
}
.icon-facility-bath {
    background-position: 0 -368px;
}
.icon-facility-bath-tube {
    background-position: 0 -405px;
}
.icon-facility-billiard {
    background-position: 0 -442px;
}
.icon-facility-cctv {
    background-position: 0 -479px;
}
.icon-facility-closet {
    background-position: 0 -516px;
}
.icon-facility-cooking-tools {
    background-position: 0 -553px;
}
.icon-facility-digital-receiver {
    background-position: 0 -590px;
}
.icon-facility-dining-table {
    background-position: 0 -627px;
}
.icon-facility-disabled-services {
    background-position: 0 -664px;
}
.icon-facility-dishwasher {
    background-position: 0 -701px;
}
.icon-facility-eating-tools {
    background-position: 0 -738px;
}
.icon-facility-elevator {
    background-position: 0 -775px;
}
.icon-facility-fan {
    background-position: 0 -812px;
}
.icon-facility-fireplace {
    background-position: 0 -849px;
}
.icon-facility-foreign-toilet {
    background-position: 0 -886px;
}
.icon-facility-forniture {
    background-position: 0 -923px;
}
.icon-facility-fridge {
    background-position: 0 -960px;
}
.icon-facility-game-console {
    background-position: 0 -997px;
}
.icon-facility-gas-cooler {
    background-position: 0 -1034px;
}
.icon-facility-guard {
    background-position: 0 -1071px;
}
.icon-facility-hair-dryer {
    background-position: 0 -1108px;
}
.icon-facility-hanging-dry {
    background-position: 0 -1145px;
}
.icon-facility-heater {
    background-position: 0 -1182px;
}
.icon-facility-heat-from-floor {
    background-position: 0 -1219px;
}
.icon-facility-hood {
    background-position: 0 -1256px;
}
.icon-facility-iranian-toilet {
    background-position: 0 -1293px;
}
.icon-facility-iron {
    background-position: 0 -1330px;
}
.icon-facility-jacuzzi {
    background-position: 0 -1367px;
}
.icon-facility-kettle {
    background-position: 0 -1404px;
}
.icon-facility-microwave {
    background-position: 0 -1441px;
}
.icon-facility-parking {
    background-position: 0 -1478px;
}
.icon-facility-phone {
    background-position: 0 -1515px;
}
.icon-facility-pool-indoor {
    background-position: 0 -1552px;
}
.icon-facility-pool-outdoor {
    background-position: 0 -1589px;
}
.icon-facility-radiator {
    background-position: 0 -1626px;
}
.icon-facility-safe-door {
    background-position: 0 -1663px;
}
.icon-facility-sauna {
    background-position: 0 -1700px;
}
.icon-facility-split {
    background-position: 0 -1737px;
}
.icon-facility-stove {
    background-position: 0 -1774px;
}
.icon-facility-table-football {
    background-position: 0 -1811px;
}
.icon-facility-table-tennis {
    background-position: 0 -1848px;
}
.icon-facility-tea-pot {
    background-position: 0 -1885px;
}
.icon-facility-terrace {
    background-position: 0 -1922px;
}
.icon-facility-toilet-paper {
    background-position: 0 -1959px;
}
.icon-facility-tv {
    background-position: 0 -1996px;
}
.icon-facility-vacuum-cleaner {
    background-position: 0 -2033px;
}
.icon-facility-video-door-phone {
    background-position: 0 -2070px;
}
.icon-facility-washing-machine {
    background-position: 0 -2107px;
}
.icon-facility-water-cooler {
    background-position: 0 -2144px;
}
.icon-facility-wifi {
    background-position: 0 -2181px;
}
.icon-notvisible {
    background-position: 0 -2218px;
    width: 24px;
    height: 24px;
}
.icon-property-bed {
    background-position: 0 -2247px;
    width: 16px;
    height: 16px;
}
.icon-property-capacity {
    background-position: 0 -2268px;
    width: 16px;
    height: 16px;
}
.icon-property-house-type {
    background-position: 0 -2289px;
    width: 16px;
    height: 16px;
}
.icon-property-room {
    background-position: 0 -2310px;
    width: 16px;
    height: 16px;
}
.icon-rule-bullet {
    background-position: 0 -2331px;
    width: 20px;
    height: 20px;
}
.icon-star-gray {
    background-position: 0 -2356px;
    width: 16px;
    height: 16px;
}
.icon-star-white {
    background-position: 0 -2377px;
    width: 24px;
    height: 24px;
}
.icon-star-white-outline {
    background-position: 0 -2406px;
    width: 24px;
    height: 24px;
}
.icon-star-yellow {
    background-position: 0 -2435px;
    width: 16px;
    height: 16px;
}
.icon-visible {
    background-position: 0 -2456px;
    width: 24px;
    height: 24px;
}

#calendar-box {
    direction: rtl;
    width: 100%;
    font-family: 'Sahel', sans-serif;
    text-align: center;
    color: #555;
    padding: 5px;
    margin: auto;
}

#select-date-buttons {
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 10px 25px;
}

.arrow-left {
  margin: 0px 15px;
  vertical-align: middle;
}

#calendar-header {
  margin: 5px;
}

.previous-month-button, .next-month-button {
  border: 1px solid #ccc;
  border-radius: 7px;
  cursor: pointer;
  background: white;
  padding-top: 5px;
  padding-bottom: 5px;
}

 .previous-month-button-deactive,  .next-month-button-deactive {
   border: 1px solid #EEE;
   cursor: default;
   color: #CCC;
 }

.previous-month-button > .material-icons, .next-month-button > .material-icons {
  font-size: 16px !important;
}

.next-month-button {
  float: left;
}

.previous-month-button {
  float: right;
}

.month-year {
  font-size: 20px;
  font-weight: bold;
}

table.weeks {
  table-layout: fixed;
  width: 100%;
  text-align: center;
}

table.weeks td{
  padding: 0px 5px;
}

table.weeks .day-name {
  color: #888;
  height: 30px;
}

table.weeks .day {
  background-color: rgba(90, 90, 150, 0.1);
  height: 53px;
  width: 100%;
  border-radius: 5px;
  display: inline-block;
  color: rgba(90, 90, 150, 1);
  cursor: pointer;
  position: relative;
  border-radius: 5px;
  overflow: hidden;
}

table.weeks .reservable:hover, table.weeks .notready:hover {
  background: rgba(90, 90, 150, 0.2);
}

table.weeks .day-number {
  font-weight: bold;
  font-size: 16px;
  margin-top: 5px;
}

table.weeks .day-price {
  font-size: 14px;
}

table.weeks .friday, table.weeks .holiday {
  color: red;
}

table.weeks .week .triangle {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 18px 18px 0;
  border-color: transparent #A0F000 transparent transparent;
  right: 0;
  top: 0;
  position: absolute;
}

table.weeks .reserved {
  color: #d8d8d8;
  background-color: rgba(250, 250, 250, 0.6);
  cursor: not-allowed;
}

table.weeks .reserved:hover {
  background-color: rgba(250, 250, 250, 0.3);
}

table.weeks .pending {
    color: #36352f;
    background-color: rgba(255, 251, 1, 0.8);
    cursor: not-allowed;
}

table.weeks .pending:hover {
    background-color: rgba(255, 251, 1, 0.5);
}

table.weeks .today {
  border: 2px solid rgba(110, 110, 170, 1);
}

table.weeks .old {
  background:
  /* On "top" */
  repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 8px,
    rgba(216, 216, 216, 0.6) 7px,
    rgba(216, 216, 216, 0.6) 10px
  );

  color: rgba(216, 216, 216, 0.6);

  cursor: text;
}

table.weeks .old .day-number {
  margin-top: 15px;
}

.start-date, .between-date, .end-date, .selected {
  background-color: rgba(90, 90, 150, 1) !important;
  color: white !important;
}

.between-date-hover, .day-hover {
  background-color: rgba(90, 90, 150, 0.5) !important;
  color: white !important;
}

.end-date .day-price {
  color: rgba(90, 90, 150, 1) !important;
}

.not-selectable {
  color: #d8d8d8 !important;
  background-color: rgba(250, 250, 250, 0.6) !important;
  cursor: not-allowed !important;
}

.field-error {
  background-color: rgba(170, 30, 20, 1);
  border: 1px solid rgba(255, 0, 0, 1);
  border-radius: 5px;
  color: white;
  margin: 3px 0px;
  padding: 10px;
  direction: rtl;
  text-align: right;
  display: none;
}

.request-result-message {
  display: none;
  margin: 5px 0px;
  direction: rtl;
  text-align: right;
}
