:root {
  /* --bg-color-dark: #1a1a54; */
  /* --bg-color-dark: linear-gradient(to bottom, black 0%, #454545 100%); */
  --bg-color-dark: white;
  --bg-color-light: #353993;
}

#main {
  top: 164px;
}

body {
  background: var(--bg-color-dark);
  min-height: 100vh;
  font-family: Calibri, Segoe UI Light, Tahoma, Arial;
}

.logon {
  margin-top: 170px;
  margin-left: 25%;
}

#logOffLink {
  padding: 6px 7px 0 0;
  font-size: 14px;
}

body,
input.button,
.standard {
  font-family: Calibri, Segoe UI, Tahoma, Arial, Sans-Serif;
  font-size: 13px;
}

A:link,
A:visited {
  text-decoration: none;
  font-weight: bold;
  color: #383ec0;
}

A:hover {
  text-decoration: underline;
}

#changeweekselector A:link,
#changeweekselector A:visited {
  color: #000;
}

input,
select,
TD.added,
TD.readonly,
.standard input,
.standard select,
TD.vbreadonly {
  font-family: Calibri, Tahoma, Arial, Sans-Serif;
  font-size: 13px;
}

#search {
  margin: 4px 0 1px 243px;
}

#homecontainer .deptname {
  text-align: left;
  font-style: normal;
  padding-right: 7px;
  font-weight: normal;
}
#homecontainer .sitename {
  text-align: left;
  font-style: normal;
  padding-right: 15px;
  text-decoration: none;
  font-weight: bold;
}

#homecontainer,
#gsheetcontainer,
.vbcontainer,
.vb {
  margin: 0px;
  padding: 0px;
  width: 1019px; /*box-shadow: 10px 10px 5px #888888;*/
  border: 1px solid #ffffff;
  min-height: 34px; /* 	-moz-border-radius-bottomleft:4px; 	-webkit-border-bottom-left-radius:4px; 	border-bottom-left-radius:4px; 	 	-moz-border-radius-bottomright:4px; 	-webkit-border-bottom-right-radius:4px; 	border-bottom-right-radius:4px; 	 	-moz-border-radius-topright:4px; 	-webkit-border-top-right-radius:4px; 	border-top-right-radius:4px; 	 	-moz-border-radius-topleft:4px; 	-webkit-border-top-left-radius:4px; 	border-top-left-radius:4px; */
}

.vb {
  margin: 0px;
  padding: 0px;
  width: 1019px;
  position: absolute;
  left: 50%;
  margin-left: -510px;
  top: 62px;
  min-height: 34px;
  border-top: none;
}

#vbmain {
  width: 1020px;
  margin-top: 130px;
  position: absolute;
  left: 50%;
  margin-left: -510px;
}

#adminmain {
  position: absolute;
  left: 50%;
  margin-left: -25%;
  margin-top: 138px;
}
#homecontainer table {
  height: 100%;
  margin: 0px 0px 0px 4px;
  padding: 0px;
}
#gsheetcontainer table,
.vbcontainer table,
.vb table {
  width: 1017px;
  height: 100%;
  margin: 0px;
  padding: 0px;
}

#logOffLinkValetBay {
  display: block;
}

/*
#homecontainer tr:last-child td:last-child, #gsheetcontainer tr:last-child td:last-child, .vbcontainer tr:last-child td:last-child,  .vb tr:last-child td:last-child  {
	-moz-border-radius-bottomright:4px;
	-webkit-border-bottom-right-radius:4px;
	border-bottom-right-radius:4px;
}
#homecontainer table tr:first-child td:first-child, #gsheetcontainer table tr:first-child td:first-child, .vbcontainer table tr:first-child td:first-child, .vb table tr:first-child td:first-child  {
	-moz-border-radius-topleft:4px;
	-webkit-border-top-left-radius:4px;
	border-top-left-radius:4px;
}
#homecontainer table tr:first-child td:last-child, #gsheetcontainer table tr:first-child td:last-child, .vbcontainer table tr:first-child td:last-child,  .vb table tr:first-child td:last-child   {
	-moz-border-radius-topright:4px;
	-webkit-border-top-right-radius:4px;
	border-top-right-radius:4px;
}#homecontainer tr:last-child td:first-child, #gsheetcontainer tr:last-child td:first-child, .vbcontainer tr:last-child td:first-child, .vb tr:last-child td:first-child {
	-moz-border-radius-bottomleft:4px;
	-webkit-border-bottom-left-radius:4px;
	border-bottom-left-radius:4px;
}
*/
#homecontainer tr:hover td,
#gsheetcontainer tr:hover td,
.vbcontainer tr:hover td,
.vb tr:hover td {
  background-color: #e5e5e5;
}
#homecontainer td,
#gsheetcontainer td,
.vbcontainer td,
.vb td {
  vertical-align: middle;
  background: -o-linear-gradient(bottom, #ffffff 5%, #efeded 100%);
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0.05, #ffffff),
    color-stop(1, #efeded)
  );
  background: -moz-linear-gradient(center top, #ffffff 5%, #efeded 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff", endColorstr="#efeded");
  background: -o-linear-gradient(top, #ffffff, efeded);
  background-color: #ffffff;
  border: 1px solid #ffffff;
  border-width: 0px 1px 1px 0px;
  text-align: left;
  padding: 9px;
  font-size: 12px;
  font-style: normal; /*	font-family:Verdana;*/
  font-weight: bold;
  color: #000000;
}
#homecontainer tr:last-child td,
#gsheetcontainer tr:last-child td,
.vbcontainer tr:last-child td,
.vb tr:last-child td {
  border-width: 0px 1px 0px 0px;
}
#homecontainer tr td:last-child,
#gsheetcontainer tr td:last-child,
.vbcontainer tr td:last-child,
.vb tr td:last-child {
  border-width: 0px 0px 1px 0px;
}
#homecontainer tr:last-child td:last-child,
#gsheetcontainer tr:last-child td:last-child,
.vbcontainer tr:last-child td:last-child,
.vb tr:last-child td:last-child {
  border-width: 0px 0px 0px 0px;
}
#homecontainer tr:first-child td,
#gsheetcontainer tr:first-child td {
  background: -o-linear-gradient(bottom, #cccccc 5%, #b2b2b2 100%);
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0.05, #cccccc),
    color-stop(1, #b2b2b2)
  );
  background: -moz-linear-gradient(center top, #cccccc 5%, #b2b2b2 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#cccccc", endColorstr="#b2b2b2");
  background: -o-linear-gradient(top, #cccccc, b2b2b2);
  background-color: #cccccc;
  border: 0px solid #ffffff;
  border-width: 0px 0px 1px 1px; /*	font-family:Verdana;*/ /*	text-align:center; 	font-size:14px; 	font-weight:bold; */
  color: #000000;
}
/*#homecontainer tr:first-child:hover td, #gsheetcontainer tr:first-child:hover td, .vbcontainer tr:first-child:hover td, .vb tr:first-child:hover td{
	background:-o-linear-gradient(bottom, #cccccc 5%, #b2b2b2 100%);
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #cccccc), color-stop(1, #b2b2b2) );
	background:-moz-linear-gradient( center top, #cccccc 5%, #b2b2b2 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#cccccc", endColorstr="#b2b2b2");
	background: -o-linear-gradient(top,#cccccc,b2b2b2);
	background-color:#cccccc;
}
*/
#homecontainer tr:first-child td:first-child,
#gsheetcontainer tr:first-child td:first-child,
.vbcontainer tr:first-child td:first-child,
.vb tr:first-child td:first-child {
  border-width: 0px 0px 1px 0px;
}
#homecontainer tr:first-child td:last-child,
#gsheetcontainer tr:first-child td:last-child,
.vbcontainer tr:first-child td:last-child,
.vb tr:first-child td:last-child {
  border-width: 0px 0px 1px 1px;
}

#homecontainer tr.alternating td,
#gsheetcontainer tr.alternating td,
.vbcontainer tr.alternating td,
.vb tr.alternating td {
  background: -o-linear-gradient(bottom, #ffffff 5%, #efeded 100%);
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0.05, #ffffff),
    color-stop(1, #efeded)
  );
  background: -moz-linear-gradient(center top, #ffffff 5%, #efeded 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff", endColorstr="#efeded");
  background: -o-linear-gradient(top, #ffffff, efeded);
  background-color: #ffffff;
}

/*
#gsheetcontainer tr.alternating td, .vbcontainer tr.alternating td, .vb tr.alternating td
{
    font-weight: normal;
    font-size: 13px;
}

*/
#gsheetcontainer td,
.vbcontainer td,
.vb td {
  font-weight: normal;
  font-size: 13px;
}

#homecontainer div.inner,
#valetbaycarscontainer div.inner {
  padding-bottom: 20px;
  padding-left: 22px;
}

/*Valet bay**********************************************************/
.vb TBODY TD,
.vbcontainer TBODY TD {
  padding: 5px;
  font-family: Calibri, Tahoma, Arial, Sans-Serif;
  font-size: 13px;
}

.vbreadonly {
  padding: 5px;
  font-family: Tahoma, Arial, Sans-Serif;
  font-size: 13px;
}
.vbcontainer thead tr:first-child td,
.vb thead tr:first-child td {
  background: -o-linear-gradient(bottom, #cccccc 5%, #b2b2b2 100%);
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0.05, #cccccc),
    color-stop(1, #b2b2b2)
  );
  background: -moz-linear-gradient(center top, #cccccc 5%, #b2b2b2 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#cccccc", endColorstr="#b2b2b2");
  background: -o-linear-gradient(top, #cccccc, b2b2b2);
  background-color: #cccccc;
  border: 0px solid #ffffff;
  border-width: 0px 0px 1px 1px; /*	font-family:Verdana;*/ /*	text-align:center; 	font-size:14px; 	font-weight:bold; */
  color: #000000;
}

#tabs {
  top: 125px;
}

#tabs li.bigtab,
li {
  font-size: 16px;
  font-weight: normal;
}

#tabs li.bigtab {
  margin-right: 5px;
  margin-left: 5px;
}

#tabs li.bigtab a,
li a {
  font-weight: bold;
  font-size: 20px;
}

#tabs li a:hover,
#tabs li.highlighted a {
  color: #383ec0;
  background-position: 0 -41px;
  text-shadow: 0 0 10px #fff;
}

#vbfilters {
  height: 38px;
  padding: 4px 5px 4px 5px;
}
#vbfilters SELECT,
#vbmain SELECT {
  font-weight: bold;
  border-radius: 4px;
}

.vb .lrg,
.vbcontainer .lrg {
  font-size: 16px;
  font-weight: bold;
}

.vb #vbfilters {
  margin-bottom: 0;
  margin-top: 55px;
}

#homecontainer TABLE {
  white-space: nowrap;
  border-collapse: collapse;
}

#topband {
  background: #eae9e9;
  height: 28px;
}

#topband a {
  color: #383ec0;
}

#ui-datepicker-div {
  display: none;
}

@media only screen and (max-width: 1030px) {
  body {
    /* background-image: url(background.png); */
    /* background-position: 50% 30px; */
    /* background-size: 100px; */
  }

  #topband {
    width: 100vw;
  }

  #search {
    margin: 4px 0 1px 4px;
    width: 13em;
  }

  #search INPUT {
    width: auto;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
    height: auto;
  }

  #wrapper {
    width: 100vw !important;
  }

  #main,
  #top {
    width: 100vw !important;
    left: 0;
    margin-left: 0;
  }

  #homecontainer,
  #gsheetcontainer,
  .vbcontainer,
  .vb {
    width: 100vw;
  }

  .vb {
    margin: 0px;
    padding: 0px;
    width: 100vw;
    position: absolute;
    left: 0;
    margin-left: 0;
    top: 62px;
    min-height: 34px;
    border-top: none;
  }

  #vbmain {
    width: 100vw;
    margin-top: 130px;
    position: absolute;
    left: 0;
    margin-left: 0;
  }

  #adminmain {
    position: absolute;
    left: 0;
    margin-left: 0;
    margin-top: 138px;
  }

  #gsheetcontainer table,
  .vbcontainer table,
  .vb table {
    width: 100vw;
    height: 100%;
    margin: 0px;
    padding: 0px;
  }

  #tabs {
    left: 0;
  }

  #garagesheetweek {
    position: relative;
  }
}

#homecontainer,
#gsheetcontainer,
.vbcontainer,
.vb,
#gsheetcontainer table,
.vbcontainer table,
.vb table,
#topband,
#top,
#wrapper,
#tabs {
  width: 100%;
  max-width: none;
}

#tabs {
  left: 0;
  display: flex;
  flex-direction: row;
}

#main {
  width: 100%;
}

body::after {
  content: "";
  display: block;
  height: 59px;
  width: 230px;
  position: absolute;
  top: 32px;
  right: 0;
  background: url("http://www.secureonsite.co.uk/Img/Secure-Valeting-Logo-Blue-Darker.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* body::before {
  content: "";
  display: block;
  height: 136px;
  --bgwidth: 500px;
  width: var(--bgwidth);
  left: calc(calc(100% - var(--bgwidth)) / 2);
  position: absolute;
  top: 28px;
  right: 0;
  background: url("https://static.wixstatic.com/media/dd80c04aa25a43108cb4b3ec948127d8.jpg/v1/fill/w_921,h_502,al_c,q_85,usm_0.66_1.00_0.01,enc_auto/dd80c04aa25a43108cb4b3ec948127d8.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
} */

/* New Table Design */

#homecontainer thead tr td, #gsheetcontainer thead tr td, .vbcontainer thead tr td {
  background: none !important;
  /* background-color: #aaaaaa !important; */
  background-color: #454545 !important;
  font-weight: bold;
  color: white !important;
}

#homecontainer td,
#gsheetcontainer td,
.vbcontainer td,
.vb td,
.vbcontainer thead tr:first-child td,
.vb thead tr:first-child td,
#homecontainer td,
#gsheetcontainer td,
.vbcontainer td,
.vb td {
  background: none;
  border: none;
  /* background-color: #dedede; */
  background-color: #efefef;
  font-size: 1.2em;
}

#homecontainer tr.alternating td, #gsheetcontainer tr.alternating td, .vbcontainer tr.alternating td, .vb tr.alternating td {
  background: none;
  background-color: #dedede;
  background-color: white;
  /* background-color: #cdcdcd; */
}

#search {
  height: 24px;
}
#search input {
  height: 22px;
}
#search BUTTON {
  height: 24px;
  width: 24px;
  background-position: center;
}

#tabs li a {
  background-image: none;
  /* background: #ccc; */
  background-color: #878787;
  color: white !important;
  border-radius: 10px 10px 0 0;
  text-shadow: none !important;
}
#tabs li.highlighted a {
  color: #383ec0 !important;
  /* color: white !important; */
}
/* #main .topband {
  background-color: #383ec0;
} */
#subTabs a.highlighted {
  background: none;
}

form > .selectedcontrols:first-of-type > div {
  font-size: 24px;
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
}

form > .selectedcontrols:first-of-type > div > a {
  font-size: 0;
  background-color: #383ec0;
  color: white;
  border-radius: 10px;
  text-align: center;
  padding: 0;
  padding-left: 10px;
  padding-right: 10px;
}
form > .selectedcontrols:first-of-type > div > a::before {
  content: "Add Valet";
  font-size: 24px;
}

/* div.modal-body#addcontent ~ div.modal-header > h5 {
  font-size: 0;
}

div.modal-body#addcontent ~ div.modal-header > h5::before {
  font-size: 1.25rem;
  content: "Add Valet";
} */

.btn-primary {
  background-color: #383ec0;
  border-color: #383ec0;
}