/* @import url(https://cdn.jsdelivr.net/gh/moonspam/NanumSquare@1.0/nanumsquare.css); */

.cms-coolsms-md-preview {
  padding: 50px 0;
  display: block;
}

.cms-coolsms-md-preview p {
  margin: 0;
  text-align: left;
}

.cms-coolsms-md-phone {
  width: 378px;
  height: 777.7px;
  margin: 0 auto;
  background-image: url(phone.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: #fff;
  padding-top: 22px;
}

.cms-coolsms-md-phone-inner {
  height: 100%;
  margin-left: 4px;
}

.cms-coolsms-md-top {
  width: 326.2px;
  height: 111.3px;
  background-image: url(inner-top.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  margin: 0 auto;
  position: relative;
}

.cms-coolsms-md-top::after {
  content: "";
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(phone-camera.png);
  width: 141.4px;
  height: 27.3px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.cms-coolsms-md-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 13px 0 30px;
}

.cms-coolsms-md-logo-wrapper {
  display: flex;
  align-items: center;
}

.cms-coolsms-md-curtime {
  font-size: 16px;
  letter-spacing: 0.04em;
  font-weight: bold;
}

.cms-coolsms-md-icon {
  display: block;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: block;
}

.cms-coolsms-md-logo-wrapper .cms-coolsms-md-icon:not(:first-child) {
  margin-left: 7px;
}

.cms-coolsms-md-cell {
  background-image: url(logo-signal.png);
  width: 17px;
  height: 14px;
}

.cms-coolsms-md-wifi {
  background-image: url(logo-wifi.png);
  width: 11px;
  height: 10px;
}

.cms-coolsms-md-battery {
  background-image: url(logo-battery.png);
  width: 25px;
  height: 12px;
}

.cms-coolsms-md-target {
  position: relative;
  padding-top: 50px;
  text-align: center !important;
}

.cms-coolsms-md-target::before {
  content: "";
  background-image: url(user-round.png);
  width: 44px;
  height: 44px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.cms-coolsms-md-target::after {
  content: "";
  background-image: url(larr-blue.png);
  width: 12px;
  height: 18px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  top: 13px;
  left: 13px;
}

.cms-coolsms-md-target span {
  position: relative;
  font-family: "Nanum Square";
  font-size: 14px;
  letter-spacing: 0.03em;
  padding-right: 17px;
}

.cms-coolsms-md-target span::after {
  content: "";
  background-image: url(rarr-gray.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 9px;
  height: 13px;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.cms-coolsms-md-center {
  background-color: #111;
  width: 326.2px;
  margin: 0 auto;
  padding-top: 16px;
  height: calc(100% - 265px);
  overflow-y: scroll;
}

.cms-coolsms-md-center .cms-coolsms-md-msg-time {
  text-align: center;
  margin-bottom: 13px;
}

.cms-coolsms-md-center .cms-coolsms-md-msg-time span {
  font-family: "Nanum Square";
  font-weight: 300;
  letter-spacing: 0.03em;
  color: #8d8d92;
  font-size: 12px;
}

.cms-coolsms-md-center .cms-coolsms-md-msg-box {
  width: 223px;
  border-radius: 20px;
  background-color: #29292b;
  padding: 20px 18px;
  font-family: "Nanum Sqaure";
  letter-spacing: 0.03em;
  line-height: 25px;
  margin-left: 10px;
}

.cms-coolsms-md-msg-box .cms-coolsms-md-msg-title {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.12em;
}

.cms-coolsms-md-msg-box .cms-coolsms-md-msg-desc {
  font-size: 17px;
}

.cms-coolsms-md-bottom {
  background-image: url(bottom.png);
  background-size: cover;
  background-repeat: no-repeat;
  width: 326.2px;
  height: 101.5px;
  margin: 0 auto;
  background-color: #222;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
}

.cms-coolsms-md-preview .cms-coolsms-md-caution {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.04em;
  text-align: center;
  color: #222;
  margin-top: 20px;
}

@media screen and (max-width: 820px) {
  .cms-coolsms-md-phone {
    width: 300px;
    height: 620px;
    padding-top: 14px;
  }

  .cms-coolsms-md-top {
    width: 266px;
    height: 88px;
  }

  .cms-coolsms-md-top::after {
    width: 112px;
    height: 22px;
  }

  .cms-coolsms-md-status-bar {
    padding: 17px 10px 0 20px;
  }

  .cms-coolsms-md-curtime {
    font-size: 15px;
  }

  .cms-coolsms-md-logo-wrapper .cms-coolsms-md-icon:not(:first-child) {
    margin-left: 4px;
  }

  .cms-coolsms-md-cell {
    width: 19px;
    height: 11px;
  }

  .cms-coolsms-md-wifi {
    width: 16px;
    height: 10px;
  }

  .cms-coolsms-md-battery {
    width: 25px;
    height: 10px;
  }

  .cms-coolsms-md-target::before {
    width: 34px;
    height: 34px;
  }

  .cms-coolsms-md-target::after {
    width: 9px;
    height: 14px;
    top: 11px;
  }

  .cms-coolsms-md-target span {
    font-size: 9px;
    padding-right: 9px;
  }

  .cms-coolsms-md-target span::after {
    width: 5px;
    height: 7px;
  }

  .cms-coolsms-md-target {
    padding-top: 31px;
  }

  .cms-coolsms-md-center {
    width: 259px;
    height: calc(100% - 210px);
    padding-top: 9px;
  }

  .cms-coolsms-md-msg-time {
    margin-bottom: 8px;
  }

  .cms-coolsms-md-center .cms-coolsms-md-msg-time span {
    font-size: 10px;
  }

  .cms-coolsms-md-center .cms-coolsms-md-msg-box {
    line-height: 18px;
    width: 181px;
    border-radius: 15px;
    padding: 13px 16px;
  }

  .cms-coolsms-md-msg-box .cms-coolsms-md-msg-title {
    font-size: 15px;
  }

  .cms-coolsms-md-msg-box .cms-coolsms-md-msg-desc {
    font-size: 13px;
  }

  .cms-coolsms-md-bottom {
    width: 268px;
    height: 81px;
  }

  .cms-coolsms-md-bottom {
    border-bottom-left-radius: 35px;
    border-bottom-right-radius: 35px;
  }

  .cms-coolsms-md-preview .cms-coolsms-md-caution {
    font-size: 14px;
  }
}
