/* your styles go here */

body {
  font-family: "Nunito", Helvetica, Arial, sans-serif;
}
.contact_us {
  background-color: #c3e2e2;
  background-position: bottom center;
  background-repeat: no-repeat;
}
.form-control {
  height: auto;
}
.title_underline {
  margin-bottom: 2rem;
}
.title_underline::after {
  content: '';
  display: block;
  margin-top: 0.1rem;
  width: 5rem;
  height: 3px;
  background: #4e66f8;
  bottom: 0;
  left: 0;
}
.text-muted {
  font-size: 14px;
}
#ui-datepicker-div {
  z-index: 10000 !important;
}

/* Select2 Design */
.select2-container--default .select2-selection--single {
  height: 2.4rem;
  padding: 0.3rem;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
  padding: 1.2rem;
}

/* Required error message */
.parsley-errors-list {
  list-style-type: none !important;
  font-size: 0.9em !important;
  line-height: 0.9em !important;
  color: #B94A48 !important;
  padding: 0.5em 0 0 0 !important;
}

input.parsley-error, select.parsley-error, textarea.parsley-error {
  border: 1px solid #B94A48 !important;
}

#top-banner {
  height: 100vh;
  position: relative;
}

.scroll-div {
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  z-index: 1;
}

.scroll {
  color: #fff;
}

.scroll:hover {
  color: rgba(255,255,255,.8);
}

#top-banner .subtitle {
  max-width: 60%;
  margin: 0 auto;
}

.small-letter {
  text-transform: lowercase;
}

.dark-fullscreen {
  height: 100vh;
  width: 100%;
  background-color: rgba(0,0,0,.4);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.banner-text {
  text-shadow: 2px 2px black;
  position: absolute;
  top: 50%;
  z-index: 1;
  width: 100%;
  height: 50%;
}

.mydropdown-menu{
  display: none;
}

.mydropdown-menu.show{
  display: block;
  border-left: 1px solid var(--primary);
  border-right: 1px solid var(--primary);
  border-bottom: 1px solid var(--primary);
  padding: 0.375rem 0.75rem;
}

.form-radio {
     -webkit-appearance: none;
     -moz-appearance: none;
     appearance: none;
     display: inline-block;
     position: relative;
     background-color: #f1f1f1;
     color: #666;
     top: 10px;
     height: 30px;
     width: 30px;
     border: 0;
     border-radius: 50px;
     cursor: pointer;     
     margin-right: 7px;
     outline: none;
}

.form-radio:checked::before {
     position: absolute;
     font: 13px/1 'Open Sans', sans-serif;
     left: 11px;
     top: 7px;
     content: '\02143';
     transform: rotate(40deg);
}

.form-radio:hover {
     background-color: #f7f7f7;
}

.form-radio:checked {
     background-color: #f1f1f1;
}

label {
     font: 15px/1.7 'Open Sans', sans-serif;
     color: inherit;
     -webkit-font-smoothing: antialiased;
     -moz-osx-font-smoothing: grayscale;
     cursor: pointer;
}

.tbtext-mb {
  display: none;
}

#mymodal {
  display: block;
  padding-right: 17px;
  overflow-x: hidden;
  overflow-y: auto;
  background: rgba(0,0,0,.5)
}

.oh-text p {
  min-height: 35px;
}

.no-bse-group {
  display: none;
}

.sans-serif {
  font-family: "Poppins", sans-serif;
}

#cat {
  z-index: 2;
  display: none;
}

#cat, #sl2, #sl3, #compsize, #uom, #state, #city, #area, #nop, #amen, #ea, #rz, #conv, #pt, #od {
  max-height: 225px;
  overflow-y: auto;
  box-shadow: 0 0rem 1rem rgba(0, 0, 0, 0.175);
  padding: .535rem 0;
  position: absolute;
  left: 0;
  right: 0;
  background-color: #fff;
}

#cat input, #sl2 input, #sl3 input, #compsize input, #uom input, #state input, #city input, #area input, #nop input, #amen input, #ea input, #rz input, #conv input, #pt input, #od input, #dropdownarea input {
  position: absolute;
  right: 2%;
  -webkit-appearance: none;
  -moz-appearance: none;
  -o-appearance: none;
  appearance:none;
  outline: none;
}

#cat input:checked:after, #sl2 input:checked:after, #sl3 input:checked:after, #compsize input:checked:after, #uom input:checked:after, #state input:checked:after, #city input:checked:after, #area input:checked:after, #nop input:checked:after, #amen input:checked:after, #ea input:checked:after, #rz input:checked:after, #conv input:checked:after, #pt input:checked:after, #od input:checked:after, #dropdownarea input:checked:after {
  content: '';
  display: block;
  width: 0.5em;
  height: 1em;
  border-style: solid;
  border-width: 0 0.26em 0.26em 0;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  position: absolute;
  top: -10px;
  right: 4%;
}

#cat div:hover, #sl2 div:hover, #sl3 div:hover, #compsize div:hover, #uom div:hover, #state div:hover, #city div:hover, #area div:hover, #nop div:hover, #amen div:hover, #ea div:hover, #rz div:hover, #conv div:hover, #pt div:hover, #od div:hover, #dropdownarea div:hover {
  color: #4e66f8;
  text-decoration: none;
  background-color: #f8f9fa;
}

.multiselection-btn {
  color: #999; 
  background-color: #f8f9fa; 
  border-color: #f8f9fa; 
  text-align: left; 
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

.multiselection-btn .fa-caret-down {
  float: right;
}

#dropdownarea {
  position: absolute;
  z-index: 2;
  max-height: 225px;
  overflow-y: auto;
  width: 100%;
  padding: .535rem .535rem;
  box-shadow: 0 0rem 1rem rgba(0, 0, 0, 0.175);
  background-color: #fff;
}

.v-align-middle {
  vertical-align: middle!important;
}

.grey-bg {
  background-color: #d3d3d3;
}

.tb-border-bottom {
  border-bottom: 1px solid #dee2e6;
}

input[type="checkbox"] {
  height: 20px;
  width: 20px;
}

/************
media queries
************/
@media (max-width: 1024px) {
  /*****************
  responsive tb text
  *****************/
  #tr1 td:nth-of-type(4):before,#tr2 td:nth-of-type(2):before,#tr3 td:nth-of-type(4):before { content: 'Booking Type'; text-align: left; }
  #tr1 td:nth-of-type(5):before,#tr2 td:nth-of-type(3):before,#tr3 td:nth-of-type(5):before { content: 'Booking Units'; text-align: left; }
  #tr1 td:nth-of-type(6):before,#tr2 td:nth-of-type(4):before,#tr3 td:nth-of-type(6):before { content: 'Unit Price (RM)'; text-align: left; }
  #tr1 td:nth-of-type(7):before,#tr2 td:nth-of-type(5):before,#tr3 td:nth-of-type(7):before { content: 'Total Price (RM)'; text-align: left; }

  #tr4 td:nth-of-type(1) { text-align: left!important; }
  #tr5 td:nth-of-type(1) { text-align: left!important; }

  #addition td { text-align: right; }
  #addition td:nth-of-type(1):before { content: 'Description'; text-align: left; }
  #addition td:nth-of-type(2):before { content: 'Unit Price '; text-align: left; }
  #addition td:nth-of-type(3):before { content: 'Booking Units'; text-align: left; }
  #addition td:nth-of-type(4):before { content: 'Total'; text-align: left; }

  #deduction td { text-align: right; }
  #deduction td:nth-of-type(1):before { content: 'Description'; text-align: left; }
  #deduction td:nth-of-type(2):before { content: 'Unit Price '; text-align: left; }
  #deduction td:nth-of-type(3):before { content: 'Booking Units'; text-align: left; }
  #deduction td:nth-of-type(4):before { content: 'Total'; text-align: left; }

  .smaller {
    font-size: .7rem;
  }

  #result .card-body {
    padding: .5rem;
  }
}
@media (max-width: 991px) {
}
@media (max-width: 767px) {    
}
@media (max-width: 575px) {
  #top-banner .subtitle {
    max-width: 100%;
  }
  .banner-text {
    top: 40%;
  }   
}
@media (min-width: 576px) {
}
@media (min-width: 768px)  {    
}
@media (min-width: 992px) {
  .banner-text {
    font-size: 1.5rem;
  }
}
@media (min-width: 1200px) {    
}
@media(min-width: 1280px) {    
}
@media(min-width: 1300px) {   
}
@media(min-width: 1680px) {
}
@media (min-width: 1980px) {    
}

/*
  Max width before this PARTICULAR table gets nasty. This query will take effect for any screen smaller than 760px and also iPads specifically.
*/
@media only screen and (max-width: 760px), (min-device-width: 768px) and (max-device-width: 1024px)  {
  table, thead, tbody, th, td, tr {
    display: block;
  }

  thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  tr {
    margin: 0 0 1rem 0;
  }
    
  tr:nth-child(odd) {
    background: #ccc;
  }

  td {
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 25%;
  }

  td:before {
    position: absolute;
    top: 0;
    left: 6px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
  }

  .tbtext-mb {
    display: inline;
  }
}
