@font-face {
    font-family: Pompadur; /* Имя шрифта */
    src: url(../fonts/RobotoCondensed-Regular.ttf); /* Путь к файлу со шрифтом */
    font-weight: normal;
    font-style: normal;
}


.toCenter {margin-top: -120px;}
.main-slider {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
}

.sidebar .close {
    position: absolute;
    top: 0;
    right: 10px;
    cursor: pointer;
    padding: 14px;
    font-size: 18px;
    opacity: .5;
    z-index: 101;
    transition: .25s;
}

.sidebarShown .sidebar.visible {
    overflow: hidden;
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
}


/***---- MAIN Page----***/
.main-page {
    background-image: url(../img/background/Main-background.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat
}

/***---- About Page----***/
.about-page {
    background-image: url(../img/background/About-bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat
}

/***---- Product Page----***/
.product-page {
    background-image: url(../img/background/About-bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat
}

/***---- Production Page----***/
.production-page {
    background-image: url(../img/background/About-bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat
}

/***---- News Page----***/
.news-page {
    background-image: url(../img/background/About-bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 30px;
}

/***---- Contact Page----***/
.contact-page {
    background-image: url(../img/background/About-bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat
}


/*-- button-effect --*/
.thim-click-to-bottom {
    position: absolute;
    margin-top: 20px;
    left: 50%;
    width: 40px;
    height: 40px;
    font-size: 40px;
    line-height: 40px;
    -webkit-animation: bounce 2s infinite ease-in-out;
}

.thim-click-to-bottom i {
    color: #fff;
    padding: 10px;
    border: 1px solid;
    border-radius: 50%;
    font-size: 15px;
}

@-webkit-keyframes bounce {
    0%, 20%, 60%, 100% {
        -ms-transform: translateY(0);
    }
    0%, 20%, 60%, 100% {
        -o-transform: translateY(0);
    }
    0%, 20%, 60%, 100% {
        -moz-transform: translateY(0);
    }
    0%, 20%, 60%, 100% {
        -webkit-transform: translateY(0);
    }
    40% {
        -webkit-transform: translateY(-20px);
    }
    80% {
        -webkit-transform: translateY(-10px);
    }
}
/*****PAGE 404***/
#notfound {
    position: relative;
    height: 100vh;
}

#notfound .notfound {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.notfound {
    max-width: 460px;
    width: 100%;
    text-align: center;
    line-height: 1.4;
}

.notfound .notfound-404 {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0px auto 50px;
}

.notfound .notfound-404>div:first-child {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: #ffa200;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    border: 5px dashed #000;
    border-radius: 5px;
}

.notfound .notfound-404>div:first-child:before {
    content: '';
    position: absolute;
    left: -5px;
    right: -5px;
    bottom: -5px;
    top: -5px;
    -webkit-box-shadow: 0px 0px 0px 5px rgba(0, 0, 0, 0.1) inset;
    box-shadow: 0px 0px 0px 5px rgba(0, 0, 0, 0.1) inset;
    border-radius: 5px;
}

.notfound .notfound-404 h1 {
    font-family: inherit;
    color: #000;
    font-weight: 700;
    margin: 0;
    font-size: 90px;
    position: absolute;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    left: 50%;
    text-align: center;
    height: 40px;
    line-height: 40px;
}

.notfound h2 {
    font-family: inherit;
    font-size: 33px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 7px;
}

.notfound p {
    font-family: inherit;
    font-size: 16px;
    color: #fff;
    font-weight: 400;
}

.notfound a {
    font-family: inherit;
    display: inline-block;
    padding: 10px 25px;
    background-color: #8f8f8f;
    border: none;
    border-radius: 40px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    -webkit-transition: 0.2s all;
    transition: 0.2s all;
}

.notfound a:hover {
    background-color: #2c2c2c;
}

/*****Products Page Style***/
.Portfolio {
    background: aliceblue;
    position: relative;
    margin: 5px;
    border: 2px solid #4e4e4e;
    float: left;
    width: 260px;
    transition-duration: 0.4s;
    border-radius: 5px;
    animation: winanim 0.5s ;
    -webkit-backface-visibility:visible;
    backface-visibility:visible;
    box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)
}

.Portfolio:hover {
    border: 2px solid #0E0E0E;
    box-shadow: 0 12px 16px 0 rgba(0,0,0,.24),0 17px 50px 0 rgba(0,0,0,.19);
}

.Portfolio img {
    width: 100%;
    height: 250px;
    border-radius: 50%;
    padding: 5px;
}


.desc {
    padding: 5px;
    text-align: center;
    font-size: 90%;
    background:#4e4e4e;

}
.desc:hover{
    background: #0E0E0E;
}
.desc a{
    color: white;
}

.desc a:hover{
    color: #047d11;
    transition: .3s all;
}

.nav {
    padding:20px;
    margin-left:20px;
    margin-top:-30px;
}

.nav li a {
    margin:5px;
    padding: 15px 50px;
    font-size:16px;
    color:#047d11;
    background: #000;
    transition-duration: 0.4s;
}
.nav a:hover {
    background:#333;
}
.nav .active {
    background-color:#047d11 !important;
    color:#fff;
}

@keyframes winanim {
    0%{opacity:0;transform:scale3d(.3,.3,.3)}
    50%{opacity:1}

}


/*****OWL Style***/
.carousel-inner {
    height: 100%;
}

.carousel-item {
    height: 100vh;
    margin-bottom: -34px;
}

.carousel-item.carousel-background {
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.owl-carousel {
    position: relative;
}

.owl-prev,
.owl-next {
    position: absolute;
    top: 50%;
    /* Половина высоты кнопок prev/next со знаком минус — чтобы центрировать их по вертикали. */
    margin-top: -10px;
}

.owl-prev {
    left: 0;
}

.owl-next {
    right: 0;
}

.owl-theme .owl-nav [class*=owl-] {
    color: #FFFFFF;
    background: none;
}

.owl-theme .owl-nav [class*=owl-]:hover {
    background: #757575;
    color: #FFFFFF;
    text-decoration: none
}

.owl-theme .owl-dots .owl-dot span {
    background: #BDBDBD;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background: #757575
}

.owl-carousel {
    display: block;
    width: 100%;
    z-index: 1;
}

.owl-carousel .owl-nav button.owl-next, .owl-carousel .owl-nav button.owl-prev, .owl-carousel button.owl-dot {
    background: 0 0;
    color: inherit;
    border: none;
    padding: 0!important;
    font: inherit;
    font-size: 10px;
}
/****PRocess**/
 .owl-carousel .item{
     height: 250px;
     background: rgba(0,0,0,.5);
     padding: 10px;
     border-radius: 20px;
}
.owl-carousel .item h1{
    margin-top: 20px;
    font-size: 30px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;

}

.owl-carousel .item p{
    text-align: center;
    font-size: 20px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.owl-carousel .owl-dots{
    text-align:center;

}

.owl-carousel .owl-dot{
    display: inline-block;
    font-size: 1.2em;
    margin-right:15px;
}

.owl-carousel .owl-dot.active{
    font-size:2em;
}


/*****News slider Style**/

.post-slide{
    margin: 0 15px;
    text-align:center;
}
.post-img > img{
    width: 100%;
    height: auto;
}
.post-slide .post-bar{
    margin: 0;
    padding: 0;
    list-style: none;
    text-transform: uppercase;
}
.post-slide .post-bar li{
    display: inline-block;
    font-size: 15px;
    color: #fff;
    margin-right: 5px;
}
.post-slide .post-bar li:after{
    content: "/";
    margin-left: 5px;
}
.post-slide .post-bar li:last-child:after{
    content: "";
}
.post-slide .post-bar li a{
    color: #ffffff;
    transition: all 0.3s ease 0s;
}
.post-slide .post-bar li a:hover{
    color: #f2f4f6;
    text-decoration: none;
}
.post-slide .post-bar li a:after{
    content: ",";
    margin: 0 5px;
}
.post-slide .post-bar li a:last-child:after{
    content: "";
}
.post-slide .post-title > a{
    color:#ffcd;
    font-size: 18px;
    font-weight: bold;
    display: block;
}
.post-slide .post-title > a:hover{
    color:#48a0cf;
}
.post-slide .post-description{
    color: #fff;
    font-size: 14px;
    line-height: 22px;
    text-align: justify;
}
.post-slide .readmore{
    background: #48a0cf;
    color: #ffffff;
    display: inline-block;
    padding: 6px;
    text-transform: capitalize;
    transition:all 0.3s ease-in-out 0s;
}
.post-slide .readmore:hover{
    background: #348bba;
}
.owl-theme .owl-controls .owl-buttons div{
    width: 25px;
    height:25px;
    line-height: 23px;
    padding: 0;
    background: #48a0cf;
    border-radius: 0;
    opacity: 1;
}
.owl-theme .owl-controls .owl-buttons div:hover{
    background: #348bba;
}
.owl-prev:after,
.owl-next:after{
    font-family: "FontAwesome"; font-weight: 900;
    content: "\f104";
    width:100%;
    height:100%;
    display: block;
    font-size: 20px;
}
.owl-next:after{
    content: "\f105";
}

/***** VIDEO Style***/
.Rvideo-box
{
    background-color: #000000;
    text-align: center;
    padding: 0;
    margin: 10px auto 0 auto;
    width: 100%;
    max-width: 520px;
    height: auto;
    border: 1px solid #000000;
}

.Rvideo-box video
{
    width: 100%;
    height: auto;
    display: block;
    padding: 0;
    margin: 0;
}

.Rvideo-caption
{
    color: #FFFFFF;
    font-size: 11px;
    font-weight: bold;
    text-align: center;
    padding: 8px 5px 8px 5px;
}

.Rvideo-nosupport
{
    color: #FFFFFF;
    padding-top: 110px;
    padding-bottom: 110px;
}


/*****ZOOM Style***/
/* Раньше правило было привязано к id #sample-watch, который повторялся
   в каждом модальном окне продукции (дубли id недопустимы в HTML).
   Оформление сохранено один в один, изменён только селектор. */
.sample-watch {
   max-width: 100vw;
}
.magnify > .magnify-lens {
    background-color: #fff !important; /* Prevent adjacent image from appearing in lens */
}
