/*********Start_with_clear_margins_for_the_page*******************/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/** 
  make the top elements full width and height
**/
html, body{
  width: -webkit-fill-available;
  height: -webkit-fill-available;
  overflow-y: hidden;
}
/******************Index_Styles_Start****************************/
/** 
  Background for the whole page
**/
.index{
  background-image: url("../images/dash.png");
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: -webkit-fill-available;
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-right: -14px;
}
/** 
    get rid of the scroll bars
**/
.index::-webkit-scrollbar { 
  display: none; 
} 
/** 
    div at middle of the page displaying text
**/
.header{
  font-family: 'Racing Sans One', cursive;
  font-size: 6vw;
  font-weight: 600;
  position: relative;
  display: inline-block;
  text-align: center;
  width: 100%;
}
/** 
    style for the fonts
**/
.header h1{
  letter-spacing: .24vw;
  background: -webkit-linear-gradient(top, rgba(88, 85, 85) 0%,
                                   rgba(106, 104, 107) 24%, 
                                   rgba(201, 201, 201) 43%, 
                                   rgba(130, 130, 130) 84%, 
                                   rgba(166,166,166,1) 96%); 
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width:3px;-webkit-text-stroke-color: #FFFFFF;
    color: #fff;
    
}
/** 
    move the second line of the header text just a litle 
**/
.indent{
  position: relative;
  top: 4vh;
  left: 2vw;
}
/** 
    style the div that contains the logo
**/
.logo{
  position: relative;
  margin: 5vh 2vw 5vh 2vw;
  padding-left: 4vw;
  width: fit-content;
  float: left;
}
/** 
    size the image
**/
.logo img{
  width: 300px;
  height: 300px;
}
/********END_INDEX_START_NAV***********/
/** 
    style the navbar 
**/
.topnav {
  position: relative;
  float: right;
  margin: 5vh 4vw 5vh 2vw;
  padding-right: 4vw;
}
/** 
    style the links
**/
.topnav a {
  font-size: 2em;
  display: block;
  color: #f2f2f2;
  text-align: center;
  margin-bottom: 5vh;
  padding: 14px 16px;
  text-decoration: none;
  cursor: pointer;
}
/** 
    color change on hover
**/
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/********END_NAV_START_PACKAGES_NAV***********/
/** 
    Styles for the nav on the packages page
    start with the container holding the nav links
**/
.packs_page_nav{
  width: 80%;
  position: fixed;
  left: 10%;
  top: 2vh;
  margin: 0;
  padding: .5vh;
}
/** 
    styles for the links and position
**/
.packs_page_nav a{
  display: inline-flex;
  font-size: 2em;
  padding: .5vh;
  text-decoration: none;
  color: #170000;
}
/** 
    float the one link to other side
**/
.right{
  float: right;
}
/** 
    color change on hover
**/
.packs_page_nav a:hover {
  background-color: #b7b0b0;
  color: #820000;
}
/********END_PACKS_NAV_START_PACKAGES_PAGE***********/
/**
  Container for different packages 
**/
.packages-box {
  position: absolute;
  width: 90%;
  height: 85vh;
  overflow: hidden;
  left: 5%;
  top: 7%;
}
/**
  make the first package visible when the page loads
**/
.first{
  display: block;
}
/**
  packages hidden by default
**/
.packs {
    display: none;
    position: absolute;
    width: 80%;
    height: -webkit-fill-available;
    left: 10%;
    top: 2%;
}
/**
  style for the images in the carousel
**/
.packs img{
  width: 80%;
    height: -webkit-fill-available;
    position: absolute;
    top: 15vh;
    left: 10%;
    opacity: .2;
}
/**
  style for the description text
**/
.pack_desc{
  width: 70%;
    position: absolute;
    left: 12%;
    top: 20%;
    font-size: 3vh;
}
/**
  the back and forward buttons
**/
.back, .forw {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  color: #040000;
  font-weight: bold;
  font-size: 3em;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}
/**
  put the forward button on the right side of the page 
**/
.forw {
  right: 0;
  border-radius: 3px 0 0 3px;
}
/**
  change the styles on hover
**/
.back:hover, .forw:hover {
  background-color: rgba(0,0,0,0.8);
}
/**
  styles for the title of the package
**/
.packname {
  color: #0c0b0b;
  font-size: 4vh;
  padding: 8px 12px;
  position: absolute;
  top:8%;
  width: 100%;
  text-align: center;
}

/**
   styles for the page number (1/3 etc) 
**/
.packnumbers {
  color: #040404;
  font-size: 6vh;
  padding: 8px 12px;
  position: absolute;
  left: 33vw;
}
/**
  style the list in the text div
**/
.desc_list{
  position: relative;
    left: 5%;
    margin-top: 2%;
}
/**
  style the list text
**/
.desc_list li{
  font-size: 2.5vh;
}
/**
  positioning for the dots that show current page
**/
.dot_div{
  position: absolute;
  left: 46.5%;
  top: 4%;
  text-align: center;
}

/**  
  styles for the nav dots that show which of the 4 pages is current
**/
.dot {
  cursor: pointer;
  height: 30px;
  width: 30px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}
/**  
  styles for the nav dots on hover
**/
.active, .dot:hover {
  background-color: #060606;
}

/********END_PACKAGES***********/




/***********MODAL_BOX_START*************

/**
 The Modal (background) 
**/
.modal {
  visibility: hidden;
  position: absolute;
  z-index: 2;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; 
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.4);
}

/**
 The modal content styles
**/
.modal-content {
  position: relative;
  background-color: #e0dede;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  width: 80%;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {top:-300px; opacity:0} 
  to {top:0; opacity:1}
}

@keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}

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

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

.modal-header {
  padding: .2vh 1.6vw;
    background-color: #CA3435;
    text-align: center;
    height: 5vh;
    color: white;
    border-bottom: .5vh solid #000000;
}
.modal-header h1{
  font-family: 'Racing Sans One', cursive;
  font-size: 2em;
  font-weight: 900;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #000000;
}
.modal-body {
  padding: .2vh 1.6vw;
}

.modal-body img{
  width: 200px;
  height: 200px;
  position: relative;
  left: 80%;
}

.body-text{
  position: absolute;
  display: flex;
  width: 50vw;
  top: 8vh;
  left: 5%;
}

.name-tag{
  margin-right: 10vw;
  padding: 5px;
}

.tag{
  font-size: 2em;
  padding-left: 1.5vw;
}

.name{
  font-family: 'Racing Sans One', cursive;
  font-size: 3em;
  padding-top: 3vh;
  font-weight: 900;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #fb0404;
}

.contact-tag{
  text-align: center;
}

.con-tag{
  font-size: 1.2em;
  padding-bottom: 1vh;
}

.method-of-contact{
  font-family: 'Racing Sans One', cursive;
  font-size: 1.8em;
  padding-bottom: 10px;
  font-weight: 600;
  -webkit-text-stroke-width: .8px;
  -webkit-text-stroke-color: #fb0404;
}

.modal-footer {
  text-align: center;
  padding: 2px 16px;
  background-color: #CA3435;
  color: #000000;
  border-top: 1vh solid #000000;
}

.modal-footer h3{
  font-family: 'Racing Sans One', cursive;
  font-size: 1.5em;
  padding-top: .5%;
  color: white;
  font-weight: 900;
  -webkit-text-stroke-width: .8px;
  -webkit-text-stroke-color: #000000;
}


/***************************END_Modal_Box*********************/


/*********Media_Queries***********/


@media screen and (max-width: 400px){
/*********Media_Query_for_index_page***********/
html, body{
    min-height: 100%;
    overflow-x: hidden;
    max-width: 320px;
  }
  body{
    margin-right: 0px;
  }
  .logo{
    height: 40vh;
    margin: 1vh 0;
    padding: 0;
    width: 100%;
    text-align: center;
  }
  .logo img{
    width: 250px;
    height: 250px;
  }
  .header{
    height: 23vh;
    position: relative;
    bottom: -4vh;
  }
  .header h1{
    font-size: 1.5em;
    font-size: 1.5em;
    -webkit-text-stroke-width: 1.5px;
    -webkit-text-stroke-color: #FFFFFF;
  }
  .topnav{
    width: 100%;
    font-family: 'Racing Sans One', cursive;
    text-align: center;
    margin:0;
    padding: 0;
  }
  .topnav a{
    
    letter-spacing: 1px;
    color: #FEFEFE;
    -webkit-text-stroke-width: 1.5px;
    -webkit-text-stroke-color: #1B1B1B;
    font-size: 2em;
    font-weight: 900;
    margin: 0;
  }
/*********Media_Query_for_packages_page***********/
  .packs_body{
    max-height: 530px;
  }
  .packs_page_nav{
    width: 98%;
    left: 1.5%;
    top: 87%;
  }
  .packs_page_nav a{
    font-size: large;
  }
  .packages-box{
    max-width: 98%;
    height: 79vh;
    margin: 0 auto;
  }
  .back, .forw{
    padding: 0;
  }
  .packnumbers{
    font-size: 5vh;
    left: 30vw;
    top: 0;
  }
  .packname{
    padding: 0;
    font-size: 1.2em;
    font-weight: 600;
    top: 8%;
  }
  .packs{
    position: initial;
    width: 100%;
    top: 2%;
    height: inherit;
  }
  .packs img{
    height: 80%;
    top: 13vh;
    border: 2px solid #0e0909;
    width: 90%;
    left:5%;
  }
  .pack_desc{
    width: 90%;
    height: 63vh;
    position: relative;
    left: 5%;
    top: 19%;
    font-size: 1em;
    color: #000000;
    text-align: center;
    overflow: scroll;
  }
  .desc_list{
    position: none;
    left: 0;
    list-style-type: none;
  }
  .desc_list li{
    font-size: .8em;
  }
  .dot_div{
    text-align: center;
    position: absolute;
    left: 30%;
    bottom: 1%;
  }
  hr{
    left: 2px;
    position: inherit;
  }
  .back, .forw{
    visibility: hidden;
  }
/*********Media_Query_for_the_modal***********/
  .modal-content {
    background-color: #e0dede;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 100%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
  }
  .close {
    display: inline-flex;
    padding-top: 2vh;
    color: #000000;
    float: right;
    font-size: large;
    font-weight: bold;
  }

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

  .modal-header {
    padding: .2vh 1.6vw;
    background-color: #CA3435;
    text-align: left;
    height: auto;
    color: white;
    border-bottom: .5vh solid #000000;
  }
  .modal-header h1{
    font-family: 'Racing Sans One', cursive;
    font-size: 3vh;
    font-weight: 900;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #000000;
  }
  .modal-body {
    padding: 0;
    height: 55vh;
  }

  .modal-body img{
    width: 200px;
    height: 200px;
    position: absolute;
    left: 45%;
    top: 10.5vh;
  }

  .body-text{
    position: absolute;
    display: flex;
    width: 50vw;
    top: 8vh;
    left: 0;
  }

  .name-tag{
    margin-right: 1vw;
    padding: 5px;
  }

  .tag{
    font-size: 2vh;
    padding-left: 5vw;
    padding-top: 5vh;
  }

  .name{
    font-family: 'Racing Sans One', cursive;
    font-size: 3em;
    padding-top: 0;
    font-weight: 900;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #fb0404;
  }

  .contact-tag{
    text-align: center;
    position: absolute;
    top: 28vh;
    left: 20%;
  }

  .con-tag{
    font-size: medium;
    padding-bottom: 1vh;
  }

  .method-of-contact{
    font-family: 'Racing Sans One', cursive;
    font-size: x-large;
    padding-bottom: 10px;
    font-weight: 600;
    -webkit-text-stroke-width: .8px;
    -webkit-text-stroke-color: #fb0404;
  }

  .modal-footer {
    text-align: center;
    padding: 2px 16px;
    background-color: #CA3435;
    color: #000000;
    border-top: 1vh solid #000000;
  }

  .modal-footer h3{
    font-family: 'Racing Sans One', cursive;
    font-size: larger;
    padding-top: .5%;
    color: white;
    font-weight: 900;
    -webkit-text-stroke-width: .8px;
    -webkit-text-stroke-color: #000000;
  }

}
.errs-title{width: 100%;padding-top:2vh;border-bottom: 3px solid black; text-align: center;padding-bottom: 30px;background-color: #f32b21;color: #000000;}
.errors{display: none;}
.errors{
  position: fixed;
  font-size: 1.5em;
  top: 41vh;
  left: 25vw;
  background-color: #f5e9e8;
  border:3px solid black;
  border-radius: 6px;
  color: white;
  opacity: 1;
  transition: opacity 0.6s;
}
.text{padding: 5vh;color: #000000;}
.closebtn {
  position: relative;
  top: -60px;
  margin-right: 15px;
  color: #000000;
  font-weight: bold;
  float: right;
  font-size: 22px;
  line-height: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.closebtn:hover {
  color: #FFFFFF;
}
/*USER-ACCOUNT-STYLES*/
.log-out{text-decoration: none;color:#f40c27;float: right;margin-right: 40px;font-size: 1.3em;font-weight: 900;}
.bold{font-weight: 900;}
.larger{font-size: 1.5em;}
.title-text{font-size: 1.2em;text-align: center;padding: 3px;margin-bottom: 5px;}
.main-div-container{margin-top:2%;position: absolute;width: auto;left: 8px;right: 10px;}
.main-body{padding: 20px 10px;}
.main-body-grid{background-color:#ffffff;border:none;padding-top:15px;}
.gridwrapper {overflow: auto;position: relative;height: 250px;border:3px solid black;}
.gridcontent {width: 8.33%;margin: 0;height: 100%;float: left;}
.banner-head{width:100%;border-right-color:transparent;}
.grid-headr{text-align: center;padding: 12px 14px;font-family: 'Black Ops One', cursive;font-stretch: ultra-expanded;line-height: 1.8;}
.acc-header-text{font-size: 2.5em;font-stretch: expanded;letter-spacing: .8px}
.acc-header-text span{color: #f40c27;letter-spacing: 1px;}
.info-box{padding: 12px 14px;}
.info-grid{padding: 5px;border-bottom: 1px solid grey;}
.veh-details{background-color:#33b5e5;border:none;width:100%;height:15%;margin-bottom:10px;padding: 10px 8px;}
.center-main-body{padding: 10px 15px 0 15px ;}
.message-box{width: 100%; height: 45vh;border:1px solid black;display:inline-grid;grid-auto-rows: 14%;grid-gap: 10px;padding-left: 5px;padding-right: 5px;}
.message-box{background-image:url("../images/mes_bckgrnd.png");}
.message-box > div{border-radius: 10px;visibility: hidden;height:fit-content; }
.message-box  div:nth-last-child(){background-color: transparent;}

.mess-div{background-color: transparent;}
.te-box{border:2px solid #dedede;background-color: #f1f1f1;border-radius: 5px;padding: 5px;margin: 10px 0;}
.darker{border-color: #ccc;background-color: #ddd;}
.te-box::after{content: "";clear: both;display: table;}
.te-box img{float: left;max-width: 60px;width: 100%;margin-right: 20px;border-radius: 50%;}
.te-box img.right{position: relative;top: -5px !important; left: 91%;}
.time-right{float: right;color: #aaa;}
.time-left{float: left;color: #999;position: relative;top: 3vh;left: 15px;}
.main-body-right{background-color:#ffffff;border:none;width:25%;padding-top:15px;height: 92%;margin-top: 4vh;}
.right-content-div{background-color:#33b5e5;border:none;width:100%;height:92%;padding: 20px 10px;}
.right-link{display: initial;position: absolute;}
.car-link{margin-right: 20px;position: relative;top: 5px !important;}
.mess-btn{float: right;width: 30%;height: 100%;font-size: 1em;font-family: 'Black Ops One', cursive;background-color:#f40c27;border-radius: 10px; }
.mess-text{width: 68%;height: 100%; border-radius: 10px;font-size: 1.3em;font-weight: 600;}
.mess-received{width: 68%;height: 100%;display: inline-block;position: relative;left: 5vw;padding: 10px;}
.right-side{float: right;height: 6vh;position: relative;top: 4px;right: 15px;border-radius: 50%;}
.left-side{height: 6vh;position: relative;top: 3px;left: 15px;border-radius: 50%;}
.mess-sent{width: 68%;height: 100%;display: inline-block;position: relative;bottom:2vh;left: 5vw;padding: 18px;}
.time-right{float: right;color: #999;position: relative;top: 3vh;right: 10px;}
.ad-content{background-color: #DDD;border-radius: 10px;}
.cl-content{background-color: #FFF;height:60px; border-radius: 10px;}
#bubble-content{display: none;height:60px;}