/* dropdowns */
form .dropdown {
    display: inline-block;
    position: relative;
    height: 28px;
    width: 135px;
    background: #f2f2f2;
    border: 1px solid;
    border-color: white #f7f7f7 whitesmoke;
    border-radius: 3px;
    background-image: -webkit-linear-gradient(top, transparent, rgba(0, 0, 0, 0.06));
    background-image: -moz-linear-gradient(top, transparent, rgba(0, 0, 0, 0.06));
    background-image: -o-linear-gradient(top, transparent, rgba(0, 0, 0, 0.06));
    background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.06));
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
    -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
}

form .dropdown select {
    cursor: pointer;
}

form .dropdown:before, .dropdown:after {
    content: '';
    position: absolute;
    z-index: 2;
    top: 9px;
    right: 10px;
    width: 0;
    height: 0;
    border: 4px dashed;
    border-color: #888888 transparent;
    pointer-events: none;
}

form .dropdown:before {
    border-bottom-style: solid;
    border-top: none;
}

form .dropdown:after {
    margin-top: 7px;
    border-top-style: solid;
    border-bottom: none;
}

form .dropdown-select {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 6px 8px 6px 10px;
    height: 28px;
    line-height: 14px;
    font-size: 12px;
    color: #62717a;
    text-shadow: 0 1px white;
    background: #f2f2f2; /* Fallback for IE 8 */
    background: rgba(0, 0, 0, 0) !important; /* "transparent" doesn't work with Opera */
    border: 0;
    border-radius: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

form .dropdown-select:focus {
    z-index: 3;
    width: 100%;
    color: #394349;
}

form .dropdown-select > option {
    margin: 3px;
    padding: 6px 8px;
    text-shadow: none;
    background: #f2f2f2;
    border-radius: 3px;
    cursor: pointer;
}


/* custom checkbox and radio */
form input[type=radio],
form input[type=checkbox] {
    display: none;
}

form input[type=checkbox] + input[value=on] + label,
form input[type=radio] + label {
    display: block;
    cursor: pointer;
    /*color: black;*/
}

form input[type=checkbox] + input[value=on] + label:before,
form input[type=checkbox] + label:before,
form input[type=radio] + label:before {
    display: inline-block;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-right: 8px;
    width: 23px;
    color: black;
    font-size: 17px;
}

form input[type=radio] + label:before {
    content: "\f10c";
}

form input[type=radio]:checked + label:before {
    content: "\f05d";
}

form input[type=checkbox] + input[value=on] + label:before,
form input[type=checkbox] + label:before {
    content: "\f096";
}

form input[type=checkbox]:checked + input[value=on] + label:before,
form input[type=checkbox]:checked + label:before {
    content: "\f046";
}

form .radio label,
form .checkbox label {
    padding-left: 0;
}



.text-danger, .text-danger:hover {
    position: relative;
    display: block;
    color: #B33C12;
    top: 5px;
}

.text-danger:first-letter {
    text-transform: uppercase;
}


/******** star rating **********/
.star-rating {
    font-family: 'FontAwesome';
    text-align: center;
    font-size: 25px;
    margin-top: 20px;
}

.star-rating fieldset {
    border: none;
    display: inline-block;
}

.star-rating fieldset label {
    font-weight: lighter;
    pointer-events: all;
    cursor: pointer;
}

.star-rating fieldset:not(:checked) > input {
    position: absolute;
    top: -9999px;
    clip: rect(0, 0, 0, 0);
}

.star-rating fieldset:not(:checked) > label {
    float: right;
    width: 1em;
    padding: 0 .05em;
    overflow: hidden;
    white-space: nowrap;
    cursor: pointer;
    font-size: 200%;
    color: white;
}

.star-rating fieldset:not(:checked) > label:before {
    content: '\f006  ';
    pointer-events: none;
}

.star-rating fieldset:not(:checked) > label:hover,
.star-rating fieldset:not(:checked) > label:hover ~ label {
    color: white;
    text-shadow: 0 0 3px white;
}

.star-rating fieldset:not(:checked) > label:hover:before,
.star-rating fieldset:not(:checked) > label:hover ~ label:before {
    content: '\f005  ';
}

.star-rating fieldset > input:checked ~ label:before {
    content: '\f005  ';
}

.star-rating fieldset > label:active {
    position: relative;
    top: 2px;
}


/* loading */

.loader {
    position: fixed;
    text-align: center;
    height: 1250px;
    width: 110%;
    margin: -212px 0 0 -50px;
    z-index: 999;
    background: white;
    padding-top: 20%;
    opacity: 0.7;
    font-size: 27px;
    padding-right: 10%;
}

.loader img {
    margin-bottom: 25px;
}

.loader p {
    font-size: 18px;
}