﻿.switch {
    position: relative;
    display: inline-block;
    width: auto !important;
    height: 30px;
    background: transparent !important;
}

/* Hide default HTML checkbox */
.switch input {
    display: none;
}

/* The slider */
.ModDNNArticleC .comment-view .table .slider {
    position: relative !important;
}
.commentContentTableBody .slider {
    position: relative !important;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: auto;
    right: 110%;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 23px;
    width: 23px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #87cefa;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider .yes {
    opacity: 1;
}

input:checked + .slider .no {
    opacity: 0;
}

input:checked + .slider:before {
    -webkit-transform: translateX(41px);
    -ms-transform: translateX(41px);
    transform: translateX(41px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
    width: 75px;
}

.slider.round:before {
    border-radius: 50%;
}

.slider.round .no {
    font-size: 12px;
}

.slider.round .yes {
    font-size: 12px;
    color: #fff;
    float: left;
    padding: 5px 8px;
}

.slider.round .no {
    color: #636363;
    float: right;
    padding: 5px 8px;
}

.switch > span {
    vertical-align: middle;
    margin-top: 4px;
    display: inline-block;
}




.stars-outer {
    position: relative;
    display: inline-block;
}

.stars-inner {
    position: absolute;
    top: 0;
    left: 0;
    white-space: nowrap;
    overflow: hidden;
    width: 0;
}

.stars-outer::before {
    content: '\f005 \f005 \f005 \f005 \f005';
    font-weight: 900;
    font-family: 'FontAwesome';
    color: #ccc;
}
.stars-inner::before {
    content: '\f005 \f005 \f005 \f005 \f005';
    font-weight: 900;
    font-family: 'FontAwesome';
    color: #f8ce0b;
}

@import url(//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css);
fieldset, label { margin: 0; padding: 0; }
/****** Style Star Rating Widget *****/

.rating { 
    border: none;
    float: left;
}

.rating > input { display: none; } 
.rating > label:before { 
    margin: 5px;
    font-size: 1.25em;
    font-family: FontAwesome;
    display: inline-block;
    content: "\f005";
}

.rating > .half:before { 
    content: "\f089";
    position: absolute;
}

.rating > label { 
    color: #ddd; 
    float: right; 
}

/***** CSS Magic to Highlight Stars on Hover *****/

.rating > input:checked ~ label, /* show gold star when clicked */
.rating:not(:checked) > label:hover, /* hover current star */
.rating:not(:checked) > label:hover ~ label { color: #FFD700;  } /* hover previous stars in list */

.rating > input:checked + label:hover, /* hover current star when changing rating */
.rating > input:checked ~ label:hover,
.rating > label:hover ~ input:checked ~ label, /* lighten current selection */
.rating > input:checked ~ label:hover ~ label { color: #FFED85;  }


.itemTag {
    background: #b1b1b1;
    color: #fff !important;
    border-radius: 0;
    display: inline-block;
    text-transform: uppercase;
    padding: 6px 8px !important;
    line-height: 120%;
    filter: brightness(1) !important;
    margin: 0 2px;
}
.itemTag:hover { background-color: #5e5e5e; }


/**Start Loading Styles*/
.comment-view.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 1000;
    opacity: 0.6;
}
.comment-view.loading::after {
    content: '';
    position: absolute;
    /*top: 50%;*/
    bottom: 85%;
    left: 50%;
    transform: translate(-50%,-50%);
    background: url(/DesktopModules/DNNArticle/Contents/img/loading.gif) no-repeat;
    width: 45px;
    height: 45px;
    z-index: 1000;
    background-position: center;
    background-size: cover;
}
/**End Loading Styles*/
