/* Place your custom styles here */

/* Sideout panel буюу content хэсэг */
.slideout-panel {
  position: relative;
  z-index: 1;
  height: 100%;
  /* A background-color is required */
  background-color: rgb(255, 255, 255);
  min-height: 100vh;
  color: #000000;
}

@media screen and (min-width: 320px) {
  iframe {
    width: 100%;
    height: 14rem;
  }
}

@media screen and (min-width: 800px) {
  iframe {
    width: 100%;
    height: 30rem;
  }
}
@media screen and (min-width: 1200px) {
  iframe {
    width: 100%;
    height: 41rem;
  }
}

/* Header-үүд */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 500;
}

h1 {
  margin: 35px 0px 10px 0px;
  position: relative;
  font-weight: 500;
}

h1 {
  font-size: 2rem;
}

@media screen and (min-width: 320px) {
  h1 {
    font-size: calc(2rem + 5 * ((100vw - 320px) / 880));
  }
}

@media screen and (min-width: 1200px) {
  h1 {
    font-size: 2rem;
  }
}

.default-header {
  line-height: 0.8;
  padding: 0px 25px 10px 0px;
  border-bottom: 5px solid #1f1f1f;
}

h2 {
  margin: 30px 0px 10px 0px;
  position: relative;
}

h2 {
  font-size: 1.5rem;
}

@media screen and (min-width: 320px) {
  h2 {
    font-size: calc(20px + 12 * ((100vw - 320px) / 880));
  }
}

@media screen and (min-width: 1200px) {
  h2 {
    font-size: 1.5rem;
  }
}

h3 {
  margin: 25px 0px 10px 0px;
  position: relative;
}

h3 {
  font-size: 1.25rem;
}

@media screen and (min-width: 320px) {
  h3 {
    font-size: calc(1.25rem + 9 * ((100vw - 320px) / 880));
  }
}

@media screen and (min-width: 1200px) {
  h3 {
    font-size: 1.25rem;
  }
}

h4 {
  margin: 20px 0px 10px 0px;
  position: relative;
}

h4 {
  font-size: 1rem;
}

@media screen and (min-width: 320px) {
  h4 {
    font-size: calc(1rem + 6 * ((100vw - 320px) / 880));
  }
}

@media screen and (min-width: 1200px) {
  h4 {
    font-size: 1rem;
  }
}

h5 {
  margin: 15px 0px 10px 0px;
  position: relative;
}

h5 {
  font-size: 0.875rem;
}

@media screen and (min-width: 320px) {
  h5 {
    font-size: calc(0.875rem + 3 * ((100vw - 320px) / 880));
  }
}

@media screen and (min-width: 1200px) {
  h5 {
    font-size: 0.875rem;
  }
}

h6 {
  margin: 10px 0px 8px 0px;
  position: relative;
}

h6 {
  font-size: 0.85rem;
}

@media screen and (min-width: 320px) {
  h6 {
    font-size: calc(0.85rem + 0 * ((100vw - 320px) / 880));
  }
}

@media screen and (min-width: 1200px) {
  h6 {
    font-size: 0.85rem;
  }
}

/* Content хэсэг */

p{
  text-align: justify;
}
p,
li,
ul,
code {
  font-size: 15px;
}

@media screen and (min-width: 320px) {
  p,
  li,
  ul,
  code {
    font-size: calc(15px + 9 * ((100vw - 320px) / 880));
  }
}

@media screen and (min-width: 1200px) {
  p,
  li,
  ul,
  code {
    font-size: 16px;
  }
}

p,
li,
ul {
  font-weight: 400;
  line-height: 1.5;
}

strong {
  font-weight: 500;
}

/* Link-үүд */

a {
  font-size: 15px;
}

@media screen and (min-width: 320px) {
  a {
    font-size: calc(15px + 9 * ((100vw - 320px) / 880));
  }
}

@media screen and (min-width: 1200px) {
  a {
    font-size: 16px;
  }
}

a:hover {
  color: #f7681e;
  text-decoration: underline;
}
a:visited{
  color: #551A8B;
  font-weight: bold; 
}

html,
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  word-break: break-word;
  background-color: white;
}

.header-hr {
  height: 0.1px;
  background-color:rgb(255, 255, 255);
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

hr{
  border: transparent;
  height: 1px;
  box-shadow: rgb(247 104 30 / 40%) 0px 1px, rgb(247 104 30 / 30%) 0px 5px, rgb(247 104 30 / 20%) 0px 9px;
  margin-bottom: 1.3rem
}

.page-title {
  margin-bottom: 0px;
  margin-top: 5px;
}

.page-title {
  font-size: 38px;
  font-weight: bold;
}

@media screen and (min-width: 320px) {
  .page-title {
    font-size: calc(25px + 35 * ((100vw - 320px) / 880));
  }
}

@media screen and (min-width: 1200px) {
  .page-title {
    font-size: 38px;
  }
}

.content {
  margin: 0 auto;
  padding: 0 1em;
  max-width: 1170px;
  word-wrap: break-word;
  overflow: hidden;
}

.content img, .content div {
  max-width: 100%;
}

/* Nav хэсэг */

.sidebar-nav a,
.sidebar-nav li,
.sidebar-nav ul {
  font-size: 15px;
}

@media screen and (min-width: 320px) {
  .sidebar-nav a,
  .sidebar-nav li,
  .sidebar-nav ul {
    font-size: calc(15px + 2 * ((100vw - 320px) / 880));
  }
}

@media screen and (min-width: 1200px) {
  .sidebar-nav a,
  .sidebar-nav li,
  .sidebar-nav ul {
    font-size: 15px;
    color: black;
    background-color: white;
  }
}
.sidebar-nav .metismenu a {
  position: relative;
  display: block;
  padding: 13px 15px;
  color: black;
  outline-width: 0;
  transition: all 0.2s ease-out;
}

.sidebar-nav .metismenu ul > li {
  padding-left: 2px;
  border-left: 4px solid #455a6456;
  background: white;
}

.sidebar-nav .metismenu ul ul {
  background: white;
}

.sidebar-nav .metismenu a:hover, .sidebar-nav .metismenu a:focus, .sidebar-nav .metismenu a:active {
  color: black;
  text-decoration: none;
  background: whitesmoke;
}

.sidebar-nav .metismenu a[aria-expanded="true"] {
  background-color: white;
  font-weight: 500;;
  color: #f7681e;
}

.sidebar-nav .metismenu .active-page {
  font-weight: 500;
  color: black;
}

.sidebar-brand {
  display: flex;
  color: black;
  height: auto;
  padding: 15px 0;
  line-height: 20px;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.sidebar-brand:hover {
  color: #c9c8c8;
}

.sidebar-nav .metismenu .active-page {
  font-weight: bold;
  color: #f7681e;
  font-size: 14px;
  background-color: whitesmoke;
  border-radius: .5rem;
  margin-left: 1px;
  margin-right: 3px
}

.footer{
  text-align: end;
  font-family: 'Courier New', Courier, monospace;
  font-size: small;
}

img {
  margin: auto;
  border: gray;
  border-radius: 2px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  display: block;
  margin-bottom: 1.5rem;
  margin-top: 1.5rem;
}

/* Footer */

.footer-distributed {
  box-sizing: border-box;
  width: 100%;
  text-align: center;
  font: normal 16px sans-serif;
  margin-bottom: 1.5rem;
}

.footer-distributed .footer-left p {
  color: #8f9296;
  height: 35px;
  font-size: 1rem;
  display:flex;
  align-items: center;
  text-align: left;
}
/* Footer links */

.footer-distributed p.footer-links {
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 10px;
  padding: 0;
  transition: ease .25s;
}

.footer-distributed .footer-links a:before {
  font-size: 20px;
  left: 0;
  display: inline-block;
  padding-right: 5px;
}

.footer-distributed .footer-right {
  float: right;
  max-width: 20rem;
}

.footer-distributed .footer-right i {
  display: inline-block;
  width: 35px;
  height: 35px;
  border-radius: 2px;
  background-color: rgb(231, 228, 228);
  font-size: 20px;
  text-align: center;
  color: black;
  line-height: 35px;
  margin-left: 3px;
  transition:all .25s;
}

p.phone{
  display: inline-block;
  font-weight: bold;
  margin: 0 0 0 0.5rem;
  color: gray;
  font-weight: bold;
}

.footer-distributed .footer-right a:hover{transform:scale(1.1); -webkit-transform:scale(1.1);}

/* Media Queries */

@media (max-width: 600px) {
  .footer-distributed .footer-right {
    float: right;
  }
  
  .footer-distributed .footer-left {
    line-height: 2rem;
    font-size: .7rem;
  }
  p.phone{
    font-size: .8rem;
    margin-left: .2rem;
  }
  .footer-distributed .footer-right i {
    width: 2rem;
    height: 2rem;
    font-size: 1rem;
    line-height: 2rem;
  }
  .footer-distributed .footer-left p {
    height: 2rem;
    font-size: .7rem;
    text-align: left;
  }
}

@media (max-width: 300px) {
  .footer-distributed .footer-right {
    float: right;
  }
  
  .footer-distributed .footer-left {
    line-height: 2rem;
    font-size: .7rem;
  }
  p.phone{
    font-size: .7rem;
    margin-left: .2rem;
  }
  .footer-distributed .footer-right i {
    width: 2rem;
    height: 2rem;
    font-size: .8rem;
    line-height: 2rem;
  }
  .footer-distributed .footer-left p {
    height: 2rem;
    font-size: .6rem;
    text-align: left;
  }
}


span { float: right; }
