/* modified by templatemo.com */

body {
    padding-top: 20px;
    padding-bottom: 20px;
}

.footer {
    border-top: 1px solid #eee;
    margin-top: 40px;
    padding-top: 40px;
    padding-bottom: 40px;
}

/* Main marketing message and sign up button */
.jumbotron {
    text-align: center;
    background-color: transparent;
}
.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

/* Customize the nav-justified links to be fill the entire space of the .navbar */

.nav-justified {
    /*  background-color: #eee;*/
    /*  border-radius: 5px;*/
    /*border: 1px solid #ccc;*/
}
.nav-justified > li > a {
    margin-bottom: 0;
    padding-top: 10px;
    padding-bottom: 10px;
    color: #777;
    font-weight: bold;
    text-align: center;
    background-color: #003973; /* Old browsers */
    background-repeat: repeat-x; /* Repeat the gradient */
    background-image: -moz-linear-gradient(top, #f5f5f5 0%, #e5e5e5 100%); /* FF3.6+ */
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f5f5f5), color-stop(100%,#e5e5e5)); /* Chrome,Safari4+ */
    background-image: -webkit-linear-gradient(top, #f5f5f5 0%,#e5e5e5 100%); /* Chrome 10+,Safari 5.1+ */
    background-image: -o-linear-gradient(top, #f5f5f5 0%,#e5e5e5 100%); /* Opera 11.10+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */
    background-image: linear-gradient(top, #f5f5f5 0%,#e5e5e5 100%); /* W3C */
}
.nav-justified > .active > a,
.nav-justified > .active > a:hover,
.nav-justified > .active > a:focus {
    color: white;
    background: #3285c7;
    box-shadow: inset 0 3px 7px rgba(0,0,0,.15);
}

/*
.nav-justified > li:first-child > a {
  border-radius: 5px 5px 0 0;
}
*/

.nav-justified > li:last-child > a {
    
}

@media (min-width: 768px) {
    .nav-justified {
        max-height: 55px;
    }
    .nav-justified > li > a {
        border-left: 1px solid #ffffff;
        border-right: 1px solid #ffffff;
    }
    .nav-justified > li:first-child > a {
        border-left: 0;
        /* border-radius: 5px 0 0 5px;*/
    }
    .nav-justified > li:last-child > a {
        /* border-radius: 0 5px 5px 0;*/
        border-right: 0;
    }
 
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    /* Remove the padding we set earlier */
    .masthead,
    .marketing,
    .footer {

        padding-left: 0;
        padding-right: 0;
    }
}
/* Vertical sub menu  */
.nav-justif {
    /*  background-color: #eee;*/
    /*  border-radius: 5px;*/
    /*border: 1px solid #ccc;*/
}
.nav-justif > li > a {
    margin-bottom: 0;
    padding-top: 10px;
    padding-bottom: 10px;
    color: #ffffff;
    font-weight: bold;
    text-align: center;
    background-color: #003973; /* Old browsers */
    background-repeat: repeat-x; /* Repeat the gradient */

    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */

}
.nav-justif > .active > a,
.nav-justif > .active > a:hover,
.nav-justif > .active > a:focus {
    color: white;
    background: #3285c7;
    box-shadow: inset 0 3px 7px rgba(0,0,0,.15);
}

/*
.nav-justified > li:first-child > a {
  border-radius: 5px 5px 0 0;
}
*/

.nav-justif > li:last-child > a {
    
}

@media (min-width: 768px) {
    .nav-justif {
        max-height: 55px;
    }
    .nav-justif > li > a {

    }
    .nav-justif > li:first-child > a {
        border-left: 0;
        /* border-radius: 5px 0 0 5px;*/
    }
    .nav-justif > li:last-child > a {
        /* border-radius: 0 5px 5px 0;*/
        border-right: 0;
    }
 
}

body.mncs .templatemo_logo.logo-vertical {
  max-width: 120px;
}
.mncs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 10px 0;
}

.mncs-logo img {
  max-height: 120px;  /* босоо логог тохируул */
  width: auto;
}

.mncs-menu ul {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
}

.mncs-menu li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-size: 14px;
}

.mncs-menu li a:hover {
  color: #0066cc;
}
