@font-face {
    font-family: 'DB Adman X regular';
    src: url('font/hinted-DBAdmanX.woff2');
    src: url('font/hinted-DBAdmanX.woff2') format('woff2'),
}

 html, body {
    margin: 0;
    font-family: 'Roboto';
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    background-color: #fff;
  }
  
  @media screen and (min-width: 1080px) and (max-width: 1920px) {
  html, body {
    font-size: 16px;
  }
  }
  
  @media screen and (min-width: 768px) and (max-width: 1024px) {
  html, body {
    font-size: 12px;
    padding: 0rem;
    margin: 0rem;
  }
  }
  
  hr {
    margin-top: 3rem;
    margin-bottom: 3rem;
    /* border-top: 3px solid rgba(0,0,0,.3); */
    width: 70%;
  }
  
  /* header */
  /* nav */
  .navbar-brand {
    font-size: 1.25rem;
    line-height: inherit;
    white-space: nowrap;
  }
  
  .nav-item .nav-link {
    font-size: 1rem;
  }
  
  .bg-nav-tooktee{
    background-color:#434d57;
    /* position:fixed; */
    top:0;
    padding:.1rem .8rem;
    width:100%;
    z-index:1020;
    min-height:50px;
    box-shadow:1px 1px 1px #313131
  }
  
  .bg-nav-tooktee .collapse ul.navbar-nav li {
    float:left;
    position:relative
  }
  .bg-nav-tooktee .navbar-nav .nav-link.nav-slash{
    padding:.5rem 0
  }
  .bg-nav-tooktee .navbar-nav .nav-link.nav-slash:hover{
    color:rgba(255,255,255,.5)!important
  }.nav-responsive{
    display:none
  }
  .bg-nav-tooktee .navbar-nav .nav-link{
    color:#fff
  }
  .nav-item.lang.active span{
    border-bottom:1px solid;
  }
  .bg-nav-tooktee .navbar-nav .nav-link:focus,.navbar-dark .navbar-nav .nav-link:hover{
    color:#fff
  }
  .bg-nav-tooktee .navbar-nav .nav-link:focus,.navbar-dark .navbar-nav .nav-bor:hover:before{
    width:100%
  }
  @media(min-width:991px){
    .bg-nav-tooktee .navbar-nav .nav-bor:before{
        content:'';
        position:absolute;
        top:30px;
        left:0;
        width:0;
        border-bottom:2px solid #c82021;
        display:block;
        -webkit-transition:.25s ease-in-out width;-moz-transition:.25s ease-in-out width;
        -o-transition:.25s ease-in-out width;
        -ms-transition:.25s ease-in-out width;
        transition:.25s ease-in-out width
    }}
  @media(max-width:991px){
    html, body {
        font-size: 12px;
    }
  
    .nav-item .nav-link {
        font-size: 1.25rem;
    }
    
    .nav-item.bar-lang{
        display:none
    }
    .nav-responsive{
        display:initial
    }
    .nav-responsive ul{
        padding:0
    }
    .nav-responsive ul li{
        display:inline-block
    }
    .bg-nav-tooktee .navbar-nav .nav-link{
        padding:.5rem 1rem!important
    }
    .bg-nav-tooktee .navbar-nav .nav-link.nav-slash{
        padding:.5rem 0!important
    }
  
  }

  /* footer */
  footer{
    position: relative;
    bottom: 0;
    width: 100%;
    background:url('../Img/Misc/footer.jpg') center no-repeat;background-size:cover;
    color:#fff;
    border-top:3px solid #c82021;
    background-attachment:fixed;
    clear:both
  }
  footer::before{
    content:"";
    position:absolute;
    width:100%;
    background-color:rgba(0,0,0,.3);
    display:block;height:100%
  }
  footer .container{
    padding:2.5rem 15px;
    font-size: 0.9rem;
  }
  
  footer .row{
    margin:0
  }
  
  footer ul{
    list-style:none;
    padding:0;
  }
  
  footer ul li.title-list-footer{
    padding-bottom:1rem;font-size:1.25rem
  }
  
  footer ul li.title-list-footer .w-25{
    border-bottom:2px solid #c82021
  }
  
  footer ul li{
    padding-bottom:.5rem
  }
  
  footer ul li a{
    color:inherit
  }
  
  @media(max-width:991px){
    footer .container{
        padding:2.5rem 0
    }}

    /* totopbutton */
    #button {
      display: inline-block;
      background-color: #000000;
      width: 50px;
      height: 50px;
      text-align: center;
      border-radius: 4px;
      position: fixed;
      bottom: 30px;
      right: 30px;
      transition: background-color .3s, 
        opacity .5s, visibility .5s;
      opacity: 0;
      visibility: hidden;
      z-index: 1000;
    }
    #button::after {
      content: "\f077";
      font-family: FontAwesome;
      font-weight: normal;
      font-style: normal;
      font-size: 2em;
      line-height: 50px;
      color: #fff;
    }
    #button:hover {
      cursor: pointer;
      background-color: #333;
    }
    #button:active {
      background-color: #555;
    }
    #button.show {
      opacity: 0.7;
      visibility: visible;
    }   

    @media (min-width: 400px) {
      #button {
        margin: 30px;
      }
    }