
h1, h2 {
	font-weight: 300;
	color: #222;
}

h1 {
	margin-top: 100px;
	font-size: 35px;
}

h2 {
	font-size: 27px;
	text-align: left;
}


.half {
	width: 50%;
}

.third {
	width: 33%;
}

.quarter {
	width: 25%;
}

.two_thirds {
	width: 66%;
}

.three_quarters {
	width: 75%;
}

.left {
	float: left;
}


.right {
	float: right;
}

.error {
	color: #f00;
}


.button {
	background: #ff6b0b;
	color: #fff;
	text-decoration: none;
	font-size: 12px;
	font-weight: 600;
	padding: 13px 23px;
	letter-spacing: .1em;
	display: inline-block;
	border: none;
	text-transform: uppercase;
	cursor: pointer;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border-radius: 0;
}

.button_grey {
	background: #eaeaea;
	color: #757575;
}


form .half input[type=text], form .half input[type=email], form .half input[type=password], form .half select {
	    width: 98%;
}

form .date select {
    width: 32%;
}

input[type=text], input[type=email], input[type=password], textarea, select {
	font-family: 'Open Sans', sans-serif;
	padding: 10px;
	font-size: 17px;
	color: #777;
	border: 1px solid #bbb;
	box-sizing: border-box;
	width: 100%;
}

select {
	height: 45px;
}

#FaceIDContainer {
	display: flex;
  	justify-content: center;
}

#FaceIDContainer > div {
	width: 75%;
}





#appointment {
	font-family: 'Open Sans', sans-serif;
	color: #222;
	font-size: 19px;
	color: #777;
	text-align: center;
    width: 80.5%;
    margin: 0 auto;
    margin-bottom: 150px;
    clear: both;
}




#appointment form .item {
    margin: 20px auto;
    text-align: left;
}

#appointment form .item.half .button {
	width: 40%;
}

#appointment .step3 form .item.half .button {
	width: 100%;
	margin-bottom: 20px;
}

#appointment .step3 form .item.half input[type=submit] {
	font-size: 16px;
}

#appointment form .buttons .button.third {
	width: 32%;
}


#appointment .progress_bar {
	border-bottom: 1px solid #ccc;
	margin-left: -13%;
	margin-right: -13%;
	margin-top: 50px;
	margin-bottom: 120px;
}
    
	#appointment .progress {
		display: inline-block;
		margin: 0 5%;
		position: relative;
		bottom: -42px;
	}
	
	
    
	#appointment .progress span:first-child, #appointment .progress i {
		display: inline-block;
		border-radius: 50%;
		border: 1px solid #e0e0e0;
		width: 40px;
		height: 40px;
		box-sizing: border-box;
		padding-top: 6px;
		color: #222;
		background: #fff;
	}
	
	#appointment .progress i {
		padding-top: 10px;
	}
	
	#appointment .progress.active span:first-child, #appointment .progress i {
		background: #ff6b00;
		color: #fff;
		border: none;
	}
	
	#appointment .progress.active i {
		cursor: pointer;
	}
	
	#appointment .progress span:last-child {
		margin-top: 4px;
		display: block;
		font-size: 13px;
		color: #222;
	}
	
	
	
#appointment .step1 input[type=radio] {
	display: none;
}
	
#appointment .step1 input[type=radio] + label {
	background: #e6e6e6;
	padding: 10px 20px;
	font-size: 17px;
	display: block;
	width: 50%;
	color: #555;
	margin: 15px auto;
	cursor: pointer;
	box-sizing: border-box;
        text-align: center;
}

	
#appointment .step1.choose input[type=radio] + label {
	width: 100%;
}

	
#appointment form .item .description {
	width: 100%;
	display: block;
	margin: auto;
	background: #eee;
	margin-top: -15px;
	font-size: 13px;
	padding: 10px 20px 5px 10px;
	box-sizing: border-box;
	text-align: center;
	line-height: 20px;
	overflow: hidden;
	cursor: pointer;
}

#appointment form .item .description p {
	margin: 0;
}

#appointment form .item .description.alternate {
	cursor: auto;
}


#appointment .step1 form .item .description {
	text-align: left;
}

#appointment input[type=radio] + label:hover, #appointment input[type=radio]:checked + label {
	background: #ff6b00;
	color: #fff;
}
	

#appointment form .item div input[type=radio] + label {
	width: 100%;
}



#appointment form .item .half.alternate {
    width: 49%;
    margin: 6px auto;
}

#appointment form .item .half.alternate:nth-of-type(odd) {
    float: left;
    clear: both;
}

#appointment form .item .half.alternate:nth-of-type(even) {
    float: right;
}


#appointment form .item .half.alternate .description.alternate {
	width: 100%;
}

	
	
#appointment .ui-datepicker {
  width: 97% !important;
  font-size: 17px !important;
}



#appointment .dates {
	width: 30%;
	margin-top: 1px;
	margin-left: 3%;
}

#appointment .dates label {
	display: block;
	padding: 10px 0;
	background: #f7f7f7;
	border: 1px solid #ccc;
	margin: -1px 0 0 0;
	text-align: center;
}



#appointment .dates input[type=radio] + label {
	background: none;
	width: 100%;
}
    
#appointment .dates input[type=radio] + label:hover, #appointment .dates input[type=radio]:checked + label {
	background: #ff6b00;
	color: #fff;
}



#appointment #datetime_clinician  {
	margin: auto;
	width: 75%;
}

#appointment #datetime_clinician .calendar, #appointment #datetime_clinician #times {
	display: inline-block;
	width: 49%;
	vertical-align: top;
}

#appointment #datetime_clinician2 {
	margin-left: -13%;
	margin-right: -13%;
	display: grid;
	grid-template-columns: auto 80%;
	grid-column-gap: 10px;
}


#appointment #times {
	overflow: auto;
}

#appointment #times .time_group {
	display: flex;
}

#appointment #times > label {
	display: block;
	padding: 10px 0;
	background: #f7f7f7;
	text-align: center;
	position: absolute;
	width: 79%;
}

#appointment #times > label:first-of-type {
	margin-top: 46px;
}

#appointment #times .clinician {
	margin-right: 4px;
}

#appointment #times .clinician > label {
	display: block;
	padding: 8px 10px;
	background: #f7f7f7;
	border: 1px solid #ccc;
	text-align: center;
	margin: 2px 0;
	white-space: nowrap;
}


#appointment #times .time_group:first-of-type .clinician > label {
	margin-bottom: 48px;
}

#appointment #times .times >  input[type=radio] + label {
	width: 100%;
	border: 1px solid #ccc;
	background: none;
	margin-top: -1px;
	margin-bottom: 0;
}


#appointment #times .times >  input[type=radio]:checked + label {
	background: #ff6b00;
	color: #fff;
}

#appointment .empty {
	background: #eee;
	padding: 120px 20px;
}


#appointment .buttons {
    clear: both;
    padding-top: 50px;
    margin-bottom: 70px;
}


#appointment .thanks {
	text-align: left;
	margin: auto;
	background: #eee;
	padding: 10px 15px;
	font-size: 16px;
	line-height: 25px;
}

	#appointment .thanks label {
		font-weight: bold;
		width: 33%;
		display: inline-block;
	}


	#appointment .step3 .thanks a {
		float: right;
	}



#confirmation_trailer h3 {
	font-size: 1.17em;
}




/* Datepicker */

.ui-datepicker tbody td {
    padding: 0 !important;
	border: 1px solid #eee !important;
}

.ui-datepicker td span, .ui-datepicker td a {
	padding: 10px !important;
	text-align: center !important;
}


a.ui-state-default, .ui-datepicker-unselectable .ui-state-default {
  border: none !important;
}
 
#duplicate {
	color: #555;
    line-height: 25px;
    padding: 40px;
}



@media only screen and (max-width:1024px) {
	

	#appointment #datetime_clinician {
		width: 75%;
		margin: 0 auto;
		display: block;
	}
	
	#appointment #datetime_clinician #times {
		margin-top: 50px;
	}
        
	#appointment #times, #appointment .calendar {
		width: 100% !important;
	}
	
	
	#appointment #times > label {
		width: 59%;
	}
}


@media only screen and (max-width:600px) {
	

		#FaceIDContainer > div {
			width: 100%;
		}

    	#appointment .progress {
            margin: 0 1%;
        }
        
	
}




@media only screen and (max-width:414px) {
    
    
    
    .half, .thanks, .three_quarters, #appointment #datetime_clinician  {
        width: 100%;
    }
    
    
    #appointment {
        width: 90%;
    }
    
        #appointment .progress_bar {
            margin-left: -7.5%;
            margin-right: -7.5%;
        }
        
    
    
    #appointment .ui-datepicker {
        width: 100% !important;
        margin-bottom: 40px;
    }
    

	#appointment #times > label {
		width: 85%;
	}
    
    #appointment .step1 .dates.third {
        width: 100%;
        margin: 10px auto;
    }
    
	#appointment .thanks label {
		width: 100%;
		display: block;
	}
    
    
}



@media only screen and (max-width:800px) {
    
    
    .half, .thanks {
        width: 100%;
    }
    
    
}