html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

/*Clear Float*/
.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

/* BODY - Sections
-----------------------------------------*/
body {
    margin: 0;
    color: white;
    font-family: 'Open Sans', sans-serif, 'Arial';
    font-weight: bold;
    font-size: 18px;
    background: url(../images/line4photo.jpg) no-repeat fixed; 
    background-size: cover; 
    }

.container {
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

.content {
    width: 90%;
    margin: 0 auto;
    padding: 0px;
    background: rgba(0, 0, 0, 0.6);
}

/*for slide toggle paragraph*/
article {
    padding-bottom: 1em;
    border-bottom: 1px solid antiquewhite;
}

.hide {
    display: none;
}

.readMore-toggle {
    padding: 10px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}

.readMore-toggle:hover{
    color:antiquewhite;
    cursor: pointer;
    text-decoration: none; 
}


/* HEADER 
-----------------------------------------*/
.logo {
    float: right;
    margin: 0;
}

header {
    padding: 50px 50px 100px 50px;
    font-weight: 300;
}

header h1 {
    float: left;
    font-size: 40px;
    margin-left: 100px;
}

/*For All Sections*/
section {
    padding: 10px 200px;
	margin: 0 auto;
}


/*Stations Buttons*/



/*<!--WEBMAP Section-->*/
.btnInfoMap1,
.btnInfoMap2,
.btnInfoMap3, 
.btnInfoMap4 {
   color: whitesmoke;
   cursor: pointer;
}

.btnInfoMap1:hover,
.btnInfoMap2:hover,
.btnInfoMap3:hover, 
.btnInfoMap4:hover{
    color: yellow;
}

.btnReset1,
.btnReset2,
.btnReset3, 
.btnReset4 {
   color: whitesmoke;
   cursor: pointer;	
   float: right;	
}

.btnReset1:hover,
.btnReset2:hover,
.btnReset3:hover, 
.btnReset4:hover {
	color: cadetblue;
}

.sentenceMap1,
.sentenceMap2,
.sentenceMap3, 
.sentenceMap4 {
	padding: 40px;
	font-size: 24px;
/*	border: 1px solid antiquewhite;*/
}


/*<!--Subwaymap Section-->*/
.subwaymap {
    background: #ffffff;
}

/*Images*/
.image {
    display: inline-block;
    width: 90%;
    margin: 50px 25px;
}

/*<!--Background Story Section-->*/
.story {
    margin-bottom: 50px;
}

/*smooth-scroll buttons*/
.topbutton {
    float: right;
    margin-bottom: 50px;
}

/* FOOTER 
-----------------------------------------*/
.footer {
    width: 90%;
    margin: 0 auto;
    padding: 30px 0 5px 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    color: antiquewhite;
    font-weight: 300;
}

.hy {
    color: #d12026;
}

.juno {
	color: #ea593e;
}

.llc {
	color: #b0009a;
}

/*Text content styles*/
.line1text,
.line2text,
.line3text,
.line4text {
    font-size: 24px;
    color: black;
    padding: 5px 10px;
    border-radius: 50px;
}

.line1text {
    background: #fbc837;
}

.line2text {
    background: #06a74a;
}

.line3text {
    background: #04a9d9;
}

.line4text {
	background: #bd227e;
}


.special {
    color: antiquewhite;
    font-weight: 300;
}

.highlight {
    color: black;
    background-color: yellow;
    padding: 2px 5px;
    }
        
.underline {
    text-decoration: underline;
    }

li {
    font-size: 18px;
}

/*styles for hyperlinks*/
a { 
    color: dimgray;
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    color: whitesmoke;
}

/*<!--WEB MAP section-->*/
/*setup Leaflet webmap frame*/
#map1, #map2, #map3, #map4 {
    width: 100%;
    height: 750px;
}

/*Stylize webmap marker info popup*/
/***otherwise WHITE text cause not visible*/
.custom {
    color: #302D33;
    font-size: 16px;
    line-height: 0.5;
}


/*Media Queries*/
/*1024x600 small notebook*/
/*768 Tablet Portrait*/

/*screen 1024px or less*/
@media (max-width: 1024px){
	section {
		width: auto;
		padding: 10px 45px;
	} /*My note: Paddings left-right is the key made it looks much tidy on mobile*/
	
	.sentenceMap1,
	.sentenceMap2,
	.sentenceMap3, 
	.sentenceMap4 {
		font-size: 16px;
		padding: 20px;
		border: none;
		display: inline-block;
	}
	
	.line1text,
	.line2text,
	.line3text,
	.line4text {
		font-size: 16px;
		color: black;
		padding: 5px 10px;
		border-radius: 50px;
	}
	
	header h1 {
		font-size: 30px;
    	margin-left: 0;
	}
	
	h1 {
		font-size: 22px;
	}
	
	h2, h3 {
		font-size: 18px;
	}
	
	footer {
		font-size: 12px;
	}
} /*ends media query*/