@font-face {
  font-family: "reg-font";
  src: url("../fonts/CarmelitRegular.otf") format("opentype"),
       url("../fonts/CarmelitRegular.woff") format('woff');
}
@font-face {
  font-family: "title-font";
  src: url("../fonts/OzradCLM-Bold.woff") format('woff');
}

body {
  padding: 120px 80px;
  font: 14px "reg-font" ariel sans-serif;
  background: #fff8f0;
  line-height: 1.25;
}

hr {
  width: 60%;
  margin: 20px auto 40px auto;
}

a {
  color: #00B7FF;
}

.DayPicker {
    width: 100% !important;
}

/* Tables css */
/* copied from https://codepen.io/AllThingsSmitty/pen/MyqmdM */

/* Override rc-table default styles to prevent red borders and other conflicts */
.rc-table {
    border: none !important;
    margin: inherit !important;
}
.rc-table table {
    border-collapse: collapse !important;
    font-size: 1.5em !important;
    border: 1px solid #ccc !important;
    margin: inherit !important;
}
.rc-table-container {
    border: none !important;
    margin: inherit !important;
}
.rc-table-content {
    border: none !important;
    margin: inherit !important;
}
.rc-table-cell {
    border: none !important;
    text-align: center !important;
    direction: rtl !important;
    background: inherit !important;
}
.rc-table-thead .rc-table-cell {
    text-align: center !important;
    border-bottom: 1px solid #ddd !important;
    background: #f8f8f8 !important;
}
.rc-table-row {
    background: #f8f8f8 !important;
    border-bottom: 1px solid #ddd !important;
}

table.data-table {
    border: 1px solid #ccc;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
    table-layout: fixed;
    font-size: 1.5em;
    margin: .5em 0 .75em;
    direction: rtl;
}
table.data-table tr {
  background: #f8f8f8;
  border: 1px solid #ddd;
  padding: .35em;
}
table.data-table th,
table.data-table td {
  padding: .625em;
  text-align: center;
  border: none;
  direction: rtl;
}
table.data-table th {
  font-size: .85em;
  letter-spacing: .1em;
  text-transform: uppercase;
}
table.data-table th {
  font-size: .85em;
  letter-spacing: .1em;
  text-transform: uppercase;
}
table.data-table td {
    cursor: pointer;
}
@media screen and (max-width: 600px) {
  table.data-table {
    border: 0;
  }
  table.data-table caption {
    font-size: 1.3em;
  }
  table.data-table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  table.data-table tr {
    border-bottom: 3px solid #ddd;
    display: block;
    margin-bottom: .625em;
  }
  table.data-table td {
    border-bottom: 1px solid #ddd;
    display: block;
    font-size: .8em;
    text-align: right;
  }
  table.data-table td:before {
    /*
    * aria-label has no advantage, it won't be read inside a table
    content: attr(aria-label);
    */
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
  }
  table.data-table td:last-child {
    border-bottom: 0;
  }
}

/* Dropdown style */

.result {
  padding: 8px 0;
}

.Dropdown-root {
  position: relative;
}

.Dropdown-control {
  position: relative;
  overflow: hidden;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 2px;
  box-sizing: border-box;
  color: #333;
  cursor: default;
  outline: none;
  padding: 8px 52px 8px 10px;
  transition: all 200ms ease;
}

.Dropdown-control:hover {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.Dropdown-arrow {
  border-color: #999 transparent transparent;
  border-style: solid;
  border-width: 5px 5px 0;
  content: ' ';
  display: block;
  height: 0;
  margin-top: -ceil(2.5);
  position: absolute;
  right: 10px;
  top: 14px;
  width: 0
}

.is-open .Dropdown-arrow {
  border-color: transparent transparent #999;
  border-width: 0 5px 5px;
}

.Dropdown-menu {
  background-color: white;
  border: 1px solid #ccc;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
  margin-top: -1px;
  max-height: 200px;
  overflow-y: auto;
  position: absolute;
  top: 100%;
  width: 100%;
  z-index: 1000;
  -webkit-overflow-scrolling: touch;
}

.Dropdown-menu .Dropdown-group > .Dropdown-title {
  padding: 8px 10px;
  color: rgba(51, 51, 51, 1.2);
  font-weight: bold;
  text-transform: capitalize;
}

.Dropdown-option {
  box-sizing: border-box;
  color: rgba(51, 51, 51, 0.8);
  cursor: pointer;
  display: block;
  padding: 8px 10px;
}

.Dropdown-option:last-child {
  border-bottom-right-radius: 2px;
   border-bottom-left-radius: 2px;
}

.Dropdown-option:hover {
  background-color: #f2f9fc;
  color: #333;
}

.Dropdown-option.is-selected {
  background-color: #f2f9fc;
  color: #333;
}

.Dropdown-noresults {
  box-sizing: border-box;
  color: #ccc;
  cursor: default;
  display: block;
  padding: 8px 10px;
}

/* Switch */
.rsbc-switch-button { float: right; }
.react-toggle { float: right; }
.react-toggle--checked .react-toggle-track { background: rgb(112, 38, 138) !important; }
.react-toggle-thumb { border-color: rgb(112, 38, 138) !important;  }

/* tabs style */
.tab {
    /* text and font */
    text-align: center;
    font-size: "reg-font", "ariel", "sans-serif";
    color: #20303c;
    direction: rtl;
    font-size: 18px;
    /* box */
    padding: 10px;
    background: #fff8f0;

    list-style: none;
}
.selected-tab {
    background: #e8e8e8;
}

/* for aligning rows */
@media (min-width:768px) and (max-width: 991px) {
  .row > div:nth-child(2n+3) {
    clear: left;
  }
}
@media (min-width: 992px) {
  .row > div:nth-child(3n+4) {
    clear: left;
  }
}


.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}
