/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #222;
    /*font-size: 1em;*/
    /*line-height: 1.4;*/
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
/*img,*/
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

  
html {
	height : 100%;
}
   
body {
	display : flex;
	height : 100%;
	

}	
   

#menu {
	width : 250px;
	height : calc(100% - 150px);
	flex-grow: 0; /* for IE11*/
	flex-shrink: 0; /* for IE11*/
	flex-basis: auto; /* for IE11*/
	z-index : 999;
}

#title {
	background-image : url("../img/LOGO.png");
	width : 100%;
	height : 150px;
	cursor : pointer;
}

#stage-container {
	width : 100%;
	height : 100%;
	/*overflow-y: scroll;*/
}

.stageview {
	display : flex;
	-webkit-box-shadow: inset 0px 0px 20px 1px rgba(196,196,196,1);
	-moz-box-shadow: inset 0px 0px 20px 1px rgba(196,196,196,1);
	box-shadow: inset 0px 0px 20px 1px rgba(196,196,196,1);
	border-bottom : 1px solid grey;
	padding-right:8px;
}


.stage {
	width : 220px;
	height : 80px;
	display : flex;
	flex-direction : column;
	box-sizing : border-box;
	cursor : pointer;
	padding : 5px 0 5px 0;
}


.date {
	height : 20%;
	text-align : center;
	font-style : italic;
	font-family: 'Roboto', sans-serif;
	font-size : 0.7em;
	line-height : 10px;
}

.infos-container {
	display : flex;
	height : 60%;
	padding : 0 0 0 10px;
	/*background-color : rgba(200,200,200,0.3);*/
}

.stage-number {
	font-family: 'Roboto', sans-serif;;
	font-size : 1.8em;
	padding : 5px 10px 0 2px;
	
}

.stage-cities {
	height : 100%;
	font-family: 'Roboto', sans-serif;
	font-weight : 800;
	line-height : 22px;
	font-size : 0.7em;
}

.city {
	height : 50%;
}


.viewbox {
	margin-top : 26px;
	height : 28px;
	width: 30px;
	cursor : pointer;
}


.meta {
	height : 20%;
	text-align : center;
	font-family: 'Roboto', sans-serif;
	font-size : 0.7em;
}

#maps {
	height : 100%;	
	width: 100%;
	overflow:hidden;
}

#map-container {
	height : 100%;	
	width: calc(100% - 250px);
	position: absolute;
	z-index: 1;
}

#gmap-container {
	height : 100%;	
	width: 100%;
	position: relative;
	left: 100%;
}

#switcher {
	width : 40px;
	height : 40px;
	z-index: 3;
	position: fixed;
	right : 10px;
	bottom : 80px;
	background-color: white;
	border-radius : 4px;
	border : 2px solid rgba(0,0,0,0.2);
	cursor : pointer;
	background-size : contain;
	background-repeat : no-repeat;
}

#map {
	position : fixed; 
	width: calc(100% - 250px); 
	height: 100%; 
}

.etapelabel {
	white-space : pre !important;
	padding : 0 !important;
	text-align :center;
	border-radius : 0 !important;
	opacity : 0.9 !important;
}

.paveid {
	font-weight : 600;
	margin-bottom: 5px;
}
.pavename {
	color : #C60C2E;
	margin-bottom: 5px;
}
.pavelong {
	
}
.leaflet-popup-content-wrapper {
	background: rgba(255,255,255,0.9) !important;
	box-shadow: none !important;
	border: 1px solid black;
	border-radius: 0 !important;
	padding: 0!important;
	text-align: center !important;
}
.leaflet-popup-content {
	margin: 5px !important;
}
.leaflet-popup-tip-container{
	border: none !important;
}

#gmapstr{
	background: url(../img/backg.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	display: flex;
	align-items: center;
}
.jscolor {
	border-radius: 5px;
	border: 1px solid #797979 !important;
	box-sizing: border-box;
}

.mCSB_outside+.mCSB_scrollTools{
	right: -5px !important;
}

.socialicons {width : 30px;	height : 30px;	cursor : pointer;	background-size: contain;}
#socialfb {	background-image : url(../img/share-facebook.png); position : fixed; left : 175px; top : 3px; z-index : 999;}
#socialtw {	background-image : url(../img/share-twitter.png); position : fixed; left : 215px; top : 3px; z-index : 999;}

#commentstreetview{
	color: white;
	text-align: center;
	padding: 20px;
	font: normal 25px Arial;
	text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

/*@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}*/

@media screen and (max-width: 875px) {
	#menu {
		display : none;
	}
	
	#map-container, #map {
		width : 100%;
	}


}

@media screen and (max-width: 400px) {
	.leaflet-control-search {
		display : none;
	}

}

@media print {
	#map {
        width: 100%;
		height : 100%;
		margin : 0;
		padding :0 ;
	}
	
	#chartid span {
		color : white !important;
	}

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}