/* информационыне сообщения */
.wrap{
			width: 100%;
			margin:0 auto;
		}
p,ul{
			margin-bottom: 20px;
		}
.ecomment_inf{
    padding: 5px 10px;
    border:1px solid #777;
    color: #fff;
    background-color: rgba(119,119,119,1);
    margin-top: 15px;
    margin-bottom: 15px;
}
.ecomment_err{
    padding: 5px 10px;
    border:1px solid #B43D3D;
    color: #B43D3D;
    background: #FFECEC;
    margin-bottom: 10px;
}
/* обобщенные правила */
.ecomment_control_icon{
    display: inline-block;
    text-indent: 20px;
    width: 20px;
    overflow: hidden;
    white-space: nowrap;
}
    .ecomment_control_icon:hover{
        background-color: #CCE6FF;
    }
.ecomment_opacity{
    opacity: 0.4;
}
.ecomment [contenteditable]{
    background-color: #777;
}

/* список комментариев */
.ecomment{
	margin: 15px 0 15px 0;
    min-height: 60px;
}
.ecomment.admin{

}
    .ecomment.admin .ecomment_title{
        background-color: #6c788d;
    }
.ecomment.unmoderated{
    opacity:0.4;
}
    .ecomment_selected_for_answer{
        background-color: #F1FAF1;
    }
    .ecomment_answers{
        margin-left: 60px;
        margin-bottom: 40px;
    }
        .ecomment_answer_caption{
            margin-left: 10px;
        }
    .ecomment_avatar{
        float: left;
		margin: 0 5px 15px 0;
    }
    .ecomment_date{
        float: right;
        padding: 4px 5px;
		font-size: 0.9rem;
		color: #fff;
    }
    .ecomment_title{
        height: 30px;
		line-height: 26px;
        background-color: rgba(119,119,119,1);
        margin-bottom: 14px;
		font-size:0.9rem;
		color: #fff;
    }
        .ecomment_name{
			float: left;
        }
        .ecomment_ip{
	        float: left;
	        margin-left: 5px;
	        font-size: smaller;
	        line-height: inherit;
        }
        .ecomment_answer_link,
		.ecomment_mailto_link,
		.ecomment_isadmin_link,
		.ecomment_ban_link	{
            display: inline-block;
			height: 20px;
			width: 20px;
			font-family:'FontAwesome';
			font-size: 20px;
			line-height: 20px;
			color: #444;
			padding: 5px;
			margin-left: 3px;
		}
		.ecomment_answer_link:hover,
		.ecomment_mailto_link:hover,
		.ecomment_isadmin_link:hover,
		.ecomment_ban_link:hover{
			color: #333;
		}

	.ecomment_extra_fields{
		padding-left: 70px;
		margin: -5px 0 5px 0;
		line-height: 20px;
		background: #F0F8FF;
		color: #B0B0B0;
	}
		.ecomment_extra_field{}
			.ecomment_extra_field_title{}
			.ecomment_extra_field_value{
				padding: 0 10px 0 5px;
			}

    .ecomment_rating{
        float: right;
    }
		.ecomment_rate_link{
            float: right;
            margin: 6px 0 0 0;
            text-decoration: none;
            width: 18px;
            text-indent: 0px;
            overflow: hidden;
			color: #ffffff;
        }
            .ecomment_rate_up{
                display: block;
				top: 0;
				left: 0;
				height: inherit;
				width: inherit;
				font-family:'FontAwesome';
				font-size: 20px;
				line-height: 20px;
				content: "\f196";
				color: #ffffff;
			}
            .ecomment_rate_down{
                display: block;
				top: 0;
				left: 0;
				height: inherit;
				width: inherit;
				font-family:'FontAwesome';
				font-size: 20px;
				line-height: 20px;
				content: "\f147";
				color: #ffffff;
            }
            .ecomment_rate_link:hover{
                background-color: none;
				color: #ffffff;
            }
        .ecomment_rating_value{
            float: right;
            font-weight: 500;
            color: #fff;
            margin: 2px 8px;
        }
        .ecomment_rating_value.negative{
            color: red;
        }
    .ecomment_message{
		word-wrap: break-word;
		margin-left: 75px;
		margin-top: 10px;
		font-family: 'Roboto', sans-serif;
		font-size: 0.9rem;
		line-height: 1.375rem;
		letter-spacing: 0.5px;
		font-weight: 300;
		color: #888;
		}
    .ecomment_control{
        background: #f7f7f7;
        text-align: right;
    }

/* форма добавления комментария */
	.ecomment_form{
		position: relative;
		padding: 0px;
		background: none;
		border: none;
		border-radius: 0px;
	}
    .ecomment_form_login{
        float: right;
        position: relative;
        z-index: 10;
		padding: 5px 0px;
    }
	.ecomment_form dl{
		padding: 0px;
		border-radius: 0px;
		border: none;
	}
    .ecomment_form dt{
        position: relative;
        float: left;
        width: 115px;
        padding-right: 5px;
        margin:0 0 5px 0;
        text-align: right;
        font-weight: 300;
    }
    .ecomment_form dd{
        position: relative;
        padding: 0px;
        margin:0 0 5px 0;
    }
    .ecomment_counter{
        position: absolute;
        right:0;
        top:0;
        width: 25px;
        font-size: 10px;
    }
    .ecomment_form_message,
	.ecomment_form_name,
	.ecomment_form_email{
		height: 80px;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
		font-family: 'Roboto', sans-serif;
		font-size: 0.9rem;
		line-height: 1.375rem;
		letter-spacing: 0.5px;
		padding: 15px;
		font-weight: 300;
		color: #888;
    }
	.ecomment_form_submit {
		background: #777;
		font-family: 'Roboto', sans-serif;
		display: inline-block;
		font-weight: 400;
		line-height: 1.5;
		text-align: center;
		text-decoration: none;
		vertical-align: middle;
		cursor: pointer;
		-webkit-user-select: none;
		-moz-user-select: none;
		user-select: none;
		background-color: transparent;
		border: 1px solid transparent;
		padding: 0.75rem 1.2rem!important;
		font-size: 1rem!important;
		text-transform:uppercase;
		letter-spacing:0.5px;
		transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
	}
	.ecomment_form_submit:hover {
		background: #444;
	}
	.ecomment_editable {
		color: #444;
	}
	
    /* ловушка для бота */
    .ecomment_form input[name=e-mail]{
        display: none;
    }
    .ecomment_version{
        position: absolute;
        right:10px;
        bottom:10px;
        font-size: smaller;
        float: right;
    }
/* пагинация */
.pagination{
  margin-bottom:10px;
  text-align: right;
}
    .pagination a{
      display: inline-block;
      height: 14px;
      min-width: 14px;
      padding: 3px;
      margin: 0 2px;
      border: 1px solid #F0F8FF;
      color: #45688E;
      text-align: center;
      vertical-align: middle;
      line-height: 14px;
      text-decoration: none;
    }
    .pagination a:hover,
    .pagination a.active {
      padding: 2px;
      border-width: 2px;
      color: #45688E;
      border-color: #45688E;
    }
/* checkbox */
.toggle {
  cursor: pointer;
  display: inline-block;
}

.toggle-switch {
  display: inline-block;
  background-color:#aa5050;
  border: none;
  border-radius: 8px;
  width: 40px;
  height: 16px;
  position: relative;
  vertical-align: middle;
  transition: background 0.25s;
}
.toggle-switch:before, .toggle-switch:after {
  content: "";
}
.toggle-switch:before {
  display: block;
  background: linear-gradient(to bottom, #fff 0%, #eee 100%);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
  width: 20px;
  height: 20px;
  position: absolute;
  top: -2px;
  left: 0px;
  transition: left 0.25s;
}
.toggle:hover .toggle-switch:before {
  background-color: rgba(108,141,123,.5)
}
.toggle-checkbox:checked + .toggle-switch {
  background: #6c8d7b;
}
.toggle-checkbox:checked + .toggle-switch:before {
  left: 20px;
}

.toggle-checkbox {
  position: absolute;
  visibility: hidden;
}

.toggle-label {
  margin-left: 5px;
  position: relative;
  top: 2px;
}
	
@media only screen and (max-width: 480px)  {
	.ecomment_answers{
        margin-left: 15px;
    }
}