body {
    color: #666;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    margin:0;
    padding:16px 0 16px 0;
    background: url(/static/img/grid.png) repeat-x;
    background-attachment: fixed;
}

@media only screen and (max-width: 400px) {
  body {
    padding:16px 8px 16px 8px;
  }
}

#page{
    max-width: 850px;
    padding: 10px;
    margin: auto;
}



.block_data{
    max-width: 50%;
    min-width: 250px;
    float:right;
    padding:5px;
}

.split {
    clear:both;
}

h1 {

}

.highlight {
    color: #d00;
}

.error_class {
    color: #d00;
    display:block;
    clear:both;
    padding:8px;
}

footer {
    margin: auto;
    margin-bottom: 30px;
    margin-top: 20px;

    padding-top: 2px;
    clear: both;
    color: #777;
    border-top: solid 1px #ddd;
    max-width: 850px;
}

@media print {
   .noprint {
      visibility: hidden;
   }
}

/* MakKav checkboxes ========= Start ======== */
/* The container */
.container {
  display: inline-block;;
  position: relative;
  cursor: pointer;
  margin-bottom: 4px;
  margin-left:35px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.container span {
	line-height: 30px;
	vertical-align:middle;
	direction: ltr;
    display: inline-block;
}

/* Hide the browser's default checkbox */
.container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
  display: inline-block;
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
  background-color: #ccc;
}


/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
  background-color: rgb(83, 123, 196);
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
  right: 9px;
  top: 8px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

 /* Radio B */
.container .rselect:after {
 	top: 10px;
	right: 7px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: white;
}
.rselect {
	border-radius: 50%;
}

/* MakKav checkboxes ========= End ======== */

/* MakKav Comments =========  */

.no-bottom{
    margin-bottom:0;
}

.comment {
    width:100%;
    height:auto;
    display:block;
    overflow:hidden;
}
.comment .bubble {
        max-width: 75%;
        min-width:250px;
        width: auto;
        height: auto;
        display: block;
        border-radius: 5px;
        position: relative;
        box-shadow: 0px 2px 1px rgba(0, 0, 0, 0.2);
        margin: 10px 5px 3px 0px;
        float:right;
        padding: 10px 15px 5px 15px;
    }

.comment .bubble .txt .title {
                display: inline-table;
                margin: 4px 0 4px 0;
                }
.comment .bubble .txt .message_head {
                }

.comment .bubble .message {
                margin: auto;
            }
.comment .bubble .timestamp {
                font-size: smaller;
                margin: auto;
                float:right;
                color: #999;
                line-height: 14px;
                vertical-align: middle;
            }
.comment .bubble .priority {
                float:left;
                line-height: 14px;
                vertical-align: middle;
            }
.pc-1{
    background:#f2f2f2;
}
.pc-2{
    background:#f6ffd9;
}
.pc-3{
    background:#fff7d9;
}
.pc-4{
    background:#ffe8d9;
}
.pc-5{
    background:#ffd9d9;
}

/* MakKav Comments ========= END ======= */

/* Map controllers */
.MapZoomButton{
    display: flex;
    align-items: center;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    border-radius: 3px;
    border-color: gray;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    text-align: center;
    z-index: 500;
  background-color: white;
  background-image: url('/static/img/switch-to-full-screen-button.png');
  background-repeat: no-repeat;
  background-position: center;
}
.MapZoomButton:hover{
    background-color: #f5f5f5;
    cursor: pointer;
}

/* sliding divs ---- START ---------- */

div.section {
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom:4px;
    clear:both;
    padding:4px;
}

a.section_button {
    min-width: 180px; 
    padding:0 8px 0 8px;
    margin-left: 4px; 
    background-color: #f9f9f9;
    color: #666; 
    text-decoration: none;
    border: 1px solid #999;
    border-radius: 4px;
    margin-bottom:4px;
    float:right;
}

a.section_button:hover, button.tablinks:hover{
    background-color: #ddd;
}

button.tablinks{
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    background-color: #f9f9f9;
    color: #666; 
    text-decoration: none;
    border: 1px solid #999;
    border-radius: 4px;
    float:right;
    padding: 8px;
    margin: 12px 0 0 4px;
    min-width: 120px;
}

button.t_selected {
    border-color: #ccc;
    background-color: #fff;
    border-bottom: solid #537bc4 5px;
    font-weight: bold;
    color: #537bc4;       
}

.t_name {
    font-weight: bold;
    white-space: nowrap;
    width: 1%;
    text-align: left;    
}

.t_name a {
    text-decoration: none;
    color: #666;
}

.t_name a:hover {
    text-decoration: underline
}

.t_count {
    width:35px;
    text-align: left;
}

.t_bar {
    width: 100%;
    height: 16px;
    background-color:#537bc4;
}
.t_red {
    background-color:#c46453;
}

.slide_div {
    display: none;
    padding : 5px;
}
.slide_button {
    padding: 0 10px 0 15px;
}

.arrow {
  border: solid #666;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 2px;
}

.arrow_large {
  border: solid #666;
  border-width: 0 6px 6px 0;
  padding: 4px;
  display: inline-block;
  transition: transform 200ms ease-in-out;
}

.right {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

.left {
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
}

.up {
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}

.down {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

/* sliding divs ---- END ---------- */

/* lines list ---- Start ---------- */
ul.search-list{
    padding: 0;
    margin: 0;
}
.search-list li {
    list-style-type: none;
    padding-top: 10px;
    border-bottom: 1px solid #e8e8e8;
    background-color: #fff;
    clear:both;
}
.search-list li:hover {
    background-color: #f8f8f8;
}
.search-list li a {
    color:#444;
}

li.header {
    background-color: transparent ;
    font-weight: bold;
    font-size:14px;
}

li.header:hover {
    background-color: transparent;
}

.ll1 {
    float:right;
    margin-left:10px;
}
.mapButton, .lineButton {
    float:right;
    margin-left:10px;
    height:32px;
    width:32px;
}
.lineButton {
    background-image:url(/static/img/008bus32.png);
}
.mapButton {
    background-image:url(/static/img/011map32.png);
}
.Lagency {
    float:left;
    min-width:100px;
    text-align: left;
}
.Lcluster {
    float:left;
    margin-left:10px;
    text-align:left
}

/* lines list ---- End ---------- */

/* lineMap ---- Start ---------- */
.leaflet-tile-pane {
    -webkit-filter: grayscale(10%);
    filter: grayscale(10%);
}

.leaflet-popup-content {
    direction: rtl;
    text-align: right;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    line-height: 1.5;
}
/* lineMap ---- End ---------- */