body {
    font-family: sans-serif;
}

.image-preview {
    background: url('') no-repeat center center;
    background-size: contain;
}

.product-meta {
    font-size: .7em;
}

.product-list-header {
    background: #333333;
    grid-area: header;
}

.product-list-content {
    background: #666666;
    grid-area: main;
}

.product-list-thumbnail {
    min-height: 120px;
    line-height: 120px;
    font-size: .8em;
    text-align: center;
    background: #333333;
    grid-area: prod-img;
    margin: auto;
}

.product-list-thumbnail img {
    height: 120px;
    width: 120px;
    object-fit: contain;
}

.product-list-footer {
    color: blue;
    background: #dedede;
    grid-area: footer;
    direction: rtl;
}

.product-list-footer a:link { color: #ffffff; text-decoration: none; }
.product-list-footer a:visited { color: #ffffff; text-decoration: none; }
.product-list-footer a:hover { color: #ffffff; text-decoration: none; }
.product-list-footer a:active { color: #ffffff; text-decoration: none; }

.product-container {
    display: grid;
    color: #ffffff;
    width: 90%;
    background: #333333;
    border: 3px dotted red;
    margin-bottom: 3px;
    grid-template-columns: 120px auto auto auto;
    grid-template-rows: auto;
    grid-template-areas: 
      "prod-img header header header"
      "prod-img main main main"
      "prod-img main main main"
      "prod-img footer footer footer"
}

.product-list-attribute {
    display: inline-block;
    margin: 5px 10px 5px 0px;
    color: #000000;
    background: lightgreen;
    padding: 2px;
}

.product-list-attribute-value {
    font-weight: bold;
}

.product-list-footer-button {
    display: inline-block;
    padding: 5px 0px 0px 0px;
    margin: 3px 5px 3px 5px;
    min-width: 100px;
    text-align: center;
    color: #ffffff; 
    border-radius: 15px;
    cursor: pointer;
}

.selection-editor-header {
    width: auto;
    background: darkslategrey;
    color: #ffffff;
    padding: 5px 0px 5px 5px;
}

.selection-option-content {
    display: inline-block;
    width: 500px;
}

.selection-editor-footer {
    position: absolute;
    bottom: 3;
    left: 3;
}

.selection-input-box {
    display: inline-block;
    width: auto;
}

.selection-input {
    width: 500px;
    background-color: lightcyan;

}

.selection-controls {
    display: inline-block;
    direction: rtl;
}

.upload-icon{
    display: table;
    position: absolute;
    top: 40%;
    left: 40%;
}

.image-upload-preview-box{
    position: relative;
    display: inline-block;
    color: #999999;
    background-color: #ffffff;
    width: 100%;
    max-width: 100%;
    padding-bottom: 100%;
    text-align: center;
}

.label-center{
    width: 100%;
    text-align: center;
}

.file-input {
	width: 0.1px;
	height: 0.1px;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	z-index: -1;
}

.file-input + label {
    font-size: 1.25em;
    font-weight: 700;
    color: #7cb342;
    background: transparent;
    border-radius: 100px;
    padding: 10px 20px;
    font-size: 16px;
    letter-spacing: 0.3px;
    text-align: center;
    display: inline-block;
    cursor: pointer;
}

.delete-lozenge-small {
    border: 2px solid #E1455C;
    padding: 2px 4px; 
    border-radius: 10px; 
    font-size: .9em;
}

.delete-lozenge-large {
    background: #E1455C !important;
    border: 1px solid #E1455C !important;
}

.purge-image-grid {
    width: 100%;
    margin: 10px 20px 10px 0px;
    padding: 10px;
    border: 5px solid #E1455C;
    border-radius: 15px;
}

.purge-button {
    background: #E1455C;
    color: #ffffff;
    font-size: 1.5em;
    padding: 10px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    margin: 0 auto;
    width: 150px;
    text-align: center;
}

.underlay-collapsible {
    background-color: #777;
    color: white;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    margin: 0px 118px;
}

.underlay-active, .underlay-collapsible:hover {
    background-color: #555;
}

.underlay-collapsible-content {
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    background-color: #ffffff;
    margin-top: 10px;
  }

  button:focus {outline:0;}