@import url(http://fonts.googleapis.com/earlyaccess/notosanskr.css);



body {
	margin: 0;
	padding: 0;
	font-family: 'Noto Sans KR', sans-serif;
	letter-spacing: -1px;  
}


a {
	text-decoration: none;
}

ul { 
	margin:0;
	padding:0;
}

li {
	list-style: none;
	margin:0;
	padding:0;
}

input[type="radio"] {
	display: none;
} 

table {
	border-spacing: 0;
	border-collapse: collapse;
	
}

table tr {
	margin:0;
	padding:0;
}

table td {
	margin:0;
	padding:2px 0px;
}

/* ============================================================================== 템플릿 */
 #menubar {
          width: 90%;
          height: 50px;
          padding: 3px 5% 3px 5%; 
          z-index: 900; 
          background-color: #313942;
}

#menubar a {
            	text-decoration: none;
}

#menubar .menubarLeft {
	width : 8%;
	height: 50px; 
	float: left;
}

#menubar .menubarRight {
	width: 82%;
	height: 50px; 
	float: left; 
}
 

#menubar .socialbox {
	width:10%;
	height: 50px;
	float: left;
}


.newslogo {
            width: 43px;
            height: 43px;
            margin: 2px 0px 0px 0px; 
            float: left;
}
 
.mabulogo {
            width: 80px;
            height: 35px;
            margin-top:5px; 
}

.pagelogo {
	width: 277px;
	height: 45px;
	margin: 0 auto;
	display: block;
}
 
#teamname {
            font-size: 1.2em;
            color:#fff;
            margin: 5px 0px 0px 0px;
            font-weight: 500;
            text-align: left;  
}
 
 .social {
 	width: 50px;
 	height: 50px; 
 	float: left;
 	cursor: pointer;
 }
 
#footerbar {
            width: 90%;
            height: 70px;
            background-color:#202020;
            padding: 20px 5%;
            float: left;
       
    }
    
       #fteamname {
            font-size: 1.1em;
            color:#fff;
            font-weight: 700;
            margin:5px 0px 0px 10px;
            text-align: left; 
    }

.credit {
            font-size: 0.8em;
            color:#aaaaaa;
            font-weight: 350;
            margin:5px 0px 0px 10px;
            text-align: left; 
}



 
 /* ============================================================================== 지도 */

#container {
	width: 100%;
	height: 900px; 
	float: left;
}

#map {
	width: 100%;
	height: 830px; 
	float: left;
	background-color: #7ea0c8;
}

 #timelinebox {
 	width: 100%;
 	height: 70px; 
 	float: left; 
 	z-index: 999; 
 	background-color: #fff;
 	position: relative;
 }


.timemini {
	width: 170px;
	height: 35px;
	position: absolute;
	top:-40px;
	left: 5%;
	background-color: rgba(0,0,0,0.5);
	text-align: center;
	padding-top: 5px;
}

#nowTime {
	font-size: 1.1em;
	font-weight: 500;
	color: #fff;
	margin:0;
}

.st0{fill:#FFFFFF;}

.leaflet-marker-icon{
	background-color: transparent;
	border: none;
	width: 25px;
	height: 25px; 
}

.leaflet-marker-icon   .pin{ 
	fill: #333; 
}
 
  
 /* ========= 선택 버튼  */
 
 .btnbox {
 	width: 170px;
 	height: 100px;
 	position: absolute; 
 	top: 100px;
 	left: 5%;
 	z-index: 999;
 } 
.btnbox .minibox { 
	width:100%;
	height: 40px;
	margin-bottom: 4px;  
}

 label.btn  {
 	width: 40%;
 	cursor: pointer;
	  display: inline-block; 
	  float: left;
	 height: 20px;
	  outline: none; 
	  vertical-align: baseline;
	  background-color:#313942;
	  color: #aaa;
	  margin: 0em auto;
	  padding: 10px 5% 10px;
	  text-transform: none;
	  text-shadow: none;
	  font-weight: 300;
	  line-height: 1em;
	  font-style: normal;
	  font-size: 0.9em;
	  text-align: center;
	  text-decoration: none; 
	  -webkit-user-select: none;
	  -moz-user-select: none;
	  -ms-user-select: none;
	  user-select: none;
	  -webkit-transition: opacity 0.1s ease, background-color 0.1s ease, color 0.1s ease, box-shadow 0.1s ease, background 0.1s ease;
	  transition: opacity 0.1s ease, background-color 0.1s ease, color 0.1s ease, box-shadow 0.1s ease, background 0.1s ease;
	  will-change: '';
	  -webkit-tap-highlight-color: transparent;
 }

/* label.leftbtn {
	border-radius: 20px 0px 0px 20px;
}

label.rightbtn {
	border-radius: 0px 20px 20px 0px;
} */

input[name=markerbtn]:checked+label.dustbtn {
	background-color: #00C8DA;
	color: #fff;
	font-weight: 600;
	animation: colorchange 0.5s;
}

input[name=fillbtn]:checked+label.whatgood {
	background-color: #00C8DA;
	color: #fff;
	font-weight: 600;
	animation: colorchange 0.5s;
} 

@keyframes colorchange {
	0% { background-color: #313942; }
	100% { background-color: #00C8DA; }
}


 /* ========= 마커 색상값  */
.colorProgression {
	width: 150px;
 	height: 350px;
 	padding: 10px;
 	position: absolute; 
 	top: 200px;
 	left: 5%;
 	z-index: 999;
 	background-color: #fff;
}

#colorIs {
	font-size: 1em;
	font-weight: 600;
	color: #222;
	margin:0;
}

.categoryText {
	font-size: 0.9em;
	font-weight: 300;
	color: #aaa; 
}

#colorKorea { 
	margin-top: 20px;
}

#colorAQI {
	display:none;
	margin-top: 20px; 
}


.colorLabel {
	width:100%;
	height: 30px;
	padding: 0px 0px;
	margin-bottom: 5px; 
}

.colorLabel div {
	width: 50px;
	height: 22px;
	margin-top: 1px;
	margin-right: 5px;
	background-color: #ccc;
	float: left; 
}

 .numbers  { 
	font-size:0.9em;
	font-weight: 400;
	text-align: center;
	color: #fff;
	margin: 0;
}



#colorKorea    li:nth-child(1) div { background-color : #00e5df ; }
#colorKorea    li:nth-child(2) div { background-color : #c7e54a ; }
#colorKorea    li:nth-child(3) div { background-color : #ffcb48 ; }
#colorKorea    li:nth-child(4) div { background-color : #ff3636 ; }
#colorKorea    li:nth-child(5) div { background-color : #6D6D6D ; }


#colorAQI    li:nth-child(1) div { background-color : #00e5df ; }
#colorAQI    li:nth-child(2) div { background-color : #c7e54a ; }
#colorAQI    li:nth-child(3) div { background-color : #ffcb48 ; }
#colorAQI    li:nth-child(4) div { background-color : #ff3636 ; }
#colorAQI    li:nth-child(5) div { background-color : #ce0076 ; }
#colorAQI    li:nth-child(6) div { background-color : #572472 ; }
#colorAQI    li:nth-child(7) div { background-color : #6D6D6D ; }

#dashboard    li:nth-child(1) div { background-color : #00e5df ; }
#dashboard    li:nth-child(2) div { background-color : #c7e54a ; }
#dashboard    li:nth-child(3) div { background-color : #ffcb48 ; }
#dashboard    li:nth-child(4) div { background-color : #ff3636 ; }
#dashboard    li:nth-child(5) div { background-color : #ce0076 ; }
#dashboard    li:nth-child(6) div { background-color : #572472 ; }
#dashboard    li:nth-child(7) div { background-color : #6D6D6D ; }

.colorLabel2 {
	width:100%;
	height: 150px;
	padding: 0px 0px; 
	border-top: 2px solid #333;
	border-bottom: 2px solid #333;
}
 


.colorLabel2 .numbers {
	font-size: 0.8em; 
	text-align: left;
}

.colorLabel2 tr td:nth-child(1) {
	width:10%;
}

.colorLabel2 tr td:nth-child(2) {
	width:15%;
}

.colorLabel2 tr td:nth-child(3) {
	width: 75%;
}

.colorLabel .labeltext { 
	font-size: 0.8em;
	font-weight: 400;
	text-align: left;
	float: left;
	margin: 0;
}

.labeltext2 {
	font-size: 0.9em;
	font-weight: 700;
	text-align: left; 
	margin: 0;
}

.labelExplain {
	font-size: 0.9em;
	font-weight: 400;
	text-align: left;  
	color: #666;
}
/* ========= 슬라이더  */

 

#myRange {
	width:90%;
	height: 20px;
	margin: 5px auto;
}
  
.slider-labels {
	width: 92%;
	height: 40px;
	margin:0 auto;
	padding: 0% 4%; 
	text-align: left;
	font-size: 0.8em;
	list-style: none;
}
 

.slider-labels li {
	width: 3.8%;
	color: #88949e;
	display: inline;
	font-weight: 400;
	float: left;
	cursor: pointer;
}

 .slider-labels li:nth-last-child(1) {
	position: absolute;
	margin-left: -3px;
	width: 25px;
} 



/* ============================================================================== 대쉬보드  */

#dashboard {
	width: 23%;
	padding: 30px 1% 0px;
	height: 800px;
	background-color: #fff;
	position: absolute;
	left: 75%;
	z-index: 999;
	display: none;

} 

.graph {
	width: 100%;
	height: 200px; 
	padding-top: 10px;
}


.labelExplainBox {
	margin-top: 30px;
}

/* ========= 텍스트 */

 
#monthName { 
	font-size: 1em;
	font-weight: 700;
	text-align: left;
	color:#222;
	margin:0;
}
 
#thisMarker {
	font-size: 1.5em;
	font-weight: 700;
	color:#222;
	margin:0;
}

.explainMarker {
	font-size: 1em;
	font-weight: 400;
	color: #666;
	margin:0;
}

/* =========== 창 닫기 */
#closeBoard {
	width: 60px;
	height: 100px;
	background-color: rgba(0,0,0,0.5);
	position: absolute;
	top: 40%;
	left: -60px;
	border-radius: 80px 0px 0px 80px;
}

#closeBoard svg {
	width: 30px;
	height: 30px;
	margin: 35px 0px 0px 20px;
}
.closebutton {
	
	fill: #fff;
}

@media screen and (max-width: 1367px) {
		#menubar {
          width: 90%;
          height: 40px;
          padding: 3px 5% 3px 5%; 
          z-index: 900; 
          background-color: #313942;
}

#menubar a {
            	text-decoration: none;
}

#menubar .menubarLeft {
	width : 8%;
	height: 40px; 
	float: left;
}

#menubar .menubarRight {
	width: 82%;
	height: 40px; 
	float: left; 
}
 

#menubar .socialbox {
	width:10%;
	height: 40px;
	float: left;
}


.newslogo {
            width: 33px;
            height: 33px;
            margin: 2px 0px 0px 0px; 
            float: left;
}
 
.mabulogo {
            width: 80px;
            height: 35px;
            margin-top:0px; 
}

.pagelogo {
	width: 277px;
	height: 35px;
	margin: 0 auto;
	display: block;
}
 
#teamname {
            font-size: 1em;
            color:#fff;
            margin: 5px 0px 0px 0px;
            font-weight: 500;
            text-align: left;  
}
 
 .social {
 	width: 40px;
 	height: 40px; 
 	float: left;
 	cursor: pointer;
 } 



	 

	#container {
		width: 100%;
		height: 92vh; 
		float: left;
	}

	 .btnbox { 
 	top: 70px; 
 } 

 .colorProgression {
 	top: 170px;
}


	#map {
		width: 100%;
		height: 85vh; 
		float: left;
		background-color: #7ea0c8;
	}

	 #timelinebox {
	 	width: 100%;
	 	height: 7vh; 
	 	float: left; 
	 	z-index: 999; 
	 	background-color: #fff;
	 	position: relative;
	 }
	

	.slider-labels {
		font-size: 0.7em; 
	}


	#dashboard {
		width: 34%;
		padding: 2vh 5% 0px 1%;
		height: 83vh;
		background-color: #fff;
		position: absolute;
		left: 60%;
		z-index: 999;
		display: none;
	} 
	

	#monthName { 
		font-size: 0.9em; 
	}
	

	#thisMarker {
		font-size: 1.2em; 
	}

	
	.explainMarker {
		font-size: 0.8em;
		font-weight: 300; 
	}


	.graph {
		width: 80%;
		height: 175px; 
	}
	 
	.labeltext2 {
		font-size: 0.8em;
		font-weight: 500;
		text-align: left; 
		margin: 0;
	}

	.labelExplain {
		font-size: 0.8em;
		font-weight: 300;
		margin:0;
	}

	#nowTime {
	font-size: 1em;
	}

}