/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap");
@import 'https://fonts.googleapis.com/css?family=Fira+Sans:300,400';
@import 'https://fonts.googleapis.com/icon?family=Material+Icons';
* {
  box-sizing: border-box;
}

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3rem;

  /*========== Colors ==========*/
  --hue: 174;
  --sat: 63%;
  --first-color: hsl(var(--hue), var(--sat), 40%);
  --first-color-alt: hsl(var(--hue), var(--sat), 36%);
  --title-color: hsl(var(--hue), 12%, 15%);
  --text-color: hsl(var(--hue), 8%, 35%);
  --body-color: hsl(var(--hue), 100%, 99%);
  --container-color: #FFF;

  /*========== Font and typography ==========*/
  --body-font: "Roboto Condensed", sans-serif;  
  --h1-font-size: 1.5rem;
  --normal-font-size: .938rem;
  --tiny-font-size: .625rem;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

@media screen and (min-width: 968px) {
  :root {
    --h1-font-size: 2.25rem;
    --normal-font-size: 1rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: var(--header-height) 0 0 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  /*background-color: var(--body-color);*/
  background-color: #f0f2f5;
  color: var(--text-color);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.section {
  padding: 2rem 0 2rem;
}

.section__title {
  font-size: var(--h1-font-size);
  color: var(--title-color);
  text-align: center;
  margin-bottom: 1.5rem;
}

.section__height {
  /*height: 100vh;*/
  height:auto;
}

/*=============== LAYOUT ===============*/
.container {
  /*max-width: 968px;
  margin-left: 1rem;
  margin-right: 1rem;*/
}

/*=============== HEADER ===============*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--container-color);
  z-index: var(--z-fixed);
  transition: .4s;
  padding: 0px 0;
  box-shadow: 0 0px 8px hsla(var(--hue), var(--sat), 15%, 0.3);
}

/*=============== NAV ===============*/
.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav img{
  max-height: 100%;
}

.m_menu {
  width: 32px;
}

.nav__logo {
	  height: 100%;
    /*width: 30%;*/
    width: -webkit-fill-available;
    color: var(--title-color);
    font-weight: 600;
    display: flex;
    align-items: center;
}
#logos{
  display: block;
}
#mob_logos{
  display: none;
}
#logo_backs{
  background: #193775;
}
.brudcumbs h3{
  display: block;
}
/*@media only screen and (max-width: 768px) {*/
@media only screen and (max-width: 1024px) {
  .brudcumbs{
    height: 80px !important;
  }
  .brudcumbs p {
    margin-top: 30px !important;
  }
  .brudcumbs h3{
    display: none;
  }
  #logos{
    display: none;
  }
  #mob_logos{
    display: flex;
  }
  #logo_backs {
      background: aliceblue;
  }
  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--container-color);
    z-index: var(--z-fixed);
    transition: .4s;
    padding: 0px 0px;
    box-shadow: 0 0px 8px hsla(var(--hue), var(--sat), 15%, 0.3);
  }

  .nav__logo {
    height: 100%;
      width: 90%;
      color: var(--title-color);
      font-weight: 600;
      display: flex;
      align-items: center;
  }
}
.nav__menu{
  display: flex;
  /*width: 70%;*/
  width: -webkit-fill-available;
  justify-content: start;
}
.nav__logo img{
	height:auto;
}
.nav__logo span{
	font-size: 12px;
    line-height: 12px;
    padding: 10px;
	padding-left: 8px;
}
.m_menu img{
  /*filter: invert(1);*/
}
/*@media screen and (max-width: 767px) {*/
@media screen and (max-width: 1024px) {
  header ul.h_icons{
    display: none !important;
  }
  .nav__menu {
    position: fixed;
    bottom: -1px;
    left: 0;
    background-color: aliceblue;
    box-shadow: 0 -1px 12px hsla(var(--hue), var(--sat), 15%, 0.15);
    width: 100%;
    height: 4.5rem;
    padding: 0 1rem;
    display: grid;
    align-content: center;
    border-radius: 1.25rem 1.25rem 0 0;
    transition: .4s;
    z-index: 2;
  }
  .nav__logo img{
    height:70%;
  }
}

.nav__list, 
.nav__link {
  display: flex;
}

.nav__link {
  flex-direction: column;
  align-items: center;
  row-gap: 4px;
  color: var(--title-color);
  font-weight: 600;
}

.nav__list {
  justify-content: space-around;
  margin: 0;
}

.nav__name {
  font-size: var(--tiny-font-size);
  /* display: none;*/ /* Minimalist design, hidden labels */
}

.nav__icon {
  font-size: 1.5rem;
}

/*Active link*/
.active-link {
  position: relative;
  color: var(--first-color);
  transition: .3s;
}

/* Minimalist design, active link */
/* .active-link::before{
  content: '';
  position: absolute;
  bottom: -.5rem;
  width: 4px;
  height: 4px;
  background-color: var(--first-color);
  border-radius: 50%;
} */

/* Change background header */
.scroll-header {
  /*box-shadow: 0 1px 12px hsla(var(--hue), var(--sat), 15%, 0.15);*/
  box-shadow: 0 0px 8px hsla(var(--hue), var(--sat), 15%, 0.3);
  
}

/*=============== MEDIA QUERIES ===============*/
/* For small devices */
/* Remove if you choose, the minimalist design */
@media screen and (max-width: 320px) {
  .nav__name {
    display: none;
  }
}

/* For medium devices */
@media screen and (min-width: 576px) {
  .nav__list {
    justify-content: center;
    column-gap: 3rem;
  }
}

@media screen and (min-width: 1000px) {
  body {
    margin: 0;
  }
  .section {
    /*padding: 7rem 0 2rem;*/
    padding: 3rem 0 2rem;
  }
  .nav {
    height: calc(var(--header-height) + 1.5rem); /* 4.5rem */
  }

  .m_menu{
    display: none;
  }
  .nav__icon {
    display: none;
  }
  .nav__name {
    font-size: var(--normal-font-size);
    /* display: block; */ /* Minimalist design, visible labels */
  }
  .nav__link:hover {
    color: var(--first-color);
  }

  /* First design, remove if you choose the minimalist design */
  .active-link::before {
    content: '';
    position: absolute;
    bottom: -.75rem;
    width: 4px;
    height: 4px;
    background-color: var(--first-color);
    border-radius: 50%;
  }

  /* Minimalist design */
  /* .active-link::before{
      bottom: -.75rem;
  } */
}

/* For large devices */
@media screen and (min-width: 1024px) {
  .container {
    margin-left: auto;
    margin-right: auto;
  }
}


.carousel-caption p{
	text-shadow: 2px 2px 2px rgba(0,0,0,0.8);
}



main{
	padding-top: 15px !important;
}

.card {
    transition: transform 0.2s ease;
    margin-bottom: 18px !important;
	  border-radius: 15px !important;
    overflow: hidden !important;
	  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    background-image: url(https://election.burtgel.gov.mn/images/common/background.gif);
}
.card:hover {
  transform: scale(1.05);
}
.card-title {
    margin-bottom: 0.75rem !important;
    font-weight: bold !important;
}

.card.services{
  min-height: 140px;
}
.card.services a{
  color: #FFF;
}
.card.services a:hover{
  color: #FFF !important;
}


.card-body{
  padding: 20px;
  text-align: center;
}
a:hover {
    color: #0056b3;
    text-decoration: none !important;
}

iframe{
  height: auto;
}


footer{
  background-color: #319197;
  color: #fff;
  padding: 50px;
}
.foot_menus{
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.foot_menus i{
  font-size: 24px;
  width: 30px;
  text-align: center;
}
.foot_menus p{
  padding-left: 20px;
  margin-bottom: 0;
  width: 100%;
}





























































.nav-top {
  display: flex;
  align-items: center;
  position: fixed;
  z-index: 101;
  padding: 10px 20px;
  width: 100%;
  height: 50px;
  background-color: #188976;
}
.nav-top .hamburger {
  margin-left: auto;
  color: #fff;
  cursor: pointer;
}


@media only screen and (min-width: 1024px) {
  .nav-drill {
    display: none;
  }
}





@media only screen and (max-width: 1024px) {
  .nav-drill {
    margin-top: 50px;
    transform: translateX(100%);
  }

  .nav-is-toggled .nav-drill {
    transform: translateX(0);
  }
  .nav-is-toggled::after {
    opacity: 1;
    visibility: visible;
  }

  .nav-drill {
    display: flex;
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    width: 250px;
    height: 100vh;
    background-color: #fff;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    transition: 0.45s;
    box-shadow: 0 0px 8px hsla(var(--hue), var(--sat), 15%, 0.3);
  }
  .nav-items {
    flex: 0 0 100%;
  }
  .nav-item:not(:last-child) {
    border-bottom: solid 1px #daf9f4;
  }
  .nav-item{
    width:100%;
  }
  .nav-link {
    display: block;
    padding: 0.875em 1em;
    background-color: #fff;
    color: #0056b3;
    font-size: 1.2rem;
    line-height: 1.2em;
    font-weight: 400;
  }
  .nav-expand-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateX(100%);
    background-color: #daf9f4;
    transition: 0.3s;
    visibility: hidden;
  }
  .nav-expand-content .nav-item:not(:last-child) {
    border-bottom: solid 1px #20b49c;
  }
  .nav-expand-content .nav-link {
    background-color: #daf9f4;
  }
  .nav-expand-content .nav-back-link {
    display: flex;
    align-items: center;
    background-color: #20b49c !important;
    color: #fff;
  }
  .nav-expand-content .nav-back-link::before {
    content: "chevron_left";
    margin-right: 0.5em;
    font-family: "Material Icons";
  }
  .nav-expand-link {
    display: flex;
    justify-content: space-between;
  }
  .nav-expand-link::after {
    content: "chevron_right";
    flex: 0 1 auto;
    font-family: "Material Icons";
  }
  .nav-expand.active > .nav-expand-content {
    transform: translateX(0);
    visibility: visible;
  }
  .nav-expand .nav-expand-content {
    background-color: #daf9f4;
  }
  .nav-expand .nav-expand-content .nav-link {
    background-color: #daf9f4;
  }
  .nav-expand .nav-expand-content .nav-expand-content {
    background-color: #aff1e6;
  }
  .nav-expand .nav-expand-content .nav-expand-content .nav-link {
    background-color: #aff1e6;
  }
  .nav-expand .nav-expand-content .nav-expand-content .nav-expand-content {
    background-color: #84e9d9;
  }
  .nav-expand .nav-expand-content .nav-expand-content .nav-expand-content .nav-link {
    background-color: #84e9d9;
  }
  .nav-expand .nav-expand-content .nav-expand-content .nav-expand-content .nav-expand-content {
    background-color: #59e1cb;
  }
  .nav-expand .nav-expand-content .nav-expand-content .nav-expand-content .nav-expand-content .nav-link {
    background-color: #59e1cb;
  }
}