.bs-awf-post-taxonomy__container {
  display: flex;
  margin-top: 30px;
  margin-bottom: 75px;
}
.bs-awf-post-taxonomy__categories {
  height: 25vw;
  border-right: solid 2px #59d9b2;
  padding-right: 2vw;
  margin-bottom: 60px;
}
.bs-awf-post-taxonomy__categories h4 {
  color: #1d1d1b;
  font-family: ballinger, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 1.5vw;
  margin-bottom: 1vw;
}
.bs-awf-post-taxonomy__categories li {
  color: #4a4a49;
  font-family: ballinger, sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 1vw;
  list-style: none;
}

.bs-awf-post-taxonomy__categories li:hover{
  color:#005335;
}

.bs-awf-post-taxonomy__categories ul li {
  cursor: pointer;
  margin-bottom: 1vw;
}

.bs-awf-post-taxonomy__categories ul li.active {
  color: #005335;
}

.bs-awf-post-taxonomy__posts {
  flex: 8;
  grid-gap: 30px;
  flex-direction: row;
  grid-template-columns: 1fr 1fr;
  display: grid;
  min-height: 35vw;
  max-height: 50vw;
  overflow-y: scroll;
  margin-left: 3%;
  padding-right: 1%;

}

.bs-awf-post-taxonomy__posts--courses {
  display: grid;
  gap: 80px;
  grid-template-columns: 1fr 1fr 1fr !important;
  grid-template-rows: auto;
  margin-left: 6%;
}

.bs-awf-post-taxonomy__post {
  border: 3px solid #a6ead5;
  max-height: 30vw;
  height: fit-content;
  padding: 1.5vw;
  background: url(http://mp-dev.awf.wroc.pl/wp-content/uploads/2021/08/Vector-4.svg);
}

.bs-awf-post-taxonomy__post a {
  text-decoration: none !important;
}

.bs-awf-post-taxonomy__posts--courses .bs-awf-post-taxonomy__post {
  border: none;
  background: none;
  padding: 0;
}
#page .bs-awf-post-taxonomy__title {
  margin-bottom: 0.5vw;
  font-size: 1.5vw!important;
}

.bs-awf-post-taxonomy__post h4:hover{
  color:#005335;
}

#page .bs-awf-post-taxonomy__breadcrumbs {
  font-size: 1vw;
  margin-bottom: 5px;
}
#page .bs-awf-post-taxonomy__content {
  margin-bottom: 0.5vw;
}
.bs-awf-post-taxonomy__categories ul li.active::before,
.bs-awf-post-taxonomy__categories ul li.active::before,
.bs-awf-post-taxonomy__categories ul li.active::before {
  background-image: url(/wp-content/uploads/2021/11/Group-243-1.svg);
  background-repeat: no-repeat;
  background-size: 1.2vw;
  content: "";
  width: 2vw;
  height: 1vw;
  display: inline-block;
  margin-left: 1vw;
  margin-left: -2vw;
  margin-bottom: -0.3vw;
}
.bs-awf-post-taxonomy__more {
  color: #005335;
  font-family: "Ballinger", sans-serif;
  font-style: normal;
  font-weight: 700;
  padding-left: 0;
  font-size: 1.3vw;
  background: transparent;
  line-height: 1.5;
  text-decoration: none !important;
  line-height: 1.5;
}
.bs-awf-post-taxonomy__more::after {
  background-image: url(/wp-content/uploads/2021/11/Group-243-1.svg);
  background-repeat: no-repeat;
  background-size: 2vw;
  content: "";
  width: 2vw;
  height: 1.5vw;
  display: inline-block;
  margin-left: 1vw;
  margin-bottom: -0.5vw;
}
.bs-awf-post-taxonomy__btn {
  margin: 0;
  padding: 0;
  color: #4a4a49;
  font-family: ballinger, sans-serif;
  font-style: normal;
  font-weight: 600;
  cursor: pointer;
  font-size: 1.2vw;
  background: transparent;
  padding: 20px 7vw 0 1.2vw;
  border-top: solid 1px #59d9b270;
  border-radius: 0;
}

.bs-awf-post-taxonomy__btn:hover{
  background: transparent;
  border-top: solid 1px #59d9b270;
  color: #005335;
}



/*TABLET*/

@media (min-width:781px) and (max-width: 1200px){


  #page .bs-awf-post-taxonomy__breadcrumbs{
    font-size:15px;
  }

  .bs-awf-post-taxonomy__btn{
    font-size: 16px;
  }

  .bs-awf-post-taxonomy__posts{
    max-height: 900px;
    height: 715px;
    padding-right: 2%;
  }

  .bs-awf-post-taxonomy__post{
    max-height: fit-content;
  }

  #page .bs-awf-post-taxonomy__title{
    font-size: 18px!important;
  }

}


/*MOBILKA*/

@media (max-width:780px){


  #page	.bs-awf-post-taxonomy__posts{
		display:grid;
		grid-template-columns:1fr!important;
	}
	
	#page .bs-awf-post-taxonomy__container{
		display:flex;
		flex-direction:column;
		margin-top:0;
		margin-bottom:0;
	}

  #page .bs-awf-post-taxonomy__breadcrumbs{
    font-size:15px;
  }

  .bs-awf-post-taxonomy__btn{
    font-size: 16px;
  }

  .bs-awf-post-taxonomy__posts{
    max-height: none;
    height: auto;
    padding-right: 4%;
    grid-template-columns: 1fr;
  }

  .bs-awf-post-taxonomy__post{
    max-height: fit-content;
    padding: 15px;
  }

  .bs-awf-post-taxonomy__categories{
    width: 40%;
  }
  
  .bs-awf-post-taxonomy__more::after{
    background-size: 20px;
    content: "";
    width: 20px;
    height: 13px;
  }

  #page .bs-awf-post-taxonomy__title{
    font-size: 18px!important;
    line-height: 1.2;
  }

  .bs-awf-post-taxonomy__categories{
    width: 100%;
    height: 560px;
    border:none;
    margin-bottom: 5px;
  }

  .bs-awf-post-taxonomy__categories ul li{
    margin:30px 0;
  }
  

  .bs-awf-post-taxonomy__categories ul li.active::before, .bs-awf-post-taxonomy__categories ul li.active::before, .bs-awf-post-taxonomy__categories ul li.active::before{
    background-size: 20px;
    content: "";
    width: 25px;
    height: 12px;
  }


}