/*@import url("//fonts.googleapis.com/css?family=PT+Serif:400,700,400italic|Roboto:400,300,300italic,400italic,700,700italic&subset=latin,cyrillic");*/

div.section-comments {
    background: #fafafa;
    margin-top: 55px;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

div.section-comments #comments {
    width: 860px;
    padding-top: 0;
    padding-bottom: 35px;
    margin-right: 30px;
}
.not-logged-in div.section-comments #comments {
    width: 840px;
    margin-right: 20px;
}
/*.comment.ajax-comment-wrapper {
    margin-right: 30px;
}*/

#comments .comment-form:after {
    content: "";
    display: block;
    clear: both;
}

#comments h2.title {
    font-size: 21px;
    font-weight: bold;
    text-transform: uppercase;
    padding-left: 35px;
    margin: 35px 0;
    background: url(../img/speech.png) center left no-repeat;
    font-family: 'Roboto', sans-serif;
}
.comment-form .form-textarea-wrapper textarea {
 font-style: normal;
}
.comment.ajax-comment-wrapper .attribution .commenter-name {
    margin: 0 28px 0 0;
}

.comment.ajax-comment-wrapper .attribution .comment-time {
    padding: 0 0 0 23px;
}

.comment .attribution, .comment .comment-text {
    display: block;
    padding: 0; /* LTR */
}

.comment_sender {
    clear: both;
    border-top: 1px solid #e5e5e5;
    padding-top: 25px;
}

.comment_sender .user-picture {
    top: 30px;
}

.comment .submitted .comment-time {
    font-size: 12px;
    color: #bababa;
    font-family: 'Roboto', sans-serif;
}

.comment.ajax-comment-wrapper .field-name-field-vote {
    display: inline-block;
    padding: 0;
    position: relative;
    height: 19px;
}

.comment.ajax-comment-wrapper div.down-score.clear-block {
    padding: 0;
}

.comment.ajax-comment-wrapper div.up-score.clear-block {
    padding: 0;
}

.comment.ajax-comment-wrapper .rate-widget {
    margin: 0;
    margin-left: 4px;
}

.comment.ajax-comment-wrapper div.vote-thumb.down-inactive.rate-button.rate-number-up-down-btn-down {
    margin-left: 0;
}

.comment.ajax-comment-wrapper div.vote-thumb.up-active.rate-button.rate-number-up-down-btn-up {
    margin-right: 0;
}

.comment.ajax-comment-wrapper .rate-number-up-down-btn-up, .comment.ajax-comment-wrapper .rate-number-up-down-btn-down {
    margin: -1px 5px 0;
    font-size: 12px;
    top: 4px;
    position: relative;
}

.comment.ajax-comment-wrapper .rate-widget {
    position: relative;
    top: 0;
    left: 0;
}

.comment.ajax-comment-wrapper .attribution .comment-time::before {
    bottom: 0px;
}

.vud-widget-scthumbs .up-score {
    border-right: none;
}

a.element-invisible.vud-link-reset {
    display: none
}

.vud-widget-scthumbs .up-inactive, .vud-widget-scthumbs .down-inactive,
.vud-widget-scthumbs .up-active, .vud-widget-scthumbs .down-active {
    background: none;
}

.comment .comment-text {
    border: none;
}

.comment-form .form-item {
    overflow: visible;
}

.comment-form .field-name-comment-body {
    margin-bottom: 10px;
}

.comment-form .popup-field-group-link, .add-video-popup {
    left: -10px;
    bottom: 1px;
    font-size: 20px;
    /*color: #bababa;*/
    font-family: FontAwesome;
    /*content: "";*/
    /*text-indent: 9999px;*/
}

/*.comment-form .popup-field-group-link:before{content:"\f1c5"}*/
.comment-form .popup-field-group-link {
    /*background: url(../img/painting.png) center center no-repeat;*/
    width: 40px;
    height: 40px;
    border-radius: 20px;
    display: block;
    padding: 0;
    overflow: hidden;
    /*text-indent: -9999px;*/
    float: left;
    border: 1px solid #e4e4e4;
}

.comment-form .popup-field-group-link  i{
  color: #a9a9a9;
}

.comment-form .add-image-popup i{
  padding-left:10px;
  padding-top: 11px;
}

.comment-form .add-video-popup i{
  padding-left: 11px;
  padding-top: 11px;
}

.comment-form a.add-video-popup {
    /*background: url(../img/video-camera.png) center center no-repeat;*/
    margin-left: 20px;
}

/*.comment-form a.add-video-popup:before{content:"\f03d"}*/
.comment-ulogin-block {
    border: 1px solid #e5e5e5;
    width: 320px;
    height: 250px;
    text-align: center;
    background: #fff;
    position: relative;
    margin-right: 10px;
    margin-top: 40px;
    float: left;
}

/*.comment.ajax-comment-wrapper .comment-text h3 {display: block;}*/
.comment-ulogin-block h3 {
    font-size: 21px;
    padding: 19px 0;
    display: block !important;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 30px;
}

.comment-ulogin-block .form-type-ulogin-widget, .comment-ulogin-block #ulogin {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
}

.comment-ulogin-block .form-type-ulogin-widget div {
    width: 100% !important;
    position: static !important;
}

.comment-ulogin-block .form-type-ulogin-widget {
    border-top: 1px solid #e5e5e5;
    padding-top: 25px;
}

.comment-ulogin-block img {
    cursor: pointer;
    margin: 0 7px;
}

.comment-ulogin-block .message a {
    color: #fe6333;
    text-decoration: none;
    padding: 0;
    margin: 0;
}

.comment-ulogin-block .message {
    font-size: 14px;
    color: #bababa;
    font-weight: 300;
    width: 260px;
    margin: 0 auto;
    font-family: 'Roboto', sans-serif;
}

.comment.ajax-comment-wrapper .comment-text .links a {
    color: #fe6333;
    text-decoration: none;
    /*padding: 0;
    margin: 0;*/
}

.comment-ulogin-block a:hover {
    color: #FE9E80;
}

.user-attached-image {
    overflow: hidden;
}

.indented .comment.ajax-comment-wrapper .attribution .user-picture {
    left: 90px;
}

/*div.rate-number-up-down-rating.vote-current-score.dis {
    margin: -1px 5px 0;
    top: 4px;
    margin-left: 17px;
}*/

/*.comment.ajax-comment-wrapper .rate-number-up-down-rating.dis::before {
    display: block !important;
}*/

#comment-body-add-more-wrapper .resizable-textarea .grippie {
    display: none;
}

.comment-form .form-actions {
    margin: 0;
}

.comment-form .form-actions-wrapper {
  position: relative;
  height: 40px;
}

.comment-form .form-actions-wrapper .form-actions {
  position: absolute;
  right: 0;
  top: 0;
  color: #ff6333;
}

.comment-form .form-actions-wrapper .form-actions:hover {
  color: #ffffff;
}

.comment-form .form-actions-wrapper .form-actions .fa-sign-in {
  position: absolute;
  right: 38px;
  top: 16px;
  pointer-events: none;
}

.comment-form .form-actions-wrapper .form-actions input {
  margin-left: 0px;
  text-align: left;
  padding-left: 38px;
}

.comment_sender {
    margin: 5px 0 0 0;
}

.comment-form input[type="submit"] {
    margin-top: 3px;
}

.ajax-comments-form-reply, .ajax-comments-form-edit {
    position: relative;
    padding: 0 0 0 90px;
    margin: 35px 0;
}

.ajax-comments-form-reply .user-picture, .ajax-comments-form-edit .user-picture {
    position: absolute;
    top: -10px;
    left: 0;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
}

.ajax-comments-form-reply .user-picture img, .ajax-comments-form-edit .user-picture img {
    height: auto;
    width: 100%;
}

/*
 ******* POPUP ********
*/

.popup-field-group-open > .popup {
    top: 30%;
    left: 50%;
    width: 620px;
    height: 310px;
    padding: 60px 50px 50px 50px;
    margin-left: -350px;
}
.group-cbox-video-popup.popup-field-group-open > .popup {
  height: 60px;
  padding: 60px 10px 50px 50px;
}

.popup-field-group-open > .popup > .popup-inner {
    padding: 0;
    overflow: visible;
}

.field-group-popup > .popup #edit-field-image .messages.status, .field-group-popup > .popup messages.error {
    display: none;
}

.popup-field-group-open > .popup > .popup-title .popup-field-group-title {
    color: #ff6333;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 300;
    text-transform: uppercase;
    margin-left: 13px;
}
.group-cbox-video-popup > .popup > .popup-title {
display: none;
}
.field-group-popup > .popup .popup-field-group-close, .field-group-popup > .popup .popup-field-group-close-button.add-img-popup {
    display: none;
}

.field-group-popup > .popup a.popup-field-group-close-button.button.add-img-popup, .comment-form .group-cbox-video-popup .popup-field-group-close-button {
    margin-top: 0;
    font-size: 15px;
    background: #ff6333;
    color: #fff;
    font-weight: bold;
    border-radius: 9px;
    text-transform: uppercase;
    height: 47px;
    line-height: 47px;
    cursor: pointer;
    text-align: center;
    margin-bottom: 1em;
    margin-right: 0.6em;
    padding: 4px 17px;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
}

.comment-form .group-cbox-video-popup .popup-field-group-close-button {
    color: #fff;
    float: left;
    margin-left: 18px;
    /*margin-top: 17px;*/
    padding: 0 17px;
}

.comment-form .form-item-field-video-url-und-0-value {
    float: left;
}

.popup-field-group-open > .popup div#pic-upload .no-preview-items {
    color: #afb5bf;
    font-size: 14px;
}

.field-group-popup > .popup div#pic-upload {
    position: relative;
}

.field-group-popup > .popup div#pic-upload .input-file input.form-file {
    opacity: 0;
    position: absolute;
    top: 100px;
    width: 100%;
    height: 180px;
}

.field-group-popup > .popup #pic-upload .filefield-sources-list.filefield-sources-processed,
.field-group-popup > .popup #pic-upload input[name="field_image_und_0_upload_button"] {
    display: none;
}

.field-group-popup > .popup #pic-upload div.filefield-source.filefield-source-remote.clear-block {
    display: block !important;
    position: absolute;
    top: 15px;
}

.field-group-popup > .popup #pic-upload .form-item-field-image-und-0-filefield-remote-url .form-text, .comment-form .form-item-field-video-url-und-0-value .form-text {
    width: 404px;
    font-size: 14px;
    padding: 12px 18px;
    border: 2px solid #ccc;
}

.field-group-popup > .popup #pic-upload .form-item-field-image-und-0-filefield-remote-url .field-suffix input[type="submit"] {
    margin-top: 0;
    font-size: 15px;
    background: #ff6333;
    color: #fff;
    font-weight: bold;
    border-radius: 9px;
    text-transform: uppercase;
    margin-left: 18px;
    height: 47px;
    width: 141px;
}

.comment-form .field-group-popup > .popup #pic-upload input[id*="upload-button"] {
    position: absolute;
    top: 280px;
    left: 100px;
    visibility: hidden;
}

.comment-form .field-group-popup > .popup #pic-upload div.drag-container {
    position: absolute;
    top: 100px;
    width: 100%;
    height: 180px;
    border: 2px dashed #ccc;
    text-align: center;

}

.comment-form .field-group-popup > .popup #pic-upload .image-widget-data {
	float: none;
}
.comment-form .field-group-popup > .popup #pic-upload .image-widget-data img.file-icon{
	display: none;
}
.comment-form .field-group-popup > .popup #pic-upload .image-widget-data img.file-icon + a{
	color: #363636;
}
.comment-form .field-group-popup > .popup #pic-upload .image-widget-data  input[id*="remove-button"]{
	margin: 10px 0 0 0;
	display: block;
	float: none;
}
.comment-form .field-group-popup > .popup #pic-upload div.drag-container .no-preview-items {
    font-size: 14px;
    color: #afb5bf;
    font-weight: bold;
    padding-top: 60px;
    position: relative;
    display: block;
    width: 280px;
    margin: 0 auto;
    font-family: 'Roboto', sans-serif;
}

.comment-form .field-group-popup > .popup div.field-name-field-image {
    height: 300px;
}
.comment-form .field-group-popup > .popup div.field-name-field-image .messages.error + div .messages.error {
      display: none;
}
.comment-form .field-group-popup > .popup div.field-name-field-image .messages.error{
    padding: 4px 20px;
    margin: 0px 0 0px 0;
}

/* More comments */
#comments > div.item-list {
    position: relative;
}

#comments > div.item-list + div.comment_sender {
    border-top: none;
}

#comments .morecomments-button {
    color: #e5e5e5 !important;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    background: none;
    border: none;
    box-shadow: none;
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
    position: relative;
}

#comments .morecomments-button:before {
    content: '';
    display: inline-block;
    height: 1px;
    background: #e4e4e4;
    width: 340px;
    position: absolute;
    left: -320px;
    top: 17px;
}

#comments .morecomments-button:after {
    content: '';
    display: inline-block;
    background: #e4e4e4;
    width: 340px;
    height: 1px;
    position: absolute;
    left: 200px;
    top: 17px;
}

#comments .morecomments-button:hover {
    color: #ff7149 !important;
}

#comments .morecomments-button .wait {
    display: none;
}

#ulogform .form-type-ulogin-widget div {
    width: 100% !important;
    text-align: center;
}

#ulogform .form-type-ulogin-widget div img {
    margin: 0 6px;
}

div.comment-ulogin-block.ctools-modal-content {
    position: relative;
    /*height: 572px;*/
    height: 220px !important;
    width: 320px;
    text-align: center;
    border: 1px solid #e5e5e5;
    margin-top: 40px;
    margin-left: 13px;
    margin-right: 0;
}

.comment-ulogin-block .form-type-ulogin-widget {
    margin-top: 10px;
    margin-bottom: 0;
    padding-top: 0;
    border-top: none;
}

.comment-ulogin-block .ar-modal-h2 {
    left: 145px;
}

.comment-ulogin-block .ar-modal-discroption {
    left: 25px;
}

.comment-ulogin-block #ulogform .form-type-ulogin-widget div {
    width: 320px !important;
}

.comment-ulogin-block #ulogform .form-type-ulogin-widget .ulogin-processed div div:nth-child(1), .comment-ulogin-block #ulogform .form-type-ulogin-widget .ulogin-processed div div:nth-child(2) {
    width: 135px !important;
    height: 35px !important;
    background-size: 100% 100% !important;
    display: block;
}
.comment-ulogin-block #ulogform {
 position: static;
}
#ulogform .form-type-ulogin-widget .ulogin-processed div div.ulogin-button-facebook {
    background: url(../images/facebook.svg) no-repeat !important;
    background-size: cover !important;
    width: 200px !important;
    height: 52px !important;
}
#ulogform .form-type-ulogin-widget .ulogin-processed div div.ulogin-button-vkontakte {
    background: url(../images/vk.svg) no-repeat !important;
    background-size: cover !important;
    width: 200px !important;
    height: 52px !important;
}

#user-register-form .form-type-ulogin-widget .ulogin-processed div div:nth-child(1){left: 0px !important;}
#user-register-form .form-type-ulogin-widget .ulogin-processed div div:nth-child(2){left: 200px !important;}
#user-login-form .form-type-ulogin-widget .ulogin-processed div div:nth-child(1) {left:200px !important;}
#user-login-form .form-type-ulogin-widget .ulogin-processed div div:nth-child(2) {left:0 !important;}


.form-type-ulogin-widget .ulogin-processed div div:nth-child(1) {
    background: url(../images/vk.svg) no-repeat !important;
    background-size: cover !important;
    width: 200px !important;
    height: 52px !important;
    left:0 !important;
}

.form-type-ulogin-widget .ulogin-processed div div:nth-child(2) {
    left:200px !important;
    background: url(../images/facebook.svg) no-repeat !important;
    background-size: cover !important;
    width: 200px !important;
    height: 52px !important;
    opacity: 1 ;
}

.comment-ulogin-block.ctools-modal-content .form-item input {
    width: 152px;
}

.comment-ulogin-block #ulogform .form-actions input {
    width: 266px;
}

.comment-ulogin-block .ar-before-bottom-text {
    right: 75px;
    width: 338px;
}

.comment-ulogin-block .ar-bottom {
    right: 25px;
    width: 265px;
}
.not-logged-in .popup-field-group-link {
    display: none;
}
.not-logged-in .comment-form .form-textarea-wrapper:after,
.not-logged-in .comment-form .form-textarea-wrapper:before {
 display: none;
}
body.node-type-journal .content-center, body.node-type-blog .content-center {
    float: left;
    padding: 40px 0;
}

.form-type-ulogin-widget div {

}
.not-logged-in .comment_sender {
      padding: 25px 0 0 0;
      border-top: none;
}
.popup-field-group-closed {
   display: none;
}
#modal-content #user-register-form {
  height: 770px;
}
#additionals-comment {
  float: left;
  width: 305px;
}
#additionals-comment .views-row {
  border-top: 1px solid #e5e5e5;
  padding: 25px 0 10px 0;
}
#additionals-comment .view-comments .views-field-field-image{
    float: left;
    margin: 0 15px 20px 0;
}
#additionals-comment .view-comments .views-row:after {
     clear: both;
     display: block;
     content: "";
}
#additionals-comment .view-comments .views-field-title a{
  color: #292929;
  text-decoration: none;
  font-weight: bold;
}
#additionals-comment .view-comments .views-field-title a:hover{
color: #ff6333;
}
#additionals-comment .view-comments .views-field-comment-count span{
   color: #bdbdbd;
   font-size: 14px;
   font-weight: normal;
}
#additionals-comment .view-comments .views-field-comment-count{
     margin-top: 5px;
}
#additionals-comment .view-comments .views-field-comment-count i{
    margin-right: 8px;
}
#additionals-comment .view-comments h2{
     color: #292929;
    font-size: 21px;
    font-weight: bold;
    text-transform: uppercase;
    margin: 30px 0;
    font-family: 'Roboto', sans-serif;
}
.js-attachments {
    /*margin-bottom: 15px;*/
}
.js-attachments .attachment{
    display: inline-block;
    position: relative;
    margin-right: 20px;
}
.js-attachments .attachment img{
    height: 75px;
    width: auto;
}
a.vid-rm, a.pic-rm  {
background: #000;
border-radius: 16px;
box-shadow: 0 0 0 2px #fff;
display: block;
height: 22px;
position: absolute;
right: -5px;
top: -5px;
width: 22px;
line-height: 22px;
text-align: center;
color: #fff;
display: none;
}
a.vid-rm:hover, a.pic-rm:hover {
background: red
}
.attachment a.active{
    margin-bottom: 15px;
    display: block;
}
.attachment a.active + a.vid-rm, .attachment a.active + a.pic-rm {
display: block;
}
a.vid-rm i, a.pic-rm i{
    top: -1.5px;
    position: relative;
}
.comment-form .popup-disabled {
  display: none;
}
.comment .user-attached-image {
    padding: 23px 0 0 0;
}
.comment .user-attached-video {
   padding: 23px 0 0 0;
}
#comments .confirmation .form-actions input[type="submit"], #comments .confirmation .form-actions a{
    float: left;
    margin: 30px 20px 0 0;
    width: 130px;
    height: 40px;
    border: 1px solid #ff6333;
    padding: 10px 0;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    font-family: 'Roboto', sans-serif;
    color: #ff6333;
    background: #fff;
    border-radius: 20px;
}
#comments .confirmation .form-actions a {
      text-decoration: none;
      height: 18px;
      box-sizing: content-box;
}

.comment-form .form-actions>input.progress-disabled {
  text-indent: -9999px;
  overflow: hidden;
  padding-top: 0px;
  padding-bottom: 0px;
  background: url(../images/pnew.gif) center center no-repeat !important;
}

.comment-form input[type='submit'] {
  transition: none;
}

