@font-face {
  font-family: 'FuturaMd';
  src: url('../fonts/futura_md.ttf') format('truetype');
}
@font-face {
  font-family: 'Futurademic';
  src: url('../fonts/futurademic.ttf') format('truetype');
}
@font-face {
  font-family: 'Futuralightc';
  src: url('../fonts/futuralightc.ttf') format('truetype');
}
@font-face {
  font-family: 'Myriad_pro_semibold';
  src: url('../fonts/myriad_pro_semibold.otf') format('otf');
}

body{
	background-color: #191919;
	padding-top: 80px;
	color: #fff;
}

li, ul, a{
  font-family:"Futuralightc";
  padding: 1.5% 15px;
  color: #fff;
  font-size: 2rem;
  transition: all ease 0.2s;
}

ul{
  margin: 0;
}

/*МЕНЮ*/
.navbar-default{
  background-color: #191919;
  border: none;
}
.brand {
    padding-top: 5px;
}
@media (max-width: 48em){
  .brand {
      padding-top: 5px;
      width: 100px;
  }
}
.navbar-default .navbar-nav > li > a {
  color: #fff;
}
.navbar-default .navbar-nav > li > a:focus {
    color: #CB0909;
}
.navbar-toggle{
  border: none;
}
.navbar-default .navbar-collapse, .navbar-default .navbar-form{
  border: none;
}
.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus{
  background-color: transparent;
}
.navbar-default .navbar-toggle .icon-bar {
    background-color: #fff;
}

/*
Меню в мобильной версии: меняем "бутерброд на Х";
*/

.navbar-toggle{
  padding: 9px 0;
  margin-right: 5px;
}

.navbar-toggle .icon-bar:nth-of-type(2) {
    top: 1px;
}

.navbar-toggle .icon-bar:nth-of-type(3) {
    top: 2px;
}

.navbar-toggle .icon-bar {
    position: relative;
    transition: all 200ms ease-in-out;
}

.navbar-toggle.active .icon-bar:nth-of-type(1) {
    top: 6px;
    transform: rotate(45deg);
}

.navbar-toggle.active .icon-bar:nth-of-type(2) {
    background-color: transparent;
}

.navbar-toggle.active .icon-bar:nth-of-type(3) {
    top: -6px;
    transform: rotate(-45deg);
}
.navbar-default .navbar-nav > li > a:hover{
  color: #fff;
  text-decoration: none;
  padding-bottom: 5px;
  border-bottom: 2px solid #CB0909;

}
a:focus{
  color: #CB0909;
  text-decoration: none;
}
@media (max-width: 48em){

  .navbar-default .navbar-nav > li > a {
    color: #fff;
    text-transform: uppercase;
    font-size: 1.9em;
  }
  .nav.navbar-nav > ul,
  .nav.navbar-nav > li,
  .nav.navbar-nav > a
  {
       padding: .1% 0px 0px 0px;
       font-size: .8rem;
  }
  .nav.navbar-nav .active
  {
    border-left: 1px solid #C80000;
    background: linear-gradient(to right, #191919 23%, #444749 75%, #2D2D2D 100%);
  }
  nav > div > div > div.col-md-8.col-xs-12.col-sm-12 {
      background-color: #2D2D2D;
      border-bottom: 1px solid #424242;
  }
}
/*-----------МЕНЮ-End-------------------------*/

img {
  display: inline-block;
  height: auto;
  max-width: 100%;
}
.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}


  h1, h2, h3, h4, h5{
    font-family: 'FuturaMd';
  }
  h1{
    margin-top: 80px;
    margin-bottom: 50px;
  }
  h2, .h2 {
    font-size: 45px;
    font-weight: bold;
  }
  h3{
    font-size: 45px;
    font-weight: bold;
  }
  h5{
    font-family: 'Futuralightc';
    font-size: 17px;
  }
  p{
    font-family: 'Futuralightc';
    font-size: 17px;
  }
  .carousel{
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .iso {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 0;
  }
  .red{
    color: #EC1B23;
  }
  .row{
    margin-left: 5px;
    margin-right: 5px;
  }
  .quality_box{
    margin: 20px 5px 20px 5px;
    padding: 15px 5px 15px 5px;
    background-color: #424242;
  }
  .quality_box p{
    padding-left: 35px;
    padding-right: 35px;
  }
  .quality_box img{
    margin-bottom: 25px;
  }

  .quality_box_mini{
/*    width: 270px;
    height: 270px;*/
    margin: 5px 5px 5px 5px;
    padding: 15px 5px 15px 5px;
    background-color: #424242;
    box-sizing: border-box; /* Ширина блока с полями */
}
  .quality_box_mini p{
    padding-left: 35px;
    padding-right: 35px;
  }
  .quality_box_mini img{
    margin-bottom: 25px;
    width: 175px;
    height: 175px;
  }

/*------------------как в продукции-------------------*/
.margin-top {
  margin-top: 100%;
}
.square-text {
    position: absolute;
    bottom: 13%;
    left: 0px;
    right: 0;
    text-align: center;
}
/*.square-text {
  position: absolute;
  top: 25px;
  bottom: 0;
  left: 15px;
  right: 0;
  text-align: center;
  padding-top: calc(50% - 30px);
  z-index: 9;
  background: transparent;
  color: #fff;
}*/

.square-img {
  position: absolute;
  top: 13%;
  left: 50%;
  transform: translateX(-50%);
}
.marg{
  background-color: #424242;
  border: solid 1px;
}
.kat{
  /*max-height: 90%;
  max-width: 90%;*/
/*  margin: 5px 5px;*/
  padding: 3px;
  color: #424242;
}
.kat h4{
  font-size: 0.7em;
  text-transform: uppercase;
  margin-bottom: 3px;
  color: #fff;
}

.kat p {
    font-size: 1.6em;
    color: #fff;
    margin: 0 0;
    line-height: 1;
}
/*------------------как в продукции КОНЕЦ-------------------*/

/*-----------Контент-мобильный-Начало-------------------------*/
@media (max-width: 48em){

  h1, h2, h3, h4, h5{
    font-family: 'FuturaMd';
  }
  h1{
    margin-top: 40px;
    margin-bottom: 30px;
  }
  h3, .h3 {
    font-size: 35px;
    font-weight: bold;
  }
  h5{
    font-size: 14px;
  }
  p{
    font-family: 'Futuralightc';
    font-size: 15px;
  }
  .carousel{
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .iso {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 0;
  }
  .red{
    color: #EC1B23;
  }
  .row{
    margin-left: 5px;
    margin-right: 5px;
  }
  .quality_box_mini {
    /* width: 150px; */
    /* height: 150px; */
    margin: 3px 3px 3px 3px;
    padding: 5px 5px 5px 5px;
    background-color: #424242;
    box-sizing: border-box;
  }
.quality_box_mini p {
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 0px;
    line-height: 16px;
  }
.quality_box_mini img {
    margin-bottom: 5px;
    width: 95px;
    height: 95px;
  }
  .quality_box{
    margin: 20px 5px 20px 5px;
    padding: 15px 5px 5px 5px;
    background-color: #424242;
  }
  .quality_box p{
    padding-left: 15px;
    padding-right: 15px;
  }
  .quality_box img{
    margin-bottom: 15px;
  }

/*------------------как в продукции---НАЧ----------------*/
  .square-text {
    position: absolute;
    right: 0;
    bottom: 13%;
    text-align: center;
    font-size: 14px;

}
.square-text p, .square-text h4{
  margin: 0 0;
  pading: 0 0;
}
/*.square-text {
  position: absolute;
  top: 25px;
  bottom: 0;
  left: 15px;
  right: 0;
  text-align: center;
  padding-top: calc(50% - 30px);
  z-index: 9;
  background: transparent;
  color: #fff;
}*/

.square-img {
  /*background: url('../img/cfm_injection_molding.png') no-repeat;*/
  position: absolute;
   top: 13%;
   left: 50%;
   transform: translateX(-50%);
}
/*.square-img img{
   max-width: 90%;
}*/
.max-width_100{
   max-width: 110%;
}
.max-width_90{
   max-width: 90%;
}
.max-width_85{
   max-width: 85%;
}
.max-width_80{
   max-width: 80%;
}

.marg{
  background-color: #424242;
  border: solid 1px;
/*    margin: 5px 5px;
  border-radius: 3px;*/
}
.kat{
  /*max-height: 90%;
  max-width: 90%;*/
/*  margin: 5px 5px;*/
  padding: 3px;
}
.kat p {
    font-size: 1.2em;
    color: #fff;
    margin: 0 0;
    line-height: 1;
}
/*------------------как в продукции--------КОН-----------*/
/*-----------Контент-мобильный-Конец-------------------------*/
}
