/*   
Theme Name: Круги чугунные
Theme URI: https://ztzs.ru
Version: 2.0
Tags: 
Description: Специальная тема по заказу ЗТЗ Стандарт
Author: Александр Подрезов
Author URI:
*/

/* Прокрутка */
:-webkit-scrollbar-button {
background-image:url('');
background-repeat:no-repeat;
width:8px;
height:0px
}

::-webkit-scrollbar-track {
background-color:#34495e
}

::-webkit-scrollbar-thumb {
-webkit-border-radius: 2px;
border-radius: 2px;
background-color:#e67e22;
}

::-webkit-scrollbar-thumb:hover{
background-color:#f39c12;
}

::-webkit-resizer{
background-image:url('');
background-repeat:no-repeat;
width:8px;
height:0px
}

::-webkit-scrollbar{
width: 8px;
}
body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 300 !important;
   
}
/* Переопределения меню  
.nav-item a {
    color: #E0E0E0 !important;
}
.nav-item a:hover {
    color: #FFFFFF !important;
}
*/
.nav-item a:after {
    background-color: #FFFFFF;
    margin-top: 13px;
    margin-bottom: -18px;
    display: block;
    content: "";
    height: 3px;
    width: 0%;
    -webkit-transition: width .3s ease-in-out;
    -moz--transition: width .3s ease-in-out;
    transition: width .3s ease-in-out;
}
.nav-item a.active:after,
.nav-item a:hover:after,
.nav-item a:focus:after {
    width: 100%;
    
}

/* Кастомизация карусели
-------------------------------------------------- */

.carousel-caption {
  margin-bottom: 10%;
  background-color: rgba(0,0,0,0.4);
  border-bottom: 6px solid rgba(250,250,250,0.8);
  border-right: 6px solid rgba(250,250,250,0.8);
  padding: 2rem 1.5rem !important;
  box-shadow: 6px 6px #989898, 12px 12px #6c6666;
  z-index: 10;
}

.carousel-item {
  height: 95vh;
  background-color: transparent;  
}

.fw-3 {
    font-weight: 300;
}
#banner {
    min-height: 100vh;
    max-height: 100vh;    
}
#banner h1 {
    font-size: 5rem !important;
    font-weight: 300;
    letter-spacing: 5px;
}
#banner h2 {
    font-size: 2.5rem !important;
    font-weight: 300;
}
#banner h3 {
    font-size: 1.6rem;
    font-weight: 300;
    letter-spacing: 0.3rem;
    line-height: 2.15rem;
}

.overley {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0,0,0,.3);
}
.section h1 {
    font-size: 3rem !important;
    font-weight: 300;
}
.section h2 {
    font-size: 2.5rem !important;
    font-weight: 300;
}
.section h3 {
    font-size: 2rem !important;
    font-weight: 300;
}
.section h4 {
    font-size: 1.5rem !important;
    font-weight: 300;
}
.section p {
    font-size: 1.25rem !important;
    font-weight: 300;
}
#featueres img {
    max-height: 150px;
    min-height: 150px;
}
/*-- Стили подвала --*/
#footer {
    margin-top: -1.75rem!important;       
}
#footer h4 {
    font-size: 1.5rem !important;
    font-weight: 300;
    color: #E0E0E0;
}
#footer ul {
    list-style-type: none !important;
    color: white;
    font-weight: 300 !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.1rem;
}
#footer a {
    text-decoration: none;
    color: white;
}
#footer a:hover {
    text-decoration: underline;
}
#footer p {
    color: #E0E0E0;
    font-size: 0.9rem !important;
    font-weight: 300 !important;
}
#footer span {
    color: #e74c3c;
    font-weight: 400;
} 
@media (max-width: 720px) {
  .bann h1 {
    font-size: 3rem;
  }
  .bann h2 {
    font-size: 2rem;
  }
  .bann h3 {
    font-size: 1.2rem;
  }
  .bann .btn-lg {
    font-size: 1rem;
    padding: 0.5rem !important;
  }
  
}

/*-- Страница о компании --*/

.timeline {
  position: relative;
  padding: 0;
  list-style: none;
}

.timeline:before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 40px;
  width: 2px;
  margin-left: -1.5px;
  content: '';
  background-color: #e9ecef;
}

.timeline > li {
  position: relative;
  min-height: 50px;
  margin-bottom: 50px;
}

.timeline > li:after, .timeline > li:before {
  display: table;
  content: ' ';
}

.timeline > li:after {
  clear: both;
}

.timeline > li .timeline-panel {
  position: relative;
  float: right;
  width: 100%;
  padding: 0 20px 0 100px;
  text-align: left;
}

.timeline > li .timeline-panel:before {
  right: auto;
  left: -15px;
  border-right-width: 15px;
  border-left-width: 0;
}

.timeline > li .timeline-panel:after {
  right: auto;
  left: -14px;
  border-right-width: 14px;
  border-left-width: 0;
}

.timeline > li .timeline-image {
  position: absolute;
  z-index: 100;
  left: 0;
  width: 80px;
  height: 80px;
  margin-left: 0;
  text-align: center;
  color: white;
  border: 7px solid #e9ecef;
  border-radius: 100%;
  background-color: #e15f41;
}

.timeline > li .timeline-image h4 {
  font-size: 10px;
  line-height: 14px;
  margin-top: 12px;
}

.timeline > li.timeline-inverted > .timeline-panel {
  float: right;
  padding: 0 20px 0 100px;
  text-align: left;
}

.timeline > li.timeline-inverted > .timeline-panel:before {
  right: auto;
  left: -15px;
  border-right-width: 15px;
  border-left-width: 0;
}

.timeline > li.timeline-inverted > .timeline-panel:after {
  right: auto;
  left: -14px;
  border-right-width: 14px;
  border-left-width: 0;
}

.timeline > li:last-child {
  margin-bottom: 0;
}

.timeline .timeline-heading h4 {
  margin-top: 0;
  color: inherit;
}

.timeline .timeline-heading h4.subheading {
  text-transform: none;
}

.timeline .timeline-body > ul,
.timeline .timeline-body > p {
  margin-bottom: 0;
}
.timeline-body p {
    font-size: 1rem !important;
}

@media (min-width: 768px) {
  .timeline:before {
    left: 50%;
  }
  .timeline > li {
    min-height: 100px;
    margin-bottom: 100px;
  }
  .timeline > li .timeline-panel {
    float: left;
    width: 41%;
    padding: 0 20px 20px 30px;
    text-align: right;
  }
  .timeline > li .timeline-image {
    left: 50%;
    width: 100px;
    height: 100px;
    margin-left: -50px;
  }
  .timeline > li .timeline-image h4 {
    font-size: 13px;
    line-height: 18px;
    margin-top: 16px;
  }
  .timeline > li.timeline-inverted > .timeline-panel {
    float: right;
    padding: 0 30px 20px 20px;
    text-align: left;
  }
}

@media (min-width: 992px) {
  .timeline > li {
    min-height: 150px;
  }
  .timeline > li .timeline-panel {
    padding: 0 20px 20px;
  }
  .timeline > li .timeline-image {
    width: 150px;
    height: 150px;
    margin-left: -75px;
  }
  .timeline > li .timeline-image h4 {
    font-size: 18px;
    line-height: 26px;
    margin-top: 30px;
  }
  .timeline > li.timeline-inverted > .timeline-panel {
    padding: 0 20px 20px;
  }
}

@media (min-width: 1200px) {
  .timeline > li {
    min-height: 170px;
  }
  .timeline > li .timeline-panel {
    padding: 0 20px 20px 100px;
  }
  .timeline > li .timeline-image {
    width: 170px;
    height: 170px;
    margin-left: -85px;
  }
  .timeline > li .timeline-image h4 {
    margin-top: 40px;
  }
  .timeline > li.timeline-inverted > .timeline-panel {
    padding: 0 100px 20px 20px;
  }
}