.comment-section{
    list-style: none;
    max-width: 2000px;
    width: 100%;
    margin: 50px auto;
    padding: 10px;
}

.comment-single{
    display: flex;
    border-radius: 3px;
    margin-bottom: 10px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.comment-single.user-comment{
    color:  #808080;
}

.comment-single.author-comment{
    color:  #60686d;
    justify-content: flex-end;
}

/* User and time info */

.comment-single .info{
    width: 17%;
}

.comment-single.user-comment .info{
    text-align: right;
}

.comment-single.author-comment .info{
    order: 3;
}


.comment-single .info a,.comment-single .info span{	/* User name */
    text-decoration: none;
    color: #656c71;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.comment-single .info span{	/* Time */
    font-size: 11px;
    color:  #9ca7af;
    line-height: 14px;
}

.dropdown-menu {
}
/* The user avatar */
.avatar .btn {
    height: 45px !important;
	width:45px !important;
	-webkit-appearance: initial !important;
	padding: 0 !important; 
}

.comment-single .avatar{
    width: 8%;
}

.comment-single.user-comment .avatar{
    padding: 0;
}

.comment-single.author-comment .avatar{
    order: 2;
}

.comment-single .avatar img{
    display: block;
    border-radius: 3px; width: 66px !important;margin-right: 15px;margin-left: 15px;
}

.comment-single.user-comment .avatar img{
    float: right;
}
	.comment-single .iamblock {
		display: block;
	}





/* The comment text */

.comment-single .com-text,.comment-single .com-p{
    line-height: 1.5;
    padding: 18px 22px;
    width: 50%;
    position: relative;
    word-wrap: break-word;
}

.comment-single.user-comment .com-text,.comment-single.user-comment .com-p{
    background-color:  #f3f3f3;
}

.comment-single.author-comment .com-text,.comment-single.author-comment .com-p{
    background-color:  #e2f8ff;
    order: 1;
}

.user-comment .com-text:after,.user-comment .com-p:after{
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 2px solid #f3f3f3;
    left: -8px;
    top: 18px;
}

.user-comment .com-text.selected_comm:after,.author-comment .com-text.selected_comm:after{
    background-color: #fa0a0a;
}


.author-comment .com-text:after,.author-comment .com-p:after{
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 2px solid #e2f8ff;
    right: -8px;
    top: 18px;
}
     /* Comment form */

.write-new{
    margin: 80px auto 0;
    width: 50%;
}

/* .write-new textarea{
    color:  #444;
    font: inherit;

    outline: 0;
    border-radius: 3px;
    border: 1px solid #cecece;
    background-color:  #fefefe;
    box-shadow: 1px 2px 1px 0 rgba(0, 0, 0, 0.06);
    overflow: auto;

    width:100%;
    min-height: 80px;
    padding: 15px 20px;
}
*/
.write-new img{
    border-radius: 50%;
    margin-top: 15px;
}

.write-new .btn{
    float:right;
    margin-top: 18px;
}

.comm-user-status {
    position: absolute;
    top: 2px;
    right: 18px;
    z-index: 100;
    font-size: 7px !important;
}
.comm-user-status-author {
    position: absolute;
    top: 2px;
    right: 11px;
    z-index: 100;
    font-size: 7px !important;
}
.forlikes {
	width:75%;
	padding-bottom: 15px;
	padding-left:25%;
	font-size:12px;
}
.forlikes a{
	font-size:12px;
	text-decoration:underline;
}
                   
  /* Responsive styles */

@media (max-width: 1200px){
    /* Make the paragraph in the comments take up the whole width,
    forcing the avatar and user info to wrap to the next line*/
    .comment-single .com-text{
        width: 100%;
    }

	 .forlikes{
		padding-left:0;
	}  

	.comm-user-status {
		position: absolute;
		top: 13px;
		right: 18px;
		z-index: 100;
		font-size: 7px !important;
	}
	.comm-user-status-author {
		position: absolute;
		top: 13px;
		right: 17px;
		z-index: 100;
		font-size: 7px !important;
	}


    /* Reverse the order of elements in the user comments,
    so that the avatar and info appear after the text. */
    .comment-single.user-comment .info{
        order: 3;
        text-align: left;
        margin-top: 20px;
    }

    .comment-single.author-comment .info{
        margin-top: 20px;
    }

    .comment-single.user-comment .avatar{
        order: 2;
    }

    .comment-single.user-comment .com-text{
        order: 1;
    }

    /* Align toward the beginning of the container (to the left)
    all the elements inside the author comments. */
    .comment-single.author-comment{
        justify-content: flex-start;
    }


    .comment-single-section{
        margin-top: 10px;
    }

    .comment-single .info{
        width: auto;
    }

    .comment-single .info a{
    }

    .comment-single.user-comment .avatar,
    .comment-single.author-comment .avatar{
        padding: 10px 0px 0 0px;
        width: 80px;
    }
    
	.comment-single .avatar img{
	    display: block;
	    border-radius: 3px; width: 66px !important;
	    margin-left: 0;
	}

    .comment-single.user-comment .com-text:after,
    .comment-single.author-comment .com-text:after{
        width: 12px;
        height: 12px;
        top: initial;
        left: 28px;
        bottom: -6px;
    }
	.write-new {
    width: 100%;
    }
}

    .wider .comment-single .com-p{
        width: 100%;
    }

    /* Reverse the order of elements in the user comments,
    so that the avatar and info appear after the text. */
    .wider .comment-single.user-comment .info{
        order: 3;
        text-align: left;
        margin-top: 20px;
    }

    .wider .comment-single.author-comment .info{
        margin-top: 20px;
    }

    .wider .comment-single.user-comment .avatar{
        order: 2;
    }

    .wider .comment-single.user-comment .com-p{
        order: 1;
    }

    /* Align toward the beginning of the container (to the left)
    all the elements inside the author comments. */
    .wider .comment-single.author-comment{
        justify-content: flex-start;
    }


    .wider .comment-single-section{
        margin-top: 10px;
    }

    .wider .comment-single .info{
        width: auto;
    }

    .wider .comment-single .info a{
    }

    .wider .comment-single.user-comment .avatar,
    .wider .comment-single.author-comment .avatar{
        padding: 10px 0px 0 0px;
        width: 80px;
    }
    
	.wider .comment-single .avatar img{
	    display: block;
	    border-radius: 3px; width: 66px !important;
	    margin-left: 0;
	}

    .wider .comment-single.user-comment .com-p:after,
    .wider .comment-single.author-comment .com-p:after{
        width: 12px;
        height: 12px;
        top: initial;
        left: 28px;
        bottom: -6px;
    }
	.wider .write-new {
    width: 100%;
    }


.message-overlay {
	display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 100px 20px;
    background: rgba(0,0,0,.4);
    overflow: auto;
    text-align: center;
    font-size: 0;
    z-index: 9999;
    width: 100%;
    height: 100%;
    min-width: 320px;
}                    
                      
div.alert {
    border-width: 0;
    border-left-width: 0;
}
.alert {
    position: relative;
    padding: 0;
    margin-bottom: 0;
    border: none;
    border-radius: 0;
}
.messg .messg-text {
	padding: 20px;
}
.messg {
  position: fixed;
  top: -200px;
  z-index: 9999;
  left: 10px;
  right: 10px;
  border: 0 none;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -ms-border-radius: 2px;
  -o-border-radius: 2px;
  border-radius: 2px;
  -webkit-box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.52);
  -moz-box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.52);
  box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.52);
  font-size: 14px;
  line-height: 1.4286;
  text-align: left;
  animation: alertanim 1s ease forwards;
  animation-delay: 3s;
}
.messg-short {
    animation-delay: 0s !important;
}
.messg h5{
    color: white;
    padding-top: 10px;
    margin-bottom: 0;
    text-align: center;
    text-transform: uppercase;
    font-size: 17px;
}
.messg ul{
	padding-top: 10px;
	margin-bottom: 10px !important;
	padding-left: 20px !important;
}
.messg ul li {
	list-style-type: none;
}

@media (min-width: 768px) {
  .messg {
    left: 23%;
    right: 23%;
  }

  .messg-left {
    left: 10px !important;
    right: 45%;
  }

  .messg-right {
    left: 45%;
    right: 10px !important;
  }
}

@media (min-width: 992px) {
  .messg {
    left: 28%;
    right: 28%;
  }

  .messg-left {
    right: 55%;
  }

  .messg-right {
    left: 55%;
  }
}

@media (min-width: 1200px) {
  .messg {
    left: 33%;
    right: 33%;
  }

  .messg-left {
    right: 65%;
  }

  .messg-right {
    left: 65%;
  }
}

.messg-white {
  background-color: white;
  box-shadow: 0 14px 40px rgba(0,0,0,.5) !important; 
  min-height: 300px;
  margin-top: 200px;
    border-radius: 3px;
    overflow: hidden;
    display: inline-block;
    background: #fff;
    border-radius: 3px;
    vertical-align: middle;
    font-size: 14px;
    text-align: left;
}

.messg-white .messg-img {
    background-position: 1%;
    background-size: cover;
    background-repeat: no-repeat;
}

.messg-white .messg-text {
}
.messg-white .messg-buttons {
	position: absolute;
    right: 5px;
    z-index: 10000;
}
.messg-buttons {
	position: absolute;
    right: 5px;
    z-index: 10000;
}
.messg-default {
  background-color: #323232;
}

.messg-success {
  background-color: #4caf50;
}

.messg-info {
  background-color: #00bcd4;
}

.messg-warning {
  background-color: #ff9800;
}

.messg-error {
  background-color: #f44336;
}

.messg__text {
  padding: 10px 14px;
}

.messg-buttons {
  float: right;
  padding: 10px;
}

.messg,
.messg-button {
  color: #f5f5f5;
  font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
}

.messg-button {
  display: inline-block;
  border: 0 none;
  -webkit-border-radius: 1px;
  -moz-border-radius: 1px;
  -ms-border-radius: 1px;
  -o-border-radius: 1px;
  border-radius: 1px;
  margin: 0 0 0 5px;
  padding: 0px 5px 0px 5px;
  background: none;
  cursor: pointer;
}
.messg-default .messg-button {
  background-color: #212121;
}

.messg-default .messg-button:hover {
  background-color: #000;
}

.messg-success .messg-button {
  background-color: #43a047;
}

.messg-success .messg-button:hover {
  background-color: #388e3c;
}

.messg-info .messg-button {
  background-color: #00acc1;
}

.messg-info .messg-button:hover {
  background-color: #0097a7;
}

.messg-warning .messg-button {
  background-color: #fb8c00;
}

.messg-warning .messg-button:hover {
  background-color: #f57c00;
}

.messg-error .messg-button {
  background-color: #e53935;
}

.messg-error .messg-button:hover {
  background-color: #d32f2f;
}


.messg-default.messg-button {
  background-color: #212121;
}

.messg-default.messg-button:hover {
  background-color: #000;
}

.messg-success.messg-button {
  background-color: #43a047;
}

.messg-success.messg-button:hover {
  background-color: #388e3c;
}

.messg-info.messg-button {
  background-color: #00acc1;
}

.messg-info.messg-button:hover {
  background-color: #0097a7;
}

.messg-warning.messg-button {
  background-color: #fb8c00;
}

.messg-warning.messg-button:hover {
  background-color: #f57c00;
}

.messg-error.messg-button {
  background-color: #e53935;
}

.messg-error.messg-button:hover {
  background-color: #d32f2f;
}
@-webkit-keyframes alertanim {
0% { opacity: 0; } 50% { opacity: 1; } 100% { top: 10px; }
}

@keyframes alertanim {
0% { opacity: 0; } 50% { opacity: 1; } 100% { top: 10px; }
}
 .alert-on-top{
    position: fixed;
    top: 70px; 
    right:2%;
    width: 30%;
    z-index: 1000;
    margin-bottom: 10px;
    -webkit-box-shadow: 0 5px 14px 0px rgba(0,0,0,.2);
       -moz-box-shadow: 0 5px 14px 0px rgba(0,0,0,.2);
            box-shadow: 0 5px 14px 0px rgba(0,0,0,.2);
}
.alert-on-bottom{
    position: fixed;
    bottom: 50px;
    right:2%;
    width: 30%;
    z-index: 1000;
    margin-bottom: 10px;
    -webkit-box-shadow: 0 5px 14px 0px rgba(0,0,0,.2);
       -moz-box-shadow: 0 5px 14px 0px rgba(0,0,0,.2);
            box-shadow: 0 5px 14px 0px rgba(0,0,0,.2);
}
@media only screen and (max-width: 550px){
.alert-on-top, alert-on-bottom{
    width: 60%;
}
} 