/* 
 Theme Name:   Kalnapilis Arena (Hello Elementor Child)
 Theme URI:    
 Description:  
 Author:       domas
 Author URI:   https://kalnapilisarena.lt
 Template:     hello-elementor
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

 /* == Add your own styles below this line ==
--------------------------------------------*/


.page-id-57 .flex-item.event.post h3 {
    max-height: 65px;
    display: block;
    overflow: hidden;
}


.page-id-57 .flex-item.event.post a:hover h3 {
   /* max-height: 120px;
    display: block;*/
    overflow: visible;
}




.elementor-item-active .elementor-item:before{
    background-color: red !important;
    opacity: 1 !important;
}



.single-renginys h5{
    font-size: 14px;
    font-weight: 400;
}



.elementor-nav-menu--layout-horizontal .elementor-nav-menu > li a span {
  color: #fff;
  z-index: 10;
}





.flex-wrap,
.flex-gallery {
  display: flex;
  flex-flow: row wrap;
  align-items: flex-start;
  justify-content: flex-start;
}


.flex-item,
.flex-gallery-item {
  flex-basis: 50%;
  position: relative;
  padding: 15px;
  box-sizing: border-box;
  flex-grow: 0;
}



.flex-item.post{
  flex-basis: 33%;
  position: relative;
  padding: 15px;
  box-sizing: border-box;
  flex-grow: 0;
}





.flex-wrap .flex-item-item{
     flex-basis: 50%;
  position: relative;
  padding: 15px;
  box-sizing: border-box;
  flex-grow: 0;
  align-self: center;
}





.flex-wrap .post .flex-item-item.image-block{

  padding-bottom: 0px;

}


.flex-wrap .post .flex-item-item.title-block{
    flex-basis: 100%;
  position: relative;
  padding-top: 0px;
  padding-bottom: 0px;
  box-sizing: border-box;
  flex-grow: 1;
  align-self: center;
}











.flex-wrap.v2 .flex-item.event .block {
    display: flex;
    flex-direction: column;
}



.flex-wrap.v2 .flex-item-item.image-block{
   order: 2;
    
}



.flex-wrap.v2 .flex-item.event .block {
 
    background: #006e36 url(staciak.svg) no-repeat;
    background-position: right top;
    padding: 0px 2px;
}






.flex-wrap.v2 .flex-item.event .btn {
  margin: 0px;
    margin-top: 0px;
  display: flex;
  justify-content: right;
  margin-top: 10px;
margin-right: 20px;
}



.flex-wrap.v2 .flex-item.event .btn a {
  background: #006e36;
  padding: 2px 15px;
  color: #fff;
  text-transform: uppercase;
  border-radius: 10px 0px 0px 10px;
  position: relative;
  z-index: 5;
  font-size: 12px;
}




.flex-wrap.v2 .flex-item.event img {
  transition: transform .5s ease;
  max-width: 340px;
  width: 100% !important;
  height: auto !important;
}



.flex-wrap.v2 .flex-item{
  flex-basis: 100%;
  padding: 20px;
  padding-top: 0px;

}




.flex-wrap.v2 .flex-item.event .btn a span {
  background: url(arrow-red.svg);
    background-position-x: 0%;
    background-position-y: 0%;
    background-repeat: repeat;
    background-size: auto;
  background-position: center center;
  width: 29px;
  height: 35px;
  display: block;
  position: absolute;
  z-index: 2;
  right: -23px;
  top: -7px;
  background-size: 68%;
  background-repeat: no-repeat;
}


.flex-wrap.v2 .flex-item.event .btn a:hover {
  background: #e31e24;
  
}


.flex-item.event .block {
    display: flex;
    margin: 0px;
    margin-top: 0px;
    background: #00873d url(staciak.svg) no-repeat;
/*    width: 100%;*/
    height: auto;
    background-position: right top;
    padding: 40px 2px;
}



.flex-item.event.post .block {
    display: block;
    text-align: center;
    margin: 0px;
    margin-top: 0px;
    background: #00873d url(staciak.svg) no-repeat;
/*    width: 100%;*/
    height: auto;
    background-position: right top;
    padding: 0px 2px;
}



.flex-item.event.post .block .date{
color: #fff;
font-size: 13px;
    margin-top: 10px;
}







.flex-item.event img{
     transition: transform .5s ease;
    max-width: 340px;
    width: 340px !important;
    height: 190px !important;
    
}


.flex-item.event.post img {
    transition: transform .5s ease;
    max-width: 340px;
    width: 290px !important;
    height: auto !important;
}






.flex-item.event:hover img {
  transform: scale(1.1);
}



.flex-item.event h3{
    text-align: center;
    text-transform: uppercase;
    color: #f1f1f1;
    font-weight: 600;
    font-size: 1.5rem;
}


.v2 .flex-item.event.post h3,
.v2 .flex-item.event h3 {
    text-align: center;
    text-transform: uppercase;
    color: #f1f1f1;
    font-weight: 600;
    font-size: 20px;

}



.flex-item.event.post h3 {
    text-align: center;
    text-transform: uppercase;
    color: #f1f1f1;
    font-weight: 600;
    font-size: 1.4em;
    line-height: 1;
    margin-top: 20px;
    margin-bottom: 20px;
   
}




.flex-item.event .event-date{
    text-align: center;
    text-transform: none;
    color: #f1f1f1;
    font-weight: 500;
}






.flex-item.event .btn {
    margin: 20px;
    display: flex;
    justify-content: right;
}


.flex-item.event.post .btn {
    margin: 0px;
    margin-right: 30px;
    margin-bottom: 15px;
    display: flex;
    justify-content: right;
}




.flex-item.event .btn a {
    background: #006e36;
    padding: 2px 20px;
    color: #fff;
    text-transform: uppercase;
    border-radius: 10px 0px 0px 10px;
    position: relative;
    z-index: 5;
}


.flex-item.event.post .btn a {
    background: #006e36;
    padding: 2px 5px;
    color: #fff;
    text-transform: uppercase;
    border-radius: 10px 0px 0px 10px;
    position: relative;
    z-index: 5;
    font-size: 12px;
}







.flex-item.event .btn a:hover {
    background: #e31e24;
    color: #fff;
}




.flex-item.event .btn a span{
        background: url(arrow-red.svg);

    background-position: center center;

    width: 29px;
    height: 35px;

    display: block;
    position: absolute;
    z-index: 2;
    right: -30px;
    top: -5px;
}


@media (max-width: 1600px) {

.flex-item.event h3 {
    text-align: center;
    text-transform: uppercase;
    color: #f1f1f1;
    font-weight: 600;
    font-size: 1.25rem;
}

}



@media (max-width: 1200px) {

.flex-item,
.flex-gallery-item {
  flex-basis: 100%;
  position: relative;
  padding: 15px;
  box-sizing: border-box;
  flex-grow: 0;
}

}




@media (max-width: 768px) {
.flex-item.event img {
    transition: transform .5s ease;
    max-width: 275px;
    width: 275px !important;
    height: auto !important;
}

.flex-item.event h3 {
 
    font-size: 1.4em;
}



.flex-item.post {
    flex-basis: 33%;
    position: relative;
    padding: 15px;
    box-sizing: border-box;
    flex-grow: 1;
}




}




@media (max-width: 620px) {

.flex-item.event .block {

    flex-flow: wrap;
}


.flex-wrap .flex-item-item {
    flex-basis: 100%;
    align-self: center;
}


.flex-wrap .flex-item-item.image-block{
 justify-content: center;
 display: flex;
}





}