/*news widget's articles*/
.articleCard {
    padding: 0;
    border: solid 1px #949599;
    text-align: center;
    font-size: 1em;
     
    -ms-flex-direction: column;
        flex-direction: column;
    background-color: #fff;
    color: #000;
    height: 100%;
  }

  .service-list a {
    display: block;
    text-decoration: none;
  }

  .articles-wrapper .service-list a,
  .news-container a{
    transition: 1s all ease;    
    text-decoration: none;
  }

  .articles-wrapper .service-list a:hover, 
  .articles-wrapper .service-list a:focus,
  .news-container a:hover,
  .news-container a:focus {
    transform: scale(1.1);     
    text-decoration: none;
  }

  .service-list ul {
    padding: 0;
    display: flex;
    flex-flow: row wrap;
  }

  .service-list .card-item {
    margin: 0.5em;
  }

  .service-list > h2 {
    margin: 15px;
  }

  .articleCard img {
    max-width: 100%;
    max-height: 100%;
    margin: auto;
    position: relative;
    float: none;
  }

  .card-item a {
    height: 100%;
  }

  .articleCard .article-img {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
    padding: 1em;
    height: 320px;
  }

  .articleCard .category {
    font-size: 1em;
    margin-top: 1em;
    position: relative;
    font-family: 'proxima-nova-bold', sans-serif;
    text-transform: uppercase;
  }

  .articleCard .category:before {
    right: 0;
    content: "";
    position: absolute;
    left: 0;
    top: -27px;
    width: 2em;
    margin: auto;
    height: 0;
    border-left: 1em solid transparent;
    border-right: 1em solid transparent;
    border-bottom: 1em solid #fff;
    clear: both;
  }

  .articleCard .article-content {
    display: block;
    position: relative;
    padding: 0.5em;
  }

  .articleCard .article-content:before {
    right: 0;
    content: "";
    position: absolute;
    left: 0;
    top: -14px;
    width: 2em;
    margin: auto;
    height: 0;
    border-left: 1em solid transparent;
    border-right: 1em solid transparent;
    border-bottom: 1em solid #fff;
    clear: both;
  }
  .articleCard .title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  @media(min-width: 48em) {
    .service-list .card-item {
      width: 48%;
    }

    .articleCard {
      -webkit-transition: all 1s ease;
      -o-transition: all 1s ease;
      transition: all 1s ease;
    }  
  }

  @media(min-width: 64em) {
    .service-list .card-item {
      width: 30%;
      margin: 1em;
    }
  }

  .news-search-bar {
    background-color: #f2f2f2;
    padding: 3em 2em;
    width: 100%;
  }

  .service-search input {
    width: 100%;
    border: none;
    padding: 0.7em 0.7em 0.7em 3.5em;
    border-radius: 1.5em;
  }

  .service-search input::-webkit-input-placeholder { 
    text-transform: uppercase;
    font-weight: bold
  }

  .service-search input::-moz-placeholder {
    text-transform: uppercase;
    font-weight: bold
  }
  .service-search input:-ms-input-placeholder { 
    text-transform: uppercase;
    font-weight: bold
  }
  .service-search input:-moz-placeholder {
    text-transform: uppercase;
    font-weight: bold
  }

  .service-search .search-wrap {
    position: relative;
  }

  .submit-service-search {
    padding: 0.5em;
    position: absolute;
    top: 3px;
    left: 10px;
    background: transparent;
    border: 0;
  }

  .submit-service-search svg{
    height: 16px;
    width: 16px;
  }

  /*-----------------------------*/
/*service fitler*/
.article-filter-wrapper  ul {
  margin: 2em 0;
    padding: 0;
    text-align: center;
  }
  .article-filter-wrapper  ul li {
    display: inline-block;
    list-style: none;
    margin: 0.5em;
  }
  .article-filter-wrapper .filter-button {
    display: inline-block;
    border-radius: 1.5em;
    padding: 0.5em 1.5em;
    border: solid 1px #949599;
    background-color: #fff;
    color: #949599;
    font-weight: bold;
    text-transform: uppercase;
  }
  .article-filter-wrapper  ul li .filter-button.activated {
    background-color: #20b3e6;
    border-color: #20b3e6;
    color: #fff;
  }
  .article-filter-wrapper  ul li .filter-button:hover, .article-filter-wrapper ul li .filter-button:focus {
    background-color: #20b3e6;
    border-color: #20b3e6;
    color: #fff;
    text-decoration: none;
  }

  @media(min-width: 48em) {
    .article-filter-wrapper ul {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-pack: center;
      -ms-flex-pack: center;
      justify-content: center;
      text-align: left;
    }

    .article-filter-wrapper ul li {
      margin: 0 0.5em;
    }
  }

  /* News Detail Page */
  .news .header {
    position: relative;
    text-align: center;
    /*margin-top: 30px;*/
  }

  .news .header .news-subtitle {
    position: relative;
    background-color: #20b3e6;
    color: #ffffff;
    width: 100%;
    text-align: center;
    padding: 1em 0;
    text-transform: uppercase;
    border: 4px solid #20b3e6;
  }

  .news .header .news-subtitle:after, .news .header .news-subtitle:before {
    top: 100%;
    left: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
  }
  
  .news .header .news-subtitle:after {
    border-color: rgba(32, 179, 230, 0);
    border-top-color: #20b3e6;
    border-width: 15px;
    margin-left: -15px;
  }
  .news .header .news-subtitle:before {
    border-color: rgba(32, 179, 230, 0);
    border-top-color: #20b3e6;
    border-width: 21px;
    margin-left: -21px;
  }
  .news .header .header-image{
      background-size: cover !important;
  }
  .news .header-image {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top center;
    height: 300px;
  }
  .news .article-date {
    text-transform: uppercase;
    margin: 3em 0 0.5em 0;
  }

  .news .title {
    margin-top: 0;
    margin-bottom: 1em;
  }

  .article-date, .news .title {
    text-align: center;
  }

  .news .content {
    margin: 1em 0 4em 0;
    font-size: 16px;
    line-height: 28px;
  }

  .news .related-news {
    margin: 3em auto 4em auto;
  }

  .news .related-news h2 {
    text-align: center;
    margin: 1em 0;
  }

  .news .related-news .view-all-news {
    text-align: center;
  }

  .related-news .news-header {
    margin: 1em 0;
  }

  .news .related-news .view-all-news .round-link-blue{
    margin-top: 0;
    margin-bottom: 2em;
  }

  @media(min-width: 62em) {
    .news .header-image {
      height: 500px;
    }

    .news .related-news h2 {
      display: inline-block;
      text-align: left;
    }

    .news .related-news .articleCard:hover,  .news .related-news  .articleCard:focus {
      transform: scale(1.1);
    }

    
    .news .related-news .view-all-news {
      text-align: right;
    }

    .news .related-news .view-all-news .round-link-blue{
      margin-top: 2em;
      margin-bottom: 0;
    }
  }

  .related-news {
    margin: 2em 0;
  }