/*
Theme Name: AMS
Author: August Interactive
Author URI: http://www.augustinteractive.com
Description: AMS Official Theme
Version: 1.0
*/

/* new header css */
.latest_news_wrap {
  /* background: #1d80c1; */
  background: #a8bad8;
  position: relative;
}
.header_wrapper.transparent_header,
.header_wrapper.solid_header {
  padding-top: 0px !important;
}
.page-id-5990 .header_wrapper.transparent_header {
  padding-top: 19px;
}
.main-header {
  padding-top: 19px;
}
.page-id-5990 .main-header {
  padding-top: 19px;
}
.hide_news {
  position: absolute;
  right: 15px;
  top: 10px;
}
.hide_news img {
  border: 2px solid #ffffff;
  padding: 12px;
  border-radius: 50%;
  color: #000;
  width: auto;
}
.hide_news img:hover {
  cursor: pointer;
}
.main-header.sticky .fake-bg.news-header {
  top: 164px;
}
.news_wrap {
  display: flex;
  gap: 40px;
  justify-content: center;
  padding: 26px 0;
  width: 50%;
  margin: 0 auto;
}
@media screen and (max-width: 1024px) {
  .news_wrap {
    width: 70%;
  }
  .news_content p {
    font-size: 14px !important;
    line-height: 17px !important;
  }
  .main-nav.mobile-nav.news-removed {
    top: 56px !important;
  }
}
@media screen and (max-width: 768px) {
  .news_wrap {
    width: 95%;
  }
  .news_content p {
    font-size: 12px !important;
    line-height: 16px !important;
  }
  .main-nav.mobile-nav {
    margin-top: -19px;
  }
  .page-id-5990 .main-nav.mobile-nav {
    margin-top: 0px;
  }
  .main-nav.mobile-nav.news-removed {
    margin-top: 0px !important;
  }
}
.new_logo img {
  width: 90%;
}
.news_content h3 {
  font-size: 20px;
  color: #18447a;
  font-weight: 500;
  margin-bottom: 0;
  line-height: 26px;
  margin-top: 0;
}
.new_logo {
  width: 60%;
}
@media screen and (min-width: 569px) {
  .new_logo {
    text-align: right;
  }
}

.news_content p {
  font-size: 14px;
  color: #ffffff;
  font-weight: 500;
  margin: 7px 0 0 0 !important;
  line-height: 20px;
}
@media screen and (min-width: 1366px) {
  .news_content h3 {
    font-size:18px !important;
    line-height: 20px !important;
  }
  .news_content p {
    font-size: 15px;
  }
}
.news_link a {
  background: #f78788;
  color: #fff;
  padding: 5px 20px;
  margin-top: 5px;
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  opacity: 1;
}
.news_link a:hover {
  text-decoration: none;
}
@media screen and (max-width: 1080px) {
  .mobile-toggle-wrap {
    top: 90%;
  }
  .news_content h3 {
    font-size: 16px !important;
    line-height: 18px !important;
  }
}
@media screen and (max-width: 991px) {
  .news_wrap .news_content h3 {
    font-size: 18px !important;
    margin-bottom: 0px !important;
    line-height: 20px !important;
  }
  .new_logo img {
    width: 65%;
  }
  .news_wrap {
    width: 88%;
    gap: 20px;
  }
  .mobile-toggle-wrap {
    top: 90%;
  }
  .page-id-5990 .mobile-toggle-wrap {
    top: 54%;
  }
}
@media screen and (max-width: 568px) {
  .news_wrap {
    gap: 15px;
    justify-content: center;
    flex-direction: column;
  }
}
.page-id-5990 .main-header.sticky .fake-bg {
  top: 0px;
}
