@charset "UTF-8";
@import url(fonts.css);

body {
  font-family: 'Noto Sans KR', sans-serif;
  min-width: 320px;
  color: #39304e;
  word-break: keep-all;
}

a {
  color: #212529;
}

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

.text-primary {
  color: #7f41b4 !important;
}
.text-success {
  color: #7bd5ca !important;
}
.text-danger {
  color: #bc592f !important;
}
.text-warning {
  color: #ffd76c !important;
}

.bg-primary {
  background-color: #7f41b4 !important;
}
.bg-success {
  background-color: #7bd5ca !important;
}
.bg-danger {
  background-color: #bc592f !important;
}
.bg-warning {
  background-color: #ffd76c !important;
}

.btn-primary {
  background-color: #7f41b4;
  border-color: #7f41b4;
}
.btn-primary:hover,
.btn-primary:not(:disabled):not(.disabled):active {
  color: #fff;
  background-color: #5b2e81;
  border-color: #5b2e81;
}
.btn-success {
  background-color: #7bd5ca;
  border-color: #7bd5ca;
}
.btn-success:hover,
.btn-success:not(:disabled):not(.disabled):active {
  color: #fff;
  background-color: #65a29a;
  border-color: #65a29a;
}
.btn-danger {
  background-color: #bc592f;
  border-color: #bc592f;
}
.btn-danger:hover,
.btn-danger:not(:disabled):not(.disabled):active {
  color: #fff;
  background-color: #904322;
  border-color: #904322;
}
.btn-warning {
  background-color: #ffd76c;
  border-color: #ffd76c;
}
.btn-warning:hover,
.btn-warning:not(:disabled):not(.disabled):active {
  color: #fff;
  background-color: #debe68;
  border-color: #debe68;
}

.btn-outline-primary {
  border-color: #7f41b4;
  color: #7f41b4 !important;
}
.btn-outline-primary:hover,
.btn-outline-primary:not(:disabled):not(.disabled):active {
  border-color: #7f41b4;
  background-color: #7f41b4;
  color: #fff !important;
}
.btn-outline-success {
  border-color: #7bd5ca;
  color: #7bd5ca !important;
}
.btn-outline-success:hover,
.btn-outline-success:not(:disabled):not(.disabled):active {
  border-color: #7bd5ca;
  background-color: #7bd5ca;
  color: #fff !important;
}
.btn-outline-danger {
  border-color: #bc592f;
  color: #bc592f !important;
}
.btn-outline-danger:hover,
.btn-outline-danger:not(:disabled):not(.disabled):active {
  border-color: #bc592f;
  background-color: #bc592f;
  color: #fff !important;
}
.btn-outline-warning {
  border-color: #ffd76c;
  color: #ffd76c !important;
}
.btn-outline-warning:hover,
.btn-outline-warning:not(:disabled):not(.disabled):active {
  border-color: #ffd76c;
  background-color: #ffd76c;
  color: #fff !important;
}

.btn-primary.btn-favorite {
  font-size: 24px;
  line-height: 1em;
  padding: 0.3em;
  min-width: 1.6em;
  border-radius: 0.8em;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-white {
  background-color: #fff;
  border-color: #fff;
  color: #7f41b4;
  padding: 1rem 0.5rem;
  border-radius: 1.9375rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.btn-white:active,
.btn-white:hover {
  color: #7f41b4;
}

.badge-primary {
  background-color: #7f41b4 !important;
}
.badge-success {
  background-color: #7bd5ca !important;
}
.badge-danger {
  background-color: #bc592f !important;
}
.badge-warning {
  background-color: #ffd76c !important;
}

.maxw-700 {
  max-width: 700px;
}
.container {
  max-width: 1220px;
  margin: 0 auto;
}

.alert-count {
  display: block;
  position: absolute;
  min-width: 20px;
  height: 20px;
  background-color: #7f41b4;
  border-radius: 10px;
  text-align: center;
  font-size: 10px;
  font-weight: bold;
  line-height: 10px;
  padding: 5px;
  top: -5px;
  right: -5px;
}

.main {
  position: relative;
}

.footer {
  background-color: #39304e;
  color: #fff;
  font-size: 12px;
}

.footer .container {
  background-color: #39304e;
  padding-top: 30px;
  padding-bottom: 30px;
}

.section-hospital,
.section-feed {
  margin-bottom: 3rem;
}

.content-title {
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.title-num {
  color: #7f41b4;
  font-weight: normal;
}
.see-more a {
  font-weight: normal;
}
.ratings {
  color: #7f41b4;
}

.nav-tabs.alf-tabs .nav-link {
  border-radius: 0;
  color: #e6e6e6;
  border-bottom: 3px solid #e6e6e6;
  font-size: 18px;
}

.nav-tabs.alf-tabs .nav-link.active {
  color: #7f41b4;
  font-weight: bold;
  border-color: transparent transparent #7f41b4;
}

.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover {
  border-color: transparent;
}

.alf-tabs {
  margin-bottom: 3rem;
}

.alf-tabs .nav-link {
  padding: 1rem 0.25rem;
}

.hospital-item-list .card {
  margin-bottom: 2rem;
  border: 0;
  border-radius: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.hospital-item-list .card-alf-img {
  background-position: top center;
  background-size: cover;
  position: relative;
}
.hospital-item-list .btn-favorite {
  content: '';
  display: block;
  position: absolute;
  top: 10px;
  right: 10px;
  width: 50px;
  height: 50px;
  background-image: url(../img/ico_favorite_off@2x.png);
  background-position: center;
  background-size: cover;
  overflow: hidden;
  text-indent: -9999px;
}
.hospital-item-list .favorite .btn-favorite {
  background-image: url(../img/ico_favorite_on@2x.png);
}
.hospital-item-list .card-alf-img::after {
  content: '';
  display: block;
}
.hospital-item-list .card-body {
  padding: 1rem;
}

.swiper-slide .hospital-img {
  position: relative;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.swiper-slide .hospital-img::after {
  padding-top: 66.8%;
  content: '';
  display: block;
}
.doctor-picture {
  position: relative;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  max-width: 190px;
}
.doctor-picture::after {
  padding-top: 133.7%;
  content: '';
  display: block;
}
.history-tab .tab-pane {
  background-color: #f5f5f5;
}
.message-container {
  margin: 10px 0;
}
.message-icon {
  width: 48px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.16);
}
.message-icon img {
  width: 100%;
}
.message-item {
  background-color: #f5f5f5;
  padding: 15px;
  border-radius: 15px;
  max-width: 400px;
}
.message-devider {
  color: #ccc;
  padding: 30px 0;
  display: flex;
  align-items: center;
  text-align: center;
}
.message-devider::before,
.message-devider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #ccc;
}
.message-devider span {
  width: 250px;
}
.modal.alfredo-messages {
  height: 100%;
}
.modal.alfredo-messages.fade .modal-dialog {
  -webkit-transform: translate(50px, 0);
  transform: translate(50px, 0);
  height: 100%;
}
.modal.alfredo-messages.show .modal-dialog {
  -webkit-transform: none;
  transform: none;
  margin: 0 0 0 auto;
}
.modal.alfredo-messages .modal-content {
  min-height: 100%;
  border: 0;
  border-radius: 0;
  overflow-y: auto;
}
.custom-switch {
  padding-left: 100px;
}
.custom-switch .custom-control-label {
  font-size: 18px;
}
.custom-switch .custom-control-label::before {
  background-color: #ccc;
  border: #ccc solid 0;
}
.custom-switch .custom-control-input:checked ~ .custom-control-label::before {
  border-color: #7f41b4;
  background-color: #7f41b4;
}
.custom-switch .custom-control-label::after {
  background-color: #fff;
  border: 5px solid #ccc;
}
.custom-switch .custom-control-input:checked ~ .custom-control-label::after {
  background-color: #fff;
  border-color: #b682e3;
  -webkit-transform: translateX(38px);
  transform: translateX(38px);
}
.custom-switch .custom-control-label::before {
  left: -100px;
  top: calc(50% - 18px);
  width: 74px;
  height: 36px;
  border-radius: 18px;
}
.custom-switch .custom-control-label::after {
  left: -100px;
  top: calc(50% - 18px);
  width: 36px;
  height: 36px;
  border-radius: 18px;
}

.alf-modal .modal-content {
  border: 0;
}
.alf-modal .modal-header {
  border-bottom: 0;
  font-size: 20px;
  font-weight: bold;
  color: #7f41b4;
  align-items: center;
}
.alf-modal .modal-body {
  text-align: center;
}
.alf-modal .modal-footer {
  border-top: 0;
}
.alf-modal .modal-footer .btn-block {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.area-notify-btn {
  position: fixed;
  z-index: 1000;
  bottom: 20px;
  right: 20px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  background-color: #7f41b4;
}
.area-notify-btn a {
  display: block;
  width: 100%;
  height: 100%;
}
.area-notify-btn img {
  display: block;
  width: 90%;
  height: 90%;
  margin: 5%;
}

/* 헤더 -- 메인 */
.mainpage img {
  width: 100%;
}

.mainpage .btn-white {
  margin: 2rem 0 2rem 0;
}

.mainpage .btn-outline-primary {
  padding: 1rem 0.5rem;
  border-radius: 1.9375rem;
  margin: 1.5rem 0 1.5rem 0;
}

.mainpage .visual {
  background: linear-gradient(to top left, #ae7ec4, #6f22a7);
}

.mainpage .first-right {
  background-color: #411164;
  color: #fff;
}

.mainpage .greybg {
  background-color: #fafafa;
}

.mainpage img.hexico {
  margin: 1.5rem 0 1rem 0;
  width: auto;
}

.mainpage .gd-purple {
  background: linear-gradient(to top, #ae6ac7, #7f41b4);
}

.mainpage .bi-content {
  margin-bottom: 2rem;
}

.mainpage .bghx {
  background: url(../img/bghex.svg) no-repeat 0 95%;
  background-size: cover;
}

.mainpage .row .btm {
  bottom: -2rem;
}

.mainpage .row .btm:last-child {
  right: 0px;
}

.mainpage .section-features img {
  max-width: 323px;
}

/* 메인 -- 푸터 */
footer {
  z-index: 10;
}

/* 0710 에디터 스타일 적용 테스트 */
.content-title.medical-title {
  padding: 2.5rem;
  background: linear-gradient(-45deg, #ae7ec4, #6f22a7);
  border-radius: 15px;
  position: relative;
  text-align: center;
  color: #fff;
}

.content-title.medical-title h4 {
  margin: 0 auto;
}

.content-title.medical-title::before {
  content: url(/file/denim_plugin_mediaAdmin.58:file&amp;size=);
  display: block;
  position: absolute;
  top: -25%;
  left: 2%;
}

.medical-info-content {
  text-align: center;
}

/* 0902 이용약관 스타일 */
.userterms {
  word-break: break-all;
}

.userterms .visual {
  display: block !important;
  background: #eeeeee;
}

.userterms .visual .container {
  padding-top: 30px;
  padding-bottom: 30px;
}

.userterms .terms {
  margin: 10px 0;
  padding: 20px 0;
  border-bottom: 1px dashed #dddddd;
}

.userterms .terms:last-child {
  border: none;
}

.userterms p {
  margin-bottom: 20px;
}

.userterms ul,
.userterms ol {
  padding: 5px 0 5px 20px;
  margin-bottom: 5px;
}

.userterms li {
  list-style: inherit;
}

.userterms table {
  padding: 0;
  margin: 1rem 0;
  width: 100%;
}

.userterms td {
  padding: 0.375rem;
  width: 25%;
  border: 1px solid #333;
}

@media (min-width: 992px) {
  .mainpage .bg-bi {
    background: url(../img/bg-bi.jpg) no-repeat 0 center;
    background-size: cover;
  }
}

@media (max-width: 991px) {
  .mainpage .bg-bi {
    background: url(../img/bg-bi-m.jpg) no-repeat 0 center;
    background-size: cover;
  }
}

@media (min-width: 576px) {
  .mainpage .bg-bi {
    background: url(../img/bg-bi.jpg) no-repeat 0 center;
    background-size: cover;
  }
}

@media (min-width: 992px) {
  body {
    font-size: 14px;
  }

  h2,
  .h2 {
    font-size: 36px !important;
    font-weight: bold;
  }
  h3,
  .h3 {
    font-size: 24px !important;
    font-weight: bold;
  }
  h4,
  .h4 {
    font-size: 18px !important;
    font-weight: bold;
  }
  h5,
  .h5 {
    font-size: 14px !important;
    font-weight: bold;
  }
  h6,
  .h6 {
    font-size: 12px !important;
    font-weight: bold;
  }

  .header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 15px;
  }

  .header-inner {
    flex-grow: 1;
  }

  .header-m-left,
  .header-m-center,
  .header-m-right {
    display: none;
  }
  .header-brand a {
    display: block;
    background-image: url(../img/logo_alfredo_full_a.svg);
    /* background-image: url(../img/logo_trueman_support.svg); */
    background-repeat: no-repeat;
    background-size: contain;
    width: 300px;
    height: 70px;
  }
  .header-brand-trueman a {
    display: block;
    background-image: url(../img/logo_trueman_support.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 300px;
    height: 70px;
  }
  .nav-header {
    display: flex;
    align-items: center;
  }
  .nav-header .nav-links {
    display: flex;
    margin-left: auto;
    font-size: 16px;
  }
  .nav-header .nav-links a {
    display: block;
    padding: 0 25px;
  }
  .nav-header .nav-links .home-link {
    display: none;
  }
  .nav-header .nav-sidelinks {
    display: flex;
    align-items: center;
  }
  .nav-button {
    display: none;
  }
  .sidenav .closebtn {
    display: none;
  }
  /*   .sidenav .nav-sidelinks .btn-notify {
    display: inline-block;
    position: relative;
    margin: 0 15px;
  }
  .sidenav .nav-sidelinks .btn-notify img {
    width: 50px;
  }
*/
  .sidenav .nav-sidelinks .btn-login {
    margin: 0 15px;
  }
  .form-control {
    border-radius: 0;
    border: 1px solid #ccc;
  }
  .form-item {
    display: flex;
    margin-bottom: 15px;
  }
  .form-item > label {
    -ms-flex: 0 0 15%;
    flex: 0 0 15%;
    max-width: 15%;
    padding-right: 30px;
    text-align: left;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 0;
    padding-top: 3.5px;
  }
  .form-item small {
    display: none;
  }

  .form-item > input {
    -ms-flex: 0 0 85%;
    flex: 0 0 85%;
    max-width: 85%;
  }
  .form-item > .input-div {
    -ms-flex: 0 0 85%;
    flex: 0 0 85%;
    max-width: 85%;
  }

  .hospital-item-list .card-alf-img::after {
    padding-top: 100%;
  }

  .form-switch {
    padding-top: 15px;
    padding-bottom: 15px;
  }
}

@media (max-width: 991px) {
  body {
    font-size: 14px;
  }
  h2,
  .h2 {
    font-size: 30px !important;
    font-weight: bold;
  }
  h3,
  .h3 {
    font-size: 18px !important;
    font-weight: bold;
  }
  h4,
  .h4 {
    font-size: 16px !important;
    font-weight: bold;
  }
  h5,
  .h5 {
    font-size: 14px !important;
    font-weight: bold;
  }
  h6,
  .h6 {
    font-size: 10px !important;
    font-weight: bold;
  }
  .header-brand {
    display: none;
  }
  .header-inner {
    height: 70px;
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .header-m-left {
    width: 80px;
    flex-shrink: 0;
  }
  .nav-button {
    position: relative;
    background: none;
    border: none;
  }
  .header-m-center {
    text-align: center;
    white-space: nowrap;
  }
  .header-m-right {
    width: 80px;
    flex-shrink: 0;
  }
  /* The side navigation menu */
  .sidenav {
    height: 100%; /* 100% Full-height */
    width: 100%; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 100000; /* Stay on top */
    top: 0; /* Stay at the top */
    left: -100%;
    background-color: #fff; /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */
    opacity: 0;
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
  }

  .sidenav.active {
    opacity: 1;
    left: 0;
  }

  .sidenav .nav-links {
    padding: 100px 25px 0;
  }
  /* The navigation menu links */
  .sidenav .nav-links a {
    font-size: 16px;
    display: block;
    padding: 20px;
  }

  .sidenav .nav-links .section-line {
    border-top: 1px solid #cccccc;
  }

  /* When you mouse over the navigation links, change their color */
  .sidenav a:hover {
    color: #626262;
  }

  /* Position and style the close button (top right corner) */
  .sidenav .closebtn {
    position: absolute;
    top: 0;
    left: 25px;
    font-size: 36px;
    margin-right: 50px;
  }

  .sidenav .nav-sidelinks {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
  }
  .sidenav .nav-sidelinks a {
    display: block;
  }
  .sidenav .nav-sidelinks .area-notify {
    position: absolute;
    top: 70px;
    left: 45px;
    right: 45px;
  }
  .sidenav .nav-sidelinks .area-notify {
  }
  .sidenav .nav-sidelinks .area-notify .greeting {
    font-size: 30px;
  }

  .sidenav .nav-sidelinks .btn-notify {
    display: inline-block;
    position: relative;
  }
  .sidenav .nav-sidelinks .btn-notify img {
    width: 97px;
  }
  .sidenav .nav-sidelinks .btn-notify .alert-count {
    font-size: 18px;
    line-height: 18px;
    min-width: 36px;
    height: 36px;
    padding: 9px;
    border-radius: 18px;
  }
  .sidenav .nav-sidelinks .btn-login {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 18px;
    color: #7f41b4;
    font-weight: bold;
  }
  .sidenav .nav-sidelinks .btn-login.btn-login-info {
    right: 100px;
  }
  .hospital-item-list .card-img-top {
    height: 80px;
  }
  .hospital-item-list .card-alf-img::after {
    padding-top: 25%;
  }
  .history-tab .tab-pane {
    margin: 0 -15px;
    padding: 30px;
  }
  .form-check {
    margin-bottom: 7px;
  }
  .form-item {
    margin-bottom: 24px;
  }
  .form-item label {
    font-size: 18px;
    font-weight: bold;
  }
  .form-control {
    padding: 16px 0;
    border-radius: 0;
    border-color: transparent;
    border-bottom-color: #39304e;
    height: auto;
  }
  .form-control::placeholder {
    color: #ccc;
  }
  .form-control:focus {
    color: #39304e;
    background-color: #fff;
    border-color: transparent;
    border-bottom-color: #7f41b4;
    outline: 0;
    box-shadow: none;
  }
  textarea.form-control {
    border: 1px solid #39304e;
  }
  label {
    margin-bottom: 0;
  }
  .form-item small {
    font-size: 10px;
    margin-left: 1em;
  }
  .custom-switch {
    padding-left: 70px;
  }
  .form-switch .custom-control-label {
    height: 1.2em;
  }
  .custom-switch .custom-control-label::after {
    border-width: 2px;
  }
  .custom-switch .custom-control-input:checked ~ .custom-control-label::after {
    -webkit-transform: translateX(22px);
    transform: translateX(22px);
  }
  .custom-switch .custom-control-label::before {
    left: -70px;
    top: calc(50% - 12px);
    width: 46px;
    height: 24px;
    border-radius: 12px;
  }
  .custom-switch .custom-control-label::after {
    left: -70px;
    top: calc(50% - 12px);
    width: 24px;
    height: 24px;
    border-radius: 12px;
  }
  .form-switch {
    display: flex;
    padding-top: 15px;
    padding-bottom: 15px;
    justify-content: space-between;
    border-top: 1px dotted #ccc;
    margin-bottom: 0;
  }
  .form-switch:first-child {
    border-top: 0;
  }

  .section-switches {
    border-top: 1px dotted #ccc;
    border-bottom: 1px dotted #ccc;
  }

  .content-title.medical-title::before {
    content: url(/file/denim_plugin_mediaAdmin.59:file&amp;size=);
    top: -15%;
    left: 5%;
  }

  .medical-info-content {
    text-align: left;
  }
}

@media (min-width: 576px) {
  .alfredo-messages .modal-dialog {
    margin: 0 0 0 auto;
  }
}

.callout {
  padding: 1.25rem;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  border: 1px solid #e9ecef;
  border-left-width: 0.25rem;
  border-radius: 0.25rem;
}
.namecheck-benefits .namecheck-benefit {
  height: 100%;
  font-size: 18px;
  vertical-align: bottom;
}
.namecheck-benefits .namecheck-benefit::before {
  display: inline-block;
  width: 24px;
  height: 24px;
  content: '';
  margin-right: 5px;
  background-image: url(../img/ico-check.svg);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: bottom;
}
.namecheck-benefits {
  min-height: 175px;
  padding-left: 120px;
  background-image: url(../img/allfredo-default.png);
  background-size: 100px;
  background-repeat: no-repeat;
  background-position: left bottom;
}

@media (max-width: 767.99px) {
  .namecheck-benefits {
    background: none;
    background-color: #f8f9fa;
    padding: 17px;
  }
  .namecheck-benefits .h2 {
    font-size: 18px !important;
    padding-top: 5px;
    padding-bottom: 10px;
    padding-right: 60px;
    border-bottom: 1px solid #cccccc;
    background-image: url(../img/allfredo-incircle.png);
    background-repeat: no-repeat;
    background-position: right bottom 5px;
    background-size: 53px;
  }
  .namecheck-benefits .namecheck-benefit {
    font-size: 14px;
  }
}
