body {
    padding-top: 60px;
}

img {
    max-width: 100%;
}

.modal .price {
    font-size: 20px;
}

.modal .price span {
    color: #f78d00;
    font-weight: 800;
    font-size: 32px;
    line-height: 52px;
    font-style: normal;
    letter-spacing: 1.6px;
    margin-left: 20px;
}

.cover-container {
    position: relative;
    background-image: url('img/image_1.webp');
    background-size: cover;
    background-repeat: no-repeat;
}

.cover-container:after {
    display: block;
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    background-color: #000000a8;
    z-index: 1;
}

.header_text {
    max-width: 588px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 10;
}

ul, li {
    margin: 0px;
    padding: 0px;
}

a {
    color: #f58200;
    text-decoration: none;
}

a:hover {
  color: #ffffff;
}

h1 {
    font-size: 47px;
    line-height: 67px;
    font-weight: 800;
    color: #dddddd;
}

.header_text p {
    font-size: 30px;
    line-height: 50px;
    color: #f47f00;
    margin-top: 20px;
}

.btn-header {
  position: relative;
    color: #fefefe;
    background-color: #ffc234;
    font-size: 34px;
    font-weight: 600;
    margin-top: 100px;
    border: 0;
    border-radius: 4px;
    border: 1px solid rgba(0,0,0,.35);
    text-shadow: 0 -1px 1px rgba(0, 0, 0, .4);
    background: linear-gradient(to bottom, #faa500,#f47d00);
    -webkit-box-shadow: inset 0 1px rgba(255,255,255,.5), 0 5px 7px rgba(0, 0, 0, .2);
    -moz-box-shadow: inset 0 1px rgba(255,255,255,.5), 0 5px 7px rgba(0, 0, 0, .2);
    box-shadow: inset 0 1px rgba(255,255,255,.5), 0 5px 7px rgba(0, 0, 0, .2);
    padding-left: 20px;
    padding-right: 20px;
    text-transform: uppercase;
}

.btn-header:after {
    position: absolute;
    left: 100%;
    top: 50%;
    margin: -16px 0 0 .8em;
    content: "";
    width: 46px;
    height: 32px;
    background-image: url(img/jmi.png);
    cursor: default;
}

.bg-navbar {
    background-color: #3e3f40;
}

.navbar .btn-header {
    font-size: 22px;
    margin: 0px;
}

.navbar .btn-header:after {
  display: none;
}

.navbar .nav-item a {
    text-transform: uppercase;
}

.navbar-dark .navbar-brand {
    text-transform: uppercase;
    font-weight: 600;
}

.navbar-dark .navbar-brand img {
    max-width: 28px;
}

.menu_services {
    background: #ecf0f1;
    border-bottom: 1px dashed #bbb;
    padding: 34px;
}

.menu_services ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.menu_services ul li {
  list-style-type: none;
  text-align: center;
  cursor: pointer;
}

.menu_services ul li:hover span {
    color: #f78d00;
}

.menu_services ul li span {
    display: block;
    font-size: 20px;
    margin-top: 10px;
    color: #3e3f40;
    font-weight: 600;
    text-transform: uppercase;
}

.services_blocks {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding-top: 50px;
}

.services_blocks .block {
  width: 49%;
  margin-bottom: 50px;
}

.services_blocks .block h2 {
    position: relative;
    margin-top: 20px;
    margin-bottom: 20px;
    color: #2c3e50;
    padding-left: 20px;
}

.services_blocks .block h2:before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    background: orange;
    width: .25em;
    height: 1em;
    border-radius: .1em;
}

.services_blocks .block {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.services_blocks .block .image {
  width: 32%;
}

.services_blocks .block .text {
  width: 64%;
}

.services_blocks .block em {
    color: #f78d00;
    font-weight: 800;
    font-size: 32px;
    line-height: 52px;
    font-style: normal;
    letter-spacing: 1.6px;
}

.contacts {
    margin-top: 50px;
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: #2a2a2a;
    color: #ffffff;
}

.contacts .info-box {
  margin-bottom: 40px;
}

.contacts_info {
  padding-top: 30px;
}

.footer {
    padding: 20px;
    text-align: center;
    background-color: #3e3f40;
    color: #ffffff;
    border-top: 2px solid #626262;
}

.header_phone {
    z-index: 10;
    position: relative;
    padding-top: 10px;
}

.header_phone .btn-header {
    margin-top: 0px;
}

.header_servies {
    padding-top: 10px;
}

.header_servies ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.header_servies ul li {
    width: 50%;
    color: #ffffff;
    font-size: 24px;
    list-style-type: none;
    margin-bottom: 22px;
}

.modal .btn-header {
    margin-top: 0px;
    margin-right: 104px;
}

.header_full {
    display: block;
    position: relative;
    z-index: 10;
    background-color: #1c1c1ccf;
    padding-top: 46px;
    padding-bottom: 46px;
    padding-left: 20px;
    padding-right: 20px;
    border: 1px solid #000000;
    margin-top: 50px;
    margin-bottom: 50px;
}

.services_blocks .block .btn-header {
    display: inline-block;
    vertical-align: top;
    margin-left: 20px;
    margin-top: 0px;
    font-size: 23px;
}

.header_mobile_number {
    display: none;
}

.blocks_modal {
    margin-bottom: 0px;
}

.blocks_modal p {
    color: #f78d00;
    font-weight: 600;
}

.blocks_modal span {
    color: #212529;
    font-weight: 400;
}

.modal-lg {
    max-width: 550px;
}

.footer_links_sub {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 200px;
    margin-top: 10px;
}

.footer_links_sub .ya-share2 {
    margin-top: 4px;
}

@media (max-width: 1440px) {

.services_blocks .block .btn-header {
    margin-left: 0px;
}

.services_blocks .block em {
    font-size: 26px;
}

}

@media (max-width: 1220px) {

.services_blocks .block em {
    font-size: 24px;
}

}

@media (max-width: 992px) {

.container, .container-lg, .container-md, .container-sm {
    max-width: 100%;
}

.header_text {
    padding-top: 0px;
}

.services_blocks .block {
    width: 100%;
}

.menu_services ul li {
    width: 49%;
    margin-bottom: 34px;
}

.menu_services {
    padding: 34px 34px 14px 34px;
}

.services_blocks .block .btn-header {
    display: block;
    width: 90%;
    max-width: 140px;
}

body {
    padding-top: 50px;
}
    
}

@media (max-width: 767px) {

.header_mobile_number {
    display: block;
    font-size: 20px;
    font-weight: 600;
}

.navbar-dark .navbar-brand span {
    display: block;
}

.navbar-dark .navbar-brand img {
    float: left;
}
    
}

@media (max-width: 640px) {

.header_servies ul li {
    font-size: 18px;
}

.services_blocks .block .btn-header {
    font-size: 18px;
}
    
}

@media (max-width: 540px) {

.header_mobile_number.btn-header {
    font-size: 19px;
    padding-left: 16px;
    padding-right: 16px;
}
    
.header_servies ul li {
    font-size: 14px;
    width: 100%;
    margin-bottom: 12px;
}

.menu_services ul li {
    width: 100%;
}

h1 {
    font-size: 38px;
    line-height: 58px;
}

.btn-header {
    font-size: 29px;
}
    
}

@media (max-width: 440px) {

h1 {
    font-size: 23px;
    line-height: 43px;
}

.header_text p {
    font-size: 20px;
    line-height: 40px;
}

.btn-header {
    font-size: 21px;
}

.header_text .btn-header {
    margin-top: 40px;
}

.btn-header:after {
    display: none;
}

.modal .btn-header {
    margin-right: auto;
    margin-left: auto;
}

.navbar-dark .navbar-brand img {
    float: left;
    padding-top: 4px;
}

.navbar-dark .navbar-brand span {
    font-size: 14px;
}

.header_mobile_number.btn-header {
    font-size: 13px;
    padding-left: 5px;
    padding-right: 5px;
}

.blocks_modal p {
    font-size: 14px;
}

}

@media (max-width: 370px) {

.navbar-dark .navbar-brand {
    font-size: 15px;
}

.header_mobile_number {
    font-size: 19px;
}

}

@media (max-width: 350px) {

.header_mobile_number {
    font-size: 16px;
}

}