/*
Theme Name:     Largo Child
Theme URI:      wskg.org
Description:    WSKG's new website child theme, developed in summer 2017 to unite WSKG's news and PBS content into one cohesive site.
Author:         Natalie
Author URI:     Author URL
Template:       largo
Version:        0.2.5
Text Domain:    largo-child
*/

                 /* ---------->  BACKGROUND COLOR FOR TOP WSKG NAV BAR MAY BE CHANGED HERE <---------- */

.global-nav-bg {
  background-color: #0f1e8c;
}

                  /* CHANGE VALUE ABOVE TO ADJUST WSKG TOP NAV BAR BACKGROUND COLOR */

#main-nav.navbar {
  border-top: none;
  border-bottom: 1px solid #1f3d7a;
}

.navbar .nav li a {
  color: #000000;

}

.card {
  padding-left: 15px;
}

h1.top-story {
  font-family: serif;
  font-size: 36px;
  color: #000000;
}

/* Style the tab */
div.tab {
    margin-bottom:20px;
		overflow: hidden;
}

/* Style the buttons inside the tab */
div.tab button {
    background-color: #778899;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 17px;
		font-family: helvetica;
}

/* Change background color of buttons on hover */
div.tab button:hover {
    background-color: #ddd;
}

/* Create an active/current tablink class */
div.tab button.active {
    background-color: #ccc;
}

/* Style the tab content */
.tabcontent {
    display: none;
    padding: 6px 12px;
    border-top: none;
}

.show-grid {
	flex-flow: row wrap;
	display: flex;
	width:100%;
	justify-content: space-between;
}

.show-grid-play {
	flex-flow: row wrap;
	display: flex;
	width:100%;
}

.show-item {
	width: 30%;
}

@media screen and (max-width: 480px) {
	.show-item {
		width: 40%;
	}

  }

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

	  }

.show-item-100 {
		width: 100%;
}
.show-item h5 {
	font-size: 16px;
}

.show-item-250 h5 {
	font-size: 16px;
}

.top-cat {
	width: 63%;
	padding:10px;
}

.top-cat img:hover {
  opacity: 0.8;
}

@media screen and (max-width: 940px) {
	.top-cat {
		width: 100%;
	}

  }

.top-cat h2 {
	color: #454545;
	font-size: 32px;
}

.top-cat h2:hover {
	color: #2275bb;
}

.top-cat-4 h2 a {
  color: #454545;
	font-size: 32px;
}

.top-cat .top-cat-4 a:hover {
	color: #2275bb;

}

.top-cat .top-cat-4 h3 {
	color: #778899;
	font-family: helvetica;
	font-size: 20px;
}

.top-cat-4 {
	width: 100%;
	padding: 10px;
}

.show-item-100px {
	width: 100px;
}

.show-item-250 {
	width: 250px;

}

.show-item-250px {
	width: 250px;
	padding-left:20px;
}

.show-item-350px {
  width: 367px;


}

/*GRID HOMEPAGE*/
/* THIS IS THE CLASS THAT IS APPLIED TO THE UNORDERED LIST AND ACTS AS THE FLEX CONTAINER */

.sub-stories {
	display: flex;			/* THIS MAKES IT A FLEX CONTAINER */
	flex-flow: row wrap;		/* THIS MAKES EACH BLOG POST LINE UP HORIZONTALLY AND WRAP TO THE NEXT LINE */
	align-items: left;		/* YOU CAN CHOOSE DIFFERENT VALUES HERE */
	justify-content: left;	/* YOU CAN CHOOSE DIFFERENT VALUES HERE */
	width:100%;
}

.story p a {
	color: #778899;
	font-family: Helvetica;
}

.story a {
	color: #000000;
}

.story a:hover {
	color: #2275bb;
}


/* THIS IS THE CLASS FOR EACH LIST ITEM */

.story {
	height: auto;		/* HEIGHT OF EACH ITEM - ADJUST FOR YOUR OWN PURPOSES */
	padding-right: 10px;		/* SET WHATEVER PADDING VALUE YOU WANT */
	margin: 0px;		/* SET WHATEVER MARGIN VALUE YOU WANT */
	width: 20%;   /* WIDTH OF EACH ITEM - ADJUST FOR YOUR OWN PURPOSES */
	padding: 10px;
  position: relative;
  display: flex;
  flex-flow: row wrap;
}

.story img:hover {
  opacity: 0.8;
}

.story-lg {
  width:45%;
  display: flex;
  flex-flow: row wrap;
}

.story-lg img:hover {
  opacity: 0.8;
}

.story-lg h4 {
  color: #000000;
}

.story-md {
  width:31%;
  display: flex;
  flex-flow: row wrap;
}

.story-md img:hover {
  opacity: 0.8;
}

.story-md h4 {
  color: #000000;
}

.story-ad {
  width: 31%;
}

@media screen and (max-width: 900px) {
  .story-ad {
    width: 50%;
  }

  .story {
		width: 31%;

	}

  .story-md {
    width:45%;
  }


}

@media screen and (max-width: 802px) {
	.story {
		width: 44%;

	}
	.story:last-child {
		width: 100%;

	}

  }

	@media screen and (max-width: 600px) {
		.story {
			width: 100%;

		}

    .story-ad {
      width: 70%;
    }

	  }

  @media screen and (max-width: 480px) {
    .story-ad {
      width: 80%;
    }

    .story-lg {
      width:100%;

    }

    .story-md {
      width:100%;
    }
  }



  .story-ad .span4 {
    width:100%;
  }

  .line-gy {
    padding-bottom: 10px;
    border-bottom: 1px solid #eaeaea;
  }

  .story-module {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 15px;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
  }

  .story-module:hover {
    opacity: 0.8;
  }

  .story-module h2 {
    color: black;
    position: absolute;
    top: 70%;
    padding: 10px;
    width: 60%;
    background-color: white;
  }

  .story-module-small {
    display: none;
  }

  .story-module-small {
    display: none;
  }


  @media only screen and (max-width: 690px) {
    .story-module-small {
      display: block;
      width: 100%;
      height: auto;
    }

    .mobile-img {
      display: inline;
    }

    .story-module-small h1 {
      color: #000000;
      display: inline;
    }

    .story-module {
      display:none;
    }

    .story-module a {
      display:none;
    }

    .story-module h1 {
      display: none;
    }
  }





/* USE THIS TO MAKE THE FEATURED IMAGES BEHAVE PROPERLY ACROSS ALL DEVICES */

.grid-item img {
	display: block;
	margin-left: auto;
	margin-right: auto;
	max-width: 350px;	/* SET WHATEVER SIZE VALUE YOU WANT */
}

/* YOU MIGHT NEED THIS TO FIX THE TYPICAL INDENTION BEHAVIOR OF UNORDERED LISTS */

.grid-wrap ul {
	margin: 0;
}

.story h2 {
  font-size: 20px;
}

/*END grid*/

p {
  font-family: Georgia, sans-serif;
  font-weight: 300;
}

.secondary-featured-post {
  margin-bottom: 10px;
}

/*GLOBAL NAV*/
.global-nav li {
  font-size: 14px;
  padding: 2px;
}

/*CATEGORY NAV*/
.navbar li {
  font-size: 18px;
  padding-right: 10px;
  font-weight: 600;

}

.donate-btn {
  background-color: #f94e60;
}

/*Side-stories Homepage*/
div#homepage-featured {
  border: none;
  margin-bottom: 0px;
}

#homepage-featured .top-story {
  width:100%;
  padding: 0px 5px 2px;
}

#homepage-featured .top-story p {
  font-size: 18px;
}

#homepage-featured p a {
	color: #778899;
	font-family: serif;
  font-size: 18px;
}




/*LATEST NEWS*/

/*NEWS Widgets*/
.archive-background {
	padding-bottom: 2px;
}

.news_cat li {
	display: inline;
	font-family: helvetica;
}

.news_cat li a {
	color: #454545;
	padding-right: 10px;

}

.news_cat .widget {

	margin-bottom: 2px;

}

.news_2 {
  color:#ffffff;
  text-align:center;
  line-height: 1.1em;
  flex-basis: 65%;
  margin-bottom:10px;
}

@media (min-width:900px) {
  .news_2 {
    margin-bottom:0px;
  }
}

h2.top-title {
  font-size: 25px;
  color: #000000;
  border-bottom: 3px solid #384e5d;
}

.news_3 {
  text-align:left;
  flex-basis: 63%;
  -moz-column-count: 2;
  column-count: 2;
  -moz-column-rule: 1px solid #dbe0e7;
  column-rule: 1px solid #dbe0e7;
  -moz-column-gap: 60px;
  column-gap: 60px;
}

.news_3 li {
  list-style-type: none;
  width: 100%;
  vertical-align: top;
  page-break-inside: avoid;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  column-break-inside: avoid;
  border-bottom: 1px solid #eaeaea;

}


.news_3 li:nth-child(3n) {
  border-bottom: none;
}

.news_3 li:last-child {
  border-bottom: none;
}

.news_3 h2 {
  font-weight: 700;
  font-size: 20px;
  color: #000000;
}
.news_3 h3 {
  font-weight: 600;
  font-size: 18px;
}

.news_3 a {
  font-family: helvetica;
	color: #000000;

}

.news_3 a:hover {
  color: #2275bb;
}


@media (max-width:900px) {
  .news_3 {
    flex-basis: 100%;
  }
}

@media (max-width:490px) {
  .news_3 {
    text-align:left;
    flex-basis: 100%;
    -moz-column-count: 1;
    column-count: 1;
    -moz-column-rule: none;
    column-rule: none;
    -moz-column-gap: 60px;
    column-gap: 60px;
  }
  .news_3 li:nth-child(3n) {
    border-bottom: 1px solid #eaeaea;
  }
}

.email-header {
  text-align:center;
  margin:0px;
  line-height: 1.1em;
  padding:5px;
}

.white-bg {
  background-color: #ffffff;
  border-radius: 6px;
}

.grey {
  background-color:#d7d7d7;
  border-radius: 6px;
}

.rounded {
  line-height: 1.1em;
}

/*News sidebar*/

h2.npr-title {
  font-size: 18px;
  text-decoration: underline;
  color: #889cb3;

}

div.npr-feed {
  list-style-type: none;
}

.npr-feed h5 {
  font-size: 16px;
}

/*RECENT POSTS SINGLE ARTICLE*/
aside#largo-recent-posts-widget-4 h5 {
  font-weight: 300;

}

/*Donate button SINGLE ARTICLE*/
aside#largo-donate-widget-4 .btn-primary {
  width: 70%;
  background-color: #fc4f73;
  padding: 10px;
  font-size: 16px;
  font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
}

aside#largo-donate-widget-4 .btn-primary:hover {
  background-color: #fb345d;
}

/*General HTML stuff*/
body {
  background-color: #ffffff;
}

p {
  font-size: 18px;
}

table tr td {
  border: none;
}

table {
  width: 100%;
}

tr {
  width: 100%;

}

@media screen and (max-width: 735px) {
  td {
    width: 100%;
    display: flex;
    flex-wrap: wrap;

  }
}


/*Post Columns and their rules*/
div.row-line {
  border-bottom: 1px solid #eaeaea;
  border-top: 1px solid #eaeaea;
}

div.row-bottom {
  width:100%;
  flex-wrap:wrap;
  align-items: stretch;
  display: flex;
  justify-content: space-between;
}

div.row-radio {
  width:100%;
  flex-wrap:wrap;
  align-items: stretch;
  display: flex;
  justify-content: flex-start;
}

#sidebar .widget {
  padding: 0px;
}

div.widget-container {
  width:100%;
  flex-wrap:wrap;
  align-items: stretch;
  margin-bottom:10px;
}

@media (min-width:900px) {
  div.widget-container{
  display: flex;
  justify-content: space-between;
  }

}

.gray-bg {
  background-color:#f5f5f5;
}

div.row-bottom h4 {
  font-size: 24px;
  padding: 0px;
  margin:0;
  line-height: 1.5;

}
div.col-md-4 h4 a {
color: #454545;
}

.col-md-4 ul {
	list-style: none;
	margin: 0px;
	font-family: helvetica;
}

.col-md-4 img:hover {
  opacity: 0.8;
}

h5 a {
  color: #454545;
}

/*BOOTSTRAP COL MD STRUCTURE*/

div.col-md-6 {
  width: 63%;
  padding: 10px;

}

@media screen and (max-width: 940px) {
	div.col-md-6 {
		width: 100%;
	}
}


div.col-md-4 h5:last-child {
  border-bottom:none;
  padding-bottom:0px;
}

div.col-md-4 {
  width: 31%;
  padding: 10px;

}

div.col-md-4:last-child {
  border-right: none;


}

.padding-40 {
  padding-top: 40px;
}

@media screen and (max-width: 900px) {
  div.col-md-4 {
    width:100%;

  }

  div.col-md-4:first-child {
    border-top: none;
    margin-top: 0px;
  }
  div.col-md-4:last-child{
    margin-top: 20px;

  }

  .padding-40 {
    padding-top: 0px;
  }

}

div.col-md-5 {
  width: 50%;
  position: relative;
}

div.col-md-5-border{
  width: 45%;
  padding: 10px;
}

.col-md-5-border ul {
list-style: none;
margin: 0px;
font-family: helvetica;
}

div.col-md-12 {
  width:98%;
}

@media screen and (max-width: 690px) {
div.col-md-5 {
  width: 100%;
  border-right: none;
  border-bottom: none;
}

}


@media screen and (max-width: 580px) {
div.col-md-5 {
  width: 100%;
  padding: 10px;
  border-right: none;

}

div.col-md-5:last-child {
  width: 100%;
  border-bottom: none;
}

div.col-md-5-border {
  width: 100%;
  padding: 10px;
  border-right: none;
  border-bottom: 1px solid #eaeaea;
}

div.col-md-5-border:last-child {
  width: 100%;
}

div.col-md-6 {
  width: 100%;
}

}

/*END COL MD*/

img.responsive-image {
  width:100%;

}

div.#primary-sidebar.widget-area {
  width:100%;
  display: flex;
  flex-wrap: wrap;
}

div.primary-sidebar h4 {
font-size: 24px;
padding: 0px;
margin:0;
line-height: 1.5;
}

div.textwidget {
  width:100%;
}

div.banner-image-1 {
  padding-left: 200px;
  margin:20px;

}
/*END Post Columns and their rules*/

div#homepage-bottom {
  width:100%;
	display: flex;
	justify-content: space-between;

}

#homepage-bottom .widget {
	width: 31%;
}

@media screen and (max-width: 652px) {
	#homepage-bottom .widget {
		width: 41%;
	}

	#homepage-bottom .widget:last-child {
		width: 100%;

	}

  }

#homepage-bottom img {
		width: 100%;
		display: block;
}

#homepage-bottom p {
	width:100%;
	font-family: helvetica;
	font-size: .9375rem;
}

h5.top-tag {
  display: none;
}

/*SITE FOOTER Four Column*/
#text-7 {
  border-left: 10px solid #f86257;
  background-color: #d8d8d8;
  padding: 5px;
}
#site-footer {
  padding: 10px;
}

ul#menu-footer-navigation a {
  color: #ffffff;
  font-weight: 500;
  text-transform: uppercase;
}

ul#menu-footer-menu-2 a {
  color: #ffffff;
  font-weight: 500;
  text-transform: uppercase;
}

#science_home_1 li {
	list-style: none;
}

#science_home_1 ul {
	margin: 0px;
}

#education_home_1 li {
	list-style: none;
}

#education_home_1 ul {
	margin: 0px;
}

#arts_home_1 li {
	list-style: none;
}

#arts_home_1 ul {
	margin: 0px;
}

#menu-news-menu li {
	display: inline-block;
	padding-right: 5px;
	font-family: helvetica;
}

#homepage-bottom {
  margin-bottom: 0px;
}

h2 a {
  color:#454545;
}

div.entry-content {
  padding: 10px;
}

@media screen and (max-width: 750px) {
  div.entry-content img {
    display:none;
  }
}

h5.byline {
	font-size: 14px;

}

/* SINGLE ARTICLE POST */
.hero {
  background-color: #ffffff;
}

/*Radio Listen page*/
div.listen-grid {
  float:left;
  width:100%;
}

ul.count-5 {
	list-style: none;
	margin:2px;
}

ul.count-5 h5 {
	font-size: 18px;
	font-weight: 300;
}

.op-button {
	opacity: 1;
}

.op-button:hover {
	opacity: .5;
	transition: 1s;
}

              /* ---------> BACKGROUND COLOR FOR WSKG "LISTEN LIVE" MENU CAN BE CHANGED HERE <--------- */

.radio-header {
  background-color: #0F1E8C;
  color: #e4ecf2;
}

              /* CHANGE VALUE ABOVE TO CHANGE WSKG "LISTEN LIVE" MENU BACKGROUND COLOR  */

.radio-header a {
  color: #e4ecf2;
}

h4.tribe-event-title {
  color: #000000;
  font-size: 1.3rem;
}

.play-btn {
  text-decoration: none;
  border: 1px solid #000000;
  border-radius: 10px;
  padding: 15px;
  color: #000000;
}

.play-btn:hover {
  color: #ffffff;
  background-color: #000000;
  border: 1px solid #ffffff;
  text-decoration: none;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 35px;
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
}

.episode-box {
 background-color: #ECECEC;
 border: 2px solid #4281B7;
 padding: 6px 6px 2px 6px;
 margin: 5px 0;
 position: relative;

 -moz-border-radius: 5px;
 -khtml-border-radius: 5px;
 -webkit-border-radius:5px;
 border-radius: 5px;
 -moz-box-sizing: content-box;
 -webkit-box-sizing: content-box;
 -khtml-box-sizing: content-box;
 box-sizing: content-box;
}
.episode-box p {
 margin: 0;
 padding: 0;
 font-size: 90%;
}

.card-program {
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
    width: 31%;
    padding: 0px;
}

.card-program:hover {
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    opacity: 0.8
}

.contain-card {
    padding: 2px 16px;
}

@media screen and (max-width: 850px) {
  .card-program {
      width: 48%;
      padding: 0px;
  }
}

@media screen and (max-width: 550px) {
  .card-program {
      width: 98%;
      padding: 0px;
  }
}
/*GeoDirectory V2 – GD Post Images Slider – Set width*/
.geodir-post-slider{
    max-width: 500px;
    margin: 0 auto;
}

.archive .stories .hero.is-image img{
    height: auto !important;
}

#homepage-featured .top-story * {
	box-sizing: border-box;
}

#homepage-featured .top-story .top-story__column-wrapper p {
	font-size: 18px;
	margin-bottom: 12px;
    font-family: Georgia, sans-serif;
}

#homepage-featured .top-story .top-story__column-wrapper h2 {
	font-size: 36px;
	line-height: 1.3;
	font-family: 'Times New Roman', serif;
	margin-bottom: 24px;
}

#homepage-featured .top-story h5.byline {
	font-size: 18px;
	font-style: italic;
	color: #484848;
    font-family: Georgia, sans-serif;
}

#homepage-featured .top-story h5.byline .author {
	font-weight: 300;
}

#homepage-featured .top-story h5.byline >*:not(.by-author) {
	display: none;
}

#homepage-featured .top-story h2 a {
	color: #000;
}
#homepage-featured .top-story__column-wrapper {
	border-bottom: 1px solid #eaeaea;
}

#homepage-featured .top-story__img-wrapper {
	margin-bottom: 20px;
}

@media screen and (min-width: 768px) {
	#homepage-featured .top-story__column-wrapper {
		display: flex;
		flex-wrap: wrap;
		margin: 0 -20px;
	}

	#homepage-featured .top-story__column {
		width: 50%;
		padding: 0 20px;
	}

	#homepage-featured .top-story__img-wrapper {
		margin-bottom: 10px;
	}

	#homepage-featured .top-story__info-wrapper {
		padding-top: 10px;
	}
}
