:root {
  --header-h: 113px;
  --footer-h: 156px;
  --slide-h: calc(100vh - 113px);
                       /* 130px */
  --content-narrow: 9.79167vw;
  --content-pad: 5.21vw;
}
/*           18px/1.7 */
body { font: 18px/1.7 'Montserrat', sans-serif; color: #fff; background-color: #000; font-weight: 300; }
body, html {
  overflow-x:hidden;
  /*overflow-y:hidden;*/
      /*overflow-y: scroll;*/
}


html { overflow: hidden; }


body {
/*  overflow-y:hidden;*/
/*
  transform: translate3d(0px, 0px, 0px);
  transition: all 700ms ease;
  */
}
/*
#parent{
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

#child{
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding-right: 17px;
}
*/

a { color:#FEEA62; text-decoration: none; }
a:hover { color:#ffffff; text-decoration: none; }
a:visited { color:#FEEA62; }
/*a:active { color:#FFFFFF; }*/

a.no-link {color:#ffffff; text-decoration: none; }

/*
relatives for 1920x1080
h: 100px = 5.21vw
*/

/* Common */
.only-mobdev { display:none; }
                  /* 5.21% */
.contain { padding:0 5.21vw; width: 100%; }

.rotate-90 { transform: rotate(-90deg); }
.rotate-180 { transform: rotate(-180deg); }
.rotate-270 { transform: rotate(-270deg); }

.fix,
.fixed { position: fixed; }

.z-max { z-index: 20000; }
.z100 { z-index: 100; }
.z50 { z-index: 50; }

.center { text-align: center; }

.full-page { height: calc(100vh - var(--header-h)); min-height: calc(650px - var(--header-h)); }
.bg { background: #322; }

.cube-container .cube-3rd { display: none; }
.services-bottom-nav { display: none; }

/* Personal for "57 agency" */
.header { height:var(--header-h); background-color:#000; /* #00000096*/ }
.header .top { width: 100%; /*padding:0 5.21vw;*/
  display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; }

.header .top .logo { width: 120px; height: 113px; }

.main-menu ul { list-style-type: none; margin: 0 0 14px 0; padding: 0; }
.main-menu ul li { display: inline-block; padding-left:70px; }

.main-menu a { font-style: normal; font-weight: 300; font-size: 14px; line-height: 17px; text-transform: uppercase; color: #FFFFFF;
  /*border-bottom: 1px solid #FCDC00;*/
  padding: 0 0 11px 27px; }

.main-menu a:hover { text-decoration: none; }
.main-menu a.s { border-bottom: 1px solid #FCDC00; }

/*172px fill height for 4 slides */
.slides-list { /*position: absolute;*/ left:calc(5.21vw - 32px / 2 + 6px); top:calc(100vh / 2 - 172px / 2); }
.slides-list ul { list-style-type: none; margin: 0; padding: 0; }
/* pic size: 7x8 and selected: 7x11 */
.slides-list ul li { background: url("../i/bullet-0.png") no-repeat center center; width: 32px; height: 32px; cursor: pointer; display: block; padding: 0; margin: 8px 0 9px 0;
  transition: 0.5s;}
.slides-list ul li.s { background-image: url("../i/bullet-1.png"); cursor: default; }

.nav-arrow { /*position: absolute;*/ right: 100px; bottom: 67px; }
.nav-arrow .nav-arr { cursor: pointer; }
.nav-arrow .nav-arr img { width: 27px; height: 52px; transition: 1.0s; }

.nav-arrow-back { left:calc(5.21vw + 15px); top:160px; right: unset; bottom: unset;}


.slide { margin-top:var(--header-h); }


.home {}
.home .single { display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  position: relative; top:calc(var(--header-h) / -4); }
.home .logo img,
.home .logo video { display: block; margin: 0 auto 0px auto; height:500px; width: auto; background-color: #000;}
#introPic { display: none; }
/*height:755px; width: auto; */
.home .moto { font-weight: 300; font-size: 36px; text-transform: uppercase; line-height: 44px; }

.services { overflow-y: hidden; padding:0 var(--content-narrow); /* 9.79167vw */
padding:0; overflow-x: hidden; }
.services .up-head { text-align: center; letter-spacing: 0.2em; text-transform: uppercase; font-size: 18px;
  /* 50 */
  top:calc(var(--slide-h) * 0.0526);  width: 100%; }
/*
.services .head { text-transform: uppercase; font-size: 48px;
  // 222
  top:calc(var(--slide-h) * 0.2337);  width: calc(100% - var(--content-narrow)*2 ); }
.services .head span {display: inline-block; padding-right: 45px; color: #FEEA62; }
.services .head::after { content: ""; position: absolute; bottom: -8px; left: 3px; width: 136px; height: 1px; background: #FEEA62; }

.services .text {
  // 400
  top:calc(var(--slide-h) * 0.4211);  width: calc(55% - var(--content-narrow)*2); }
.services .listing { font-weight: 400; list-style-type: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap;
  // 550 0.5789
  top:calc(var(--slide-h) * 0.5989);  width: calc(100% - var(--content-narrow)*2); }
.services .listing li { display: block; width:33.3333%; }
.services .listing li span { display: block; background: url("../i/li.png") 0px 10px no-repeat; padding-left: 29px; }
*/

.services .dynamic { width: 100%; }
.services .frame { width:100%; height:calc(100vh - var(--header-h)); background: #000;
padding:0 var(--content-narrow); /* 9.79167vw */ }

.services .frames-viewport { position: relative; left:0px;
  /*transition: 1s ease;*/
}

.services .frame-01 { z-index: 19; }
.services .frame-01 .listing li:nth-child(1) { width:480px; }
.services .frame-01 .listing li:nth-child(2) { width:230px; }
.services .frame-01 .listing li:nth-child(3) { width:140px; }
.services .frame-01 .hero-pic { top: 30px; right:calc(var(--content-pad) + 10px); }


.services .frame-02 { z-index: 18; }
.services .frame-02 .listing li:nth-child(1) { width:285px; }
.services .frame-02 .listing li:nth-child(2) { width:215px; }
.services .frame-02 .listing li:nth-child(3) { width:200px; }
.services .frame-02 .hero-pic { top: 150px; right:calc(var(--content-pad) + 160px); }

.services .frame-03 { z-index: 17; }
.services .frame-03 .text { width: calc(61% - var(--content-narrow)*2); }
.services .frame-03 .listing li:nth-child(1) { width:21%; }
.services .frame-03 .listing li:nth-child(2) { width:13%; }
.services .frame-03 .listing li:nth-child(3) { width:13%; }
.services .frame-03 .hero-pic { top: 395px; right:calc(var(--content-pad) + 10px); }
.services .frame-03 .hero-pic img.tablet { top:0px; right: 0px; position: absolute; }
.services .frame-03 .hero-pic img.stylus { top: 88px; right: 440px; position: absolute; }

.services .frame-04 { z-index: 16; }
.services .frame-04 .text { width: calc(60% - var(--content-narrow)*2); }
.services .frame-04 .listing li:nth-child(1) { width:22.5%; }
.services .frame-04 .listing li:nth-child(2) { width:22.5%; }
.services .frame-04 .listing li:nth-child(3) { width:22.5%; }
.services .frame-04 .hero-pic { top:170px; right:calc(var(--content-pad) + 90px); }

.services .frame-05 { z-index: 15; }
.services .frame-05 .text { width: 46.5%; }
.services .frame-05 .listing li:nth-child(1) { width:20.25%; }
.services .frame-05 .listing li:nth-child(2) { width:20.25%; }
.services .frame-05 .listing li:nth-child(3) { width:20.25%; }
.services .frame-05 .hero-pic { top: 180px; right: calc(var(--content-pad) + 225px); }
.services .frame-05 .hero-pic img.hand-1 { top: -20px; right: 308px; position: absolute; }
.services .frame-05 .hero-pic img.hand-2 { top: 260px; right: 210px; position: absolute; }


/*
.services-a .frame-a .head {background-color:#37b;}
.services-a .frame-a .text {background-color:#11e;}
.services-a .frame-a .listing  {background-color:#dc1;}
.services-a .frame-a .hero-pic {background-color:#374;}
*/


.services-a { }
.services-a .frame-a { width:100%; height: calc(100vh - var(--header-h)); display: flex; flex-wrap: wrap;
  flex-direction: column; justify-content: center;
  padding: 0 var(--content-narrow);
  position: absolute; /*relative;*/
  padding-bottom: 11vh;
  /*top:var(--header-h);*/ /*remove*/
}
.services-a .frame-a .head { order: 0; width: 50%; height: 151px;
  text-transform: uppercase; font-size: 48px;
  position: relative;
  white-space: nowrap;
}
.services-a .frame-a .head span { display: inline-block; padding-right: 45px; color: #FEEA62; }
.services-a .frame-a .head::after { content: ""; position: absolute; top:87px; left: 3px; width: 136px; height: 1px; background: #FEEA62; }

.services-a .frame-a .text { order: 1; width: 50%; height: 14%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 1%;
}

.services-a .frame-a .listing  { order: 2; width: 50%; height: 14%;
  font-weight: 400; list-style-type: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: space-between;
  z-index: 20;
  top: 7.2%;
  position: relative;
  padding-top: 2%;
}
.services-a .frame-a .listing li { display: block; width:auto;/*33.3333%;*/ }
.services-a .frame-a .listing li span { display: block; background: url("../i/li.png") 0px 7px no-repeat; padding-left: 29px; }

.services-a .frame-a .hero-pic { order: 3; width: 50%; height: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* tablet */
/*
.services-a .frame-a { flex-direction: row; }
.services-a .frame-a .head     { order: 0; width: 100%; height: auto; }
.services-a .frame-a .text     { order: 1; width: 100%; height: auto; }
.services-a .frame-a .listing  { order: 2; width:  50%; height: auto; }
.services-a .frame-a .hero-pic { order: 3; width:  50%; height: auto; }
*/
/* mobile */
/*
.services-a .frame-a .hero-pic img { position: relative; left: 30%; }
*/


.services-a .frame-a-01 .listing { width: 58%; z-index: 20; }
/*.services-a .frame-a-01 .listing li:nth-child(1) { width: 53%; }
.services-a .frame-a-01 .listing li:nth-child(2) { width: 26%; }
.services-a .frame-a-01 .listing li:nth-child(3) { width: 21%; }*/
.services-a .frame-a-01 .hero-pic { left: -8%; justify-content: flex-end; }

.services-a .frame-a-02 .hero-pic { top: 4%; justify-content: flex-end; padding-right: 1.5%; }

.services-a .frame-a-03 .text { width: 55%; z-index: 20; padding-right: 3%; }
.services-a .frame-a-03 .listing { width: 45%; z-index: 20; }
.services-a .frame-a-03 .hero-pic { top: 4%; left:-4%; justify-content: flex-end; }
.services-a .frame-a-03 .hero-pic img { left: 7%; position: relative; }

.services-a .frame-a-04 .listing { width: 55%; z-index: 20; }
/*.services-a .frame-a-04 .listing li:nth-child(1) { width: 37%; }
.services-a .frame-a-04 .listing li:nth-child(2) { width: 37%; }
.services-a .frame-a-04 .listing li:nth-child(3) { width: 26%; }*/
.services-a .frame-a-04 .hero-pic { left: -2%; justify-content: flex-end; }

.services-a .frame-a-05 .listing { width: 58%; z-index: 20; }
/*.services-a .frame-a-05 .listing li:nth-child(1) { width: 35%; }
.services-a .frame-a-05 .listing li:nth-child(2) { width: 35%; }
.services-a .frame-a-05 .listing li:nth-child(3) { width: 30%; }*/
.services-a .frame-a-05 .hero-pic { left: -13.5%; justify-content: flex-end; }
.services-a .frame-a-05 .hero-pic img { top: 6%; position: relative; }




img.auto-resize { max-width: 100%; max-height: 100%;}




.principles { overflow-y: hidden; padding:0 9.79167vw; }
.principles .up-head { text-align: center; letter-spacing: 0.2em; text-transform: uppercase; font-size: 18px;
  /* 50 */
  top:calc(var(--slide-h) * 0.0526);  width: 100%; }
.crd-list { display: flex; justify-content: center; align-items: center; position: relative;
  height: calc(100vh - var(--header-h));
}
.crd-list .crd { position: absolute;
   width: 370px; height: 597px; background: #0A0A0A; box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.3); margin-bottom: 30px;
   /*background: #313131;*/
}
.crd-list .crd .head { padding:131px 44px 21px 44px; position: relative; font-size: 20px; line-height:1.8; text-transform: uppercase; color: #FFFFFF; font-weight: normal; }
.crd-list .crd .head::after { content: ""; position: absolute; bottom:10px; left:1px; width: 61%; height: 1px; background: #FEEA62; }
.crd-list .crd .text { padding: 106px 44px 28px 44px; font-style: normal; font-size: 16px; line-height: 1.92; color: #FFFFFF; }

/* front cards */
.crd-list .crd-1 { z-index: 19; transform: translate(-440px, 0px); }
.crd-list .crd-2 { z-index: 18; transform: translate(   0px, 0px); }
.crd-list .crd-3 { z-index: 17; transform: translate( 440px, 0px); }
/* back cards */
.crd-list .crd-6 { z-index: 16; transform: translate( 360px, 0px) scale(0.75, 0.75); }
.crd-list .crd-5 { z-index: 15; transform: translate(   0px, 0px) scale(0.75, 0.75); }
.crd-list .crd-4 { z-index: 14; transform: translate(-360px, 0px) scale(0.75, 0.75); }

.crd-list .crd-back { opacity: 0.7; }

.crd-list .crd { /*transition: 0.5s linear;*//* transition-timing-function: linear;*/ }
/*.crd-list .crd:hover { transform: scale(1.08109); }*/
.crd-list .crd-hover-left:hover { transform: scale(1.08109) translate(-440px, 0px); transition: 0.2s ease }
.crd-list .crd-hover-center:hover { transform: scale(1.08109) translate(   0px, 0px); transition: 0.2s ease }
.crd-list .crd-hover-right:hover { transform: scale(1.08109) translate( 440px, 0px); transition: 0.2s ease }

.crd-list .transition { transition: 0.5s linear; /* transition-timing-function: linear;*/ }

/*
.principles {
    background: #3a3a3a;
}
*/


.contacts { overflow-y: hidden; padding: 0 9.79167vw;
  height: calc(100vh - var(--header-h) - var(--footer-h) / 2);
  min-height: calc(650px - var(--header-h)); }
.contacts .static { width: 100%; height:calc(100vh - var(--header-h) - var(--footer-h) / 2);  display: flex; flex-wrap: wrap;}

.contacts .up-head { text-align: center; letter-spacing: 0.2em; text-transform: uppercase; font-size: 18px; width: 100%;
  /* 50 */
  top:calc(var(--slide-h) * 0.0526); }


.contacts .a-left  { width:50%; }
.contacts .a-right { width:50%; display: flex; justify-content: center; }

.contacts .emails {}
.contacts .emails .head { text-transform: uppercase; margin-bottom: 35px; }
.contacts .emails .str1 { font-size: 24px; line-height: 29px; text-transform: uppercase; margin-bottom: 80px; }
.contacts .emails a { color:#fff; }

.contacts .phones {}
.contacts .phones .head { text-transform: uppercase; margin-bottom: 35px; }
.contacts .phones .str1,
.contacts .phones .str2 { font-size: 24px; line-height: 50px; }
.contacts .moto2 { font-size: 36px; line-height: 44px; text-transform: uppercase; margin-top: 110px; }
.contacts .open-form { display:none; }

.contacts .a-right .form { width: 443px; text-align: center; }
.contacts .form-head { text-transform: uppercase; margin-bottom: 50px; }





.error-page {
  overflow-y: hidden; padding: 0 9.79167vw;
  height: calc(100vh - var(--header-h) - var(--footer-h) / 2);
  /*min-height: calc(650px - var(--header-h));*/
  display: flex;
  justify-content: center;
  z-index: 1000;
  position: relative;
}
.error-page .center { align-self: center; }
.error-page .title { font-size:130px; color:#1C1C1C; font-weight:bold; }
.error-page .text { margin-bottom: 50px; }
.error-page .action { }
.error-page .action a { color:#fff; display: inline-block;}
.e404 { background: url("../i/e404.png") center center no-repeat; background-size: contain;
  position: absolute;
  left: 45%;
  width: 810px;
  height: 75vh;
  max-width: 810px;
  max-height: 810px;
  z-index: 50;
}
.server-error-5xx { position: absolute; top:0; left: 0; width: 100%; height: 100%;display: flex; overflow: hidden;}
.error-page-5xx {
  overflow-y: hidden;
  height: 100vh;
  display: flex;
  justify-content: center;
  z-index: 1000;
  position: relative;
  width: 100vw;
  padding: 0; margin: 0;
}
.e503 { background: url("../i/e503.png") center center no-repeat; background-size: contain;
  position: absolute;
  right: 17%;
  bottom: 6%;
  width: 442px;
  height: 75vh;
  max-width: 442px;
  max-height: 442px;
  z-index: 50;
}





.form {}
.form .field {}
.form .field .data {}
.form .field input    { margin-top: 10px; width: 100%; background:#000; font-size: 16px; border:none; border-bottom:1px solid #FEEA62; color:#fff; padding: 20px 0; }
.form .field textarea { margin-top: 10px; resize: none; width: 100%; background:#000; font-size: 16px; border:none; border-bottom:1px solid #FEEA62; color:#fff; padding: 20px 0; }
.contacts .form .field textarea { height: 118px; }
.form .field-btns { padding-top: 60px; }
.form .field-btns .send       { display: block; visibility: visible; }
.form .field-btns .processing { display: block; visibility: hidden; }
.form .field-btns .sent       { display: block; visibility: hidden; }
.form .field-btns .data { height: 70px; display: flex; justify-content: center; }

.btn-cta { padding: 20px 100px; background: #0A0A0A; color:#fff; border:none; cursor: pointer; transition: 0.25s;}
.btn-cta:hover { background: #1A1A1A; }
.btn-cta:focus { border: none; box-shadow: 0 0 6px #feea62; outline: none; }
.form .processing img { padding: 5px 0px; background: #0A0A0A; display: inline-block; height: 70px; position: relative; top: -1px; width: 294px; }
.form .sent img { padding:22px 0px; background: #0A0A0A; display: inline-block; height: 70px; position: relative; top: -1px; width: 294px; }

::placeholder { color: #656464; opacity: 1; /* Firefox */ }
:-ms-input-placeholder { /* Internet Explorer 10-11 */ color: #656464; }
::-ms-input-placeholder { /* Microsoft Edge */ color: #656464; }


.form .field-btns .js-visible { visibility: visible; }

/* Change Autocomplete styles in Chrome*/
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  /*border: 1px solid green;*/
  -webkit-text-fill-color: #fff;
  -webkit-box-shadow: 0 0 0px 1000px #000 inset;
  /*transition: background-color 5000s ease-in-out 0s;*/
}

div.error { display: none !important; }
.form .field input.error,
.form .field textarea.error,
.form .field select.error { border-bottom-color: #ea2626; }



.frames-list { height: calc(100vh - var(--header-h)); position: absolute; width: 100%; }
.frames-list ul { display:flex; flex-wrap: nowrap; justify-content: center; list-style-type: none; margin: 0; padding: 0; width: 100%;
  /* 400 */
  top:calc(var(--slide-h) * 0.88947);  width: 100%; }
.frames-list ul li { padding: 0 15px; }
.frames-list ul li a { color:#656464; transition:0.5s; }
.frames-list ul li a:hover { color:#fff; }
.frames-list ul li a.s { color:#FEEA62; }


.services-bottom-nav { }
.services-bottom-nav ul { display:flex; flex-wrap: nowrap; justify-content: center; list-style-type: none; margin: 0; padding: 0; width: 100%; }
.services-bottom-nav ul li { padding: 0 15px; }
.services-bottom-nav ul li a { color:#656464; transition:0.5s; }
.services-bottom-nav ul li a:hover { color:#fff; }
.services-bottom-nav ul li a.s { color:#FEEA62; }


.footer { /*height:var(--footer-h);*/
          height: calc(var(--footer-h) / 2);
          display: flex; background: #0A0A0A; flex-wrap: nowrap; align-items: center; }
.social-area { text-align: left;     width: 65%; }
.copyright-area { text-align: right; width: 35%; text-transform: uppercase; }
ul.social { list-style-type: none; margin: 0 0 14px 0; padding: 0; }
ul.social li { display: inline-block; padding-right:95px; }
ul.social li:last-child { padding-right:0; }
ul.social a { font-style: normal; font-weight: 300; text-transform:lowercase; color: #FFFFFF;
  border-bottom: 1px solid #FCDC00;
  padding: 0 0 11px 17px; }





.cases { min-height: calc(100vh - var(--header-h)); margin-top:var(--header-h); }
.cases .dynamic { margin-bottom: 100px; margin-left: auto; margin-right: auto; max-width: 1920px; }
.cases .up-head { line-height: 22px; text-align: center; letter-spacing: 0.2em; text-transform: uppercase;
  padding:100px 0; }
.cases .page-nav { border-bottom:1px solid #222; margin: 0 0 100px 0; padding: 0 5.21vw 48px 5.21vw; }
.cases .page-nav ul { list-style-type: none; margin: 0 0 14px 0; padding: 0; text-align: center;
  display:flex; flex-wrap: nowrap;  justify-content:center; }
.cases .page-nav ul li { margin: 0 25px; display:block; }

.cases .page-nav a { font-style: normal; font-weight: 300; font-size: 18px; line-height: 22px; text-transform: uppercase; color: #FFFFFF;
  /*border-bottom: 1px solid #FCDC00;*/
  padding: 0 0 11px 27px; margin-right: 27px; }

.cases .page-nav a:hover { text-decoration: none; }
.cases .page-nav a.s { border-bottom: 1px solid #FCDC00; }



.cases .plate-list { list-style-type: none; margin: 0; padding: 0; display:flex; flex-wrap: wrap;  justify-content:center; }
.cases .plate-list li { margin: 0 0 100px 0; /*overflow: hidden;*/ }
.cases .plate-list li:nth-child(2n+1){ margin: 0 100px 0 0; }

.cases .plate-list a { display:flex; flex-wrap: nowrap; justify-content: space-between; align-items: center;
  background: #0A0A0A; text-decoration: none; transition: 0.5s;
  width: 650px;
  height: 420px;
  overflow: hidden;
  padding: 0 60px 0 60px;
  position: relative; }
.cases .plate-list a .text { font-size: 200%; line-height:50px; color: #656464;  transition: 0.5s;
 position: relative; }
.cases .plate-list a .pic {  transition: 0.5s; position: absolute; right: -10px; }


.cases .plate-list a:hover { transform: scale(1.11,1.11); box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.5); }
.cases .plate-list a:hover .text { color:#fff; }

.cases .plate-list li.empty a { background: transparent; opacity:0 }

.cases .plate-list li.case-brand-b3 .pic { right: 80px; }
.cases .plate-list li.case-web-b3 .pic { right: -50px; }
.cases .plate-list li.case-smm-b2 .pic { right: -50px; }


/* customs to align */
.cases .plate-list a .pic.brand-b3 { right: 80px; }
.cases .plate-list a .pic.web-b3 { right:-55px; }




.one-case { /*padding: 0 5vw; margin: 270px auto 0 auto; max-width: calc(1200px + 10vw);*/
  margin: 270px 18.75vw 0 18.75vw;
  max-width: 1200px;
}
.one-case .page-head { font-size: 36px; line-height: 50px; margin: 0 0 100px 0; }
.one-case .description { margin-bottom: 100px;}
.one-case .head { font-weight: 500; font-size: 20px; line-height: 1.70; }
.one-case .text { margin-bottom: 40px;               line-height: 1.70; }
.one-case .cta-area { text-align: center; margin:60px 0 140px 0; }

.one-case ul.gallery { list-style-type: none; margin: 0; padding: 0; }
.one-case ul.gallery li { margin-bottom: 30px; }
.one-case ul.gallery li img { width: 100%; height: auto; }

.one-case ul.gallery-gifky li img { width: auto; max-width: 100%; height: auto; margin: 0 auto; display: block; }


.one-case .video { background:#222; }
.one-case .video iframe { width: 100%; height: 675px; display: block;}

.one-case .slide-form-area { width: 443px; margin: 0 auto; }
.one-case .btn-cta { padding: 17px 17px; width: 301px; text-align: center; }


/*.overlay1 { padding: 0; }
.overlay1 .overlay2 { padding: 60px 0; background-color: rgba(50, 50, 50, 0.85); }
.overlay1 .overlay2 { padding: 90px 0; background-color: #1c3664e8; }
*/

.flex { display: flex; }
.flex-wrap { flex-wrap:wrap;}
.flex-nowrap { flex-wrap:nowrap; }
.flex-space-between { justify-content: space-between;}
.flex-flex-start { justify-content: flex-start; }

.f120 { font-size:120%; }
.hidden { display: none !important; }


.popup-form { position: fixed; left:0; top:0; width: 100%; height:100%; background: #000; z-index:19999;
  padding: 70px 10% 0px 10%;
  display: none;
  /* add only horizontal scroll */
  overflow-x: hidden;
  overflow-y: auto;
}
.popup-form .form-head { text-transform: uppercase; margin-bottom: 30px; text-align: center; }
.popup-form .close-popup { position:fixed; top:10px; right: 10px; width: 32px; height: 32px }
.popup-form .close-popup .long-line  { display:block; width:28px; height:1px; background:#fff; }
.popup-form .close-popup .short-line { display:block; width:28px; height:1px; background:#fff; margin: 16px 0 16px 13px; opacity: 0; }
.popup-form .close-popup .long-line:nth-child(1) { transform: matrix(-0.91, 0.91, -0.27, -0.8, 0,  17); }
.popup-form .close-popup .long-line:nth-child(3) { transform: matrix(-0.91, -0.91, 0.27, -0.8, 0, -17); }



/* ************ WIDTH ************ */

@media screen and (max-width:1600px) {
  .cases .plate-list li { margin: 0 0 60px 0; }
  .cases .plate-list li:nth-child(2n+1) { margin: 0 60px 0 0; }

  .e503 { right: 10%; }
}


@media screen and (max-width:1500px) {

  .crd-list .crd { width: 330px; height: 557px; }
  .crd-list .crd .head { padding: 101px 34px 11px 34px; }
  .crd-list .crd .text { padding:  86px 34px 18px 34px; }
  /* front cards */
  .crd-list .crd-1 { z-index: 19; transform: translate(-390px, 0px); }
  .crd-list .crd-2 { z-index: 18; transform: translate(   0px, 0px); }
  .crd-list .crd-3 { z-index: 17; transform: translate( 390px, 0px); }
  /* back cards */
  .crd-list .crd-6 { z-index: 16; transform: translate( 320px, 0px) scale(0.75, 0.75); }
  .crd-list .crd-5 { z-index: 15; transform: translate(   0px, 0px) scale(0.75, 0.75); }
  .crd-list .crd-4 { z-index: 14; transform: translate(-320px, 0px) scale(0.75, 0.75); }

  .cases .plate-list a { width: 560px; height: 350px; padding: 0px 40px; }
  .cases .plate-list a .text { font-size: 170%; line-height: 50px; }
  .cases .plate-list a .pic { transform:scale(0.80) translateX(40px); }

  .nav-arrow-back { left: calc(3.10vw); }
}

@media screen and (max-width:1400px) {
  .one-case { padding: 0 5vw 0 9vw; }
}


@media screen and (max-width:1300px) {

  .crd-list .crd { width: 300px; height: 507px; }
  .crd-list .crd .head { padding:  61px 20px 11px 30px; }
  .crd-list .crd .text { padding:  56px 20px 18px 30px; }
  /* front cards */
  .crd-list .crd-1 { z-index: 19; transform: translate(-340px, 0px); }
  .crd-list .crd-2 { z-index: 18; transform: translate(   0px, 0px); }
  .crd-list .crd-3 { z-index: 17; transform: translate( 340px, 0px); }
  /* back cards */
  .crd-list .crd-6 { z-index: 16; transform: translate( 280px, 0px) scale(0.75, 0.75); }
  .crd-list .crd-5 { z-index: 15; transform: translate(   0px, 0px) scale(0.75, 0.75); }
  .crd-list .crd-4 { z-index: 14; transform: translate(-280px, 0px) scale(0.75, 0.75); }
}


@media screen and (max-width:1200px) {
  .crd-list .crd { width: 260px; }
  .crd-list .crd .text { padding-top:10px; font-size: 14.5px; }
  .crd-list .crd-1 { transform: translate(-310px, 0px); }
  .crd-list .crd-2 { transform: translate(   0px, 0px); }
  .crd-list .crd-3 { transform: translate( 310px, 0px); }
  /* back cards */
  .crd-list .crd-6 { transform: translate( 260px, 0px) scale(0.75, 0.75); }
  .crd-list .crd-5 { transform: translate(   0px, 0px) scale(0.75, 0.75); }
  .crd-list .crd-4 { transform: translate(-260px, 0px) scale(0.75, 0.75); }

  .cases .page-nav { padding: 0 1.21vw 48px 1.21vw; margin: 0 0 60px 0; }
  .cases .plate-list li { margin: 0 0 30px 0; }
  .cases .plate-list li:nth-child(2n+1) { margin: 0 30px 0 0; }
  .cases .plate-list a { width: 470px; height: 320px; padding: 0px 30px; }
  .cases .plate-list a .text { font-size: 170%; line-height: 50px; }
  .cases .plate-list a .pic { transform:scale(0.70) translateX(70px); }

  .cases .plate-list a .pic.brand-b4 { transform: scale(0.70) translateX(30px); }
}


@media (max-width: 1200px) and (min-width:601px){
}


@media screen and (max-width:1200px) {
  .services .up-head {/* top: 0;*/ }
  .services-a .frame-a { flex-direction: row; align-content: flex-start;/* center;*/ margin-top: 8%; }
  .services-a .frame-a .head     { order: 0; width: 100%; /*height: auto;*/ }
  .services-a .frame-a .text     { order: 1; width: 100%; height: auto; }
  .services-a .frame-a .listing  { order: 2; width:  50%; height: auto; }
  .services-a .frame-a .hero-pic { order: 3; width:  50%; height: auto; }

  .services-a .frame-a .listing { top:0%; flex-direction: column; padding-top: 7vh; }
  .services-a .frame-a .listing li:nth-child(n) { width: 100%; padding-bottom: 5vh; }
}

@media screen and (max-width:1100px) {
  .cases .plate-list { }
  .cases .plate-list li { width:100%; }
  .cases .plate-list li:nth-child(2n+1) { margin: 0 0 30px 0; }
  .cases .plate-list li.empty { display: none; }
  .cases .plate-list a { margin: 0 auto 30px auto; }
}


/**
 * Mobile starts here:
 */

/**
 * Tablet (portrait)
 */
@media screen and (max-width:1050px) {
  :root {
    --header-h: 85px;
    --content-narrow: 2.55vw;  /*6.5104167vw;*/
    /* --content-pad: 5.21vw; */
  }

  #pages { display: none !important; }

  body { font-size: 15px; }
  .header .top .logo { width: 91px; height: 85px; }

  .home .moto { font-size:30px; }

  .nav-arrow { right: 40px; bottom: 30px; }

  .contain { padding: 0 3.90625vw; }
  .home .logo img,
  .home .logo video { max-width: 460px; height: auto !important; }

  .only-mobdev     { display: block; }
  .only-desktopdev { display: none; }

  .humburger { cursor: pointer;  }
  .humburger .long-line  { display:block; width:45px; height:1px; background:#fff; transition: 0.5s; }
  .humburger .short-line { display:block; width:32px; height:1px; background:#fff; transition: 0.5s; margin: 16px 0 16px 13px; }
  .humburger.opened .long-line:nth-child(1) { transform: matrix(-0.91, 0.91, -0.27, -0.8, 0,  17); }
  .humburger.opened .long-line:nth-child(3) { transform: matrix(-0.91, -0.91, 0.27, -0.8, 0, -17); }
  .humburger.opened .short-line { opacity:0; }

  .mobile-nav-visible { display:block; z-index: 9995; position: fixed; left: 0; top: var(--header-h); width: 100%; height:calc(100% - var(--header-h)); background: #000; }
  .mobile-nav-visible ul { display: flex; flex-wrap: wrap; flex-direction: column; align-items: center; width: 100%; margin: 0; padding: 15.625% 0 0 0; height: 100%; position: absolute; justify-content: flex-start; }
  .mobile-nav-visible ul li { width: 100%; font-size: 30px; text-align: center; margin: 25px 0; padding-left:0; }
  .mobile-nav-visible ul li a { font-size: 30px; line-height: 37px; }

  .mobdev-nav-bg { display:block; z-index: 9990; position: fixed; left: 0; top: var(--header-h); width: 100%; height:calc(100% - var(--header-h)); background: #000; }

  .services-a .frame-a .head { font-size:36px; height: 110px; }
  .services-a .frame-a .head::after { top:65px; }
  .services-a .frame-a .listing { justify-content: flex-start; }
  .services-a .frame-a .listing li:last-child { padding-bottom: 0; }
  .frames-list ul { top: calc(var(--slide-h) * 0.95); }

  .services-a .frame-a-01 .hero-pic { left:8%; top:5%; position: relative; }
  .services-a .frame-a-01 .hero-pic img { max-width: 150%; max-height: 150%; position: absolute; }

  .services-a .frame-a-02 .hero-pic { left:0%; top:11%; position: relative; }
  .services-a .frame-a-02 .hero-pic img { max-width: 180%; max-height: 180%; position: absolute; }

  .services-a .frame-a-03 .hero-pic { left: -25%; top: 18%; position: relative; }
  .services-a .frame-a-03 .hero-pic img { max-width: 140%; max-height: 140%; position: absolute; }

  .services-a .frame-a-04 .hero-pic { left: 1%; top: 14%; position: relative; }
  .services-a .frame-a-04 .hero-pic img { max-width: 120%; max-height: 120%; position: absolute; }

  .services-a .frame-a-05 .hero-pic { left: 0%; top: 0%; position: relative; }
  .services-a .frame-a-05 .hero-pic img { max-width:150%; max-height:150%; position: absolute; }

  .cases .page-nav ul li { margin-left: 0; margin-right: 0; }
  .cases .page-nav a { font-size: 16px; white-space: nowrap; }

  .cases .plate-list a .pic.smm-b1 { transform: scale(0.7) translateX(115px); }
  .cases .plate-list a .pic.smm-b2 { transform: scale(0.7) translateX(115px); }
  .cases .plate-list a .pic.smm-b3 { transform: scale(0.7) translateX(50px); }

  .one-case { padding: 0 0; margin:calc(var(--header-h) + 50px) 6.510417vw 0 6.510417vw;  }
  .one-case .page-head { font-size:30px; }
  .one-case .head { font-size:16px; }
  .one-case .text { /*font-size:15px;*/ }
  #backArrow { display: none !important; }

  /* for tap devices is not needed */
  a:hover,
  .frames-list ul li a:hover { color:#656464; }
  .frames-list ul li a.s { color: #FEEA62; }

  .services-bottom-nav ul li a:hover { color:#656464; }
  .services-bottom-nav ul li a.s { color: #FEEA62; }

  .e503 { right: 5%; bottom: 6%; }
}


/**
 * Tablet (landscape)
 */
@media screen and (max-width:1050px) and (orientation:landscape) {
  .services-a .frame-a-03 .hero-pic { left: -5%; top: 7%; position: relative; }
  .services-a .frame-a-03 .hero-pic img { max-width: 100%; max-height: 100%; position: absolute; }

  .services-a .frame-a-04 .hero-pic { left: -1%; top: 4%; position: relative; }

  .services-a .frame-a-05 .hero-pic { left: -3%; top:-3%; position: relative; }
  .services-a .frame-a-05 .hero-pic img { max-width:130%; max-height:130%; position: absolute; }


}


@media screen and (max-width:1024px) {
}


@media screen and (max-width:990px) {
  /* principles as CUBE */
  .crd-list { display: none; }

  .cube-container { /*display: flex; justify-content: center; align-items: center; */
    position: relative; height: calc(100vh - var(--header-h));
    perspective: 100em;
  }
  .cube-container .cube { position: relative; }

  .cube-container .side {
    position: absolute;
    top: 11vh;
    height: calc(78vh - var(--header-h));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #000; }

  .cube-container .crd { background: #0A0A0A;
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 226px; }

  .cube-container .crd .head { padding: 40px 25px 21px 25px;
    position: relative;
    font-size: 18px;
    line-height: 1.8;
    text-transform: uppercase;
    color: #FFFFFF;
    font-weight: normal; }

  .cube-container .crd .head::after {
      content: "";
      position: absolute;
      bottom: 10px;
      left: 1px;
      width: 61%;
      height: 1px;
      background: #FEEA62; }

  .cube-container .crd .text { padding: 10px 25px 36px 25px;
    font-style: normal;
    font-size: 14px;
    line-height: 1.92;
    color: #FFFFFF;  }

  :root {
    /* this values is auto calculable */
    --cube-deep-z: 355px;
    --cube-deep-z-neg: -355px;

    --cube-deep3-z: 355px;
    --cube-deep3-z-neg: -355px;
  }

  .cube-container .transition { transition: 1s; }
  .cube-container .cube { transform-style: preserve-3d; transform: translateZ(var(--cube-deep-z-neg)); }
  .cube-container .cube.show-front  { transform: translateZ(var(--cube-deep-z-neg)) rotateY(   0deg); }
  .cube-container .cube.show-right  { transform: translateZ(var(--cube-deep-z-neg)) rotateY( -90deg); }
  .cube-container .cube__face--front  { transform: rotateY(  0deg) translateZ(var(--cube-deep-z)); }
  .cube-container .cube__face--right  { transform: rotateY( 90deg) translateZ(var(--cube-deep-z)); }

  .cube-container .cube-3rd { transform-style: preserve-3d; transform: translateZ(var(--cube-deep3-z-neg)); }
  .cube-container .cube-3rd.show-front  { transform: translateZ(var(--cube-deep3-z-neg)) rotateY(   0deg); }
  .cube-container .cube-3rd.show-right  { transform: translateZ(var(--cube-deep3-z-neg)) rotateY( -90deg); }
  .cube-container .cube-3rd.show-back   { transform: translateZ(var(--cube-deep3-z-neg)) rotateY(-180deg); }
  .cube-container .cube-3rd .cube__face--front { transform: rotateY(  0deg) translateZ(var(--cube-deep3-z)); }
  .cube-container .cube-3rd .cube__face--right { transform: rotateY( 90deg) translateZ(var(--cube-deep3-z)); }
  .cube-container .cube-3rd .cube__face--back  { transform: rotateY(180deg) translateZ(var(--cube-deep3-z)); }

  .contacts .a-left { width:100%; text-align:center; }
  .contacts .a-right { width:100%; display: none; }
  .contacts .a-right .form { margin-left: auto; margin-right: auto; }
  .contacts .moto2 { margin-top: 50px; }
  .contacts .open-form { margin-top: 50px; display: block; }

  .error-page { padding-right: 30vw; }
  .error-page-5xx  { padding-right: 0; }
  .e404 { left: 25% }

}


@media screen and (max-width:768px) {
  /*
  .services-a .frame-a-05 .hero-pic img { top:0; }
  */
  .services-a .frame-a { margin-top:11%; }
}


@media screen and (max-width:767px) {
}





/* ************ HEIGHT ************ */
@media screen and (max-height: 900px) {
  .services .up-head { top: 0; }
  .footer { height: calc(var(--footer-h) / 2); }
  .contacts .form-head { margin-bottom: 0px; }

  .contacts .moto2 { margin-top: 50px; }
  /*.form .field input,
  .form .field select,
  .form .field textarea { margin-top: 0; }*/
  .form .field-btns { margin-top:0px; padding-top: 50px; }
  .contacts { height: calc(100vh - var(--header-h) - (var(--footer-h) / 2.0));
}

@media screen and (max-height: 900px) {

  body { font-size: 15px; }

  /*.hr { display: none; }*/
  .home .single { top:0px; }
  .services-a .frame-a { height: calc(100vh - var(--header-h) + 10vh);  }
  .services-a .frame-a .listing { }
/*
  .services .head { top: calc(var(--slide-h) * 0.1030); }
  .services .text { top: calc(var(--slide-h) * 0.3400); }
  .services .listing li { width: 100%; }

  .services .frame-02 .hero-pic { top: 90px; }
  .services .frame-04 .hero-pic { top: 130px; }
  .services .frame-03 .hero-pic { top: 215px; }
  .services .frame-05 .hero-pic { top: 70px; right: calc(var(--content-pad) + 125px); }
*/
  .principles .up-head { top: 0; }

  .contacts .up-head { top: 0; }
}


@media screen and (max-height: 770px) {
  :root { --header-h: 85px; }
  .header .top .logo { width: 91px; height: 85px; }

  .e503 { max-width: 300px; bottom:-3%; }
}


/*
@media only screen
  and (min-device-width: 768px)
  and (max-device-width: 1024px)
  and (orientation: portrait)
  */
/* Це все х..я
@media (min-width: 768px) and (max-width: 1024px) {
  :root { --header-h: 85px; }
  .header .top .logo { width: 91px; height: 85px; background-color: #aaa; }
}
*/



@media screen and (max-height: 750px) {

  .services-a .frame-a .listing { padding-top:0; }
  .services-a .frame-a .head { height: 130px; }
  .services-a .frame-a .text { padding-top: 0; }
  .services-a .frame-a-01 .text { top: -4%; position: relative; }
  .services-a .frame-a-02 .text { top: -4%; position: relative; }
  .services-a .frame-a-03 .text { top: -4%; position: relative; }
  .services-a .frame-a-04 .text { top: -4%; position: relative; }
  .services-a .frame-a-05 .text { top: -4%; position: relative; width:68%; }

  .principles .up-head { top:0; }
  .crd-list .crd { height: 457px; }
  .crd-list .crd .head { padding:  31px 20px 11px 30px; }
  .crd-list .crd .text { padding:  36px 20px 18px 30px; }

  .contacts { height: calc(100vh - var(--header-h) - (var(--footer-h) / 2.0) );
    min-height: calc(650px - var(--header-h)- (var(--footer-h) / 2.0));
  }
  /*.contacts .emails .str1 { margin-bottom: 60px; }
  .contacts .phones .head { margin-bottom: 15px; }*/
  .contacts .moto2 { margin-top: 30px; }
   /*
  .form .field input,
  .form .field select,
  .form .field textarea { padding: 10px 0; }
  .contacts .form .field textarea { height: 75px; }
  */
  .form .field-btns { margin-top:-10px; }
}




/**
 * Mobile version (portrait)
 */
@media (max-width: 610px) {
  :root {
    --header-h: 62px;
    --content-narrow: 2.55vw;
  }

  body { font-size: 12px; }

  /*.contain { padding: 0 4.6875vw; }*/

  .header .top .logo { width: 62px; height: 62px; }
  .header .top .logo img { position: relative; left: -10px; }

  .humburger .long-line { width: 28px; }
  .humburger .short-line { width: 20px; margin:10px 0 10px 8px; }
  .humburger.opened .long-line:nth-child(1) { transform: matrix(-0.91, 0.91, -0.27, -0.8, 0,  11); }
  .humburger.opened .long-line:nth-child(3) { transform: matrix(-0.91, -0.91, 0.27, -0.8, 0, -11); }

  .mobile-nav-visible ul li { margin: 15px 0; }
  .mobile-nav-visible ul li a { font-size: 18px; line-height: 22px; padding-bottom: 7px; }

  .nav-arrow { right: 25px; bottom: 20px; }
  .nav-arrow .nav-arr img { width: 16px; height: 30px; }

  .services-bottom-nav { display: block; bottom: 45px; width:100%; height: auto; position: fixed; z-index: 90; }

  .home .logo img,
  .home .logo video { max-width: 250px; height: auto !important; }
  .home .moto { font-size: 20px; line-height: 36px; }
  /*.home .hr { display: none; }*/
  .full-page { min-height: auto; }

  .services.contain { padding: 0 ; }
  .services .up-head { font-size:12px; }
  .services-a .frame-a { /*font-size:11px;*/ align-content: start;  height: calc(100vh - var(--header-h) + 0vh); top: 7vh;
    overflow: hidden;padding: 0 7.8125vw;
  }
  .services-a .frame-a .head { font-size:22px; height: 90px; }
  .services-a .frame-a .head::after { top:42px; width: 59px; }
  .services-a .frame-a .head span { padding-right: 6px; }
  .frames-list ul { top: calc(var(--slide-h) * 1.015); }
  .services-a .frame-a .listing li:nth-child(n) { padding-bottom: 4vh; }
  .services-a .frame-a .listing { width: 70%; }
  .services-a .frame-a .hero-pic { width: 30%; position: relative; }
  .services-a .frame-a .hero-pic img { position: absolute;  }

  .services-a .frame-a-01 .hero-pic { left:0; top:0; } /* 400% */
  .services-a .frame-a-01 .hero-pic img { max-width: 75vw; max-height: 75vw; left: -25vw; top: -6vh; }

  .services-a .frame-a-02 .hero-pic { left:0; top:0; } /* 270% */
  .services-a .frame-a-02 .hero-pic img { max-width: 75vw; max-height: 75vw; left: -25vw; top: -5vh; }

  .services-a .frame-a-03 .hero-pic { left: 0; top: 0; } /* 340% */
  .services-a .frame-a-03 .hero-pic img { max-width: 340%; max-height: 340%;left: -22vw; top: 9vh; }

  .services-a .frame-a-04 .text { padding-bottom: 20px;}
  .services-a .frame-a-04 .hero-pic { left: 0; top: 0; } /* 300% */
  .services-a .frame-a-04 .hero-pic img { max-width: 60vw; max-height:60vw; left: -13vw; top: -4vh; }

  .services-a .frame-a-05 .text { width: 100%; }
  .services-a .frame-a-05 .hero-pic { left: 0; top: 0; } /* 170% */
  .services-a .frame-a-05 .hero-pic img { max-width: 54vw; max-height:54vw; left: -2vw; top: -1vh; }


  .principles .up-head { font-size:12px; }
  /* principles as CUBE */
  .crd-list { display: none; }
  .cube-container { }
  .cube-container .cube { position: relative; }
  .cube-container .side { top: 6vh; }
  .cube-container .crd { margin-bottom: 20px; }
  .cube-container .crd .head { font-size: 12px; padding: 30px 15px 16px 15px; }
  .cube-container .crd .head::after {}
  .cube-container .crd .text { font-size: 10px; padding: 10px 15px 26px 15px;  }
  .cube-container .cube {  }
  .cube-container .cube.show-front  {}
  .cube-container .cube.show-right  {}
  .cube-container .cube__face--front  {}
  .cube-container .cube__face--right  {}


  .contacts .up-head { font-size:12px; }
  .contacts .emails .head,
  .contacts .phones .head { margin-bottom: 15px; }
  .contacts .emails .str1 { font-size: 14px; line-height: 17px;     margin-bottom: 50px; }
  .contacts .phones .str1,
  .contacts .phones .str2 { font-size: 14px; line-height: 26px; }
  .contacts .moto2 { font-size: 22px; line-height: 24px; }
  .contacts .btn-cta { padding: 20px 60px; }
  .contacts .open-form { margin-top: 30px; }
  .contacts .a-right .form { width: 100%; }
  .contacts .form .field-btns { padding-top: 30px; }

  .footer { flex-wrap: wrap; flex-direction: column; justify-content: space-evenly; }
  ul.social a { padding-bottom: 5px; }
  ul.social { margin-bottom: 0; }
  .social-area { text-align: center; width: 100%;}
  .copyright-area { text-align: center; width: 100%; }

  .cases .up-head { padding: 21px 0 50px 0; font-size: 10px;}
  .cases .page-nav { border-bottom: none; margin: 0; padding-bottom: 30px; }
  .cases .page-nav ul { flex-wrap: wrap; flex-direction: row; }
  .cases .page-nav ul li { width: 100%; margin-bottom:30px; }
  .cases .page-nav a { padding-bottom: 6px; font-size: 12px; }
  .cases .plate-list a { width: 100%; height: 210px; margin:0; padding: 0px 20px; }
  .cases .plate-list a .text { font-size: 17px; line-height: 30px; color:#fff }
  .cases .plate-list a .pic { transform: scale(0.45) translateX(300px); }
  .cases .plate-list li,
  .cases .plate-list li:nth-child(2n+1) { padding: 0 30px 0px 30px; }

  /*.cases .plate-list li.case-brand-b3 .pic { right: 90px; }*/
  .cases .plate-list a .pic.brand-b3 { transform: scale(0.40) translateX(300px); }
  .cases .plate-list a .pic.brand-b4 { transform: scale(0.40) translateX(230px); }
  .cases .plate-list a .pic.web-b1 { transform: scale(0.40) translateX(290px); }
  .cases .plate-list a .pic.web-b2 { transform: scale(0.40) translateX(270px); }
  .cases .plate-list a .pic.web-b3 { transform: scale(0.35) translateX(250px); }
  .cases .plate-list a .pic.web-b4 { transform: scale(0.45) translateX(270px); }
  .cases .plate-list a .pic.web-b5 { transform: scale(0.35) translateX(290px); }
  .cases .plate-list a .pic.video-b1 { transform: scale(0.40) translateX(230px); }
  .cases .plate-list a .pic.smm-b1 { transform: scale(0.35) translateX(410px); }
  .cases .plate-list a .pic.smm-b2 { transform: scale(0.35) translateX(380px); }
  .cases .plate-list a .pic.smm-b3 { transform: scale(0.40) translateX(230px); }
  .cases .plate-list a .pic.smm-b4 { transform: scale(0.35) translateX(300px); }



  .one-case { margin: calc(var(--header-h) + 45px) 6.510417vw 0 6.510417vw; }
  /*   .one-case { margin: calc(var(--header-h) + 45px) 9.375vw 0 9.375vw; } */
  .one-case .page-head {font-size:20px; line-height: 30px; margin: 0 0 40px; }
  .one-case .text { font-weight: 500; font-size: 12px; line-height: 20px; margin-bottom: 40px; }
  .one-case .description { margin-bottom: 0; }
  .one-case ul.gallery li { margin-bottom: 10px;}

  .one-case .btn-cta { width: 195px; }
  .one-case .cta-area { margin: 50px 0 120px 0; }
  .one-case .slide-form-area { width: calc(100% - 15vw); }
  .form .field input,
  .form .field select,
  .form .field textarea { font-size:12px; padding: 10px 0; }

  .error-page { padding-right: 40vw; padding-left: 0; }
  .error-page .title { font-size: 100px;  }
  .error-page .btn-cta { padding:20px; width: 100%; max-width: 260px; }
  .e404 { left: 0% }
  .e503 { right: 0%; }

}

@media screen and (max-width:600px) {
  .e404 { left: 3% }
}


@media screen and (max-width:575px) {
  .e404 { left: -0% }
}


@media (max-width: 575px) and (min-width:531px) {
}


@media (max-width: 530px) and (min-width:500px) {
}


@media (max-width: 499px) and (min-width:470px) {
}


@media (max-width: 469px) and (min-width:400px) {
}


@media screen and (max-width:425px) {
}


@media (max-width: 400px) {
  .e404 { left: -10% }
  .e503 { max-width: 200px; bottom:-10%; }
}


@media (max-width: 399px) and (min-width:376px){
}


@media (max-width: 375px) {
  .e404 { left: -20% }
}


@media (max-width: 375px) and (min-width:350px){
}


@media (max-width: 349px) and (min-width:321px){
}


@media screen and (max-width:320px) {
}


/**
 * Cube hack 2 sides to 3 sides
 */
@media screen and (max-height: 670px) {
  .cube-container .cube { display:none; }
  .cube-container .cube-3rd { display:block; }
}
