 /* 
 
2016 website version CSS
by Casey Tolan
 
Dark blue backgroun: #065589
Light blue links: #c5e8ff
Gray link hover: #c0c0c0


Step 1: reset 

*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, font, img, ins, kbd, q, s, samp,
small, strike, sub, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-weight: inherit;
    font-style: inherit;
    font-size: 100%;
    font-family: inherit;
    vertical-align: baseline;
}
:focus {
    outline: 0;
}
body {
    line-height: 1;
    color: black;
    background: white;
}


/* Step 2: CSS */

body{
    background-color:#065589;
    font-family: Arial, sans-serif;
    color: white;  /*#eaeaea; */
    font-size:18px;
    text-shadow: 1px 2px 2px #4e4e4e;
    background-image: url(images/img-noise-100x100.png);
    width: 100%;
    }

#topimg {
  min-width: 100%;
  width: 100%;
  background-image: url(https://caseytolan.com/images/bgx1.jpg);
  border-bottom: white 3px solid;
  background-position-y: -55px;
  height: 210px;	
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 200px;
  overflow-x: scroll;   
  background-size: auto 100%;
}

.bigimg {
  min-width: 100%;
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  height: 150px;
  /*position: fixed;*/
}

#big1 {
  background-image: url(https://caseytolan.com/images/bgy4.jpg);
  border-bottom: white 3px solid;
}
 
#big2 {
  background-image: url(https://caseytolan.com/images/bgy2.jpg);
}

#big3 {
  background-image: url(https://caseytolan.com/images/bgy3.jpg);
}

#big4 {
  background-image: url(https://caseytolan.com/images/bgy1.jpg);
}

#textborder {
	border: 3px white solid;
	padding: 15px;
	margin: auto;
	width: 60%;
	margin-top: 30px;
	margin-bottom: 40px;
	opacity: 1;
	max-width: 600px;
}
    
#main{
	width: 90%; 
	max-width: 900px;
	margin: auto;
	text-align:center; 
	margin-bottom: 25px;
}

#top {
	margin: auto;
	margin-bottom: 40px;
	min-height: 330px;
}

#upper {
	line-height: 1.25em;
	text-align:left; 
	width:66%;
	margin-bottom: 25px;
}

#clips{
	text-align:left; 
	margin-top: 35px;
}


h1 {
	font-size: 4.5em;
	font-weight: bold;
    text-shadow: 2px 3px 3px #4e4e4e;
}

h2 {
	font-size: 1.3em;
	margin-bottom: 18px;
	font-weight: bold;
    text-shadow: 2px 3px 3px #4e4e4e;
    margin-top: 30px;
}

a, a:visited {
    color: #c5e8ff;
    text-decoration: none;
	border-bottom: 1px dotted #c5e8ff;
	}

a:hover, a:visited:hover {
    text-decoration: none;
    color: #c0c0c0;
    }

p {
	padding:12px 0 0 0;
	line-height: 1.2em;
}

/* IMAGES */
#imgs {
	float: left;
	height: 55px;
	margin-bottom: 15px;
}

#imgs a {
		border:0px;
}

tweet {
	background-image: url(images/twitter.png);
	background-size: 100px;
	background-repeat: no-repeat;
	background-position: 0px 0px;
	width: 50px; height: 50px;
	vertical-align:text-bottom;
	display: inline-block;
}
tweet:hover{
	background-position:-50px 0px;
}
cnnlogo {
	background-image: url(images/cnn.png);
	background-size: 100px;
	background-repeat: no-repeat;
	background-position: 0px 0px;
	width: 100px; height: 50px;
	vertical-align:text-bottom;
	display: inline-block;
}
cnnlogo:hover{
	filter: brightness(0) invert(0.7); 
}

email {
	background-image: url(images/email.png);
	background-size: 110px;
	background-repeat: no-repeat;
	background-position: 0px 0px;
	width: 55px; height: 47px;
	vertical-align:text-bottom;
	display: inline-block;
	margin-left: 30px;
}
email:hover{
	filter: brightness(0) invert(0.7); 
}
linkedin {
	background-image: url(images/linkedinNew.png);
	background-size: 55px;
	background-repeat: no-repeat;
	background-position: 0px 0px;
	width: 55px; height: 55px;
	vertical-align:text-bottom;
	display: inline-block;
	margin-left: 35px;	
}
linkedin:hover{
	filter: brightness(0) invert(0.7); 
}
signal {
	background-image: url(images/signal.png);
	background-size: 75px;
	background-repeat: no-repeat;
	width: 55px; height: 55px;
	vertical-align:text-bottom;
	display: inline-block;
	margin-left: 30px;	
	background-position: -10px -10px;

}
signal:hover{
	filter: brightness(0) invert(0.7); 
}

#headshot {
	background-image: url(images/Headshot2026Outlined.png);
	background-size: contain;
	background-repeat: no-repeat;
    background-position: bottom right;
	aspect-ratio: 1176 / 904;
	 float: right; 
	 border:none; 
	 margin: 0px; 
	 padding: 0px; 
	 width: 47%; 
	 position:absolute; 
	 bottom:0; 
	 right:0;
	 pointer-events: none;
}

#headshot img{
	 position:absolute; 
	 bottom:0; 
	 right:0; 
	 min-width:200px;
}

.storyimg {
	width: 33%;
	display: inline-block;
	border: 1px solid white;
	margin-right: 25px;
}

.storydescrip {
	display: inline-block;
	width: 55%;
	vertical-align: top;
}

.date {
	font-style: italic;
}

.count-icon {
  background:#3045a3;
  border:2px solid rgba(255,255,255,0.5);
  font-weight:bold;
  text-align:center;
  border-radius:50%;
  line-height:30px;
  }
  
.count-icon2 { 
  background:#1280e6;
  border:2px solid rgba(255,255,255,0.5);
  font-weight:bold;
  text-align:center;
  border-radius:50%;
  line-height:30px;
  }
  
 #map {
    color: black;
    font-size:12px;
    text-shadow:none;
    font-family: arial;
    position: absolute;
    z-index: 1;	 
    width: 100%;
    height: 425px; 
    border-bottom: 1px white solid;
    border-top: 1px white solid;
 }
 
 #mapkey {
	 position: relative;
	 z-index: 2;
	 border: 1px white solid;
	 max-width: 600px;
	 width: 66%;
	 margin: auto;
	 margin-top: 395px;
	 background-color:#065589;
	 text-align: center;
	 font-size: 18px;
	 padding: 10px;
	 line-height: 22px;
 }
 #mapkeyinner {
	 margin:none;
	 padding: none;
 }

#moreclips {
	width: 90%; 
	max-width: 900px;
	margin: auto;
	text-align:center; 
}

#moreclips a, #moreclips a:visited {
    color: #c5e8ff;
    text-decoration: none;
	border-bottom: none;
	}

#moreclips a:hover, #moreclips a:visited:hover {
    text-decoration: none;
    color: #c0c0c0;
    }
    
#clipslogo {
	display: inline-block;
	margin-right: 25px;
	margin-bottom: 25px;
	vertical-align: middle;
}    
#clipslogo:hover{
	filter: brightness(0) invert(0.7); 
}

   
    
@media only screen and (max-width : 790px) { 
	#textborder h1 {
		font-size: 2.8em;
	}    
	#textborder{
		margin-bottom: 25px;
	}    
}

@media only screen and (max-width : 750px) { 
	.storyimg {
		width:66%;
		margin-bottom: 15px;
	}
	.storydescrip {
		width: 100%;
		border-bottom: 1px white solid;
		padding-bottom: 30px;
	}
	#clips{
		line-height: 1.25em;
	}
	#clips h2{
		line-height: 1.3em;
	}
	#clipslister {
		line-height: 1.25em;
	}
}

@media only screen and (max-width : 625px) { 
	#clipslogo {
		display: block;
		margin: auto;
		margin-bottom: 25px;
	}
	/* Make logos in straight line */
}


    
@media only screen and (max-width : 700px) { 
	.storyimg {
		width:100%;
	}
   	.bigimg {
		display: none;
	}
	#upper{
		width:100%;
	}
	#headshot{
		width:75%;
		position: static;
		float: none;
		clear:both;
		margin:auto;
	}
	#headshot img{
		position: static;
	}
	#imgs{
		float: none;
		clear: both;
		margin-bottom: 15px;
	}
	#mapkey {
		width: 100%;
		border-right: none;
		border-left: none;
		padding:0px;
	}
	#mapkeyinner{
		padding: 10px;
		padding-top: 10px;
		padding-bottom: 10px;
	}
	#textborder{
		width: 80%;
	}

}

@media only screen and (max-width : 430px) { 
	#headshot{
		width:100%;
	}
	email{
		margin-left: 10px;
	}
	linkedin{
		margin-left:10px;
	}
	signal{
		margin-left:10px;
	}

}

@media only screen and (max-width : 345px) { 
	#imgs{
		margin-bottom: 70px;
	}
}


@media only screen and (max-device-width : 600px) { 
	.count-icon {
		border: 8px solid rgba(255,255,255,0.5);
	}
	.bigimg {
		display: none;
	}
}