@import "/styles/fonts.css" screen;
@import "/styles/colors.css" screen;
@import "/styles/sandbox.css" screen;
/*@import "/styles/debug.css" screen;*/

/*
 * main.css
 */

* {
    font-family: SF-Light, -apple-system, HanleyRough-Slim, arial, verdana;
}

body {
    font-family: SF-Light, -apple-system, HanleyRough-BlockInline, arial, verdana;
}

div,
p {
    font: 1.0rem/1.5rem SF-Light, arial, verdana;
}

h1 {
    font-family: HanleyRough-Slim, SF-Light, arial, verdana;
}
.container {
    padding: 0;
}

.hanleyRough {
    font-family: HanleyRough-BlockInline, SF-Light, arial, verdana;
}

.preserveWhiteSpace p {
    white-space: pre-wrap;
}
.row {
    margin: 0;
    padding: 0;
}

.makeRoomForAlert {
    margin: 6rem 0;
}

.disabledButton {
    cursor: default !important;
    cursor: not-allowed !important;
}

.right 	{ 
    display: flex;
    justify-content: end;
}
.left	{ 
    display: flex;
    justify-content: center;
}
.center {
    display: flex;
    align-items: center;
    justify-content: center;
}
.lclear { clear: left; }
.rclear { clear: right;}
.brclear{ clear: both; }
.makeOpaque { opacity: 1.0 !important; }

.btn:focus,.btn:active,
.noOutline {
   outline: none !important;
   box-shadow: none !important;
}


/*
 * Navigation bars
 */

nav {
    width: 100%
}

.navbar-toggler-icon,
.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
    outline: none !important;
    box-shadow: none !important;
}

.navbar-collapse,
.navbar-toggler-icon {
}

.navbar {
    padding-left: 0.5rem;
}

.nav-link {
    color: var(--dark-grey) !important;
    font-variant:all-small-caps !important;
}

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

#mainNavBar {
    transition: 0.5s opacity ease;
    z-index: 20;
    position: sticky !important;
    position: -webkit-sticky !important;
    border-bottom: 1px solid var(--medium-grey9);
    background-color: rgba(255, 255, 255, 0.87) !important;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

#mainNavBar .navbar-brand {
    padding: 0;
    margin: 0;
    font: 2.0rem/3.0rem HanleyRough-SlimSerif, SF-Light, arial, verdana;
    color: var(--dark-grey) !important;
}

#mainNavBar .navbar-collapse {
    font-size: 2.0rem;
}

#burgerInsides, 
#hamburger {
}

#bag {
    top: 0;
    right: 0;
    z-index: 4;
    //position: absolute !important;
}

#cartIcon {
    margin: 8px 0;
    margin: 5px 0 11px;
}

#cartIcon svg {
    height: 40px;
    width: 40px;
}

#cartCount {
    color: var(--dark-grey) !important;
    font: 1.0rem/0.1rem SF-Light, arial, verdana;
    z-index: 5;
    padding: 0;
    margin: 0;
    position: relative;
    bottom: 25px;
}

.adminBorder {
    border: 1px solid var(--admin-color) !important;
}
.adminColor {
    color: var(--admin-color) !important;
}
.merchantColor {
    color: var(--merchant-color) !important;
}

.primaryColor {
    color: var(--primary-color);
}
.secondaryColor {
    color: var(--secondary-color);
}

.flashAlert {
    font: 1.1rem/1.5rem SF-Light, arial, verdana;
}

.loginAlert {
    font: 1.1rem/1.5rem SF-Light, arial, verdana;
    position: fixed !important;
    z-index: 3;
    width: calc(100% - 2.0rem);
}

.alert {
    padding-right: 1.25rem !important;
}
.productUpdateAlert {
    position: fixed !important;
    right: 0;
    z-index: 3;
}

.cartAlert {
    position: fixed !important;
    right: 0;
    z-index: 3;
    margin: 0 0.5rem;
}

.jumbotron {
    background-color: white;
}

/*
 * Product's merchant 
 */
.roundMerchant {
    border: 0.2rem solid white;
    border-radius: 50%;
}

.badgeOnProduct {
    position: absolute !important;
    right: 0;
    top: 0;
    z-index: 2;
    width: 20%;
    margin: 0.2rem 0.2rem  0 0;
}

.textOnProduct {
    position: absolute !important;
    bottom:0;
    z-index: 2;
}
.zipper {
    position: absolute !important;
    border: 1px solid #008F00;
    background: white;
    border-radius: 50%;
    border: 2px solid #008F00;
    left: 0.2rem;
    bottom: 0.2rem;
    z-index: 2;
    transform: rotateY(180deg);
}

#logos {
}

h4 {
}

#bigWriting {
    color: var(--medium-grey5);
    padding: 3rem 0 2rem;
    font: 4.0rem/4.0rem SF-Light, HanleyRough-Slim, arial, verdana;
}

#mainLogo {
    color: var(--medium-grey5);
    margin: 0;
    font: 2.4rem/3.0rem HanleyRough-Slim, papyrus, SF-Light, arial, verdana;
}

#subLogo {
    color: var(--theme-color);
    font: 1.2rem/2.0rem HanleyRough-SlimSerif, SF-Light, arial, verdana;
    margin: 0 auto;
}

#subWriting {
    color: var(--theme-color);
    font: 2.0rem/2.5rem HanleyRough-Slim, SF-Light, arial, verdana;
    margin: 2rem auto;
}

#thankyou {
    font: 1.5rem/1.0rem SF-Light, arial, verdana;
    text-align: center;
    margin: 1rem auto;
    line-height: 2.0rem;
}

.styled {
    color: var(--theme-color);
    font: 1.8rem/2.5rem HanleyRough-Slim, SF-Light, arial, verdana;
}
.grey {
    font: 2.0rem/2.5rem HanleyRough-SlimSerif, SF-Light, arial, verdana;
}
h4.archived {
    font-family: HanleyRough-BlockSlim, SF-Light, arial, verdana;
    color: var(--unavailable);
}

#primarySection {
}

#version {
    font: 1.0rem/1.5rem HanleyRough-BlockSlim, SF-Light, arial, verdana;
    color: yellow;
}

/*
 * User profile and orders
 */
#pastOrderHeader {
    background: var(--light-grey) !important;
    border: 0.1rem dashed var(--border-color) !important;
    opacity: 0.5;
}

.orderInfo {
    color: var(--medium-grey5);
    font: 1.2rem/1.5rem HanleyRough-BlockSlim, SF-Light, arial, verdana;
}
.orderPending {
    color: var(--theme-color);
    font-style: italic;
}


/*
 *
 */
a:link,
a:visited,
a:focus {
    text-decoration: none;
    color: var(--secondary-color);
}
a:hover,
a:focus {
    color: var(--link-hover-color);
}

#mainNavBar a:link,
#mainNavBar a:visited,
#mainNavBar a:focus {
    //color: white;
}

/*
 * merchants
 */

.merchantRow {
    justify-content: center;
    padding: 0;
}
.productImage {
    background-repeat: no-repeat;
    background-origin: padding-box;
    background-clip: content-box;//padding-box;
    background-position: center;
    background-size: cover;
}

.merchantCard {
    border: 1px solid var(--card-border);
    background-color: var(--card-background);
    border-bottom: 0;
}
.merchantBioCard {
    border: 1px solid var(--card-border);
    background-color: var(--card-background);
    border-top: 0;
}
.merchantImage {
    width: 100%;
    padding: 1rem;
}

.merchantImage img {
    border-radius: 50%;
}

.merchantName a,
.merchantName {
    margin: 1rem 0 2rem;
    font: 1.3rem/1.5rem HanleyRough-SlimSerif, SF-Light, arial, verdana;
    color: var(--theme-color);
}

.merchantCard {
    border-radius: 5px;
    border: 1px solid var(--card-border);
    background-color: transparent;
    margin: 0.75rem;
    padding: 0.5rem;
}

.merchantCard .merchantName {
    text-align: center;
    color: var(--theme-color);
}

input[name="avatarUpload"] {
  //color: transparent;
  //overflow:hidden;
}

.hide {
    display: none;
}

.hideFilename {
  color: transparent;
}

/*
 * Products
 */

#datepicker {
}

.transpBG {
    background: transparent !important;
    background: white !important;
}

.blurredCol {
    border-bottom: 1px solid var(--medium-grey9);
    background-color: rgba(255, 255, 255, 0.87) !important;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    padding-bottom: 1.0rem !important;
    padding-top: 1.0rem !important;
} 

.blurredRow {
    z-index: 10 !important;
    top: 7.0rem;
}

.productEditCard {
    background-color: var(--card-background);
    border: 1px solid var(--medium-grey9);
    border-radius: 8px;
    margin: 2.0rem 0 !important;
    padding: 0.8rem !important;
}

#card0 {
    border-radius: 0;
    border-top: 0;
    margin: 0 0 0.8rem 0 !important;
}

.productCard {
}
.priceCard {
    border: 1px solid var(--card-border);
    background-color: var(--card-background);
    border-top: 0;
}
.productInfo {
}
.productImage img {
    width: 100%;
    padding: 1rem;
    //border-radius: 5px;
    //border: 1px solid var(--light-grey) !important;
}
.productImage {
    //background: #000;	// This is the fade-to color...
}
.produceImageUnavailable {
    opacity: 30%;
}
label.textUnavailable, 
.textUnavailable {
    color: var(--unavailable);
    font: 1.0rem/1.2rem SF-DISP-THIN, SF-Light, SF-DISP-THIN, SF-Light, arial, verdana;
    font-style: italic;
}
.unit {
    font-size: 50%;
}
.inventory {
}

.productThumbnail {
    width: 100%;
}
.userThumbnail {
    border-radius: 50%;
    width: 80%;
}

.dashedBorder {
    border: 0.1rem dashed var(--border-color);
}

.productDivider {
    border: 0.1rem solid var(--medium-greyc);
}

.availableOn {
    text-transform: capitalize;
    font: 0.9rem/1.2rem SF-DISP-THIN, SF-Light, SF-DISP-THIN, SF-Light, arial, verdana;
} 

.price {
    font: 1.0rem/1.2rem SF-DISP-THIN, SF-Light, SF-DISP-THIN, SF-Light, arial, verdana;
}

.productName a,
p.productName a,
.productName {
    text-transform: capitalize;
    font-variant:all-small-caps !important;
    font: 1.0rem/1.5rem SF-Light, SF-DISP-THIN, SF-Light, arial, verdana;
}

.merchantName a:hover,
.merchantName a:focus,
.productName a:hover,
.productName a:focus {
    color: var(--link-hover-color);
}

.ingredientsTitle {
    font: 1.2rem/1.6rem HanleyRough-BlockSlim, SF-Light, arial, verdana;
}

.ingredients {
    border-radius: 5px;
    border: 1px solid var(--theme-color);
    background-color: var(--card-background);
    padding: 0.5rem;
    margin: 0.5rem 0 2.0rem 0;
}

.ingredientsList {
    font: 0.8rem/0.5rem SF-Light, arial, verdana;
}

div .ingredients {
}

.debug {
    border: 2px solid red;
    background: rgba(253, 245, 246, 255) !important;
}

.show img {
    display: flex;
    height: 100%;
    width: auto;
    justify-content: center;
    align-items: center;
}

/*
 * Cart, orders and checkout
 */

.addToCartFormButton{
    position: absolute !important;
    right: 0.0rem;
    bottom: 0.4rem;
    z-index: 3;
    //opacity: 0%;
}
.addToCartSVGButton {
    position: absolute !important;
    right: 0.7rem;
    bottom: 0.3rem;
    z-index: 2;
    transform: rotate(45deg) scale(1.5);;
    border-radius: 50%
}
.editSVGButton {
    position: absolute !important;
    right: 0.4rem;
    bottom: 0.0rem;
    z-index: 2;
    transform: scale(1.0);;
}

.addToCartSVGButton:hover,
.addToCartSVGButton a:hover,
.addToCartSVGButton a:focus,
.addToCartSVGButton a:hover,
.addToCartSVGButton a:focus {
    background: var(--link-hover-color);
    background: white;
}


.addToCart {
    padding: 0;
    margin: 8px 0;
}

.addToCartCount {
    margin-right: 8px;
    width: 60px !important;
    text-align: left;
}
.addToCartButton {
    margin-right: 8px;
    width: auto;
    text-align: center;
    background-color: #6c757d;
    border: 1px solid #6c757d;
    color: white;
}

.createdAt {
    font: 0.8rem/1.0rem SF-Light, arial, verdana;
    color: #6f6f6f;
    font-style: italic;
}

.deleteForm {
    display: inline;
}

.deleteButton,
.editButton {
    color: #6f6f6f;
    display: inline;
}

textarea {
    width: 100%;
    height: 100px;
    autocomplete: on;
    spellcheck: true;
}

textarea.housekeeping {
    autocomplete: off;
}

/*
 * SignUp and siteMap 
 */

.bottom {
    color: #afafaf;
    background: var(--dark-grey);
}

.data {
    color: #6f6f6f;
    font: 0.90rem/0.5em SF-Light, arial, verdana;
    text-align: center;
}

.bottomSocial .socialMedia {
    justify-content: center;
}
.bottomSocial .socialMedia a{
    color: #6f6f6f;
}

.wide {
    width: 70%;
}

#footer {
    width: 100%;
    clear: both;
    background-color: #f8f9faff;
    font: 0.50rem/1.0rem SF-Light, arial, verdana;
    border-top: 1px solid #6f6f6f;
    margin: 0;
    padding: 10px;
}

#copyright {
    font: 0.70rem/1.0rem SF-Light, arial, verdana;
}

@media (max-width:1000px) {
    .merchant {
	font: 1.6em/1.0em SF-Light, arial, verdana;
    }
}

/*
 * beta badge
 */

@-webkit-keyframes poofScale
{
    0%          {transform: scale(0.00); }
    10%         {transform: scale(0.80); }
    20%         {transform: scale(1.10); }
    30%         {transform: scale(1.05); }
    40%         {transform: scale(0.98); }
    60%         {transform: scale(1.03); }
    75%         {transform: scale(0.99); }
    90%         {transform: scale(1.01); }
    100%        {transform: scale(1.00); }
}

@-webkit-keyframes poof
{
    0%          {transform: translate(0, 0) scale(1.0); opacity: 0.0;}
    22%         {transform: translate(70px, 40px) scale(1.6); opacity: 1.0;}
    99%         {transform: translate(90px, 60px) scale(1.9); opacity: 0;	 }
    100%        {transform: translate(0, 0) scale(1.0); opacity: 0;	 }
}

.toot {
    position: absolute !important;
    position: fixed;
    margin: 0;
    padding: 0;
    right: 0;
    bottom: 0;
    width: 16rem;
}

@-webkit-keyframes superboink
{
    0%          {-webkit-transform: scale(0.00); }
    6%          {-webkit-transform: scale(2.00); }
    10%         {-webkit-transform: scale(0.80); }
    14%         {-webkit-transform: scale(1.20); }
    18%         {-webkit-transform: scale(0.90); }
    22%         {-webkit-transform: scale(1.10); }
    26%         {-webkit-transform: scale(0.95); }
    30%         {-webkit-transform: scale(1.05); }
    34%         {-webkit-transform: scale(0.98); }
    38%         {-webkit-transform: scale(1.03); }
    42%         {-webkit-transform: scale(0.99); }
    46%         {-webkit-transform: scale(1.01); }
    50%         {-webkit-transform: scale(1.00); }
    100%        {-webkit-transform: scale(1.00); }
}

.beta {
    position: absolute !important;
    position: fixed;
    margin: 0;
    padding: 0;
    right: 0;
    bottom: 0;
    width: 6rem;
    stroke: black;
    fill: #008F00;
}

.travis {
    text-align: center;
    -webkit-animation-iteration-count: 1;
    -webkit-animation-direction: normal;
    -webkit-animation-play-state: running;
    -webkit-animation-timing-function: linear;
    -webkit-animation-fill-mode: forwards;
    -webkit-animation-delay: 0s;
    -webkit-animation-duration: 3s;
    -webkit-transform: scale(0.0);
    -webkit-animation-name: superboink;
}

.t-rex {
    z-index: 3;
    position: relative !important;
    font: 3.0rem/1.0rem HanleyRough-BlockInline;
}
.releaseNumber {
    z-index: 0;
    position: absolute !important;
    margin: 0;
    padding: 0;
    right: 5.0rem;
    bottom: 0.5rem;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    border: 1px solid #008F00;
    background: yellow;
    /*
    -webkit-animation-iteration-count: 1;
    -webkit-animation-direction: normal;
    -webkit-animation-play-state: running;
    -webkit-animation-timing-function: linear;
    -webkit-animation-fill-mode: forwards;
    -webkit-animation-delay: 0s;
    -webkit-animation-duration: 3s;
    -webkit-transform: scale(0.0);
    -webkit-animation-name: superboink;
    */
}
.badgeText {
    z-index: 0;
    margin: 0;
    padding: 0;
    margin-top: 0.9rem;
    font-size: 1.1rem;
    line-height: 1.0rem;
    transform: rotate(-20deg);
    color: var(--medium-grey3);
}

.stripeLogo {
    border-radius: 5px;
    border: 1px solid var(--stripe-blue);
}

/*
 * Review & rating
 */
.starColor {
    color: var(--star-color);
}
.rating {
    color: var(--star-color);
    font-size: 1.0rem;
}
#starInput {
    height: 0;
    visibility: hidden;
}
#starRow {
    transform: scale(0.5) translateX(-50%);	// smaller and aligned to the left
    padding: 0;
    margin: 0;
    width: 100%;
}

.ratingToot {
    display: inline-block;
    cursor: pointer;
    padding: 0;
    margin: 0;
    margin-right: 0.5rem;
    width: 64px !important;
    height: 64px !important;
    background-image: url("/assets/ratingDisabled.png");
    color: transarent;
    border-radius: 50%;
}

.tootEnabled {
    opacity: 60%;
    //background-color: var(--theme-color);
    background-color: transparent;
    background-image: url("/assets/ratingTranspEnabled.png");
}

.tootHalfEnabled {
    opacity: 60%;
    width: 32px !important;
    height: 64px !important;
    border-radius: 0;
    margin-right:0;
    background-color: transparent;
    background-image: url("/assets/ratingTranspHalfEnabled.png");
    background-repeat: no-repeat;
    padding: 0;
}

.tootHalfEnabled img,
.tootHalfDisabled img {
    border: 0;
    padding: 0;
    margin: 0;
}

/*
 * FAQ page, and the
 */

.question {
    color: var(--theme-color);
    font: 1.7rem/2.5rem HanleyRough-SlimSerif, SF-Light, arial, verdana;
}
.answer {
    color: var(--medium-grey3);
    font: 1.2rem/l.5rem SF-Light, arial, verdana;
}


/* Extra small, iPhone SE */
/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .blurredRow { top: 3.4rem; }
}

/* Small devices (landscape phones, 576px and up) */
/* Medium devices (tablets, 768px and up) */
@media (min-width: 576px) and (max-width: 991.98px) {
    .blurredRow { top: 3.55rem; }
}
