html, body {
    font-family: avenir, helvetica, arial;
    font-weight: normal;
    color: #444444;
    background: #F7F7F7;
}

h1 {
    text-align: center;
}

a {
	text-decoration: none;
    color: #1a0dab;
}
a:visited {
    color: #1a0dab;
  }
a:hover {
    color: blue;
}
a:active {
    color: #1a0dab;
}

.bold-link {
    font-weight: bold;
    color: #1a0dab;
}

.invisible {
    display: none;
}
.visible {
    display: flex;
}
.visible-block {
    display: block;
}

.header  {
	width: 100%;
	height: 60px;
	background: #FFFFFF;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1000;
	/* box-shadow: 0 4px 5px 0 rgba(0,0,0,0.4); */
    border-bottom: 1px solid #CCCCCC;
}
.header a {
    text-transform: uppercase;
}

.footer  {
    padding: 0.5em;
	background: #FFFFFF;
    border-top: 1px solid #CCCCCC;
    text-align: center;
}
    
.footer .item  {
    display: inline-block;
    vertical-align: middle;
    padding-left: 1em;
    padding-right: 1em;
}

.footer ul {
/*    width: 100%;*/
}

.footer ul li {
    display: inline;
    margin: 0.5em;
    border-right: 1px solid #aaaaaa;
}

.footer ul li:last-child {
    border: none;
}

.footer  a {
    margin: 2em;
    color: #aaaaaa;
}

.footer a:hover {
    color: #aaaaaa;
    text-decoration: underline;
}

.div-left {
    float: left;
    padding-left: 0.25em;
    padding-right: 0.25em;
}
.div-right {
    float: right;
    padding-left: 0.25em;
    padding-right: 0.25em;
}

.navbar {
	position: relative;
	display: inline-block;
	top: 10px;
    width: 100%;
}

.navbar .item {
	display: inline-block;
	vertical-align: middle;
    margin: 0.5em;
	padding-left: 1em;
	padding-right: 1em;
}
.navbar .cart {
    float: right;
    margin: 0.5em;
    /* padding-top: 0.5em; */
}

.cart-item-count {
    -webkit-border-radius: 9px;
    -moz-border-radius: 9px;
    border-radius: 9px;
    padding: 2px 5px 2px 5px;
    vertical-align: top;
    margin-left: -10px;
}

.text-imp {
    font-size: 100% !important;
    font-weight: bold !important;
}
.text-notsoimp {
    font-size: 80% !important;
    opacity: .7;
}

.cart-message {
    background-color: #F28C28 !important;
    color: #fff !important;
    font-size: 12px;
}

.sold-message {
    display: inline-block !important;
    padding: 0.5em 0.25em 0.5em 0.25em !important; 
    background-color: #F28C28 !important;
    color: #fff !important;
    font-size: 12px !important;
    text-align: center !important;
}

.screen {
    margin-top: 2em;
    padding: 1em;
    min-height: 800px;
}

.home-page {
    margin: 2em;
    padding: 1em;
    text-align: center;
    font-size: 120%;
}

.panel-msg {
    margin: 1em;
    padding: 1em;
    text-align: left;
}

.panel {
    padding: 1em;
}

.panel-light {
    background: #FdFdFd;
}

.panel-center {
    display: inline-block;
}

.panel-success {
    background: #cdffc8;
    color: #0e5307;
}
.panel-error {
    background: #f2dede;
    color: #80160b;
}

.panel-transparent {
    background-color: transparent !important;
}

.container {
    display: block;
    width: 50%;
    margin: auto;
}

.panel-text {
    display: block;
    border: 1px solid #CCCCCC;
}

.row-full {
    width: 96% !important;
    margin-top: 1.0em;
}

.share-bar {
    border: 1px solid #dddddd;
}

.cell-half {
    width: 47% !important;
    display: inline-block;
    padding: 0.25em;
}

.cell-compact {
    display: inline-block;
    padding: 0.25em;
}
.cell-compact-fbshare {
    margin-bottom: 0.25em;
}
.text-center {
    text-align: center;
}
.text-left {
    text-align: left;
}
.text-right {
    text-align: right;
}

.catalog-row {
/* border: 1px dotted blue;     */
    display: flex;
    margin: 1.0em;
}
.catalog-row-item {
    flex: 1;
    vertical-align: top;
    background: #FFFFFF;
    margin: 0.5em;
    padding: 0.5em;
}
.catalog-row-item-img {
    text-align: center;
    padding: 0.25em;
}
.catalog-row-item-title {
    text-align: left;
    font-size: 120%;
    padding: 0.25em;
}
.catalog-row-item-title h2 {
    font-size: 1.0625rem;
    font-weight: normal;
    line-height: 1.2em;
    margin-bottom: 0.3em;
}
.catalog-row-item-title h3 {
    font-weight: normal;
}

.catalog-row-text-notsoimp {
    font-size: 80%;
    padding: 0.25em;
}
.catalog-row-item-description {
    text-align: left;
    padding: 0.25em;
}
.catalog-row-item-attribute {
    display: inline-block;
    text-align: left;
    width: 45%;
    font-size: 80%;
    padding: 0.25em;
}
.catalog-row-item-price {
    display: inline-block;
    text-align: right;
    font-size: 150%;
    width: 45%;
    padding: 0.25em;
}
.catalog-item-detail {
    display: block;
    margin: 1.0em;
    padding: 1.0em;
    background: #FFFFFF;
}
.catalog-item-detail-medium {
    text-align: center;
}
.catalog-item-detail-by {
    text-align: center;
}
.catalog-item-detail-by h2 {
    display: inline;
}

.catalog-item-detail-img {
    display: flex;
    /* height: 100%; */
}

.catalog-item-detail-img img {
    max-width: 100%;
    max-height: 80vh;
    margin: auto;
}

.cart-row {
    display: block;
    margin: auto;
    width: 50%;
}

.cart-row-item {
    border-bottom: 1px solid #CCCCCC;
}

#toastMessage {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #333333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 30px;
}
#toastMessage.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

.button-bar {
    display: block;
    margin-top: 0.5em;
    padding: 0.5em 0.25em 0.5em 0.25em;
    /* border-top: 1px solid #CCCCCC;
    border-bottom: 1px solid #CCCCCC; */
}
.button-bar-cart {
    border: none;
}

.button-basic {
    background-color: #CCC;
    border: 1px solid #CCC;
    border-radius: 8px;
    border-style: none;
    box-sizing: border-box;
    color: #555;
    cursor: pointer;
    display: inline-block;
    font-family: "Haas Grot Text R Web", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    height: 40px;
    line-height: 20px;
    padding: 6px 16px;
    list-style: none;
    margin: 0;
    outline: none;
    position: relative;
    text-align: center;
    text-decoration: none;
    transition: color 100ms;
    vertical-align: baseline;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.button-basic:hover,
.button-basic:focus {
    background-color: #EEE;
    color: #333;
    border: 1px solid #333;
}
button:disabled,
button-add:disabled,
button[disabled]{
  background-color: #cccccc;
  color: #666666;
}

.button-add {
    background-color: #2ea44f;
    border: 1px solid #2ea44f;
    color: #FFFFFF;
}
  
.button-add:hover,
.button-add:focus {
    background-color: #2c974b;
    color: #FFFFFF;
}

.button-remove {
    background-color: #EA4C89;
    border: 1px solid #EA4C89;
    color: #FFFFFF;
}
  
.button-remove:hover,
.button-remove:focus {
    background-color: #F082AC;
    color: #FFFFFF;
}

.form {
	width: 80%;
	display: inline-block;
	padding: 1em;
	box-shadow: 0 0px 2px 0 rgba(0,0,0,0.14), 0 0px 2px 0 rgba(0,0,0,0.12), 0 0px 2px -1px rgba(0,0,0,0.2);
}

input {
	border: none;
	border-bottom: 2px solid #CCCCCC;
	margin-bottom: 5px;
	padding: 10px 10px 0px 0px;
	min-width: 100%;
    max-width: 100%;
	box-sizing: border-box;
	transition: all .3s linear;
    background-color: transparent;
}

input:focus {
	border-bottom: 2px solid #0000FF;
	outline: 0;
}

.input-field {
	position: relative;
	margin-top: 20px;
	margin-bottom: 10px;
}

.input-field label {
	position: absolute;
	top: calc(5% - 7px);
	left: 0;
	opacity: 0;
	transition: all .3s ease;
    font-size: 80% !important;
}

.input-field input:not(:placeholder-shown) {
	padding: 10px 10px 0px 0px;
}

.input-field input:not(:placeholder-shown) + label{
	transform: translateY(-10px);
	opacity: .7;
}

.input-field textarea:not(:placeholder-shown) {
	/* padding: 10px; */
}

.input-field textarea:not(:placeholder-shown) + label{
	transform: translateY(-15px);
	opacity: .7;
}

textarea {
	min-width: 98%;
    max-width: 98%;
    min-height: 100px;
	border: 2px solid #CCCCCC;
}

textarea:focus {
	border: 2px solid #0000FF;
	outline: 0;
}

.paypal-form {
    display: block;
    text-align: center;

}
.paypal-form input {
    min-width: auto;
}

.popup-signup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.popup-signup-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
}


.toast {
    visibility: hidden;
    width: 100%;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 0;
    /* font-size: 17px; */
    transform: translateX(-50%);
    transition: opacity 0.3s ease, visibility 0.3s ease;
    opacity: 0;
}

.toast.show {
    visibility: visible;
    opacity: 1;
}




@media (max-width: 600px) {
    body {
        margin: 0.25em;
    }
    .home-page {
        margin: 0;
        padding: 0.25em;
    }
    .navbar .item {
        padding-left: 0;
        padding-right: 0;
    }
    .screen {
        padding: 0.25em;
    }
    .container {
        display: block;
        width: auto;
    }
    .catalog-row {
        display: block;
    }
    .catalog-row-item {
        display: block;
    }
    .catalog-item-detail {
        margin: 0;
    }
    .cart-row {
        display: block;
        width: auto;
    }
    .form {
        width: 98%;
        display: block;
        padding: 0.25em;
    }
}