.thisweek .page-title.image_overlay {
  background: #ffb600;
  color: #001935;
}

.thisweek .featured-image-credit {
  background: #000;
  bottom: 6px;
  padding: .25em;
  right: 0;
}

.featured-image-credit a {
  color: #17b6fc;
}

.thisweek .field-name-body {
  display: none;
}

.field-name-body p {
  margin-top: 0;
}

#block-choosedate {
  border: 2px solid #ddd;
  border-bottom: none;
  border-radius: 5px 5px 0 0;
  padding-left: 1em;
}

#block-choosedaterange {
  border: 2px solid #ddd;
  border-top: none;
  border-radius: 0 0 5px 5px;
  padding: 0 0 1em 1em;
}

#block-twihsubscribe,
#block-choosedate,
#block-choosedaterange {
  float: left;
  margin-left: 1%;
  width: 17%;
}

#block-twihsubscribe p.action a {
	color: #fff;
}

#block-choosedate h3,
#block-choosedaterange h3 {
  font-size: 1.1em;
  margin: .5em 0;
}

#block-choosedaterange h5 {
  clear: both;
  margin: .25em;
  padding-top: .5em;
}

.date-element {
  float: left;
  margin: .25em .5em 0 0;
}

#block-twihsubscribe {
  background: #001935;
  border: 2px solid #ffb600;
  border-radius: 10px;
  color: #fff;
  margin: 2em 0 1em 1%;
  padding: 10px;
}

#block-twihsubscribe input {
  margin-right: 5px;
  width: 175px;
}

#block-twihsubscribe .form-item-email,
#block-twihsubscribe .subscribe_button {
  float: left;
}

#block-twihsubscribe .subscribe_button {
  margin-top: 1em;
}

#block-mainpagecontent {
  float: right;
  margin: 0 1% 1em 0;
  width: 76%;
}

.thisweek .views-row {
  background: url(../images/header_bg.png);
  border: 2px solid #ffb600;
  border-radius: 5px;
  box-shadow: 2px 2px 2px 2px rgba(0,0,0,0.3);
  min-width: 235px;
  padding: 0;
  text-align: center;
}

.masonry-item {
	width: 30.5%;
}

.masonry .views-field-field-eventdate {
  background: #001935;
  border-radius: 4px 4px 0 0;
  color: #ffb600;
  font-size: 1.3em;
  padding: .3em 0 .5em 0;
  width: 100%;
}

.views-field-title {
  padding: 1em 0;
}

.masonry .views-field-title a {
  color: #001935;
}

.masonry-layout-this-week-in-history-choose-date .masonry-item a {
  color: #007cbf;
}

.masonry-layout-this-week-in-history-choose-date .masonry-item a:hover,
.masonry-layout-this-week-in-history-choose-date .masonry-item a:active {
  color: #666;
}

.views-field-field-eventdate-1 {
  border-radius: 0 0 4px 4px;
  font-size: 1.1em;
  padding: .5em 0;
}

.views-field-view-node {
  float: left;
  margin-left: 1em;
  padding-bottom: .75em;
}

#block-choosedate .subscribe_button,
#block-choosedaterange .subscribe_button {
  font-size: 14px;
  padding: 2px 4px;
}

#block-thisweekinhistoryhomeheader {
  background: #001935;
  border: 2px solid #ffb600;
  color: #fff;
  float: left;
  margin: 1em 0 1em 1%;
  padding: 1.5em .5em;
  text-align: center;
  width: 17%;
}

#block-thisweekinhistoryhomeheader h2 {
  margin: .25em;
}

#reset-button {
  margin-top: 12px;
}

.thisweek #reset-button a {
  margin-left: 0;
}

@media only screen and (max-width: 1030px) {
	.thisweek .page-title.image_overlay {
	  padding: 0 3%;
	  width: 94%;
	}
	#block-mainpagecontent {
	  width: 100%;
	}
	#block-thisweekinhistoryhomeheader {
	  padding: 0;
	  width: 97%;
	}
	.views-row {
	  min-width: 200px;
	}
	#block-twihsubscribe,
	#block-choosedate, 
	#block-choosedaterange {
	  width: 90%;
	}
}

@media only screen and (max-width: 798px) {
  .masonry-layout-this-week-in-history-choose-date.view-content,
  .view-this-week-in-history-choose-date {
    margin: 0 auto;
    width: 508px;
  }
}

@media only screen and (max-width: 768px) {
  .thisweek .featured-image-credit {
    color: #fff;
  }
}

@media only screen and (max-width: 670px) {
  .masonry-layout-this-week-in-history-choose-date .masonry-item.views-row {
    margin: 10px;
	width: 225px;
  }
}

@media only screen and (max-width: 670px) {
  .masonry-layout-this-week-in-history-choose-date.view-content,
  .view-this-week-in-history-choose-date {
    margin: 0 auto;
    width: 225px;
  }
  .masonry-layout-this-week-in-history-choose-date .masonry-item.views-row {
    margin: 10px 0;
  }
}