/*
  Theme Name: Imperial
  Theme URL: https://bootstrapmade.com/imperial-free-onepage-bootstrap-template/
  Author: BootstrapMade
  Author URL: https://bootstrapmade.com
*/
/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  background: #fff;
  color: #666666;
  font-family: "Open Sans", sans-serif;
}

.flex {
  display: flex!important;
}

a {
  color: #1A2860;
  transition: 0.5s;
}

a:hover, a:active, a:focus {
  color: #1A2860;
  outline: none;
  text-decoration: none;
}

p {
  padding: 0;
  margin: 0 0 30px 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Raleway", sans-serif;
  font-weight: 400;
  margin: 0 0 20px 0;
  padding: 0;
}

.bold {
  font-weight: bold!important;
}

.txt-grey {
  color: #696969!important;
}

.txt-blue {
  color: #1A2860!important;
}

.overhidden {
  overflow: hidden;
}

.f-left {
  float: left;
}

.f-right {
  float: right;
}

/* Prelaoder */
#preloader {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999;
  width: 100%;
  height: 100%;
  overflow: visible;
  background: #fff url("../img/preloader.svg") no-repeat center center;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  display: none;
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  padding: 6px 12px 9px 12px;
  font-size: 16px;
  border-radius: 2px;
  right: 15px;
  bottom: 15px;
  transition: background 0.5s;
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 15px;
  }
}

.back-to-top:focus {
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  outline: none;
}

.back-to-top:hover {
  background: #01A860;
  color: #fff;
}


/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  background: #1A2860;
  padding: 20px 0;
  height: 90px;
}

#header #logo {
  float: left;
}

#header #logo h1 {
  font-size: 36px;
  margin: 0;
  padding: 6px 0;
  line-height: 1;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

#header #logo h1 a, #header #logo h1 a:hover {
  color: #fff;
}

#header #logo img {
  padding: 0;
  margin: 0;
  max-height: 50px;
}

@media (max-width: 768px) {
  #header {
    height: 80px;
  }
  #header #logo h1 {
    font-size: 26px;
  }
  #header #logo img {
    max-height: 40px;
  }
}

.is-sticky #header {
  background: rgb(26, 40, 96, 0.9);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Nav Menu Essentials */
.nav-menu, .nav-menu * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu ul {
  position: absolute;
  display: none;
  top: 100%;
  left: 0;
  z-index: 99;
}

.nav-menu li {
  position: relative;
  white-space: nowrap;
}

.nav-menu > li {
  float: left;
}

.nav-menu li:hover > ul,
.nav-menu li.sfHover > ul {
  display: block;
}

.nav-menu ul ul {
  top: 0;
  left: 100%;
}

.nav-menu ul li {
  min-width: 180px;
}

/* Nav Menu Arrows */
.sf-arrows .sf-with-ul {
  padding-right: 30px;
}

.sf-arrows .sf-with-ul:after {
  content: "\f107";
  position: absolute;
  right: 15px;
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
}

.sf-arrows ul .sf-with-ul:after {
  content: "\f105";
}

/* Nav Meu Container */
#nav-menu-container {
  float: right;
  margin: 5px 0;
}

.container .header-container {
  padding-left: 10px;
  padding-right: 10px;
  position: relative;
}

@media (max-width: 991px) {
  #nav-menu-container {
    display: none;
  }
}

/* Nav Meu Styling */
.nav-menu a {
  padding: 10px 15px;
  text-decoration: none;
  display: inline-block;
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  font-size: 14px;
  outline: none;
}

.nav-menu a:hover, .nav-menu li:hover > a, .nav-menu .menu-active > a {
  color: #01A860;
}

.nav-menu ul {
  margin: 4px 0 0 15px;
  box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.08);
}

.nav-menu ul li {
  background: #fff;
  border-top: 1px solid #f4f4f4;
}

.nav-menu ul li:first-child {
  border-top: 0;
}

.nav-menu ul li:hover {
  background: #f6f6f6;
}

.nav-menu ul li a {
  color: #333;
}

.nav-menu ul ul {
  margin: 0;
}

/* Mobile Nav Toggle */
#mobile-nav-toggle {
  position: fixed;
  right: 0;
  top: 0;
  z-index: 999;
  margin: 20px 20px 0 0;
  border: 0;
  background: none;
  font-size: 24px;
  display: none;
  transition: all 0.4s;
  outline: none;
}

#mobile-nav-toggle i {
  color: #fff;
}

@media (max-width: 991px) {
  #mobile-nav-toggle {
    display: inline;
  }
}

/* Mobile Nav Styling */
#mobile-nav {
  position: fixed;
  top: 0;
  padding-top: 18px;
  bottom: 0;
  z-index: 998;
  background: rgba(0, 0, 0, 0.9);
  left: -260px;
  width: 260px;
  overflow-y: auto;
  transition: 0.4s;
}

#mobile-nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

#mobile-nav ul li {
  position: relative;
}

#mobile-nav ul li a {
  color: #fff;
  font-size: 16px;
  overflow: hidden;
  padding: 10px 22px 10px 15px;
  position: relative;
  text-decoration: none;
  width: 100%;
  display: block;
  outline: none;
}

#mobile-nav ul li a:hover {
  color: #fff;
}

#mobile-nav ul li li {
  padding-left: 30px;
}

#mobile-nav ul .menu-has-children i {
  position: absolute;
  right: 0;
  z-index: 99;
  padding: 15px;
  cursor: pointer;
  color: #fff;
}

#mobile-nav ul .menu-has-children i.fa-chevron-up {
  color: #03C4EB;
}

#mobile-nav ul .menu-item-active {
  color: #03C4EB;
}

#mobile-body-overly {
  width: 100%;
  height: 100%;
  z-index: 997;
  top: 0;
  left: 0;
  position: fixed;
  background: rgba(0, 0, 0, 0.6);
  display: none;
}

/* Mobile Nav body classes */
body.mobile-nav-active {
  overflow: hidden;
}

body.mobile-nav-active #mobile-nav {
  left: 0;
}

body.mobile-nav-active #mobile-nav-toggle {
  color: #fff;
}

/* All Article Pagination */
.page-link {
  color: #757575;
  border: 1.5px solid #757575;
}

.page-link:hover {
  color: #5f5f5f;
}

.page-link:focus {
  box-shadow: none;
}

.page-item.active .page-link {
  background-color: #757575;
  border-color: #757575;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: #1A2860;
  background-size: cover;
  margin-top: 20px;
  padding: 5px 0;
  color: #fff;
}

#footer .copyright {
  width: 60%;
  font-family: 'Poppins', 'Open sans', 'sans-serif';
  font-size: 13px;
  font-weight: 100;
  color: #fff;
  text-align: center;
  letter-spacing: 6px;
  margin: 0 auto;
  padding: 15px;
}

#footer .credits {
  padding-top: 10px;
  text-align: center;
  font-size: 13px;
  color: #ccc;
}


/* ARTICLE
---------------------------- */

.detail-article-header {
  width: max-content;
  font-family: 'Poppins';
  text-transform: uppercase;
  margin: -35px 0;
  padding: 0 6px;
  padding-bottom: 8px!important;
  border-bottom: 2px solid #1A2860;
}

/* Search Bar */
.article-search-bar {
  width: 100%;
  margin-top: 4rem;
}

div.article-search-bar div.input-group, div.article-search-bar-detail div.input-group {
  width: 240px;
  margin-left: calc(100% - 240px);
}

div.article-search-bar div.input-group input.form-control, div.article-search-bar-detail div.input-group input.form-control {
  font-size: 12px!important;
  padding: 10px 15px!important;
  border-radius: 1000px 0 0 1000px;
}

div.article-search-bar div.input-group input.form-control:focus, div.article-search-bar-detail div.input-group input.form-control:focus {
  color: #495057;
  background-color: #fff;
  border-color: #1A2860!important;
  outline: 0;
  box-shadow: none!important;
}

#btn-search-article {
  font-size: 12px;
  height: 100%;
  background-color: #1A2860; 
  color: white;
  border: 1px solid #1A2860;
  border-radius: 0 1000px 1000px 0;
}

#btn-search-article:focus {
  box-shadow: none!important;
}

div.recent-post-detail-tile h5 {
  font-family: 'Poppins', 'Open Sans', 'sans-serif';
  border-bottom: 0px!important; 
}

div.recent-post-detail-tile div.card-body div.row div.col-sm-4 {
  padding-top: 15px;
  padding-bottom: 15px;
}

.recent-post-tile-miniwrap {
  border: 1px solid #000;
}

div.recent-post-detail-tile div.card-body div.row div.col-sm-4 div.recent-post-tile-miniwrap div.media-left a img {
  width: 100%;
}

.recent-post-tile-miniwrap-text-wrap {
  padding: 15px;
}

.recent-post-tile-miniwrap-text-wrap h5 {
  height: 72px;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.recent-post-tile-miniwrap-text-wrap h6 {
  font-family: 'Poppins', 'Open Sans', 'sans-serif';
  font-size: 0.8rem;
  margin: 0px;
}

/* Category */
div.category-wrapper div.row {
  text-align: center;
}

div.category-wrapper div.row div.col-sm-12 {
  text-align: center;
  overflow: hidden;
}

div.category-wrapper div.row div.col-sm-12 ul {
  width: fit-content;
  display: inline-table;
  margin: 0 auto;
}

div.category-wrapper div.row div.col-sm-12 ul li {
  display: inline-block;
  padding: 5px 10px;
}

div.category-wrapper div.row div.col-sm-12 ul li a {
  font-family: 'Poppins', 'Barlow', 'sans-serif';
  font-size: 17px;
}

/* Article Tiles */
.article-tiles {
  height: 340px;
  max-height: 340px;
}

div.all-article-tile-wrap div.col-md-5 {
  height: 302px;
  background-size: cover;
  background-position: center;
}

.recent-post-tile-miniwrap div.media-left a {
  height: 200px;
  background-size: cover;
  background-position: center;
}

div.all-article-tile-wrap div.col-md-7 {
  padding-left: 25px;
  padding-right: 25px;
  position: relative;
}

div.all-article-tile-wrap div.col-md-7 h3, div.all-article-tile-wrap div.col-md-7 p, div.all-article-tile-wrap div.col-md-7 a {
  font-family: 'Poppins', 'Barlow', 'sans-serif';
}

div.all-article-tile-wrap div.col-md-7 h3 {
  min-height: 54px;
  max-height: 81px;
  font-size: 23px;
  font-weight: bold;
  color: #1A2860;
  margin-bottom: 10px;
  overflow: hidden;
}

div.all-article-tile-wrap div.col-md-7 p {
  max-height: 113px;
  font-size: 15px;
  margin: 0;
  margin-bottom: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

div.all-article-tile-wrap div.col-md-7 p.created-by {
  font-style: italic;
}

div.all-article-tile-wrap div.col-md-7 p.created-date {
  font-size: 13px;
  font-weight: bold;
}

div.all-article-tile-wrap div.col-md-7 a.read-more {
  font-weight: bold;
  color: #1A2860;
  border-bottom: 2px solid transparent;
  transition: border 0.2s;
  position: absolute;
  bottom: 0;
  left: 25px;
}

div.all-article-tile-wrap div.col-md-7 a.read-more:hover {
  border-bottom: 2px solid #1A2860;
}

.border-bottom-green {
  border-bottom : 3px solid #01A860;
}

/* Detail Article */
.detail-article {
  border-bottom: 2px solid #bbbbbb;
  margin-top: 40px;
}

.detail-article .img-fluid {
  width: 100%;
}

.detail-article h1 {
  font-size: 32px;
  color: #1A2860;
  font-weight: 500;
}

div.detail-article div.row div.col-md-2 p {
  font-size: 1.05rem;
  color: #1A2860;
  text-align: right;
  margin-left: 5px;
}

.detail-category {
  text-align: right;
}

.detail-category ul {
  margin: 0;
  padding: 0;
}

.detail-category ul li {
  margin-bottom: 5px;
  list-style-type: none;
}

.recent-post-tile {
  width: 32%;
  margin-right: 2%;
  border: 1px solid #000;
  float: left;
}

.recent-post-tile:last-child {
  margin-right: 0;
}

/* CARD */
.card-header, .card-footer {
  background-color: #2EB9A3;
  color: white;
}

/* SLICK IMAGE SCROLLER */

.slickery-container {
  position: relative;
  width: calc(100% - 50px);
  margin: 0 auto;
}

.items {
  padding-left: 10px;
  padding-right: 10px;
  height: 150px !important;
}

.slickery-img {
  height: 100%;
  width: 100%;
}

.c-arrow {
  position: absolute;
  top: 40%;
  font-size: 25px;
  cursor: pointer;
}


.prev{
  left: -25px;
}

.next {
  right: -25px;
}

@media (max-width: 480px) {
  .items {
    height: 200px !important;
  }
}

.filter-button {
  background-color: white;
  font-size: 1.05rem;
  text-align: center;
  border-bottom: 2px solid transparent;
  transition: border 0.2s;
  margin-bottom: 20px;
  padding-bottom: 3px;

}
.filter-button:hover {
  border-bottom: 2px solid #1A2860;
}

.media-body {
  padding-left: 10px;
}

.media {
  padding-top: 20px; 
  padding-left: 20px;
}

.media-object {
  width: 113px; 
  height: 90px; 
  padding: 5px; 
  border: 1px solid #999;
}

#card-recent {
  border:0px !important; 
  padding-top:50px;
}

#card-header-recent {
  background-color : white; 
  color : #1A2860;
}

#card-body-recent {
  padding : 0px !important;
}

#media-odd {
  background-color : #f7f7f7; 
}

/* Create an active/current tablink class */
.tab a.active {
  border-bottom: 2px solid #1A2860;
  font-weight: bold;
  color :#1A2860;
}


.layout{
  display: grid;
  height: 100%;
  width: 100%;
  overflow: visible;
  grid-template-rows: 50px 1fr;
  grid-template-columns: 1fr 1fr;
}

label.nav{
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-bottom: 1px solid #1A2860;
  user-select: none;
  transition: background 0.4s, padding-left 0.2s;
  padding-left: 0;
  input[type="radio"]:checked + .page + &{
    background: #9b59b6;
    color: #ffffff;
    padding-left: 20px;
    span{
      padding-left: 20px  
    }
  }
  span, a{
    padding-left: 0px;
    position: relative;
  }
}

.tab a {
  color: #fff;
}

label.nav a {
  width: 100%;
  text-align: center;
  padding: 11px 1px;
  position: relative;
}

label.nav i {
  position: absolute;
  transform: rotate(180deg);
  bottom: -15px;
  left: 48%;
}

@media (min-width: 768px) and (max-width: 991px) {
  .sidebar {
    min-width: 80%;
    margin: 0 10%;
  }
}

@media (max-width: 991px) {
  div.article-search-bar div.input-group {
    width: 300px;
    margin: 0 auto;
  }

  section.all-article div.container div.row div.col-sm-12 div.all-article-cat-responsive {
    margin-top: 0px!important;
  }

  #card-body-recent {
    height: 350px;
    overflow: hidden;
}

@media (max-width: 768px) {
  .article-detail-wrap {
    max-width: 950px!important;
  }

  .article-search-bar {
    margin-top: 3rem;
  }

  .detail-article .row .col-md-2 p, .detail-article .row .col-md-2 div.col-md-10 {
    float: left;
  }

  .detail-article h1 {
    margin-bottom: 1.6rem!important;
  }

  .article-tiles {
    height: auto;
    max-height: 1000px;
  }

  div.all-article-tile-wrap div.col-md-7 h3 {
    margin-top: 20px;
  }

  div.all-article-tile-wrap div.col-md-7 a.read-more {
    bottom: -20px;
  }

  #footer .copyright {
    width: 100%;
  }
}


@media (max-width: 576px) {
  .article-search-bar {
    margin-top: 2rem;
  }

  #card-body-recent {
    height: auto;
    overflow: auto;
  }

  .detail-article-header {
    font-size: 1.5rem;
    margin-top: -20px;
  }

  .detail-article h1 {
    font-size: 25px;
  }

  .filter-button {
    display: none;
  }
  

  .article-search-bar-detail {
    display: none;
  }

  div.article-search-bar div.input-group {
    width: 90%;
  }
}