@import url('https://fonts.googleapis.com/css?family=Open+Sans');

html {
    line-height: 1!important;
}

body {
    background-color: #282828!important;
    font-family: 'Open Sans', sans-serif!important;
    color: black!important;
}

h1 {
    text-align: center;
}

.wrapper {
    margin-top: 15px;
}

#block_1 {
    padding-top: 20px;
    padding-bottom: 20px;
}

#home #block_1 {
    background-image: url("../img/home_block_1.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#home .block1_info {
    font-weight: bold!important;
}

#home #block_2 .h5 i {
    color: #e20101;
}

#home #block_1 .redbtn {
    width: 170px;
}

#fiz_lica #block_2 {
    background-image: url("../img/fl_block_1.jpg")!important;
    background-repeat: no-repeat;
    background-size: cover;
}

#topmenu .dropdown-menu {
    padding: 0;
    margin: 0;
}

li.active>a {
    color: #007bff!important;
}

.menu-fluid nav.navbar {
    padding: 0;
}

#topmenu .nav-item a {
    color: white;
    padding: 4px;
    
}

.navbar-brand {
    padding-bottom: 0!important;
    padding-top: 0!important;
    white-space: normal!important;
}

#topmenu ul a:hover {
    text-decoration: underline;
}

.dropdown:hover>.dropdown-menu {
    display: block;
}

div.slider {
    padding: 0;
}

div.slider img {
    width: 100%;
}

.carousel-caption {
 text-align: right!important;
 font-size: 1rem;
}

.carousel-caption p {
    margin-bottom: 0;
}

.btn-group-vertical {
    width: 100%;
}

.topleftPanel {
    padding: 0;
    margin-bottom: 5px!important;
}

.topleftPanel li {
    height: 40px;
    margin-bottom: 2px;
    list-style-type: none;
    display: flex;
    align-items: center;
    /*background-color: #00398b;
    background: linear-gradient(to bottom, #003c90, #002f73);*/
}

.topleftPanel img {
    width: 50px;
    margin-right: 10px;
    padding-left: 10px;
}

.topleftPanel a {
    width: 100%;
    height: 100%;
    color: #00398b;
    display: inline-flex;
    align-items: center;
    padding: 5px;
    margin-left: 15px;
}

.bottomleftPanel {
    padding: 0;
    margin-bottom: 5px!important;
}

.bottomleftPanel li {
    height: 40px;
    margin-bottom: 2px;
    list-style-type: none;
    display: flex;
    align-items: center;
    /*background-color: #00398b;
    background: linear-gradient(to bottom, #003c90, #002f73);*/
}

ul .root {
    padding: 5px;
    background-color: #00398b;
    color: white;
}

.bottomleftPanel img {
    width: 50px;
    margin-right: 10px;
    padding-left: 10px;
}

.bottomleftPanel a {
    width: 100%;
    height: 100%;
    color: #00398b;
    display: inline-flex;
    align-items: center;
    padding: 5px;
    margin-left: 15px;
}

.leftPanelImg {
    width: 100%;
    margin: 3px 0;
}

.color {
    text-align: center!important;
    color: #d41800!important;
    text-indent: 0!important;
}

.color span {
    color: #00337c;
}

.advantage {
    margin-top: 50px;
}

.advantage img {
    width: 90%;
}

.advantageImg {
    text-align: center;
}

.marginpanel {
    margin-bottom: 50px;
}

form.contactform {
    background-size: 100%;
    color: white;
    text-align: center;
    padding: 15px 0;
    background-color: rgba(0, 0, 0, 0.8);
}


.infopanel p {
    text-indent: 20px;
}

.leftinfo ul {
    list-style-image: url("../img/checkblue.png");
}

.rightinfo ul {
    list-style-image: url("../img/checkred.png");
}

.contact_info {
    text-align: right;
}

.contact_info a {
    margin: 0;
    color: black;
}

.contact_info a:hover {
    color: #007bff;
    text-decoration: underline;
}

.data p {
    text-align: justify;
    margin-bottom: 10px;
    line-height: 1.2rem;
}

.data h1 {
    font-size: 1.5rem;
    font-weight: bold;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E")!important;
}

.navbar-toggler {
    border-color: white!important;
}

.slidermenu img {
    width: 100%;
}

.slidermenu p {
    background-color: white;
    margin-bottom: 0!important;
}

.slidermenu .item-menu {
    position: absolute;
    top: 0;
    height: 100%;
    display: none;
    background-color: #1a1a1a;
}

.hint-menu a {
    display: block;
    vertical-align: middle;
}

.hint-menu {
    display: table-cell;
    vertical-align: middle;
}

.slidermenu .item-menu a {
    color: white;
}

.slidermenu img, .slidermenu p {
    cursor: pointer;
}

.slidermenu {
    /*background-color: #353535;*/
    margin: 0!important;
    padding: 25px 0;
}

.item p {
    text-decoration: underline;
}

.item:hover .item-menu {
    display: table;
}

.dropdown-menu a:hover {
    background-color: transparent;
}

.form-control {
    padding: .2rem .75rem!important;
}

#menu {
    font-size: 1.2rem;
}

.info {
    text-indent: 30px;
}

hr.color_black {
    border-top: 1px solid black;
}

#navigation .dropdown-menu {
    background-color: #1b1a1a;
}

/*new*/
#home #block_1 p, #home #block_1 span {
    color: white;
}

#fiz_lica #block_2 p {
    color: black;
}

/*@media only screen and (min-width: 992px) {
    .container>.row {
        padding-left: 75px!important;
        padding-right: 75px!important;
    }
}*/

/*.container {
    max-width: 970px!important;
}*/

#block_2, #block_5 {
    background-color: #1b1a1a;
}

#home #block_3 {
    background-image: url("../img/home_block_3.jpg");
    background-size: cover;
    background-position: center;
}

#home #block_4 {
    background-image: url("../img/home_block_4.jpg");
    background-size: cover;
    background-position: center;
}

#fiz_lica #block_4, #yurlica #block_7, #fiz_lica #block_6 {
    background-image: url("../img/fl_block_4.jpg");
    background-size: cover;
}

#fiz_lica #block_5 {
    background-image: url("../img/fl_block_5.jpg");
    background-size: cover;
}

#home #block_6 {
    background-image: url("../img/home_block_6.jpg");
    background-size: cover;
}

#yurlica #block_2 {
    background-image: url("../img/yurlica_block_2.jpg");
    background-size: cover;
    background-position: center;
}

#yurlica #block_2 p {
    color: black;
}

#yurlica #block_6 .media {
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
    border-radius: 5px;
}

#yurlica #block_5 {
    background-color: #e5e4e4;
}

#menu .nav-link, #menu .dropdown-item  {
    padding-top: 0.1rem!important;
    padding-bottom: 0.1rem!important;
    padding-left: 0.5rem!important;
    padding-right: 0.5rem!important;
    font-size: 0.88rem;
    font-weight: 500;
}

#block_1 a {
    color: white;
}

#block_1 a:hover {
    text-decoration: underline;
}

/*#block_2, #block_3, #block_4, #block_5, #block_6 {
    padding-top: 50px;
    padding-bottom: 50px;
}*/

#block_7, #yurlica #block_8 {
    padding-top: 25px;
    padding-bottom: 25px;
    background-color: #1b1a1a;
}

#block_2 a {
    color: white;
    font-size: 0.9rem;
}

#block_2 p {
    color: white;
}

#block_2 .nav {
    display: block;
}

#block_2 i, #accordion i {
    margin-right: 5px;
}

#block_2 a:hover {
    text-decoration: underline;
}

#block_2 hr {
    border-top: 1px solid #e20101;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

#home #block_4 p, #home #block_5 p, #home #block_6 p {
    color: white;
}

#fiz_lica #block_4 iframe {
    box-shadow: 0 0 3rem black;
}

#block_6 button {
    background-color: #e20101;
    border-color: #e20101;
}

.email {
    padding-right: 10px;
    border-right: white solid 1px;
}

.phone {
    padding-left: 10px;
}

.phone {
    color: white;
}

.email img, .phone img {
    margin-right: 10px;
}

.block1_info {
    padding-top: 70px;
    padding-bottom: 70px;
}

.redbtn {
    background-color: #e20101!important;
    border-color: #e20101!important;
    color: white!important;
}

#block_2 button {
    /*margin-top: 25px;*/
}

.infotext {
    margin-bottom: 15px;
}

.form-control {
    font-size: 1rem!important;
    margin-bottom: 15px;
}

#bottommenu .nav-link {
    color: white;
    font-size: 0.8rem;
}

.email_bottom a, .phone_bottom a {
    color: white;
}

.email_bottom img, .phone_bottom img {
    padding-right: 10px;
}

#accordion {
    width: 100%;
}

#accordion .card-header {
    padding: 0 0.5rem;
}

#accordion .card {
    margin-bottom: 0.1rem;
}

#accordion button {
    width: 100%;
    text-align: left;
    color: black;
    white-space: normal!important;
    font-size: 0.9rem!important;
}

#metall #block_1 {
    background-image: url("../img/metall_block_1.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#metall #block_1 p {
    color: white;
}


#metall #block_2 p {
    color: black;
}

#metall #block_2 thead th {
    vertical-align: middle;
    text-align: center;
}

/*#metall #block_2 .container {
    max-height: 450px;
    overflow-y: auto;
}*/

#metall #block_3 {
    background-image: url("../img/metall_block_3.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    box-shadow: 0 6px 4px -4px black;
}

#metall #block_5 {
    background-image: url("../img/metall_block_5.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#metall #block_5 td {
    padding: 0.3rem 0 0.3rem 0.75rem!important;
}

#metall #block_6 form, #vykup #block_5 form {
    background-color: #5c5c5c;
}

#vykup #block_1 {
    background-image: url("../img/vykup_block_1.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#vykup #block_1 p {
    color: white;
}

#vykup #block_2 p {
    color: black;
}

#vykup #block_2 .vykup_info {
    height: 50px;
}

#vykup #block_2 li {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

#vykup #block_2 ul {
    padding-left: 0;
    list-style-type: none;
}

#vykup #block_2 i {
    color: #e20101;
    font-size: 1.2rem;
}

#vykup #block_3 .input-group-text {
    width: 140px;
    font-weight: bold;
}

#vykup #block_3 .input-group {
    margin-bottom: 10px;
}

#vykup #block_3 {
    background-color: #e9e9e9;
}

#vykup #block_3 form .row {
    background-color: #585858;
    color: white;
}

#vykup #block_3 button {
    margin-top: 150px;
}

#vykup .form-control {
    font-size: 1rem!important;
}

.custom-file-label::after {
    content: "Выбор"!important;
}

#vykup #block_5 {
    background-image: url("../img/metall_block_3.jpg");
}

#spectehnika #block_2 {
    background-image: url("../img/spectehnika_block_1.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#spectehnika #block_2 p {
    color: black;
}

#spectehnika #block_4 {
    background-image: url("../img/fl_block_4.jpg");
    background-size: cover;
}

.bg-white p, .bg-white ul, .bg-white a:not(.text-light) {
    color: black!important;
}

.bg-gray {
    background-image: url("../img/fl_block_4.jpg");
    background-size: cover;
}

.red_color {
    color: red;
}

#programma #block_3 {
    background-image: url("../img/programma_block_3.jpg");
    background-size: cover;
}

#programma #block_4 a {
    display: block;
}

#programma #block_5, #programma #block_8 {
    background-image: url("../img/fl_block_4.jpg");
    background-size: cover;
}

#programma #block_6 {
    background-image: url("../img/programma_block_6.jpg");
    background-size: cover;
    background-position: center;
}

#programma #block_6 p {
    color: white;
}

#gibdd #block_2 {
    background-image: url("../img/gibdd_block_2.jpg");
    background-size: cover;
    background-position: center;
}

#airplane #block_5, #wagon #block_5 {
    background-image: url("../img/airplane_block_5.jpg");
    background-size: cover;
    background-position: center;
}

#demontazh #block_3, #orgtehnika #block_3, #airplane #block_3 {
    background-image: linear-gradient(#cccccc, white, #cccccc);
}

#demontazh #block_5, #orgtehnika #block_5, #accum #block_5 {
    background-image: url("../img/demontazh_block_5.jpg");
    background-size: cover;
    background-position: center;
}

#orgtehnika #block_2, #airplane #block_2, #accum #block_2 {
    background-image: url("../img/orgtehnika_block_2.jpg");
    background-size: cover;
    background-position: center;
}

.leftmenu a {
    color: #336699!important;
    margin-bottom: 0.8rem;
}

.bg-form {
    background-image: url("../img/fl_block_4.jpg");
    background-size: cover;
}

.bg-form form {
    background-color: black;
    opacity: 0.9;
    color: white;
}

.metall {
    background-color: #5c5c5c!important;
}

.metall p {
    color: white!important;
}

.utilauto {
    background-image: url("../img/utilauto.jpg");
    background-size: cover;
    background-position: center;
    padding-left: 15%!important;
}

.programutil {
    background-image: url("../img/programutil.jpg");
    background-size: cover;
    background-position: center;
    padding-left: 8%!important;
}

.utillom {
    background-image: url("../img/utillom.jpg");
    background-size: cover;
    background-position: center;
    padding-left: 15%!important;
}

.utilauto a, .utillom a {
    color: white!important;
}

.gvg {
    background-image: linear-gradient(#cccccc, white, #cccccc);
}

#temp ol {
    list-style-type: none;
    counter-reset:  item;
    padding-left: 20px!important;
}

#temp ol li:before {
    content: counter(item) ') ';
    counter-increment: item;
}

#uslugi #block_2 p>i {
    color: red;
}

.grayleft p, .grayright p {
    padding-bottom: 4px;
    border-bottom: 2px solid red;
}

.grayleft {
    flex: 1!important;
    background: linear-gradient(to left, white, #cccccc);
}

.grayright {
    background: linear-gradient(to right, white, #cccccc);
}

.embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0; overflow: hidden;
    max-width: 100%;
}

.embed-container iframe, .embed-container object, .embed-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#home #block_2 a.nav-link {
    padding: 0.3rem 1rem;
    border-radius: 1rem;
    background-color: #0d0d0d;
}

#home #block_2 a.nav-link:hover {
    background-color: #e20101;
}

/*#home #block_2 li.nav-item {
    border: 1px solid #e20101;
    border-image: linear-gradient(to bottom, rgba(226,1,1,0) 50%, rgba(226,1,1,1) 50%, rgba(226,1,1,1) 100%, rgba(226,1,1,0) 100%);
    border-image-slice: 1;
}*/

#vykup .input-group-text {
    padding-top: 2.5px;
    padding-bottom: 2.5px;
}

.wa {
    width: 64px;
    position: fixed;
    right: 10px;
    bottom: 10px;
}

.slider__item {
    flex: 0 0 25%;
    max-width: 25%;
  }