/* REUSABLE */
.bg-black-transparent {
    background: linear-gradient(to bottom, black 0%, rgba(0,0,0,0) 100%);
  }
  @media (max-width: 991px) {
    .bg-mobile-blue {
      background-color: #003D81;
    }
    .navbar .navbar-nav .nav-item .nav-link {
      padding: 10px 0 !important;
    }
    .bg-black-transparent {
      background-color:#003D81;
    }
  }
  .bg-blue {
    background-color: #003D81;
  }

  .bg-blue-transparent {
    background-color: rgba(0,61,129,0.83) !important;
  }
  .bg-light-blue {
    background-color: #EBF7FF;
  }
  .bg-light-blue-2 {
    background-color: #015CCF;
  }
  .text-blue {
    color: #003D81;
  }
  .text-red {
    color: #ff0000;
  }
  .text-white {
    color: #FFF;
  }
  .text-light-blue {
    color: #0179E9;
  }
  .text-green {
    color: #2CB063;
  }
  .text-pink {
    color: #FF43B4;
  }
  .text-purple {
    color: #6256F2;
  }
  .text-violet {
    color: #BB6BD9;
  }
  .text-gray {
    color: #393939;
  }
  .f-60 {
    font-size: 60px;
  }
  .f-50 {
    font-size: 50px;
  }
  .f-42 {
    font-size: 42px;
  }
  .f-36 {
    font-size: 36px;
  }
  .f-30 {
    font-size: 30px;
  }
  .f-25 {
    font-size: 25px;
  }
  .f-24 {
    font-size: 24px;
  }
  .f-23 {
    font-size: 23px;
  }
  .f-22 {
    font-size: 22px;
  }
  .f-20 {
    font-size: 20px;
  }
  .f-18 {
    font-size: 18px;
  }
  .f-16 {
    font-size: 16px;
  }
  .f-15 {
    font-size: 15px;
  }
  .f-14 {
    font-size: 14px;
  }
  .f-12 {
    font-size: 12px;
  }
  @media only screen and (max-width: 768px) {
    /* For mobile phones: */
    .f-60 {
      font-size: 50px;
    }
    .f-50 {
      font-size: 40px;
    }
    .f-42 {
      font-size: 35px;
    }
  }
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 37px;
    height: 37px;
    border: 1px solid #003D80;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    -webkit-transition: background-color 0.3s ease-out;
    -moz-transition: background-color 0.3s ease-out;
    -o-transition: background-color 0.3s ease-out;
    transition: background-color 0.3s ease-out;
  }
  .carousel-control-prev-icon {
    background: url('./../images/icons/arrow-left-blue.png') no-repeat center center rgba(255, 255, 255, 0.8);
  }
  .carousel-control-next-icon {
    background: url('./../images/icons/arrow-right-blue.png') no-repeat center center rgba(255, 255, 255, 0.8);
  }
  .carousel-control-prev-icon:hover {
    background: url('./../images/icons/arrow-left-white.png') no-repeat center center #003D80;
  }
  .carousel-control-next-icon:hover {
    background: url('./../images/icons/arrow-right-white.png') no-repeat center center #003D80;
  }
  .custom-select {
    border: 1px solid #003D80;
    border-radius: 10px;
    padding: 5px 10px;
    min-width: 150px;
    width: auto;
    margin-left: 10px;
    margin-bottom: 10px;
  }

  /* GLOBAL */
  btn:focus, a:focus {
           outline: none;
  }
  .navbar-toggler:focus {
           outline: none !important;
           box-shadow: none;
  }
  .navbar-nav ul {
    list-style: none;
    padding: 0;
  }
  /*ul:not(#section-article ul), ol:not(#section-article ol) {
    list-style: none;
    padding: 0;
  }*/
  .slick-slide {
    outline: none
  }
  section.container-fluid {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  footer.container-fluid {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  footer, footer a {
    color: #FFF;
  }
  footer a:hover {
    text-decoration: none;
  }
  @media (min-width: 992px) {
    .navbar .container-fluid {
      padding: 0 80px;
    }
    section.container-fluid {
      padding: 50px 80px;
    }
    footer.container-fluid {
      padding: 50px 80px;
    }
  }

  .breadcrumb {
    background: none;
    padding: 0;
  }
  .breadcrumb a,
  .breadcrumb-item+.breadcrumb-item::before,
  .breadcrumb-item.active {
    font-family: 'Roboto';
    font-weight: 500;
    font-size: 14px;
    color: #003D81;
  }
  .breadcrumb-item.active {
    font-weight: 700;
  }
  .breadcrumb-item+.breadcrumb-item::before {
    content: ">";
  }
  /* NAVBAR */
  .header-home-menu {
    z-index: 1000;
  }
  .navbar {
    min-height: 60px;
  }
  .navbar.bg-light-blue-2 {
    min-height: 50px;
  }
  @media (min-width: 992px) {
    .navbar {
      -webkit-transition: all 250ms ease-out;
      -moz-transition: all 250ms ease-out;
      -o-transition: all 250ms ease-out;
      transition: all 250ms ease-out;
      padding: 0;
      height: 60px;
      min-height: auto;
    }
    .navbar.bg-light-blue-2 {
      height: 50px;
    }

    .navbar.bg-blue-transparent,
    .navbar:hover {
      background-color: #003D81 !important;
      border-bottom: none !important;
    }
    .navbar.bg-blue-transparent .nav-link,
    .navbar:hover .nav-link {
      color: #FFF !important;
    }
    .navbar.bg-blue-transparent .navbar-logo-white,
    .navbar:hover .navbar-logo-white {
      display: block !important;
    }
    .navbar.bg-blue-transparent .navbar-logo-black,
    .navbar:hover .navbar-logo-black {
      display: none !important;
    }
    .navbar.bg-blue-transparent .navbar-search-white,
    .navbar:hover .navbar-search-white {
      display: inline !important;
    }
    .navbar.bg-blue-transparent .navbar-search-blue,
    .navbar:hover .navbar-search-blue {
      display: none !important;
    }
    .navbar:hover .btn-outline-light {
      border-color: #f8f9fa !important;
      color: #f8f9fa !important;
    }
  }

  .navbar .navbar-brand {
    margin-right: 0px;
  }

  .navbar .navbar-nav .nav-item {
    height: 100%;
  }

  .navbar .navbar-nav .nav-item .nav-link {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    line-height: 18px;
    font-weight: bold;
    color: #FFF;
  }

  @media (min-width: 992px) {
    .navbar .navbar-nav .nav-item .nav-link {
      padding-left: 24px;
    }
    .navbar-nav ul {
      height: calc(603px - 20px);
    }
    .d-lg-none.navbar-collapse {
      display: none !important;
    }
  }
  .navbar-nav > .nav-item.menu-active > .dropdown-toggle::after {
    transform: rotate(180deg);
  }
  .navbar .navbar-nav .dropdown-menu {
    background-color: transparent;
    border: none;
    color: #FFF;
    padding: 0 10px;
  }

  .navbar .navbar-nav .dropdown-menu .dropdown-item {
    color: inherit;
  }

  .navbar .navbar-nav .dropdown-menu .dropdown-item:hover,
  .navbar .navbar-nav .dropdown-menu .dropdown-item:focus {
    background-color: transparent;
  }

  .navbar .menu-scrollable {
    overflow: auto;
    max-height: 100vh;
  }
  .navbar .menu-scrollable .nav-item.show > .dropdown-toggle::after {
    transform: rotate(180deg);
  }
  .navbar .menu-scrollable .dropdown-item.show.dropdown-toggle::after {
    transform: rotate(180deg);
  }
  .navbar .navbar-nav .nav-item .mega-menu {
    -webkit-transition: all 250ms ease-out;
    -moz-transition: all 250ms ease-out;
    -o-transition: all 250ms ease-out;
    transition: all 250ms ease-out;
    background-color: rgba(0,61,129,0.83);
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    height: auto;
    max-height: calc(100vh - 60px);
    display: none;
    padding: 24px 0;
    animation: fadeOut; /* referring directly to the animation's @keyframe declaration */
    animation-duration: 250ms;
    font-family: 'Montserrat', sans-serif;
  }
  .navbar.bg-light-blue-2 .navbar-nav .nav-item .mega-menu {
    top: 50px;
  }

  .navbar .navbar-nav .nav-item.menu-active .mega-menu {
    display: block;
    animation: fadeIn; /* referring directly to the animation's @keyframe declaration */
    animation-duration: 250ms; /* don't forget to set a duration! */
  }

  .navbar .navbar-nav .nav-item.menu-active .mega-menu .with-separator {
    border-right: 3px solid #FFF;
  }

  .navbar .navbar-nav .nav-item.menu-active .mega-menu .with-separator::after {
    content: ' ';
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid #FFF;
    display: inline-block;
    position: absolute;
    top: calc(50% - 5px);
    right: -5px;
  }

  .navbar .navbar-nav .nav-item.menu-active .mega-menu .with-separator.stick-menu::after {
    right: auto;
    left: calc(100% + 3px);
  }

  .navbar .navbar-nav .nav-item .mega-menu .mega-menu-item {
    position: relative;
    display: flex;
  }

  .navbar .navbar-nav .nav-item .mega-menu .mega-menu-item a {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.2;
    padding: 4px;
    color: #FFF;
    text-decoration: none;
    width: 100%;
  }

  .navbar .navbar-nav .nav-item .mega-menu .mega-menu-item:hover,
  .navbar .navbar-nav .nav-item .mega-menu .mega-menu-item.active {
    background-color: #003D81;
  }

  .navbar .navbar-nav .nav-item .mega-menu .mega-menu-item:hover > a,
  .navbar .navbar-nav .nav-item .mega-menu .mega-menu-item.active > a {
    font-weight: 700;
  }

  .navbar .navbar-nav .nav-item .mega-menu .mega-menu-item .stick-menu {
    display: none;
  }

  .navbar .navbar-nav .nav-item .mega-menu .mega-menu-item.active > .stick-menu {
    position: absolute;
    left: calc(100%);
    border-left: 3px solid #FFF;
    width: 100%;
    top: 0;
    display: block;
  }
  .header-running-text .btn-outline-light:hover,
  .navbar .btn-outline-light:hover {
    background: rgba(255,255,255,0.3);
  }
  .navbar .navbar-logo-black {
    display: none;
  }
  .header-running-text .navbar-search-blue,
  .navbar .navbar-search-blue {
    display: none;
  }
  @media (min-width: 992px) {
    .navbar-white.navbar .btn-outline-light {
      border-color: #003D81;
      color: #003D81;
    }
    .navbar-white.navbar {
      background: #FFF;
      border-bottom: 1px solid #003D81;
    }
    .navbar-white.navbar .navbar-nav .nav-item .nav-link {
      color: #003D81;
    }
    .navbar-white.navbar .navbar-logo-white {
      display: none;
    }
    .navbar-white.navbar .navbar-logo-black {
      display: block;
    }
    .navbar-white.navbar .navbar-search-white {
      display: none;
    }
    .navbar-white.navbar .navbar-search-blue {
      display: block;
    }
  }

  .header-running-text .btn-group .btn,
  .navbar .btn-group .btn {
    width: 32px;
  }

  .header-running-text .btn-separator,
  .navbar .btn-group .btn-separator,
  .navbar.navbar-white:hover .btn-group .btn-separator {
    width: 1px;
    background-color: #FFF;
    margin: 4px 0;
  }

  @media (min-width: 992px) {
    .navbar.navbar-white .btn-group .btn-separator {
      background-color: #0347AD;
    }

    .navbar.navbar-white:not(:hover) .btn-group.border.border-light {
      border-color: #0347AD !important;
    }

    .navbar.navbar-white.bg-blue-transparent .btn-group .btn-separator {
      background-color: #FFF;
    }
    .navbar.navbar-white.bg-blue-transparent .btn-group.border.border-light {
      border-color: #FFF !important;
    }
  }
  /* HOMEPAGE - INFO SLIDER */
  #info-slider .banner-list {
    background: #ECF0F1;
    border-radius: 20px;
    overflow: hidden;
  }
  #info-slider .banner-list img {
    max-width: 100%;
    max-height: 360px;
  }
  #info-slider .carousel-controls {
    margin-top: -40px;
  }
  .lightSlider > li {
    position: relative;
  }
  .lightSlider .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 10px;
    color: #FFF;
    width: 100%;
    background: rgba(0,0,0,0.6);
  }
  /* HOMEPAGE - INFOGRAPHIC SLIDER */
  #infographic-slider .slick-track {
    display: flex !important;
    justify-content: center;
    align-items: center;
  }

  #infographic-slider .slick-slide {
    height: inherit !important;
    background: #ECF0F1;
    border-radius: 15px;
    box-shadow: 0px 1px 10px rgba(0,0,0,0.3);
  }
  #infographic-slider .slick-slide img {
    margin: 0 auto;
    border-radius: 15px;
  }
  #infographic-slider .slider-item {
    margin: 30px;
  }

  #infographic-slider .slider-item img {
    width: 100%;
  }
  .infographic-text a.infographoc-see-all {
    padding: 10px 20px;
    border-radius: 20px;
    background: #0179E9;
    -webkit-transition: background-color 0.3s ease-out;
    -moz-transition: background-color 0.3s ease-out;
    -o-transition: background-color 0.3s ease-out;
    transition: background-color 0.3s ease-out;
  }
  .infographic-text a.infographoc-see-all:hover {
    text-decoration: none;
    background: #0255C0;
  }
  /* HOMEPAGE - JAKI SLIDER */
  #jaki-slider .carousel-indicators li {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #B8D8FF;
    cursor: pointer;
    border: none;
  }
  #jaki-slider .carousel-inner {
    padding-bottom: 50px;
  }
  #jaki-slider .carousel-item img {
    max-width: 100%;
    max-height: 395px;
  }
  #jaki-slider .carousel-indicators li.active {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #0179E9;
    cursor: pointer;
  }
  .channel-list a {
    color: #393939;
    border: 2px solid #B8D8FF;
    border-radius: 13px;
    padding: 10px 5px;
    height: 130px;
    display: table;
    width: 100%;
  }
  .channel-list a:hover {
    border: 4px solid #0179E9;
    padding: 8px 3px;
  }
  .channel-list a .channel-title {
    font-weight: bold;
  }
  /* HOMEPAGE - ARTICLE */
  #article-slider img {
    border-radius: 15px;
  }
  #article-slider .article-date {
    font-style: italic;
  }
  .article-slider .carousel-control-next-icon,
  .article-slider .carousel-control-prev-icon {
    position: absolute;
    top: 37%;
  }
  .article-slider .carousel-control-next-icon {
    right: -5px;
  }
  .article-slider .carousel-control-prev-icon {
    left: -27px;
  }
  .timeline-twitter {
    overflow: hidden;
    background: #FFF;
    border-radius: 15px;
  }

  @media (max-width: 480px) {
    .article-slider .carousel-control-next-icon,
    .article-slider .carousel-control-prev-icon {
      position: absolute;
    }
    .article-slider .carousel-control-next-icon {
      right: 0;
    }
    .article-slider .carousel-control-prev-icon {
      left: 0;
    }
  }

  /* ARTICLE PAGE */
  .share-button {
    top: 80px;
  }
  .article-detail p {
    color: #393939;
  }
  .article-download .download-list a {
    background: #0179E9;
  }
  .article-container {
    border-bottom: 1px solid #003D81;
  }
  .article-section.accordion>.card {
    border: 1px solid #5D5D5D !important;
    border-radius: 10px;
  }
  .article-section.accordion>.card>.card-header {
    border-bottom: 1px solid #5D5D5D !important;
    background: none;
  }
  .article-section img {
    max-width: 100% !important;
  }
  .article-related ul li {
    border-bottom: 2px solid #003D81;
  }
  .article-related ul li a:hover {
    text-decoration: none;
  }
  .article-tag a {
    background: #B8D8FF;
    border-radius: 10px;
    padding: 10px 15px;
    display: inline-block;
  }
  .article-related ul,
  .share-button ul {
    list-style: none;
    padding: 0;
  }
  /* INFOGRAPHIC PAGE */
  .infographic-gallery.row {
    margin-left: -25px;
    margin-right: -25px;
  }
  .infographic-gallery.row > div img {
    border: 2px solid transparent;
    padding: 10px;
  }
  .infographic-gallery.row > div img:hover {
    border: 2px solid #C4C4C4;
    box-shadow: inset 0px 0px 7px #C4C4C4;
  }
  #infographic-modal .modal-content {
    background: transparent;
    border: none;
  }
  #infographic-modal .lSSlideOuter .lSPager.lSGallery li.active,
  #infographic-modal .lSSlideOuter .lSPager.lSGallery li:hover {
    border-radius: 0 !important;
    border: 2px solid #0179E9;
  }
  #infographic-modal .carousel-control {
    margin-top: -50px;
    float: right;
    position: relative;
    z-index: 9;
  }
  #infographic-modal .caption {
    color: #FFF;
    margin-top: 10px;
    width: 100%;
  }

  /* AREA PAGE */
  .area .area-list {
    border: 1px solid #A6A6A6;
    border-radius: 19px;
    margin: 0 10px 20px 10px;
    padding: 30px 0;
  }
  .area .area-detail-label {
    min-height: 50px;
  }
  #mapid .map-legend {
    min-width: 300px;
    min-height: 400px;
    top: 100px;
    right: 8%;
    z-index: 999;
    background: #FFF;
    padding: 20px;
    border-radius: 15px;
    box-shadow: -10px 0px 0px 0px rgba(59,97,140,1);
    -webkit-box-shadow: -10px 0px 0px 0px rgba(59,97,140,1);
    -moz-box-shadow: -10px 0px 0px 0px rgba(59,97,140,1);
  }
  #mapid .map-legend:after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    top: 50%;
    left: 0;
    margin-top: -15px;
    box-sizing: border-box;
    border: 1em solid black;
    border-color: transparent transparent #FFF #FFF;
    transform-origin: 0 0;
    transform: rotate(45deg);
    box-shadow: -7px 7px 0px 0 rgb(59 97 140);
  }
  /* SEARCH PAGE */
  .search-form {
    z-index: 9;
    margin-top: 25px;
    width: 100%;
    left: 0;
    right: 0;
  }
  .search-form input[type="text"] {
    position: absolute;
    width: 100%;
    border-radius: 15px !important;
    border: 2px solid #4AB6FF;
  }
  .search-form .input-group .form-control:focus {
    z-index: 0 !important;
  }
  .search-form button {
    right: 0;
    position: absolute !important;
    border-radius: 20px !important;
    border: 2px solid #4AB6FF;
    background: #4AB6FF;
    padding: 5px 25px;
    color: #FFF;
  }
  .search-form button:hover {
    background: #4AB6FF;
    border: 2px solid #4AB6FF;
  }
  .search-pagination .page-link {
    background: none !important;
    border: none !important;
    color: #393939 !important;
  }
  .search-pagination .page-item.active .page-link {
    border: 1px solid #0179E9 !important;
    border-radius: 15px;
  }

  /* FINANCIAL REPORT PAGE */
  .financial-report img:hover {
    box-shadow: 0px 1px 17px rgba(0,0,0,0.3);
  }


  /* Image lazy load */
  img.lazy {
      background-repeat: no-repeat;
      /* optional way, set loading as background */
      background-image: url('/assets/images/loader.gif');
      background-repeat: no-repeat;
      background-size: 36px 36px;
      background-position: 50% 50%;
  }
