/* RSS responsive main.css 2018-10-14*/
body {
	margin: 0;
	background-color: #ffffff;
	font-family: Times New Roman, Times, serif;
	font-size: 1.1em;
}

.container {
	width: 80%;
	margin: 0 auto; /* the auto value on the sides, coupled with the width, centers the layout */
}

@media only screen and (max-width : 400px) {
	.container {
	width: 100%;	
	}
	
}

h1 {
	color: #666699;
	font-size: 2em;
	text-align: left;
	/*font-style: italic;*/
	/* letter-spacing: 1.5px; */
	white-space: nowrap;
	padding: 6px 0 4px 0;
}

h2 {
	color: red;
	font-size: 1.2em;
	text-align: left;
	font-style: italic;
	/* letter-spacing: 1.5px;*/
	white-space: nowrap;
	margin: 8px 0 4px 0;
}

h3 {
	color: red;
	font-size: 1em;
	text-align: left;
	font-style: italic;
	letter-spacing: 1.5px;
	line-height: 1.5em;
	white-space: nowrap;
}

p {
	font-size: 1em;
	color: #666666;
	text-indent: 1.5em;
	line-height: 1.5em;
	margin: 0;
}

p.center {
	align: center;
}

p.nowrap {
	white-space: nowrap;
}

p.footer {
	font-family: Arial, Helvetica, sans-serif;
	font-size: .75em;
	letter-spacing: 1px;
	white-space: nowrap;
	text-align: center;
	margin: 0;
}

p.copyright {
	font-family: Arial, Helvetica, sans-serif;
	font-size: .65em;
	letter-spacing: 1px;
	white-space: nowrap;
	text-align: center;
	margin: 10px 0;
}

p.foot {
	font-family: Arial, Helvetica, sans-serif;
	font-size: .85em;
	text-align: center;
	margin: 10px 0;

}

a:link {
	text-decoration: none;
}

p.caption {
	font-family: Arial, Helvetica, san-serif;
	font-size: .65em;
	color: #333;
	line-height: .8em;
	text-indent: 5px;
}

p.red {
	color: red;
	font-size: 1.2em;
	text-indent: 0;
	white-space: nowrap;
}

/* header and its background (no background for mobile) */
@media only screen and (min-width : 572px) {
	#header-bg {
	background-image: url(images/rssheadbg.jpg);
	background-repeat: repeat-x;
	background-position: top;
	height: 130px;
	}
}

#header-main {
	background-image: url(images/rsshead.jpg);
	background-repeat: no-repeat;
	height: 130px;
	background-position: 31px 0px;
	border-bottom: 1px solid red;
}

@media only screen and (max-width : 400px) {
	#header-main {
		background-image: url(images/rsshead_sm.jpg);
		height: 91px;
		background-position: 0px 0px;
	}
}

.images_left {
	 float: left;
	 padding: 3px;
	 border: 0px solid #A7AAB3; /* remove border */
	 margin-right: 10px;
}

.images_right {
	 float: right;
	 padding: 3px;
	 border: 0px solid #A7AAB3; /* remove border */
	 margin-left: 10px;
}

@media only screen and (max-width : 700px) {
	.images_right {
		float: none;
		margin-left: 40px;
	}
}

/* faded images */
.img_fade {
	margin-top: 13px;		 
}

/* Peter Galvin photo */
#projects {
	display: block;
	background: #eef;
	border: 1px solid #89b;
	width: auto;
	height: auto;
	float: right;
	padding-bottom: 6px;
	margin-top: 7px;
	margin-left: 14px;
	margin-bottom: 25%;
}

.photo {
	background: #fff;
	padding: 3px; 
	border: 1px solid #89b;
	margin: 3px 3px 0 3px;
}

/* content wrapper */

#content-bg {
	background-color: #ffffff;
}

@media only screen and (min-width : 400px) {
	#content {
	background-image: url(images/rssmainbg.jpg);
	background-repeat: no-repeat;
	width: 100%;
	position: relative;
	border-bottom: 2px solid #89b;
	}

	#main-text {
		margin: 0 auto;
	/* padding: 12px;
	margin-right: 0px;
	margin-top: 0px; */
	position: relative;
	width: 75%;
	}
}

@media only screen and (max-width : 400px) {
	#content {
	/* background-image: url(images/rssmainbg.jpg);
	background-repeat: no-repeat;*/
	width: 100%;
	position: relative;
	border-bottom: 2px solid #89b;
	}

	#main-text {
	padding: 5px;
	margin-right: 0px;
	margin-top: 0px;
	position: relative;
	width: 100%;
	}
}

ul.alt {
	list-style: none;
	padding-left: 5;
	}

#footer {
	clear: both;
	height: 138px;
	width: 100%;
	padding: 14px 30px 30px 0;
}

a:link, a:visited {
	color: #5757FC;
}

a:hover {
	color: red;
}

a:active {
	color: #ffcc33;
}

.footdot {
	font-weight: bold;
	letter-spacing: 1px;
	color: red;
}

blockquote {
	padding: 1em;
	padding-bottom: 0;
	margin-left: 2em;
	font-family: Bitter, Georgia, "Times New Roman", Times, serif,;
	font-size: 1em;
	font-style: italic;
	/* color: rgb(65, 61, 62); duplicate?*/
	margin-bottom: .1em;
	text-align: center;
	color: red; 
}
blockquote .quote {
	font-family: DroidSans, Arial, Helvetica, sans-serif;
	font-size: .8em;
	text-align: right;
	display: block;
	margin-top:.5em;
	padding: .2em 0 1em;
}

nav {
   	background-color: #A3B6D7; /* more gray for RSS */
	opacity: 0.75;
   	font-family: Gotham, 'Helvetica Neue', Helvetica, Arial, 'sans-serif';
	font-weight: bold;
	font-variant: small-caps;
    position:relative;
	z-index: 2; /* keep nav in front of iframe */
}
#menutoggle {
	width: 40px;
	height: 50px;
	position: relative;
	float:right;
	margin-right:10px;
	margin-left: 10px;
	display:none;
}

#menutoggle:hover {
	background-color: transparent;
}

#menutoggle:before {
	content: "";
	position: absolute;
	left: 0;
	top: 10px;
	width: 40px;
	height: 5px;
	background: black;
	box-shadow: 0 12px 0 0 black, 0 24px 0 0 black;
}
 
    nav:after {
        clear:left;
        content:"";
        display:table;
    }
 
    nav ul {
        padding:0;
        /* margin:0; */
		margin: 0 auto;
        list-style: none;
        position: relative;
    }
         
    nav ul li {
        margin: 0px;
        display:inline-block;
        float: left;
        background-color: #A3B6D7;
    }
 
    nav ul li .active {color:#FF0000;}

    nav ul a {
        display:block;
        padding:0 20px;
        color:#FFF;
        font-size:.8em;
        line-height: 40px;
        text-decoration: none;
        transition: background-color 1.0s;
    }
 
    nav a:hover {
        background-color: #4c90ff;
		color: #009;
    }
 
    nav ul ul {
        visibility:hidden;
        opacity: 0;
        position: absolute;
        top: 50px;
        transition:opacity 1.0s;
    }
         
    nav ul li:hover > ul {
        visibility:visible;
        opacity: 1;
    }
 
    nav ul ul li {
        float:none;
        display:list-item;
        position: relative;
    }
     
   /* Only needed for sub-menus
	li > a:after {
        content:  ' +';
    } */
     
    li > a:only-child:after {
        content: '';
    }
	@media only screen and (max-width : 700px) {

		#menutoggle {
			display:inline-block;
		}

		nav ul { 
			display: none;
			width: 100%;
		}

		nav li {
			text-align: left;
			width: 100%;
			padding: 2px 0;
			border-bottom:1px solid #fff;
			margin: 0;
		}

		nav:hover > ul {
			display: block;
		}

		nav ul li:hover ul {
			display: block;
			visibility:visible;
			opacity: 1;
			position:static;
		}

		nav ul li ul li {
			text-align: left;
			padding: 1px 0 1px 10%;
			width:90%;
			font-size:12px;
			border-bottom:none;
			margin: 0;
		}
	}

