/*
 Theme Name:   0_ UMassD Dynamic News
 Theme URI:    http://example.com/dynamic-news-lite-child/
 Description:  Dynamic News Lite theme with UMassD colors and logo
 Author:       Kate Noyer  
 Template:     dynamic-news-lite
 Version:      1.0.0
 Tags:         umassd branded
 Text Domain:  dynamic-news-lite-child
*/


/* =Theme customization starts here
-------------------------------------------------------------- */



/* General Styles
-------------------------------------------------------------- */


/* Links */
a, a:link, a:visited{
	color: #0a2972;
	text-decoration: none;
}


/* Form Elements */
input, textarea {
	padding: 0.7em;
	background: #fff;
	border: 1px solid #ddd;
	font-size: 1.0em;
	color: #0a2972;
	font-family: 'Droid Sans', Tahoma, Verdana, Arial;
}
input[type="submit"] {
	border: none;
	color: #fff;
	background: #ffd478;
}


/* Basic Structure
-------------------------------------------------------------- */

#header {
	padding: 1em;
}


/* Header
-------------------------------------------------------------- */
#umassdlogo {
	float: left;
	max-width:100%;
}
#header .header-widgets {
	float: right;
}
#header aside.header-widget {
	float: left;
	margin-left: 1.5em;
}
#header aside.header-widget .header-widget-title {
	font-weight: bold;
	margin: 0 0 0.5em;
}


#logo .logo-image {
	border: 0;
	max-width: 100%;
	height: auto;
display: none;
}
#logo .site-title {
	font-size: 1.5em;
	font-weight: bold;
	color: #ffd478;
	font-family: 'Francois One', Tahoma, Verdana, Arial;
        display: none;
}
#logo a:hover {
	text-decoration: none;
display: none;
}
#logo a:hover .site-title {
	color: #0a2972;
	text-decoration: none;
display: none;
}
#logo .site-description {
	margin-top: 0.4em;
	color: #0a2972;
}


/* Navigation Menu
-------------------------------------------------------------- */

#navi-wrap {
	background: #0a2972;
}

#mainnav-menu a:hover {
	background: #ffd478;
	color: #0a2972;
}

#mainnav-menu ul a {
	width: 250px;
	width: 16rem;
	padding: 1em;
	float: left;
	font-weight: normal;
	color: #0a2972;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#mainnav-menu ul a:link, #mainnav-menu ul a:visited{
	color: #0a2972;
	font-size: 0.9em;
	text-decoration: none;
}
#mainnav-menu ul a:hover {
	color: #fff;
	background: #ffd478;
}


/* Widget Styling
-------------------------------------------------------------- */

.widgettitle {
	font-size: 0.9em;
	font-family: 'Droid Sans', Tahoma, Verdana, Arial;
	padding: 0.8em;
	margin: -0.5em -0.5em 1.5em -0.5em;
	background: #0a2972;
	color: #fff;
	text-transform: uppercase;
}

.widget a:link, .widget a:visited  {
	text-decoration: none;
	color: #0a2972;
}

.search-form .search-submit:hover .genericon-search {
	color: #0a2972;
}

#wp-calendar tbody #today {
	font-weight: bold;
	color: #0a2972;
}



/* Posts and Pages
-------------------------------------------------------------- */

.page-title, .post-title {
	font-weight: bold;
	font-family: 'Francois One', Tahoma, Verdana, Arial;
	color: #000;
	line-height: 1.4em;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
	text-transform: uppercase;
	padding: 0.3em 0;
	border-bottom: 5px solid #000000;
}



/* Postmeta */
.postmeta {
	display: block;
	color: #0a2972;
	margin: 0;
	padding: 0.7em 1em;
	background: #eee;
}

.postinfo .meta-category {
	display: block;
	color: #0a2972;
	margin: 0;
	font-size: 0.9em;
}
.postinfo .meta-category a {
	display: inline-block;
	float: left;
	color: #fff;
	background: #0a2972;
	padding: 0.4em 1em;
	margin: 0 1px 1px 0;
}
.postinfo .meta-category a:hover, .postinfo .meta-category a:active {
	background: #ffd478;
	text-decoration: none;
}

/* Read more Link */
.more-link {
	display: inline-block;
	margin: 0.5em 0;
	padding: 0.6em 1em;
	text-decoration: none;
	color: #fff;
	text-transform: uppercase;
	background-color: #ffd478;
}


/* Archives and Search Heading */
.archive-title {
	font-weight: bold;
	color: #0a2972;
	background: #fff;
	padding: 1.5em;
	margin-bottom: 1.5em;
	box-shadow: 0 0 4px #ddd;
	border: 1px solid #ddd;
	text-transform: uppercase;
}
.archive-title span{
	color: #ffd478;
}

/* Content Pagination */
.post-pagination {
	margin-bottom: 1.5em;
	font-weight: bold;
	padding: 0.8em 1em;
	color: #0a2972;
	box-shadow: 0 0 4px #ddd;
	border: 1px solid #ddd;
	background: #fff;
	text-transform: uppercase;
}
.post-pagination a {
	padding: 0.6em 0.8em;
	margin-right: 0.2em;
	display: inline-block;
    text-align: center;
	text-decoration: none;
	color: #0a2972;
}
.post-pagination a:link, .post-pagination a:visited {
	color: #0a2972;
}
.post-pagination a:hover {
	color: #ffd478;
}
.post-pagination .current {
	padding: 0.5em 0.9em;
	margin-right: 0.2em;
	color: #ffd478;
	text-decoration: underline;
}

/* Image.php Navigation */
#image-nav {
	margin: 1.5em 0;
	padding: 0.6em 1em;
	font-weight: bold;
	color: #0a2972;
	box-shadow: 0 0 4px #ddd;
	border: 1px solid #ddd;
	background: #fff;
	text-transform: uppercase;
}

#image-nav .nav-previous a, #image-nav .nav-next a {
	font-size: 0.9em;
	text-decoration: none;
	color: #ffd478;
}

/* Social Icons | based upon http://kovshenin.com/2014/social-menus-in-wordpress-themes/
-------------------------------------------------------------- */

#social-icons-menu li a {
	position: relative;
	display: inline-block;
	padding: 0.8em;
	background: #ffd478;
	text-decoration: none;
	color: #fff;
}
#social-icons-menu li a:hover {
	text-decoration: none;
	background: #0a2972;
}




/* Footer
-------------------------------------------------------------- */
#footer-wrap {
	background: #0a2972;



	/* Mobile Navigation */

	/* Reset */
	#mainnav, #mainnav-menu, #mainnav-menu li, #mainnav-menu a, #mainnav-menu ul,
	#mainnav-menu ul a, #mainnav-menu ul ul, #mainnav-menu li ul ul
	{
		margin: 0;
		padding: 0;
		position: static;
		float: none;
		display: inline;
		font-size: 1.0em;
		border: none;
		box-shadow: none;
		background: none;
		top: 0;
		left: 0;
	}
	#mainnav-menu li:hover ul ul, #mainnav-menu li:hover ul ul ul, #mainnav-menu li:hover ul ul ul ul,
	#mainnav-menu li:hover ul, #mainnav-menu li li:hover ul, #mainnav-menu li li li:hover ul, #mainnav-menu li li li li:hover ul
	{
		display: inline;
	}

	#mainnav {
		margin: 1.5em 0;
		float: none;
	}
	#mainnav-icon {
		display: block;
		padding: 1.5em;
		text-transform: uppercase;
		text-decoration: none;
		font-size: 1.0em;
		font-family: 'Francois One', Tahoma, Verdana, Arial;
		color: #fff;
		background: rgba(255, 255, 255, 0.1);
		-webkit-transition: all 0.1s ease-out;
		-moz-transition: all 0.1s ease-out;
		-ms-transition: all 0.1s ease-out;
		-o-transition: all 0.1s ease-out;
		transition: all 0.1s ease-out;
	}
	#mainnav-icon:hover {
		cursor: pointer;
		background: #ffd478;
	}
	#mainnav-icon:after {
		float: right;
		margin: -0.15em 0 0;
		-webkit-font-smoothing: antialiased;
		display: inline-block;
		content: '\f419';
		font: normal 24px/1 Genericons;
		text-decoration: inherit;
		vertical-align: text-bottom;
	}
	#mainnav-menu {
		width: 100%;
		display: none;
		border-top: 1px solid #fff;
	}
	#mainnav-menu a {
		display: block;
		padding: 1.5em;
		text-decoration: none;
		font-size: 1.0em;
		border-bottom: 1px solid #fff;
		clear: left;
	}
	#mainnav-menu ul {
		float: left;
		padding: 1em;
		background: #fff;
		width: 100%;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
	#mainnav-menu ul a {
		display: block;
		width: 100%;
		padding: 1em;
		font-size: 0.9em;
		border-bottom: 1px solid #aaa;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
	#mainnav-menu ul li ul {
		float: left;
		padding: 0 0 0 1em;
		width: 100%;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
	#mainnav-menu li.current_page_item a, #mainnav-menu li.current-menu-item a {
		text-decoration: underline;
	}
	#mainnav-menu li.current_page_item ul li a, #mainnav-menu li.current-menu-item ul li a{
		text-decoration: none;
	}
	#mainnav-menu ul li.current_page_item a, #mainnav-menu ul li.current-menu-item a {
		text-decoration: underline;
	}
}

/* Tablets (portrait) | <800px */
@media only screen and (max-width: 50em) {
	#logo .site-title {
		font-size: 2.3em;
	}
	.widget, .type-post, .type-page, .type-attachment, #comments {
		box-shadow: none;
		border: none;
		padding: 0;
	}
	.widgettitle {
		margin: 0 0 1.5em 0;
	}
	.entry h1, .comment h1 {
	font-size: 2.2em;
	}
	.entry h2, .comment h2 {
		font-size: 1.8em;
	}
	.entry h3, .comment h3 {
		font-size: 1.4em;
	}
	.entry tr th,
	.entry thead th {
		padding: 0.2em 0.4em;
	}
	.entry tr td {
		padding: 0.2em 0.4em;
	}
	
	/* Mobile Footer Navigation */
	#footer #credit-link {
		margin-top: -1.05em;
	}
		
	/* Reset */
	#footernav, #footernav-menu, #footernav-menu li, #footernav-menu a, #footernav-menu ul {
		margin: 0;
		padding: 0;
		position: static;
		float: none;
		display: inline;
		font-size: 1.0em;
		border: none;
		box-shadow: none;
		background: none;
		top: 0;
		left: 0;
	}
	#footernav {
		float: none;
	}
	#footernav-icon {
		display: block;
		text-decoration: none;
		font-size: 1.0em;
		color: #fff;
	}
	#footernav-icon:hover {
		cursor: pointer;
		text-decoration: underline;
	}
	#footernav-icon:after {
		margin: 0.05em 0 0 0;
		-webkit-font-smoothing: antialiased;
		display: inline-block;
		content: '\f419';
		font: normal 16px/1 Genericons;
		text-decoration: inherit;
		vertical-align: text-bottom;
	}
	#footernav-icon:hover:after {
		text-decoration: none;
	}
	#footernav-menu {
		display: none;
		width: 100%;
		padding-bottom: 1em;
	}
	#footernav-menu li {
		display: block;
		padding: 0.8em 0.4em;
	}
	#footernav-menu a {
		display: inline-block;
		text-decoration: none;
		font-size: 0.9em;
	}
	#footernav-menu a:hover {
		text-decoration: underline;
	}
	
}

/* Phablets (portrait) | <640px */
@media only screen and (max-width: 40em) {

	#logo, #header-content {
		text-align: center;
	}
	#header-content #header-search,
	#header-content #header-text,
	#header-content #header-social-icons {
		margin: 0;
		float: none;
	}
	#header-social-icons #social-icons-menu li {
		float: none;
		display: inline-block;
		list-style: none;
		margin: 1px -1.5px;
	}
	.page-title {
		font-size: 2.0em;
	}
	.post-title {
		font-size: 1.4em;
	}
	.widget-category-posts .type-post .post-title {
		font-size: 1.0em;
	}
	..widget-category-posts .more-posts .post-title{
		font-size: 0.9em;
	}

	/* Frontpage Categories */
	.widget-category-posts .type-post {
		margin: 0 0 1.5em 0;
	}
	#widget-category-posts-grid .category-posts-grid-row {
		margin-right: 0;
	}
	#widget-category-posts-grid .category-posts-grid-row .type-post,
	#widget-category-posts-boxed .first-post,
	#widget-category-posts-columns .category-posts-column-left {
		float: none;
		width: 100%;
		padding-right: 0;
	}
	#widget-category-posts-boxed .more-posts,
	#widget-category-posts-columns .category-posts-column-right {
		width: 100%;
		margin-left: 0;
		padding-left: 0;
	}
	#widget-category-posts-boxed .more-posts,
	#widget-category-posts-columns .category-posts-columns .more-posts	{
		padding-bottom: 0.5em;
	}
	#widget-category-posts-columns .category-posts-columns .more-posts .type-post {
		margin: 0 0 1em;
	}
	#widget-category-posts-columns .category-posts-column-right {
		margin-top: 1.5em;
	}
}


/* Smartphones | <480px */
@media only screen and (max-width: 30em) {
	#logo .site-title {
		font-size: 2.0em;
	}
	.alignright, .alignleft {
		float: none;
		margin: 1em 0;
	}
	#footer #credit-link {
		float: none;
		margin-top: 1.05em;
	}
}

/* Smartphones | <320px */
@media only screen and (max-width: 20em) {
	.postmeta span, .postinfo span {
		display: block;
	}
	.postmeta .sep, .postinfo .sep, .postmeta .post-edit-link {
		border: none;
		margin: 0;
		padding: 0;
	}
}

/* Big Screens Navi Fix | >720px */
@media only screen and (min-width: 60em) {
	/* ensure #nav is visible on desktop version */
	#mainnav-menu {
		display: block !important;
	}
}
@media only screen and (min-width: 50em) {
	/* ensure #footernav is visible on desktop version */
	#footernav-menu {
		display: block !important;
	}
}

/* Slider Entry */
#frontpage-slider .zeeslide .slide-entry {
	line-height: 1.6em;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
	margin-top: 1px;
	padding: 1em 1.5em;
	color: #fff;
	background: #0a2972;
	border-top: 10px solid #0a2972;
}

#frontpage-slider-wrap:hover .frontpage-slider-controls a:hover {
	background-color: #0a2972;
}

/* Control Nav */
.frontpage-slider-controls .zeeflex-control-nav {
	width: 100%;
	position: absolute;
	margin: 1px 0 0;
	display: table;
}
.frontpage-slider-controls .zeeflex-control-nav li {
	padding: 0 1px 1px 0;
	background: #fff;
	display: table-cell;
	zoom: 1;
	*display: inline;
}
.frontpage-slider-controls .zeeflex-control-paging li a {
	height: 15px;
	display: block;
	background: #FFD478;
	cursor: pointer;
	text-indent: -9999px;
}
.frontpage-slider-controls .zeeflex-control-paging li a.zeeflex-active {
	background: #0a2972;
	cursor: default;
}
