/*** custom checkboxes ***/

.service-category input[type=checkbox] { display:none; } /* to hide the checkbox itself */
.service-category input[type=checkbox] + label:before {
  font-family: FontAwesome;
  display: inline-block;
  font-size: 25px;
  color: #9B9C9C;
}
.service-category input[type=checkbox] + label:before { content: "\f10c"; } /* unchecked icon */
.service-category input[type=checkbox] + label:before { letter-spacing: 10px; } /* space between checkbox and label */
.service-category input[type=checkbox]:checked + label:before { content: "\f058"; color: #428bca; } /* checked icon */
.service-category input[type=checkbox]:checked + label:before { letter-spacing: 10px; } /* allow space for check mark */

.badge {
    background-color: #999;
    border-radius: 10px;
    color: #fff;
    display: inline-block;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    min-width: 10px;
    padding: 2px 7px;
    text-align: center;
    vertical-align: baseline;
    white-space: nowrap;
}

a.category-option.active, 
a.category-option.active:hover, 
a.category-option.active:focus {
  background-color: #EFEFEF !important;
  border-color: #EFEFEF !important;
  color: #444;
}
.service-category label.checkbox {
	display: block;
	padding: 7px;
}
/*.category-service label:before {
    content: "\f10c";
}*/

.form-horizontal .form-group {
    margin-left: 15px;
    margin-right: 15px;
}
.dRFSecSel {margin: 0 14px !important;}

.dRFSecSel img {
    opacity: 0.4;
    filter: alpha(opacity=40); /* For IE8 and earlier */
}
.dRFSelected img {
    opacity: 1.0;
    filter: alpha(opacity=40); /* For IE8 and earlier */
}
.dRFSecSel { border-bottom: #FFF solid 2px; border-top: #FFF solid 2px; }
.dRFSelected { border-bottom: #FFF solid 2px; border-top: #FFF solid 2px; }
select.autowidth,
input.autowidth { 
    width: auto; 
}
.formDataSection legend { margin-top: 15px; }
#drfpagelist .opt1,
#drfpagelist .opt2,
#drfpagelist .opt3,
#drfpagelist .opt4 {
	display: inline-block;
	/*width: 100px; 
	height: 100px;*/
}
#availability select { margin-bottom: 7px; }

/* Required field START */

.form-group {
    position: relative;   
}

.form-group .required-icon {
    display: inline-block;
    vertical-align: middle;
    margin: -0.25em 0.25em 0em;
    background-color: #E8E8E8;
    border-color: #E8E8E8;
    padding: 0.5em 0.8em;
    color: rgba(0, 0, 0, 0.65);
    text-transform: uppercase;
    font-weight: normal;
    border-radius: 0.325em;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: background 0.1s linear;
    -moz-transition: background 0.1s linear;
    transition: background 0.1s linear;
    font-size: 75%;
}
	
.form-group .required-icon {
    background-color: transparent;
    position: absolute;
    top: 0em;
    right: 0em;
    z-index: 10;
    margin: 0em;
    width: 30px;
    height: 30px;
    padding: 0em;
    text-align: center;
    -webkit-transition: color 0.2s ease;
    -moz-transition: color 0.2s ease;
    transition: color 0.2s ease;
}

.form-group .required-icon:after {
    position: absolute;
    content: "";
    right: 1px;
    top: 1px;
    z-index: -1;
    width: 0em;
    height: 0em;
    border-top: 0em solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 30px solid transparent;
    border-left: 0em solid transparent;
    border-right-color: inherit;
    -webkit-transition: border-color 0.2s ease;
    -moz-transition: border-color 0.2s ease;
    transition: border-color 0.2s ease;
}

.form-group .required-icon .text {
	color: #B80000;
	font-size: 26px;
	margin: -3px 0 0 12px;
}
/* Required field END */

@media (max-width: 970px) {
    select.autowidth,
    input.autowidth { 
        width: 100%;
    }
}