/**********************************************
 *
 *  TABLET PREVIEW CONTAINER WIDGET
 *
 **********************************************/
 :root {
    --previewWidth: 500px;
    --previewLeft: 1500px;
  
    --screenWidth: var(--previewWidth)/3;
  
  
    --previewHeight: calc(var(--previewWidth) * 1.3934);
   /* --previewHeightxx: var(--previewWidth * 1.3934);*/
  }
  
  
  .device-preview-container {
    position: absolute;
    width: var(--previewWidth);
    min-width: var(--previewWidth);
    max-width: var(--previewWidth);
    height: var(--previewHeight);
    max-height: var(--previewHeight);
    min-height: var(--previewHeight);
    background-color: rgba(255,0,0,0.0);
    top: 130px;
    left: calc(50% - (var(--previewWidth)*2));
    margin-left: 50px;
    user-select: none;
    transform-style: preserve-3d;
    transform: rotate(
0deg
) scale(1);
    z-index: 1;
    text-align: left;
  }

  

.glossy-screen{
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background: rgba(255,0,0,0);
    border-radius: 20px;
    overflow: hidden;
    pointer-events:none;
}

  .glossy-screen:before{
    content: '';
    position: absolute;
    width: 130%;
    height: 45%;
    top: -10%;
    right: -15%;
    background: rgba(255,255,255,0.3);
    background: linear-gradient(
90deg
,rgba(255,255,255,0.1),rgba(255,255,255,0.3));
    transform: rotate(
10deg
);
    border-bottom-left-radius: 200px 20px;
    border-bottom-right-radius: 200px 10px;
    border-top-right-radius: 5px 100px;
}


  .device-preview-container:after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    /* background-color: rgba(255,0,0,0.1); */
    background-color: #fff;
    box-shadow: rgb(0 0 0 / 40%) 0px 2px 4px, rgb(0 0 0 / 30%) 0px 7px 13px -3px, rgb(0 0 0 / 20%) 0px -3px 0px inset;
    border-radius: 24px;
    z-index: -1;
  }
  .device-preview-screen{
    position: absolute;
    /* background: red; */
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    display: block;
    overflow: hidden;
    border-radius: 18px;
    z-index: 0;
  }

  .device-preview-screen:before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    /* background-color: rgba(255,0,0,0.0); */
    -webkit-box-shadow: inset 0px 0px 0px 9.5px #d3d3d3;
    -moz-box-shadow: inset 0px 0px 0px 9.5px #d3d3d3;
    box-shadow: inset 0px 0px 0px 9.5px #d3d3d3;
    z-index: 5;
    border-radius: 24px;
  }

  .device-preview-screen:after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background-color: rgba(255,0,0,0.0);
    -webkit-box-shadow: inset 0px 0px 0px 10px rgb(255 255 255);
    -moz-box-shadow: inset 0px 0px 0px 10px rgba(255,255,255,1);
    box-shadow: inset 0px 0px 0px 14px rgb(255 255 255);
    border-radius: 30px;
    z-index: 10;
  }
  
  
  .device-preview-container:hover{
   cursor:grab;
  }
  .device-preview-container:active{
   cursor:grabbing;
  /*    transition: 0.5s transform ease;
   -webkit-transition: 0.5s transform ease;
   -moz-transition: 0.5s transform ease;*/
  }
  
  .device-preview-container.start{
   /*transform: rotate(inherit) scale(1.2);*/
   transform-style: preserve-3d;
   /*transform: scale(1.2);
  */
  }
  .device-preview-container.stop{
   transform-style: preserve-3d;
   /*transform:  scale(1.0);
  */
  }
  
  
  
  .device-preview-section {
   width:100%;height:180px;
   background-color:#fff !important;
   position:relative;float:left;
   padding-left: 5px;
      padding-right: 10px;
   display:grid;
  }
  .device-preview-section.hero {
   height:200px;
   border-top-left-radius: 30px;
   border-top-right-radius: 30px;

}
  
  
  
  /**********************************************
   *
   *  TABLET PREVIEW INNER WEBSITE MOCKUP
   *
   **********************************************/
  .preview-image {
    background-image: url(https://derpling.io/_assets/css/photos1.svg);
    background-size: 35%;
    background-position: center center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 4px, rgba(0, 0, 0, 0.2) 0px 8px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
  background-color:#fff;
  }
  .preview-image-hero {
    background-image: url(https://derpling.io/_assets/css/photos1.svg);
    background-size: 25%;
    background-position: center center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
  background-color:#fff;
  }
  
  .preview-template {
    background-color:#fff;
  }
  .preview-template .row {
    margin: 0px;
    height:100%;
  }
  .preview-col {
    height:100%;
    display: flex;
    align-items: stretch;
    padding:15px;
  }
  .preview-col p {
    font-family: 'mockflowfont', sans-serif;
    line-height: 110%;
    padding-left: 15px;
    font-size: 14px;
    padding-right:0px;
    color:#8b8b8b;
    margin:0px;
  }
  
  .preview-text.t-left p {
    padding-left: 15px;
    padding-right:0px;
  }
  .preview-text.t-right p {
    padding-left: 0px;
    padding-right:15px;
  }
  .preview-text.t-hero {
    margin-top:28px;
    padding-right:20px;
  }
  
  .preview-col p.headline{
    font-size: 24px;
    margin-bottom: 8px;
  }
  .preview-col-hero {
    background-color: #fff;
    background-image: url(https://derpling.io/renders/photo_facecamera_6/photo_facecamera_6-Rocky.png);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }
  .hero-pill {
    font-family: 'mockflowfont', sans-serif;
    font-size: 4px;
    line-height: 100%;
    display: inline-block;
    margin-left: 11px;
    background-color: #A644E5;
    padding-left: 5px;
    padding-right: 5px;
    color: #fff;
    padding-top: 2px;
    padding-bottom: 2px;
    border-radius: 20px;
    margin-bottom:-3px;
  }
  .hero-button {
    font-family: 'mockflowfont', sans-serif;
    font-size: 6px;
    line-height: 100%;
    display: inline-block;
    margin-left: 12px;
    background-color: #0073EC;
    padding-left: 8px;
    padding-right: 8px;
    color: #fff;
    padding-top: 7px;
    padding-bottom: 5px;
    border-radius: 20px;
    margin-top: 5px;
  }
  .preview-text {
    margin-top:12px;
  }
  .preview-col-hero p.headline{
    font-size: 28px;
    margin-bottom: 0px;
  }