/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9000; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* Modal Header */
.modal-header {
    padding: 3px 18px;
    background-color: #175369;
    color: #fff;
}

.modal-header h2 {
    color: #fff;
    display: inline-block;
}

.modal-header .close {
    background: 0 0;
    border: 0;
    cursor: pointer;
    float: right;
    font-size: 21px;
    line-height: 1;
    margin-top: 12px;
    padding: 0;
}

/* The Close Button */
.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* Modal Body */
.modal-body {
    padding: 18px 18px;
}

/* Modal Dialog */
.modal-dialog {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    animation-name: animatetop;
    animation-duration: 0.4s;
}

.modal-dialog.modal-sm {
    width: 30%;
}

.modal-dialog.modal-md {
    width: 60%;
}

.modal-dialog.modal-lg {
    width: 90%;
}

/* Modal Footer */
.modal-footer {
    padding: 18px 18px;
    background-color: #fefefe;
    color: #fff;
    border-top: #175369 1px solid;
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0;
    }
    to {
        top: 0;
        opacity: 1;
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0;
    }
    to {
        top: 0;
        opacity: 1;
    }
}

.modal input[type="text"] {
	width: 200px;
	padding: 4px;
	border: 1px solid #bbb;
	border-radius: 3px;
	background: #fff;
	font-family: verdana;
	color: #444;
	font-size: 1.3em;
}

/* SWITCH / SLIDER */

.rebook .switch-title {
    float: left;
    font-size: 21px;
    line-height: 1;
    margin-top: 8;
    padding: 0px 20px 0px 0px;
}

/* The switch - the box around the slider */
.rebook .switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* Hide default HTML checkbox */
.rebook .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.rebook .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.rebook .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

.rebook input:checked + .slider {
    background-color: #175369;
}

.rebook input:focus + .slider {
    box-shadow: 0 0 1px #175369;
}

.rebook input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.rebook .slider.round {
    border-radius: 34px;
}

.rebook .slider.round:before {
    border-radius: 50%;
}
