@charset "utf-8";

/* CSS Document */

.appointment-bg {
    position: absolute;
    width: 100%;
    padding-top: 32.29%;
    background-image: url(../img/appointment-bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.appointment-box {
    border-radius: 10px;
    background-color: #FFF;
    padding: 60px 40px;
display: flex;
row-gap: 20px;
flex-direction: column;
box-shadow: 0 0 10px rgba(0,0,0,0.25);
}
.appointment-box-row{
width: 100%;
max-width: 800px;
margin: 0 auto;
}
.appointment-box-title {
    font-size: 30px;
    color: #2e3192;
    text-align: center;
    margin: 0 0 20px 0;
}
ul.appointment-step {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}
ul.appointment-step::before{
content: "";
background-color: #ebebeb;
width: 100%;
height: 3px;
position: absolute;
left: 0;
top: 50px;
}

.appointment-step li{
display: flex;
flex: 1;
flex-direction: column;
justify-content: center;
align-items: center;
}
.appointment-step li.active{
color: #3eaf7c;
}
.appointment-step li:nth-child(1){
align-items: flex-start;
}
.appointment-step li.passactive:nth-child(1):before{
content: "";
background-color: #3eaf7c;
width: 100%;
height: 3px;
position: absolute;
left: 0;
top: 50px;
}
.appointment-step li:nth-child(2){
flex: none;
justify-content: center;
align-items: center;
}
.appointment-step li:nth-child(3){
align-items: flex-end;
}
.appointment-step li .boxstep {
    width: 100px;
    text-align: center;
}
.appointment-step li .boxstep-row{
width: 100%;
padding-top: 100%;
margin-bottom: 10px;
}
.appointment-step li .boxstep-row::before {
    content: "";
    background-color: #ebebeb;
    border-radius: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.appointment-step li.active .boxstep-row::before {
    background-color: #3eaf7c;
}
.appointment-step li span {
    color: #FFF;
    z-index: 1;
    font-size: 30px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-step{
display: flex;
justify-content: space-between;
}
.btn-step a {
    background-color: #999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 20px;
    color: #FFF;
    border-radius: 10px;
 text-align: center;
}
.btn-step a:hover,
.btn-step a:active {
    background-color: #3eaf7c;
}
.appointment-box-row p{
display: flex;
flex-direction: column;
}

.doctor-detail {
    background-color: #FFF;
    border-radius: 10px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.25);
    padding: 20px;
    display: flex;
    row-gap: 20px;
    flex-direction: column;
}
.doctor-img {
    width: 100%;
    max-width: 346px;
    margin: 20px auto;
}

.doctor-img:before {
    content: "";
    background-color: #2e3192;
    position: absolute;
    left: -10px;
    top: -10px;
    width: 90%;
    height: 90%;
    z-index: 0;
    border-radius: 10px;
}
.doctor-img:after {
    content: "";
    background-color: #3eaf7c;
    position: absolute;
    right: -10px;
    bottom: -10px;
    width: 90%;
    height: 90%;
    z-index: 0;
    border-radius: 10px;
}
.doctor-imgscale {
    padding-top: 94.7%;
    width: 100%;
    z-index: 1 ;
}
.doctor-imgscale-ratio{
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
}
.doctor-img img{
width: 100%;
height: 100%;
object-fit: contain;
border-radius: 10px;
overflow: hidden;
}
.doctor-name{
font-size: 26px;
color: #2e3192;
}
.doctor-section p{
display: flex;
column-gap: 20px;
align-items: center;
margin: 0;
}
.doctor-section p img {
    width: auto;
    height: auto;
    object-fit: contain;
}
.doctor-btn {
display: flex;
column-gap: 20px;
align-items: baseline;
}
.doctor-btn a {
    display: flex;
    justify-content: center;
    column-gap: 10px;
    flex: 1;
    background-color: #ebebeb;
    border-radius: 10px;
    padding: 10px;
    align-items: center;
}

.doctor-slide.slider .slick-list {
    margin: 0 -20px;
    padding: 10px 0;
}
.doctor-slide.slider .slick-slide {
    padding: 0 20px;
}
.doctor-slide.slick-dotted.slick-slider {
    margin: 0;
    padding-bottom: 40px;
}
.doctor-slide.slider .slick-dots li button:before {
    background-color: #CCC;
}
.doctor-slide.slider .slick-dots {
    position: absolute;
    display: flex;
    width: auto;
    bottom: 0;
    height: 20px;
}
.doctor-slide.slider .btn-next {
    color: #999;
    bottom: 0;
    right: 0;
    position: absolute;
    height: 20px;
}
.doctor-section{
display: flex;
flex-direction: column;
gap: 10px;
}

@media screen and (max-width:1024px) {
.doctor-name {
    font-size: 20px;
    color: #2e3192;
}
.doctor-section p img,
.doctor-btn img {
    width: auto;
    height: auto;
    object-fit: contain;
    max-height: 24px;
}
.doctor-btn {
    display: flex;
    gap: 10px;
    align-items: baseline;
    flex-direction: column;
}
.doctor-btn a {
    flex: auto;
    width: 100%;
}
.doctor-slide.slider .slick-list {
    margin: 0 -10px;
    padding: 10px 0;
}
.doctor-slide.slider .slick-slide {
    padding: 0 10px;
}
}

@media screen and (max-width:768px) {
.appointment-box-title {
    font-size: 20px;
}
}

@media screen and (max-width:767px) and (orientation:portrait) {
    .doctor-slide.slider .slick-slide {
        display: flex;
        flex-direction: column;
        row-gap: 20px;
    }
.appointment-step li .boxstep {
    width: 50px;
    text-align: center;
}
ul.appointment-step::before {
    top: 25px;
}
}