@media only screen and (min-width: 768px) and (max-width: 991px), only screen and (min-width: 992px) and (max-width: 1199px), only screen and (min-width: 1200px) and (max-width: 1599px), only screen and (min-width: 1600px) {
  html,
  body {
    overflow: auto;
  }
}

body {
  overflow: auto;
  line-height: 1.42857143;
  color: #333;
}

a:hover, a:focus {
  color: #fff;
  text-decoration: underline;
}

/* TEXT */
.text-xs {
  font-size: 1em !important;
}

/* 20px */
.text-xs2 {
  font-size: 1.2em;
}

/* 26px */
.text-sm {
  font-size: 1.85em;
}

/* 32px */
.text-md {
  font-size: 2.3em !important;
}

/* 53px */
.text-lg {
  font-size: 3.8em;
}


.text-semibold {
  font-weight: 500;
}

.text-red {
  color: #fc3321;
}

/* BUTTONS */
.btn-default {
  color: #fff;
  background-color: #cc1f0f;
  font-size: 18px;
}

.btn-default:hover, .btn-default:active, .btn-default:focus, .btn-default:active:focus  {
  color: #fff;
  background-color: #a3190c;
  outline: none;
}


/* HEADER */
.b-top-menu {
  border-color: transparent;
  position: absolute;
  z-index: 1030;
  min-height: 115px;
  top: 0;
  width: 100%;
  padding: 25px 15px;
}

/* RIBBON */

.ribbon_wrapper {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: 460px;
  padding-left: 2.1em;
  padding-right: 2.1em;
  margin: 0 auto;
}

@media (max-width: 1023px) {
  #section-1 h1 {
    font-size: 2em;
  }
  .ribbon_wrapper {
    max-width: 320px;
  }
}

.ribbon {
  font-size: 16px !important;
  /* This ribbon is based on a 16px font side and a 24px vertical rhythm. I've used em's to position each element for scalability. If you want to use a different font size you may have to play with the position of the ribbon elements */
  width: auto;
  position: relative;
  background: #cc2010;
  color: #fff;
  text-align: center;
  padding: 1em 0.5em; /* Adjust to suit */
  margin: 2em auto 3em; /* Based on 24px vertical rhythm. 48px bottom margin - normally 24 but the ribbon 'graphics' take up 24px themselves so we double it. */
  box-shadow: 0px 10px 10px rgba(0,0,0,0.5);
}
.ribbon:before, .ribbon:after {
  content: "";
  position: absolute;
  display: block;
  bottom: -1em;
  border: 1.5em solid #c11d0e;
  z-index: -1;
}
.ribbon:before {
  left: -2em;
  border-right-width: 1.5em;
  border-left-color: transparent;
}
.ribbon:after {
  right: -2em;
  border-left-width: 1.5em;
  border-right-color: transparent;
}
.ribbon .ribbon-content:before, .ribbon .ribbon-content:after {
  content: "";
  position: absolute;
  display: block;
  border-style: solid;
  border-color: #4d0b04 transparent transparent transparent;
  bottom: -1em;
}
.ribbon .ribbon-content:before {
  left: 0;
  border-width: 1em 0 0 1em;
}
.ribbon .ribbon-content:after {
  right: 0;
  border-width: 1em 1em 0 0;
}

/* END RIBBON */
.bootstrap-dialog.type-primary .modal-header {
  background-color: #cc1f0f;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  padding: 0 15px;
  height: 25px;
  border-bottom: 0px solid #e5e5e5;
}

.modal-footer:after {
  display: block;
  background-color: #cc1f0f;
  width: 100%;
  height: 20px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}


.b-contact__form-tooltip {
  background: #d2d2d2;
  color: #EF2323;
  position: absolute;
  top: -2.4em;
  padding: 5px;
  border-radius: 3px;
  right: 0.4em;
}

img.logo {
  width: 100%;
}

@media (max-width: 767px) {
  .b-top-menu__phone.mob-top-phone {
    font-size: 1.6em !important;
    line-height: 0.5em;
    padding-bottom: 15px;
    float: none;
  }
}

.logo-small {
  display: block;
  /* float: left; */
  width: 34px;
  height: 48px;
  margin: 0 auto;
  color: #fff;
}

.contact-left {
  width: 38px;
  float: left;
}

.contact-right {
  margin-left: 48px;
}

footer.text-gray {
  margin-top: -28px;
}
.footer-link {
  color: #bdc3c7;
  text-decoration: none;
  text-transform: none;
}
