.wg-news-thumb {
  box-shadow: 4px 4px 5px 1px #fff;
  display: flex;
  padding: 30px 20px;
  background: #fff;
}
.wg-news-thumb:hover{

  background: #fff;
  box-shadow: 2px 2px 8px 4px #ccc;
}
.wg-news-info {
  float: left;
  min-height: 250px;
  padding: 6px 10px 6px 30px;
  position: relative;
  width: 70%;
  text-align: left;
  font-weight: 400;
} 

.wg-news-img {
  background-position: -96px center !important;
  background-repeat: no-repeat !important;
  background-size: auto 100% !important;
  float: left;
  width: 30%;
}

.brief-basic li {
  float: left;
  list-style: outside none none;
  margin-right: 5px;
  padding: 0;
}

.brief-basic {
  bottom: 25px;
  display: table;
  margin-bottom: 0;
  padding: 0;
  position: absolute;
  vertical-align: baseline;
}

.wg-news-info h4, .wg-news-related-item h4 {
  font-size: 23px;
  font-weight: 400;
  text-transform: uppercase;
  margin: 0 0 15px 0;
  line-height: 30px;
  padding: 0;
}

.wg-news-info p, .wg-news-related-item p {
  margin: 0;
  padding: 0;
}

.wg-news-thumb a {
  color: #021a87;
  text-decoration: none !important;
}

.wp-wg-news-archive .gallery-h-container, .single-wg-news #tm-top-c{
  background: #f7f7f7 none repeat scroll 0 0;
}
.wp-wg-news-archive #tm-top-a.tm-block-texture {
  padding-bottom: 28px; 
}

.wg-news-taxonomy {
  
  
  display: table;
  margin: 0 auto;
  padding: 8px 12px;  
}
.wg-filter-container {
    background: #fff none repeat scroll 0 0;
    border: 1px solid #6ab7b5;
    border-radius: 4px;
    display: inline-block;
    min-width: 200px;
    position: absolute;
    right: 0;
    z-index: 9999;
}
.wg-news-taxonomy li {
  display: block;
  list-style: outside none none;
}

.wg-news-taxonomy-item a, a.wg-filter {
  color: #2a317c;
  display: inline-block;
  font-size: 16px;
  font-weight: 400;
  padding: 6px 10px 6px 22px;
  text-decoration: none !important;
}
a.wg-filter {
  background: rgba(0, 0, 0, 0) url("../img/down-arrow.png") no-repeat scroll right center;
  display: block !important;
  margin: 6px 9px 4px 5px;
  padding: 0;
}
.wg-news-taxonomy-item a {
    background: rgba(0, 0, 0, 0) url("../img/checkbox-empty.png") no-repeat scroll left 8px;
}
.wg-news-taxonomy-item.active a {
  background: rgba(0, 0, 0, 0) url("../img/checkbox-checked.png") no-repeat scroll left 8px;
}


.wp-wg-news-archive .photo-caption {
  margin-bottom: 0;
}

.basic-info-container {
  margin: 0 auto;
  max-width: 600px;
}

.basic-col {
  display: inline-block;
  padding: 15px 0 15px 2%;
  width: 22%;
  font-size: 17px;
}
.basic-col:last-child {
  padding-right: 0;
}

.basic-col label {
  display: block;
  font-weight: 600;
  padding: 0 0 7px;
} 

.wg-news-related-item {
  display: inline-block;
  font-size: 23px;
  padding-left: 2%;
  vertical-align: top;
  width: 31%;
  position: relative;
}

.wg-news-related-item a {
    font-size: 18px;
    padding: 15px 0;
    display: inline-block;
}

.text-center1 {
  position: relative;
  height: 315px;
  width: 100%;
}
.wg-news-related-item img {
    left: 50%;
    max-width: unset;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-height: 100%;
}

.single-wg-news #tm-bottom-a {
    background-image: url("http://www.dreamfoundation.org/df7/wp-content/uploads/2016/07/impact_background.png");
}

.single-wg-news #tm-bottom-a {
    text-align: center;
}

.single-wg-news #tm-bottom-b {
  background: none;
}

fieldset {
    
    padding: 0;
    border: 0px;
    border-top: 1px solid #dddfe0;
    text-align: center;
}

.other-dreams legend h4 {
    padding: 30px 20px;
    font-weight: 600;
}



.single-wg-news h2 .upper {
    text-transform: uppercase;
} 

.single-wg-news h2 {
    text-align: left;
    text-transform: uppercase;
    font-size: 26px;
    font-weight: 400;
    line-height: 30px;
}

.single-wg-news h5{
  color: #939598;
  font-size: 17px;
  text-align: center;
  font-weight: 600;
  margin: 0  0 34px 0;
}

.single-wg-news legend h4 {
  font-size: 23px;
  font-weight: 400;
  padding: 0 10px;
  margin: 0;
}
.single-wg-news fieldset {
  margin: 30px 0 60px 0;
}

.single-wg-news .wg-news-related  h4, .single-wg-news .wg-news-related a, .single-wg-news .wg-news-related p{
    font-size: 23px;
}

.single-wg-news .wg-news-related a, .single-wg-news .wg-news-related p {
  font-size: 18px;
}

.single-wg-news .wg-news-related a:link, .single-wg-news .wg-news-related a:visited{
  color: #6ab7b5;
}

.single-wg-news .wg-news-related h4 a:link, .single-wg-news .wg-news-related h4 a:visited{
  color: #021a87;
  text-decoration: none !important;
}

.single-wg-news #tm-bottom-a h3 {
    font-size: 23px;
    font-weight: 600;
    color: #2a317c;
}

.single-wg-news .tm-content p {
    font-weight: 300 !important;
}

.single-wg-news .quote {
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
    width: 70%;
    margin: 0px auto 52px auto;
}
.single-wg-news .quote:before, .single-wg-news .quote:after {
    background-image: url(/df7/wp-content/uploads/2017/02/quote_09.png);
    width: 41px;
    height: 39px;
    display: block; 
    content: " ";
    left: -46px;
    background-size: auto 100%;
    position: relative;
    top: 30px;
}

.single-wg-news .quote:after {
    background-image: url(/df7/wp-content/uploads/2017/02/quote_09.png); 
    display: inline-block; 
    background-position: -52px 0px; 
    right: 0; 
    top: 17px;
    left: unset;
}

.single-wg-news blockquote {
font-family: "Raleway";
color: #021a87;
font-size: 22px;
line-height: 33px;
}

.img-container-1, .img-container-2 {
    padding: 30px 0 ;
}

fieldset>legend {
  display: table;
  float: none;
  margin: 0 auto;
}
.gallery-header-overlay {
    position: absolute;
    top: 31%;
    margin: 0 auto;
    max-width: 500px;
    left: 0;
    background: url(/df7/wp-content/uploads/2017/02/df-bg_03.png);
    right: 0;
    padding: 20px 30px;
    text-align: center;
    background-size: 100% 100%;
}

.gallery-header-overlay h2, .gallery-header-overlay {
    text-transform: unset;
    font-weight: 600;
}

.wg-news-meta {
  position: absolute;
  bottom: 0;
}

.wg-news-meta,  .wg-news-meta a{  
    color: #939598;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 400;
    font-family: raleway;
}

.wg-news-thumb a.read-more {
    color: #6ab7b5;
    text-decoration: underline !important;
}

hr.wg-news-sep { 
    width: 94%;  
    margin: 15px auto 15px auto !important;
    border-color: #dddfe0;
}

.post-type-archive-wg-news .uk-grid-margin {
  margin-top: 0px;
}

.bold {
  font-weight: 600;
}

.wg-news-single-meta, .wg-news-single-meta a {
  text-transform: uppercase;
  text-decoration: none;
  color: #939598;
  font-size: 16px;
}
.wg-news-content {
  font-weight: 17px;
  font-weight: 400;
}

.quote-format {
    font-size: 30px;
    line-height: 1.3;
    padding: 15px 0;
}

.display-none {
    display: none;
}

.wg-filter-header {
  margin: 0;
  padding: 5px 10px;
}

.wp-wg-news-archive #tm-top-c {
    background: #eee none repeat scroll 0 0;
    padding: 8px 0 !important;
    min-height: 60px;
}

.wg-filter-header .uk-container {
    position: relative;
}
#wg-news-ajax-container {
  position: relative;
}
.position-r {
  position: relative;
}
.loading-container {
  background: rgba(255, 255, 255, 0.8) none repeat scroll 0 0;
  height: 100%;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 999;
}
.loading-img {
  background: rgba(0, 0, 0, 0) url("../img/loading.svg") no-repeat scroll center center;
  border-radius: 4px;
  height: 120px;
  left: 0;
  margin: 0 auto;
  position: fixed;
  right: 0;
  top: 46%;
  width: 130px;
}
input.width-100pr {
    width: 100%;
}
.text-center {
  text-align: center;
}
.continue-container {
    padding: 30px 0 0;
}
.continue-reading > a {
    color: #021a87;
    font-size: 22px;
    text-decoration: none;
}

.custom-pagination {
  padding: 0;
  list-style: none;
  text-align: center; 
  
}

.custom-pagination > a {
  display: inline-block;
  font-size: 1rem;
  vertical-align: top;
}

.custom-pagination .current {
  background: rgba(0, 0, 0, 0);
  color: #45c892;
  border:1px solid #45c892;
}

.custom-pagination  a, .custom-pagination  span {
  display: inline-block;
  min-width: 19px;
  padding: 3px 5px;
  line-height: 23px;
  text-decoration: none;
  box-sizing: content-box;
  text-align: center;
  border: 1px solid transparent;
  text-transform: uppercase;
}

.custom-pagination > a:hover, .custom-pagination > a:focus {
  background-color: rgba(0, 0, 0, 0);
  color: #4b4b4b;
  outline: none;
  border-color: #45c892;
  text-decoration: none;
}

.custom-pagination a {
  background: rgba(0, 0, 0, 0);
  color: #4b4b4b;
}

.post-type-archive-wg-news .uk-grid.position-r {
  display: block;
}

/* FF only */
@media screen and (-moz-images-in-menus: 0) {
  fieldset {
    position: relative;
  }
  fieldset > legend {
    position: absolute;
    left: 50%;
    top: -12px; /* depends on font size and border */
    background: white; /* depends on background */
    transform: translate(-50%, 0);
  }
}


@media(max-width: 776px)  { 
  .wg-news-related-item{
    width: 48%;
  }
  .wg-news-related-item:last-child {
    margin-right: 0;
    margin-left: 1%;
  }
}

@media(max-width: 650px)  { 
  .basic-col{
    width: 46%;
    text-align: center;
    padding: 6px;
  }

  .gallery-header-overlay {
    top: 10px;
    padding: 10px;
    font-size: 14px;
  }
  .gallery-header-overlay p, 
  .gallery-header-overlay h2  {  
    margin: 0;
    padding: 0;
  }
  .gallery-header-overlay h2  { 
    font-size: 20px;
  }
}

@media(max-width: 550px)  { 
 
  .wg-news-related-item{
    width: 100%;
  }
  .wg-news-thumb {
    display: block;
  }
  .wg-news-info {
    padding: 10px;
  }
  .wg-news-info, .wg-news-img {
    width: 100%;
    float: none;
    min-height: 150px;
    background-position: center center !important;
  }

  .wg-news-taxonomy {
    text-align: center;
  }
}
@media(max-width: 360px)  { 
  .gallery-header-overlay {
      top: 1px;
  }
}