@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap");

body {
  width: 100%;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

*::before,
*::after {
  box-sizing: border-box;
}

pre {
  white-space: break-spaces;
}

.b_black {
  background-color: black;
  color: #fafafa;
}

.b_white {
  background-color: white;
  color: #000;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  background: #ffc505;
  border-bottom: 1px solid #000;
  color: #fff;
  font-weight: 300;
  width: 100%;
  overflow: hidden;
  padding: 0 14vw;
  transition: 0.3s;
  height: 80px;
}

.clear {
  clear: both;
}

.header_button {
  min-width: 100px;
  display: flex;
}

.button_write {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1.222vw;
  cursor: pointer;
}

.button_write:hover {
  color: rgba(117, 117, 117, 1);
}

.a_dec {
  text-decoration: none;
}

.user-info {
  height: 3rem;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 5px;
  border: 1px solid;
  padding: 15px;
  line-height: 100%;
}

.user-icon {
  background: url(../images/user-icon.svg) no-repeat;
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 50%;

}



.header_buttons {
  display: flex;
  gap: 35px;
  align-items: center;
}

.header_button>button {
  margin: 0 10px;
  padding: 0 15px;
}


.h_right {
  display: flex;
  justify-content: space-between;
}

.lk_info {
  display: grid;
}

.h_right_info {
  display: grid;
}

.burger_menu {
  display: flex;
  gap: 30px;
}

.burger_menu>a {
  text-decoration: none;
  color: #000;
}

.first-page {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60vh;
  background: #ffc505;
}

.first-page>h1 {
  background-image: url(../images/newspaper.jpg);
  background-size: 20%;
  background-position: 50% 50%;
  font-size: 12vw;
  font-weight: 900;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.content {
  display: block;
  width: 70%;
  margin: 0 auto;
  background-color: #fafafa;
  padding-bottom: 150px;

}

.base-layout-wrapper {
  display: flex;
  justify-content: space-evenly;
}


.small {
  background-color: #fafafa;
  color: #000;
  z-index: 99;
}

.language {
  position: absolute;
  display: flex;
  right: 15px;
  top: 10px;
  border: none;
  border-radius: 5px;
  overflow: hidden;
}

.language-button>input {
  outline: none;
  padding: 5px;
  text-decoration: none;
  border: none;
  height: 100%;
  cursor: pointer;
}

.language>a>input:hover {
  background-color: #cacaca;
}

.single-news-header-wrapper {
  margin: 15px 0;
}

.news-title {
  font-size: 1.5vw;
  font-weight: 800;
  line-height: 100%;

}

.input__label {
  font-weight: 300;
  transform: translate(0.25rem, -65%) scale(.8);
  color: #000;
  position: absolute;
  left: 0;
  top: 0;
  line-height: 0.2;
  font-size: 1.577rem;
  background: #fafafa;

}


.news-date {
  font-size: 0.7vw;
}

.news-footer {
  display: flex;
  justify-content: space-between;
}

.news-content {
  max-width: 48rem;
  position: relative;
  font-size: 1vw;
}

.news-content>p {
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  display: -webkit-box;
  max-height: 11rem;
  -webkit-box-orient: vertical;
}

.news-content>textarea {
  padding: 5px;
  outline: none;
  width: 100%;
  height: 200px;
}

.base-layout-wrapper {
  display: flex;
}

.menu {
  display: block;
  width: 30%;
  box-shadow: 1px 0px 30px -21px;
  padding: 15px;
}

.content_news {
  display: block;
  /* width: -webkit-fill-available; */
  padding: 15px;
  width: 60%;
}

.g-recaptcha {
  margin: 30px 0 0 0;
  display: inline-grid;
  align-items: center;

}

.news-title-edit {
  position: relative;
  font-weight: 800;
  font-size: 1.7vw;
  line-height: 100%;
}

.edit-form {
  line-height: 100%;
}

.edit_news {
  display: grid;
  gap: 1rem;
}

.form_edit_news {
  display: grid;
  gap: 1rem;
  margin: 10px 0;
}

.form_edit_news input {
  padding: 2px;
  line-height: 1.777rem;
  outline: none;

}

.form_edit_news input:focus {
  border: none;
  border-bottom: 2px solid #ffc505;
  border-radius: 5px;
}

#img-display {
  display: block;
  height: 100px;
  width: 100px;
  background: url(../images/upload.svg) no-repeat;
  background-size: cover;
  cursor: pointer;
}

.news-title-edit>input {
  width: 100%;
}

.no-news {
  text-align: center;
}

.post-img {
  display: block;
  overflow: hidden;
  width: 50%;
}

.post-img>img {
  width: 100%;
  height: auto;
}








.footer {
  z-index: 0;
  position: relative;
  width: 100%;
  background: #3586ff;
  min-height: 100px;
  padding: 20px 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.social-icon,
.menu_footer {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
  flex-wrap: wrap;
}

.social-icon__item,
.menu__item {
  list-style: none;
}

.social-icon__link {
  font-size: 2rem;
  color: #fff;
  margin: 0 10px;
  display: inline-block;
  transition: 0.5s;
}

.social-icon__link:hover {
  transform: translateY(-10px);
}

.menu__link {
  font-size: 1.2rem;
  color: #fff;
  margin: 0 10px;
  display: inline-block;
  transition: 0.5s;
  text-decoration: none;
  opacity: 0.75;
  font-weight: 300;
}

.menu__link:hover {
  opacity: 1;
}

.footer p {
  color: #fff;
  margin: 15px 0 10px 0;
  font-size: 1rem;
  font-weight: 300;
}

.wave {
  position: absolute;
  top: -100px;
  left: 0;
  width: 100%;
  height: 100px;
  background: url("https://i.ibb.co/wQZVxxk/wave.png");
  background-size: 1000px 100px;
}

.wave#wave1 {
  z-index: 1000;
  opacity: 1;
  bottom: 0;
  animation: animateWaves 4s linear infinite;
}

.wave#wave2 {
  z-index: 999;
  opacity: 0.5;
  bottom: 10px;
  animation: animate 4s linear infinite !important;
}

.wave#wave3 {
  z-index: 1000;
  opacity: 0.2;
  bottom: 15px;
  animation: animateWaves 3s linear infinite;
}

.wave#wave4 {
  z-index: 999;
  opacity: 0.7;
  bottom: 20px;
  animation: animate 3s linear infinite;
}

@keyframes animateWaves {
  0% {
    background-position-x: 1000px;
  }

  100% {
    background-positon-x: 0px;
  }
}

@keyframes animate {
  0% {
    background-position-x: -1000px;
  }

  100% {
    background-positon-x: 0px;
  }
}



/* ----------------------popup------------------------- */
.popup {
  z-index: 99;
  position: fixed;
  top: 0;
  left: 0;
  display: none;
  height: 100%;
  width: 100%;
  background: #000000de;
}

button,
.button {
  margin: 10px 0;
  border: 0;
  width: 100%;
  display: block;
  height: 2.5rem;
  border-radius: 0.375rem;
  font-size: 1rem;
  color: #fff;
  background: #222;
  letter-spacing: 0.0625rem;
  outline: none;
}

button:hover,
.button:hover {
  cursor: pointer;
  opacity: 0.9;
}

.button--grey {
  background: #cecece;
}

.modal {
  border-radius: 0.4375rem;
  color: #222;
  text-align: center;
  letter-spacing: 0.0625rem;
  overflow: hidden;
  display: block;
  width: 516px;
  background: #fafafa;
  position: absolute;
  top: calc(50% - 500px/2);
  left: calc(50% - 500px/2);
}

.modal__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  display: inline-block;
  background-color: #3586ff;
}

.modal__close:before {
  content: '';
  position: absolute;
  width: 300%;
  height: 300%;
  top: -100%;
  left: -100%;
}

.modal__close:hover {
  opacity: 0.75;
  cursor: pointer;
}

.modal__close .icon {
  width: 1rem;
  height: 1rem;
  fill: #222;
  stroke: #222;
}

.modal__header {
  font-size: 1.5rem;
  margin-top: 3rem;
}

.modal__description {
  font-size: 0.875rem;
  color: #cecece;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

.modal__section {
  width: 21.875rem;
  margin-top: 1.25rem;
  margin-left: auto;
  margin-right: auto;
}

.modal__section:last-of-type {
  margin-top: 1.875rem;
}

.input-with-label {
  text-align: left;
  position: relative;
}

.input-with-label__input {
  height: 2.5rem;
  width: 100%;
  border: 0.125rem solid #222;
  border-radius: 0.375rem;
  background: transparent;
  padding: 0 0.625rem;
  letter-spacing: 0.0625rem;
  font-size: 0.875rem;
  color: #222;
}

.input-with-label__input:hover {
  background: rgba(34, 34, 34, 0.01);
}

.input-with-label__input:not(:focus):not(.is-keep-focus).is-fill+.input-with-label__label {
  display: none;
}

.input-with-label__input:focus,
.input-with-label__input.is-keep-focus {
  outline: none;
  background: rgba(34, 34, 34, 0.01);
}

.input-with-label__input:focus+.input-with-label__label,
.input-with-label__input.is-keep-focus+.input-with-label__label {
  top: -1.125rem;
  left: 0;
  background: #222;
  padding: 0.125rem 0.4375rem 0.25rem;
  font-size: 0.625rem;
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
  color: #fff;
  letter-spacing: 0.0625rem;
}

.input-with-label__input:focus+.input-with-label__label .input-with-label__label__corner,
.input-with-label__input.is-keep-focus+.input-with-label__label .input-with-label__label__corner {
  display: block;
}

.input-with-label__label {
  font-size: 0.875rem;
  display: block;
  position: absolute;
  color: #cecece;
  top: 0.625rem;
  left: 0.625rem;
  cursor: text;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.input-with-label__label__corner {
  display: none;
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 0;
  border: 0.25rem solid transparent;
  border-left-color: #222;
}

.modal-overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 0;
  background: rgba(34, 34, 34, 0.9);
  z-index: 1;
}

.svg-overlay {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  display: none;
}

.svg-overlay--2 {
  -webkit-transform-origin: 96% 2%;
  transform-origin: 96% 2%;
}

.svg-overlay--3 {
  -webkit-transform-origin: 97% 6%;
  transform-origin: 97% 6%;
}

.svg-overlay svg {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: absolute;
}


.tm-comments_tree {
  margin: 10px 0;
}

.menu-icons {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  float: right;
  gap: 0.5vw;

}

.menu-wraper {
  padding: 15px;
}

.comment-wraper {
  display: grid;
  margin-top: 1vw;
}


.comments-wrapper_inner {
  padding: 0.555rem;
  border: 1px solid #cacaca;
  margin: 1rem 0;
  border-radius: 5px;
  box-shadow: 0px 0px 14px -10px
}

.comment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.comment-body {
  display: block;
  min-height: 125px;
  box-shadow: inset 0px 0px 10px -9px #000;
  border-radius: 5px;
  padding: 3px 9px;
}

.comment-footer {
  display: flex;
  width: 100%;
  height: 2rem;
  justify-content: end;
}

.c-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 100%;
}

.c-user-title {
  font-weight: 600;
}

.comment-svg {
  cursor: pointer;
}

.comment-svg>svg {
  fill: #000;
}

.comment-svg>svg:hover {
  fill: grey;

}

.list-menu {
  list-style: none;
}

.menu-title {
  font-size: 2rem;
  font-weight: 600;
}

.list-menu-point {}

.counter {
  width: 1.011rem;
}

.list-menu-post {
  padding: 5px;
  border-radius: 5px;
}

.list-menu-post:hover {
  background: #ffc5057a;
}

.list-menu-post>a {
  color: #000;
  text-decoration: none;
}

.menu-svg {
  float: right;
}

.like-svg {
  cursor: pointer;
  fill: #fff;
  stroke: #000;
  stroke-width: 3px;
  stroke-linejoin: round;
}

.like-svg-container {
  display: flex;
  justify-items: center;
  align-items: center;
  font-size: 1.4rem;
}

.setting-svg {
  display: block;
  cursor: pointer;
  position: relative;
}

.like-svg-active {
  fill: red;
  stroke: none;
}

.like-svg:hover {
  stroke: grey;
}

.hidden_menu {
  position: absolute;
  background-color: #fafafa;
  top: 100%;
  right: 0;
  width: max-content;
  display: grid;
  justify-items: center;
  border: 1px solid #cacaca;
  border-radius: 5px;
  z-index: 3;


}

.hidden_menu>span {
  padding: 0.5em;
  width: 100%;
  text-align: center;

}

.hidden_menu>span>a {
  text-decoration: none;
  color: #000;
}

.hidden_menu>span:hover {
  background-color: rgba(0, 0, 0, 0.192);
}

.single-news-wrapper {
  position: relative;
}


.news_list {
  display: grid;
  gap: 5vh;
}

.single-news-wrapper {
  padding: 10px 1.55vw;
  box-shadow: 0px 0px 5px #000;
  border-radius: 3px;
}







.wmd-button {
  cursor: pointer;
}

.wmd-container {
  width: 100%;
  box-sizing: border-box;
}

.textarea.wmd-input,
textarea#wmd-input {
  outline: none;
  max-width: 100%;
  max-height: 600px;
  padding: 10px;
  margin: -1px 0 0;
  height: 200px;
  line-height: 1.3;
  width: 100%;
  -moz-tab-size: 4;
  -o-tab-size: 4;
  tab-size: 4;

}

.wmd-button-row {
  padding: 10px 10px;
  margin: 0;
  display: flex;
  list-style: none;
  flex-wrap: wrap;
  justify-content: start;
  height: 44px;
  border-bottom: 1px solid #000;
}

.wmd-button-bar {
  clear: both;
  background-color: transparent;
  margin: 10px 0 0 0;
  padding: 0;
  width: 100%;
  border: 1px solid #000;
  border-bottom: 0;
  min-height: 44px;
  overflow: hidden;
  z-index: 2;
  position: relative;
}

.wmd-button>span {
  background-repeat: no-repeat;
  width: 20px;
  height: 20px;
  display: inline-block;
  background-image: url(../images/static-img.svg);
  background-size: initial !important;
}

.wmd-button:hover {}

.wmd-spacer-max {
  max-width: none;
}

.wmd-spacer {
  height: 44px;
  flex: 1 0 4px;
  max-width: 27px;
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
  position: relative;
  left: 4px;
}

.msg_container {
  position: fixed;
  display: block;
  right: 15px;
  width: 270px;

}

.msg_show {
  display: block;
}

.msg {
  font-size: .875rem;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, .05);
  border-radius: 5px;
  box-shadow: 0 0.125rem 0.25rem rgb(0 0 0 / 8%);
  /* display: none; */
  position: relative;
  overflow: hidden;
  background: #fff;
}

.msg_header {
  position: relative;
  padding: 0.5rem 2.25rem 0.5rem 1rem;
  background-color: rgba(0, 0, 0, .03);
  border-bottom: 1px solid rgba(0, 0, 0, .05);
}

.msg_body {
  padding: 1rem;
}

/* --------------------------------------------------------------------------- */

#zatemnenie {
  background: rgba(102, 102, 102, 0.5);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: none;
}

#okno {
  width: 30rem;
  height: 16rem;
  text-align: center;
  padding: 15px;
  border: 3px solid #ffc400;
  border-radius: 10px;
  color: #000000;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  background: #fff;
}

#zatemnenie:target {
  z-index: 999;
  display: block;
}

.close {
  display: inline-block;
  border: 1px solid #0000cc;
  color: #0000cc;
  padding: 0 12px;
  margin: 10px;
  text-decoration: none;
  background: #f2f2f2;
  font-size: 14pt;
  cursor: pointer;
}

.close:hover {
  background: #e6e6ff;
}

/*--------------------------------------------------------------- */


.msg_close {
  content: "";
  position: absolute;
  top: 0;
  right: 0.75rem;
  width: 0.875em;
  height: 0.875em;
  background: url('../images/cross.png');
  border: 0;
  opacity: .5;
  cursor: pointer;
  transition: opacity .1s ease-in-out;


  background-size: contain;
  background-repeat: no-repeat;
}