.hidden {
	display: none !important;
	visibility: hidden !important;
}

.tawcvs-swatches {
	overflow: hidden;
	padding: 5px;
}

.tawcvs-swatches .swatch {
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	display: inline-block;
	width: 30px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	margin-right: 15px;
	cursor: pointer;
	border: 1px solid transparent;
	position: relative;
	opacity: 0.5;
}

.tawcvs-swatches .swatch.selected {
	-webkit-box-shadow: 0 0 5px;
	-moz-box-shadow: 0 0 5px;
	box-shadow: 0 0 5px;
	border-color: #999;
	opacity: 1;
}

.tawcvs-swatches .swatch.disabled {
	opacity: 0.1;
}

.tawcvs-swatches .swatch-color {
	text-indent: -9999px;
}

.tawcvs-swatches .swatch-color.selected {
	border-color: transparent;
}

.tawcvs-swatches .swatch-color.selected:before {
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	transform: rotate(45deg);
	content: "";
	width: 6px;
	height: 10px;
	display: block;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	position: absolute;
	top: 8px;
	left: 11px;
}

.tawcvs-swatches .swatch-label {
	background-color: #f1f1f1;
}

.tawcvs-swatches .swatch-image {
	overflow: hidden;
}

span.familia {
    vertical-align: top;
    padding-right: 10px;
    width: 150px;
    display: inline-block;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 100; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 600px;
}

/* The Close Button */
.modal .close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}


.modal .close:hover,
.modal .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal .grid {
	display: grid;
	grid-gap: 1rem;
 	grid-template-columns: repeat(4, 1fr);
}

@media only screen and (max-width: 500px) {
	.modal .grid {
		display: grid;
		grid-gap: 1rem;
 		grid-template-columns: repeat(3, 1fr);
	}
}

.modal .grid .swatch {
	border-radius: 0;
	width: 100%;
	height: 100%;
	opacity: 1;
}