.reserve-dashboard {

}

.reserve-dashboard .dashboard-header {
  background-color: #7F41B4;
  color: #FFF;
  padding: 8px;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}
.reserve-dashboard .dashboard-header a {
  color: #FFF;
}
.my-history .alf-tabs {
  margin-bottom: 0;
}
.history-cell {
  background-color: #FFF;
  border-radius: 10px;
  overflow: hidden;
}
.section-signup {
  padding: 20px 0;
  border-top: 1px dotted #CCC;
}
.section-signup:first-child {
  border-top: 0;
}
.section-feed .hospital-item-list .card-alf-img {
  background-position: center;
}
.news-feed-header {
  border-bottom: 5px solid #F5F5F5;
}
.news-feed-view .container {
  padding: 50px 30px;
  max-width: 680px;
}
.news-feed-content img {
  display: block;
  width: calc(100% + 60px);
  margin-left: -30px;
  margin-right: -30px;
}

.login .card {
  width: 500px;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,.1);
  text-align: center;
  overflow: hidden;
}
.login .card-header {
  background-color: transparent;
  border: 0;
}
.login .card-body {
  max-width: 300px;
  margin: 0 auto;
  padding: 20px 0 50px;
  width: 100%;
}
.login .ico-alfredo {
  width: 117px;
}

.btn-facebook {
  background-color: #6375C1 !important;
  border-color:  #6375C1 !important;
}
.btn-kakao {
  background-color: #FFE077 !important;
  border-color:  #FFE077 !important;
  color: #775737;
}
.btn-naver {
  background-color: #5EC966 !important;
  border-color: #5EC966 !important;
}
.medical-info-content img {
  max-width: 100%;
}

@media (min-width: 992px) {
  .main .visual {
    height: 436px;
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #FFF;
  }
  .main .visual .h1 {
    margin-bottom: 1rem;
  }
  .hospital-list .visual {
    background-image: url(../img/hospital-list-visual-bg.jpg);
  }
  .hospital-view .visual {
    background-image: url(../img/hospital-list-visual-bg.jpg);
  }
  .signup .visual {
    background-image: url(../img/setting-visual-bg.jpg);
  }
  .news-feed .visual {
    background-image: url(../img/newsfeed-visual-bg.jpg);
    text-align: left;
  }

  .my-history .visual {
    background-image: url(../img/my-history-visual-bg.jpg);
  }
  .contactus .visual {
    background: linear-gradient(to left,#6661DE, #532E90);
  }

  .medical-info .visual, .medical-info-view .visual {
    background-image: url(../img/bg-mediinfo.jpg);
    color: #39304E;
    text-align: left;
  }

  .hospital-view .hospital-info {
    height: 436px;
    margin-top: -436px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #FFF;
  }
  .hospital-view .h1 {
    margin-bottom: 20px!important;
  }
  .hospital-view .btn-favorite {
    margin-bottom: 30px;
  }
  .share-icons {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .share-icons li a {
    display: block;
    width: 45px;
    height: 45px;
    margin-left: 8px;
    margin-right: 8px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }
  .share-icons li .share-kakao {
    background-image: url(../img/ico-share-kakao.svg);
  }
  .share-icons li .share-facebook {
    background-image: url(../img/ico-share-facebook.svg);
  }
  .share-icons li .share-web {
    background-image: url(../img/ico-share-web.svg);
  }
  .hospital-photos{
    margin-top: 40px;
    margin-bottom: 40px;
  }
  .hospital-view .doctor-picture {
    margin-bottom: 30px;
  }
  .direction-map {
    height: 350px;
    margin: 30px 0;
  }
  .info-lists-main .info-list {
    padding-top: 150px;
    background-position: center 10px;
    background-size: 120px;
    background-repeat: no-repeat;
  }
  .info-list-phone {
    background-image: url("../img/ico-phone.png");
  }
  .info-list-address {
    background-image: url("../img/ico-address.png");
  }
  .info-list-site {
    background-image: url("../img/ico-site.png");
  }
  .hospital-view .tab-content {
    margin-bottom: 70px;
  }
  .info-list-details {
    margin-top: 25px;
  }
  .my-history .visual .container, .contactus .visual .container {
    justify-content: flex-start;
    text-align: left;
  }
  .contents .container {
    position: relative;
  }

  .reserve-dashboard {
    width: 400px;
    position: absolute;
    top: -330px;
    right: 15px;
    z-index: 100;
  }
  .dashboard-body {
    color: #FFF;
  }
  .dashboard-body .row > div {
    padding: 80px 0 30px;
    background-position: center 30px;
    background-repeat: no-repeat;
    background-size: 40px;
  }
  .dashboard-reserve {
    background-color: #C0A7EF;
    background-image: url(../img/ico-reserve.svg);
  }
  .dashboard-complete {
    background-color: #91DBBE;
    background-image: url(../img/ico-complete.svg);
  }
  .dashboard-cancel {
    color: #CCC;
    background-color: #F5F5F5;
    background-image: url(../img/ico-cancel.svg);
  }
  .dashboard-num {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .dashboard-footer .btn-lg {
    font-size: 1rem;
    border-radius: .7rem;
    padding: 1rem;
    color: #FFF !important;
    border-color: #FFF;
  }
  .dashboard-footer .btn-lg:not(:disabled):not(.disabled):active, .dashboard-footer .btn-lg:not(:disabled):not(.disabled):hover {
    background-color: transparent
  }
  .history-subject {
    font-size: 14px;
    font-weight: bold;
  }
  .history-day {
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 50px 0;
  }
  .history-day::after {
    display: block;
    content: "";
    background-color: #7F41B4;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: .9;
    z-index: 20;
  }
  .history-tab .tab-pane {
    padding: 50px 70px 80px;
  }
  .history-cell {
    margin-top: 30px;
  }
  .history-day > div {
    width: 120px;
    height: 120px;
    padding: 25px;
    border-radius: 50%;
    background-color: #FFF;
    position: relative;
    z-index: 30;
    text-align: center;
    font-size: 40px;
    line-height: 1.2;
  }
  .history-day > div > span {
    font-size: 12px;
  }
  .history-day .d-day {
    position: relative;
    bottom: -48px;
    font-size: 12px;
    color: #FFF;
  }
  .history-details {
    font-size: 11px;
    padding: 15px;
  }
  .history-tab .col-lg-2 {
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
  }
  .medical-info .visual .h3, .medical-info-view .visual .h3 {
    font-size: 36px !important;
  }
  .medical-info .contents .container, .medical-info-view .contents .container {
    margin-top: 45px;
    margin-bottom: 45px;
  }
  .inbox-list-container {
    display: flex;
    border-bottom: 1px solid #ccc;
    padding: 25px 0;
  }
  .inbox-list:first-child .inbox-list-container {
    border-top: 1px solid #ccc;
  }
  .is-read, .inbox-title,.inbox-writer, .inbox-date  {
    padding-left: 30px;
    padding-right: 30px;
  }
  .inbox-title {
    flex: 1;
  }
  .section-signup .h2 {
    font-size: 24px !important;
  }
  .section-signup {
    padding: 30px 0;
  }
  .section-signup .content-title {
    margin-bottom: 20px;
  }
  .section-signup .btn-lg {
    display: block;
    width: 300px;
    margin: 0 auto;
  }
  .section-feed .hospital-item-list .card-alf-img::after {
    padding-top: 46.179%;
  }

  .login .card {
    margin-top: 30px;
    margin-bottom: 30px;
  }

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

}
@media (max-width: 991px) {
  .main .visual {
    display: none;
  }
  .hospital-view .visual {
    display: block;
    height: 350px;
    background-position: center;
    background-size: cover;
    background-image: url(../img/hospital-list-visual-bg.jpg);
  }
  .medical-info .visual {
    display: block;
  }
  .news-feed .visual {
    display: block;
    height: 350px;
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #FFF;
    background-image: url(../img/hospital-list-visual-bg.jpg);
    text-align: left;
  }
  .news-feed-view .visual {
    display: block;
    height: 350px;
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #FFF;
    text-align: left;
  }

  .medical-info .visual .h3 {
    font-size: 30px !important;
  }
  .hospital-view .hospital-info {
    margin-top: -50px;
    margin-left: -15px;
    margin-right: -15px;
    background-color: #FFF;
    border-radius: 30px;
    padding: 30px 15px 0;
    position: relative;
  }
  .favorite-box {
    position: absolute;
    top: 30px;
    right: 15px;
  }
  .share-icons {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    background-color: #FFF;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    box-shadow: 0 -50px 99px rgba(0,0,0,.2);
    padding: 0 30px;
    font-size: 16px;
    display: none;
  }
  .share-icons a {
    display: block;
    padding: 26px;
    border-top: 1px solid #CCC;
    text-align: center;
    font-weight: bold;
  }
  .share-icons li:first-child a {
    border-top: 0;
  }
  .hospital-view .visual {
    height: auto;
  }
  .hospital-view .contents {
    position: relative;
    z-index: 100;
  }
  .hospital-swiper-m {
    margin-left: -15px;
    margin-right: -15px;
  }
  .hospital-view .alf-tabs {
    margin-bottom: 0;
  }

  .info-list {
    padding-top: 35px;
    padding-bottom: 35px;
    border-top: 1px dashed #CCC;
  }
  .info-list p {
    margin-bottom: 0;
  }
  .info-list:first-child {
    border-top: 0;
  }
  .info-list .btn-outline-primary {
    border-radius: 2.375rem;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    font-weight: bold;
  }
  .info-list.info-list-phone {
    display: flex;
    justify-content: space-between;
  }
  .direction-map {
    height: 224px;
    margin: 30px 0;
  }
  .info-list-details {
    margin-top: 25px;
  }
  .info-list-details:first-child {
    margin-top: 0;
  }
  .dashboard-header {
    font-size: 20px;
  }
  .dashboard-body {
    padding: 30px 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,.1);
  }
  .dashboard-body .row > div {
    border-left: 1px solid #CCC;
  }
  .dashboard-body .row > div:first-child {
    border-left: 0;
  }

  .dashboard-num{
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 8px;
  }
  .dashboard-reserve .dashboard-num{
    color: #7F41B4;
  }
  .dashboard-complete .dashboard-num{
    color: #7BD5CA;
  }
  .dashboard-cancel .dashboard-num{
    color: #CCCCCC;
  }
  .dashboard-footer {
    margin-bottom: 15px;
  }
  .dashboard-footer .btn-lg {
    font-size: 1.125rem;
    border-radius: .7rem;
    padding: 1rem;
  }
  .history-cell {
    display: flex;
    align-items: stretch;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
  }
  .history-details {
    padding: 15px;
  }
  .history-day {
    width: 64px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    background: #7F41B4 !important;
    color: #FFF;
    padding: 30px 5px;
  }
  .history-subject {
    font-size: 18px;
    font-weight: bold;
  }
  .history-tab li {
    margin-top: 15px;
  }
  .history-tab li:first-child {
    margin-top: 0;
  }
  .medical-info .contents .container, .medical-info-view .contents .container {
    margin-top: 30px;
    margin-bottom: 30px;
  }
  .inbox-lists {
    border-top: 1px solid #CCC;
    padding: 15px 20px;
    margin-left: -15px;
    margin-right: -15px;
  }
  .inbox-list {
    margin-top: 15px;
  }
  .inbox-list:first-child {
    margin-top: 0;
  }
  .inbox-list-container {
    display: flex;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,.16);
    overflow: hidden;
    position: relative;
  }
  .inbox-list-container > div {
    padding-top: 15px;
    padding-bottom: 15px;
  }
  .is-read, .inbox-title,.inbox-writer, .inbox-date  {
    padding-left: 15px;
    padding-right: 15px;
  }
  .inbox-list-left {
    background-color: #7F41B4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
  }
  .inbox-list-right {
    display: flex;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .inbox-title {
    font-size: 18px;
    font-weight: bold;
  }
  .inbox-list:not(.read) .inbox-list-container::after {
    content: "∙";
    color: #7F41B4;
    position: absolute;
    top: 50%;
    right: 25px;
    font-size: 24px;
    margin-top: -.75em;
  }
  .read .inbox-list-left {
    background-color: #CCC;
  }
  .section-signup .btn-lg {
    display: block;
    width: 100%;
  }
  .login {
    height: 100%;
  }
  .login .card {
    width: 100%;
    height: 100%;
    border-radius: 0;
    border: 0;
  }
}
