body, input, select, label {
  font-weight:400;
}


ul { list-style: none; padding: 0; margin: 0; }

.parametrs { flex: 30%; padding-right: 30px; }
.memoji_side { flex: 70%; text-align: center;}


.row__{
  background-color: #fff;
  width: 100%;
          box-sizing: border-box;
}

.options-block{
    margin-bottom: 30px;
}


#recently_memojies ul::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

#recently_memojies ul::-webkit-scrollbar-track {
    -webkit-border-radius: 0;
    border-radius: 0;
    background: #c6c7ca;
}

#recently_memojies ul::-webkit-scrollbar-thumb {
    //-webkit-border-radius: 10px;
    //border-radius: 10px;
    background: #777779;
    cursor: pointer;
}
#recently_memojies ul::-webkit-scrollbar-thumb:window-inactive {
  background: #656566;
}


#button_memoji {
  caret-color: transparent;
  background-image: url(../wallpaper/memoji-icon.png);
    background-repeat: no-repeat;
    background-size: 48px;
    background-position: 15px center;
    display: inline-block;
    padding: 15px 20px 15px 70px;
    width: auto;
        float: none;
}
#button_memoji.disabled { opacity: 0.4; cursor: default; }
#download-link.disabled { opacity: 0.4; cursor: default; }

.button {
    cursor: pointer;
    min-width: 120px;
    text-decoration: none;
    clear: both;
    color: #fff !important;
    font-size: 16px;
    border: none;
    background-color: #000;
    margin-bottom: 5px;
    margin-left: 0px;
    margin-right: 0px;
    text-align: center;
    display: inline-block;
    font-weight: bold;
    padding: 20px 2em 20px 2em;
    border-radius: 30px;
}

.generate_memoji_btn{
  padding: 15px 0 0 0;
}

.generate_memoji_btn a{
    width: 100%;
    box-sizing: border-box;
}

#download-link, #download-link-email {
    background: linear-gradient(
    320deg, #6de9bd, #3e6edd, #7d41f2);
    background-size: 100% 100%;
    margin-top: 30px;
    margin-bottom: 30px;
        width: initial;
            float: none;
}

.signup-form .needtochecktext {
 position: absolute;
}
.needtochecktext {
margin-left: 20px;
    color: rgb(230, 100, 100);
    font-size: 13px;
    margin-top: -18px;
}

.memoji_canvas{
   width: 250px;
       max-width: 100%;
   position: relative;
   margin: 0 auto;
       margin-top: 20px;
}

canvas {
  background:gray;
  width: 100%;
  max-width: 100%;
  max-height:100%;
  border-radius:8px;
  font-size:16px;
}

.memoji_canvas img{
    position: absolute;
    width: 98%;
        left: 1%;
        top: 1%;
}

#emojiPicker {
    background-color: #f5f4ff;
    border-radius: 8px;
    font-size: 15px;
    padding: 5px 0 0 0;
    margin: 15px 0;
    min-height: 60px;
    overflow: visible;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5ss ease-in-out;
    overflow: hidden;
    position: relative;
}

#emojiPicker img { max-width: 50px!important;    display: inline; }
#emojiPicker #countEmoji { position: absolute; right: 10px; color: #a7a7a7; }
#emojiPicker #countEmoji.limitEmoji { color: #ff7695 }

#emojiPicker a::after
{
    content: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pjxzdmcgdmlld0JveD0iMCAwIDI0IDI0IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjx0aXRsZS8+PHBhdGggZD0iTTEyLDJBMTAsMTAsMCwxLDAsMjIsMTIsMTAsMTAsMCwwLDAsMTIsMlptMy4yMSwxMS43OWExLDEsMCwwLDEsMCwxLjQyLDEsMSwwLDAsMS0xLjQyLDBMMTIsMTMuNDFsLTEuNzksMS44YTEsMSwwLDAsMS0xLjQyLDAsMSwxLDAsMCwxLDAtMS40MkwxMC41OSwxMmwtMS44LTEuNzlhMSwxLDAsMCwxLDEuNDItMS40MkwxMiwxMC41OWwxLjc5LTEuOGExLDEsMCwwLDEsMS40MiwxLjQyTDEzLjQxLDEyWiIgZmlsbD0iIzQ2NDY0NiIvPjwvc3ZnPg==');
    position: absolute;
    display: inline-block;
    width: 16px;
    margin: 0 0 0 -10px;

}

#emojiPicker a { cursor: pointer;     display: inline;}

#recently_memojies {
  width: 500px;
  max-width: 100%;
  background-color: #f5f4ff;
  border-radius: 8px;
  font-size: 15px;
  padding: 15px 0 0 0;
  margin: 15px 0;
  overflow: visible;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5ss ease-in-out;
  overflow: hidden;
}

#recently_memojies div { text-align:center; }
#recently_memojies ul { list-style: none; margin: 0; white-space: nowrap; overflow-x: auto; }
#recently_memojies ul li { display: inline-block; line-height: unset; margin: 0 5px; border: 2px solid transparent; cursor: pointer; border-radius: 4px; }
#recently_memojies ul li img { width: 80px; }
#recently_memojies ul li.mCurrent { border: 2px solid #1b00ff5c; }

.row__ { display: flex; flex-flow: row wrap; flex-wrap: nowrap; }

.info_memoji {
    display: none;
    background-color: #f5f4ff;
    border-radius: 8px;
    font-size: 15px;
    padding: 20px;
    margin: 15px 0;
    overflow: visible;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5ss ease-in-out;
}


.info_memoji h4{
    font-size: 14px!important;
    margin-bottom: 15px;
}

.info_memoji ol li {
    font-size: 14px!important;
    margin-bottom: 10px;
    line-height: 20px;
}

.info_memoji ol li img{
    vertical-align: sub;
}
.info_memoji  img,  .info_memoji  a {
    display: inline;
}

.info_memoji ol li::before {
    font-weight: normal;
}


.info_memoji .info_memoji_howto {
    font-size: 13px;
    padding-left: 25px;
    background-image: url(../wallpaper/imgs/info-icon.png);
    background-repeat: no-repeat;
    background-size: 16px;
    color: #0009;
    margin-top: 20px;
}

.memojiChange   .info_memoji  {
  position: relative;
    background-color: #f2f3ff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.01);
}

.info_memoji::after {
    content: "";
    -webkit-transition: opacity 0.5s linear;
    -moz-transition: opacity 0.5s linear;
    -o-transition: opacity 0.5s linear;
    transition: opacity 0.5s linear;
    opacity: 0;
}
.memojiChange    .info_memoji::after {
    opacity: 1;
  position: absolute;
  content: "";
  top: -5px;
  left: -10px;
  right: 0;
  z-index: -1;
  height: 100%;
  width: 100%;
  transform: scale(0.9) translateZ(0);
  filter: blur(15px);
  background: linear-gradient(to left, #ff5770, #e4428d, #c42da8, #9e16c3, #6501de, #9e16c3, #c42da8, #e4428d, #ff5770);
  background-size: 200% 200%;
  -webkit-animation: animateGlow 1.25s linear infinite;
          animation: animateGlow 1.25s linear infinite;
}

@-webkit-keyframes animateGlow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

@keyframes animateGlow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

.memojiChange   .info_memoji ol li img  {
transform: translatey(0px);
animation: float 1s ease-in-out infinite;
}

.custom-select {
    position: relative;
    display: inline-block;
    padding: 0;
    border: 1px solid #bbb;
    border-radius: 0.3em;
    background: #fff;
    background-color: #fff;
}

.custom-select select {
    width: 100%;
    margin: 0;
    background: none;
    border: 1px solid transparent;
    outline: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    font-size: 16px;
    color: #444;
    padding: 0.4em 1.9em 0.4em 0.8em;
    line-height: 1.3;
}

.custom-select::after {
    content: "";
    position: absolute;
    width: 9px;
    height: 8px;
    top: 50%;
    right: 0.8em;
    margin-top: -4px;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA50lEQVR4Xt2MQWqEQBBFK4oLcaEbEQWNuNKFtuABJjeYHCVHyxHmBp0cIWsX3XvFTn0oQoOEYbbz4dHVVf9/ehIty3Jl0gf8KTIETdN0UUo5fvU4jndL4IFXMhcahsEwTtB93/9bghs8nt8E+75/bNtGwszcuq47lWCHm3gIIEtQ27bXpmkM4wRd1/VfCWbsvLtBhnxVVaXKsjSME0xRFIo57eEl0Qt5yvNcHcdx4zGTlcXj/4MgeFvX9ftcIGRZ9solnzzOjK8vDr9ba3/onpIkSeM41owTNHb0iKIoSsMw1AAzPa9+Ab+Vat2gkD80AAAAAElFTkSuQmCC');
    background-repeat: no-repeat;
    background-size: 100%;
    z-index: 2;
    pointer-events: none;
}

input[type="color"] {
    //-webkit-appearance: none;
    background: transparent;
    padding: 2px 5px;
    width: 130px;
    height: 37px;
    vertical-align: top;
    border: 1px solid #bbb;
    border-radius: 0.3em;
    display: inline-block;
}

.pattern {  }
.pattern input[type="radio"] { display: none; }
.pattern label {
  display: inline-block;
  background-color: #ddd;
  padding: 0;
  width: 50px;
  height: 50px;
  border-radius: 4px;
  font-size: 0px;
  cursor: pointer;
  vertical-align: top;
}

.pattern input[type="radio"]+label { border: 1px solid #e3e3e3; background-color: #fff; background-size: 80% !important;  }

.pattern input[type="radio"][value='grid']+label { background: url(../wallpaper/imgs/001-menu.png) no-repeat 50% 50%;  }
.pattern input[type="radio"][value='diamond']+label { background: url(../wallpaper/imgs/002-layout.png) no-repeat 50% 50%; }
.pattern input[type="radio"][value='spiral']+label { background: url(../wallpaper/imgs/003-spiral.png) no-repeat 50% 50%; }

.pattern input[type="radio"]:checked+label { background-color: #f7f7f7; border: 1px solid #898dff; }


.also_love {
  margin-bottom: 50px;
  border-bottom: 1px solid #f5f4ff;
}
.also_love h2{
    text-align: center;
    margin-bottom: 30px;
}
.also_love .product_photo{
    width: 56%;
    float: left;
    text-align: center;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}
.also_love .product_photo img{
    width: 100%;
}

.also_love .product_photo span { position: absolute; left: 0; top: 0; right: 0; bottom: 0; margin: auto; display: block; width: 160px; height: 160px; }
.also_love .product_photo span img { width: 100%; }

.also_love .product_info{
    float: left;
    width: 44%;
    box-sizing: border-box;
    padding-top: 50px;
}

.also_love .product_name{
      margin-top: 10px;
   font-size: 32px;
   font-weight: bold;
   line-height: normal;
}

.also_love .product_name a{
    color: #000;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.1;
    font-family: 'Open Sans', sans-serif;
}

.also_love .product_rating img{
    width: 100px;
    vertical-align: bottom;
}

.also_love .button{
    background-color: #cf000f;
    width: 100%;
    box-sizing: border-box;
    margin: 20px 0px 20px 0px;
}

.product_review img{
    width: 80px;
    border-radius: 50%;
    float: left;
    margin-right: 20px;
}
.product_review p{
    padding-top: 20px;
    line-height: 22px;
}


.asseenon {
	width: 100%;
	margin: 0 auto;
	margin-top: 5px;
}

.asseenon .asseenon-title {
	font-weight: bold;
	text-align: left;
	margin: auto;
	font-size: 12px;
	text-transform: uppercase;
	line-height: 1.8em;
	letter-spacing: .1em;
	float: left;
	width: 50px;
	margin-left: 20px;
	padding-top: 15px;
	opacity: 0.5;
}

.asseenon .asseenon-logos {
	padding-bottom: 30px;
	    text-align: center;
}

.asseenon .asseenon-logos a{
	display: inline-block;
	vertical-align: middle;
	width: 50%;
	float: left;
	height: 50px;
}

.asseenon .asseenon-logos a img{
	padding-right: 15px;
	    padding-left: 15px;
	    width: 150px;
	    margin: 0;
	    position: absolute;
	    top: 50%;
	    left: 50%;
	    transform: translate(-50%, -50%);
}



#popup_memoji { width: 800px; max-width: 100%; }
#popup_memoji .logo { width: 150px; }
.email_leftpopup {
    float: left;
    background-image: url(../wallpaper/imgs/mac-memoji-wp.jpeg);
    min-height: 500px;
    width: 340px;
    background-position: center;
    background-size: cover;
}

.signup-form {
    float: right;
    color: #000;
    width: calc( 100% - 340px );
    padding: 40px;
    box-sizing: border-box;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
}

.signup-form h2.signup-form-title {
    font-size: 42px;
    margin-top: 20px;
    font-weight: bold;
    line-height: 56px;
    padding: 0 10px;
    margin-bottom: 10px;
}

.signup-form-description {
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 10px;
    line-height: 1.6em;
    color: #000;
}

.signup-form-container .form { width: 100%; }
.signup-form-container .form input[name=email] {
    border: 1px solid #E7E7E7;
    margin-bottom: 20px;
    margin-top: 5px;
    display: block;
    border-radius: 5px;
    padding-left: 10px;
    font-size: 14px;
    padding-top: 7px;
    padding-bottom: 7px;
    margin: 20px auto;
    width: 340px;
    box-sizing: border-box;
}

.signup-form-container button { display: block;
    float: none;
    clear: both;
    background: linear-gradient( 320deg, #6de9bd, #3e6edd, #7d41f2);
    margin: 20px auto;
    width: 340px;
    padding: 10px 20px 12px;
    border-radius: 6px;
    font-weight: normal;
}

#just-download { color: #a1a1a1; font-weight: normal; font-size: 14px }

@media (orientation: landscape) and (max-height: 640px) { #popup_memoji .logo { display: none; } #recently_memojies { height: 100%; } }

@media screen and (max-width: 640px) {
    .row__ { display: block; }
    .parametrs { flex: 100%; padding-right: 0; }
    .memoji_side { flex: 100%;margin-top: 70px;}
    #recently_memojies { max-width: 100%; }

    .button { display: block; }


    .email_leftpopup {
        float: none;
        min-height: 200px;
        background-position: center 35%;
        background-size: 150%;
        width: auto;
    }

    .signup-form {
        float: none;
        width: 100%;
    }

    #popup_memoji { width: 100% !important; }
    #popup_memoji .logo { display: none; }
    .signup-form h2.signup-form-title {
        font-size: 38px;
        margin-top: 0;
        font-weight: bold;
        line-height: 46px;
        padding: 0;
    }

    .signup-form-container .form input[name=email], .signup-form-container button { width: 100%; }

    .fancybox-wrap {
        left: 0!important;
        width: 100%!important;
    }
    .fancybox-inner {
        width: 100%!important;
        height: auto!important;
    }

    .also_love .product_photo, .also_love .product_info{
      width: 100%;padding: 0;
    }

    .also_love .product_photo span { width: 90px; height: 90px; }

}
