/************************ INDEX *************************

Contains:
 - Forms

************************* /INDEX ***********************/


/************************ INPUTS ************************/


input.form-control{
	font-size:17px;
	height: auto;
}
.input-group-addon, .panel-title{
	font-size: inherit;
}

/** Form input **/
input.form-control, textarea,select {
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  outline: none;
}

input.form-control:focus, textarea:focus, select:focus {
  -moz-box-shadow: 0 0 5px #5cc8de !important;
  -webkit-box-shadow: 0 0 5px #5cc8de !important;
  box-shadow: 0 0 5px #5cc8de !important;
  border: 1px solid #5cc8de !important;
}

.left-spacer:last-child>.btn, .left-spacer:last-child>.btn-group {
    margin-left: 1em !important;
    white-space: nowrap !important;
}


	#site_search .left-spacer>.btn, #site_search .left-spacer>.btn-group  {
		margin-left: 1em !important;
		white-space: nowrap !important;
	}
	
	@media (max-width: 768px) { /** xs **/
		
		#site_search .left-spacer>.btn, #site_search .left-spacer>.btn-group {
			margin-left:0 !important;
		}
		
	}

.form-inline-control{
	display: inline-block;
	width: auto;
}

.input-group input.form-control{
	border-radius: 4px !important;	
}


@media (max-width: 1200px) { /** lg **/
	input.form-control{
		font-size:21px;
		height: auto;		
	}
	select.form-control{ 
		height:48px; /**Set to consistent height with inputs **/
	}	
	
}

@media (max-width: 992.9px) { /** md **/
	input.form-control{
		font-size:19px;
		height: auto;		
	}
	select.form-control{ 
		height:48px; /**Set to consistent height with inputs **/
	}	
}	

@media (min-width: 768px) { /** sm **/	
	input.form-control{
		font-size:19px;
		height: auto;		
	}
	select.form-control{ 
		height:48px; /**42Set to consistent height with inputs **/
	}		
}	

@media (max-width: 767.9px) { /** xs **/
	input.form-control{
		font-size:19px;
		height: auto;		
	}
	select.form-control{ 
		height:48px; /**Set to consistent height with inputs **/
	}	
	
	.input-group{
		display: block;
	}
	.input-group input.form-control{
		margin-bottom: 15px;
	}
	.left-spacer:last-child>.btn, .left-spacer:last-child>.btn-group {
		margin-left: 0 !important;
	}
	
}

	/************************ AMOUNT INPUT ***********************/
	.input-group-amount {
		display:table !important;
	}
	
		.input-group-amount input.form-control {
			-webkit-border-top-left-radius: 0px !important;
			-webkit-border-bottom-left-radius: 0px !important;
			-moz-border-radius-topleft: 0px !important;
			-moz-border-radius-bottomleft: 0px !important;
			border-top-left-radius: 0px !important;
			border-bottom-left-radius: 0px !important;
			margin-bottom:0 !important;
		}
		
	/************************ /AMOUNT INPUT ***********************/
	
/************************ /INPUTS ***********************/

/******************************** RADIO AND CHECKBOX ************************/
form label.chk,
form label.rad {
	display:block;
	border-bottom:1px #eee solid;
	padding-top:16px;
	padding-bottom:16px;
	margin:0;
	padding-left:20px;
}

	form .first label.chk,
	form .first label.rad,
	form label.chk:first-of-type,
	form label.rad:first-of-type {
		border-top:1px #eee solid;
	}

.rad,
.chk{
	cursor: pointer;
	user-select: none;
	-webkit-user-select: none;
	-webkit-touch-callout: none;
	font-weight:normal;
	transition: 0.2s;
}

	.rad:hover,
	.chk:hover,
	label.selected {
		background-color:#f8f8f8;
	}

.norad i {
	border:none !important;
	background:none !important;
}

	.norad:hover {
		background:none !important;
		cursor:default !important;
	}
	
	.norad > input:checked + i {
		box-shadow:none !important;
	}

.rad > input,
.chk > input{ /* HIDE ORG RADIO & CHEchkOX */
	visibility: hidden;
	position: absolute;
}

.rad > i,
.chk > i{     /* DEFAULT <i> STYLE */
	display: inline-block;
	vertical-align: middle;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	transition: 0.2s;
	box-shadow: inset 0 0 0 8px #fff;
	border: 1px solid gray;
	background: #fff;
	margin-right: 6px;
    position: relative;
    top: -2px;
}

	.chk > i{
		width:25px;
		height:25px;
		border-radius: 0;
		-moz-border-radius: 0;
		-webkit-border-radius: 0;
	}

	.rad:hover > i { /* HOVER <i> STYLE */
		box-shadow: inset 0 0 0 3px #fff;
		background: gray;
	}
		
		.rad > input:checked + i{ /* (RADIO CHECKED) <i> STYLE */
			box-shadow: inset 0 0 0 3px #fff;
			background: #00aece;
		}

	.chk > input + i:after{
	  content: "";
	  display: block;
	  height: 19px;
	  width: 19px;
	  margin: 2px;
	  border-radius: inherit;
		-moz-border-radius: inherit;
		-webkit-border-radius: inherit;
	  transition: inherit;
	  background: white;
	}
	
		.chk > input:checked + i:after{ /* (RADIO CHECKED) <i> STYLE */
			background-image:url(../../../biblesociety/images/elements/tick.png.html);
			background-size:contain;
			background-repeat:no-repeat;
		}

.rad .sub_title {
	padding-left:30px;
}

form label.rad.no_top_border {
	border-top:none !important;
}

.radio_expanded_area {
	border-bottom:1px #eee solid;
}
		
/******************************** /RADIO AND CHECKBOX ************************/		

/******************************** RADIO AND CHECKBOX FOR EMAIL PREFERENCES ************************/	

form .email_preference_area.logged_in label.rad{
    display: inline;
    border-bottom: 0px;
    border-top:0px;
    padding-top: 0px;
    padding-bottom: 0px;
    margin-bottom: 5px;
}

form .email_preference_area.logged_in .rad:hover{
    background-color: transparent;
}

form .email_preference_area.logged_in .form_field{
    border-bottom: 1px #eee solid;
    padding-top: 16px;
    padding-bottom: 16px; 
    padding-left:20px;
}

form .email_preference_area.logged_in{
    margin-bottom: 1em;    
}

form .email_preference_area.logged_in .form_field:first-of-type{
/*    border-top: 1px #eee solid;*/
}

form .email_preference_area.logged_out span{
    display: block;
}

.rad_yes > input:checked + i{
    background: #00843e;
}

.rad_yes > input:checked + i + span.i_yes{
    font-weight: bold;
    color: #00843e;
}

.rad_no > input:checked + i{
    background: #ee2c3c;
}

.rad_no > input:checked + i + span.i_no{
    font-weight: bold;
    color: #ee2c3c;
}

.rad_yes.selected,
.rad_no.selected{
    background-color: transparent;
}

@media (max-width: 767.9px) {
    .remove_margin_mobile{
        margin-left: -15px;
        margin-right: -15px;
        padding-left: 8px;
        padding-right: 8px;
    }
}

@media (max-width: 767.9px) {
    form .email_preference_area.logged_in .form_field{
        padding-left: 0px;
    }
    
    form .email_preference_area.logged_out label.chk{
        padding-left: 0px;
    }
}

/******************************** /RADIO AND CHECKBOX FOR EMAIL PREFERENCES  ************************/		

/******************************** DATEPICKER ************************/
#ui-datepicker-div {
	font-size:0.8em;
}

	#ui-datepicker-div select {
		font-weight:normal;
	}
/******************************** /DATEPICKER ************************/

/******************************** ERRORS ************************/
input.error, select.error, textarea.error{
	border-color: #b94a48;
}

label.error {
	color: #b94a48;
    line-height: 1.2em;
}

.required_asterisk {
	color: #b94a48;
	font-weight:bold;
}

/******************************** /ERRORS ************************/

/************************ POSTCODE LOOKUP ************************/
p.form_field_postcode_lookup {
	margin-bottom:0;
}

#lookup_area select {
	margin-top:1em;
}
/************************ /POSTCODE LOOKUP ************************/




.form_builder_sub_content_present p.form_field {
    margin-bottom:0;
}

.captcha_holder {
    margin-top:20px;
}




/************************ HEADER ************************/

/************************ HEADER ************************/
/************************ HEADER ************************/
/************************ HEADER ************************/
/************************ HEADER ************************/
/************************ HEADER ************************/
/************************ HEADER ************************/
/************************ HEADER ************************/