html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: 'Roboto', sans-serif;
  min-height: 100vh;
}

a {
  color: #000;
  text-decoration: none;
}

.pointer {
  cursor: pointer;
}

input[type="date"] {
  -webkit-appearance: none;
}

input[type=date]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  display: none;
}

input[type=date]::-webkit-calendar-picker-indicator {
  color: transparent;
  margin-right: 0.5vw;
  opacity: 1;
  background: url("/template/img/calendar.png") no-repeat center;
  -webkit-background-size: cover;
  background-size: cover;
  cursor: pointer;
}

input {
  width: 50%;
  height: 5vh;
  font-size: 2vh;
  border: 0.1vh solid #CCC;
  background-color: #FFF;
  padding: 0.5vh 0 0.5vh 1vh;
  overflow-y: auto;
  -webkit-border-radius: 0.5vh;
  -moz-border-radius: 0.5vh;
  border-radius: 0.5vh;
}

input[type="button"] {
  height: auto;
  width: auto;
}

textarea {
  width: 50%;
  height: 7vh;
  font-size: 1.6vh;
  border: 0.1vh solid #CCC;
  background-color: #FFF;
  padding: 0.5vh 0 0.5vh 1vh;
  overflow-y: auto;
  -webkit-border-radius: 0.5vh;
  -moz-border-radius: 0.5vh;
  border-radius: 0.5vh;
  resize: none;
}

select {
  width: 50%;
  height: 5vh;
  font-size: 1.8vh;
  border: 0.1vh solid #CCC;
  background-color: #FFF;
  padding: 0.5vh 0 0.5vh 1vh;
  overflow-y: auto;
  -webkit-border-radius: 0.5vh;
  -moz-border-radius: 0.5vh;
  border-radius: 0.5vh;
}

.phperror {
  width: 94%;
  height: auto;
  background-color: #FCC8C9;
  color: #333;
  text-align: center;
  position: relative;
  left: 0;
  top: 0;
  font-size: 2.5vh;
  padding: 3vh 0;
}

#error {
  width: 94%;
  height: auto;
  background-color: #FCC8C9;
  color: #333;
  text-align: center;
  position: relative;
  left: 0;
  top: 0;
  font-size: 2.5vh;
  padding: 3vh 0;
}

#notice {
  width: 94%;
  height: 7vh;
  background-color: #EEE;
  color: #333;
  text-align: center;
  font-size: 16pt;
  padding-top: 3vh;
}

#menu {
  width: 100%;
  height: 60px;
  overflow: hidden;
  border-bottom: 0.1px solid #DDD;
  background-color: #EEE;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
     -moz-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

#menu ul {
  margin: 0;
  padding: 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
}

#menu li {
  line-height: 60px;
  margin: 0;
  min-width: 140px;
  text-align: center;
  padding: 0 15px;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  font-size: 16px;
  list-style: none;
  display: inline-block;
  border-right: 1px solid #dddddd;
  background-color: #ffffff;
}

#menu a {
  color: #026fcf;
  cursor: pointer;
}

#menu a:hover {
  color: #000;
}

#submenu {
  height: 100%;
  margin-right: 1vw;
  text-align: right;
  font-size: 16px;
  background-color: #EEE;
}

#submenu li {
  background-color: transparent;
  min-width: auto;
  line-height: 1.2;
  border-right: none;
  margin-left: 15px;
  padding: 10px 0 0 0;
}

#submenu span {
  font-size: 14px;
  display: inline-block;
  width: auto;
}

#submenu img {
  float: right;
  height: 36px;
  -webkit-transition: opacity 200ms ease;
  -o-transition: opacity 200ms ease;
  -moz-transition: opacity 200ms ease;
  transition: opacity 200ms ease;
}

#submenu img:hover {
  opacity: .8;
  -webkit-transition: opacity 200ms ease;
  -o-transition: opacity 200ms ease;
  -moz-transition: opacity 200ms ease;
  transition: opacity 200ms ease;
}

#edit_menu {
  width: 20%;
  position: absolute;
  top: 52vh;
  right: -0.5vh;
}

#main {
  background-color: #fff;
  border: none;
  margin: 0 auto;
  width: 100%;
  padding: 30px;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

#main span {
  display: block;
  margin: 0 1vw 1vh 1vw;
  color: #666;
}

.config-row {
  width: 100%;
  height: auto;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  border-bottom: 2px solid #DDD;
}

/*.button {
  width: auto;
  height: auto;
  padding: 0.55vh 1vw;
  margin-left: 1vw;
  cursor: pointer;
}*/

.right-img {
  float: right !important;
  display: block;
  height: 2.5vh !important;
  margin: 0 !important;
  padding: 0.2vh 0.5vw !important;
}

.medium {
  font-size: 1.8vh !important;
}

.small {
  font-size: 1.6vh !important;
}

.bold {
  font-weight: bold;
}

.red {
  color: #A80002 !important;
}

.white {
  color: #FFF !important;
}

.black {
  color: #333 !important;
}

.blue {
  color: #03508F !important;
}

.green {
  color: #4AA800 !important;
}

.submit {
  height: auto;
  width: auto;
  font-size: 14pt;
  padding: 1vh 3vw;
  margin-left: 3vw;
  margin-top: 3vh;
  border: 0.1vh solid #888;
  background-color: #C0DDFF;
  cursor: pointer;
}

.eventtable .link {
  color: #E8671A;
  text-decoration: underline;
}

.eventtable {
  width: 80%;
  height: auto;
  border: 0.1vh solid #EEE;
  font-size: 12pt;
}

.eventtable a {
  font-weight: normal;
  color: #555;
}

.eventtable td {
  border: 0.1vh solid #EEE;
  margin: none;
  border-bottom: 0.1vh solid #DDD;
  font-size: 12pt;
  padding: 0.5vh;
}

.eventtable td img {
  height: 30px;
  width: 30px;
  float: right;
  display: inline-block;
  cursor: pointer;
  margin: 0;
  padding: 1vh;
}

.eventtable-tr a {
  color: #0057A8;
}

.eventtable-tr a:hover {
  color: #EF8500;
}

.eventtable-tr:hover {
  background-color: #FCFCFC;
  cursor: pointer;
  color: #212529;
}

.eventtable-place {
  color: #027dcb;
  font-weight: bold;
  text-align: center;
}

.eventtable-tr-routes {
  background-color: #EEE;
  color: #444;
  font-weight: bold;
  text-align: left;
}

.eventtable-tr-routes span {
  word-break: break-word;
}

.eventtable-tr-routes:hover {
  color: #012342;
  cursor: pointer;
}

.eventtable-tr-routes-inactive {
  background-color: #FBE1E2;
  color: #444;
  font-weight: bold;
  text-align: center;
}

.eventtable-tr-routes span, .eventtable-tr-routes-inactive span {
  color: #555 !important;
  float: left;
  font-size: 1.4vh !important;
  border-top: 0.3vh solid #89C0D7;
  word-break: break-all;
}

.eventtable-tr-child {
  background-color: #FFF;
  color: #333;
}

.eventtable-tr-child img {
  border: 1px solid #DDD;
}

.eventtable-tr-child img:hover {
  border: 1px solid #888;
}

.eventtable-tr-medium {
  text-align: center;
  height: 7vh;
  background-color: #FFF;
  color: #222;
}

.eventtable-tr-medium:hover {
  cursor: pointer;
  background-color: #EEE;
}

.eventtable-title {
  font-weight: bold;
  color: #222;
}

.small td {
  font-size: 11pt !important;
}

#result {
  height: 4vh;
  text-align: center;
  vertical-align: middle;
  font-size: 3vh;
  width: 100%;
  background-color: #FFF;
}

.row_first {
  height: 4vh;
  width: 80%;
  background-color: #ddeffe;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 1.9vh;
  font-weight: bold;
}

.cell_first {
  height: 4vh;
  width: auto;
  border: 0.1vh solid #ccc;
  float: left;
  display: inline-block;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border-right: none;
  padding: 1vh;
}

/*.row {
  height: 7vh;
  width: 80%;
  background-color: #FFF;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 1.9vh;
}*/

.cell {
  height: 7vh;
  width: auto;
  border: 0.1vh solid #DDD;
  float: left;
  display: inline-block;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border-right: none;
  padding: 1.5vh;
}

.cell span {
  color: #00378C;
  margin-left: 0.5vw;
  font-weight: bold;
}

.cellScheme {
  color: #999;
  font-size: 1.6vh;
}

/*.row:hover {
  color: #005fb0;
  background-color: #FFFEFD;
}*/

.closed {
  background-color: #FCE8E8;
}

.closed:hover {
  background-color: #FCE8E8;
}

#login_notice {
  height: 40vh;
  text-align: center;
  width: 75%;
  overflow: hidden;
  background-color: #EEE;
  border: 0.1vh solid #CCC;
  margin: 0 auto;
  -webkit-border-radius: 0 0 1vh 1vh;
  -moz-border-radius: 0 0 1vh 1vh;
  border-radius: 0 0 1vh 1vh;
}

/*#login_notice input[type="text"], [type="password"] {
  width: 35%;
  display: block;
  height: auto;
  font-size: 14pt;
  border: 1px solid #999;
  padding: 0.5vh 0 0.5vh 1vh;
  overflow-y: auto;
  margin-left: 31%;
  margin-bottom: 2vh;
}*/

#login_notice input[type="submit"] {
  width: 36%;
  display: block;
  height: auto;
  font-size: 14pt;
  border: 1px solid #999;
  padding: 1vh;
  overflow-y: auto;
  margin-left: 31%;
  cursor: pointer;
}

#loginerror {
  width: 100%;
  display: block;
  height: auto;
  font-size: 12pt;
  border: 0.4vh solid #D48D8E;
  background-color: #D48D8E;
  padding: 0.5vh;
  overflow-y: auto;
  margin-top: 2vh;
  cursor: pointer;
}

#loginnoerror {
  width: 100%;
  display: block;
  height: auto;
  font-size: 12pt;
  border: 0.3vh solid #999;
  background-color: #FFF;
  padding: 0.5vh;
  overflow-y: auto;
  margin-top: 2vh;
  cursor: pointer;
}

#save_button {
  width: auto;
  height: auto;
  padding: 0.55vh 1vw;
  margin-left: 1vw;
  cursor: pointer;
}

.on {
  background-color: #e6fcd3;
}

.off {
  background-color: #fce7d3;
}

#routes-menu2,
#routes-menu {
  width: auto;
  height: auto;
  min-height: 7vh;
  border: 0.1vh solid #CCC;
  background-color: #91acbf;
  -webkit-border-radius: 1vh;
  -moz-border-radius: 1vh;
  border-radius: 1vh;
  padding: 2vh 2vw 0 2vw;
  margin-bottom: 3vh;
  color: #111;
  font-size: 2vh;
}

#routes-menu2 input,
#routes-menu input {
  margin-right: 2vw;
  border: 0.2vh solid #999;
  font-size: 1.8vh;
}

#routes-menu-list {

  border: 1px solid #CCC;
  background-color: #DDD;
}

#routes-menu-list li {
  list-style-type: none;
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  border: 1px solid #007BFF;
  padding: 10px;
  margin: 5px;
}

#routes-menu-list label:hover {
  color: #333;
  cursor: pointer;
}

#routes-menu input[type='checkbox'] {
  text-align: center;
  vertical-align: middle;
  width: 100%;
  height: 3vh;
}

.routes-select {
  font-size: 2.2vh;
}

#routes-menu2 select,
#routes-menu select {
  display: inline-block;
  width: 20%;
  max-width: 20%;
  margin-right: 2vw;
  border: 0.2vh solid #999;
}

#routes-menu2 input[type="button"],
#routes-menu input[type="button"] {
  margin: 0;
  padding: 1vh 1vw;
  font-size: 2vh;
  cursor: pointer;
  margin-right: 1vw;
  max-width: 20%;
}

.get-list {
  width: 100%;
}

.get-done {
  color: green;
  background-color: white;
  font-weight: 700;
}

.card-header.list-done:first-child {
  background-color: #007bff;
  color: #ffffff;
  -webkit-border-radius: 0 !important;
     -moz-border-radius: 0 !important;
          border-radius: 0 !important;
}

#user-name {
  width: 400px;
  margin-left: 30px;
}

.user-done-list {
  padding-left: 15px;
}

/*#route-info-title form {
  display: inline-block;
}*/

.frame {
  height: 70vh;
  width: 100%;
  border: none;
}

.divider {
  margin-top: 15px;
  margin-bottom: 15px;
  height: 15px;
  background-color: #91acbf;
}

#loading {
  position: absolute;
  top: 40%;
  left: 45%;
  width: 5%;
  opacity: 0.5;
}

.contenteditable {
  -webkit-box-shadow: inset 0px -2px 0px 0px #80BBD8;
  -moz-box-shadow: inset 0px -2px 0px 0px #80BBD8;
  box-shadow: inset 0px -2px 0px 0px #80BBD8;
}

.route-edit-config {
  float: left;
  text-align: left;
  width: auto;
  height: auto;
  display: none;
}

.invalid {
  -webkit-box-shadow: 0 0 0 .2rem rgba(220, 53, 69, 0.8);
     -moz-box-shadow: 0 0 0 .2rem rgba(220, 53, 69, 0.8);
          box-shadow: 0 0 0 .2rem rgba(220, 53, 69, 0.8);
}

#modal,
#modal-2 {
  height: 100%;
  width: 100%;
  padding: 30px;
  background-color: #EEE;
  padding: 2vh 4vw;
  position: fixed;
  overflow: scroll;
  z-index: 99999;
  top: 0;
  left: 0;
  text-align: center;
  border-bottom: 2vh solid #91ACBF;
  display: none;
}

#modal *,
#modal * {
  margin: 0.5vh 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  background-color: #FFF;
  display: inline-block;
  color: #333;
}

#modal input[type="date"],
#modal-2 input[type="date"] {
  -webkit-appearance: none;
  padding: 0 1vw;
}

#modal-2 input,
#modal input {
  width: 50%;
  height: 8vh;
  font-size: 3vh;
  border: 0.1vh solid #CCC;
  background-color: #FFF;
  padding: 3.5vh 0 3.5vh 1vh;
  overflow-y: auto;
  max-width: 50%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

#modal-2 textarea,
#modal textarea {
  width: 50%;
  height: 8vh;
  font-size: 3vh;
  border: 0.1vh solid #CCC;
  background-color: #FFF;
  padding: 0.5vh 0 0.5vh 1vh;
  overflow-y: auto;
  -webkit-border-radius: 0.5vh;
  -moz-border-radius: 0.5vh;
  border-radius: 0.5vh;
  resize: none;
}

#modal-2 select,
#modal select {
  width: 50%;
  height: 8vh;
  font-size: 3vh;
  border: 0.1vh solid #CCC;
  background-color: #FFF;
  overflow-y: auto;
  -webkit-border-radius: 0.5vh;
  -moz-border-radius: 0.5vh;
  border-radius: 0.5vh;
}

#modal-2 .button,
#modal .button {
  width: auto;
  height: 7vh;
  padding: 1vh 1vw;
  margin-left: 1vw;
  cursor: pointer;
  margin-bottom: 30px;
}

#modal-2 .ticket-add,
#modal .ticket-add {
  color: #03508F;
}

#modal-2 .ticket-cancel,
#modal .ticket-cancel {
  color: #641f20;
}

#modal-2 label,
#modal label {
  height: 9vh !important;
  display: inline-block;
  vertical-align: middle;
  background-color: transparent;
  margin-right: -0.5vh;
}

#modal-2 label img,
#modal label img {
  height: 5vh;
  border: 0.1vh solid #CCC;
  opacity: 0.7;
  padding: 1vh;
}

#modal-edit,
#modal-small {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  background-color: #EEE;
  padding: 30px;
  z-index: 99999;
  text-align: center;
  display: none;
}

#modal-edit *,
#modal-small * {
  background-color: #FFF;
  display: inline-block;
  color: #333;
}

#modal-edit input[type="date"],
#modal-small input[type="date"] {
  -webkit-appearance: none;
  width: 50%;
  height: 6vh;
  font-size: 2vh;
  border: 0.1vh solid #CCC;
  background-color: #FFF;
  padding: 1.1vh 0 1vh 1vh;
  overflow-y: auto;
  max-width: 50%;
  -webkit-border-radius: 0.5vh;
  -moz-border-radius: 0.5vh;
  border-radius: 0.5vh;
}

#modal-edit input,
#modal-small input {
  width: 50%;
  height: 3vh;
  font-size: 2vh;
  border: 0.1vh solid #CCC;
  background-color: #FFF;
  padding: 2.8vh 0 2.8vh 1vh;
  overflow-y: auto;
  max-width: 50%;
}

#modal-edit textarea,
#modal-small textarea {
  width: 50%;
  height: 6vh;
  font-size: 2vh;
  border: 0.1vh solid #CCC;
  background-color: #FFF;
  padding: 0.5vh 0 0.5vh 1vh;
  overflow-y: auto;
  -webkit-border-radius: 0.5vh;
  -moz-border-radius: 0.5vh;
  border-radius: 0.5vh;
  resize: none;
}

#modal-edit select,
#modal-small select {
  width: 50%;
  height: 6vh;
  font-size: 2vh;
  border: 0.1vh solid #CCC;
  background-color: #FFF;
  overflow-y: auto;
  -webkit-border-radius: 0.5vh;
  -moz-border-radius: 0.5vh;
  border-radius: 0.5vh;
}

#modal-edit .button,
#modal-small .button {
  width: auto;
  height: 5.5vh;
  padding: 1vh 1vw;
  margin-left: 1vw;
  cursor: pointer;
}

#modal-edit .ticket-add,
#modal-small .ticket-add {
  color: #03508F;
}

#modal-edit .ticket-cancel,
#modal-small .ticket-cancel {
  color: #641f20;
}

#modal-edit label,
#modal-small label {
  height: 9vh !important;
  display: inline-block;
  vertical-align: middle;
  background-color: transparent;
  margin-right: -0.5vh;
}

#modal-edit label img,
#modal-small label img {
  height: 3vh;
  margin-top: 1.2vh;
  margin-left: 0;
  border: 0.1vh solid #CCC;
  opacity: 0.7;
  padding: 1.3vh;
}

#clients-menu {
  width: auto;
  height: auto;
  min-height: 8vh;
  border: 0.1vh solid #CCC;
  background-color: #91acbf;
  -webkit-border-radius: 1vh;
  -moz-border-radius: 1vh;
  border-radius: 1vh;
  padding: 2vh 2vw 0 2vw;
  margin-bottom: 3vh;
}

#clients-menu input[type="text"], input[type="tel"] {
  width: 30%;
  margin-right: 2vw;
  border: 0.2vh solid #999;
  font-size: 2vh;
}

#clients-menu input[type="checkbox"] {
  width: 4vw;
  height: 4vh;
  border: 0.1vh solid #999 !important;
  font-size: 2vh;
}

#clients-menu label {
  width: auto;
  height: 6vh;
  font-size: 2.2vh;
  color: #444;
  position: relative;
  top: -1vh;
}

#clients-menu select {
  display: inline-block;
  width: 20%;
  max-width: 20%;
  margin-right: 2vw;
  border: 0.2vh solid #999;
}

#clients-menu input[type="button"] {
  margin: 0;
  padding: 1vh 1.6vw;
  font-size: 2vh;
  cursor: pointer;
  margin-right: 1vw;
  max-width: 20vw;
}

#clients-menu .search {
  min-width: 40vw !important;
}

#driver-list,
#bus-list,
#clients-list-2,
#clients-list,
.app-auto-search {
  width: 100%;
  position: absolute;
  background-color: transparent;
  z-index: 999999;
  display: none;
  height: auto;
  margin: 0;
  overflow: hidden;
}

#bus-list,
.app-auto-search {
  width: 220px;
}

#driver-list {
  width: 220px;
}


.app-auto-search span,
#clients-list span {
  width: 100%;
  height: auto;
  background-color: #fff;
  color: #000;
  cursor: pointer;
  margin: 0;
  display: inline-block;
  float: left;
  border: 1px solid #80BDFF;
  border-right-width: 2px;
  border-left-width: 2px;
  padding: 5px 15px;
  text-align: left;
}


.app-auto-search span:first-of-type,
#clients-list span:first-of-type {
  border-top-width: 2px;
}

.app-auto-search span:last-of-type,
#clients-list span:last-of-type {
  border-bottom-width: 2px;
}

.app-auto-search span:hover,
#clients-list span:hover {
  background-color: #BFDEFF;
}

#clients-regular-2,
#clients-regular {
  width: auto;
  border-bottom: 0.6vh solid #58A004;
  padding: 0 3vw;
  height: 4vh;
  font-size: 3vh;
  background-color: transparent;
  opacity: 0;
}

#clients-blocked-2,
#clients-blocked {
  width: auto;
  border-bottom: 0.6vh solid #A00404;
  padding: 0 3vw;
  height: 4vh;
  font-size: 3vh;
  background-color: transparent;
  opacity: 0;
}

.enabled {
  background-color: #007bff;
}

#new-client-2,
#new-client {
  display: none;
}

.print-rows {
  display: none;
}

.checked-list:hover {
  background-color: #007bff;
}

.checked-list:hover .fa {
  color: #ffffff;
}

.checked-list.active:hover {
  background-color: red;
}

.checked-list.active:hover .fa {
  color: #ffffff;
}

.checked-list .fa {
  color: grey;
}

.checked-list.active {
  background-color: #007bff;
}

.checked-list.active .fa {
  color: #ffffff;
}

.print-table .active-list {
  color: inherit !important;
}

#sort-cheked-list {
  position: relative;
  padding: 0;
}

#sort-cheked-list button {
  position: absolute;
  border: none;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
  z-index: 10;
  background-color: transparent;
  cursor: pointer;
}

#sort-cheked-list .fa {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 20px;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

#sort-cheked-list:hover {
  background-color: #007bff;
  color: #ffffff;
  cursor: pointer;
}

.tickets-number-column {
  width: 10%;
}

.tickets-notice-column {
  /*width: 30%;*/
}

.tickets-payment-column {
  /*width: 15%;*/
}

.tickets-info-column {
  width: 55%;
}

.tickets-client-column {
  width: 30%;
}

.active-list {
  color: #007bff;
}

.black-table,
.black-table td {
  border-color: #000000;
}
