/**-------------colors-------------*/
/*
/*#000000; /*black*/
/*#ffffff; /*white*/
/*#ececec; /*lightest grey (usually for borders)*/
/*#a8e0f9; /*light blue*/
/*#4eb0d9; /*med blue*/
/*#258486; /*blue-green*/
/*#015a8d; /*dark blue*/
/*#173258; /*darkest blue*/

/*#025442; /*Caribbean green*/
/*#035dab; /*Caribbean blue*/
/*#05aff2; /*Caribbean turquoise*/
/*#04e0a6; /*Caribbean seafoam*/
/*#fff4b1; /*Caribbean yellow*/

/*:root {
/*--primary: #05aff2; /*Caribbean turquoise*/
/*--primary-dark: #035878; /*darker turquoise*/
/*} /*primary color is set in theme settings, but primary dark is not specified*/

.four-flips {
    width: 100%;
}

.flip-whole {
    display: inline-block;
    height: auto;
    width: 24%;
    aspect-ratio: 1;
    padding: 0.5%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.flip-card {
	position: relative;
	width: 100%;
	height: 100%;
	text-align: center;
	transition: transform 0.8s;
	transform-style: preserve-3d;
	box-shadow: 2px 2px 5px #00000075;
}

.flip-card h4 {
	font-size: 1.2vw;
    margin-bottom: 10px;
    font-weight: bold;
}

.flip-card p {
	font-size: 1vw;
}

.flip-whole:hover .flip-card {
	transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
	position: absolute;
	width: 100%;
	height: 100%;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.flip-card-front {
	background-color: #000000; /*black*/
	color: #000000; /*black*/
}

.flip-card-front img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	object-position: 50% 25%;
}

.flip-card-back {
	background-color: #035dab50; /*Caribbean blue, 50%*/
	color: black;
	transform: rotateY(180deg);
	align-content: center;
}

.flip-card-back .description {
  font-size: 1.29vw;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
}

.flip-button {
    background-color: #025442; /*Caribbean green*/
    font-weight: 600; /*bold*/
    padding: 10px 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 20px;
}

a.flip-button, a.flip-button:visited {
    color: white;
    text-decoration: unset;
}

a.flip-button:hover {
    color: #fff4b1; /*Caribbean yellow*/
    text-decoration: underline solid #fff4b1 3px; /*Caribbean yellow*/
}

.item-buttons {
    margin-top: 20px;
}