html,
body {

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    max-width: 100%;
    min-height: 100% !important;
    height: 100%;
    color: #222;
    font-family: "gabriola";
}

.all {
    max-width: 1024px;
    min-height: 100%;
    position: relative;
    margin: 0 auto;

}

.top {
    width: 100%;
}

.logo {
    width: 100%;
    height: 100%;
    margin: 0px auto;
}

.logotip {
    text-align: center;
}

.pablo {
    margin-top: 10px;
    margin-bottom: 10px;
    font-family: "segoe print";
}

.menu {
    margin-top: -20px;
    margin-left: 4%;
    margin-bottom: 10px;
    font-family: "segoe print";
}

.page {
    margin-top: 10px;
    margin-bottom: 10px;
    font-family: "CENTURY GOTHIC";


}

.page p {
    text-align: center;
    width: 100%;
    text-decoration: none;
    font-size: 20px;
    color: #000000;

}

.production {
    margin-left: 3%;
    margin-right: 3%;
    margin-bottom: 5px;
    font-family: "gabriola";

}

.contact_full {
    margin-left: 1%;
    margin-right: 1%;
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
    font-family: CENTURY GOTHIC;
    letter-spacing: 5px;
    font-size: 10px;
}

.commission_full {
    margin-left: 10%;
    margin-right: 10%;
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: left;
    font-family: CENTURY GOTHIC;
    letter-spacing: 7px;
    font-size: 10px;
}

.img_about {
    width: 100%;
    text-align: center;
    background-size: cover;

}

.about_full {
    margin-left: 10%;
    margin-right: 10%;
    margin-top: 20px;
    margin-bottom: 10px;
    font-family: CENTURY GOTHIC;
    letter-spacing: 7px;
    font-size: 10px;
}

.name {
    height: 70px;
    margin: auto;
    font-size: 30px;
    text-align: center;
    color: #000000;
    width: 100%;
    max-width: 100%;
}

.picture {
    font-size: 30px;
    text-align: center;
    color: #000000;
}

.back {
    float: left;
}

.mail {
    float: right;
}

.name a {
    text-decoration: none;
    margin: auto;
    font-size: 20px;
    text-align: left;
    color: #000000;
}

.name img {
    height: 10%;
}

.image {
    width: 100%;
    text-align: center;

}

.image img {
    /* margin-right: 40px; */
    max-width: 100%;
    max-height: 240px;
    box-shadow: 4px -3px 7px 1px black;
}

.opis {
    text-align: center;
    margin-left: 10%;
    margin-right: 10%;
    margin-top: 30px;
    margin-bottom: 10px;
    font-family: CENTURY GOTHIC;
    letter-spacing: 7px;
    font-size: 20px;
}

.address_left {
    width: 45%;
    float: left;
    border-right: 0.5px solid;
    letter-spacing: 4px;
}

.address_right {
    margin-left: 5px;
    width: 45%;
    float: left;
    letter-spacing: 4px;

}

.bottom {
    margin: auto;
    text-align: center;
    float: right;
    color: #FFFFFF;
    background-color: #000000;
    width: 100%;
    max-width: 100%;
}

.top-menu:before,
.top-menu:after {
    content: "";
    position: absolute;
    z-index: 2;
    left: 0;
    width: 100%;
    height: 3px;
}

.top-menu:before {
    top: 0;
    border-bottom: 1px dashed rgba(255, 255, 255, .2);
}

.top-menu:after {
    bottom: 0;
    border-top: 1px dashed rgba(255, 255, 255, .2);
}

.menu-main {
    list-style: none;
    padding: 0;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    text-align: center;
}

.menu-main li {
    display: inline-block;
    margin-right: -4px;
}

.menu-main a {
    text-decoration: none;
    display: inline-block;
    margin-left: -40%;
    margin-right: -40%;
    font-size: 8px;
    font-family: 'segoe print', sans-serif;
    color: black;
    text-transform: uppercase;
}

@media (max-width: 680px) {
    .top-menu {
        margin: 0;
    }

    .menu-main li {
        display: inline-block;
        margin-right: 0;
    }

    .menu-main:before,
    .menu-main:after {
        content: none;
    }

    .menu-main a {
        display: block;
    }
}

.menu__link {
    display: inline-block;
    color: #2d6c90;
    text-decoration: none;
    position: relative;
    padding: 14px 0;
    font-family: 'Muli', sans-serif;
    font-weight: 300;
    font-size: 22px;
    line-height: 1;
    letter-spacing: 0.040em;
}

.menu__link svg {
    fill: none;
    stroke: #70aec9;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke-dasharray: 338;
    stroke-dashoffset: 338;
    stroke-linecap: round;
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(100% - 0px);
    opacity: 0;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-transition: stroke-dashoffset 0s 0.2s, opacity 0.2s;
    transition: stroke-dashoffset 0s 0.2s, opacity 0.2s;
    z-index: -1;
}

.menu__link--active svg {
    stroke: #ff4c4c;
}

.menu__link--active svg,
.menu__link:hover svg {
    stroke-dashoffset: 0;
    opacity: 1;
    -webkit-transition: opacity 0s, stroke-dashoffset 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    transition: opacity 0s, stroke-dashoffset 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    max-height: 100%;
    border-radius: 5px;
}

.block {
    max-width: 30%;
    text-align: center;
    line-height: 100px;
    border-radius: 5px;
    margin-top: 10px;
    margin-right: 4px;
    margin-bottom: 10px;
    margin-left: 4px;
}

.blockForTwo {
    margin-right: 20px;
    margin-left: 20px;
}

.block a {
    position: relative;
}

.block img {
    max-width: 288px;
    max-height: 288px;
    position: relative;
    box-shadow: 9px 10px 19px #000000;
}

.block figure {
    position: relative;
    float: left;
    overflow: hidden;
    margin: 10px 1%;
    min-width: 200px;
    height: auto;
    background: #3085a3;
    text-align: center;
    cursor: pointer;
    box-shadow: 9px 10px 19px #000000;
}

.block figure img {
    position: relative;
    display: block;
    min-height: 100%;
    max-width: 100%;
    opacity: 0.8;
}

.block figure figcaption {
    padding-top: 2.5em;
    padding-right: 1em;
    padding-bottom: 1em;
    padding-left: 4em;
    color: #fff;
    text-transform: uppercase;
    font-size: 18px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.block figure figcaption::before,
.block figure figcaption::after {
    pointer-events: none;
}

.block figure figcaption,
.block figure figcaption > a {
    position: absolute;
    top: 0;
    left: 0;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.block figure figcaption > a {
    z-index: 1000;
    text-indent: 200%;
    white-space: nowrap;
    font-size: 0;
    opacity: 0;
    color: #FFFFFF;
}

.block figure h2 {
    word-spacing: -0.15em;
    font-weight: 300;
}

.block figure h2 span {
    font-weight: 800;
}

.block figure h2,
.block figure p {
    margin: 0;
}

.block figure p {
    letter-spacing: 1px;
    font-size: 68.5%;
    color: #FFFFFF;
}

.block figure p a {
    text-decoration: none;
    letter-spacing: 1px;
    color: #FFFFFF;
}

blockquote {
    margin: 0;
    padding: 30px;
    color: #3F484D;
    position: relative;
    text-align: center;
}

blockquote:before, blockquote:after {
    font-size: 15px;
    color: #3CA1D9;
    position: absolute;
    height: 2px;
    left: 40px;
    right: 40px;
    line-height: .5;
    background: linear-gradient(to right, #3CA1D9 45%, transparent 45%, transparent), linear-gradient(to right, transparent, transparent 55%, #3CA1D9 55%);
    font-family: serif;
}

blockquote:before {
    content: "\201C";
    top: 30px;
}

blockquote:after {
    content: "\201D";
    bottom: 30px;
}

blockquote p {
    font-size: 20px;
}

blockquote cite {
    font-style: normal;
    font-size: 10px;
}

.modalDialog {
    position: fixed;
    font-family: Arial, Helvetica, sans-serif;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    display: none;
}

.discrabtion {
    text-align: center;
    max-width: 100%;
    max-height: 100px;
    color: #FFFFFF;
    font-family: "segoe print";
}

.discrabtion_img {
    position: relative;
    line-height: 0;
    text-align: center;
    margin-bottom: 15px;
}

.modalDialog p {
    color: #FFF;
    margin: 0;
    font-size: 14px;
}

.modalDialog:target {
    display: block;
    pointer-events: auto;
}

.magniflier {
    max-height: 400px;
    max-width: 600px;
    box-shadow: 9px 10px 19px #000000;
}

.modalDialog > div {
    max-width: 634px;
    position: relative;
    margin: 10% auto;
    margin-top: 10px;
    padding: 5px 20px 13px 20px;
    border-radius: 10px;
    background-image: url(images/tekstura.jpg);
    background-size: cover;
}

.disspan {
    width: 100%;
    float: left;
    display: inline-block;
    font-family: "GAUTAMI";
    font-size: 16px;
    color: #FFF;
    padding-right: 10px;
    line-height: 37px;
    letter-spacing: 5px;
}

.close {
    background: #606061;
    color: #FFFFFF;
    line-height: 25px;
    position: absolute;
    right: -12px;
    text-align: center;
    top: -10px;
    width: 24px;
    text-decoration: none;
    font-weight: bold;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    -moz-box-shadow: 1px 1px 3px #000;
    -webkit-box-shadow: 1px 1px 3px #000;
    box-shadow: 1px 1px 3px #000;
}

.close:hover {
    background: #00d9ff;
}

.close-block {
    display: block;
    position: absolute;
    top: -10px;
    right: -15px;
    width: 30px;
    height: 30px;
    background-image: url(images/cancel.png);
    cursor: pointer;
    background-size: cover;
}

.ebay {
    text-align: center;
    font-family: 'FOOTLIGHT MT LIGHT', sans-serif;
    letter-spacing: 8px;
    margin-bottom: 5%;
    width: 40%;
    margin-top: 15px;
    border: 4px solid;
    padding: 8px;
    border-radius: 50px;
    height: 50px;
    margin-left: 5%;
    box-shadow: unset !important;
}

.paypal {
    float: left;
    width: 40%;
    height: 50px;
    margin-top: 15px;
    border: 4px solid;
    padding: 0;
    border-radius: 50px;
    margin-left: 3%;
}

.glass {
    width: 175px;
    height: 175px;
    position: absolute;
    border-radius: 50%;
    cursor: crosshair;
    z-index: 6666666;
    border-color: #f00;

    /* Создание эффекта стекла */
    box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.85),
    0 0 7px 7px rgba(0, 0, 0, 0.25),
    inset 0 0 40px 2px rgba(0, 0, 0, 0.25);

    /* Изначально скрыто */
    display: none;
}

#head {
    margin-top: 5px;
    height: 50px;
    box-shadow: 0 2px 15px hsla(0, 0%, 0%, 0.7);
}

#head a {
    text-decoration: none;

}


/*menu style*/
.navcont {
    width: 100%;
    margin: 0 auto;
    background: #fff;
}

.nav {
}

.nav ul {
    padding: 5px;
    text-align: center;
    margin: 0;
    margin-right: 5px;
}

.nav ul li {
    font: 13px Verdana, 'Lucida Grande';
    cursor: pointer;
    -webkit-transition: padding .05s linear;
    -moz-transition: padding .05s linear;
    -ms-transition: padding .05s linear;
    -o-transition: padding .05s linear;
    transition: padding .05s linear;
}

.nav li:first-child {
    background: none;
}

.nav ul li.drop {
    position: relative;
}

.nav ul > li {
    padding-right: 5px;
    margin-left: -15px;
    display: inline-block;
}

.nav ul li a {
    font-family: 'segoe print', sans-serif;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 6px;
    line-height: 45px;
    padding: 0 6px;
    height: 45px;
    color: #777;
}

.nav ul li a:hover {
    color: #09F;
}


.nav ul li a.current {
    font-size: 6px;
    font-family: 'segoe print', sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 45px;
    height: 45px;
    color: red;
}

@media (max-width: 551px) {
    .nav ul li a {
        text-decoration: none;
        font-size: 6px;
        text-transform: uppercase;
        line-height: 45px;
        font-family: 'segoe print', sans-serif;
        padding: 0 8px;
        height: 45px;
        color: #777;
    }
}

.dropOut li:first-child {
    background: none;
}

.dropOut ul li:hover {
    color: #09F;
    -webkit-transition: all 200ms ease-in;
    -o-transition: all 200ms ease-in;
    -moz-transition: all 200ms ease-in;
}

ul li:hover a {
    color: #09F;
    -webkit-transition: all 200ms ease-in;
    -o-transition: all 200ms ease-in;
    -moz-transition: all 200ms ease-in;
}

ul li:hover .dropdownContain {
    top: 45px;
}

ul li:hover .underline {
    border-bottom-color: #777;
}

ul li:hover .dropOut {
    opacity: 1;
    margin-top: 8px;
}

.big-slide {
    height: 300px !important;
}

#slider-wrap {
    height: 250px;
}

#slider {
    height: 100%;
    overflow: hidden;
    position: relative;
}

.slide {
    width: 100%;
    height: 100%;
}

.inslide1 {
    position: absolute;
    line-height: 400px;
    width: 100%;
    height: 100%;
    background: url(images/102.jpg) no-repeat;
    background-size: contain;
    background-position: center center;
}

.in {
    margin-top: 55px;
}

@media (max-width: 420px) {
    .inslide1 {
        position: absolute;
        line-height: 400px;
        width: 100%;
        height: 100%;
        background: url(images/102.jpg) no-repeat;
        background-size: contain;
        background-position: center right;
    }

    .in {
        margin-top: 55px;
    }
}

@media (max-width: 350px) {
    .inslide1 {
        min-width: 219px;
        position: absolute;
        line-height: 400px;
        width: 100%;
        height: 100%;
        background: url(images/102.jpg) no-repeat;
        background-size: contain;
        background-position: center right;
    }

    .in {
        margin-top: 70px;
    }
}

.in_big {
    margin-top: 55px;
}

@media (max-width: 420px) {
    .inslide1 {
        position: absolute;
        line-height: 400px;
        width: 100%;
        height: 100%;
        background: url(images/102.jpg) no-repeat;
        background-size: contain;
        background-position: center right;
    }

    .in_big {
        margin-top: 50px;
    }
}

@media (max-width: 350px) {
    .inslide1 {
        min-width: 219px;
        position: absolute;
        line-height: 400px;
        width: 100%;
        height: 100%;
        background: url(images/102.jpg) no-repeat;
        background-size: contain;
        background-position: center right;
    }

    .in_big {
        margin-top: 65px;
    }
}

.inslide1 span {
    margin-top: 25%;
    vertical-align: middle;
    width: 10%;
    box-shadow: 2px -3px 5px 1px black;
}

.in_1 {
    margin-top: 40px;
}

.inslide2 {
    position: absolute;
    line-height: 400px;
    width: 100%;
    height: 100%;
    background: url(images/1001.jpg) no-repeat;
    background-size: contain;
    background-position: center center;
}

@media (max-width: 400px) {
    .inslide2 {
        position: absolute;
        line-height: 400px;
        width: 100%;
        height: 100%;
        background: url(images/1001.jpg) no-repeat;
        background-size: contain;
        background-position: center right;
    }

    .in_1 {
        margin-top: 45px;
    }

    .big-slide .in_1 {
        margin-top: 50px;
    }
}

@media (max-width: 380px) {
    .big-slide .in_1 {
        margin-top: 55px;
    }
}

@media (max-width: 360px) {
    .big-slide .in_1 {
        margin-top: 60px;
    }
}

@media (max-width: 340px) {
    .inslide2 {
        min-width: 219px;
        position: absolute;
        line-height: 400px;
        width: 100%;
        height: 100%;
        background: url(images/1001.jpg) no-repeat;
        background-size: contain;
        background-position: center right;
    }

    .in_1 {
        margin-top: 57px;
    }

    .big-slide .in_1 {
        margin-top: 67px;
    }
}

@media (max-width: 285px) {
    .inslide2 {
        min-width: 219px;
        position: absolute;
        line-height: 400px;
        width: 100%;
        height: 100%;
        background: url(images/1001.jpg) no-repeat;
        background-size: contain;
        background-position: center right;
    }

    .in_1 {
        margin-top: 70px;
    }
}

.inslide3 {
    position: absolute;
    line-height: 400px;
    width: 100%;
    height: 100%;
    background: url(images/10001.jpg) no-repeat;
    background-size: contain;
    background-position: center center;
}

.in_2 {
    margin-top: 100px;
}

.in_2 img {
    max-width: 145px;
}

@media (max-width: 400px) {
    .inslide3 {
        position: absolute;
        line-height: 400px;
        width: 100%;
        height: 100%;
        background: url(images/10001.jpg) no-repeat;
        background-size: contain;
        background-position: center right;
    }

    .in_2 {
        margin-top: 100px;
    }
}

@media (max-width: 340px) {
    .inslide3 {
        min-width: 219px;
        position: absolute;
        line-height: 400px;
        width: 100%;
        height: 100%;
        background: url(images/10001.jpg) no-repeat;
        background-size: contain;
        background-position: center right;
    }

    .in_2 {
        margin-top: 100px;
    }
}

@media (max-width: 285px) {
    .inslide3 {
        min-width: 219px;
        position: absolute;
        line-height: 400px;
        width: 100%;
        height: 100%;
        background: url(images/10001.jpg) no-repeat;
        background-size: contain;
        background-position: center right;
    }

    .in_2 {
        margin-top: 110px;
    }
}

.inslide4 {
    position: absolute;
    line-height: 400px;
    width: 100%;
    height: 100%;
    background: url(images/1234522.jpg) no-repeat;
    background-size: cover;
    background-position: center center;
}

.in_3 {
    max-width: 420px;
    text-align: right;
    margin-right: 10vw;
    margin-top: 100px;
    transform: perspective(500px) rotateY(-38deg);
}

.in_3 img {
    max-width: 145px;
}

@media (max-width: 450px) {
    .inslide4 {
        position: absolute;
        line-height: 400px;
        width: 100%;
        height: 100%;
        background: url(images/1234522.jpg) no-repeat;
        background-size: contain;
        background-position: center right;
    }

    .in_3 {
        text-align: right;
        /* margin-top: 15%; */
        margin-top: 53px;
    }
}

@media (max-width: 340px) {
    .inslide4 {
        min-width: 219px;
        position: absolute;
        line-height: 400px;
        width: 100%;
        height: 100%;
        background: url(images/1234522.jpg) no-repeat;
        background-size: contain;
        background-position: center right;
    }

    .in_3 {
        margin-top: 20vw;
    }
}

@media (max-width: 285px) {
    .inslide4 {
        min-width: 219px;
        position: absolute;
        line-height: 400px;
        width: 100%;
        height: 100%;
        background: url(images/1234522.jpg) no-repeat;
        background-size: contain;
        background-position: center right;
    }

    .in_3 {
        margin-top: 28vw;
    }
}

.sli-links {
    margin-top: 10px;
    text-align: center;
}

.sli-links .control-slide {
    margin: 2px;
    display: inline-block;
    width: 16px;
    height: 16px;
    overflow: hidden;
    text-indent: -9999px;
    background: url(images/radioBg.png) center bottom no-repeat;
}

.sli-links .control-slide:hover {
    cursor: pointer;
    background-position: center center;
}

.sli-links .control-slide.active {
    background-position: center top;
}

#prewbutton, #nextbutton {
    display: block;
    width: 15px;
    height: 100%;
    position: absolute;
    top: 0;
    overflow: hidden;
    text-indent: -999px;
    background: url(images/arrowBg.png) left center no-repeat;
    opacity: 0.8;
    z-index: 3;
    outline: none !important;
}

#prewbutton {
    left: 10px;
}

#nextbutton {
    right: 10px;
    background: url(images/arrowBg.png) right center no-repeat;
}

#prewbutton:hover, #nextbutton:hover {
    opacity: 1;
}
