/*
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU AFFERO General Public License as published by
the Free Software Foundation; either version 3 of the License, or
any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
or see http://www.gnu.org/licenses/agpl.txt.
*/

/* OSRM CSS styles */

/* ------------------------------------------------------------------------ */

/* fullscreen map */
html
{
    padding: 0;
    margin: 0;
    height: 100%;
    overflow:scroll;   
}
body
{
    padding: 0;
    margin: 0;
    height: 100%;
    overflow:hidden;   
}/*
.map {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    bottom: 20px;
}*/
.map {
    background: #eee;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0px;
    left: 0;
}

.resultados {
    background-color: gray;   
    opacity: 1.0;
    position: relative;
    top: 10px;
    height: 100px;
    left:0px;
    right:0px;
    /*width:90%;*/
    overflow-y: scroll;
}
#legend {
    font-family: Arial, sans-serif;
    width: 150px;
    background-color: rgba(255,255,255,0.5);
    color: black;
    padding: 0px;
    margin: 0px;
    border: 1px solid #000;
    position: relative;
    top: 10px;
    right: 10px;

}
#legend h3 {
    margin-top: 0;
}
#legend img {
    vertical-align: middle;
}
#slider-range .ui-state-default {
    /*background: none;*/
    top: 10px;
}
#slider-range.ui-slider .ui-slider-handle {
    width: 5px;
    height: 10px;
    margin-left: -5px;
    top: 4px;
   /* border:none;*/
}
#slider-range{
    height: 10px;
    top: 20px;
}


#slider .ui-state-default {
    /*background: none;*/
    top: 10px;
}
#slider.ui-slider .ui-slider-handle {
    width: 5px;
    height: 10px;
    margin-left: -5px;
    top: 4px;
   /*border:none;*/
}
#slider .ui-slider-tick-mark{
    display:inline-block;
    width:2px;
    background:black;
    height:16px;
    position:absolute;
    top:-4px;
}
#slider{
    range: "min";
    height: 10px;
    top: 20px;
    tickInterval: 1;
}



	
.via-counter
{
	position:absolute;
	top:-3px;
	right:-6px;
	width:16px;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	background-color:#FFFFFF;
	text-align:center;
	vertical-align:middle;	
	font-size:9px;
	display:none;
}

/* ------------------------------------------------------------------------ */

/* styles for error messages (browser too old / no javascript) */
.error-header
{
	font-weight:bold;
	margin: 20px 20px 10px 20px;
}
.error-body
{
	margin-left: 20px;
	margin-right: 20px;
}
#old-browser-warning
{
	display:none;
}
#gui
{
	display:none;
}

/* ------------------------------------------------------------------------ */

/* general styles for gui boxes */
.box-wrapper
{
	position:relative;
	border-radius:10px;
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
	background-color:rgba(0, 0, 0, 0.25);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#3f000000, endColorstr=#3f000000);	
}
.box-animated
{	
	transition:left 1s, right 1s;
	-moz-transition:left 1s,right 1s;
	-webkit-transition:left 1s,right 1s;
	-o-transition:left 1s,right 1s;
	-ms-transition:left 1s,right 1s;	
}
.box-content
{
	position:absolute;
	background-color:#ffffff;	
	background-color:rgba(255,255,255,1);
	border-radius:8px;
	-moz-border-radius:8px;
	-webkit-border-radius:8px;	
	margin:5px;
	padding:5px;	
}


/*
.box-content-left2
{
        top: 5px;
        left: 5px;
	width:200px;
	height:75px;
	border-radius:8px;
	-moz-border-radius:8px;
	-webkit-border-radius:8px;	
	margin:5px;
	padding:5px;	
}*/
.box-content-left3
{
        top: 35px;
        left: 5px;
	width:800px;
	height:775px;
	border-radius:8px;
	-moz-border-radius:8px;
	-webkit-border-radius:8px;	
	margin:5px;
	padding:5px;	
}


.box-content-right2
{
	position:absolute;
        top: 5px;
        right: 5px;
	width:320px;
	height:78px;
	border-radius:8px;
	-moz-border-radius:8px;
	-webkit-border-radius:8px;	
	margin:5px;
	padding:5px;	
}
.box-content-bottom
{
	position:absolute;
        top: 250px;
        left: 5px;
	width:110px;
	height:110px;
	border-radius:0px;	
	margin:5px;
	padding:5px;	
}
.box-content-bottom2
{
	position:absolute;
        top: 250px;
        left: 70px;
	width:110px;
	height:110px;
	border-radius:0px;	
	margin:5px;
	padding:5px;	
}
.box-content-bottom3
{
	position:absolute;
        top: 250px;
        right: 5px;
	width:110px;
	height:110px;
        border-radius:0px;
	margin:5px;
	padding:5px;	
}
.box-content-center
{
	position:absolute;
	top:200px;
	left:250px;
        top: 45px;
        right: 5px;
	width:600px;
	height:75px;
	border-radius:8px;
	-moz-border-radius:8px;
	-webkit-border-radius:8px;	
	margin:5px;
	padding:5px;	
}

.box-handle-wrapper-right
{
	width:36px;
	height:36px;
	border-top-right-radius:0px;
	border-bottom-right-radius:0px;
	-moz-border-radius-topright:0px;
	-moz-border-radius-bottomright:0px;
	-webkit-border-top-right-radius:0px;
	-webkit-border-bottom-right-radius:0px;
}
.box-handle-content-right
{
	width:16px;
	height:16px;
	border-top-right-radius:0px;
	border-bottom-right-radius:0px;
	-moz-border-radius-topright:0px;
	-moz-border-radius-bottomright:0px;
	-webkit-border-top-right-radius:0px;
	-webkit-border-bottom-right-radius:0px;	
}
.box-handle-wrapper-left
{
	width:36px;
	height:36px;
	border-top-left-radius:0px;
	border-bottom-left-radius:0px;
	-moz-border-radius-topleft:0px;
	-moz-border-radius-bottomleft:0px;
	-webkit-border-top-left-radius:0px;
	-webkit-border-bottom-left-radius:0px;
}
.box-handle-content-left
{
	width:16px;
	height:16px;
	border-top-left-radius:0px;
	border-bottom-left-radius:0px;
	-moz-border-radius-topleft:0px;
	-moz-border-radius-bottomleft:0px;
	-webkit-border-top-left-radius:0px;
	-webkit-border-bottom-left-radius:0px;	
}




/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/* general styles for gui box headers */
.top-left-button
{
	float:left;
	vertical-align:top;
}
.top-right-button
{
	float:right;
	vertical-align:top;
}

/* ------------------------------------------------------------------------ */

/* styles for main gui boxes */
#main-wrapper
{
	width:410px;
	top:5px;
	bottom:25px;
	left:5px;
        position:relative;
}
#main-input
{
	width:390px;
	height:140px;
}
#main-output
{
	width:390px;
	top:160px;			/* main-input.height+2*gui-box.margin+2*gui-box.padding */
	bottom:0px;
}


/* styles for main-input areas */
#input-mask-header
{
	left:0px;
	right:0px;
	top:0px;
	height:50px;
	background-repeat:no-repeat;
	background-position:center;
}
#input-mask
{
	margin:3px;
}
#input-mask-options
{
	margin:3px;
}


/* styles for main-input input-mask-header */
#gui-language-toggle
{
	position:absolute;
}


/* styles for main-input input-mask */
.input-marker
{
	display:table-row;
}
.input-marker > div
{
	padding-bottom:4px;
}
.input-label
{
    margin:0px 2px 0px 0px;
    color:black;
}
.input-delete 
{
	margin:0px 15px 0px 8px;
 	visibility:hidden;
}
.input-box
{
	width: 100%;
}


/* styles for main-input input-mask-options */
#gui-engine-toggle
{
	max-width: 200px;
}


/* styles for main-output areas */
#information-box-header
{
	margin:5px;
	height:60px;
}
#information-box
{
	position:absolute;
	bottom:20px;
	width:380px;
	overflow:auto;
	margin:5px;
}
.information-box-with-normal-header
{
	top:65px;
}
.information-box-with-large-header
{
	top:85px;
}
.information-box-with-larger-header
{
	top:100px;
}
#legal-notice
{
	position:absolute;
	right:0px;
	bottom:0px;
	margin:5px;
}


/* styles for main-output information-box-header */
.header-title
{
	font-weight:bold;
	margin-bottom:10px;
}
.header-subtitle
{
	font-weight:normal;
	margin-top:5px;
	margin-left:10px;
}
.header-label
{
	font-weight:normal;
	padding:0px 5px 0px 0px;
}
.header-content
{
	font-weight:normal;
}
.text-link
{
	color:#0000ff;
	text-decoration:none;
	cursor:pointer;
	white-space: nowrap;
}
.text-link:hover
{
	color:#ff0000;
}
.text-link-inactive
{
	text-decoration:none;
	white-space: nowrap;
}


/* styles for main-output information-box -> workaround for invisible scrollbars in Chrome */
#information-box::-webkit-scrollbar
{
	height: 10px;
	width: 10px;
}
#information-box::-webkit-scrollbar-track
{
    background: #FFFFFF;
}
#information-box::-webkit-scrollbar-thumb
{
	min-height: 30px;
    background: #EEEEEE;
    border: 1px solid #999999;
    -webkit-border-radius: 5ex;
}
#information-box::-webkit-scrollbar-thumb:hover
{
    background: #F9F9F9;
}
#information-box::-webkit-scrollbar-thumb:active
{
    background: #F4F4F4;
}


/* style for main-output information-box -> table (general) */
.no-results
{
	text-align:center;
	margin:28px;
}


/* style for main-output information-box -> table (search results) */
.results
{
	border-spacing:0px;
	width:100%;
}
.results-body-odd
{
	background-color: #FFFDE3;
}
.results-body-even
{
	background-color: #FFF9BB;
}
.results-body-counter
{
	text-align:right;
	vertical-align:middle;
	font-weight:bold;
	padding:1px 5px 1px 5px;
}
.results-body-items
{
	text-align:left;
	vertical-align:top;
	width:100%;
	padding:1px;
}
.results-body-item
{
	cursor:pointer;
	color:#000000
}
.results-body-item:hover
{
	color:#ff0000
}
.results-body-item-remark
{
	color:#999999
}


/* style for main-output information-box -> table (driving directions) */
.description
{
	border-spacing:0px;
	width:100%;
}
.description-body-odd
{
	background-color: #FFFDE3;
}
.description-body-even
{
	background-color: #FFF9BB;
}
.description-body-items
{
	text-align:left;
	vertical-align: middle;
	width:100%;
	padding:1px;
}
.description-body-directions
{
	text-align:left;
	vertical-align: middle;
	padding:1px 5px 1px 5px;
}
.description-body-direction
{
	width:18px;
	height:18px;
}
.description-body-distance
{
	text-align:right;
	vertical-align: middle;
	padding:1px 1px 1px 5px;

}
.description-body-item
{
	cursor:pointer;
	color:#000000;
}
.description-body-item:hover
{
	color:#ff0000;
}
.description-body-item-selected
{
	cursor:pointer;
	color:#ff00ff;
}

/* ------------------------------------------------------------------------ */

/* styles for other gui boxes */
#mapping-wrapper
{
	width:410px;
	height:100px;
	top:130px;
	left:300px;
        top:-50px;
}
#mapping-wrapper_1
{
	width:410px;
	height:100px;
	top:130px;
	left:300px;
        top:-50px;
}
#mapping-content
{
	width:390px;
	height:80px;	
}
#mapping-content_1
{
	width:390px;
	height:80px;	
}
#user-info-wrapper
{
        width:400px;
        height:740px;
        /*top:-50px;
        
        top:130px;
        left:20px;
        float:left;*/
}
#user-info-wrapper_1
{
        width:400px;
        height:740px;
        /*top:-50px;
        
        top:130px;
        left:20px;
        float:left;*/
}
#user-info-content
{
        width:380px;
        height:720px;
        position:relative;
        float:left;
        top:-40px;
       /* top:-660px;*/
}
#user-info-content_1
{
        width:380px;
        height:720px;
        position:relative;
        float:left;
        top:-40px;
       /* top:-660px;*/
}
#main-wrapper2
{
        width:620px;
        height:200px;
        position:relative;
        float:right;
        /*top: -50px;*/
}
#main-wrapper2_1
{
        width:620px;
        height:200px;
        position:relative;
        float:right;
        /*top: -50px;*/
}
#main-content2
{
        width:600px;
        height:180px;
        position:relative;
        float:right;
}
#main-content2_1
{
        width:600px;
        height:180px;
        position:relative;
        float:right;
}
#time-wrapper
{
        width:280px;
        height:110px;
        top:130px;
        left:860px;
}
#time-wrapper_1
{
        width:280px;
        height:110px;
        top:130px;
        left:860px;
}
#time-content
{
        width:260px;
        height:90px;
}
#time-content_1
{
        width:260px;
        height:90px;
}
#map-wrapper
{
        width:620px;
        height:700px;
        position:relative;
        float:right;
}
#map-wrapper_1
{
        width:620px;
        height:700px;
        position:relative;
        float:right;
}
#map-content
{
        width:600px;
        height:680px;
        position:relative;
        float:right;
}
#map-content_1
{
        width:600px;
        height:680px;
        position:relative;
        float:right;
}
#map-control-wrapper
{
        width:620px;
        height:40px;
        position:relative;
        float:right;
}
#map-control-wrapper_1
{
        width:620px;
        height:40px;
        position:relative;
        float:right;
}
#map-control-content
{
        width:600px;
        height:20px;
        position:relative;
        float:right;
}
#map-control-content_1
{
        width:600px;
        height:20px;
        position:relative;
        float:right;
}
#config-wrapper
{
	width:410px;
	height:100px;
	bottom:25px;
	right:5px;
        display:none;
}
#config-wrapper_1
{
	width:410px;
	height:100px;
	bottom:25px;
	right:5px;
        display:none;
}
#config-content
{
	width:390px;
	height:80px;	
        display:none;
}
#config-content_1
{
	width:390px;
	height:80px;	
        display:none;
}
#exclusive-notification-wrapper
{
	width:600px;
	height:170px;
	top: 50%;
	left: 50%;
	margin-top:-85px;
	margin-left:-300px;
        display:none;
}
#exclusive-notification-content
{
	width:580px;
	height:150px;
        display:none;
}
#exclusive-notification-blanket
{
	position:absolute;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
	background-color:rgba(0, 0, 0, 0.25);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#3f000000, endColorstr=#3f000000);
	z-index:100;
	display:none;
        display:none;
}
#tooltip-notification-wrapper
{
	width:700px;
	height:38px;
	top: 20px;
	left: 50%;
	margin-left:-350px;
	z-index:98;
	display: none;	
        display:none;
}
#tooltip-notification-content
{
	width:680px;
	height:18px;
        display:none;
}
#gui-tipo-mensaje-toggle{
    position: relative;
    
}

/* styles for content of other gui boxes */
#gui-language-2-toggle
{
	position:relative;
        display:none;
}
#gui-units-toggle
{
	position:relative;
        display:none;
}
.box-label
{
	font-weight:bold;
	margin-bottom:10px;
        display:none;
}
.config-label
{
	margin: 0px 0px 0px 5px;
        display:none;
}
.config-select
{
	width:100px;
        display:none;
}
#config-timestamps
{
	display:table;
	position:absolute;
	right: 5px;				/* equal to box-content padding */
	bottom: 5px;
        display:none;
}
#mapping-checkboxes
{
	margin-top: -2px;
        display:none;
}
#mapping-checkboxes input
{
	cursor:pointer;
	position: relative;	
	margin: 0px 5px 5px 5px;
	padding: 0px;
    top: 3px;    
        display:none;
}
#mapping-checkboxes label
{
	display: block;
    vertical-align:middle;
        display:none;
}
.mapping-button
{
	float: right;
}
.mapping-label
{
	padding:3px 10px 2px 10px;
	font-size:9px;
	float: right;
}
#notification-box
{
	margin:5px 5px 5px 5px;
}

/* ------------------------------------------------------------------------ */

/* map buttons */
.gui-control-wrapper
{
	position:relative;
}
.gui-control
{
	cursor:pointer;
	position:relative;	
	background-position: 50% 50%;
	background-repeat: no-repeat;
	display: block;
}
.gui-control-inactive {
	cursor:default;
	position:relative;	
	background-position: 50% 50%;
	background-repeat: no-repeat;
	display: block;
}


/* zoom buttons */
.gui-zoom-in,
.gui-zoom-out,
.gui-zoom-in-inactive,
.gui-zoom-out-inactive
{
	width: 15px;
	height: 15px;	
}
.leaflet-touch .gui-zoom-in,
.leaflet-touch .gui-zoom-out,
.leaflet-touch .gui-zoom-in-inactive,
.leaflet-touch .gui-zoom-out-inactive
{
	width: 23px;
	height: 23px;
}


/* locations buttons */
.gui-locations-user,
.gui-locations-route,
.gui-locations-user-inactive,
.gui-locations-route-inactive
{
        display:none;
	float:left;
	width: 26px;
	height: 26px;	
}
.leaflet-touch .gui-locations-user,
.leaflet-touch .gui-locations-route,
.leaflet-touch .gui-locations-user-inactive,
.leaflet-touch .gui-locations-route-inactive
{
	width: 32px;
	height: 32px;
}


/* layer selection */
.gui-layers
{
	width: 26px;
	height: 26px;	
}
.leaflet-touch .gui-layers
{
	width: 32px;
	height: 32px;	
}
.gui-layers-expanded .gui-layers
{
	display: none;
}

.gui-layers-list
{
	display: none;
}
.gui-layers-expanded .gui-layers-list
{
	display: block;
	position: relative;
}
.gui-layers-list input
{
	cursor:pointer;
	margin-top: 2px;
	position: relative;
    top: 2px;    
}
.gui-layers-list label
{
	cursor:pointer;	
	display: block;
    vertical-align:middle;
}

.gui-layers-separator
{
	height: 0;
	border-top: 1px solid #ddd;
	margin: 5px 0px 5px 0px;
}

/* ------------------------------------------------------------------------ */

/* text buttons */
.button
{
	cursor:pointer;
	padding:2px 10px 2px 10px;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	background-color:#EEEEEE;
	border:1px solid #999999;
	color:#333333;
	text-decoration:none;
	font-size:9px;
	outline-style:none;
	vertical-align:1px;
	white-space: nowrap;  
}
.button:hover
{
	background-color:#F9F9F9;
	color:#000000;
}
.button:active
{
	background-color:#F4F4F4;
	color:#FF0000;
}
.button-inactive
{
	cursor:default;
	padding:2px 10px 2px 10px;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	background-color:#F9F9F9;
	border:1px solid #CCCCCC;
	color:#999999;
	text-decoration:none;
	font-size:9px;
	outline-style:none;
	vertical-align:1px;	
	white-space: nowrap;
}
.button-pressed
{
	cursor:pointer;
	padding:2px 10px 2px 10px;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	background-color:#AAAAAA;
	border:1px solid #999999;
	color:#000000;
	text-decoration:none;
	font-size:9px;
	outline-style:none;
	vertical-align:1px;  
	white-space: nowrap;
}


/* iconic buttons */
.iconic-button
{
	cursor:pointer;
	width:16px;
	height:16px;
	background-repeat:no-repeat;
	background-position:center;
}

#gui-printer-inactive
{
	cursor:default;
}


/* styled select */
.styled-select-helper
{
	position:relative;
	border: 1px;
	text-decoration:none;
 	opacity: 1;
	filter: alpha(opacity=1);
	z-index: 5;
	cursor:pointer;
}
.styled-select
{
	text-align:left;
	position:absolute;
	background-repeat:no-repeat;	
	background-position: top right;
	padding: 1px 1px 1px 1px;
	overflow: hidden;
}

/* ------------------------------------------------------------------------ */

/* utility styles */
.quad
{
	min-width:10px;
	min-height:10px;
}
.absolute-hidden
{
	position:absolute;
	top:-1000px;
	left:-1000px;
}
.nowrap
{
	white-space: nowrap;
}

/* ------------------------------------------------------------------------ */

/* table styles */
.full
{
	display:table;
	width:100%;
}
.row
{
	display:table-row;
}
.left
{
	display:table-cell;
	text-align:left;
	vertical-align:middle;
}
.right
{
	display:table-cell;
	text-align:right;
	vertical-align:middle;
}
.center
{
	display:table-cell;
	text-align:center;
	vertical-align:middle;
}
.stretch
{
	width:100%;
}
.fixed
{
	min-width:100px;
}

/* ------------------------------------------------------------------------ */

/* fonts */
.base-font
{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: normal;
}
.big-font
{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: bold;	
}
.medium-font
{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10.5px;
	font-weight: normal;
}
.small-font
{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 9px;
	font-weight: normal;
}

/* ------------------------------------------------------------------------ */

/* option buttons */
.button-on
{
	cursor:pointer;
	padding:2px 10px 2px 10px;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	background-color:#4BFE78;
	border:1px solid #999999;
	color:#000000;
	text-decoration:none;
	font-size:9px;
	outline-style:none;
	vertical-align:1px;  
	white-space: nowrap;
}

.button-off
{
	cursor:pointer;
	padding:2px 10px 2px 10px;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	background-color:#FF7575;
	border:1px solid #CCCCCC;
	color:#000000;
	text-decoration:none;
	font-size:9px;
	outline-style:none;
	vertical-align:1px;	
	white-space: nowrap;
}

body {
    /*background: rgb(153, 0, 0);    */
}
.contenedor{
    width: 98%;
    margin: auto;
   
    color: #3f0000;
    padding: 20px 15px 50px 50px;
    border-radius: 10px;
    box-shadow: 0 10px 10px 0px rgba(0, 0, 0, 0.8);
}

.contenedor .titulo{
    font-size: 3.5ex;
    font-weight: bold;
    margin-left: 10px;
    margin-bottom: 10px;
}

#pestanas {
    float: top;
    font-size: 3ex;
    font-weight: bold;
}

#pestanas ul{
    margin-left: -40px;    
}

#pestanas li{
    list-style-type: none;
    float: left;
    text-align: center;
    margin: 0px 2px -2px -0px;
    background: darkgrey;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border: 2px solid #3f0000;
    border-bottom: dimgray;
    padding: 0px 20px 0px 20px;
}

#pestanas a:link{
    text-decoration: none;
    color: #3f0000;
}

#contenidopestanas{
    clear: both;  
    background: dimgray;
    padding: 20px 0px 20px 20px;
    border-radius: 5px;
    border-top-left-radius: 0px;
    border: 2px solid #3f0000;
    width: 95%;
}


#ajaxBusy
{
    display: none; 
    margin: 0px;
    paddingLeft: 0px;
    paddingRight: 0px;
    paddingTop: 0px;
    paddingBottom: 0px;
    position: absolute;
    top: 50%;
    left: 50%;
    marginTop: -50px;
    marginLeft: -50px;
    width: 100px;
    height: 100px;
}
/*
thead, tbody { display: block; }

tbody {
    height: 400px;       
    overflow-y: auto;    
    overflow-x: hidden;  
}
*/
/*
table {
    width: 100%;
    border-spacing: 0;
    table-layout: auto;
}

thead, tbody, tr, th, td { display: block; table-layout: auto;}

thead tr {

    width: 97%;
    height:40px;
   
    width: -webkit-calc(100% - 16px);
    width:    -moz-calc(100% - 16px);
    width:         calc(100% - 16px);
    table-layout: auto;
}

tr:after {   
    content: ' ';
    display: block;
    visibility: hidden;
    clear: both;
}

tbody {
    height: 100px;
    overflow-y: auto;
    overflow-x: hidden;
    table-layout: auto;
}

tbody td, thead th {
    float: left;
    table-layout: auto;
}*/

table.scroll {
    /* width: 100%; */ /* Optional */
    /* border-collapse: collapse; */
    border-spacing: 0;
    border: 2px solid black;
}

table.scroll tbody,
table.scroll thead { display: block; }

thead tr th { 
    height: 30px;
    line-height: 30px;
    /* text-align: left; */
}

table.scroll tbody {
    height: 100px;
    overflow-y: auto;
    overflow-x: hidden;
}

tbody { border-top: 2px solid black; }

tbody td, thead th {
    /* width: 20%; */ /* Optional */
    border-right: 1px solid black;
    /* white-space: nowrap; */
}

tbody td:last-child, thead th:last-child {
    border-right: none;
}
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height:15px;
  width:43px;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #79bb23;
}

input:focus + .slider {
  box-shadow: 0 0 1px #79bb23;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
  height:10px;
  width:10px;
}