.modal-emailPreivew-wrapper {
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.56);
  z-index: 10002;

  #emailPreivew-container {
    position: relative;
    left: 18vw;
    width: 82vw;
    height: 100vh;
    background: rgba(255,255,255,1);
    // padding: 0 24px 0 24px;
    overflow-y: auto;
    // font-family: 'proxima-nova';
    overflow: hidden;

    .emailPreivew-header {
      display: inline-flex;
      width: 100%;
      padding: 16px 24px;
      -webkit-box-shadow: 0px 0px 4px 2px rgba(0,0,0,0.12);
      -moz-box-shadow: 0px 0px 4px 2px rgba(0,0,0,0.12);
      box-shadow: 0px 0px 4px 2px rgba(0,0,0,0.12);
      margin-bottom: 6px;
      height: 56px;
      align-items: center;
      .heading-title {
        font-size: 20px;
        line-height: 24px;
        font-weight: 600;
        width: 97%;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;

        &:first-letter{
          text-transform: capitalize;
        }
      }
      .close-emailPreivew{
        cursor: pointer;
      }
    }

    #emailPreivew-content-wrapper{
      width: 100%;
      height: 90%;
      overflow: auto;
      // display: table;

      #emailPreivew-content {
        .email-preview-device-tabs .ant-tabs-bar {
          justify-content: center;
          flex-direction: none;
        }
        .email-preview-container{
          .shell {
            position: relative;
            -webkit-transform: unset;
            transform: unset;
            left: unset;
            padding: unset;
            width: unset;
            display: flex;
            justify-content: center;
          }
          .email-subject-mobile {
            width: 310px;
            text-align: left;
            margin: 8px 0;
            margin-left: 4px;
          }
          .email-subject-tablet {
            width: 450px;
            text-align: left;
            margin: 8px 0;
            margin-left: 4px;
          }
          .email-subject-desktop {
            text-align: left;
            margin-left: 6%;
            margin-bottom: 8px;
          }
          .tablet-message-container-v2 {
            position: absolute;
            top: 9%;
            height: 100%;
            overflow: auto;
          }
          .mobile-message-container-v2 {
            position: absolute;
            top: 10.3%;
            height: 100%;
          }
        }
        padding: 0 0px 0 24px;
        // display: table-cell;
        // vertical-align: middle;
        text-align: center;
        margin-bottom: 36px;
      }
    }
  }
}

.show-emailPreivew {
  visibility: visible;
  opacity: 1;
  transition: visibility 1s linear 0.33s, opacity 0.33s linear;
}
.hide-emailPreivew {
  visibility: hidden;
  opacity: 0;
  transition-delay: 0s;
}
