table.table_form div.label label {
  color: #4D898E !important;
}

.post-left-item {
  font-size: 16px;
}

@media (max-width: 479px) {
  .mdl-grid {
    padding: 0px;
  }

  .mdl-cell {
    margin: 0px;
    width: calc(100%);
  }
}

@media screen and (max-width: 768px) {
  #id_cover_img_action {
    bottom: auto !important;
    right: auto !important;
  }

  /*
  #id_postbox,
  #id_append_post {
    margin: 10px;
  }
  */

  .mdl-chip {
    max-width: 100% !important;
  }

  .post-right {
    width: calc(70%);
    min-width: 200px;
  }

  #cover_img_container {
    max-height: 180px;
  }

  .sys-tabs .ui-tabs-panel {
    padding: 1em 0;
  }

  .post-card .mdl-card__supporting-text {
    padding-left: 3px !important;
  }

  .post-left {
    width: 40px !important;
    min-width: 40px !important;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
  }

  .upvote_btn,
  .downvote_btn,
  .post-left .vote_count_box,
  .post-left .badge {
    width: 35px;
    height: 35px;
    display: flex;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
  }

  .post-right .mdl-card__supporting-text {
    padding: 8px !important;
  }

  .post-right .badge {
    margin: 0px !important;
  }

  .mdl-card__actions .btn {
    font-size: 1rem !important;
  }

  #form_update_user_profile {
    min-width: 0 !important;
    width: 100% !important;
    padding: 10px !important;
    box-sizing: border-box;
  }

  .table_form.col_1,
  .table_form.col_1 tbody,
  .table_form.col_1 tr,
  .table_form.col_1 td {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box;
  }

  .mdl-card {
    width: 100% !important;
    min-width: 0 !important;
  }

  .table_form.col_1 input,
  .table_form.col_1 select,
  .table_form.col_1 textarea {
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 839px) and (min-width: 480px) {

  .mdl-cell--3-col,
  .mdl-cell--3-col-tablet.mdl-cell--3-col-tablet,
  .mdl-cell--6-col,
  .mdl-cell--6-col-tablet.mdl-cell--6-col-tablet {
    width: 100%;
  }
}

.mdl-card {
  width: 100%;
}

.demo-card-wide.mdl-card {
  width: 100%;
  margin: 0px auto;
  min-height: 100px;
  overflow: visible;
  padding-bottom: 10px;
}

.mdl-chip {
  white-space: normal;
  height: auto;
  max-width: calc(100% - 40px)
}

.mdl-card__title img,
.mdl-card__title a img {
  border-radius: 50%;
  width: 48px;
  height: 48px;
}

.mdl-card__supporting-text .cls_profile_img {
  border-radius: 50%;
  width: 32px;
  height: 32px;
  vertical-align: top;
}

.mdl-card__supporting-text .cls_widget_img {
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

.cls_profile_content {
  margin-left: 10px;
}

.cls_profile_content>span {
  color: #333;
  font-size: 14px;
}

.cls_comment {
  padding: 8px 16px 0px 16px;
  margin-top: 10px;
}

.comment_chip {
  margin-left: 10px !important;
}

.mdl-card__title h2 {
  display: inline;
  color: #888;
}

.mdl-card__supporting-text {
  width: 100%;
}

.mdl-card--border {
  border-bottom: 1px solid rgba(0, 0, 0, .1);
}

.mdl-textfield {
  width: 100%;
}

/*Custom CSS*/
.cls-post {
  float: right;
}

.comment_username {
  font-weight: 500;
  font-size: 14px;
  color: #3f51b5;
}

.count_string {
  border-top: 1px solid rgba(0, 0, 0, .1);
}

.count_string a>i.material-icons {
  font-size: 18px;
}

.showhover:after {
  width: 50px;
  height: auto;
  background: #eaeaea;
  position: absolute;
  border-radius: 20px;
  content: '...';
  color: #000;
  margin-left: 10px;
}

.mdl-dialog {
  width: 350px;
  border-radius: 10px;
}

.cls_post_img_thumb {
  width: 100px;
  height: auto;
  min-height: 80px;
}

.cls_post_img {
  max-width: 400px;
  height: auto;
}


#uploaded_image span {
  position: relative;
  margin: 10px;
}

#uploaded_image span .cls_remove_img {
  background: #e2e2e2;
  position: absolute;
  right: 0px;
  top: -50px;
  color: red;
  border-radius: 5px;
  cursor: pointer;
  display: none;
  z-index: 10;
}

#uploaded_image span:hover .cls_remove_img {
  display: block;
}


.loader {
  display: none;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #3498db;
  width: 120px;
  height: 120px;
  -webkit-animation: spin 2s linear infinite;
  /* Safari */
  animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}



.mdl-card__title h4 {
  width: calc(100% - 55px);
}

.user-profile-more {
  background: white;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
  /* float: left; */
  width: 100%;
  padding: 0 !important;
}

.user-profile-more img {
  width: 32px;
  margin-right: 10px;
}

.user-profile-more li {
  /*float: left;*/
  width: 100%;
  border-bottom: 1px solid #e5e5e5;
  border-top: 1px solid #e5e5e5;
  padding: 15px 0 15px 35px;
}

.profile-header {
  background-color: rgb(0, 117, 190);
  border-top-right-radius: 3px;
  border-top-left-radius: 3px;
  height: 100px;
  padding-top: 30px;
  width: 100%;
}

.profile-footer {
  padding-bottom: 15px;
  padding-top: 60px;
  position: relative;
  text-align: center;
  width: 100%;
}

.login-wrap {
  display: inline-block !important;
  position: unset !important;
  text-align: center;
  width: 100%;
}

/*Image gallery*/
.cls_list_img {
  max-width: calc(50%);
  padding: 10px;
}

/*Loading*/

.lds-ripple {
  display: block;
  margin: 0 auto;
  position: relative;
  width: 80px;
  height: 80px;
}

.lds-ripple div {
  position: absolute;
  border: 4px solid #000;
  opacity: 1;
  border-radius: 50%;
  animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.lds-ripple div:nth-child(2) {
  animation-delay: -0.5s;
}

@keyframes lds-ripple {
  0% {
    top: 36px;
    left: 36px;
    width: 0;
    height: 0;
    opacity: 1;
  }

  100% {
    top: 0px;
    left: 0px;
    width: 72px;
    height: 72px;
    opacity: 0;
  }
}

/*End Loading*/

/*Loading Animation*/
.animate {
  animation: animateElement linear 1s;
  animation-iteration-count: 1;
}

@keyframes animateElement {
  0% {
    opacity: 0;
    transform: translate(0px, 10px);
  }

  100% {
    opacity: 1;
    transform: translate(0px, 0px);
  }
}

/*End Loading Animation*/

.mdl-card__supporting-text .cls_profile_img {
  display: none !important;
}