
.teaser_section .views-row{
   border-radius: 6px;
    border: 1px solid #999;
    /*background: #fff;*/
    transition: all .3s;
    width: 300px !important;
    transform: scale(1);
    margin-left: 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    height: 410px;
    cursor: pointer;
}
.teaser_section .views-row.open {
    height: auto;
}
.block_section{
    width: 1000vw;
    margin: 0 10px;
}
.teaser_horizontal_scroll .list-teaser-layout{
    height: 100vh;
    overflow: hidden;
}
.teaser_section .views-row .views-field{
    text-align: center;
}
.teaser_section .views-row .views-field img{
    display: none;
    width: 100%;
    transition: all .5s;
    /*height: 150px;
    width: auto;
    object-fit: contain;
    min-height: 125px;
    max-height: 125px;*/
}
.teaser_section .views-row .views-field img:hover{
    transform: scale(1.1);
}
.teaser_section .views-row .views-field .field-content{
    overflow: hidden;
    height: 180px;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    background-position: center !important;
}
.teaser_section .views-row .views-field-nothing{
    height: 100%;
}
.teaser_section .views-row .title_section{
    padding: 15px;
    height: 100%;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    background: var(--sectionbg-color);
}
/*.teaser_section .views-row .title_section a{*/
/*    color: blue;*/
/*}*/
.teaser_section .views-row:hover{
    transform: scale(1.05);
    z-index: 5;
    position: relative;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}
.teaser_section .views-row .title_section p{
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--font_color);
}



.teaser_section_block.black_background .teaser_section .views-row .title_section{
    background: #000;
}

.teaser_section_block.blue_background .teaser_section .views-row .title_section{
    background: blue;
}
.modal_type_2 .teaser_section .views-row{
    background: var(--backgroun-bg);
}
.modal_type_2.black_background .teaser_section .views-row{
    background: #000;
}
.modal_type_2.blue_background .teaser_section .views-row{
    background: blue;
}
.modal_type_3 .teaser_section .views-row{
    flex-direction: row;
}
.modal_type_3 .teaser_section .views-row .title_section .desc_text{
    display: none;
}
.modal_type_3.teaser_section_block .teaser_section .views-row .title_section {
    margin-left: 15px;
    padding: 10px;
    border-top-right-radius: 6px;
    border-bottom-left-radius: 0px;
}
.modal_type_4.teaser_section_block .teaser_section .views-row .views-field img{
    height: 100%;
    border-radius: 6px;
    object-fit: cover;
}
.modal_type_4.teaser_section_block .teaser_section .views-row .views-field-nothing{
    position: absolute;
    opacity: 0.8;
    bottom: 0;
    height: auto;
    width: 100%;
    background: #fff;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}
.teaser_section .views-row .title_section span.desc_text{
    color: var(--font_color);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    white-space: normal;
}
.teaser_section .views-row .title_section span.desc_text.open {
    white-space: unset;
    text-overflow: unset;
    overflow: auto;
    height: auto;
}
.toggle_btn{
    position: relative;
    height: 35px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}
.toggle_btn input{
  position: absolute;
    left: 0;
    top: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none  
}
.toggle_btn label{
    position: relative;
    display: flex;
    height: 100%;
    align-items: center;
    box-sizing: border-box;
}
.toggle_btn label:before{
    content: "";
    display: inline-block;
    box-sizing: border-box;
    transition: 0.2s ease-in;
    box-sizing: border-box;
    isolation: isolate;
    position: relative;
    height: 32px;
    width: 96px;
    border-radius: 15px;
    background: #e9e9e9;
    box-shadow: -8px -4px 8px 0px #ffffff, 8px 4px 12px 0px #d1d9e6;
}
.toggle_btn label:after{
    content: "OFF";
    height: 32px;
    width: 48px;
    box-sizing: border-box;
    border-radius: 15px;
    background: #ecf0f3;
    font-family: arial;
    color: #000;
    font-size: 14px;
    line-height: 32px;
    font-weight: 800;
    text-align: center;
    position: absolute;
    left: 0;
    top: 3px;
    transition: 0.4s cubic-bezier(0.85, 0.05, 0.18, 1.35);
    box-shadow: 4px 4px 4px 0px #d1d9e6 inset, -4px -4px 4px 0px #f4f8ff inset;
}
.toggle_btn input[type=checkbox]:checked + label:after {
    content: "ON";
    color: blue;
    transform: translate3d(48px, 0, 0);
}
.teaser_horizontal_scroll{
    display: none;
}
.scrollmagic-pin-spacer{
    display: none !important;
}
.show_horizontal_slider .teaser_horizontal_scroll{
    display: block;
}
.show_horizontal_slider .teaser_grid{
    display: none;
}
.show_horizontal_slider .scrollmagic-pin-spacer{
    display: block !important;
}
.teaser_grid.teaser_section .views-row{
 width: 23% !important;
 margin-left: 20px;
 margin-bottom: 20px;
}
.teaser_grid.teaser_section .views-row:nth-child(odd) {
    margin-top: 0;
}
.teaser_grid.teaser_section .views-row:nth-child(even) {
    margin-bottom: 20px;
}
.teaser_grid.teaser_section .views-row:first-of-child{
    margin-left: 0;
}
.teaser_grid.teaser_section {
    height: 100%;
    /*overflow: auto;*/
}
.teaser_section_block.modal_type_5 .teaser_section .views-row .views-field-nothing{
    display: none;
}
.modal_type_5.teaser_section_block .teaser_section .views-row .views-field img {
    height: 100%;
    border-radius: 6px;
}
.modal_type_4 .teaser_section .views-row .views-field img,
.modal_type_5 .teaser_section .views-row .views-field img {
    width: 100%;
}
.modal_type_4 .teaser_section .views-row .views-field .field-content,
.modal_type_4 .teaser_section .views-row .views-field {
    height: 100%;
}
@media only screen and (min-width: 767px){
    .teaser_section .views-row .views-field img{
        min-height: auto;
        max-height: auto;
    }
}
@media only screen and (min-width: 767px) and (max-width: 1200px) {
    .teaser_grid.teaser_section .views-row {
        width: 45% !important;
        margin-bottom: 40px;
    }
}
@media only screen and (max-width: 767px){
    .teaser_grid.teaser_section .views-row {
        width: 100% !important;
        margin-bottom: 40px;
        margin-left: 0;
    }
}