@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@100&display=swap');
@font-face {
    font-family: "Raleway";
    src: url('fonts/Raleway/Raleway.ttf') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0020-2044;
}

@font-face {
    font-family: "Scriptorama";
    src: url('fonts/Scriptorama/Scriptorama.ttf') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0020-2044;
}

@font-face {
    font-family: "BadScript";
    src: url('fonts/Bad_Script/BadScript-Regular.ttf') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0020-2044;
}


@keyframes pulsar {
    0% {
        opacity: 0;
    }
    50% { opacity: 1}
    100% {
        opacity: 0;
    }
}


html,
body {
    height: 100%;
    font-size: 16px;
    overflow-x: hidden;
}

.load-layer {
    position: absolute;
    top:0;
    bottom:0;
    left: 0;
    right: 0;
    overflow: hidden;
    background-color: #FFF;
    z-index: 10;
}

.load-layer img {
    width: 200px;
    margin: auto;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    animation: pulsar  3s infinite linear;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

h1,h2,h3,h4,h5,p,a {
    font-family: 'Raleway', sans-serif;
    text-decoration: none;
}
p {
    margin: 0;
}
a:hover {
    text-decoration: none;
}

.relative {
    position: relative;
}
.of-intitial {
    overflow: initial !important;
}
.form-group {
    margin: 0;
}

.promo-items-layer {
    background-color: #f7f7f7;
    padding: 10rem 0;
}

.btn-cart-dark:hover{
    color: #aaa;
}
.btn-cart-dark {
    background-color: #383838;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 5px;
    font-size: .5rem;
    transition: color .3s  ease-out;
    color: #fff;
    padding: 1rem;
    width: 20rem;
}

.promo-items, .carousel-items, .carousel-feedback-items {
    display: flex;
    width: 100%;
    margin: 0 auto 3rem;
    overflow-x: hidden;
}
.carousel-feedback-items {
    padding: 2rem;
}

.promo-items .promo-item,
.carousel-items .carousel-item, .carousel-feedback-items .carousel-feedback-item {
    width: 30%;
    display: flex;
    position: relative;
    margin: 0 2%;
}

.carousel-feedback-item {
    height: fit-content;
}

.carousel-feedback-items .carousel-feedback-item {
    flex-direction: column;
    overflow: hidden;
}

.carousel-feedback-items .carousel-feedback-item span{
    text-align: right;
}

.leave-feedback {
    padding: 1rem;
    border: 1px solid #333333;
    max-width: 250px;
    text-align: center;
    color: #333333;
    text-decoration: none;
    display: block;
    margin: auto;
}

.modal {
    background: rgba(0,0,0,.3);
}

.feedback {
    width: 40%;
    height: 50%;
    margin: auto;
    position: absolute;
    padding: 2rem;
    background-color: #FFFFFF;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.promo-container {
    position: relative;
}

.promo-items-layer .container .prev {
    content: "";
    position: absolute;
    background-image: url("img/next.svg");
    background-size: contain;
    height: 256px;
    width: 50px;
    left: -30px;
    background-repeat: no-repeat;
    background-position: center;
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

.promo-items-layer .container .next {
    content: "";
    position: absolute;
    background-image: url("img/next.svg");
    background-size: contain;
    height: 256px;
    width: 50px;
    right: -40px;
    top: 0;
    background-repeat: no-repeat;
    background-position: center;
}

.carousel-items .carousel-item, .carousel-feedback-items .carousel-feedback-item {
    min-width: 30%;
}

.carousel-feedback-items .carousel-feedback-item {
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    padding: 1rem;
}

.carousel-feedback-item {
    font-family: 'BadScript';
}


.carousel-items .carousel-item a{
    width: 100%;
}

.banner {
    z-index: 1;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1.5rem;
    background: rgba(247,247,247, .2);
}

.banner h2, .banner p {
    font-size: 1.5rem !important;
    font-family: 'Raleway' !important;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
}

.promo-items .promo-item:nth-child(3n+1) {
    margin: 0 2% 0 0;
}

.promo-items .promo-item:nth-child(3n) {
    margin: 0 0 0 2%;
}

.promo-item p,
.carousel-item p {
    color: #383838;
    text-transform: uppercase;
    text-align: center;
    padding: 0 1rem;
    letter-spacing: 5px;
    font-size: .5rem;
    transition: color .3s  ease-out;
}

.promo-item p.title,
.carousel-item p.title {
    letter-spacing: normal;
    font-size: 1rem;
    margin: 0;
    padding: 1rem 1rem 0;
}

.promo-item img,
.carousel-item img {
    width: 100%;
    height: 256px;
    object-fit: cover;
}

.promo-item p.title::after
.carousel-item p.title::after {
    content: "";
    border-bottom: 1px solid #dedede;
    width: 30%;
    display: block;
    margin: auto;
    padding-top: .2rem;
}

.promo-item .img-layer,
.carousel-item .img-layer{
    display: block;
    position: relative;
}

.promo-item a .bg,
.carousel-item a .bg{
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(15,15,15,0);
    background-image: none;
    background-size: 10%;
    background-repeat: no-repeat;
    background-position: center;
    transition: all .3s ease-out;
}
.promo-items .promo-item a {
    transition: all .3s ease-out;
}

.promo-item.category-item a {
    width: 100%;
}

.promo-item a:hover .bg {
    background-color: rgba(15,15,15,.3);
}

.img-text {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: auto;
    height: 20px;
    opacity: 0;
}

.promo-item a:hover .img-text {
    color: #FFFFFF;
    opacity: 1;
}

.category-item a:hover .bg {
    background-image: none;
}
p.category-item-p {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    height: fit-content;
    height: -moz-fit-content;
    opacity: 0;
    color: #f7f7f7;
    font-size: 1rem;
}
.category-item a:hover .bg p.category-item-p {
    opacity: 1;
}

.catalogue-top {
    justify-content: center;
}

.catalogue-top img {
    width: 100%;
}

.promo-item p:hover {
    color: #dedede;
}

.columns {
    display: flex;
    flex-direction: row;
    margin: 10rem auto;
    justify-content: space-between;
}

.columns .left-col, .columns .right-col {
    width: 50%;
    overflow: hidden;
}

.columns .left-col {
    padding-right: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.columns .left-col .visit-card {
    display: block;
    background-color: #dedede;
    color: #000;
    text-align: center;
    padding: 4rem 0;
    margin-top: 1.5rem;
}

.columns .left-col .visit-card p:first-child {
    text-transform: uppercase;
}
.columns .left-col .visit-card p:first-child::after{
    content: "";
    border-bottom: 1px solid #dedede;
    width: 30%;
    display: block;
    margin: auto;
    padding-top: 1rem;
}
.signature {
    font-family: 'Scriptorama';
    font-size: 1.5rem;
}
.columns .right-col {
    padding-left: 1.5rem;
}

.columns img {
    width: 100%;
    height: auto;
}

.columns .left-col .top-left-text {
    display: block;
    background-color: #f7f7f7;
    padding: 7rem 5rem;
    margin-bottom: 1.5rem;
    font-family: 'Raleway', sans-serif;
}

.columns .left-col .top-left-text h2 {
    font-weight: 100;
}

.columns .left-col .top-left-text p:last-child{
    text-align: right;
}

.history-block {
    background-image: url("/assets/img/_RNS6655.jpg");
    height: 700px;
    display: flex;
    flex-direction: row;
    background-size: cover;
}

.history-block .left-col, .history-block .right-col {
    width: 50%;
}

.history-block .right-col {
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.history-block .right-col .read-more:hover{
    color: #dedede;
    border-color: #dedede;
}
.history-block .right-col .read-more, .look-more {
    padding: 1rem;
    border: 1px solid #f7f7f7;
    max-width: 250px;
    text-align: center;
    color: #f7f7f7;
    text-decoration: none;
    transition: all .3s ease-out;
}

.look-more {
    margin: 2rem auto 0;
    font-size: 1.5rem;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.history-text {
    padding: 6rem 0;
    width: 50%;
    color: #f7f7f7;
}

.insta-block {
    margin: 10rem auto;
}

.insta-block-header {
    padding: 2rem 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.insta-block-header a, .feedback a {
    padding: 0.5rem 2rem;
    background-color: #0F0F0F;
    color: #f7f7f7;
    text-align: center;
    text-decoration: none;
    transition: all .3s ease-out;
    letter-spacing: 5px;
    text-transform: uppercase;
    font-size: 0.5rem;
    line-height: 3rem;
    white-space: nowrap;
    max-height: 4rem;
    margin: auto 2rem auto auto;
}

.feedback a {
    padding: 1rem;
}

.feedback button {
    display: none;
}

.feedback-cancel {
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 1.5rem;
    cursor: pointer;
}

.insta-block-header a:hover {
    opacity: .3;
}

.insta-img-block {
    display: flex;
    flex-direction: row;
}

.insta-img-block a {
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc( 16.666666vw);
    margin: 0;
    width: 16.666666vw;
    float: left;
}

.insta-block img{
    width: 100%;
}

footer {
    background-color: #dedede;
    padding: 5rem 0;
}

footer .footer-block {
    display: flex;
}

.footer-menu-block {
    display: flex;
    flex-direction: column;
}

.footer-menu-block a {
    color: #9a9a9a;
    transition: all .3s ease-out;
    padding: 1rem;
}
.footer-menu-block a:hover {
    color: #f7f7f7;
}

footer .footer-social-block {
    display: flex;
    flex-direction: row;
}

footer .insta-link, footer .fb-link {
    width: 20px;
    height: 20px;
    background-size: cover;
    margin: 1rem;
    transition: all .3s ease-out;
}
footer .insta-link:hover, footer .fb-link:hover {
    opacity: .3;
}

footer .insta-link {
    background-image: url("img/instagram.svg");
}

footer .fb-link {
    background-image: url("img/facebook.svg");
}

.chat_viber {
    position: fixed;
    bottom: 20px;
    width: 40px;
    height: 40px;
    right: 20px;
}
.chat_viber a {
    bottom: 20px;
    width: 40px;
    height: 40px;
    right: 20px;
}
.chat_viber a img{
    bottom: 20px;
    width: 40px;
    height: 40px;
    right: 20px;
}

@media screen and (max-width: 1024px) {
    .center-block {
        height: 40px;
        width: 400px;
    }
    .center-block h1 {
        font-size: 2rem;
    }
    .promo-items {
        flex-direction: column;
    }

    .promo-items .promo-item {
        margin: 1rem auto !important;
        width: 50%;
        max-width: 360px;
        min-width: 240px;
    }

    .promo-items .promo-item img {
        width: 100%;
    }

    .columns .left-col .top-left-text {
        padding: 2rem 2rem;
    }

    .catalogue-top {
        display: block;
    }

    .catalogue-top img {
        width: 100%;
    }

    .columns .left-col .top-left-text {
        font-size: .8rem;
        padding: 1rem 1rem !important;

    }

    .columns .left-col .visit-card {
        padding: 2rem 0 !important;
    }

}

@media screen and (max-width: 1199px) {
    .columns .left-col .top-left-text {
        padding: 2rem 5rem;
    }

    .columns .left-col .visit-card {
        padding: 3rem 0;
    }
}


@media (max-width: 768px) {
    .columns .left-col .top-left-text {
        padding: 1rem 1rem;
        font-size: .8rem;
    }

    .center-block h1 {
        font-size: 1.5rem;
    }

    .promo-items-layer {
        padding: 5rem 0;
    }

    .nav li > form > button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }

    .columns .left-col {
        width: 100%;
        padding: 0;
    }

    .columns .right-col {
        display: none;
    }

    .history-block .left-col {
        display: none;
    }

    .history-block .right-col {
        width: 100%;
        padding: 15px;
    }

    .promo-items .promo-item {
        width: 50%;
        max-width: 360px;
        min-width: 240px;
    }
    .promo-items .promo-item img, .promo-items .promo-item a {
        width: 100%;
    }

    .history-text {
        width: 100%;
    }

    .insta-block {
        margin: 5rem auto;
    }

    .insta-img-block {
        display: block;
    }
    .insta-block-header {
        flex-direction: column;
    }
    
    .insta-img-block a {
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
        height: calc(33.3333vw);
        margin: 0;
        width: 33.333333%;
        float: left;
    }

    .insta-img-block a:nth-child(3n), .insta-img-block a:last-child{
        float: none;
    }

    .insta-block-header {
        text-align: center;
    }

    .insta-block-header h2 {
        font-size: 1rem;
        padding: 15px;
    }

    .insta-block-header a {
        margin: auto;
    }

    .promo-items-layer .container .prev {
        left: 0;
    }

    .promo-items-layer .container .next {
        right: 0;
    }

    .promo-items, .carousel-items, .carousel-feedback-items {
        margin: auto;
        width: 80%;
    }

    .carousel-items .carousel-item, .carousel-feedback-items .carousel-feedback-item {
        min-width: 100%;
    }

    .carousel-feedback-items .carousel-feedback-item {
        margin: auto;
    }

    carousel-items .carousel-item {
        margin: 0 11%;
    }

    .feedback {
        width: 80%;
    }
    .columns {
        flex-direction: column;
    }

    .columns .catalogue-item {
        display: block;
        width: 100%;
        padding: 0;
    }

    .columns .catalogue-item a {
        width: 100%;
        display: block;
    }

    .catalogue-top {
        display: flex;
        justify-content: center;
    }

    .catalogue-top img {
        width: 100%;
        height: 100%;
    }

    .banner h2, .banner p {
        font-size: 1rem !important;
    }

    .center-block {
        width: 340px;
    }
    .look-more {
        margin: 2rem auto 0;
        font-size: 1rem;
    }
}


