.btn{
    border-radius: 0;
}
#contents{
	display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    -webkit-align-self: center;
    align-self: center;
    position: fixed;
    margin-top: 60px;
    padding-bottom: 60px;
    height: 100%;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 170px;
    padding-left: 15px;
    padding-right: 15px;
}
.UploadButton {
    -webkit-animation: invisible .6s,fade-in .8s .6s,right-slide-in 1.2s;
    animation: invisible .6s,fade-in .8s .6s,right-slide-in 1.2s;
    position: relative;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    cursor: pointer;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
    border: 4px dashed #b0b0b0;
    width: 190px;
    height: 190px;
    border-radius: 14px;
    transition: box-shadow .3s,background-color .3s,border-color .3s,-webkit-transform .3s;
    transition: box-shadow .3s,background-color .3s,transform .3s,border-color .3s;
    transition: box-shadow .3s,background-color .3s,transform .3s,border-color .3s,-webkit-transform .3s;
    -webkit-animation: fade-in .8s;
    animation: fade-in .8s;
    margin: auto;
}


.UploadButton .plus-icon {
    width: 40px;
    height: 40px;
    fill: #19a896;
    transition: opacity .2s;
    display: none;
}
.UploadButton .camera-icon,
.UploadButton .text{
	display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    height: 30px;
    color: #19a896;
}
.tile + .UploadButton .plus-icon{
    display: block;
}
.tile + .UploadButton .camera-icon,
.tile + .UploadButton .text{
    display: none;
}
.tile_wrapper{
	position: relative;
}

.tile {
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    display: -webkit-flex;
    display: flex;
    width: 253px;
    height: 253px;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
    position: relative;
    margin-right: 10px;
    will-change: transform,scroll-position,width,opacity;
    cursor: pointer;
    -webkit-animation: tile-appear .6s;
    animation: tile-appear .6s;
    transition: all .3s ease-in;
}

.tile.s20_29 {
    /* height: 367px; */
    width: 174px;
}
.tile.s29_20 {
    width: 367px;
}

.tile.s17_20 {
    /*height: 298px;*/
    width: 214px;
}
.tile.s20_17 {
    width: 298px;
}
.tile .crop {
    top: 20px;
}

.tile-base {
    transition: -webkit-filter .2s;
    transition: filter .2s;
    transition: filter .2s,-webkit-filter .2s;
    box-shadow: 2.02px 24.24px 24.24px rgb(0 0 0 / 30%), 6.06px 29.28px 56.55px rgb(0 0 0 / 20%);
    position: absolute;
    top: 1px;
    left: 8px;
    right: 13px;
    bottom: 14px;
    box-shadow: 4px 18px 15px 0 rgb(0 0 0 / 30%), 1px 15px 20px 2px rgb(0 0 0 / 30%);
    background-image: linear-gradient(to right bottom,#fff,#fbfbfb,#f8f8f8,#f4f4f4,#f1f1f1);
}

.tile .crop, .tile .remove, .tile_wrapper .remove {
    cursor: pointer;
    position: absolute;
    right: 30px;
    overflow: hidden;
    width: 36px;
    height: 36px;
    opacity: 1;
    pointer-events: all;
    z-index: 4;
    background-color: #fff;
    box-shadow: 0 4px 4px rgb(0 0 0 / 5%);
    border-radius: 9px;
    visibility: visible;
}
.tile .crop {
    top: 20px;
}
.tile .remove,.tile_wrapper .remove {
    top: -15px;
    right: 0;
    background: #19a896;
    border-radius: 50%;
}
.tile.frame-color-hexagon .remove {
    -webkit-transform: rotate(-120deg);
    -moz-transform: rotate(-120deg);
    -ms-transform: rotate(-120deg);
    -o-transform: rotate(-120deg);
    transform: rotate(-120deg);
}
.tile .remove.frameless {
    top: 60px;
}
.tile .crop.frameless {
    top: 15px;
}
.tile .crop .icon, .tile .remove .icon , .tile_wrapper .remove .icon {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 18px;
    height: 18px;
}
.tile .preview {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    overflow: hidden;
    width: 236px;
    height: 236px;
    margin-top: -13px;
    -webkit-animation: fade-in .4s;
    animation: fade-in .4s;
}

.tile.s20_29 .preview {
    /*height: 342px;*/
    width: 163px;
}
.tile.s29_20 .preview {
    width: 342px;
}
.tile.s17_20 .preview {
    height: 277px;
}
.tile.s20_17 .preview {
    width: 277px;
}

.tile.margin .preview {
    width: 197px;
    height: 197px;
    padding-top: 1px;
    margin-left: -4px;
}

.tile.s20_29.margin .preview {
    /*height: 287px;*/
    width: 127px;
    margin-left: -2px;
}
.tile.s29_20.margin .preview {
    width: 307px;
    margin-left: -6px;
}

.tile .preview .preview-image {
    z-index: 1;
    opacity: 1;
    transition: opacity .3s;
    width : 100%;
    height: 100%;
    object-fit: cover;
}
.tile.gray .preview .preview-image {
	filter: grayscale(1) brightness(.98) contrast(1.08);
}
.tile.hexagon {
    filter: drop-shadow(5px -5px 6px rgba(0,0,0,40%));
    overflow: hidden;
    visibility: hidden;
    -webkit-transform: scale(.25) translate(-200%,-200%) rotate(120deg);
       -moz-transform: scale(.25) translate(-200%,-200%) rotate(120deg);
        -ms-transform: scale(.25) translate(-200%,-200%) rotate(120deg);
         -o-transform: scale(.25) translate(-200%,-200%) rotate(120deg);
            transform: scale(.25) translate(-200%,-200%) rotate(120deg);
}
.tile.hexagon .preview {
    overflow: hidden;
    width: 100%;
    height: 100%;
    -webkit-transform: rotate(-60deg);
       -moz-transform: rotate(-60deg);
        -ms-transform: rotate(-60deg);
         -o-transform: rotate(-60deg);
            transform: rotate(-60deg);
}
.tile.hexagon .preview .preview-image{
    width: 100%;
    height: 100%;
    visibility: visible;
    -webkit-transform: rotate(-60deg);
       -moz-transform: rotate(-60deg);
        -ms-transform: rotate(-60deg);
         -o-transform: rotate(-60deg);
            transform: rotate(-60deg);
}

.TileFrame {
    height: 100%;
    display: -webkit-flex;
    display: flex;
    z-index: 2;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
}
.TileFrame, .TileFrame .frame {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}
.TileFrame .frame{
    display: none;

}
.tile.s20_29 .TileFrame .frame{
	/*transform: scaleY(1.5) translateY(27px);*/
}
.tile.s29_20 .TileFrame .frame{
	/*transform: scaley(.67) translatey(-90px);*/
}
.tile.black .TileFrame .frame:first-child {
    display: block;

}
.tile.white .TileFrame .frame:nth-child(2) {
    display: block;

}
.tile.frameless .TileFrame .frame:nth-child(3) {
    display: block;

}
.tile:hover .preview, .tile:hover .tile-base {
    -webkit-filter: brightness(.77);
    filter: brightness(.77);
}
.tile .message{
    position: absolute;
    bottom: 23px;
    z-index: 9;
    background: #19a896;
    left: 13px;
    right: 19px;
    text-align: center;
    padding: 5px;
    color: #fff;
     -webkit-transition: opacity .3s;
    transition: opacity .3s;
}
.FramePreviewShadow {
    box-shadow: 0.3px 1.3px 1.3px rgb(0 0 0 / 9%), 1.9px 2.5px 1.1px rgb(0 0 0 / 13%), 3.1px 4.1px 2.6px rgb(0 0 0 / 16%), 5px 6.7px 5.8px rgb(0 0 0 / 10%), 12px 12px 9px rgb(0 0 0 / 15%);
}
.FramePreviewShadow.measurements {
    box-shadow: 0 1px 5px rgba(0,0,0,.2),0 1px 0 #d6d6d3,3px 3px 3px rgba(0,0,0,.07)!important;
}
.FramePreviewShadow.frame-color-hexagon {
    box-shadow: none;
}

.FramePreview {
    position: absolute;
    background-color: hsla(0,0%,100%,.8);
    box-shadow: 0 1px 5px rgb(0 0 0 / 20%);
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
    z-index: 1;
}
.tile.fix-frame.frame-color-hexagon,
.FramePreview.fix-frame.frame-color-hexagon {
    filter: drop-shadow(5px -5px 6px rgba(0,0,0,30%));
    overflow: hidden;
    visibility: hidden;
    -webkit-transform: rotate(120deg);
       -moz-transform: rotate(120deg);
        -ms-transform: rotate(120deg);
         -o-transform: rotate(120deg);
            transform: rotate(120deg);
    border: solid;
}

.FramePreview.margin {
    padding:<?php echo intval($template_info['ratio'] * 1.5)?>px;
}

.FramePreview.dotted:hover:not(.preview-mode) {
    transform: scale(1.1);
}
.FramePreview:hover:not(.preview-mode) {
    transform: scale(1.1);
    box-shadow: 0 5px 10px rgba(0,0,0,.3),1px 3px 8px rgba(0,0,0,.1)!important;
}
.tile.fix-frame.frame-color-hexagon:hover:not(.preview-mode),
.FramePreview.fix-frame.frame-color-hexagon:hover:not(.preview-mode) {
    -webkit-transform: rotate(120deg) scale(1.1);
       -moz-transform: rotate(120deg) scale(1.1);
        -ms-transform: rotate(120deg) scale(1.1);
         -o-transform: rotate(120deg) scale(1.1);
            transform: rotate(120deg) scale(1.1);
}

.FramePreview.dotted {
    border: 2px dashed #19a896!important;
    box-shadow: 0 4px 7px 0 rgba(255,0,119,.13)!important;
    background-color: #fff;
    cursor: pointer;
    transition: box-shadow .15s ease-in,transform .125s;
}
.FramePreviewShadow.frame-color-white {
    box-shadow: 0.3px 1.3px 1.3px rgb(0 0 0 / 9%), 1.9px 2.5px 1.1px rgb(0 0 0 / 13%), 3.1px 4.1px 2.6px rgb(0 0 0 / 16%), 5px 6.7px 5.8px rgb(0 0 0 / 10%), 12px 12px 9px rgb(0 0 0 / 15%);
}
.FramePreview.frame-color-black {
    border: solid #1b1b1b;
    border-image: url(/images/decor/black.png) 25 stretch;
    box-shadow: none;
    background: #3a3a3a;
}
.FramePreview.frame-color-white {
    border: solid #fff;
    border-image: url(/images/decor/white.png) 25 stretch;
    box-shadow: none;
    background: #fff;
}
.FramePreview.cropper-frame.frame-color-black {
    box-shadow: -2px -3px 7px rgba(0,0,0,.1)!important;
}
.FramePreview.cropper-frame.frame-color-white {
    box-shadow: -1px -1px 1px rgba(0,0,0,.1)!important;
}
.FramePreview.frame-color-frameless {
    box-shadow: none;
}
.FramePreviewShadow {
    position: absolute;
}
.FramePreview.measurements {
    border-style: solid!important;
    border-color: #19a896!important;
    background: #fff;
    cursor: default;
}

.FramePreview:not(.preview-mode) {
    transition: transform .2s,box-shadow .2s;
}

.FramePreview .tile-uploader {
    z-index: 3;
}
.tile-uploader.skeleton {
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    cursor: pointer;
}
.FramePreview.dotted .plus-icon {
    width:12px !important;
    transition:width .1s;
}
.FramePreview .frame-inner-shadow {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    box-shadow: inset 0 1px 2px rgb(0 0 0 / 35%), inset 1px 1px 5px rgb(0 0 0 / 25%);
}
.FramePreview.frame-color-frameless .frame-inner-shadow {
    display: none;
}
.FramePreview .image-overlay-container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.ImageOverlay {
    background-image: linear-gradient(161deg,hsla(0,0%,100%,.1) 11.2%,hsla(0,0%,93.7%,0) 72.1%);
    z-index: 2;
    position: absolute;
    width: 100%;
    height: 100%;
}
.tile.fix-frame.frame-color-hexagon .preview ,
.FramePreview.fix-frame.frame-color-hexagon .frame-image-container {
    overflow: hidden;
    width: 100%;
    height: 100%;
    -webkit-transform: rotate(-60deg);
       -moz-transform: rotate(-60deg);
        -ms-transform: rotate(-60deg);
         -o-transform: rotate(-60deg);
            transform: rotate(-60deg);
}
.tile.fix-frame.frame-color-hexagon .preview img,
.FramePreview.fix-frame.frame-color-hexagon .frame-image-container img{
    width: 100%;
    height: 100%;
    visibility: visible;
    -webkit-transform: rotate(-60deg);
       -moz-transform: rotate(-60deg);
        -ms-transform: rotate(-60deg);
         -o-transform: rotate(-60deg);
            transform: rotate(-60deg);
}
.tile.fix-frame.frame-color-hexagon .preview div.hexagon,
.FramePreview.fix-frame.frame-color-hexagon .frame-image-container div.hexagon{
    width: 100%;
    height: 100%;
    visibility: visible;
    -webkit-transform: rotate(-60deg);
       -moz-transform: rotate(-60deg);
        -ms-transform: rotate(-60deg);
         -o-transform: rotate(-60deg);
            transform: rotate(-60deg);
}
.tile.fix-frame.frame-color-hexagon .preview img.plus-icon ,
.FramePreview.fix-frame.frame-color-hexagon .frame-image-container img.plus-icon {
    -webkit-transform: unset;
    -moz-transform: unset;
    -ms-transform: unset;
    -o-transform: unset;
    transform: unset;
}
.FramePreview .frame-image-container {
    width: 100%;
    height: 100%;
    background-color: #fff;
    overflow: hidden;
    position: relative;
}
.FramePreview.preview-mode .frame-image-container {
    z-index: 999;
}
.FramePreview.gray .frame-image{
    filter: grayscale(1) brightness(0.98) contrast(1.08);
}
.FramePreview.preview-mode.gray img{
    filter: grayscale(1) brightness(0.98) contrast(1.08);
}
.FramePreview .frame-size {
    position: absolute;
    font-size: 13px;
    color: #19a896;
    font-weight: 700;
    margin-top: 1px;
    white-space: nowrap;
}
.tile.fix-frame.frame-color-hexagon .frame-size ,
.FramePreview.fix-frame.frame-color-hexagon .frame-size {
    overflow: hidden;
    width: 100%;
    height: 100%;
    -webkit-transform: rotate(-60deg);
    -moz-transform: rotate(-60deg);
    -ms-transform: rotate(-60deg);
    -o-transform: rotate(-60deg);
    transform: rotate(-60deg);
}
.tile.fix-frame.frame-color-hexagon .frame-size span,
.FramePreview.fix-frame.frame-color-hexagon .frame-size span{
    width: 100%;
    height: 100%;
    visibility: visible;
    -webkit-transform: rotate(-60deg);
    -moz-transform: rotate(-60deg);
    -ms-transform: rotate(-60deg);
    -o-transform: rotate(-60deg);
    transform: rotate(-60deg);
    display: block;
    background: #19a896;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    color: white;

}

.FramePreview .matting-color {
    position: absolute;
    width: 100%;
    height: 100%;
}
.FramePreview.margin .matting-color {
    box-shadow: rgb(255 255 255) 0px 0px 0px 16px inset;
    border-radius: 0px;
}
.edit-image{
    position: fixed;
    z-index : 1300;
    inset : 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0, 0, 0.5);
    -webkit-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    opacity: 0;
}
.edit-image > div{
    background: #fff;
    width: 100%;
    height: 100%;
}

.edit-image .close-btn{
    background-color: #fff;
    border: 1px solid #d4d3d4;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    padding: unset;
    color: #8c8c8c;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    padding: 10px;
    position: fixed;
    z-index: 2000;
    top: 25px;
    right: 25px;
    -webkit-animation: fade-in .2s .1s forwards;
    animation: fade-in .2s .1s forwards;
}
.edit-image div.wrapper {
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-justify-content: center;
    justify-content: center;
    height: 100%;
    display: -webkit-flex;
    display: flex;
    align-items: flex-start;
}
@media (min-width: 960px){
    .edit-image div.wrapper  {
        min-width: 600px;
        padding-top: 20px;
        padding-bottom: 20px;
    }

}
@media (max-width: 960px){
    .edit-image div.wrapper  {
        -webkit-flex-direction: column;
        flex-direction: column;
        justify-content: center;
        margin-top: -50px;
    }
}
.edit-image div.wrapper .column:first-child {
    -webkit-align-items: center;
    align-items: center;
}
.edit-image div.wrapper .column {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
}
.edit-image .frame-container{
    position: relative;
}
.edit-image .FramePreview{
}
.edit-image .tile.frame-color-hexagon,
.edit-image .FramePreview.frame-color-hexagon{
    overflow: hidden;
    visibility: hidden;
    -webkit-transform: rotate(120deg) ;
       -moz-transform: rotate(120deg) ;
        -ms-transform: rotate(120deg) ;
         -o-transform: rotate(120deg) ;
            transform: rotate(120deg) ;
    filter: drop-shadow(5px -5px 6px rgba(0,0,0,30%));
}
.edit-image .tile.frame-color-hexagon .preview,
.edit-image .FramePreview.frame-color-hexagon .frame-image-container{
    overflow: hidden;
    width: 100%;
    height: 100%;
    -webkit-transform: rotate(-60deg);
       -moz-transform: rotate(-60deg);
        -ms-transform: rotate(-60deg);
         -o-transform: rotate(-60deg);
            transform: rotate(-60deg);
}
.edit-image .tile.frame-color-hexagon #crop-image-wrapper,
.edit-image .FramePreview.frame-color-hexagon #crop-image-wrapper{
    width: 100%;
    height: 100%;
    visibility: visible;
    -webkit-transform: rotate(-60deg);
       -moz-transform: rotate(-60deg);
        -ms-transform: rotate(-60deg);
         -o-transform: rotate(-60deg);
            transform: rotate(-60deg);
}
.edit-image div.wrapper .buttons {
    margin-left : 60px;
    margin-right : 60px;
}
.edit-image .btn-lg {
    width: 100%;
}
#crop-image-wrapper{
    overflow: hidden;
    z-index: 999;
}
#cropbox{
    max-height: 400px;
    max-width: 400px;
    display: none;
}
.slidecontainer {
    padding-top: 30px;
    width: 100%;
}

.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 5px;
  border-radius: 5px;
  background: #d3d3d3;
  outline: none;
  opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s;
}

.slider:hover {
  opacity: 1;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 3px solid #4CAF50;
  background: #fff;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 3px solid #4CAF50;
  background: #fff;
  cursor: pointer;
}
.slidecontainer .cropper-text {
    margin-top: 10px;
    text-transform: uppercase;
    font-size: 12px;
    color: #8c8c8c;
    font-weight: 700;
    letter-spacing: 1.6px;
    z-index: 2;
    text-align: center;
}
.choices {
    display: -webkit-flex;
    display: flex;
}
.choices .choice-button,
.choices .detail-choice-button,
.choices .choice-style-button,
.choices .detail-choice-style-button,
.choices .choice-frame-size-button,
.choices .detail-choice-frame-size-button {
    width: 44px;
    height: 44px;
    margin-right: 12px;
    overflow: hidden;
    position: relative;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity .125s,-webkit-filter .125s;
    transition: filter .125s,opacity .125s;
    transition: filter .125s,opacity .125s,-webkit-filter .125s;
    max-width: 100%;
    max-height: 100%;
}
.choices .choice-button.disabled,
.choices .detail-choice-button.disabled,
.choices .choice-style-button.disabled,
.choices .detail-choice-style-button.disabled,
.choices .choice-frame-size-button.disabled,
.choices .detail-choice-frame-size-button.disabled {
    opacity: .3;
    pointer-events: none;
}

.choices .choice-button.selected  ,
.choices .detail-choice-button.selected , 
.choices .choice-style-button.selected  ,
.choices .detail-choice-style-button.selected{
    border: 2.5px solid #19a896;
}

.choices .choice-frame-size-button,
.choices .detail-choice-frame-size-button  {
    filter: brightness(0);
}
.choices .choice-frame-size-button.selected,
.choices .detail-choice-frame-size-button.selected  {
    filter: brightness(1.0);
}
.choices .choice-button.selected .border ,
.choices .detail-choice-button.selected .border, 
.choices .choice-style-button.selected .border ,
.choices .detail-choice-style-button.selected .border,
.choices .choice-frame-size-button.selected .border ,
.choices .detail-choice-frame-size-button.selected .border {
}
.choices .choice-button .border,
.choices .detail-choice-button .border,
.choices .choice-style-button .border,
.choices .detail-choice-style-button .border,
.choices .choice-frame-size-button .border,
.choices .detail-choice-frame-size-button .border {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    position: absolute;
    border-radius: 4px;
}
.choices .choice-button img ,
.choices .detail-choice-button img,
.choices .choice-style-button img ,
.choices .detail-choice-style-button img ,
.choices .choice-frame-size-button img ,
.choices .detail-choice-frame-size-button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.canvas_wraper{
    display: none;
    position: absolute;
}
.add-photos-button {
    position: absolute;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    margin: 0 auto;
    left: 0;
    right: 0;
    width: 180px;
    height: 50px;
    padding: 0 2.5rem;
    bottom: 18px;
    border-radius: 15%/50%;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 2px 5px rgb(0 0 0 / 25%);
    transition: box-shadow .2s,-webkit-transform .2s;
    transition: transform .2s,box-shadow .2s;
    transition: transform .2s,box-shadow .2s,-webkit-transform .2s;
}
.add-photos-button:hover {
    -webkit-transform: scale(1.07);
    transform: scale(1.07);
    box-shadow: 0 4px 7px rgb(0 0 0 / 35%);
}
.add-photos-button span {
    pointer-events: none;
    color: #19a896;
    font-weight: 700;
}
.add-photo-btn,.checkout-btn{
    position: relative;
    font-weight: 700;
    background: linear-gradient(90deg, #32b7b6, #425389, #214181);
    box-sizing: border-box;
    color: #fff;
    font-size: 18px;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    cursor: pointer;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    transition: background-color .2s,box-shadow .3s;
    height: 52px;
    border-radius: 40px;
}
.add-photo-btn span,
.checkout-btn span,
.add-photo-btn i,
.checkout-btn i{
    color: #fff;
}
.checkout-btn{
    background-color: #19a896;
    color: #fff;
}
.checkout-btn.disabled{
    pointer-events: none;
    opacity: .5;
}
.title {
    color: #333;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .67px;
    margin-bottom: 14px;
}
.function{
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: left;
    justify-content: left;
    position: fixed;
    right: 0;
    top: 60px;
    width: 370px;
    height: calc(100% - 50px);
    display: none;
    border: 1px solid rgba(0, 0, 0, 0.09);
    padding: 0 10px;
}
.product-function{
    max-width: 560px;
}
.ruler-button {
    position: absolute;
    bottom: 18px;
    right: 23px;
    background: #fff;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
    width: 50px;
    height: 50px;
    box-shadow: 0 2px 5px rgb(0 0 0 / 25%);
    transition: box-shadow .2s,-webkit-transform .2s;
    transition: transform .2s,box-shadow .2s;
    transition: transform .2s,box-shadow .2s,-webkit-transform .2s;
}
.preview-button {
    position: absolute;
    bottom: 18px;
    left: 23px;
    background: #fff;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
    width: 50px;
    height: 50px;
    box-shadow: 0 2px 5px rgb(0 0 0 / 25%);
    transition: box-shadow .2s,-webkit-transform .2s;
    transition: transform .2s,box-shadow .2s;
    transition: transform .2s,box-shadow .2s,-webkit-transform .2s;
}
.preview-button img{
    width: 24px;
    fill: #19a896;
}
.template-contents-container{
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
}
.template-contents{
    max-width: 1150px
}
.edit-image .frame-size {
    color: #333;
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 24px;
    display: none;
}
.edit-image .buttons .frame-size {
    display: block;
}
.mobile-product-function,
.mobile-edit-image,
.mobile-close-button{
    display: none
}

.function .icons{
    font-size: 13px;
    padding: 10px 15px 5px;
    border : 1px solid #ccc;
    margin-top: 20px;
    border-radius: 15px;
}
.function .icons p{
    margin-bottom: 5px
}
.function .icons img{
    width: 35px;
    margin-right: 10px;
}
.policy-wrapper{
    margin-top: 20px;
}
.policy-wrapper>div{
    height: 40px;
    overflow: hidden;
    font-size: 13px;
}

.policy-wrapper img{
    width: 40px;
    position: absolute;
}
.policy-wrapper span{
    margin-left: 45px;
    display: inline-block;
    line-height: 20px;
}
#select-image-modal .modal-dialog{
    width: 80%;
    max-width: 80%;
}
.price{
    color: #19a896 !important;
}
.price>span>span{
    text-decoration: line-through;
    margin-left: 10px;
    font-size: 11px;
    color: rgba(0,0,0,.5) !important;
}
.pre-calc .table td,
.mobile-pre-calc .table td{
    border: none;
    padding: 5px 0;
}
.pre-calc .table,
.mobile-pre-calc .table{
    margin-bottom: 0;
}
.mobile-pre-calc{
    width: 150%;
    display: flex;
}
.warning{
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    max-height: 100%;
    display: flex;
    outline: 0;
    z-index: 1200;
    position: fixed;
    flex: 1 0 auto;
    flex-direction: column;
    max-width: 700px;
    margin: auto;
}
.warning .warning-content{
    background-color: #f2f2f2;
    border-radius: 10px;
    margin: 10px;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: center;
    align-items: center;
    padding-top: 24px;
    overflow: auto;
}
.warning .warning-content .dialog-title{
    text-align: center;
    font-weight: 700;
    font-size: 20px;
    padding: 0 24px 18px;
}
.warning .warning-content .dialog-image{
    width: 220px;
    height: 220px;
    object-fit: cover;
    margin-bottom: 17px;
    box-shadow: 0 1px 7px rgb(0 0 0 / 32%);
    transition: width .4s,height .4s;
}
.warning .warning-content .dialog-text{
    text-align: center;
    padding: 0 24px 20px;
    font-weight: 700;
    white-space: pre-line;
}
.warning .warning-buttons{
    background-color: #fff;
    border-radius: 10px;
    margin: 0 10px 10px;
    overflow: hidden;
    box-shadow: 0 8px 10px -5px rgb(0 0 0 / 15%), 0 16px 24px 2px rgb(0 0 0 / 10%), 0 6px 30px 5px rgb(0 0 0 / 9%);
    z-index: 1;
}
.warning .warning-buttons .dialog-button{
    width: 100%;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    padding: 13px 0;
    border-top: 2px solid #e8e8e8;
    cursor: pointer;
}
.backdrop{
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    z-index: 1;
    position: fixed;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    -webkit-tap-highlight-color: transparent;
    transition: opacity 225ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
}
.tooltip.top .tooltip-arrow{
    border-top-color: #19a896;
}
.tooltip-inner{
    background: #19a896;
}
.function .rateit{
    line-height: 25px;
    float: left;
}
.goto-sum-rating-top{
    line-height: 25px;
    float: left;   
    margin-left: 5px;
}
#review-modal .radio>.box {
    border: 1px solid #9e9e9e;
}
#review-modal input[type=radio] ,
#review-modal input[type=checkbox] {
    -ms-opacity: 0;
    opacity: 0;
    width: 0;
    height: 0;
    border: 0;
    display: none;
}
.radio>.box {
    display: inline-block;
    background-color: #fff;
    -ms-border-radius: 50%;
    border-radius: 50%;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    vertical-align: middle;
    margin-right: 5px;
}
.radio.mt10 .text{
    line-height: 32px;
    height: 32px;
    vertical-align: middle;
}
#review-modal input[type=radio]:checked+label>.box {
    border: 1px solid #fd761a;
}
#review-modal input[type=radio]:checked+label>.box:before {
    content: '';
    background-color: #fd761a;
    width: 8px;
    height: 8px;
    -ms-border-radius: 50%;
    border-radius: 50%;
    display: block;
    margin: 3px auto;
}
#review-modal input[type=checkbox]+label {
    border: 1px solid #ccc;
    border-radius: 30px;
    padding: 10px;
    margin: 5px 5px 5px 0;
}
#review-modal input[type=checkbox]+label span{
    font-weight: normal;
    font-size: 12px;
    line-height: 12px;
    white-space: nowrap;
}
#review-modal input[type=checkbox]:checked+label {
    border-color: #ee4d2d;
}
#review-modal input[type=checkbox]:checked+label span{
    color: #ee4d2d !important;
}
.fast-rate-wrapper{
    
}
.fast-rate-wrapper::-webkit-scrollbar{
    display: none;
}
.fast-rate-wrapper > span.fast-rate{
    border: 1px solid #ee4d2d;
    border-radius: 30px;
    padding: 5px;
    font-weight: normal;
    font-size: 12px;
    line-height: 12px;
    color: #ee4d2d;
    display: inline-block;
    margin-bottom: 5px;
}
.select2-container--default .select2-selection--single {
    line-height: 34px;
    height: 34px;
}
.select2-container--default .select2-selection--single {
    padding: 0;
}
.select2-container--default .select2-selection {
    font-size: 13px;
    padding-left: 10px;
    border-radius: 0;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    right: 15px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-width: 5px 5px 0 5px;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
    font-size: 13px;
}
.customer-review .view-image{
    width: 100px;
    height: 100px;
    object-fit : cover;
    position: relative;
    display: inline-block;
    white-space: nowrap;
    vertical-align: bottom;
    border-radius: 1000px;
    cursor: zoom-in;
    padding: 5px;
}
.customer-review .view-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border: 0 none;
    border-radius: 1000px;
}
.fancybox-thumbs {
    top: auto;
    width: auto;
    bottom: 0;
    left: 0;
    right : 0;
    height: 95px;
    padding: 10px 10px 5px 10px;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.3);
}
  
.fancybox-show-thumbs .fancybox-inner {
    right: 0;
    bottom: 95px;
}
.customer-review .review{
    border-bottom: 1px solid #f1f1f1;
    padding:  10px 0;
}
.customer-review .review:last-child{
    border-bottom: none;
}
img.quote{
    width: 15px;
    vertical-align: middle;
    margin-top: -3px;
    display: inline-block;
}
.customer-review .review-info .review-avatar{
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 20px;
    margin:  0 5px 0 0;
}
.customer-review .review-info .review-detail-info{
    height: unset;
    width: calc(100% - 50px);
}
.customer-review .review-des{
    -webkit-line-clamp: unset;
    height: unset;
    margin: 10px 0;
}
.review-image{
    display: flex;
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    -moz-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    align-items: center;
}
.review-upload{
    background: #fff;
    border: 1px dashed rgba(0,0,0,.26);
    width: 54px;
    height: 54px;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -moz-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    cursor: pointer;
    margin-right: 6px;
    margin-bottom: 0px;
}
.review-upload input[type="file"]{
    display: none;
}
.review-preview{
    width: 54px;
  height: 54px;
  position: relative;
  overflow: hidden;
  margin-right: 6px;
  background-size: cover;
  background-position: 50%;
  background-repeat: no-repeat;
}
.review-preview button{
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: absolute;
  right: 0;
  background: rgba(0,0,0,.4);
  border: none;
  outline: none;
  cursor: pointer;
  width: 16px;
  height: 16px;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  top: 0;
  padding: 0;
}
.review-preview .loading{
    background: rgba(0,0,0,.3);
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  position: absolute;
}
.review-preview .loading i{
    top: 50%;
    left: 50%;
    position: absolute;
    color: #fff;
    font-size: 20px;
    -webkit-animation: fa-spin-center 2s infinite linear;
    animation: fa-spin-center 2s infinite linear;
}
.rateit-empty,
.rateit-selected,
.rateit-hover{
    font-family: 'FontAwesome';
}
.sum-rating{
    display: flex;
    flex: 1;
    flex-direction: row;
    padding: 20px 0;
    border: 1px solid #f1f1f1;
}
.sum-rating .sum-rating-top{
    width: 50%;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: space-between;
}
#view-review-modal .modal-body{
    max-height: 70vh;
    overflow-y: auto;
}
.show-review-btn{
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: row;
    margin-top: 10px;
}
.show-view-review-modal-btn,
.show-review-modal-btn{
    background: linear-gradient(90deg, #32b7b6, #425389, #214181);
    color: #fff;
    border-radius: 10px;
    border: none;
}
.show-review-btn .show-view-review-modal-btn{
    margin-right: 5px;
    width: 100%;
    padding: 12px;
}
.show-review-btn .show-review-modal-btn{
    margin-left: 5px;
    width: 100%;
    padding: 12px;
}
.show-view-review-modal-btn:hover,
.show-view-review-modal-btn:active,
.show-view-review-modal-btn:focus,
.show-review-modal-btn:hover,
.show-review-modal-btn:active,
.show-review-modal-btn:focus{
    color: #fff;
}

.sum-rating .sum-rating-detail{
    width: 50%;
}
.sum-rating .sum-rating-detail >div{
    display: flex;
    flex-direction: row;
    justify-items: center;
    vertical-align: middle;
    margin: 5px 0;
}
.sum-rating .sum-rating-detail >div > span{
    width: 50px;
}
.sum-rating .sum-rating-detail .rateit-preset{
    color: rgb(239,107,34);;
}
.sum-rating .progress{
    height: 10px;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    display: inline-block;
    margin: auto 10px;
}
.sum-rating .progress .progress-bar{
    background: rgb(239,107,34);
}
@media (max-width: 990px){
    .product-description{
        -webkit-justify-content: center;
        justify-content: center;
    }
    .product-function{
        margin-top: 20px;
        width: 560px;
    }
    .template-contents{
        max-width: 560px
    }
    .edit-image .frame-size {
        display: block;
    }
    .edit-image .buttons .frame-size {
        display: none;
    }
}
@media (max-width: 768px){
    .function{
        display: none;
    }
    .mobile-product-function,
    .mobile-edit-image{
        display: flex;
        flex-flow : column;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: #fff;
        box-shadow: 0 0 8px rgb(0 0 0 / 30%);
        z-index: 1;
        transition: all 5s;
        justify-content: center;
        align-items: center;
    }
    .edit-image .close-btn{
        display: none;
    }
    .edit-image .mobile-close-button{
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 50px;
        line-height: 50px;
        border-bottom: 1px solid #ccc;
        box-shadow: 0 0 10px rgb(0 0 0 / 30%);
        font-weight: bold;
    }
    .edit-image .mobile-close-button>svg{
        position: absolute;
        margin: 17px 15px;
        top: 0;
        left: 0;
    }
    .edit-image .mobile-close-button>a{
        position: absolute;
        margin: 17px 15px;
        top: 0;
        right: 0;
        height: 16px;
        line-height: 16px;
        text-decoration: none;
        cursor: pointer;
    }
    .edit-image div.wrapper{
        align-items:center;
    }
    .edit-image div.wrapper .buttons{
        display : none;
    }

    .bottom-choices{
        flex-basis: 0px;
        transition: flex-basis 0.2s ease 0s, -webkit-flex-basis 0.2s ease 0s;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: rgb(247, 247, 247);
        width: 100%;
    }
    .bottom-choices.selected{
        flex-basis: 50px;
    }
    .bottom-btn{
        padding: 15px;
        display: flex;
        width: 100%;
        justify-content: center;
    }
    .add-photo-btn, .checkout-btn{
        padding: 0;
        margin: 0;
        width: 100%;
        max-width: 400px;
    }
    .toggle-choices{
        justify-content: space-around;
        margin: 0px 18px;
        font-size: 12px;
        display: flex;
        align-items: center;
        width: 100%;
    }
    .style-chooser{
        align-items: center;
        justify-content: center;
        flex-basis: 50%;
        font-weight: 700;
        text-transform: uppercase;
        padding: 18px 0px 0px;
        display: flex;
        align-items: center;
    }
    .style-chooser.selected{
        color: #19a896;
        fill: #19a896;
    }
    .function .icons img{
        width: 35px;
    }
    .UploadButton.round.floating {
	    width: 70px;
	    height: 70px;
	    position: fixed;
	    bottom: 175px;
	    z-index: 4;
	    right: 17px;
	    margin-right: 0;
	    -webkit-animation: none!important;
	    animation: none!important;
	    transition: none!important;
	    -webkit-transform: unset!important;
	    transform: unset!important;
	}
	.UploadButton.round.floating .plus-icon{
		display: block;
	}
	.UploadButton.round.floating .camera-icon,
	.UploadButton.round.floating .text{
		display: none;
	}
	.UploadButton.round {
	    height: 170px;
	    width: 170px;
	    background: #fff;
	    box-shadow: 0 8px 14px rgb(0 0 0 / 7%);
	    border-radius: 1285.23px;
	    border: unset;
	}
	.UploadButton.round.floating img{
		display: none;
	}
	.tile{
		margin: auto;
	}
    .edit-image > div  {
        -webkit-transition: all .3s ease-in-out;
        -o-transition: all .3s ease-in-out;
        transition: all .3s ease-in-out;
        transform : translate(0,100%);
    }
    .edit-image.show > div  {
        transform: unset;
    }
    .fab-wrapper{
        bottom: 165px !important;
        left: 0;
        right: auto !important;
    }
    .fab{
        left: 10px;
        right: auto !important;
    }
    .fab-wheel{
        left: 15px;
        right: auto !important;
        transform-origin: bottom left !important;
    }
    .fab-wheel .fab-action{
        direction: rtl;
    }
    .fab-action-1{
        left: 0;
        right: auto !important;
    }
    .fab-action-2{
        right: 85px;
        left: auto !important;
    }
    .fab-action-3{
        right: -10px;
        left: auto !important;
    }
    .fab-action-4{
        right: 0;
        left: auto !important;
    }
}
.alertify-notifier.ajs-top{
    top: 50px !important;

}
.alertify-notifier .ajs-message{
    width: 370px;
    padding: 0 !important;
    border-radius: 25px;

}
.alertify-notifier.ajs-right .ajs-message.ajs-visible {
    right: 370px;
}
.select-frame{
	cursor: pointer;
}
@media (min-width: 768px) {
	#contents{
		flex-wrap: wrap;
		-webkit-flex-wrap: wrap;
		max-width: calc(100% - 370px);
		align-items: center;
		padding-top: 35px;
		bottom: 0;
        justify-content: center;
        -webkit-justify-content: center;
        background: url(/images/background/desk_decor.jpg);
        background-size: cover;
	}
	.tile {
	    margin: 10px;
	    -webkit-animation: small-tile-appear .6s;
	    animation: small-tile-appear .6s;
	}
    .UploadButton{
        background: #fff;
    }
	.UploadButton.floating.round{
	    display: flex;
	    margin: 10px;
	}
	.UploadButton .plus-icon{
		display: none;
	}
	
	.function{
		display: block;
	}
    .edit-image > div  {
        position: absolute;
        background: #fff;
        max-width: 1000px;
        margin: auto;
        left: 50%;
        padding: 20px 50px;
        width: auto;
        height: auto;
        top: 50%;
        -webkit-transition: all 0.3s 0.05s ease-out;
        -o-transition: all 0.3s 0.05s ease-out;
        transition: all 0.3s 0.05s ease-out;
        transform: translate(-50%,-50%) scale(0);
    }
    .edit-image.show > div  {
        transform: translate(-50%,-50%) scale(1);
    }
    .edit-image .close-btn{
        top : -25px;
        right : -25px;
    }
    .edit-image div.wrapper .buttons{
        margin-right: 0
    }
    
}
.thumbnail .close{
    position: absolute;
    right: 6px;
    top: 0px;
}
@-webkit-keyframes fa-spin-center {
  0% {
    -webkit-transform: translate(-50%,-50%) rotate(0deg);
    transform: translate(-50%,-50%) rotate(0deg);
  }
  100% {
    -webkit-transform: translate(-50%,-50%) rotate(359deg)
    transform: translate(-50%,-50%) rotate(359deg);
  }
}
@keyframes fa-spin-center {
  0% {
    -webkit-transform: translate(-50%,-50%) rotate(0deg);
    transform: translate(-50%,-50%) rotate(0deg);
  }
  100% {
    -webkit-transform: translate(-50%,-50%) rotate(359deg);
    transform: translate(-50%,-50%) rotate(359deg);
  }
}
/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-device-width : 320px) and (max-device-width : 413px) {
/* Styles */

    .edit-image .frame-size{
        display: none;
    }
}
/* Smartphones (landscape) ----------- */
@media only screen and (min-width : 321px) {
/* Styles */
}
/* Smartphones (portrait) ----------- */
@media only screen and (max-width : 320px) {
/* Styles */
}
/* iPads (portrait and landscape) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {
/* Styles */
}
/* iPads (landscape) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
/* Styles */
}
/* iPads (portrait) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
/* Styles */
}
/**********
iPad 3
**********/
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) and (-webkit-min-device-pixel-ratio : 2) {
/* Styles */
}
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) and (-webkit-min-device-pixel-ratio : 2) {
/* Styles */
}
/* Desktops and laptops ----------- */
@media only screen  and (min-width : 1224px) {
/* Styles */
}
/* Large screens ----------- */
@media only screen  and (min-width : 1824px) {
/* Styles */
}
/* iPhone 4 ----------- */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) and (orientation : landscape) and (-webkit-min-device-pixel-ratio : 2) {
/* Styles */
}
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) and (orientation : portrait) and (-webkit-min-device-pixel-ratio : 2) {
/* Styles */
}
/* iPhone 5 ----------- */
@media only screen and (min-device-width: 320px) and (max-device-height: 568px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 2){
/* Styles */
}
@media only screen and (min-device-width: 320px) and (max-device-height: 568px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 2){
/* Styles */
}
/* iPhone 6 ----------- */
@media only screen and (min-device-width: 375px) and (max-device-height: 667px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 2){
/* Styles */
}
@media only screen and (min-device-width: 375px) and (max-device-height: 667px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 2){
/* Styles */
}
/* iPhone 6+ ----------- */
@media only screen and (min-device-width: 414px) and (max-device-height: 736px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 2){
/* Styles */
}
@media only screen and (min-device-width: 414px) and (max-device-height: 736px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 2){
/* Styles */
}
/* Samsung Galaxy S3 ----------- */
@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 2){
/* Styles */
}
@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 2){
/* Styles */
}
/* Samsung Galaxy S4 ----------- */
@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 3){
/* Styles */
}
@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 3){
/* Styles */
}
/* Samsung Galaxy S5 ----------- */
@media only screen and (min-device-width: 360px) and (max-device-height: 640px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 3){
/* Styles */
}
@media only screen and (min-device-width: 360px) and (max-device-height: 640px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 3){
/* Styles */
}
.frame {
    display: inline-block;
    padding: 4px;
    border-radius: 14px;
    box-shadow:
    inset 2px 2px 4px rgba(255,255,255,.8),
    inset -2px -2px 4px rgba(0,0,0,.2),
    0 10px 25px rgba(0,0,0,.3);
    margin: 20px;
    position: relative;
    cursor: pointer;
    -webkit-animation: tile-appear .6s;
    animation: tile-appear .6s;
    transition: all .3s ease-in;
}
.frame.silver {
    background: linear-gradient(
        145deg,
        #ffffff,
        #d9d9d9,
        #9f9f9f,
        #eeeeee,
        #b5b5b5
    );
}

.frame.gold {
    background: linear-gradient(
        145deg,
        #fff8dc,
        #f9e27d,
        #d4af37,
        #ffd700,
        #b8860b
    );
}

.frame.white {
    background: linear-gradient(
        145deg,
        #ffffff,
        #fcfcfc,
        #f5f5f5,
        #ffffff,
        #f8f8f8
    );
}
.frame.black {
    background: linear-gradient(
        145deg,
        #3c3c3c,
        #1f1f1f,
        #0f0f0f,
        #2b2b2b,
        #181818
    );
}

.frame .img_wrapper {
    display: block;
    border-radius: 10px;
    width: 240px;
    height: 180px;
    cursor: pointer;
    overflow: hidden;
}
.frame.s15_20 .img_wrapper {
    width: 135px;
}
.frame.s20_15 .img_wrapper {
    width: 240px;
}
.frame.s20_30 .img_wrapper {
    width: 120px;
}
.frame.s30_20 .img_wrapper {
    width: 270px;
}
.frame .img_wrapper:hover {
    filter: brightness(0.5);

}
.frame .img_wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.frame .remove {
    top: -12px;
    right: -12px;
    background: #19a896;
    border-radius: 50%;
    cursor: pointer;
    position: absolute;
    overflow: hidden;
    width: 30px;
    height: 30px;
    opacity: 1;
    pointer-events: all;
    z-index: 4;
    box-shadow: 0 4px 4px rgb(0 0 0 / 5%);
    visibility: visible;
}
.frame .remove .icon {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 18px;
    height: 18px;
}
