.flickity-enabled {
position: relative;
}
.flickity-enabled:focus { outline: none; }
.flickity-viewport {
overflow: hidden;
position: relative;
height: 100%;
}
.flickity-slider {
position: absolute;
width: 100%;
height: 100%;
} .flickity-enabled.is-draggable {
-webkit-tap-highlight-color: transparent;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.flickity-enabled.is-draggable .flickity-viewport {
cursor: move;
cursor: -webkit-grab;
cursor: grab;
}
.flickity-enabled.is-draggable .flickity-viewport.is-pointer-down {
cursor: -webkit-grabbing;
cursor: grabbing;
} .flickity-button {
position: absolute;
background: hsla(0, 0%, 100%, 0.75);
border: none;
color: #333;
}
.flickity-button:hover {
background: white;
cursor: pointer;
}
.flickity-button:focus {
outline: none;
box-shadow: 0 0 0 5px #19F;
}
.flickity-button:active {
opacity: 0.6;
}
.flickity-button:disabled {
opacity: 0.3;
cursor: auto; pointer-events: none;
}
.flickity-button-icon {
fill: currentColor;
} .flickity-prev-next-button {
top: 50%;
width: 44px;
height: 44px;
border-radius: 50%; transform: translateY(-50%);
}
.flickity-prev-next-button.previous { left: 10px; }
.flickity-prev-next-button.next { right: 10px; } .flickity-rtl .flickity-prev-next-button.previous {
left: auto;
right: 10px;
}
.flickity-rtl .flickity-prev-next-button.next {
right: auto;
left: 10px;
}
.flickity-prev-next-button .flickity-button-icon {
position: absolute;
left: 20%;
top: 20%;
width: 60%;
height: 60%;
} .flickity-page-dots {
position: absolute;
width: 100%;
bottom: -25px;
padding: 0;
margin: 0;
list-style: none;
text-align: center;
line-height: 1;
}
.flickity-rtl .flickity-page-dots { direction: rtl; }
.flickity-page-dots .dot {
display: inline-block;
width: 10px;
height: 10px;
margin: 0 8px;
background: #333;
border-radius: 50%;
opacity: 0.25;
cursor: pointer;
}
.flickity-page-dots .dot.is-selected {
opacity: 1;
}* {
margin: 0;
padding: 0; }
.background-cover, .card__image {
background-position: center;
background-size: cover;
background-repeat: no-repeat;
}
.flex-column, .card__title, .card__content, .card__image, .card__thumbnail, .card__button--next, .card__button--previous{
display: inherit;
flex-flow: column wrap;
}
.flex-row, .card__inner {
display: flex;
flex-flow: row wrap;
}
.flex-center, .card__content, .card__button--next, .card__button--previous{
align-items: center;
justify-content: center;
}
html {
font-size: 100%;
}
.flickity-slider{transform: translateX(0%);}
.flickity-button:hover{color:#000}
.flickity-prev-next-button{top:30%}
@media (max-width: 768px){
.flickity-prev-next-button{top:-20px!important}
.flickity-prev-next-button.previous{left:unset!important;right:50px!important}
.flickity-prev-next-button.next{right:0px!important}
}
.card__inner {
width: 100%; }
.card-inner h6{font-weight:bold;margin-top:10px}
@media (min-width: 80em) {
.card__inner {
flex-wrap: nowrap; }
}
.card__button--previous {
padding: 0 0.5em;
}
@media (min-width: 37.5em) {
.card__button--previous {
padding: 0 0.05em;
}
}
.card__button--previous:hover {
cursor: pointer;
}
.card__button--previous .card__icon--previous {
display: inline-block;
width: 1.75em;
height: 1.75em;
text-align: center;
border: 0.1em solid red;
border-radius: 50%;
}
.card__button--previous .card__icon--previous:after {
content: "";
display: inline-block;
margin-top: 0.1em;
margin-right: -0.2em;
width: 0.4em;
height: 0.4em;
border-top: 0.1em solid red;
border-right: 0.1em solid red;
transform: rotate(-135deg);
}
@media (min-width: 37.5em) {
.card__button--previous .card__icon--previous {
display: inline-block;
width: 1.75em;
height: 1.75em;
text-align: center;
border: 0.1em solid red;
border-radius: 50%;
width: 2em;
height: 2em;
}
.card__button--previous .card__icon--previous:after {
content: "";
display: inline-block;
margin-top: 0.55em;
margin-right: -0.2em;
width: 0.4em;
height: 0.4em;
border-top: 0.1em solid red;
border-right: 0.1em solid red;
transform: rotate(-135deg);
}
}
@media (min-width: 80em) {
.card__button--previous .card__icon--previous {
display: inline-block;
width: 1.75em;
height: 1.75em;
text-align: center;
border: 0.1em solid red;
border-radius: 50%;
width: 2.5em;
height: 2.5em;
}
.card__button--previous .card__icon--previous:after {
content: "";
display: inline-block;
margin-top: 0.75em;
margin-right: -0.2em;
width: 0.4em;
height: 0.4em;
border-top: 0.1em solid red;
border-right: 0.1em solid red;
transform: rotate(-135deg);
}
}
@media (min-width: 37.5em) {
.card__button--previous .card__icon--previous:after {
width: 0.5em;
height: 0.5em;
}
}
@media (min-width: 80em) {
.card__button--previous .card__icon--previous:after {
width: 0.6em;
height: 0.6em;
}
}
.card__button--next {
padding: 0 0.05em;
}
.card__button--next:hover {
cursor: pointer;
}
@media (min-width: 37.5em) {
.card__button--next {
order: 3;
}
}
.card__button--next .card__icon--next {
display: inline-block;
width: 1.75em;
height: 1.75em;
text-align: center;
border: 0.1em solid red;
border-radius: 50%;
}
.card__button--next .card__icon--next:after {
content: "";
display: inline-block;
margin-top: 0.5em;
margin-right: 0.15em;
width: 0.4em;
height: 0.4em;
border-top: 0.1em solid red;
border-right: 0.1em solid red;
transform: rotate(45deg);
}
@media (min-width: 37.5em) {
.card__button--next .card__icon--next {
display: inline-block;
width: 1.75em;
height: 1.75em;
text-align: center;
border: 0.1em solid red;
border-radius: 50%;
width: 2em;
height: 2em;
}
.card__button--next .card__icon--next:after {
content: "";
display: inline-block;
margin-top: 0.6em;
margin-right: 0.25em;
width: 0.4em;
height: 0.4em;
border-top: 0.1em solid red;
border-right: 0.1em solid red;
transform: rotate(45deg);
}
}
@media (min-width: 80em) {
.card__button--next .card__icon--next {
display: inline-block;
width: 1.75em;
height: 1.75em;
text-align: center;
border: 0.1em solid red;
border-radius: 50%;
width: 2.5em;
height: 2.5em;
}
.card__button--next .card__icon--next:after {
content: "";
display: inline-block;
margin-top: 0.75em;
margin-right: 0.25em;
width: 0.4em;
height: 0.4em;
border-top: 0.1em solid red;
border-right: 0.1em solid red;
transform: rotate(45deg);
}
}
@media (min-width: 37.5em) {
.card__button--next .card__icon--next:after {
width: 0.5em;
height: 0.5em;
}
}
@media (min-width: 80em) {
.card__button--next .card__icon--next:after {
width: 0.6em;
height: 0.6em;
}
}
.card__carousel {
width: 100%;
padding: 1em 0;
transition: all 0.5s ease;
}
@media (min-width: 37.5em) {
.card__carousel {
flex: 1 1 auto;
order: 2;
width: 10%;
}
}
.card__thumbnail {
margin-right: 0.5em;
width: 50%;
overflow: hidden;
background: #f7f4cf;
border-radius: 0.5em;
}
@media (min-width: 37.5em) {
.card__thumbnail {
width: 30%;
}
}
@media (min-width: 80em) {
.card__thumbnail {
width: 30%;
}
}
.card__image {
position: relative;
width: 100%;
border-top-left-radius: 0.5em;
border-top-right-radius: 0.5em;
}
.card__image:before {
content: "";
display: block;
padding-top: 56.25%;
}
.card__content {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
padding: 0.5em;
}
.card__content p {
font-size: 1.25rem;
color: #fff;
}
.card__title {
width: 100%;
height: 3em;
padding: 0.5em;
font-size: 0.85rem;
font-weight: 600;
line-height: 2;
text-align: center;
text-transform: uppercase;
overflow: hidden;
}
.card-inner {
padding: 0 20px 20px 20px;
}
.card-inner p {
margin: 10px 0 20px 0;
}