* {
    margin: 0;
    padding: 0;
}

.condition_container {
    padding: 30px;
    display: flex;
}

.line {
    line-height: 30px;
}

.firstDate {
    height: 30px;
    padding: 10px;
    margin: 0 8px;
}

.switchLabel {
    padding: 0 12px;
}

.switchArea {
    line-height: 28px;
    letter-spacing: 0;
    text-align: center;
    font-size: 14px;
    position: relative;
    width: 80px;
}

.switchArea input[type="checkbox"] {
    display: none;
}

.switchArea label {
    display: block;
    box-sizing: border-box;
    height: 30px;
    border: 2px solid #999999;
    border-radius: 30px;
    cursor: pointer;
}

.switchArea input[type="checkbox"]:checked +label {
    border-color: #007bff;
}

.switchArea label span:after{
    content: "OFF";
    padding: 0 0 0 36px;
    color: #999999;
  }
  
.switchArea  input[type="checkbox"]:checked + label span:after{
    content: "ON";
    padding: 0 36px 0 0;
    color: #007bff;
}
  
.switchArea #swImg {
    position: absolute;
    width: 24px;
    height: 24px;
    background: #999999;
    top: 3px;
    left: 4px;
    border-radius: 26px;
    transition: .2s;
}
  
.switchArea input[type="checkbox"]:checked ~ #swImg {
    transform: translateX(48px);
    background: #007bff;
}

.btn-reflection {
    height: 30px;
    width: 60px;
    color: #fff;
    background-color: #007bff !important;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    margin-left: 12px;
}

.print-container {
    display: inline-block;
    vertical-align: middle;
    width: 32px;
    height: 32px;
    border: 1px solid rgb(204, 204, 204);
    border-radius: 0.25rem;
    margin-left: 16px;
}

.btn-print {
    display: flex;
    width: 100%;
    height: 100%;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    border: none;
    background: inherit;
}

.icon-printer {
    display: block;
    max-width: 80%;
    height: auto;
    
}

.flex {
    display: flex;
}

.calendar-wrap {
    width: 400px !important;
    color: #333;
}

h1 {
    line-height: 100px;
    text-align: center;
    font-size: 30px;
}

.calendar {
    padding: 20px;
    width: 100%;
    table-layout: fixed;
}

th,td {
    text-align: center;
    min-width: 30px;
    padding: 1%;
    background-color: #fff !important;
    font-size: 14px;
}
  
td {
    font-weight: bold;
}
  
.sun {
    color: red;
}

.sat {
    color: blue;
}

.target {
    background-color: #007bff6b !important;
    cursor: pointer;
}

.layer {
	background: rgba(0, 0, 0, .2);
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: -1;
	opacity: 0;
	visibility: hidden;
	transition: opacity 1s linear, visibility 1s linear, z-index 1s linear;
}

.layer.is-open {
    z-index: 999;
    opacity: 1;
    visibility: visible;
}

.layer.is-open .modal{
    opacity: 1;
    visibility: visible;
}

.modal__button-wrap {
    position: absolute;
    right: 10px;
    top: -28px;
    display: inline-flex;
}

.close-button {
    position: relative;
    width: 39px;
    height: 39px;
    background: rgb(0, 0, 0);
    border-radius: 50%;
    padding: 0;
    border: transparent;
    cursor: pointer;
}

.close-button span {
    width: 25px;
    height: 2px;
    background: #fff;
    display: inline-block;
    position: absolute;
    left: calc(50% - 12px);
    top: 50%;
    border-radius: 20px;
}

.close-button span:nth-child(1) {
    transform: rotate(45deg) translate(-1px, -1px);
}

.close-button span:nth-child(2) {
    transform: rotate(-45deg) translate(1px, -1px);
}

.modal {
    position: relative;
    margin-right: auto;
    margin-left: auto;
    width: 60%;
    min-width: 440px;
    opacity: 0;
    visibility: hidden;
    transition:  visibility .7s linear, opacity .7s linear;
}

.modal__inner {
    margin-top: 125px;
    margin-bottom: 125px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    background: #fff;
    box-shadow: 3px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 13px;
    display: block;
    padding: 21px 8px 21px;
    height: auto;
}

.modal__content {
    padding-top: 15px;
    padding-bottom: 23px;
    text-align: center;
}

.modal__date {
    margin-top: 30px;
    height: 30px;
    padding: 10px;
}

.modal__button-area {
    display: flex;
    justify-content: center;
}

.btn-delete {
    font-size: 16px;
    height: 40px;
    width: 80px;
    margin-right: 16px;
    color: #fff;
    background-color: #ff0000;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
}

.btn-edit {
    font-size: 16px;
    height: 40px;
    width: 80px;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
}

@media print {
    * {
        -webkit-print-color-adjust: exact;
    }
    .condition_container {
        display: none;
    }
}