/*! Place your custom styles here */

.bar .logo {
    max-height: 46px;
    max-width: none;
    top: 0px;
}
.dropdown__trigger {
    font-size: 0.857142857142857em;
    line-height: 2.166666666666667em;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: .5px;
    color: #252525;
    cursor: pointer;
    user-select: none;
    opacity: .5;
    margin-right: 18px;
}
.dropdown__trigger:hover {
    font-size: 0.857142857142857em;
    line-height: 2.166666666666667em;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: .5px;
    color: #252525;
        cursor: pointer;
    user-select: none;
    opacity: 1;
    text-decoration: none;
}
section.main-logo {
    padding: 0;
    position: absolute;
    z-index: 99;
    margin-left: 10%;
}
h1.slider_title {
    color: white;
    margin-left: 140px;
    font-size: 50px;
    line-height: 1.2em;
    max-width: 700px;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 4px;
}
.slider_subtitle {
    color: white;
    margin-left: 140px;
    font-size: 32px;
    max-width: 650px;
    line-height: 1.2em;
}
.slider_text {
    position: absolute;
    top: 24%;

}




/* ////////// CARD /////////////*/
.card {
  height: 300px;
  width: auto;
  position: relative;
  transform-style: preserve-3d;
  perspective: 1000px;
}
.card span {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  cursor: pointer;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  transform-style: preserve-3d;
  transition: transform 0.5s;
}
.card_img_1, .card_img_2, .card_img_2b, .card_img_3, .card_img_4, .card_img_5, .card_img_6, .card_img_7, .card_img_8, .card_img_9, .card_img_10 {
  background-repeat: no-repeat;
  background-size: cover;
  transform: rotateY(0deg);
      background-position: center;
}


.card_img_1{
  background-image: url(../img/card-01.jpg);

}
.card_img_2 {
  background-image: url(../img/card-02.png);
}
.card_img_2b{
  background-image: url(../img/card-02b.png);
	justify-content: end !important;
    padding-bottom: 20px;  
}
.card_img_3 {
  background-image: url(../img/card-03.jpg);
}
.card_img_4 {
  background-image: url(../img/card-04.jpg);
}
.card_img_4b {
  background-image: url(../img/card-04b.jpg);
  background-size: cover;
	justify-content: end !important;
    padding-bottom: 36px;   
}
.card_img_5 {
  background-image: url(../img/card-05.jpg);
}
.card_img_6 {
  background-image: url(../img/card-06.png);
}
.card_img_7 {
  background-image: url(../img/card-07.jpg);
}




.card_details {
  background-color: #eee;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.card_details h2 {
  text-align: center;
  color: #333;
  font-size: 20px;
    font-weight: bold;
    border-bottom: 2px solid red;  
}
.card_details p {
  padding: 0 20px;
  text-align: center;
  color: #333;
    font-size: 16px;
    line-height: 1.4em;
}


.card:hover .card_img_1, .card:hover .card_img_2, .card:hover .card_img_3, .card:hover .card_img_4, .card:hover .card_img_5, .card:hover .card_img_6, .card:hover .card_img_7, .card:hover .card_img_8, .card:hover .card_img_9, .card:hover .card_img_10 {
  transform: rotateY(-180deg);
}



.card:hover .card_details {
  transform: rotateY(0deg);
}
a.btn.btn--primary.type--uppercase.btn--xs {
    width: 60%;
    margin: 0 auto;
}
button.btn__text {
    border: none;
}



span.card_img_3 {
 /*   background-size: 77%;*/
}
.card_img_4b a.btn.btn--primary.type--uppercase.btn--xs {
    width: 80%;
    margin: 0 auto;
}
/* ////////// CARD ENDS /////////////*/









.slider--inline-arrows ul.slides.flickity-enabled.is-draggable {
    padding: 0 30px;
}
footer {
    background-color: #f3f3f3;
    padding-top: 50px !important;
}
footer .logo {
    max-height: 48px;
}
li.slide.is-selected img {
	width: 100%;
    transform: scale(1.25);
    transition: 18s;
}
.slider_text {
    z-index: 999;
}

.slidese{
    margin: 0;
    padding: 0 30px;
    position: relative;
    display: flex;
}









































@media only screen and (max-width: 768px) {
	.slider--inline-arrows ul.slides.flickity-enabled.is-draggable {
	    padding: 0px;
	}
	.card {
	    height: 220px;
	}
	h1.slider_title {
	    margin-left: 80px;
	    font-size: 40px;
	    max-width: 500px;
	}
	.slider_subtitle {
	    color: white;
	    margin-left: 80px;
	}				
	.main-logo img {
		max-width: 50px !important;
	    margin-top: -18px !important;
	}

}











@media only screen and (max-width: 480px) {
	h1.slider_title {
	    margin-left: 30px;
	    font-size: 30px;
	    line-height: 1.2em;
	    max-width: auto !important;
	}
	.slider_subtitle {
	    margin-left: 30px;
	    font-size: 28px;
	    max-width: auto;
	    line-height: 1em;
	}	
	.main-logo img {
	    max-width: 30px !important;
	    margin-top: -18px !important;
	}
	.card {
	    height: 210px;
	}
	.card_details p {
		padding: 0 10px;
	    font-size: 12px;
	    line-height: 1.1em;
	}
	.card_details h2 {
	    font-size: 14px;
	}
	a.btn.btn--primary.type--uppercase.btn--xs {
	    width: 80%;
	}
	a button.btn__text {
	    margin-top: 0;
	    height: auto !important;
	}		
	.bar__module a.dropdown__trigger {
	    font-size: 16px;
	    width: 100% !important;
	    display: inline-block;
	}


	.slider_carousel .flickity-slider {
	    display: contents;
	}
	li.col-md-3.col-6.slide {
	    position: relative !important;
	    left: unset !important;
	    margin: 0 auto;
	    margin-bottom: 30px;
	}
	.slider_carousel	.flickity-viewport {
	    height: auto  !important;
	}
}









@media only screen and (max-width: 360px) {
	h1.slider_title {
	    margin-left: 20px;
	    font-size: 24px;
	}
	.slider_subtitle {
	    margin-left: 20px;
	    font-size: 21px;
	}	
	.main-logo img {
	    max-width: 28px !important;
	    margin-top: -22px !important;
	}
	.card {
	    height: 130px;
	}
	.card_details p {
		padding: 0 10px;
	    font-size: 12px;
	    line-height: 1.1em;
	}
	.card_details h2 {
	    font-size: 14px;
	}
	a.btn.btn--primary.type--uppercase.btn--xs {
	    width: 80%;
	}
	a button.btn__text {
	    margin-top: 0;
	    height: auto !important;
	}		
}
