body.blog,
body.single,
body.category-press {
  overflow-y: scroll;
}
body.blog > .container,
body.single > .container,
body.category-press > .container {
  padding-bottom: 60px;
  background: rgba(250, 250, 250, 0.9);
}
body.blog > .container > .loader,
body.single > .container > .loader,
body.category-press > .container > .loader {
  display: none;
}

#blogFilterandSearch {
  margin-bottom: 40px;
  margin-top: 120px;
  position: relative;
  padding-right: 0px;
  color: rgba(126, 128, 130, 0.9);
}
#blogFilterandSearch #blogFilter {
  overflow: hidden;
  position: absolute;
  bottom: 5px;
}
#blogFilterandSearch #blogFilter p {
  float: left;
  padding: 7px 20px 7px 0;
  font-size: 14px;
  font-weight: 400;
}
#blogFilterandSearch #blogFilter a:link {
  display: block;
  background: none repeat scroll 0 0 transparent;
  padding: 7px 10px;
  margin: 0 5px 0 0;
  float: left;
  text-transform: capitalize;
  border-radius: 3px;
}
#blogFilterandSearch #blogFilter a.active {
  display: block;
  background: none repeat scroll 0 0 #7e8082 !important;
  border: 0;
  color: #fff;
  text-transform: capitalize;
}
#blogFilterandSearch #breaker {
  display: none;
}
#blogFilterandSearch #blogSearch {
  float: right;
  width: 685px;
  overflow: hidden;
}
#blogFilterandSearch #blogSearch li {
  padding-left: 10px;
  padding-right: 0px;
}
#blogFilterandSearch #blogSearch input[type="text"], #blogFilterandSearch #blogSearch input[type="email"], #blogFilterandSearch #blogSearch input[type="date"] {
  border-color: #ccc;
}
#blogFilterandSearch #blogSearch .dateFrom:before {
  content: "From";
  display: block;
}
#blogFilterandSearch #blogSearch .dateTo:before {
  content: "To:";
  display: block;
}
#blogFilterandSearch #blogSearch input[type="submit"] {
  background-color: rgba(207, 4, 60, 0.9);
  color: #FFF;
  border-color: transparent;
  width: 85px;
  height: 39px;
  padding: 0px;
  border-radius: 3px;
}
#blogFilterandSearch #searchResults {
  padding-left: 0px;
  width: 100%;
}
#blogFilterandSearch #searchResults p span {
  font-weight: bold;
}

#loadmore {
  position: relative;
  margin-top: 50px;
}
#loadmore > span {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  width: 100px;
  text-align: center;
  color: rgba(207, 4, 60, 0.9);
  font-size: 40px;
}

#blogPostWrapper {
  padding: 0;
  overflow: hidden;
}
#blogPostWrapper article {
  width: 19.5%;
  display: block;
  overflow: hidden;
  background-size: cover;
  padding: 0;
  position: relative;
  margin: 0 0 0.5% 0.5%;
  border-radius: 3px;
}
#blogPostWrapper article:before {
  display: block;
  content: "";
  padding-top: 80%;
}
#blogPostWrapper article .blogContentWrapper {
  height: 100%;
  width: 100%;
  overflow: hidden;
  margin: 0 0 0 1px;
  position: absolute;
  top: 0;
  left: 0;
  background-size: cover;
  background-color: rgba(255, 255, 255, 0.9);
  color: rgba(126, 128, 130, 0.9);
  background-position: center;
}
#blogPostWrapper article .blogContentWrapper > div {
  text-align: center;
  cursor: pointer;
}
#blogPostWrapper article .blogContentWrapper > div p {
  overflow: hidden;
  padding: 0 20px;
}
#blogPostWrapper article .blogContentWrapper > div h3 {
  padding-top: 5px;
  font-size: 20px;
  margin-top: 20px !important;
}
#blogPostWrapper article .blogContentWrapper > div a {
  border-radius: 3px;
  font-size: 15px;
  padding: 10px 30px;
  background-color: #fff;
  background-color: #7e8082;
  color: #FFF;
  -webkit-transition: all 0.25s linear;
  -moz-transition: all 0.25s linear;
  -ms-transition: all 0.25s linear;
  -o-transition: all 0.25s linear;
  transition: all 0.25s linear;
  padding: 10px 30px;
  position: absolute;
  right: 0;
  left: 0;
  margin: auto;
  width: 150px;
  bottom: 20px;
}
#blogPostWrapper article .blogContentWrapper > div a:hover {
  background-color: rgba(207, 4, 60, 0.9);
  color: #fff;
}
#blogPostWrapper article .blogContentWrapper.has-image {
  color: #fff;
  background-color: transparent;
}
#blogPostWrapper article .blogContentWrapper.has-image > div {
  opacity: 0;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(207, 4, 60, 0.9);
  -webkit-transition: opacity 0.25s linear;
  -moz-transition: opacity 0.25s linear;
  -ms-transition: opacity 0.25s linear;
  -o-transition: opacity 0.25s linear;
  transition: opacity 0.25s linear;
}
#blogPostWrapper article .blogContentWrapper.has-image > div:hover {
  opacity: 1;
}
#blogPostWrapper article .blogContentWrapper.has-image > div a {
  background-color: rgba(255, 255, 255, 0.9);
  color: #7e8082;
  background-color: #fff;
}
#blogPostWrapper article .blogContentWrapper.has-image > div a:hover {
  background-color: rgba(207, 4, 60, 0.9);
  color: #fff;
}
#blogPostWrapper article .blogContentWrapper.has-image > div a:hover {
  background-color: #7e8082;
}

#blog-content {
  text-align: center;
}
#blog-content #post-excerpt {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  text-align: center;
}
#blog-content #post-excerpt #excerpt-content {
  position: absolute;
  bottom: 60px;
  left: 0;
  padding-bottom: 30px;
  color: #fff;
}
#blog-content .news-image {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

#post-body {
  margin: 100px 0;
  overflow: hidden;
  text-align: justify;
}
#post-body img {
  width: 100%;
  height: auto;
}
#post-body h2 {
  text-align: center;
}
#post-body iframe {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

@media all and (max-width: 1024px) {
  #blogPostWrapper article {
    width: 49%;
  }

  #blogFilterandSearch .searchandfilter ul {
    padding-left: 0px;
  }
  #blogFilterandSearch #blogFilter {
    position: relative;
    bottom: unset;
    clear: both;
  }
}
@media all and (max-width: 1200px) and (min-width: 1025px) {
  #blogPostWrapper article {
    width: 32.8%;
  }

  #blogFilterandSearch #blogFilter {
    position: relative;
    bottom: unset;
    clear: both;
  }
}
@media all and (max-width: 1550px) and (min-width: 1200px) {
  #blogPostWrapper article {
    width: 24.5%;
  }
}
@media screen and (max-width: 979px) {
  #blogFilterandSearch {
    text-align: center;
  }
  #blogFilterandSearch > div {
    display: inline-block;
    float: none !important;
  }
  #blogFilterandSearch #blogFilter {
    position: relative;
    bottom: unset;
  }
}
@media screen and (max-width: 770px) {
  #blogFilterandSearch {
    text-align: left;
  }
  #blogFilterandSearch #blogFilter > p {
    display: none;
  }
  #blogFilterandSearch #blogFilter a:link {
    background: rgba(0, 0, 0, 0.1);
  }
  #blogFilterandSearch #blogSearch {
    width: 100%;
  }
  #blogFilterandSearch #blogSearch ul {
    padding-left: 0px;
  }
  #blogFilterandSearch #blogSearch ul li, #blogFilterandSearch #blogSearch ul input {
    padding-left: 0px;
    width: 100%;
  }
  #blogFilterandSearch #blogSearch ul input[type="submit"] {
    margin-top: 10px;
  }

  #blogPostWrapper > p {
    padding: 0px 15px;
  }
  #blogPostWrapper article {
    width: 100%;
  }
  #blogPostWrapper article .blogContentWrapper > div h3 {
    width: 90%;
    margin: 0 auto;
  }

  body.single-post .container.full-height {
    padding-bottom: 0px !important;
  }
  body.single-post #post-excerpt {
    margin-top: 70px;
    overflow: hidden;
    height: 270px !important;
    min-height: 270px !important;
  }
  body.single-post #post-excerpt #excerpt-content {
    display: none;
  }
  body.single-post #post-body {
    overflow: hidden;
    margin-top: 0px;
    margin-bottom: 70px;
  }

  body.blog > .container, body.single > .container, body.category-press > .container {
    padding-bottom: 0px;
  }
}
@media screen and (min-width: 1400px) {
  #blogPostWrapper article .blogContentWrapper > div h3 {
    padding-top: 10px;
    font-size: 25px;
  }
}
@media screen and (max-width: 770px) {
  body.search #content {
    margin-left: 0px;
    margin-right: 0px;
  }

  #blogFilterandSearch {
    margin-left: 15px;
    margin-right: 15px;
  }

  #blogPostWrapper {
    margin-left: 15px;
  }
}
