@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');

/*общая обёртка для комментов*/

#modesco_comments {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    margin: 20px auto;
}

#respond p {
    font-family: Open Sans;
    margin: 0px;
    padding-top: 0px;
    line-height: 20px;
    font-weight: initial;
    text-align: initial;
}

/*Форма ввода комментариев*/

.modesco-comment-form {
    width: calc(100% - 30px);
    padding: 15px;
    display: block !important;
}

.modesco_comments_name_email {
    display: flex;
}

.modesco_comments_name_email input[type=text] {
    background-color: #fff !important;
    color: #2a2e2e!important;
    outline: 0;
    height: 31px!important;
    line-height: 31px!important;
    padding: 5px 10px!important;
    font-size: 14px !important;
    text-align: left;
    width: 100% !important;
    margin: 0px !important;
    border-radius: 2px;
    border: 1px solid #cccccc !important;
}

.modesco_comments_name_email label {
    color: #b6c1c6;
    font-weight: 400;
    font-size: 14px;
    margin-bottom: 2px;
    line-height: 1.3;
    display: block;
}

.modesco_comments_name_email .modesco-comment-form-author {
    margin: 0px 2% 0px 0px;
    padding: 0px 0px 0px 0px; 
}

.modesco-comment-form-author {
    width: 49%;
    margin: 0 0 0 0px;
    box-sizing: border-box;
}

.modesco-comment-form-email {
    width: 49%;
    margin: 0 0 0 0px;
    box-sizing: border-box;
}

.modesco_comments_name_email input{
    width: 100%;
    box-sizing: border-box;
}

.modesco-comment-form-comment label {
    color: #b6c1c6;
    font-weight: 400;
    font-size: 14px;
    margin-bottom: 2px;
    line-height: 1.3;
    display: block;
}

.modesco-comment-form-comment textarea {
    background-color: #fff;
    color: #2a2e2e!important;
    outline: 0;
    height: 90px!important;
    line-height: 20px!important;
    padding: 5px 10px!important;
    font-size: 14px;
    text-align: left;
    box-sizing: border-box!important;
    width: 100% !important;
    border: 1px solid #cccccc!important;
    border-radius: 2px;
    margin-top: 15px;
    font-family: Open Sans;
}

.modesco-comment-form-comment textarea:-moz-placeholder {
    color: #888;
}

.modesco-comment-form-comment textarea::-webkit-input-placeholder {
    color: #888;
}

.modesco-comments-form-submit .modesco-submit {
    color: #fff!important;
    border: 0 !important;
    opacity: 1 !important;
    outline: 0 !important;
    cursor: pointer !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    float: right !important;
    background-image: none;
    border-radius: 2px !important;
    background-color: #446798 !important;
    font-size: 12px!important;
    padding: 0px 25px!important;
    height: 30px!important;
    text-transform: none;
    line-height: initial;
    font-weight: initial;
    margin: 10px 0px;
    width: auto;
}

.modesco-comments-form-submit .modesco-submit:hover {
    background-color: #3b5998 !important; 
}

.modesco_ulogin_block_before_text {
    display: flex;
    align-items: center;
}

#respond .comment-notes {
    display: block;
    font-size: 13px;
}

/* Форма вывода комментариев */

.modesco_comments_commentlist ul {
    list-style: none;
}

.modesco_comments_commentlist li {
    list-style: none;
    margin: 0 0 0 0 !important;
    padding: 0 0 0 0 !important;
}

.modesco_comments_commentlist .fn {
    color: #1da1f2;
    font-size: 16px;
    font-style: italic;
    float: none;
    margin: 0px !important;
    padding: 0px !important;
    clear: none;  
    text-transform: none;
}

.modesco_comments_commentlist .fn a {
    color: #1da1f2;
    font-size: 16px;
    font-style: italic;
    float: none;
    margin: 0px !important;
    padding: 0px !important;
    clear: none;
}

.modesco_comments_commentlist .comment-meta {
    margin-bottom: 10px;
    color: #b6c1c6;
    font-size: 12px;
    line-height: 12.5px;
    display: block;
}

.modesco_comments_commentlist p {
    margin: 0px 20px !important;
    padding: 0px !important;
    font-size: 16px !important;
    word-wrap: break-word;
    font-family: Open Sans;
    line-height: 1.4 !important;
}

.modesco_comments_commentlist .modesco-comment-author {
    margin: 0px !important;
    border: none;
    padding: 0;
}

.modesco_comments_commentlist .modesco_comments_days {
    font-size: 12px !important;
    float: right;
    margin: -15px 0px !important;
    color: #444;
}

.modesco_comments_commentlist img {
    background-size: cover;
    background-position: 50%;
    border: 1px solid #b6c1c6;
    background-color: #dde2e5;
    border-radius: 30px !important;
    width: 40px !important;
    height: 40px !important;
    display: block;
    float: left;
    margin: 0 10px 0 0 !important;
    padding: 2px;
}

.modesco_comments_commentlist {
    float: none;
    text-align: left;
    font-family: Noto-Sans,sans-serif;
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    opacity: 1;
    margin: 0px 0px 75px 0px !important;
    padding: 0;
    border: 0 none;
    border-radius: 0;
    font-size: 14px;
    vertical-align: baseline;
    background: 0 0;
    color: #2a2e2e;
    line-height: 1.167em;
    outline: 0;
    text-transform: none;
    text-decoration: none;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    text-shadow: none;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    min-height: 0;
    -webkit-overflow-scrolling: touch;
}

.modesco_comments_commentlist .comment-body {
    margin: 20px 0 0 0 !important;
    padding: 10px 5px 35px 0px !important;
    width: 100%;
}

.modesco_comments_commentlist .comment-body:hover {
    box-shadow: 2px 2px 2px 0px rgba(199, 199, 199, 0.8);
}


.modesco_comments_commentlist .comment .comment-reply-link {
    float: right;
    color: #446798;
    font-size: 1em;
    transition: none;
    opacity: 1;
    margin-top: 15px;
    position: initial;
    border: none;
    padding: 0;
    text-decoration: none;
    background: none;
}

.modesco_comments_commentlist .comment .comment-reply-link:before {
    content: "\f112";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    color: #446798;
    font-size: 16px;
    padding-right: 10px;
}

.modesco_comments_commentlist .even {
    background: none;
}


.children .modesco-comment-author .avatar {
    height: 32px;
    width: 32px;
}

.modesco_comments_start_commentlist {
    margin: 0px 0px -40px 0px;
    width: calc(100% - 30px);
    text-align: left;
    font-size: 16px;
    border-bottom: 0;
    padding: 10px 15px;
    font-weight: normal;
    color: #446798;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.comment.depth-1, .comment .children {
    padding: 0 0 0 0 !important;
    margin: 0 0 0 10px !important;
    border: none;
    width: 100%;
    display: inline-block;
    background: none;
}

.allert_massage {
    font-size: 1rem;
}

#respond {
    background: none;
    max-width: 100% !important;
    text-align: initial;
}

@media screen and (max-width: 900px) {
    .g-recaptcha {
        margin: 35px 0 0 0;
    }
}

input.error{
    border: 1px solid #fe0000 !important;
}


#likes {
  position: fixed;
  top: 25px;
  right: 0px;
  width: 300px;
  background-color: #55b758;
  padding: 10px;
  margin-top: 10px;
  font-family: sans-serif;
  line-height: 1.5;
  z-index: 999;
}

#likes em {
    color: #222;
}

#likes .fn {
    color: #efefef;
}

#likes .commentmetadata p{
    font-size: 14px;
    text-align: center;
    color: #fff;
}

#likes .comment-body {
    margin: 0 0 0 0;
}
/* Кнoпкa зaкрыть для тех ктo в тaнке) */
#likes #comments_escape_popup {
    width: 25px;
    height: 25px;
    position: absolute;
    top: 5px;
    font-size: 20px;
    right: 0px;
    cursor: pointer;
    display: block;
    color: #efefef
}

#likes #comments_escape_popup:hover {
    color: #222;
}


/* ошибки при отправке сообщений */
.comment_alert {
  position: fixed;
  top: 25px;
  right: 0px;
  width: 300px;
  background-color: #e8554e;
  padding: 10px;
  margin-top: 10px;
  font-family: sans-serif;
  line-height: 1.5;
  z-index: 999;
}

.comment_alert #comments_escape_popup {
    width: 25px;
    height: 25px;
    position: absolute;
    top: 5px;
    font-size: 20px;
    right: 0px;
    cursor: pointer;
    display: block;
    color: #efefef
}

.comment_alert #comments_escape_popup:hover {
    color: #222;
}

.comment_alert p {
    margin-top: 20px;
    text-align: center;
}


/*кнопка загрузить ещё*/

.modesco_comments_loadmore, .modesco_comments_loadmore_asort{
    color: #fff!important;
    border: 0 !important;
    opacity: 1 !important;
    outline: 0 !important;
    cursor: pointer !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: none;
    border-radius: 2px !important;
    background-color: #446798 !important;
    font-size: 12px!important;
    padding: 0px 25px!important;
    height: 30px!important;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    width: 150px;
}
.modesco_comments_loadmore:hover, .modesco_comments_loadmore_asort:hover{
    background-color: #3b5998 !important;
}


/*кнопки сортировки*/

.asort_button, .sort_button {
    font-size: 12px!important;
    font-weight: 400!important;
    text-align: center!important;
    text-transform: none!important;
    justify-content: center !important;
    color: #446798!important;
    padding: 0px 0px!important;
    height: 30px!important;
    line-height: 30px!important;
    display: inline-block !important;
    vertical-align: middle !important;
    border: 0 !important;
    opacity: 1 !important;
    outline: 0 !important;
    cursor: pointer !important;
    user-select: none !important;
    -webkit-appearance: none !important;
    white-space: nowrap !important;
    border-radius: 2px !important;
    float: right !important;
    background-color: #f1f1f1 !important;
    width: 133px!important;
    font-family: Open Sans;
}

.sort_button {
    position: relative;
    border: 2px solid #c2e1f5;
}

.asort_button {
    position: relative;
    border: 2px solid #c2e1f5;
}

.modesco_comments_sort_block {
    display: flex;
    align-items: center;
    margin-top: 15px;
    justify-content: flex-end;
    color: #446798;
}

.loadmore_none {
    display: none
}

.modesco-submit-none {
    pointer-events: none;
}

.comment-list li:before {
    display: none !important;
}

.comment-list {
    margin: 0px !important;
    padding: 0px 20px !important;
}

.comment-notes {
    font-size: 12px;
    color: #666;
}

.comment-notes #email-notes{
    color: #bb2828;
    font-size: 12px;
    float: right;
}

/* кнопка в конце контента */

.modesco_flex {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.modesco_comments_end_content {
    color: #fff!important;
    border: 0 !important;
    opacity: 1 !important;
    outline: 0 !important;
    cursor: pointer !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: none;
    border-radius: 2px !important;
    background-color: #446798 !important;
    font-size: 16px!important;
    padding: 0px 25px!important;
    height: 50px!important;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    width: 250px;
    font-family: Open sans;
    text-decoration: none !important;
}

.modesco_comments_end_content:hover {
  background: #3b5998 !important;
}


.ulogin_block, #ulogin_accounts {
    margin: 10px 0;
    position: absolute;
}

.modesco-comment-reply-title{
    text-align: left !important;
    font-size: 16px;
    border-bottom: 1px solid #44679826;
    padding: 10px 20px !important;
    font-weight: bold;
    color: #446798;
    margin-bottom: -20px !important;
}

.send-btns{
    display: flex;
    align-items: start;
    flex-direction: column;
    margin-top: 0px;
}

#lstc-comment-subscription {
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 5px;
    font-size: 12px;
    font-family: Open Sans;
    align-items: center;
}

   input[type="text"]::-moz-placeholder { color: #ffd595 !important; }
   input[type="text"]::-webkit-input-placeholder { color: #dedede !important; }
   input[type="text"]:-ms-input-placeholder { color: #dedede !important; }
   input[type="text"]::-ms-input-placeholder { color: #dedede !important; }
   input[type="text"]::placeholder { color: #dedede !important; } 


   textarea::-moz-placeholder { color: #ffd595 !important; font-size: 16px !important;}
   textarea::-webkit-input-placeholder { color: #dedede !important; }
   textarea::-ms-input-placeholder { color: #dedede !important; }
   textarea::-ms-input-placeholder { color: #dedede !important; }
   textarea::placeholder { color: #dedede !important; font-size: 16px !important;} 

.send {
    order: 1;
}

.g-recaptcha {
    order: 2;
}

#uLogin img {
    width: 30px;
    height: 30px;
    cursor: pointer;
    margin-left: 5px;
    border: none;
    padding: 0px;
    display: initial;
}

.modesco_ulogin_block {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
    align-items: center;
}

.modesco_ulogin_block_after_text {
    margin-left: auto;
}

.asort_button{
    background: url('../img/sort-amount-up-alt-solid.png') no-repeat right/12%;
}

.sort_button{
    background: url('../img/sort-amount-down-solid.png') no-repeat right/12%;
}

.modesco_comments_sort_block p {
    margin:  5px 0px;
}

.modesco_ulogin_block_before_text p {
    font-size: 16px !important;
}

.modesco-logged-in-as {
    margin-top: 10px !important;
}

.comment-list li {
    list-style: none !important;
    border: none;
    display: block;
    background: none;
}

#lstc-comment-subscription label.lstc-label {
    text-transform: none;
}

.modesco_ulogin_block_before_text {
    width: 100%;
}

.modesco_ulogin_block_social_icon {
    width: 70%;
}