.person-shedule {
  margin-top: 10px;
  width: 400px;
  position: relative;
  max-width: 100%;
}

.person-shedule__status {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.78);
  border: 3px solid #eaedee;
  display: none;
}

.person-shedule__status_loading p,
.person-shedule__status_loading p:last-of-type {
  color: #4DC160 !important;
}

.person-shedule__status.fail p,
.person-shedule__status.fail p:last-of-type {
  color: #ff0000;
}


.person-shedule__status p,
.person-shedule__status p:last-of-type {
  text-align: center;
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
}


.person-shedule__tabs ul {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.person-shedule__tabs ul li a {
  display: flex;
  width: 50px;
  height: 57px;
  align-items: center;
  justify-content: space-evenly;
  flex-direction: column;
  border-radius: 5px 5px 0 0;
  border: 1px solid transparent;
}

.person-shedule__tabs ul li a.active {
  border: 1px solid #c7d3d9;
  border-bottom: 1px solid #fff;
}

.person-shedule__tabs ul li a span:last-of-type {
    font-size: 9px;
    font-weight: bold;
}
.person-shedule__tabs ul li a span:first-of-type {
    margin-bottom: -3px;
}

.person-shedule__times {
  display: none;
  flex-wrap: wrap;
  border: 1px solid #c7d3d9;
  padding: 5px;
  margin-top: -1px;
  margin-bottom: 10px;
  max-width: 100%;
}

.person-shedule__times.active {
  display: flex;
}

.person-shedule__times span {
  width: 70px;
  height: 35px;
  color: #fff;
  background: #cfcfcf;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 5px;
  border-radius: 5px;
  transition: all ease-in-out .3s;
  cursor: pointer;
}

.person-shedule__times span.active {
  color: #fff;
  background: #1BA1F2;
}

.button.button-inactive {
  color: #fff;
  background: #cfcfcf;
  pointer-events: none;
}

.phone-label {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.phone-label input {
  margin-top: 0 !important;
}

.phone-label .button {
  height: 45px;
  box-sizing: border-box;
  margin-left: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex: 0 0 120px;
}

.phone-label-smsset {
  display: none;
}

.phone-label input[type="text"] {
	width: 100%;
	font-size: 15px;
	color: #8F9CA4;
	border: 1px solid #8F9CA4;
	padding: 14px 20px;
	display: block;
	margin-top: 10px;
	border-radius: 5px;
}
.phone-label input[type="text"].error {
    border: 1px solid red;
}

.person p:first-of-type {
    margin-top: -8px;
    margin-bottom: 0px;
}

.close-btn {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 32px;
  height: 32px;
  //opacity: 0.3;
}
.close-btn:hover {
  opacity: 1;
}
.close-btn:before, .close-btn:after {
  position: absolute;
  left: 15px;
  content: ' ';
  height: 33px;
  width: 2px;
  background-color: #1BA1F2;
}
.close-btn:before {
  transform: rotate(45deg);
}
.close-btn:after {
  transform: rotate(-45deg);
}

.person-detail .person-shedule a.button {
    margin: 0;
}
.person-detail .person-shedule label a.button {
    margin-left: 10px;
}

.button-lk {
    padding: 0;
    display: inline-flex;
    height: 49px;
    width: 49px;
    align-items: center;
    justify-content: center;
    background: #39454c;
    margin-left: 10px;
}

.button-lk:before {
    content: "";
    display: block;
    width: 20px;    
    height: 20px;
    background: url(../images/user.svg) center center no-repeat;
}

.buttons-wrap {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: flex-end;    
}

.window {
                        position: absolute;
                        left: -20px;
                        top: -20px;
                        right: -20px;
                        bottom: -20px;
                        padding: 20px;
                        background: #f9fafb;
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                        justify-content: center;
                    }
                    
                    .window {
                        display: none;
                    }
                    
                    .window p {
                        font-size: 14px;
                        width: 100%;
                    }
                    .window p a {
                        text-decoration: underline;
                        color: #1BA1F2
                    }
                    .window p.error {
                        color: red; 
                        text-align: center;
                        display: none;
                    }
                    
                    .window .retry {
                        display: none;
                    }
                    
                    .window.success p,
                    .window.loading p {
                        text-align: center;
                    }
                    
                    .person-shedule .phone-label input {
                        padding-left: 10px;
                        padding-right: 10px;
                        font-size: 14px
                    }






