/*!*************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/sass-loader/dist/cjs.js!./styles/templates/blog.scss ***!
  \*************************************************************************************************************************************************/
h1 {
  color: #003c3e;
}

.blogTop {
  margin-bottom: 8px;
}
@media screen and (min-width: 1081px) {
  .blogTop {
    margin-bottom: 64px;
    align-items: center;
  }
  .blogTop h1 {
    padding-bottom: 0;
  }
}

.searchform {
  position: relative;
}
.searchform input {
  border-radius: 8px;
  height: 48px;
}
.searchform input:focus {
  box-shadow: inset 0 0 0 1px #30aa86;
}
.searchform .button {
  position: absolute;
  top: 0;
  right: 0;
}
@media screen and (max-width: 1080px) {
  .searchform input {
    padding-right: 104px;
    padding-left: 16px;
  }
  .searchform .button {
    padding-left: 16px;
    padding-right: 16px;
  }
}
@media screen and (min-width: 1081px) {
  .searchform {
    width: 490px;
    margin-left: 20px;
  }
  .searchform input {
    padding-right: 140px;
    padding-left: 24px;
  }
}

.filters {
  display: grid;
  margin-bottom: 45px;
}
.filters__checkbox_col {
  position: relative;
  border-radius: 8px;
  background: #fff;
}
@media screen and (min-width: 768px) {
  .filters__checkbox_col {
    height: fit-content;
  }
}
.filters__checkbox_title {
  padding: 12px 16px;
  position: relative;
  cursor: pointer;
}
.filters__checkbox_title::before {
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  transition: all 0.4s ease;
  width: 14px;
  right: 16px;
  content: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iOSIgdmlld0JveD0iMCAwIDE0IDkiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEgMUw3IDdMMTMgMC45OTk5OTgiIHN0cm9rZT0iIzQwQ0Q5MSIgc3Ryb2tlLXdpZHRoPSIyIi8+PC9zdmc+");
}
.filters__checkbox_title h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 600;
  transition: all 0.4s ease;
}
.filters__checkbox_title h3 svg {
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
  width: 24px;
}
.filters__checkbox_title h3 svg path {
  transition: all 0.4s ease;
}
.filters__checkbox_title h3 span {
  display: inline-block;
  vertical-align: middle;
}
.filters__checkbox_group {
  display: none;
  background: #fff;
  padding: 12px 16px 20px;
}
.filters__checkbox_row {
  padding: 12px 0;
}
.filters__checkbox_row input {
  display: none;
}
.filters__checkbox_row input:checked + label::before {
  background: #003c3e;
}
.filters__checkbox_row input:checked + label::after {
  opacity: 100%;
}
.filters__checkbox_row label {
  display: inline-block;
  line-height: 24px;
  font-size: 14px;
  font-weight: 600;
  padding-left: 44px;
  position: relative;
  cursor: pointer;
  transition: all 0.4s ease;
}
.filters__checkbox_row label:hover {
  color: #30aa86;
}
.filters__checkbox_row label:hover::before {
  border-color: #30aa86;
}
.filters__checkbox_row label::before, .filters__checkbox_row label::after {
  transition: all 0.4s ease;
  position: absolute;
}
.filters__checkbox_row label::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: #edeff4;
}
.filters__checkbox_row label::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 8px;
  width: 6px;
  height: 14px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0%;
  transition: all 0.4s ease;
}
.filters .opened .filters__checkbox_title::before {
  transition: all 0.4s ease;
  transform: translateY(-50%) rotate(180deg);
}
.filters .opened .filters__checkbox_group {
  display: block;
}
@media screen and (max-width: 767px) {
  .filters {
    grid-template-columns: 1fr;
  }
}
@media screen and (max-width: 1080px) and (min-width: 768px) {
  .filters {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 1080px) {
  .filters {
    gap: 16px;
  }
}
@media screen and (min-width: 1081px) {
  .filters {
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    margin-top: 55px;
    border-radius: 8px;
  }
  .filters .filters__checkbox_col::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    left: 3px;
    height: 24px;
    width: 2px;
    background: #b3b3b3;
  }
  .filters .filters__checkbox_col:first-child::after {
    display: none;
  }
  .filters .filters__checkbox_col:hover .filters__checkbox_title h3, .filters .filters__checkbox_col.opened .filters__checkbox_title h3 {
    color: #30aa86;
  }
  .filters .filters__checkbox_col:hover .filters__checkbox_title h3 svg path, .filters .filters__checkbox_col.opened .filters__checkbox_title h3 svg path {
    stroke: #30aa86;
  }
  .filters__checkbox_title {
    padding: 8px 24px;
  }
  .filters__checkbox_title h3 svg {
    width: 32px;
  }
}
@media screen and (min-width: 768px) {
  .filters__checkbox_group {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    box-shadow: 10px 14px 16px rgba(0, 60, 62, 0.12);
    z-index: 1;
    padding: 12px 28px 20px;
  }
}

.cooBox {
  position: fixed;
  z-index: 300;
  left: 0;
  right: 0;
  bottom: 0;
  background: #30aa86;
  color: #fff;
  opacity: 0%;
  transition: all 0.4s ease;
}
.cooBox.visible {
  opacity: 100%;
}
.cooBox > div {
  padding: 25px 7%;
}
.cooBox .info {
  font-size: 14px;
}
.cooBox p {
  padding: 0;
}
.cooBox p a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
}
.cooBox p a:hover {
  text-decoration: none;
}
.cooBox .button {
  background: #003c3e;
  color: #fff;
}
.cooBox .button:hover {
  background: #fff;
  color: #003c3e;
}
@media screen and (max-width: 767px) {
  .cooBox {
    border-radius: 16px 16px 0 0;
    text-align: center;
  }
  .cooBox .accept {
    margin: 20px auto 0;
  }
  .cooBox br {
    display: none;
  }
}
@media screen and (min-width: 768px) {
  .cooBox {
    border-radius: 24px 24px 0 0;
    text-align: left;
  }
  .cooBox > div {
    align-items: center;
  }
  .cooBox .info {
    flex: 1;
  }
  .cooBox .accept {
    margin-left: 5%;
  }
}

.post {
  background: #fff;
  position: relative;
  padding: 16px 16px 24px;
  border-radius: 20px;
  display: block;
  color: #003c3e;
}
.post .cats {
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  z-index: 2;
}
.post .cats div {
  display: inline-block;
  border-radius: 8px;
  background: #30aa86;
  color: #fff;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 600;
  margin-right: 8px;
  margin-bottom: 8px;
}
.post figure {
  position: relative;
  padding-bottom: 60%;
  margin-bottom: 24px;
  border-radius: 10px;
  z-index: 0;
}
.post figure::before {
  content: "";
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  position: absolute;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
}
.post figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  border-radius: 10px;
  z-index: 1;
}
.post .info h3 {
  font-size: 20px;
  font-weight: 600;
  padding-bottom: 28px;
}
.post .info .post-footer {
  font-size: 14px;
  font-weight: 600;
  color: #b3b3b3;
}
@media screen and (min-width: 1081px) {
  .post {
    padding: 20px 24px 40px;
  }
  .post .cats {
    top: 36px;
    left: 32px;
    right: 32px;
  }
  .post figure {
    margin-bottom: 32px;
    overflow: hidden;
  }
  .post figure img {
    transform: scale(1);
  }
  .post .info h3 {
    font-size: 22px;
    padding-bottom: 33px;
  }
  .post:hover {
    box-shadow: 13px 10px 30px 0 rgba(0, 60, 62, 0.25);
    color: #30aa86;
  }
  .post:hover figure img {
    transform: scale(1.1);
  }
}

@media screen and (min-width: 1081px) {
  .content.blog {
    margin-bottom: 52px;
  }
}
@media screen and (max-width: 1080px) {
  .content.blog {
    margin-bottom: 32px;
  }
}
.content .container {
  border-radius: 24px;
}
@media screen and (min-width: 1081px) {
  .content .container {
    padding: 52px 0;
  }
}
@media screen and (max-width: 1080px) {
  .content .container {
    padding: 32px 0;
  }
}

@media screen and (max-width: 480px) {
  .searchform button {
    width: auto;
  }
}

.filters {
  background: transparent;
}
.filters__checkbox_group {
  z-index: 9;
}
@media screen and (min-width: 1081px) {
  .filters__checkbox_col {
    border-radius: 0;
  }
  .filters__checkbox_col--last {
    border-radius: 0 8px 8px 0;
  }
  .filters__checkbox_col:first-child {
    border-radius: 8px 0 0 8px;
  }
}
.filters .clearFilters {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 0 32px;
  border-radius: 8px;
}
@media screen and (min-width: 1081px) {
  .filters .clearFilters {
    margin-left: auto;
    width: fit-content;
  }
}
@media screen and (max-width: 768px) {
  .filters .clearFilters {
    padding: 12px 16px;
  }
}
.filters .clearFilters:hover h3 {
  color: #30aa86;
}
.filters .clearFilters:hover svg > path {
  stroke: #30aa86;
}
.filters .clearFilters h3 {
  display: flex;
  gap: 10px;
  color: #003c3e;
  font-size: 18px;
  font-weight: 600;
  padding: 0;
}
.filters .clearFilters h3,
.filters .clearFilters svg > path {
  transition: all 0.4s ease;
}

.posts {
  display: grid;
  grid-gap: 30px;
  grid-auto-rows: auto;
  padding-bottom: 120px;
}
@media screen and (max-width: 767px) {
  .posts {
    grid-template-columns: repeat(1, 1fr);
  }
}
@media screen and (max-width: 1080px) and (min-width: 768px) {
  .posts {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (min-width: 1081px) {
  .posts {
    grid-gap: 34px;
    grid-template-columns: repeat(3, 1fr);
    padding-bottom: 160px;
  }
  .posts .post figure {
    padding-bottom: 66%;
  }
  .posts .post:nth-child(10n+1):not(:last-child), .posts .post:nth-child(10n+6):not(:last-child) {
    grid-column: span 2/auto;
    padding: 20px;
    display: flex;
    align-items: flex-end;
  }
  .posts .post:nth-child(10n+1):not(:last-child) figure, .posts .post:nth-child(10n+6):not(:last-child) figure {
    margin-bottom: 0;
    padding-bottom: 0;
    position: absolute;
    bottom: 20px;
    right: 20px;
    top: 20px;
    left: 20px;
  }
  .posts .post:nth-child(10n+1):not(:last-child) .info, .posts .post:nth-child(10n+6):not(:last-child) .info {
    position: relative;
    padding: 40px 26px;
  }
  .posts .post:nth-child(10n+1):not(:last-child) h3, .posts .post:nth-child(10n+6):not(:last-child) h3 {
    color: #fff;
    font-size: 26px;
  }
}

.preloader {
  width: 40px;
  height: 40px;
  position: absolute;
  left: 50%;
  bottom: 40px;
  margin-left: -20px;
  background-image: url("preloader.svg");
  background-repeat: no-repeat;
  animation: spin 1s ease infinite;
}
@media screen and (min-width: 1081px) {
  .preloader {
    bottom: 60px;
  }
}

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