.kontainer #main {
  background-color: #F7F7FC;
  color: #161A41;
  padding-bottom: 40px;
}

.posttitleawrap {
  margin: -20px -15px 0;
}

#posttext {
  max-width: 100%;
  width: 100%;
}

#main .whitebox {
  position: relative;
  border-radius: 24px;
  padding: 24px 2rem;
}

#main .whitebox h3 {
  padding: 0;
  margin-top: 16px;
  margin-bottom: 8px;
}

#main .whitebox.mybox form .select-wrapper input {
  padding: 20px 40px 20px 20px !important;
}

#addpostwrapper + #allpostswrapper {
  margin-top: 48px;
}

.onepost {
  position: relative;
}

.onepostlikes,
.onepostdate {
  display: inline-block;
  vertical-align: middle;
  padding: 10px 30px 10px 0;
  width: 49%;
  font-size: 16px;
  line-height: 20px;
  margin-top: 30px;
}

.onepostdate {
  padding-right: 0;
}

.onepostlikes {
  text-align: right;
  padding-right: 0;
}

.onepostlikes i {
  cursor: pointer;
}

.onepostlikes i.active {
  color: red;
}

.onepostedit,
.postmoretext {
  color: blue;
  cursor: pointer;
}

.onepostedit:hover,
.postmoretext:hover {
  text-decoration: underline;
}

.onepostedit {
  font-size: 90%;
}

.onepostdelete {
  position: absolute;
  right: 8px;
  top: 0;
  color: silver;
  font-size: 40px;
  font-weight: 200;
  cursor: pointer;
  padding: 10px;
}

.onepostdelete:hover {
  color: black;
}

.oneposttag {
  display: inline-block;
  background: #ccffef;
  padding: 0 12px;
  font-size: 13px;
  line-height: 24px;
  color: black;
  text-decoration: none;
  border-radius: 24px;
  margin: 6px 2px 0 0;
}

.oneposttag:hover {
  opacity: 100%;
  background: #ccffef;
  color: black;
}

.oneposttext {
  margin-top: 16px;
  margin-bottom: 20px;
}

.journal_form textarea {
  display: block;
}

.journal_form__editor {
  width: 100%;
}

.journal_form__editor label {
  display: block;
  margin-top: 20px;
  margin-bottom: 10px;
  color: rgba(22, 26, 65, 0.4) !important;
  font: 600 15px/20px 'Open Sans';
}

.journal_form .input-field {
  margin: 0;
}

.journal_form .input-field + .input-field {
  margin-top: 12px;
}

.journal_form .input-field .bbtn {
  width: 100%;
  height: 60px;
  margin: 0;
}

.journal_form .input-field:last-of-type {
  margin-top: 20px;
}

#main .postmoretext {
  padding: 0;
  margin-top: -12px;
}

.avtor_tag {
  /* display: inline-block; */
  margin-top: 6px;
}

.avtor_tag a {
  color: blue;
  text-decoration: none;
}

.avtor_tag a:hover {
  color: blue;
  text-decoration: underline;
}

.onemenutag .tagsum {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-block;
  background-color: #e9ecff;
  color: #4a569a;
  width: 20px;
  height: 20px;
  text-align: center;
  border-radius: 50%;
  transition: background-color .2s ease-in-out;
  font-size: 12px;
  font-weight: 500;
}

.onemenutag:hover .tagsum {
  background-color: #ffffff;
}

@media screen and (max-width: 600px) {
  .onepostdate,
  .onepostlikes {
    width: 100%;
    text-align: left;
    margin-top: 0;
  }
}

@media screen and (min-width: 601px) {
  .journal_form .input-field:last-of-type {
    margin-top: 12px;
    /* padding-left: 12px !important; */
  }
}

@media screen and (min-width: 801px) {
  #main h1 {
    font-size: 38px;
    margin-bottom: 16px;
  }

  #addpostwrapper,
  #allpostswrapper {
    margin: 0 auto;
    max-width: 720px;
  }

  #addpostwrapper + #allpostswrapper {
    margin-top: 48px;
  }

  .journal_form {
    padding: 14px;
  }

  .oneposttag {
    margin-right: 8px;
  }
}


.journal_form__checkbox-item {
  display: block;
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 0;
  line-height: 0;
}

.journal_form__checkbox-label {
  --font-family-secondary: 'Open Sans', Arial, sans-serif;
  --font-input-sm: 400 14px/20px var(--font-family-secondary);

  display: inline-flex;
  margin: 0;
  padding: 0;
  cursor: pointer;
  font: var(--font-input-sm);
}

.journal_form__checkbox-input {
  visibility: hidden;
  width: 1px;
  height: 1px;
  margin-left: -4px;
}

.journal_form__checkbox-input:checked + .journal_form__checkbox-icon::before {
  visibility: visible;
}

.journal_form__checkbox-icon {
  --size: 18px;

  width: var(--size);
  height: var(--size);
  border-radius: 4px;
  background-color: var(--color-white);
  border: 1px solid rgba(22, 26, 65, 0.2);
  margin-right: 12px;
  position: relative;
}

.journal_form__checkbox-icon::before {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: url(/images/me/icon-checkbox.svg) center/cover no-repeat;
  visibility: hidden;
}


/*Левое меню*/

#left ul li a {    border-bottom: 1px solid #f1f1f1;     padding: 10px 55px 10px 15px; font-size: 14px;}

#left .mymenu {height:auto; min-height:0; padding:30px 0 10px;  background: whitesmoke;   color: black;}
#left .myphoto {position:static; margin:auto; width:50px; height:50px;}
#left .myname {position:relative; color: black;}

#left .diary_tag_menu li:first-child a {background:#3D5AFE; color:white; border-radius:16px; margin: 15px; padding:12px 20px;}
#left .diary_tag_menu li:first-child a i {position:absolute; font-size: 20px; color:white; right:10px; top:50%; line-height:100%; left:auto; }
#left .diary_tag_menu li:first-child a:hover {background:#2642e0;}


/*Комментарии*/

.onepost .commentbox {margin: 0 -20px -60px; box-shadow:0 0 1px rgba(0,0,0,0.5); border-bottom-right-radius: 15px; border-bottom-left-radius: 15px;}
.onepost .commentbox .commentwrap {box-shadow:none;  border-radius:0; background:none;}
.onepost .commentbox .commentwrap textarea {font-size:15px !important; padding: 15px 20px !important; border-radius: 15px;}
.onepost .commentbox .commentwrap textarea::-webkit-input-placeholder {font-size:15px !important;}
.onepost .commentbox .commentwrap .commentfoot {padding: 8px 20px; border-radius: 0;}
.onepost .commentbox .commentwrap:last-child .commentfoot {border-bottom-right-radius: 15px; border-bottom-left-radius: 15px;}