#qr{
  width: 360px;
  height: 470px;
  border:1px solid #000;
}

 button{
   cursor: pointer;
 }
 section{
   text-align: center;
margin: 15px 0;
border-bottom: 1px solid #8c8c8c;
padding-bottom: 15px;
 }
html,body{
    height: 100%;
}

main{
    min-height: calc(100% - 124px);
}

footer{
        height: 20px;
    line-height: 21px;
    font-size: 12px;
    color: #fff;
    background: #dd062c;
    text-align: center;
}

 #driver{
   font-size: 28px;
    background: #1C8ABD;
    width: 100px;
    height: 60px;
    margin: 0 10px;
    text-align: center;
    line-height: 60px;
    color: #fff;
    display: inline-block;
   box-shadow: 2px 2px 2px #a5a5a5;
 }



#ec{
font-size: 28px;
/*! border-radius: 30px; */
background: #1C8ABD;
width: 200px;
height: 60px;
margin: 0 auto;
text-align: center;
line-height: 60px;
color: #fff;
display: inline-block;
box-shadow: 2px 2px 2px #a5a5a5;
}

button.add_qr,button.end_qr{
  width: 250px;
  margin: 20px auto;
  display: block;
  font-size: 28px;
  border-radius: 30px;
  width: 200px;
  height: 60px;
  margin: 20px auto 0;
  text-align: center;
  line-height: 60px;
  color: #fff;
  display: block;
  border: none;
  box-shadow: 2px 2px 2px #a5a5a5;
}

#qrMask{
position: fixed;
top: 0px;
left: 0;
text-align: center;
width: 100%;
height: 100%;
background: #0003;
margin: 0;
/*! padding: 50px; */
}

#qrMask>div{
  width: 360px;
  height: 470px;
  margin:0 auto;
  position: absolute;
  top: 0;
  left: 0;
}

#qrMask>div .close_button{
  width: 64px;
  height: 64px;
  font-size: 48px;
  line-height: 64px;
  padding: 0px;
  position: absolute;
  right: 5px;
  top: 5px;
  border-radius: 50%;
  z-index: 10000;
}

#points{
  padding:0;
}

#points li{
  font-size: 28px;
  /*! border-radius: 50px; */
  background: #777;
  width: 100%;
  height: 70px;
  margin: 10px auto;
  text-align: center;
  line-height: 15px;
  color: #fff;
  border: none;
  list-style: none;
  padding: 11px 20px;
  box-shadow: 2px 2px 2px #a5a5a5;
}

.modal{
  background: #0003;
}

.modal>div{
  width: 80%;
  margin:5px auto;
  padding:8px;
  background: #fff;
  text-align: center;
  box-shadow: 0 0 20px #383838;
}

.modal>div h3{margin: 20px;border-bottom: 1px solid #333;padding-bottom: 8px;}

.modal>div p{
	font-size: 32px;
}

.modal>div input{
	width: calc(100% - 30px);
}

.modal>div input[type='file']{
	border:dashed 1px #cecece;
}

.modal>div textarea{
	width: calc(100% - 30px);
}

input.error{
  border:1px solid red;
  background: #999
}
select.error{
  border:1px solid red;
  background: #999
}
button.grey{
  background: #565656;
}

button:disabled{
    background:#fdfdfd !important;
    color:#eee !important;
    border:1px solid #eee !important;
}

button:disabled:hover{
    background:#fdfdfd !important;
    color:#eee !important;
    border:1px solid #eee !important;
}

button:disabled:hover>i,button:disabled:hover>i,button:disabled:hover>i,.modal>div>button:hover>i{
  color:#eee !important;
}


.tab {
    overflow: hidden;
    border-bottom: 1px solid #5a5a5a;
    margin-top: 20px;
    height: 45px;
}

/* Style the buttons inside the tab */
.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    transition: 0.3s;
    font-size: 16px;
    color: #111;
    /* border-right: 1px solid #111; */
    padding: 7px 15px;
    /* border-bottom: 1px solid #111; */
    box-shadow: none;
    margin-top: 6px;
}

/* Change background color of buttons on hover */
.tab button:hover {
    background-color: #111;
}

/* Create an active/current tablink class */
.tab button.active {
    background-color: #c91434 !IMPORTANT;
    color: #fff;
    margin-top: 6px;
}

.tab button.active:hover {
    color:#fff !important;
}

.tab form {
    float: right;
    width: 265px;
    height: 38px;
}

.tab form button{
    float: none;
    margin: 0px;
    padding: 3px 10px;
    display: inline-block;
    font-size: 16px;
    text-align: center;
    line-height: 24px;
    font-weight: 300;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 2px 2px 2px #a5a5a5;
    background: #5a5a5a;
    border: 1px solid #a1a1a1;
    cursor: pointer;
}

/* Style the tab content */
.tabcontent {
    display: none;
    padding: 6px 12px;
    border-top: none;
}

.tabcontent h2{
    display: none;
}

.navbar-light .navbar-nav li a.nav-link{

  color:#000;

}

main div#content,main div.content,.navbar-expand-md>.container, .navbar-expand-md>.container-fluid{width: 90%;margin: 40px auto;max-width: 1800px;padding: 0;}


div>h2 {
    font-size: 30px;
    font-weight: 300;
    line-height: 38px;
}

div#content>h2,div.content>h2{
  margin: -40px 0 25px 0;
}

div>h2 i{
  color: #c74a61;
}



table.table tbody tr:hover {
    background-color: #a0a0a0 !important;
}

table.table tbody tr:hover a {
    color: #fff !important;
}

table.table td{
  padding: 0px;
  font-size: 14px;
  font-weight: 300;
 }

table tr.table_foot td{
  border-top:1px solid #333;
  background: #ffe999;
}

#table_rides td:first-child{width: 90px;}
#table_rides td:nth-child(2){width: 70px;}
#table_rides td:nth-child(3){width: 70px;}
#table_rides td:nth-child(3){width: 70px;}
#table_rides td:nth-child(4){width: 125px;}
#table_rides td:nth-child(5){width: 160px;}
#table_rides td:nth-child(6){width: 160px;}
#table_rides td:nth-child(7){width: 160px;}
#table_rides td:nth-child(8){width: 70px;}
#table_rides td:nth-child(9){width: 70px;}
#table_rides td:nth-child(10){width: 70px;}
#table_rides td:nth-child(11){width: 70px;}
#table_rides td:nth-child(12){width: 70px;}

#table_rides td,#table_rides th,table.table th,table.table td{
    text-align: right;
}

#table_rides td.left,#table_rides th.left,table.table th.left,table.table td.left{
    text-align: left;
}

#table_rides td.center,#table_rides th.center,table.table th.center,table.table td.center{
    text-align: center;
}

table.table th {
    padding: 4px !important;
    font-size: 14px;
    font-weight: 600;
    border-top: 0px solid #000;
}

table.table td {
    padding: 4px !important;
}

table.table td a{
    color: #333;
    display: block;
    padding: 4px;
    text-decoration: none;
    height: 30px;
}

table.table th:last-child, table.table td:last-child a{
    text-align:right;

}

main a {
    color: #333;
}

main a:hover {
    color: #c74a61;
}

h2 a.cls-btn,h2 button.cls-btn,h2 button,h2 .modal>div>button{
  margin:0 5px;
   padding:2px 15px;
}

a.cls-btn,button.cls-btn,button,.modal>div>button{
  margin: 15px;
  padding: 5px 15px;
  display: inline-block;
  font-size: 16px;
  border-radius: 24px !important;
  text-align: center;
  line-height: 32px;
  font-weight: 300;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 2px 2px 2px #a5a5a5;
  background: #5a5a5a;
  border: 1px solid #a1a1a1;
  cursor: pointer;
}

.modal button{
    margin: 15px !important;
}

.modal input,.modal select{
  margin: 15px;
  padding: 0 10px;
  font-size: 34px;
  font-weight: bold;
  height: 40px;
}

.modal select{
  font-size:26px;
  width:calc(100% - 30px);
  height: 40px;
}
.modal.webView select{
  font-size: 14px;
  width:calc(40%);
  height: inherit;
  margin: 0;
}

.modal.webView input{
  font-size: 14px;
  width:calc(40%);
  height: inherit;
  margin: 0;
}

.modal>div textarea{
	width: 40%;
	margin: 5px;
}


.modal.webView label{
  font-size: 16px;
  width:calc(40%);
  text-align:right;
  vertical-align: top;
  margin-top: 5px;
}

.modal.webView>div p{
	font-size: 16px;
}

.modal.webView input,.modal.webView select{
  margin: 5px;
  padding: 0 10px;
  font-size: 16px;
  font-weight: normal;
  height:inherit;
}

a.cls-btn:hover,button.cls-btn:hover,button:hover,.modal>div>button:hover{
  color: #ffffff;
  text-decoration: none;
  background: #111;
  cursor: pointer;
}

a.cls-btn>i,button.cls-btn>i,button>i,.modal>div>button>i{
  color: #fff;
}

a.cls-btn:hover>i,button.cls-btn:hover>i,button:hover>i,.modal>div>button:hover>i{
  color: #ffffff;
}


.float_right{
  float: right !important;
}

.float_left{
  float: left !important;
}

#docs>div{
  font-size: 14px;
  font-weight: 600;
  padding: 5px;
}


#docs>div > div {
  padding-left:20px;
  font-size: 14px;
  font-size: 14px;
  font-weight: 600;
}

#docs>div a{
  padding-left:20px;
  font-size:14px;
  display:block;
}


#docs>div > div > a{
  padding-left:20px;
  font-size:14px;
  display:block;
}

.nav-item.dropdown:hover div.dropdown-menu{
  display:block;
  top: 30px;
}
.ride>h2{
  border-bottom: 1px solid #999;
  padding: 5px;
}

.ride h4{
      line-height: 34px;
}

.ride h5{
          font-size: 14px;
}

button.end_qr{
    background: #D03232;
}


section>button.red.end_qr {

    background: #c30000;

}

section>button.green.add_qr {
  background: #00b408;
  }

  section>button.red.end_qr:hover {

    background: #c30000;

}

section>button.green.add_qr:hover {
  border:1px solid #00b408;
  color:#00b408;
  background: #fff;
}

button.green.add_qr:hover>i,button.green.add_qr:hover>i,button.green.add_qr:hover>i,.modal>div>button.green.add_qr:hover>i{
  color:#00b408;
}

section>button.red.end_qr:hover {
  border:1px solid #c30000;
  color:#c30000;
  background: #fff;
}

section>button.red.end_qr:hover>i,section>button.red.end_qr:hover>i,section>button.red.end_qr:hover>i,.modal>div>button.red.end_qr:hover>i{
  color: #c30000;
}

h2{
  border-bottom: 1px solid #999;
  padding: 10px 0;
}

table.table-striped tbody tr:nth-of-type(odd) {
    background-color: #eaeaea;
}

#navigation{
    border-bottom: 2px solid #999;
    height: inherit;
}

span.error{
    font-size: 26px;
    color: red;
}

@media (min-width: 768px){
	#navigation{
	    border-bottom: 2px solid #999;
	   	height: 64px;
	}
}

@media (max-width: 768px){
		.table {
    	width: 980px !important;
 		}
	 main div#content,main div.content,.navbar-expand-md>.container, .navbar-expand-md>.container-fluid{

	  width:100%;
	  max-width: 1140px;

	}
}

main .page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: #dd062c;
    border-color: #dd062c;
}

main .page-link {
    color: #dd062c;
}

table tr td button.cls-btn{
    padding: 0px 5px 0 3px;
    line-height: 20px;
    font-size: 14px;
    margin: 2px;
}

table tr td button.cls-btn.edit{
    padding: 0px 5px 0 7px;
}

table tr td button.cls-btn.delete{
    padding: 0px 5px 0 3px;
    background:#7b000c;
}