/* ----------TABLE OF CONTENTS---------- /*
1. COMMENTS__________Contains comment container and styling of comments
2. REPLIES___________Contains reply container and styling of replies
4. RATE______________Rate comment styling in top right of comment
3. FORM______________Comment form styling
/* ------------------------------------- */

/* ------------------------*/
/* ---->>> COMMENTS <<<----*/
/* ------------------------*/

/* container of all comments */

div#comments-container {
    width: 100%;
}
/* additionally, alternate class used
   to easily distinguish every other
   comment by background color */
div#comments-container ul li.alternate{
    background: #ddd;
    margin-bottom: 10px;
    list-style: none outside none;
}

div#comments-container ul li.alternate:nth-child(odd){
    background: #c5c5c5;
    margin-bottom: 10px;
    list-style: none outside none;
}

/* link colors in comments */
div#comments-container p a{
    font-size: 13px;
    color: #888;
}

div#comments-container p a:hover{
    background: #e86425;
    color: #444;
}

/* individual comment container */
div.comment{
    position: relative;
}

div.comment div.avatar{
    height: 50px;
    left: -60px;
    position: absolute;
    width: 50px;
}

div.comment div.avatar img{
    display: block;
}
/* commenter's name */
div.comment cite.name{
    font-size: 12px;
    height: 25px;
    top: 5px;
    padding: 0px 0 0 10px;
    position: relative;
    color: #333333;
    font-style:normal;
}

div.comment cite.name h5{
    float: left;
    padding-right: 6px;
}

div.comment cite.name a:hover{
    color: #7A89CC;
}
/* comment's body*/
div.comment blockquote{
    font-size: 12px;
    font-weight: normal;
    color: #444444;
    padding: 10px 10px 40px 10px;
    line-height: 1.3em;
    margin: 0;
}

/* date of comment */
div.comment div.date{
    color: #444;
    float: left;
    font-size: 11px;
    margin: -20px 0 0 10px;
}
/* moderate buttons container */
div.comment div.moderate{
    float: right;
    margin-top: -25px;
}

div.comment div.moderate ul li{
    float: left;
    margin: -2px 5px;
    list-style: none outside none;
}
/* moderate buttons ie: reply */
div.moderate a.mod-button{
    background: #f0f0f0;
    color: #777;
    cursor: pointer;
    font-size: 12px;
    padding: 2px 5px 2px 5px;
    position: relative;
}

div.moderate a.mod-button:hover{
    top: -1px;
}
/* moderate buttons ie: reply */
div.moderate a.mod-button:active{
}
/* -------------------------*/
/* ---->>> /COMMENTS <<<----*/
/* -------------------------*/

/* -----------------------*/
/* ---->>> REPLIES <<<----*/
/* -----------------------*/
div.comment-reply{
    border: none;
    position: relative;
}

div.comment-reply blockquote{
    background: #888;
    color: #EAEAEA;
    font-size: 13px;
    margin: 15px 0 10px 20px;
    padding: 10px;
}

/* css trick for the arrow next to the reply boxes */
div.comment-reply .arrow{
    border-bottom: 8px solid #888;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    height: 0;
    left: 30px;
    line-height: 0;
    position: absolute;
    top: -8px;
    width: 0;
}
/* end trick */

div.comment-reply cite.name{
    color: #fff;
    font-size: 12px;
    padding: 1px 4px 3px 4px;
    position: absolute;
    right: 0px;
    font-style:normal;
}

div.comment-reply cite.name a{
    color: #eaeaea;
    font-size: 12px;
}

div.comment-reply cite.name a:hover{
    color: #7A89CC;
}

div.comment-reply div.date{
    color: #888;
    float: left;
    font-size: 11px;
    margin: -5px 0 0 30px;
}

div.comment-reply div.moderate{
    margin-bottom: 40px;
}

div.comment-reply div.moderate ul{
    float: right;
    margin: -5px 5px;
}

div.comment-reply div.moderate a.mod-button:hover{

}

/* ------------------------*/
/* ---->>> /REPLIES <<<----*/
/* ------------------------*/

/* --------------------*/
/* ---->>> RATE <<<----*/
/* --------------------*/
ul.rate-widget{
    position: absolute;
    top: 0;
    right: 0;
    margin-right: 5px;
}

ul.rate-widget li{
    color: #444;
    height: 10px;
    width: 20px;
    float: left;
    margin: 5px 5px 0 0;
    list-style: none outside none;
    font-size: 100%;
}

ul.rate-widget li.total-rate{
    font-weight: bold;
    font-size: 10px;
    text-align: right;
    padding-right: 4px;
    border-right: 1px solid #999;
}

ul.rate-widget li.total-rate.pos{
    color: #5b8f08;
}

ul.rate-widget li.total-rate.neg{
    color: #c2263b;
}

ul.rate-widget li.show-rate{
    font-size: 10px;
}

ul.rate-widget li.pos-rate{
    text-align: center;
    background: #99ce00;
    color: #546f00;
    border: 1px solid #84af00;
    -moz-box-shadow: inset 0 1px #b5ef00;
    -webkit-box-shadow: inset 0 1px #b5ef00;
    box-shadow: inset 0 1px #b5ef00;
}

ul.rate-widget li.neg-rate{
    text-align: center;
    background: #c2263b;
    color: #6f0d1d;
    border: 1px solid #8f1a2d;
    -moz-box-shadow: inset 0 1px #ff2f62;
    -webkit-box-shadow: inset 0 1px #ff2f62;
    box-shadow: inset 0 1px #ff2f62;
}

/* css trick for the arrows */
ul.rate-widget li span.up-arrow{
    border-bottom: 6px solid #b5ef00;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    height: 0;
    line-height: 0;
    position: relative;
    top: -12px;
    width: 0;
}

ul.rate-widget li span.down-arrow{
    border-top: 6px solid #ff2f62;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    height: 0;
    line-height: 0;
    position: relative;
    top: 8px;
    width: 0;
}
/* end trick */

ul.rate-widget li:not(.total-rate):hover{
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    cursor: pointer;
}
/* ---------------------*/
/* ---->>> /RATE <<<----*/
/* ---------------------*/

/* --------------------*/
/* ---->>> FORM <<<----*/
/* --------------------*/

/* form container */
#comment-form{
    height: 300px;
    margin: 20px auto;
}

/* cancel button text */
#comment-form h2 a.cancel {
    color: #555;
    font-size: 11px;
    margin-left: 10px;
    cursor: pointer;
}
form.canny span.wrap label.required:after{
    color: red;
    content: "Required";
    float: right;
    font-size: 11px;
    text-height: 3px;
}

form.canny span.wrap label.invalid:after{
    color: red;
    content: "Invalid";
    float: right;
    font-size: 11px;
    text-height: 3px;
}

form.canny span.wrap label.optional:after{
    color: #555;
    content: "Optional";
    float: right;
    font-size: 11px;
    text-height: 3px;
}
/* input field spacing */
form.canny span.wrap ul li{
    margin-bottom: 10px;
    list-style: none outside none;
}
/* because we're using inline
/* text for inputs, the label will be
/* used for our input styles */
form.canny span.wrap label{
    border: 1px solid #999;
    font-size: 12px;
    padding: 7px;
    position: absolute;
    text-indent: 2px;
    width: 170px;
    z-index: 1;
}

form.canny span.wrap label[for=equation] {
    width: 110px;
}
/* when user focuses on input */
form.canny span.wrap label.focus{

}

form.canny span.wrap label.hastext{

}
/* actual field inputs */
form.canny input.input-text, textarea.input-text{
    background: none;
    border: none;
    font-size: 12px;
    padding: 6px;
    position: relative;
    font-family: "Lucida Grande", "Lucida", Verdana, Geneva, "Trebuchet MS", sans-serif;
    text-indent: 1px;
    width: 170px;
    z-index: 10;
}
/* make the comment input larger */
form.canny textarea.input-text,
form.canny label#body-label{
    height: 100px;
    width: 350px;
}
/* lighten inline text when user clicks input */
form.canny label.overlay span{
    opacity: 0.4;
    -webkit-transition: opacity 200ms linear;
}
/* lighten inline text when user clicks input */
form.canny label.focus span{
    opacity: 0.2;
}
/* make inline text completely transparent when
  user has typed input */
form.canny label.hastext span{
    -webkit-transition: opacity 0ms linear;
    opacity: 0.0;
}
/* submit button */
form.canny input[type=submit]{

}
/* submit button hover */
form.canny input[type=submit]:hover{
    cursor: pointer;
}
/* submit button pressed */
form.canny input[type=submit]:active{

}