@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,100;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
  margin: 0;
  padding: 0;
  font-family: 'Archivo', sans-serif, Arial;
  font-size: 16px;
  font-weight: 300;
  background: #efefef;
}

a {
  color: #609bbf;
  text-decoration: none;
}
a:hover {
  opacity: .8;
  text-decoration: underline;
}
a:visited {
  color: inherit;
}

.content {
  min-height: 100vh;
  background: #efefef;
  padding-top: 2em;
  max-width: 1000px;
  margin: auto;
  color:  #555;
}

.content p {
  line-height: 140%;
}

.content img {
  max-width: 100%;
}

.carousel {
  width: 100%;
  overflow: hidden;
}

.content.home {
  padding-top: 1em;
}

.content.home h1{
  color: #000;
  font-size: 3em;
  text-align: center;
}

.page-content {
  width: 80%;
  display: inline-block;
  box-sizing: border-box;
  vertical-align: top;
  padding-bottom:  3em;
}

.page-content.forum-content {
  padding-right: .5em;
}

.page-content h2, .page-content h3, .page-content h4, .page-content p {
  background: transparent;
}

.page-content h3 {
  margin-top: 0;
}
/* .page-content :first-child {
  margin-top: 0;
} */

.main-subtitle {
  margin-top: 0;
  margin-bottom: 3em;
}

.page-content img {
  max-width: 100%;
  display: block;
  margin-bottom: .5em;
  max-height: 30em;
  border-radius: 5px 5px 0 0;
}

.page-sidebar {
  width: 20%;
  display: inline-block;
  box-sizing: border-box;
  vertical-align: top;
  /*background-color: gray;*/
  padding-left: .5em;
}



.post h2 {
  color: black;
  font-size: 1em;
      /*word-break: break-word;
    overflow-wrap: break-word;*/
}
.post h2:hover {
  color: #609bbf;
}

.post-date {
    font-size: .8em;
    text-align: right;
    margin-top: .5em;
}

.post-content {
  padding-right: 2em;
}

.page-najave .post-past-time {
  opacity: .5;
  filter: grayscale(100%);
}

.page-najave .post-past-time:hover {
  opacity: 1;
  filter: grayscale(0);
}

.post-content img {
  margin: 2em auto;
}

.sidebar a {
  text-decoration: none;
}
.sidebar a:hover {
  text-decoration: underline;
}

.page-title {
  color: #609bbf;
  text-align: center;
  font-size: 3em;
}
/*.content h2 {
  text-align: center;
  font-size: 2em;
}*/


.banner-item-desktop {
  width: 100%;
}
.banner-item-desktop img{
  width: 100%;
}


.home h4 {
  text-align:  center;
  color: gray;
  font-weight: normal;
}

#footer {
  text-align:  center;
  font-size: .8em;
  background-color: #609bbf;
  color:  white;
  overflow: hidden;
  padding: 1em;
}

#footer address a{
  color: white;
}

#footer address a: hover{
  color: white;
}

#footer .social img{
  width: 32px;
}

#footer .social {
  margin-top: .5em;
}
#footer address {
  line-height: 1.2em;
}

.content.post {
  max-width: 800px;
}

.content.post .page-content {
  width: 70%;
}
.content.post .page-sidebar {
  width: 30%;
}


.content.page {
  max-width: 800px;
}
.section-page .page-content {
  width: 70%;
}
.section-page .page-sidebar {
  width: 30%;
}

.page-content-top > *:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.page-content-top {
  padding-right: 1em;
}

.post-content > *:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}


.posts .post {
  margin: 0 .3em;
  position: relative;
  background-color: #fafafa;
  padding: .5em;
  padding-bottom: 2em;
  text-align: left;
  margin-bottom: 1em;
  word-break: break-word;
  overflow-wrap: break-word;
  -webkit-box-shadow: 0px 2px 10px 2px rgba(0,0,0,0.05); 
  box-shadow: 0px 2px 10px 2px rgba(0,0,0,0.05);
}

.posts .post img{
  display: block;
  max-width: 100%;
}

.posts .post-category-name {
  position: absolute;
  display: inline-block;
  padding: .3em .5em;
  font-size: .6em;
  background: green;
  color:  white;
  display: none;

}

.sidebar h2 {
  font-size: 1.2em;
  color:  black;
  text-align: center;
  font-weight: normal;
  padding: .2em;
}

.sidebar h2:first-child {
  margin-top: 0;
}

.sidebar {
  font-size: 1em;
  color: #333;
  padding-bottom: 3em;
}

.sidebar a {
  color: gray;
}

.sidebar a:hover {
  color: gray;
}

.sidebar img{
  max-width: 100%;
}

.sidebar h3 {
  font-weight: normal;
  margin-bottom: .2em;
  margin-top: .2em;
  color: #444;
}

.sidebar-news h3 {
  /*font-size: 1.2em;
  text-align: left;
  margin: 0;*/
}

.sidebar p{
  margin-top: .2em;
  color: #666;
}

.sidebar-news div {
  border-bottom: 1px solid #ddd;
  margin-bottom: .5em;
  padding-bottom: .5em;
}

.sidebar-events div {
  border-bottom: 1px solid #ddd;
  margin-bottom: .5em;
  padding-bottom: 0;
  
}

.sidebar-links div {
  border-bottom: 1px solid #ddd;
  margin-bottom: .5em;
  padding-bottom: 0;
}

.sidebar-news h2 {
  color: white;
  background: #ad7193;;
}

.sidebar-events h2 {
  color: white;
  background: #e85e02;
}

.sidebar-links h2 {
  color: white;
  background: #609bbf;
}

.form {
  width: 50%;
  margin: auto;
}

.forum-label {
  display: inline !important;
  cursor: pointer;
}

.form input:not([type='checkbox']){
  display: block;
  padding: .5em;
  width: 100%;
  border: 1px solid #ddd;
  border-radius: .3em;
  box-sizing: border-box;
  font-size: 1em;
}

.form label{
  margin-top: .5em;
  display: block;
  box-sizing: border-box;
  font-style: italic;
  color: gray;
}

.form label:after{
  content: ':';
}

.form input[type=submit]{
  display: block;
  padding: .5em 3em;
  width: auto;
  margin: auto;
  margin-top: 1em;
  background-color: #609bbf;
  border: none;
  border-radius: .3em;
  color: white;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
}
.form input[type=submit]:hover{
  opacity: .8;

}

.login {
  text-align: center;
}

.login-error {
  text-align: center;
  background: #99000010;
  border: 1px solid #990000;
  font-size: 1em;
  border-radius: .3em;
  padding: 1em;
}

.login-error-title{
  font-size: 2em;
  text-align: center;
}

.login-register {
  text-align: right;
  margin-top: 2em;
}

.form-error {
  color: #990000;
  font-size: .8em;
  margin-top: .5em;
  margin-bottom: .5em;
  font-style: italic;
}

.form-error:before{
  content: "*";
}

.post-read-more {
  display: inline-block;
  text-align: center;
  text-transform: lowercase;
  background: gray;
  color: white;
  font-size: .8em;
  padding: .5em 1em;
  border-radius: .2em;
}

.post-read-more-container {
  text-align: right;
  color: white;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: .5em;
  box-sizing: border-box;
}

.post-read-more.post-category-1 {
  background: #ad7193;
}
.post-read-more.post-category-5 {
  background: #e85e02;
}
.post-read-more.post-category-8 {
  background: #95c732;
}

.forum-comment time {
  font-size: .8em;
  color: gray;
}

.forum-comment p {
  margin-top: 0;
  /* white-space: pre-wrap; */
}

.forum-comment {
  font-size: .8em;
    /* border-bottom: 1px solid #ddd; */
    border-radius: 0.3em;
     background: #f5f5f5; 
    margin: 0.5em 0;
    padding: 0.5em;
    border: 1px solid #d1d1d1;
}

.forum textarea {
  border: 1px solid gray;
    border-radius: 0.3em;
    width: 100%;
    box-sizing: border-box;
    height: 5em;
    resize: vertical;
}

.forum .forum-add-comment {
  text-align: center;
}

.forum #comments {
  padding-top: .5em;
}

.forum .forum-reply-container {
  text-align: right;
}

.forum .forum-reply, .delete-comment {
  font-size: .7em;
}

.delete-comment {
  background-color: #CC0000;
}

.delete-reply {
  background-color: #CC0000;
  font-size: .6em;
  margin-left: 5px;
  vertical-align: middle;
}

.forum .forum-replies-reply {
  margin-left: 2em;
  margin-bottom: 1em;
  border-left: 1px solid #ccc;
  padding-left: 1em;
}

.forum-replies-reply time {
  display: block;
}

.forum-replies-reply p {
  display: inline;
  word-break: break-word;
  white-space: pre-wrap;
}

.forum .sidebar-forum-title {
  margin: 0;
  color: white;
  background: #609bbf;
  font-size: 1.2em;
    text-align: center;
    font-weight: normal;
    padding: 0.2em;
}

.forum .forum-sidebar-forum {
  font-weight: normal;
  font-size: 1em;
  border-bottom: 1px solid #ccc;
  padding: 0.5em;
    margin: 0;
}

button {
  background-color: #609bbf;
  border: none;
  border-radius: 0.3em;
  color: white;
  cursor: pointer;
  padding: 0.5em 1em;
  font-weight: bold;
}

button:hover {
  opacity: .8;
}

header .search-container {
    margin-top: 0.2em;
    text-align: center;
    display: none;
}

header .search-desktop img {
  width: 1em;
  margin-top: 0.7em;
}

header .search-container input{
    padding: .5em;
    width: 50%;
    font-size: 1em;
}

header .search-mobile {
  display: none;
}

.search-title {
  text-align: center;
  color: #609bbf;
  text-decoration: italic;
  font-size: 1.2em;

}

.ql-video {
  width: 500px;
  height: 300px;
}

.page-content-no-sidebar {
  width: 100%;
}

.page-featured-image {
  width: 100%;
}

.ql-align-justify {
  text-align: justify;
}
.ql-align-left {
  text-align: left;
}
.ql-align-right {
  text-align: right;
}

.add-to-cart {
    background: #609bbf;
    color: white;
    border: none;
    border-radius: 0.3em;
    padding: 0.5em 1em;
    display: block;
    cursor: pointer;
    margin: auto;
    width: 100%;
    
}

.products-list li .add-to-cart {
  position: absolute;
    bottom: .5em;
    left: 2%;
    width: 96%;
}

.products-list li {
  padding: .3em;
  /*margin: .3em;*/
  /*border: 1px solid grey;*/
  border-radius: .3em;
  width: auto;
  padding-bottom: 2.5em;
  background: #fafafa;
  margin-bottom: 0;
}

.products-list li .products-product-name {
  margin-top: 0;
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: .5em;
}

.products-list .products-product-weight {
  display: none;
}


.products-list .products-product-description {
  display: none;
}

.products-list li .products-product-price {
  text-align: center;
  color: #555;
  font-size: .9em;
}

.products-list {
    display: grid;
    gap: 0.5em;
    grid-row-gap: 1em;
    grid-template-columns: repeat(4, 1fr);
}

  .products-image-container {
    position: relative;
    width: 100%;
    /*padding-top: 56.25%;*/
/*    padding-top: 177.777777778%;*/
  }

    .products-image-container img{
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    top: 0;
    left: 0;
    display: inline-block;
    object-fit: cover;
  }


.cart-products-body-title {
  text-align: left !important;
}

.cart-membership-name {
  display: inline-block;
  text-align: left;
  background: orangered;
  color: white;
  padding: .3em;
  font-size: .8em;
  font-weight: bold;
  margin-top: .2em;
  margin-bottom: .2em;
  border-radius: .3em;
}


.grid-1 {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.grid-4-2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}


.page-hero-image img {
  min-width: 100%;
}


.sidebar-categories {
  display: none;
}

.page-shop .sidebar-categories {
  /*display: block;*/
}













@media screen and (max-width: 1000px) {

  .grid-2 {
    grid-template-columns: repeat(1, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(1, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(1, 1fr);
  }
  .grid-4-2 {
    grid-template-columns: repeat(2, 1fr);
  }


.content {
  font-size: 20px;
  padding-top: 0;
}

.carousel-title {
  width: auto;
}



.content {
  padding-left: 0.5em;
  padding-right: 0.5em;
  box-sizing: border-box;
}

.page-content-top {
    padding-right: 0;
}

.page-content, .page-sidebar {
  display: block;
  width: auto;
}

.post-content {
  padding-right: 0;
}

.carousel-desktop {
  display: none;
}

.page-title {
  font-size: 2em;
}

.page-sidebar {
  padding-left: 0;
}

.posts {
  display: block;
}

.pagination {
  font-size: .7em;
}

.content.post .page-content {
  width: 100%;
}
.content.post .page-sidebar {
  width: 100%;
}


.content.page {
  width: 100%;
}
.section-page .page-content {
  width: 100%;
}
.section-page .page-sidebar {
  width: 100%;
}

header .search-desktop {
  display: none !important;
}
header .search-mobile {
      display: inline-block;
    position: absolute;
    top: 1.4em;
    right: 4em;
}

header .search-mobile img {
  width: 2em;
}

header .search-container input {
  width: 80%;
}

.ql-video {
  width: 100% !important;
}

.page-content img {
  margin: auto;
}

.menu .arrow {
    float: right;
  }

  .header .menu {
    height: 80vh;
  }

  .posts {
    grid-template-columns: repeat(1, 1fr);
  }

  .products-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .products-list li {
    width: 100%;
    box-sizing: border-box;
    display: inline-block;
    position: relative;
    padding: 3px;
    padding-bottom: 2em;
  }

  .products-list li .add-to-cart {
    position: absolute;
    bottom: .5em;
  }

  .form {
    width: 100%;
    margin: auto;
  }

  .form .form-group {
    padding-left: 2em;
    padding-right: 2em;
  }

  .login-register {
    text-align: center;
  }






/*END*/
}

@media screen and (min-width: 1000px) {
  .carousel-mobile {
    display: none;
  }
}







/*@media screen and (max-width: 720px) {

  .menu .arrow {
    float: right;
  }

  .header .menu {
    height: 80vh;
  }

  .posts {
    grid-template-columns: repeat(1, 1fr);
  }




}*/