/* Custom styles file for front end websites */

.has-error{
	color: #f00;
}

/* For catagory page image link to embed popup */
img.videothumb{
    height:auto !important;
    width:73px !important;
    border:0 !important;
    position:absolute;
   	top:40%;
   	left:40%;
    cursor:pointer!important;
    z-index:1;
}

img.catimg {
  opacity: 0.7;
  filter: alpha(opacity=70); /* For IE8 and earlier */
}

img.catimg:hover {
  opacity: 1.0;
  filter: alpha(opacity=100); /* For IE8 and earlier */
}

.raf-active-yes-no-option-btn{
  background: #006364;
    border-color: #006364;
    color: #ffffff !important;
}

.btn-primary-custom{
  background-image: linear-gradient(to bottom, #fff 0px, #e0e0e0 100%);
  background-repeat: repeat-x;
  border-color: #ccc;
  text-shadow: 0 1px 0 #fff;
}

.btn-primary-custom.disabled,.btn-primary-custom:disabled{
  background-color:#0275d8;
  border-color:#0275d8
}

.btn-primary-custom.active,.btn-primary-custom:active{
  color: #fff;
  background-image: linear-gradient(to bottom, #12ce7cd4 0px, #12ce7cd4 100%);
  background-repeat: repeat-x;
  border-color: #12ce7cd4;
  text-shadow: 0 1px 0 #12ce7cd4;
}

.small-text{
  font-size: 13px !important;
}

/* ______ RAF STYLES _____ */

.raf-section{
  border: 1px solid #d3d3d3;
  border-bottom: none;
  margin-bottom: 15px;
}

.raf-section-heading{
  padding: 8px 0px;
  background-color: #f3f1ed;
  color: #333;
  font-size: 1.2rem;
  margin: 0px 0px 0px 0px;
  border-bottom: 1px solid #d3d3d3;
}

.raf-section-questions{
  padding: 16px 0px 10px 0px;
  border-bottom: 1px solid #d3d3d3;
  margin: 0px 0px 0px 0px; 
}

.raf-question{
  font-size: 1.1rem; 
}

.raf-question span{
  font-weight: bold;
}

.raf-section-questions ul li{
  color: #7B7B7B;
}

/****** AUTO SUGGEST *******/

.td-auto-suggest-div{
  height: 295px !important;
  position:absolute;top:0;bottom:0;left:0;right:0;
  margin-left: 15px;
  margin-right: 15px;
  margin-top: 54px;
  z-index: 1;
  overflow-y: scroll;
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 5px;
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}

.td-search-result-item{
  border-bottom: 1px solid #eee; 
  padding: 10px;
}

.td-search-result-item:hover{
  background-color: #eee;
}

/************ CUSTOM RADIO **************/

.checkbox label:after, 
.radio label:after {
    content: '';
    display: table;
    clear: both;
}

.checkbox .cr,
.radio .cr {
    position: relative;
    display: inline-block;
    border: 1px solid #a9a9a9;
    border-radius: .25em;
    width: 1.3em;
    height: 1.3em;
    float: left;
    margin-right: .5em;
}

.radio .cr {
    border-radius: 50%;
}

.checkbox .cr .cr-icon,
.radio .cr .cr-icon {
    position: absolute;
    font-size: .8em;
    line-height: 0;
    top: 50%;
    left: 20%;
}

.radio .cr .cr-icon {
    margin-left: 0.04em;
}

.checkbox label input[type="checkbox"],
.radio label input[type="radio"] {
    display: none;
}

.checkbox label input[type="checkbox"] + .cr > .cr-icon,
.radio label input[type="radio"] + .cr > .cr-icon {
    transform: scale(3) rotateZ(-20deg);
    opacity: 0;
    transition: all .3s ease-in;
}

.checkbox label input[type="checkbox"]:checked + .cr > .cr-icon,
.radio label input[type="radio"]:checked + .cr > .cr-icon {
    transform: scale(1) rotateZ(0deg);
    opacity: 1;
}

.checkbox label input[type="checkbox"]:disabled + .cr,
.radio label input[type="radio"]:disabled + .cr {
    opacity: .5;
}

.raf-title:first-letter{

  text-transform: capitalize;

}

.bg-grey{
  background-color: #d3d3d3;
}


