@font-face 
{
    font-family: AdvertisingBold;
    src: url(../fonts/AdvertisingBold.ttf);
}

@font-face 
{
    font-family: AirStripArabic;
    src: url(../fonts/Air-Strip-Arabic.ttf);
}


@font-face 
{
    font-family: RawyRegular;
    src: url(../fonts/VIP-Rawy-Regular.otf);
}

*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    direction: rtl;
}

body
{
  background-color: rgb(228, 228, 228);
}

.home-wrap
{
  display: flex;
  max-width: 1000px;
  min-height: 450px;
  margin: 1.5% auto 0 auto;
  background-color: #97a6ff;
  justify-content: space-between;
  border: #97a6ff thin solid;
}

.home-image
{
    width: 100%;
    max-width: 250px;
    height: auto;
    margin: 10px auto;
}

.home-right,
.home-left
{
    max-width: 500px;
    width: 500px;
    min-height: 450px;
    flex-grow: 1;
}

.home-right
{
  background-color: #fff;
  padding: 10px 30px;
  display: flex;
  flex-direction: column;
}

.welcome-side
{
  display: flex;
  width: 94%;
  height: 60px;
  margin: 10px auto;
  background-color: #a8b5ff;
  padding: 15px 10px;
  -webkit-border-radius: 40px;
  -moz-border-radius: 40px;
  border-radius: 40px;
  font-family: RawyRegular;
  font-size: 1.3rem;
}

.d-flex
{
    display: flex;
}

.h100vh
{
  height: calc(100vh - 170px);
}

.side-nav
{
  font-size: 1.3rem;
  margin-top: 5px;
  font-family: Tahoma;
  direction: ltr;
}

.side-nav div
{
  margin-top: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  color: #fff;
  font-family: AdvertisingBold;
}

.side-nav div div
{
    margin-right: 40px;
}

.selectedPage
{
    border-right: #25AEBA solid 8px;
    color: #25AEBA;
}

.selectedPage div
{
    margin-right: 32px !important;
    color: #25AEBA;
}

.iHeader
{
  width: 100%;
  height: 85px;
  display: flex;
  justify-content: space-between;
  background-color: #97a6ff;
}

.side-nav div div
{
    margin-left: 40px;
}

.col-dir
{
    flex-direction: column;
}

.col-dir-reverse
{
    flex-direction: column-reverse;
}

.flex-grow-1
{
  flex-grow: 1;
}

.flex-grow-2
{
  flex-grow: 2;
}

.dashbord-container
{
  width: 97%;
  border: lightgrey solid thin;
  height: calc(100vh - 110px);
  margin: 10px auto;
  background-color: #fff;
  padding: 0.3rem;
  overflow: hidden;
  overflow-y: scroll;
}

.dashbord-container .seccion-subject
{
  font-family: AdvertisingBold;
  padding: 0px 15px;
  border-bottom: 2px solid #7d8bdb;
  width: fit-content;
}

.dashboard-booking-wrap,
.location_wrap
{
  width: 95%;
  display: flex;
  flex-wrap: wrap;
  margin: 10px auto;
}

.dashboard-booking-wrap .booking-card
{
  margin-bottom: 15px;
  margin-left: 15px;
  border:#7d8bdb solid thin;
  width: 350px;
  padding: 15px 10px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}

.location_div
{
  width: 120px;
  height: 120px;
  border: #7d8bdb solid 2px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  text-align: center;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
  color: #7d8bdb;
  margin: 5px 15px 10px 15px;
  cursor: pointer;
  font-size: 1.2rem;
  font-family: AdvertisingBold;
}

.add_location
{
  background-color: #7d8bdb;
  color: #FFF;
}

.inactive-location
{
  border: #ccc solid 2px;
  background-color: rgb(216, 216, 216);
  opacity: 0.8;
}

.booking-row
{
  display: flex;
  padding: 5px 10px;
  font-family: AdvertisingBold;
}

.btn_info
{
  width: fit-content;
  margin-top: 5px;
  padding: 5px;
  float: left;
  font-size: 1.6rem;
  cursor: pointer;
}

.btn_info,
.txt-color-1
{
  color: #7d8bdb;
}

.row-divider
{
  height: 1px;
  width: 97%;
  margin: 0 auto;
  background-color: lightgrey;
}

.serch-wrap
{
  margin: 15px auto;
  width: 98%;
  font-family: AdvertisingBold;
}

.serch-input
{
  padding: 5px 10px;
  margin: 5px 10px;
  border: 0;
  border-bottom: 2px #25AEBA solid;
}

.serch-select
{
  font-family: AdvertisingBold;

}

.serch-icon
{
  font-size: 1.3rem;
  color: #25AEBA;
  position: relative;
  right: -40px
}

.home-left,
.center-text
{
    text-align: center;
}

.font-Advertising
{
    font-family: AdvertisingBold !important;
}

.home-right div h1{
    text-align: center;
    font-family: AdvertisingBold !important;
    font-size: 1.9rem;
    margin-top: 30px;
}

.home-right div p{
    font-family: AirStripArabic;
    margin: 15px 0;
    font-size: 1.45rem;
}

.darkgray-text
{
    color: darkgray;
}

.home-btns
{
    display: flex;
    justify-content: center;
    margin: 10px auto;
}

.home-btns div
{
    margin: 10px 25px;
    padding: 10px 15px;
    font-family: AdvertisingBold !important;
    border: #97a6ff thin solid;
    color: #fff;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    background: #97a6ff;
    background-image: -webkit-linear-gradient(top, #97a6ff, #a8b5ff);
    background-image: -moz-linear-gradient(top, #97a6ff, #a8b5ff);
    background-image: -ms-linear-gradient(top, #97a6ff, #a8b5ff);
    background-image: -o-linear-gradient(top, #97a6ff, #a8b5ff);
    background-image: linear-gradient(to bottom, #97a6ff, #a8b5ff);
    cursor: pointer;
}

.home-btns div:hover 
{
    background: #97a6ff;
    background-image: -webkit-linear-gradient(top, #97a6ff, #97a6ff);
    background-image: -moz-linear-gradient(top, #97a6ff, #97a6ff);
    background-image: -ms-linear-gradient(top, #97a6ff, #97a6ff);
    background-image: -o-linear-gradient(top, #97a6ff, #97a6ff);
    background-image: linear-gradient(to bottom, #97a6ff, #97a6ff);
    text-decoration: none;
}

.home-footer
{
    display: flex;
    justify-content: space-between;
    height: 50px;
    align-items: center;
}

.set-postion
{
  margin-top: 18px;
  margin-right: 18px;
  color: #fff;
}

.w-85
{
    width: 85%;
}

.control-panel-image
{
    width: 30%;
    height: fit-content;
    color: #7d8bdb;
    margin-left: 20px;
}

.text-left
{
    text-align: left;
}

.red-text
{
    color: red;
}

.green-text
{
    color: green;
}

.black-text
{
    color: black;
}

.sm-text
{
    font-size: 0.8rem !important;
}

.calender-header,
.calender-days-name
{
    display: flex;
    justify-content: space-between;
    margin-top: 1.2rem;
    font-size: 1.3rem;
    font-family: AirStripArabic;
    padding: 5px 20px;
}

.cal-nav
{
    border: #a8b5ff solid thick;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    padding: 5px 15px;
    cursor: pointer;
}

.calender-days-name
{
    font-size: 1.0rem;
}


#calendar_days,
#calendar_body
{
    display: flex;
    margin: 0rem auto;
    width: 100%;
    flex-wrap: wrap;
}

#calendar_body
{
    background-color: #a8b5ff;
}

#calendar_days > div,
#calendar_body > div
{
    width: 14.00%;
    text-align: center;
    /* height: 30px; */
    font-family: Ubuntu-Bold;
    font-size: 1rem;    
    padding: 2px;
}

#calendar_body > div
{
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    padding: 10px 1px;    
    margin-left: auto;
    margin-right: auto;
}

.today,
.selected_day
{
    color: black;
    background-color: #FFF;
    border: darkslateblue solid thin;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    width: 40px;
    margin-left: auto;
    margin-right: auto;
}

.selected_day
{
    background-color: lightblue;
}

.calendar-date
{
    text-align: center;
    margin: 10px auto;
    padding: 5px 15px;
    font-size: 1.3rem;
    width: fit-content;
    border-bottom: 2px solid #97a6ff;
}

.calendar-place-name
{
    font-family: AdvertisingBold;
    font-size: 1.1rem;
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-around;
}

.place-card
{
    max-width: 195px;
    width: 90%;
    height: 230px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    background-color: #97a7ff73;
    margin-bottom: 20px;
    border: #97a6ff solid thin;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.card-title
{
    text-align: center;
    border-bottom: 2px #a8b5ff solid;
    width: fit-content;
    margin: 10px auto;
}

.card-link
{
    margin: 15px auto;
    background-color: #a8b5ff;
    color: #FFF;
    text-align: center;
    width: 94%;
    cursor: pointer;
}

.post-image
{
    width: auto;
    height: auto;
    padding: 5px;
    text-align: center;
    align-items: stretch;
}

.capcity
{
  text-align: center;
  color: #6d6d6d;
  font-size: 1rem;
}

.selection-item
{
  width: 109px;
  padding: 10px 12px;
  border: #97a6ff solid thin;
  height: 45px;
  text-align: center;
  cursor: pointer;
  margin-right: 5px;
  padding-left: 5px;
  font-family: AdvertisingBold;
  font-size: 0.8rem;
}

.selected-item
{
  background-color: #97a6ff;
  color: white;
}

.excel-btn
{
  color: green;
  margin-top: 10px;
  width: fit-content;
  border: green solid thin;
  padding: 10px 15px;
  cursor: pointer;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}


.space-between
{
  justify-content: space-between;
}

.timefrim-wrap
{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.timefrim
{
    margin: 10px 5px 10px 15px;
    width: 120px;
    height: 100px;
    border: 1px solid #97a6ff;
    padding: 10px;
    font-size: 0.9rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    cursor: pointer;
}

.form-group
{
    display: flex;
}

.form-group label
{
    display: block;
    font-family: AdvertisingBold;
    font-size: 1rem;
    padding: 10px 0;
    width: 100%;
    margin: 10px auto;
}

.form-group input
{
    padding: 10px;
    margin: 20px auto;
    width: 98%;
    display: block;
    clear: both;
}

.btn
{
    font-size: 1.06rem;
    padding: 10px 20px;
    background-color: lightgray;
    font-family: AdvertisingBold;
    border: 1px solid lightgray;
    width: fit-content;
    cursor: pointer;
    margin-left: 20px;
}

.btn-confirm
{
  background-color: #97a6ff;
  border: #97a6ff 1px solid;
  color: #FFF;
}

.btn-danger
{
  background-color: red;
  border: red 1px solid;
  color: #FFF;
}

.search-error
{
  color: red;
  font-family: RawyRegular;
  margin-top: -10px;
  margin-right: 10px;
}

.pointer
{
  cursor: pointer;
}

.flex
{
    display: flex;
}

.col-dir
{
    flex-direction: column;
}

.back-icon
{
    cursor: pointer;
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}

.book-status
{
    width: 97%;
    margin: 30px auto;
}

.book-status h3
{
    font-family: AdvertisingBold;
    font-size: 0.9;
    margin-bottom: 15px;
}

.book-status
{
    font-family: RawyRegular;
    font-size: 1.4rem;
    margin-top: 15px;
}

.bookId
{
    border: #97a6ff dotted thick;
    font-weight: bold;
    padding: 4px 6px;
    margin: 0 5px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.emailId
{
    font-family: 'Times New Roman', Times, serif !important;
    text-align: center;
    font-size: 1.1rem !important;
}

.section_title
{
    display: flex;
    width: fit-content;
    padding: 0;
    border: #97a6ff solid thin;
}

.section_icon
{
    background-color: #97a6ff;
    padding: 10px;
    margin-left: 5px;
    width: 50px;
    height: 100%;
    text-align: center;
}


.reset-link
{
  text-align: left;
  font-size: 0.8rem;
  font-family: AdvertisingBold;
  margin-left: 20px;
  color: #7d8bdb;
  cursor: pointer;
}

.sTitle
{
    width: max-content;
    padding: 5px;
    text-align: center;
    font-family: RawyRegular;
    margin-left: 5px;
    font-size: 1.1rem;
}

.formLocationWrap
{
  width: 45%;
  min-width: 380px;
  padding: 10px;
  margin: 15px auto;
  font-family: AdvertisingBold;
}

.admin-options
{
  width: 135px!important;
  padding: 5px 15px;
  font-family: AdvertisingBold;
  cursor: pointer;
}

.formInputWrap
{
  margin: 10px auto;
}

.CancelBooking
{
  color: red;
  opacity: 0.7;
}

.CancelBooking:hover
{
  opacity: 1;
}
.formInputWrap input[type=text]
{
  width: 100%;
  padding: 20px 5px 5px 5px;
  border: 0;
  font-size: 1.2rem;
  border-bottom: 1px solid #7d8bdb;
}

.status_message
{
  margin: 20px auto;
  width: 97%;
  font-family: AdvertisingBold;
  font-size: 1.1rem;
}

.status_message strong
{
  font-family: AirStripArabic;
}

#cpanel
{
    background-image: url('../images/favicon.png');
    width: 50px;
    height: 50px;
}

.back-home{margin: 10px auto; width: fit-content; padding: 10px 5px; font-size: 1.2rem; background-color: #fefefe;
    border-radius: 5px; cursor: pointer; color: #7d8bdb; font-family: RawyRegular;}

.idate{cursor: pointer;}

.loader {
    color: #97a6ff;
    font-size: 15px;
    margin: 100px auto;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    position: relative;
    text-indent: -9999em;
    -webkit-animation: load4 1.3s infinite linear;
    animation: load4 1.3s infinite linear;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
  }
  @-webkit-keyframes load4 {
    0%,
    100% {
      box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0;
    }
    12.5% {
      box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
    }
    25% {
      box-shadow: 0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
    }
    37.5% {
      box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;
    }
    50% {
      box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;
    }
    62.5% {
      box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;
    }
    75% {
      box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;
    }
    87.5% {
      box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;
    }
  }
  @keyframes load4 {
    0%,
    100% {
      box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0;
    }
    12.5% {
      box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
    }
    25% {
      box-shadow: 0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
    }
    37.5% {
      box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;
    }
    50% {
      box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;
    }
    62.5% {
      box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;
    }
    75% {
      box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;
    }
    87.5% {
      box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;
    }
  }
  


/* 
.spanner{
    position:absolute;
    top: 50%;
    left: 0;
    background: #2a2a2a;
    width: 100%;
    display:block;
    text-align:center;
    height: 300px;
    color: #FFF;
    transform: translateY(-50%);
    z-index: 1000;
    visibility: hidden;
  }
  
  .overlay{
    position: fixed;
      width: 100%;
      height: 100%;
    background: rgba(0,0,0,0.5);
    visibility: hidden;
  }
  
  .loader,
  .loader:before,
  .loader:after {
    border-radius: 50%;
    width: 2.5em;
    height: 2.5em;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation: load7 1.8s infinite ease-in-out;
    animation: load7 1.8s infinite ease-in-out;
  }
  .loader {
    color: #ffffff;
    font-size: 10px;
    margin: 80px auto;
    position: relative;
    text-indent: -9999em;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
  }
  .loader:before,
  .loader:after {
    content: '';
    position: absolute;
    top: 0;
  }
  .loader:before {
    left: -3.5em;
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
  }
  .loader:after {
    left: 3.5em;
  }
  @-webkit-keyframes load7 {
    0%,
    80%,
    100% {
      box-shadow: 0 2.5em 0 -1.3em;
    }
    40% {
      box-shadow: 0 2.5em 0 0;
    }
  }
  @keyframes load7 {
    0%,
    80%,
    100% {
      box-shadow: 0 2.5em 0 -1.3em;
    }
    40% {
      box-shadow: 0 2.5em 0 0;
    }
  }
  
  .show{
    visibility: visible;
  }
  
  .spanner, .overlay{
      opacity: 0;
      -webkit-transition: all 0.3s;
      -moz-transition: all 0.3s;
      transition: all 0.3s;
  }
  
  .spanner.show, .overlay.show {
      opacity: 1
  } */


  .panel{width:300px;position:relative;background-color:#ccc;height:300px; padding:20px;}
.panel .front{
  width:300px;
  height:200px;
  margin:10px;
  position:absolute;
  top:0px;
  left:0px;
  border: 1px solid #ccc;
    background: #6b7077;
    text-align: center;
    box-shadow: 0 1px 5px rgba(0,0,0,0.9);
    -webkit-transform: rotateX(0) rotateY(0);
    transform: rotateX(0) rotateY(0);
  -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
   -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.panel .back{
  width:300px;
  height:200px;
  margin:10px;
  position:absolute;
  top:0px;
  left:0px;
  border: 1px solid #ccc;
    background: #6b7077;
    text-align: center;
    box-shadow: 0 1px 5px rgba(0,0,0,0.9);
    -webkit-transform: rotateY(-179deg);
    transform: rotateY(-179deg);
  -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
   -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.panel.flip .front{ transform: rotateY(179deg) }
.panel.flip .back{ -webkit-transform: rotateX(0) rotateY(0); }

  .panel {
    -webkit-perspective: 800px;
            perspective: 800px;
  }
 .swing .front,
  .swing .back {
    width: 140px;
    -webkit-transition-duration: 1s;
    transition-duration: 1s;
    -webkit-transform-origin: 170px 0;
    transform-origin: 170px 0;
  }
  .swing .front {
    -webkit-transform: rotateY(0);
    transform: rotateY(0);
  }
  .swing .back {
    background-color: #555; /* hiding this side, so get darker */
    -webkit-transform: rotateY(-180deg) translateX(198px) translateZ(2px);
            transform: rotateY(-180deg) translateX(198px) translateZ(2px);
  }

  .swing.flipswing .front {
    background-color: #222; /* hiding this side, so get darker */
    -webkit-transform: rotateY(180deg);
            transform: rotateY(180deg);
  }
  .swing.flipswing .back {
    background-color: #80888f;
    -webkit-transform: rotateY(0) translateX(198px) translateZ(2px);
            transform: rotateY(0) translateX(198px) translateZ(2px);
  }




  /* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #7d8bdb;
}

input:focus + .slider {
  box-shadow: 0 0 1px #7d8bdb;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}