@font-face {
    font-family: "Roboto Condensed";
    src: url("../fonts/RobotoCondensed-Regular.ttf");
}

*{
    transition: 0.2s;
}

.item-title {
    margin-bottom: 2.38rem;
    text-align: center;
    text-align: -webkit-center;
    font-weight: bold;
}

body{
    width: 100%;
    height: 100%;
    min-height: 100vh;
    font-size: 16px;
    font-family: "Roboto Condensed";
}
.clear{
    clear: both;
}
.body_bg {
    width: 100%;
    position: absolute;
}
.body_bg .bg{
    width: 100%;
    height: 100%;
    position: absolute;
}
.body_bg .bg img{
    width: 100%;
    height: 100%;
    filter: blur(5px);
    object-fit: cover;
}
.body_bg .bg_overlay{
    background: #717477;
    opacity: 0.8;
    width: 100%;
    height: 100%;
    position: absolute;
}
.body_wrapper{
    width: 100%;
    height: 100%;
    text-align: center;
    color: #fff;
    padding-top: 30px;
}
.body_wrapper h1 {
    text-transform: uppercase;
    font-size: 54px;
    margin-top: 30px;
    filter: drop-shadow(2px 4px 6px black);
}
.body_wrapper p{
    text-align: justify;
}
.body_wrapper p.adres{
    text-align: center;
    font-size: 20px;
    margin-bottom: 10px;
}
.about_text p{
    font-size: 16px;
    line-height: 1.3em;
}
.footer{
    position: relative;
    width: 100%;
    background: linear-gradient(to top, #000, #616467);
    text-align: center;
    color: #fff;
    overflow: hidden;
    margin-top: 35px;
}
.footer h3{
    font-size: 26px;
    margin-top: 9px;
}
.footer p{
    font-size: 18px;
    text-align: center;
    padding: 0 15px;
}
.stavar {
    font-size: 1.5em;
}
.texlin p {
    line-height: 25px;
    text-align: center;
}
.colltex {
    color: #dadada;
    opacity: 0.95;
}
a {
    color: white;
    text-decoration: underline;
}
a:hover {
    color:#c5c5c5;
    text-decoration: underline;
}
.navbar {
    margin-bottom: 15px;
}
.navbar-light .navbar-nav .active>.nav-link, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show>.nav-link {
    font-weight: bold;
}
    /* Cookie Dialog */
    #gdpr-cookie-message {
        position: fixed;
        left: 0px;
        bottom: 30px;
        max-width: 375px;
        background-color: white;
        padding: 20px;
        border-radius: 5px;
        box-shadow: 0 6px 6px rgba(0,0,0,0.25);
        margin-left: 30px;
        font-family: system-ui;
        z-index: 99;
    }
    #gdpr-cookie-message h4 {
        color: black;
        font-family: 'Quicksand', sans-serif;
        font-size: 18px;
        font-weight: 500;
        margin-bottom: 10px;
    }
    #gdpr-cookie-message h5 {
        color: black;
        font-family: 'Quicksand', sans-serif;
        font-size: 15px;
        font-weight: 500;
        margin-bottom: 10px;
    }
    #gdpr-cookie-message p, #gdpr-cookie-message ul {
        color: black;
        font-size: 15px;
        line-height: 1.5em;
        margin-bottom: 10px;
    }
    #gdpr-cookie-message p:last-child {
        margin-bottom: 0;
        text-align: right;
    }
    #gdpr-cookie-message li {
        width: 49%;
        display: inline-block;
    }
    #gdpr-cookie-message a {
        color: var(--red);
        text-decoration: none;
        font-size: 15px;
        padding-bottom: 2px;
        border-bottom: 1px dotted rgba(255,255,255,0.75);
        transition: all 0.3s ease-in;
display: none;
    }
    #gdpr-cookie-message a:hover {
        color: white;
        border-bottom-color: var(--red);
        transition: all 0.3s ease-in;
    }
    #gdpr-cookie-message button {
        border: 1px solid #636b7a;
        background: #636b7a;
        color: white;
        font-family: 'Quicksand', sans-serif;
        font-size: 15px;
        padding: 7px;
        border-radius: 3px;
        margin-left: 15px;
        cursor: pointer;
        transition: all 0.3s ease-in;
    }
    #gdpr-cookie-message button:hover {
        background: #3a404a;
        transition: all 0.3s ease-in;
    }
    button#gdpr-cookie-advanced {
        background: white;
        color: var(--red);
display: none;
    }
    #gdpr-cookie-message button:disabled {
        opacity: 0.3;
    }
    #gdpr-cookie-message input[type="checkbox"] {
        float: none;
        margin-top: 0;
        margin-right: 5px;
    }
    @media(max-width:767px) {
        #gdpr-cookie-message {
            max-width: 95%;
            width: 95%;
            left: 50%;
            transform: translateX(-50%);
            bottom: 60px;
            margin-left: 0px;
        }
    }
    
    /* Стили модального окна */
.modalp-header h2 {
    color: #555;  
    font-size: 20px;
    font-weight: normal;
    line-height: 1;    
    margin: 0;
}
/* кнопка закрытия окна */
.modalp .btn-close {
    color: #aaa;
    cursor: pointer;
    font-size: 30px;
    text-decoration: none;
    position: absolute;
    right: 10px;
    top: 0;
}
.modalp .btn-close:hover {
    color: red;
}
/* слой затемнения */
.modalp-wrap:before {
    content: "";
    display: none;
    background: rgba(0, 0, 0, .3);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 101;
}
.modalp-overlay {
    bottom: 0;
    display: none;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 102;
}
/* активация слоя затемнения и модального блока */
.modalp-open:checked ~ .modalp-wrap:before,
.modalp-open:checked ~ .modalp-wrap .modalp-overlay {
    display: block;
}
.modalp-open:checked ~ .modalp-wrap .modalp-dialog {
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%,-50%);
    transform: translate(-50%, -50%);
    top: 50%;
}
/* элементы модального окна */
.modalp-dialog {
    background: #fefefe;
    border: none;
    border-radius: 5px;
    position: fixed;
    width: 80%;
    height: 800px;
    overflow: auto;
    max-height: 80%;
    max-width: 550px;
    left: 50%;
    top: -100%;
    -webkit-box-shadow: 0 15px 20px rgba(0,0,0,.22), 0 19px 60px rgba(0,0,0,.3);
    -moz-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    box-shadow: 0 15px 20px rgba(0,0,0,.22), 0 19px 60px rgba(0,0,0,.3);
    -webkit-transform: translate(-50%, -500%);
    -ms-transform: translate(-50%, -500%);
    -o-transform: translate(-50%, -500%);
    transform: translate(-50%, -500%);
    -webkit-transition: -webkit-transform 0.4s ease-out;
    -moz-transition: -moz-transform 0.4s ease-out;
    -o-transition: -o-transform 0.4s ease-out;
    transition: transform 0.4s ease-out;
    z-index: 999999;
}
.modalp-body {
  padding: 20px;
}
.modalp-body p {
    margin: 0;
    padding: 20px;
    text-align: justify;
    font-size: 14px;
    color: black;
}
.modalp-header,
.modalp-footer {
    padding: 20px 20px;
}
.modalp-header {
    border-bottom: #eaeaea solid 1px;
    text-align: center;
    background: #636b7a;
}
.modalp-header h2 {
    font-size: 20px;
    margin: 0;
    color: white;
}
.modalp-footer {
    border-top: #eaeaea solid 1px;
    text-align: right;
}
/* адаптивные картинки в модальном блоке */
.modalp-body img { 
    max-width: 100%;
    height: auto;
}
/* **************** */

/* Стили модального окна */
.modalo-header h2 {
    color: #555;  
    font-size: 20px;
    font-weight: normal;
    line-height: 1;    
    margin: 0;
}
/* кнопка закрытия окна */
.modalo .btn-close {
    color: #aaa;
    cursor: pointer;
    font-size: 30px;
    text-decoration: none;
    position: absolute;
    right: 10px;
    top: 0;
}
.modalo .btn-close:hover {
    color: red;
}
/* слой затемнения */
.modalo-wrap:before {
    content: "";
    display: none;
    background: rgba(0, 0, 0, .3);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 101;
}
.modalo-overlay {
    bottom: 0;
    display: none;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 102;
}
/* активация слоя затемнения и модального блока */
.modalo-open:checked ~ .modalo-wrap:before,
.modalo-open:checked ~ .modalo-wrap .modalo-overlay {
    display: block;
}
.modalo-open:checked ~ .modalo-wrap .modalo-dialog {
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%,-50%);
    transform: translate(-50%, -50%);
    top: 50%;
}
/* элементы модального окна */
.modalo-dialog {
    background: #fefefe;
    border: none;
    border-radius: 5px;
    position: fixed;
    width: 80%;
    height: auto;
    overflow: auto;
    max-height: 80%;
    max-width: 500px;
    left: 50%;
    top: -100%;
    -webkit-box-shadow: 0 15px 20px rgba(0,0,0,.22), 0 19px 60px rgba(0,0,0,.3);
    -moz-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    box-shadow: 0 15px 20px rgba(0,0,0,.22), 0 19px 60px rgba(0,0,0,.3);
    -webkit-transform: translate(-50%, -500%);
    -ms-transform: translate(-50%, -500%);
    -o-transform: translate(-50%, -500%);
    transform: translate(-50%, -500%);
    -webkit-transition: -webkit-transform 0.4s ease-out;
    -moz-transition: -moz-transform 0.4s ease-out;
    -o-transition: -o-transform 0.4s ease-out;
    transition: transform 0.4s ease-out;
    z-index: 999999;
}
.modalo-body {
  padding: 20px;
}
.modalo-body p {
    margin: 0;
    padding: 20px;
    text-align: justify;
    font-size: 14px;
    color: black;
}
.modalo-header,
.modalo-footer {
    padding: 20px 20px;
}
.modalo-header {
    border-bottom: #eaeaea solid 1px;
    text-align: center;
    background: #636b7a;
}
.modalo-header h2 {
    font-size: 20px;
    margin: 0;
    color: white;
}
.modalo-footer {
    border-top: #eaeaea solid 1px;
    text-align: right;
}
/* адаптивные картинки в модальном блоке */
.modalo-body img { 
    max-width: 100%;
    height: auto;
}
.btn-primary {
    color: #fff;
    background-color: #636b7a!important;
    border-color: #636b7a!important;
    width: -webkit-fill-available;
}
.btn-primary:hover {
    background: #3a404a !important;
}
#plt, #noofert {
    background: transparent;
    color: #fff;
    padding: 5px;
    outline: 0;
    cursor: pointer;
    font-weight: 100;
    text-decoration: underline;
    font-size: xx-small;
}
#plt:hover, #noofert:hover {
    color: #c5c5c5;
}
@media (max-width: 767px){
.modalp-dialog, .modalo-dialog {
    width: 100%;
    max-width: 100%;
    max-height: 100%;
    height: 100%;
    border-radius: 0px;
}
}
@media (max-width: 767px){
    #plt {
      margin-bottom: 20px;
    }
   #noofert {
      margin-bottom: 50px;
    }
  }
  .fancphoto {
    margin: 15px 0;
    border: 8px solid #d5d6d6;
  }
  .fancphoto img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.5s ease-in-out;
  }
  .menus img {
      width: 100%;
      height: 250px;
      object-fit: cover;
  }
  .menus .bg2 {
    background: gray;
    padding: 10px;
  }
  table th {
    text-align: center;
    color: #fff;
    background-color: #5c5f61;
    border-color: #454d55;
}
  table td { 
    text-align: center;
    border-color: #343a40 !important;
    background: white;
  }
  table a, table a[href^="tel:"] { 
  color: #823f3f;
  text-decoration: underline;
  }
  table a:hover, table a[href^="tel:"]:hover { 
    color: #823f3f;
    text-decoration: none;
    }
    table .dopheader {
      background: #adabad;
      color: white;
    }
    .contact-info .contact {
        padding: 20px 0px;
        text-align: center;
        }
        .contact-info .contact p {
            text-align: center;
        }
        
        .contact-info .contact-phone {
            border-left: 2px solid white;
            border-right: 2px solid white;
        }
        
        @media (max-width:768px){
            .contact-info .contact-phone {
        border: 0px;
            }
        }
        #portfolio img {
            width: 100%;
            margin-bottom: 15px;
            height: 250px;
        }
        #portfolio figure {
            background: white;
            color: black;
            border: 8px solid #d5d6d6;
            margin-bottom: 35px;
        }
        #portfolio figcaption {
            padding: 10px;
            text-align: left;
        }
        #portfolio .description a {
            text-decoration: none;
        }
        .img_for_pom {
            border: 8px solid #d5d6d6;
            margin-bottom: 35px;
            width: 100%;
        }
        .for_pom {
            white-space: normal;
        width: 100%;
        text-decoration: none;
        }
        .carouselPresentation-office {
            margin-bottom: 15px;
        }
.carouselPresentation-office .owl-wrapper-outer .owl-wrapper .owl-item {
    height: 500px;
}
