html,
body {
  overflow-x: hidden; /* Prevent scroll on narrow devices */
}

body {
  padding-top: 56px;
  background-color: white;
}

@media (max-width: 991.98px) {
  .offcanvas-collapse {
    position: fixed;
    top: 66px; /* Height of navbar */
    bottom: 0;
    left: 100%;
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    overflow-y: auto;
    visibility: hidden;
    background-color: #fff;
    transition: visibility .5s ease-in-out, -webkit-transform .5s ease-in-out;
    transition: transform .5s ease-in-out, visibility .5s ease-in-out;
    transition: transform .5s ease-in-out, visibility .5s ease-in-out, -webkit-transform .5s ease-in-out;
  }
  .offcanvas-collapse.open {
    visibility: visible;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
  }
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  color: rgba(255, 255, 255, .75);
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.nav-underline .nav-link {
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-size: .875rem;
  color: #6c757d;
}

.nav-underline .nav-link:hover {
  color: #007bff;
}

.nav-underline .active {
  font-weight: 500;
  color: #343a40;
}

.text-white-50 { color: rgba(255, 255, 255, .5); }

.bg-purple { background-color: #6f42c1; }

.lh-100 { line-height: 1; }
.lh-125 { line-height: 1.25; }
.lh-150 { line-height: 1.5; }

.bg-white {
    background-color: #fff;;
}

.navbar-expand-lg .navbar-nav .nav-link {
    font-weight: 600;
    font-size: 12px;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.max600 {
    max-width: 600px;;
}

p {
    font-family: 'Barlow', sans-serif;
    font-style: normal;
    font-size: 24px;
    font-weight: 300;
    line-height: 1.3;
    -webkit-font-smoothing: antialiased;
  }

h3 {
  -webkit-font-smoothing: antialiased;
}

.round {
    border-radius: 20px!important;
  }
  
  .row-eq-height {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display:         flex;
  }
  
  .btn-danger {
      background-color: #e8202d;
  }

  .pt100 {
      padding-top: 100px;
  }

  .font18 {
    font-size: 18px!important;
  }

  .bgblack {
    background-color: #212121;
  }

  .fw500 {
      font-weight: 500;
  }


  .bggri {
      background-color: #f9f9f9;
  }

  .fontmic {
    font-size: 16px;;
  }
  
  .max500 {
    max-width: 500px;
  }

  .max750 {
    max-width: 750px;
  }

  .max300 {
    max-width: 300px!important;
  }


  @media only screen and (max-width: 992px) {
    .navbar-nav {
      padding: 10px 10px;
      border-top: 1px solid #f9f9f9;
      border-bottom: 1px solid #f9f9f9;
    }
    .navbar-expand-lg .navbar-nav .nav-link {
      font-weight: 600;
      font-size: 24px;
      font-family: 'Montserrat', sans-serif;
      text-transform: uppercase;
      letter-spacing: 1px;
  }
  }

  li.nav-item {
    padding: 10px 0;
  }

  .bg-rosu {
    background-color: #e8202d!important;
  }

  .cd-top {
    display: inline-block;
    height: 60px;
    width: 60px;
    position: fixed;
    bottom: 80px!important;
    right: 10px;
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    /* image replacement properties */
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
    background-color: #e8202d;
    background-image: url(img/up-arrow.png);
    background-repeat: no-repeat;
    background-position: center 50%!important; 
    z-index: 1;
    opacity: 0;
    border-radius: .3rem;
    box-shadow: 0 7px 14px rgba(50, 50, 93, .1), 0 3px 6px rgba(0, 0, 0, .08);
  }
  
  
  .cd-top.cd-top--show {
    /* the button becomes visible */
    visibility: visible;
    opacity: 1;
  }
  
  
  .cd-top:hover {
    background-color: #e8202d;
    opacity: 1;
  }
  
  @media only screen and (min-width: 768px) {
    .cd-top {
      right: 20px;
      bottom: 20px;
    }
  }
  
  @media only screen and (min-width: 1024px) {
    .cd-top {
      height: 60px;
      width: 60px;
      right: 30px;
      bottom: 30px;
    }
  }

  p.font-footer a {
    color:  #212529;
  }

  .pr300{
    padding-right: 300px!important;
  }
  
  @media only screen and (max-width: 576px) {
  .form-group {
    margin: 0px 20px 20px 20px!important;
  }
  }

  @media only screen and (max-width: 576px) {
    h1.titlu-form {
      margin: 0px 20px 0px 20px!important;
    }
    }
  
    @media only screen and (max-width: 576px) {
      label.form-check-label {
        padding: 0px 20px 20px 20px!important;
      }
      }
      .form-control {
        font-size: 24px;
    }

  .bknegru {
    background-color: #212121!important;
  }

.js-cookie-consent {
  position: fixed;
  padding: 10px;
  bottom: 0px;
  text-align: center;
  width: 100%;
  z-index: 9999;
  background-color: #212121;
  color: #fff;
}

.alert {
  margin-bottom: 0px!important;
}

.close {
  font-size: 2rem;
  font-weight: 200;
}

@media only screen and (min-width: 576px) {
  .modal-dialog {
    max-width: 100%!important;
}
}

.portfolio-modal .modal-content p {
  margin-bottom: 0px!important;
}

.modal {
  padding-right: 0px!important;
}

@media only screen and (max-width: 576px) {
  .modal-dialog {
    max-width: 100%!important;
}
}


.modal-header {
  border-bottom: none!important; 
}

.modal-dialog {
margin: 0px!important;
}

@media only screen and (min-width: 576px) {
  .modal-dialog {
    margin: 0px!important;    
}
}

.modal-content {
  border: none;
  border-radius: 0px!important;
}