@font-face {
  font-family: "democracy";
  src: url('Nunito-Regular.ttf') format('truetype');
}

body {
  font-family: "democracy" !important;
}
.container {
  max-width: 1140px !important;
}
@font-face {
  font-family: "democracy";
  src: url('Inter_18pt-Regular.ttf') format('truetype');
}


@font-face {
  font-family: "Roboto";
  src: url('RobotoCondensed-Regular.ttf') format('truetype');
}

.b-example-divider {
  height: 3rem;
  background-color: rgba(0, 0, 0, .1);
  border: solid rgba(0, 0, 0, .15);
  border-width: 1px 0;
  box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.form-control-dark {
  color: #fff;
  background-color: var(--bs-dark);
  border-color: var(--bs-gray);
}

.form-control-dark:focus {
  color: #fff;
  background-color: var(--bs-dark);
  border-color: #fff;
  box-shadow: 0 0 0 .25rem rgba(255, 255, 255, .25);
}
.top {
  position: fixed;
  top: 0px;
  z-index: 999;
  width: 100%;
  transition: background 0.3s ease;
  background-color: rgba(13, 70, 161, 0.9);
}
header {
  max-width: 1140px;
  margin: auto;
  padding: 0px;
  position: relative;
}

#newsanaa {
  display: none;
  transition: opacity 1.5s ease-in-out;
}

.bi {
  vertical-align: -.125em;
  fill: currentColor;
}

.text-small {
  font-size: 85%;
}

.dropdown-toggle {
  outline: 0;
}

.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.slidegroup {
  position: absolute;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  text-align: center;
}

.slidegroup img {
  min-width: 100%;
  height: 500px !important;

}

.slidegroup .slidetext {
  position: absolute;
  top: 64%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #333;
  width: 70%;
  margin: auto;
  font-weight: bold;
  z-index: 99;
}

.slidegroup .slidetext h1 {
  color: rgba(255, 255, 255, 1);
  font-size: 36px;
}

.slidegroup .slidetext h1 span {
  color: #ccc;
  font-size: 40px;  
  position: relative;
}
.red {
  position: absolute;
  bottom: 5px;
  left: 0px;
  width: 100%;
  height: 10px;
  z-index: -1;
  background: #fc2322;
}
.btn-primarys {
  background-image: linear-gradient(to right, #2a67ff , #6999ff) !important; 
  border: none;
  color: #fff;
}
.btn-primarys:hover {
  background-image: linear-gradient(to right, #0149ff , #3d7aff) !important; 
  color: #fff;
}
.slidegroup .slidetext h3 {
  font-weight: 100;
  font-size: 20px;
  margin-top: 15px;
}

.slidegroup .slidetext h3 span {
  padding: 3px 20px;
  color: white;
}

.active {
  opacity: 1;
}

.slideshow-container {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.slideshow-back {
  position: absolute;
  width: 100%;
  height: 500px;
  top: 0px;
  left: 0px;
  background-image: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.5) 20%, rgba(0,0,0,0) 100%);

}

.full {
  background: #fafafa;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  padding-top: 0px;
}

.menu {
  border-radius: 10px;
  padding: 0px;
}

.tses {
  padding: 20px 10px;
  position: relative;
  border-radius: 6px;
  margin: 0px;
}
.tses img {
  width: 50px;
}
.menu .tses:hover {
  opacity: 0.8;
}
.tses p {
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    margin-top: 10px;
    color: #fff;
}
.tses p span {
  text-transform: uppercase;
  color: #ff7100;
  font-weight: bold;
}

a {
  text-decoration: none;
}

a:hover {
  color: #007bff;
}

li {
  list-style: none;
}

.menu .col-md-3 .item {
  text-align: center;
  width: 100%;
  font-weight: bold;
  font-size: 18px;
  color: #fff;
  transition: 0.2s;
  font-family: "democracy";
  text-transform: uppercase;
}


.menu .col-md-3 .item .fas {
  font-size: 30px;
  margin-bottom: 10px;
}



ul {
  margin: 0px;
  padding: 0px;
}

#select_all {
  margin-top: 25px;
}

.petition-box:first-child {
  margin-top: 0px !important;
}

.btn-outline-custom {
  border: 1px solid #6c757d;
  color: #6c757d;
}
.box a:hover {
  color: #555 !important;
}
.box .title span {
  border-bottom: 2px solid;
  padding-bottom: 4px;
}
.box .title {
  font-size: 20px;
  font-family: "democracy";
  font-weight: 700;
  margin-top: 30px;
  color: #000;
}

.custom-nav {
  background: #c2c4c6;
  display: inline-block;
  /* inline-block болгож байна */
  padding: 0px;
  border-radius: 30px;
}

.custom-nav li {
  display: inline-block;
  /* li элементүүдийг зэрэгцүүлэх */
  padding: 3px;
}

.custom-nav a {
  text-decoration: none;
  color: #687684;
  font-weight: 500;
  padding: 9px 15px;
  border-radius: 30px;
}

.custom-nav .active {
  background: white;
  color: black;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 6px;
}

.custom-nav .active::before {
  content: "•";
  color: #3684C4;

}

/* Search Box */
.search-box {
  display: flex;
  align-items: center;
  border: 1px solid #c2c4c6;
  border-radius: 14px;
  padding: 5px 10px;
  background: white;
}

.search-box input {
  border: none;
  outline: none;
  width: 200px;
}

.search-box button {
  border-radius: 14px;
  font-weight: bold;
}

.itembox {
  border: 1px solid #e5e5e5;
  padding: 0px;
  background: white;
  border-radius: 6px;
}

.cata .itembox {
  margin-bottom: 30px;
}

.itembox:hover {
  opacity: 0.9;
}

.itembox .header img {
  width: 40px;
  height: 40px;
  border-radius: 100%;
  margin-top: 5px;
}

.itembox .header h6 {
  font-weight: bold;
}

.itembox .text-muted {
  font-size: 12px;
}

.itembox .badge-custom {
  background-color: #007bff;
  color: white;
  padding: 2px 5px;
  border-radius: 4px;
}

.itembox p {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.itembox .progress {
  height: 10px !important;
}

.itembox .footer {
  border-top: 1px solid #e5e5e5;
}

.itembox .footer a {
  color: #687684;
}

.itembox .footer a:hover {
  color: #007bff;
}

.social-icons a:hover {
  opacity: 0.7;
}

.trend {
  background: #0d46a1;
  height: auto;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.newslist {
  border: 1px solid #c2c4c6;
  border-radius: 14px;
}

.newslist img {
  transition: 0.5s;
}

.newslist img:hover {
  opacity: 0.7;
}

.newstitle {
  padding: 20px 0px;
  font-size: 16px;
  line-height: 20px;
  font-weight: bold;
  margin: 0px;
}

.newstitle a {
  color: #041B31;
}

.newstitle a:hover {
  color: #0a53be;
}

.dates {
  font-size: 12px;
  color: #6B7E92;
}

.footers {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.footermenu,
.socialmenu {
  display: flex;
  gap: 15px;
  list-style: none;
  padding: 0;
}

.footermenu a,
.socialmenu a {
  text-decoration: none;
  color: white;
  font-size: 16px;
  line-height: 24px;
}

.footermenu li {
  padding: 10px 15px;
  border-radius: 5px;
  transition: 0.3s;
}

.socialmenu li {
  padding: 10px;
  transition: 0.3s;
}

.footermenu li:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.socialmenu li:hover {
  opacity: 0.7;
}


.clearfix {
  clear: bottom;
}

.headermenu {
  display: flex;
  justify-content: flex-end;
  /* Баруун талд байрлуулах */
  align-items: center;
  gap: 10px;
  /* Хоёр dropdown хоорондын зай */
}

.form-group {
  margin-bottom: 15px;
}

.blog-header {
  width: 100%;
  background: #080D20;
  color: white;
}

.text-bg-dark .nav-link {
  color: white;
}

.text-bg-dark .nav-link:hover {
  color: darkgray;
}

.logintype .btns {
  border: 1px solid #c2c4c6;
  border-radius: 14px;
  overflow: hidden;
  color: #0f0f0f;
}

.logintype .btns:hover {
  background: #f4f4f4;
}

.logintype {
  min-height: 40vh;
}

.form-control {
  background: #F7F8F9;
  padding: 10px 15px;
  border-radius: 10px;
  border: 1px solid #CED5DC;
}

.control-label {
  font-weight: 500;
  margin-bottom: 10px;
  margin-top: 20px;
}

.control-label .form-check-input {
  background: #F7F8F9;
  border: 1px solid #CED5DC;
}

#id_bosgo {
  float: left;
  margin-top: 60px;
  padding: 10px;
}

.label-bosgo {
  float: right;
  width: 90%;
  margin-top: 50px;
}

#player {
  width: 100%;
  margin-bottom: 20px;
}

.dropzone {
  width: 100%;
  height: 80px;
  border: 1px dashed #999;
  border-radius: 3px;
  text-align: center;
  margin: 20px 0px;
  padding-bottom: 10px;
}

.upload-icon {
  margin: 25px 2px 2px 2px;
}

.fs-7 {
  margin-bottom: 10px;
  color: #888;
}

.upload-input {
  position: relative;
  top: -62px;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.dropzone input {
  cursor: pointer;
}

#loading_spinner {
  margin: 10px 0px;
}

.medeegarchig {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 13px;
  text-transform: uppercase;
  margin-top: 10px;
}

.shares .titles {
    margin-top: 20px;
    color: #777;
  font-size: 18px;
}

.single-title {
  font-size: 30px;
  text-align: left;
  line-height: 38px;
  font-family: "democracy";
  font-weight: 700;
}

.read h4 {
  font-size: 18px;
  line-height: 38px;
  font-family: "democracy";
  font-weight: 700;
}

.read img {
  border-radius: 10px;
  margin-top: 5px;
}

.read .more {
  text-align: justify;
  margin-top: 0px;
  line-height: 28px;
  font-size: 14px;
  background: #fafafa;
  padding: 30px 15%;
  border-radius: 10px;
}

.morenews {
  text-align: justify;
  line-height: 28px;
  font-size: 14px;
}

.man-detail {
  background: #E7ECF0;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 20px 10px;
  font-size: 14px;
}
.alert {
  font-size: 14px;
}

.read table tr,
.read table td,
.read table th {
  border: none;
}

.man-detail button {
  border-radius: 16px;
}

#login-send {
  display: none;
}

.input-container {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}





.resulta .progress-title {
  font-size: 18px;
  font-weight: 700;
  color: #000;
  margin: 0 0 10px;
}

.resulta .progress-outer {
  background: #fff;
  padding: 5px 80px 5px 5px;
  border: 1px solid #bebfbf;
  border-radius: 45px;
  margin-bottom: 20px;
  position: relative;
}

.resulta .progress {
  background: #e1e1e1;
  border-radius: 20px;
  margin: 0;
  height: 30px;
}

.resulta .progress .progress-bar {
  border-radius: 20px;
  box-shadow: none;
  height: 30px;
  animation: animate-positive 2s;
}

.resulta .progress .progress-value {
  font-size: 16px;
  font-weight: 700;
  color: #6b7880;
  position: absolute;
  top: 8px;
  right: 10px;
}

@keyframes animate-positive {
  0% {
    width: 0;
  }
}









@media (max-width: 768px) {

  .footermenu {
    display: block;
  }

  .slidegroup img {
    width: auto !important;
    height: 400px !important;
  }

  .slidegroup .slidetext {
    width: 90%;
    top: 50%;
  }
  .slideshow-container {
    height: 400px;
  }
  .footermenu li {
    text-align: center;
  }

  .itembox,
  .newslist {
    margin-bottom: 30px;
  }

  header img {
    margin: auto;
  }

  header a {
    padding: 10px;
    border-bottom: 1px solid #e1e1e1;
  }



  .menu {
    padding: 30px 10px;
  }
  .top {
    position: relative;
  }


}


.header-box {
  width: 100%;
  padding: 10px 0px;
  border-top: 3px solid #0077FF;
  border-bottom: 1px solid #e1e1e1;
  background: #f5f5f5;
}

.header-box .title {
  font-weight: bold;
  font-size: 18px;
  margin: 0px;
  padding-left: 10px;
  font-family: "Roboto";
}

.header h6 {
  font-size: 14px;
}

.dropdown-item {
  cursor: pointer;
}

#citySelector {
  background: white;
  border: 1px solid #0077FF;
  padding: 5px 10px;
  font-size: 14px;
}

.widget.widget_categories ul:not(.children) {
  position: relative;
  background-color: #0077FF;
  padding: 0.9375rem 1.25rem;
}

.widget.widget_categories ul:not(.children) li {
  position: relative;
  padding: 0.375rem 0;
}

.widget.widget_categories li a {
  display: inline-block;
  color: #fff;
  text-transform: uppercase;

}

.widget.widget_categories li:hover a {
  color: #ccc;
}

.widget.widget_categories .fas {
  margin-right: 10px;
}

.widget .widget-title {
  background-color: #0077FF;
  color: #fff;
  padding: 0.9375rem 1.25rem;
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 400;
}

.statics li {
  width: 100%;
  clear: both;
}

.statics .fas {
  float: left;
  color: #007bff;
  background: #f9f9f9;
  padding: 10px 0px;
  width: 50px;
  text-align: center;
  font-size: 16px;
  margin-bottom: 10px;
}

.statics span {
  float: left;
  padding-left: 10px;
  line-height: 30px;
}

.statics div {
  float: right;
  line-height: 30px;
}

.top-stop {
  position: sticky;
  top: 100px;
}


.tab {
  width: 100%;
  background: #e9ecef;
  border-radius: 6px 6px 0px 0px;
  overflow: hidden;
}

.tab button {
  height: 100%;
  padding: 10px 0px;
  background: none;
  border: none;
  border-bottom: 1px solid #e5e5e5;
  margin: 0px -3px;
  width: 33.5%;
  font-size: 14px;
}
.tab button:first-child {
  margin: 0px;
}
.tab .active {
  border: 1px solid #e5e5e5;
  border-bottom: 1px solid #FFF;
  border-radius: 6px 6px 0px 0px;
  background: white;
}

.tabcontent {
  height: 600px;
  overflow-y: scroll;
}

.tabcontent ul {
  border-left: 1px solid #e5e5e5;
}

.tabcontent ul li {
  color: #212529;
  padding: 10px 0px;
  border-bottom: 1px dashed #ccc;
  line-height: 20px;
  font-size: 14px;
}

.tabcontent ul li:hover {
  background: #f5f5f5;
}

.badge-customs {
  color: white;
    padding: 2px 5px;
    border-radius: 4px;
}

.sub-parent {
  font-size: 12px;
  margin-top: 10px;
  color: #444;
}

.sub-parent .fas {
  margin-right: 10px;
  color: #0077FF;
}

.high-box .high {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.high-box .blacktitle {
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 100%;
  padding: 10px;
  background-color: rgba(42, 42, 44, 0.8);
  transition: 0.35s;
  color: white;
}

.high-box .blacktitle:hover {
  background-color: rgba(0, 119, 255, 0.8);
}

.high:hover {
  opacity: 0.8;
}

.high .badge-custom {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #007bff;
  color: white;
  padding: 2px 5px;
  border-radius: 4px;
}


.step {
  display: none;
  margin-top: 30px;
}

.is-invalid {
  border: 1px solid red;
}

.step-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: lightgray;
  text-align: center;
  line-height: 30px;
  font-weight: bold;
  cursor: pointer;
}

.step-circle.active {
  background-color: #007bff;
  color: white;
}


.custom-card {
  display: flex;
  align-items: center;
  background: #f8f9fa;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 10px;
  transition: 0.3s;
}
.custom-card:hover {
  background: #e9ecef;
}
.icon-box {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  margin-right: 10px;
}
.text-muted { font-size: 14px; }

.openlinks {
  cursor: pointer;
}

.sta .p-3 {
  border: 1px solid;
}
.sta .col-6 {
  margin-bottom: 6px;
}
.sta .col-6:nth-child(even) {
  padding-left: 3px;
}
.sta .col-6:nth-child(odd) {
  padding-right: 3px;
}
.sta img {
  width: 30px;
}

.shares {
    width: 100%;
    text-align: center;
    border-top: 1px solid #ccc;
    margin: 50px 0px;
}

.shares a {
    margin: 5px;
}

#select_txt {
    display: none;
}
.comments .avatar {
    width: 40px;
    height: 40px;
    border-radius: 100%;
    margin-top: 5px;
    float: left;
}
.comments .text-box {
  float: right;
  width: calc(100% - 60px);
  border-bottom: 1px solid #ccc;
}
.comments .text-muted {
  font-size: 12px;
}
.comments li {
  clear: both;
}
.comments p {
  font-size: 14px;
  line-height: 26px;
}
.alerts {
  position: relative;
  padding: 0rem 1rem;
  margin-bottom: 0rem;
  border: 1px solid transparent;
  border-radius: .25rem;
}

.man_list {
  border: 1px solid #9e9e9e;
  border-radius: 6px;
  font-size: 14px;
}

.man_list h7 {
  margin-bottom: 30px;
}

.top-stop ul li {
  padding: 10px;
}

.tag li {
  padding: 5px 16px;
  background: #e9ecef;
  margin: 5px;
  border-radius: 6px;
  border: 1px solid #e5e5e5;
  font-size: 14px;
}

.tag li a {
  color: #000;
}

.full_black {
  width: 100%;
  background-color: rgb(241, 241, 241);
}
.full_black .image {
  width: 100%;
  height: 300px;
  overflow: hidden;
  text-align: center;
}
.full_black img {
  height: 300px;
  min-width: 100%;
}
.full_black .badges {
  font-size: 14px;
}
.desk-small {
  font-size: 11px;
  color: #444;
  margin-top: 3px;
}
.fs-8 {
  font-size: 12px;
}
.searchbox {
  width: 300px;
  position: absolute;
  right: 20px;
  top: 70px;
  display: none;
}
.searchbox input {
  background: rgba(255, 255, 255, 0.7);
  height: 50px;
  border-radius: 0px;
}
.news-title {
  color: #222;
    font-size: 28px;
    font-weight: 400;
    margin: 10px 0;
}
pre {
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow: hidden;
  background: #e9ecef;
  padding: 20px;
  border-radius: 8px;
  margin: 30px 0px;
  font-size: 14px;
}
.date-news {
  border-bottom: 2px solid #0d46a1;
  font-size: 12px;
}

.top {
  position: fixed;
  top: 0;
  z-index: 999;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid #f0d8d8;
  box-shadow: 0 8px 28px rgba(19, 37, 84, 0.08);
  backdrop-filter: blur(14px);
}

.democracy-header {
  max-width: 100%;
  margin: 0 auto;
}

.democracy-header-top {
  display: grid;
  grid-template-columns: 320px minmax(320px, 1fr) auto;
  gap: 36px;
  align-items: center;
  max-width: 1180px;
  min-height: 124px;
  margin: 0 auto;
  padding: 18px 12px 16px;
}

.democracy-brand {
  display: inline-flex;
  align-items: center;
}

.democracy-brand-logo {
  width: 100%;
  max-width: 340px;
  height: auto;
  display: block;
}

.democracy-search {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}

.democracy-search .form-control {
  height: 48px;
  padding: 0 52px 0 16px;
  border: 2px solid #3359db;
  border-radius: 10px;
  color: #32476b;
  font-size: 14px;
  box-shadow: none;
}

.democracy-search .form-control::placeholder {
  color: #9aa8c2;
}

.democracy-search-btn {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  border: 0;
  padding: 0;
  color: #4b74f2;
  background: transparent;
}

.democracy-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.democracy-ghost-btn,
.democracy-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.democracy-ghost-btn {
  border: 1px solid #dbe4ff;
  color: #3359db;
  background: #f5f8ff;
}

.democracy-login-btn {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #2b62f4, #244ad2);
}

.democracy-login-btn:hover,
.democracy-login-btn:focus,
.democracy-login-btn:active,
.democracy-login-btn:visited {
  color: #fff;
  text-decoration: none;
}

.democracy-mainnav-wrap {
  background: #2f45b9;
  width: 100%;
}

.democracy-mainnav {
  background: transparent;
  width: 100%;
}

.democracy-mainnav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  min-height: 48px;
  max-width: 100%;
}

.democracy-mainnav-home,
.democracy-mainnav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  text-shadow: none !important;
}

.democracy-mainnav-home:hover,
.democracy-mainnav-link:hover,
.democracy-mainnav-home:focus,
.democracy-mainnav-link:focus {
  color: #dce4ff;
  text-decoration: none;
  text-shadow: none !important;
}

.navbar-brand,
.navbar-nav > li > a,
.democracy-mainnav *,
.democracy-header * {
  text-shadow: none !important;
}

.democracy-mainnav-home {
  width: 24px;
}

.democracy-header-spacer {
  height: 172px;
}

@media (max-width: 991px) {
  .democracy-header-top {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: auto;
    padding: 16px 12px;
    justify-items: center;
  }

  .democracy-header-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .democracy-mainnav-inner {
    gap: 18px;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0 12px;
  }

  .democracy-header-spacer {
    height: 224px;
  }
}
