
@font-face {
    font-family: 'Lato';
    src: url('fonts/Lato/Lato-Regular.woff2');
    src: url('fonts/Lato/Lato-Regular.ttf');
}

@font-face {
    font-family: 'Lato-Bold';
    src: url('fonts/Lato/Lato-Bold.woff2');
    src: url('fonts/Lato/Lato-Bold.ttf');
}


@font-face {
    font-family: 'Calistoga';
    src: url('fonts/Calistoga/Calistoga-Regular.woff2');
}

@font-face {
    font-family: 'Playfair';
    src: url('fonts/solway-cufonfonts/playfair-display/PlayfairDisplay-Regular.otf');
}

@font-face {
    font-family: 'colaborate';
    src: url('fonts/Colaborate/ColabReg.otf');
}

@font-face {
    font-family: 'FiraSans-Regular';
    src: url('fonts/fira-sans/FiraSans-Book.otf')
}

@font-face {
    font-family: 'Coustard';
    src: url('fonts/Coustard/Coustard-Regular-400.woff2') format('woff2');
    /*src: url('/css/fonts/Coustard/Coustard-Regular-400.woff2') format('woff2');*/
    /*src: url('/css/fonts/Coustard/Coustard-Regular-400.ttf') format('truetype');*/
    src: url('fonts/Coustard/Coustard-Regular-400.ttf') format('truetype');
}

@font-face {
    font-family: "Solway-Regular";
    src: url('fonts/solway-cufonfonts/Solway-Regular.woff2') format('woff2');
    src: url('fonts/solway-cufonfonts/Solway-Regular.ttf') format('truetype');
}

* {
    padding: 0;
    margin: 0;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
}

html {
    overflow-x: hidden;
    overflow-y: scroll;
}

body {
    overflow-x: hidden;
}

pre {
    white-space: pre-wrap
}

body {
    /*background-color: rgb(255, 243, 243);*/
    /*background-color: rgb(255, 248, 243);*/
    /*background-color: rgba(255, 253, 248, 0.2);*/
    /*background-color: rgb(243, 243, 243);*/
    /*background-color: rgba(255, 255, 254, 1);*/
    /*background-color: #f8f8f8;*/

}

p, ul, ol, li {
    margin: 5px;
    padding: 0;
}

/*.topnav{*/
/*    font-family: Lato-Bold, sans-serif;*/
/*}*/

table, .appointment, .block, .time_button, line, .cart-div, .cart-item, .cart-col, .orders, .user-info, textarea, .button, .menu__btn, .hamburger-menu, .menu__item, .caption, p, ul, .pricing-item-description, .accordion, label, select, option, input, ol, .order-price, .text, .pricing-item-price, .info-bubble, .pricing-item-label {
    font-family: Lato, sans-serif;
    font-size: 1.35rem;
    /*font-size: 16pt;*/
    /*font-size: 1.5vmax;*/
    color: #282727;
}

b, .lato-bold {
    font-family: Lato-Bold, sans-serif;
}

.topnav {
    font-family: Lato-Bold, sans-serif;
    color: #282727;
}

.underlined {
    text-decoration: underline;
}

.header-row {
    padding: .5rem;
}

h1, h2, h3, h4, h5, .hr-text, .flavor-heading, th {
    font-family: Solway-Regular, serif;
    color: #282727;
    /*color: blue;*/

    /*color: red;*/
}

h1, h2, h3, h4, h5, ul {
    /*padding: 3px;*/
    margin: 5px;
}

li {
    padding: 5px;
    margin: 5px
}

select, input, textarea {
    width: 90%;
    padding: 10pt;
    margin: 10pt;
}

.red-text {
    color: #c93249;
}

.teal-text{
    color: #379494;
}

hr {
    width: 100%;
}

p {
    padding: 15px;
    /*display: inline-block;*/
}

h1 {
    /*font-family: Palatino, URW Palladio L, serif;*/
    /*font-size: 56px;*/
    font-size: 4rem;

}

h2 {
    font-size: 3.5rem;
    /*font-size: 36px;*/
    color: #c93249;
    /*font-family: Coustard;*/
}

h3 {
    font-size: 2.5rem;
    /*font-size: 24px;*/
}

h4 {
    font-size: 2rem;
}

ul {
    /*font-size: 16pt;*/
}

li {
    padding: 5pt;
}

label {
    font-weight: bold;
}

input[type='checkbox'] {
    width: 25px;
    height: 25px;
    accent-color: #379494;
}
/*.pt16 {*/
/*    font-size: 16pt;*/
/*}*/

.hr-text {
    line-height: 1rem;
    position: relative;
    outline: 0;
    border: 0;
    /*color: black;*/
    text-align: center;
    height: 1.5rem;
    opacity: .9;
    font-size: 18pt;
}


.hr-text.large {
    font-size: 24pt;
}

.hr-text.heading {
    font-size: 36px;
}

.hr-text:before {
    content: '';
    /*/ / use the linear-gradient for the fading effect */
    /* / / use a solid background color for a solid bar*/
    background: linear-gradient(to right, transparent, #818078, transparent);
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
}

.hr-text:after {
    content: attr(data-content);
    position: relative;
    display: inline-block;
    color: black;

    padding: 0 1.5rem;
    line-height: 1.5rem;
    /*/ / this is really the only tricky part, you need to specify the background color of the container element . . . */
    /*color: #818078;*/
    background-color: white;
}

.hr-text.h2-style:after {
    color: #c93249;
}

.flavor-heading {
    font-style: italic;
    font-size: 3.5rem;
    /*font-size: 36px;*/
    color: #343434

}

.row {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    justify-self: center;
    /*max-width: 800px;*/
}

.col {
    display: flex;
    flex-direction: column;
    padding: 10px;
    flex: 1 1 0;
    /*flex: 50%;*/
}

.no-padding {
    padding: 0;
}

.three {
    flex-grow: 3;
}

.half {
    /*flex-shrink: 2;*/
    flex: 1 2 0;
}

.left {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-items: start;
    /*margin: initial;*/
}

.center {
    margin: auto;
    text-align: center;
    align-items: center;
}

.top-center {
    justify-self: center;
    align-self: start;
    text-align: center;
}

.right {
    text-align: right;
    justify-content: flex-end;
    align-self: flex-end;
    /*justify-content: right;*/
}

.vertical-center {
    flex-direction: column;
    align-self: center;

    vertical-align: middle;
    align-items: center;
    /*display: inline;*/
}

.container {
    width: 100%;
    /*padding-right: 10px;*/
    /*padding-left: 10px;*/
    margin: 0 auto;
    padding: 2px;
}

.margined {
    max-width: 90%;
}

.wide-margined {
    max-width: 70%;
}

.button {
    border: 1px solid #379494;
    border-radius: 20px;
    background-color: #3eb7b7;
    padding: 20px 24px;
    /*min-width: 500px;*/
    margin: 15px;
    font-size: 1.5rem;

    /*font-size: 24px;*/
    color: white;
    display: inline-block;
    align-self: center;
    text-align: center;
    /*max-width: 200px;*/
    cursor: pointer;
    text-decoration: none;
    flex-direction: row;
}

.button:hover {
    background-color: #379494;
    text-decoration: none;
}

.button.secondary {
    background-color: #939393;
    border: 1px slategray solid;
}

.button.secondary:hover {
    background-color: #727171;
    color: white;
    text-decoration: none;
}

.button.red{
    background-color: darkred;
    border-color: maroon;
}

.button.red:hover {
    background-color: #590303;

}
.button.white {
    background-color: white;
    color: #3eb7b7;
}

.button.white:hover {
    background-color: rgba(230, 230, 230, 1);
    color: #379494;
    text-decoration: none;
}

.button.small {
    font-size: 1rem;
    /*font-size: 16px;*/
    margin: 10px;
    padding: 12px 16px;
    border-radius: 15px;
}

.button.outline {
    background-color: transparent;
    color: #379494;
}

.button.outline:hover {
    background-color: #3eb7b7;
    color: white;
    text-decoration: none;
}

.page-bg, .page-bg-secondary {

}

.page-bg {
    background-color: whitesmoke;
    /*background-color: #f6fdff*/
}

.page-bg-secondary {
    background-color: rgba(199, 199, 192, 0.35);
}

.page-bg-teal {
    background-color: rgba(55, 148, 148, 0.25);
}

.info-bubble {
    background-color: whitesmoke;
    text-align: center;
    border: 1px dashed grey;
    font-family: "Arial", monospace;
    /*font-size: 1.5rem;*/
    /*font-size: 16pt;*/
    padding: 15px;
    /*margin: 10px;*/
    margin-bottom: .5rem;
}

.info-bubble.secondary {
    background-color: blanchedalmond;
}

.form-feedback {
    margin: 1pt;
    font-family: "Lato", sans-serif;
    /*font-size: 16pt;*/
    font-size: 1.5rem;
}

.invalid-feedback {
    color: red;
}

.m1 {
    margin: 2pt;
}

.m2 {
    margin: 4pt;
}

.m3 {
    margin: 6pt;
}

.m4 {
    margin: 8pt;
}

.m5 {
    margin: 10pt;
}

.p1 {
    padding: 2pt;
}

.p2 {
    padding: 4pt;
}

.p3 {
    padding: 6pt;
}

.p4 {
    padding: 8pt;
}

.p5 {
    padding: 10pt;
}

.smart-fit-img {
    /*display: flex;*/
    /*width: 100%;*/
    max-width: 100%;
    max-height: 100%;
    height: auto;
}

.process-icons {
    max-width: 100%;

    height: 75px;
    /*width: auto;*/
}

.pricing-item {
    border-top: 2px dashed teal;
    /*border-bottom: 2px dashed teal;*/
    margin: 2pt;
    flex-direction: row !important;
}

.pricing-section {
    border: 2px teal solid;
    border-radius: 10px;
    margin: 15px;
    padding: 15px;
    /*font-size: 24px;*/
}

.center-table {
    margin-left: auto;
    margin-right: auto;
}

/* Accordion */
/* Style the buttons that are used to open and close the accordion panel */
.accordion {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    /*text-align: left;*/
    border: none;
    outline: none;
    transition: 0.4s;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .accordion:hover {
    background-color: #ccc;
}

/* Style the accordion panel. Note: hidden by default */
.accordion-panel {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

.accordion:after {
    content: '\02795'; /* Unicode character for "plus" sign (+) */
    font-size: 13px;
    color: #777;
    float: right;
    margin-left: 5px;
}

.accordion.active:after {
    content: "\2796"; /* Unicode character for "minus" sign (-) */
}

.pattern_thumbnail {
    width: 10rem;
}

/* GALLERY */

.gallery {
    display: inline-flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-content: flex-start;
    gap: 10px;
    overflow: auto;
    /*align-items: baseline;*/
}

.gallery-thumbnail {
    width: 400px;
    height: 400px;
    background-position: center;
    background-repeat: no-repeat;
    display: inline-block;
    background-size: cover;
}

.gallery-thumbnail.zoom {
    background-size: auto;
}

.large-gallery-thumbnail{
    width: 300px;
    height: 300px;
    background-position: center;
    background-repeat: no-repeat;
    display: inline-block;
    background-size: cover;
}

.background-image-cover {
    background-size: cover;
}

.caption.small{
    font-size: 1rem;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    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-img {
    max-height: 90vh;
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: auto; /* 15% from the top and centered */
    padding: 10px;
    border: 1px solid #888;
    max-width: 85%; /* Could be more or less, depending on screen size */
    text-align: center;
    border-radius: 10px;
    /*max-height: 90%;*/
    /*display: inline-block;*/
}

.modal-content img {
    max-width: 100%;
}

/* The Modal (background) */
.gallery-select-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    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/Box */
.gallery-select-modal-content {
    background-color: #fefefe;
    margin: auto; /* 15% from the top and centered */
    padding: 10px;
    border: 1px solid #888;
    max-width: 90%; /* Could be more or less, depending on screen size */
    max-height: 90%;
    /*display: inline-block;*/
}

/* Contains a scrollable area for a gallery of selectable thumbnails*/
.gallery-select-box {
    /*height: auto;*/
    max-height: 70vh;
    display: inline-block;
    /*overflow: auto;*/
    overflow: scroll;
    align-items: baseline;

}

.selector-gallery {
    display: inline-flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-content: flex-start;
    gap: 10px;
    overflow: auto;
    /*align-items: baseline;*/
}

.gallery-select-box .thumbnail-active {
    border: 3px red solid;
    width: 500px;
    height: 500px;
    max-width: 95%;
    aspect-ratio: 1;
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    /*font-size: 50px;*/
    font-size: 5rem;
    font-weight: bold;
}

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


table {
    border-collapse: collapse;
    width: 100%;
    /*font-size: 14pt;*/
}

table td, #table th {
    border: 1px solid #ddd;
    padding: 8px;
}

table tr:nth-child(even) {
    background-color: #f2f2f2;
}

table tr:hover {
    background-color: #ddd;
}

table th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: center;
    background-color: #379494;
    color: white;
}


.bg-img {
    background-repeat: no-repeat;
    background-attachment: inherit;
    background-size: cover;
}

.img-hr {
    width: 100%;
    max-height: 20rem;
    /*min-height: 15%;*/
    background-position: center;
    /*margin: 20px 0px;*/
}

.img-hr-height {
    height: 15rem;
}

/* LARGE SCREEN MENU BAR ----------------------------------*/
/* Add a black background color to the top navigation */
.topnav {
    background-color: #379494;
    overflow: hidden;
    padding-left: 20px;
}

/* Style the links inside the navigation bar */
.topnav a {
    float: left;
    color: #f2f2f2;
    text-align: center;
    padding: 20px;
    /*padding: 14px 16px;*/
    text-decoration: none;
    font-size: 1.5rem;
}

/* Change the color of links on hover */
.topnav a:hover {
    background-color: #ddd;
    color: #282727;
}

/* Add a color to the active/current link */
.topnav a.active {
    background-color: white;
    /*background-color: rgba(255, 255, 254, 1);*/
    color: #282727;
}


/* ???? */

/*.menu__btn {*/
/*    position: fixed;*/
/*    top: 20px;*/
/*    left: 20px;*/
/*    width: 26px;*/
/*    height: 26px;*/
/*    cursor: pointer;*/
/*    z-index: 1;*/
/*}*/


/* ////////////////////////////*/
/* HAMBURGER */
/* ////////////////////////////*/

/* SMALL MOBILE  */

.mobile-top-bar {
    position: fixed;
    width: 100%;
    background-color: #379494;
    height: 5rem;
}

.mobile-top-bar-icon {
    padding-top: .75rem;
    /*height: 3rem;*/
    margin: 0 auto;
    display: block;
    position: absolute;
    width: 3.5rem;
    left: 0;
    right: 0;
    /*text-align: center;*/
}

.mobile-body-padding {
    padding-top: 5rem;
}

.menu__btn {
    top: 50%;
    left: 20px;
    width: 50px;
    height: 26px;
}

.menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
    height: 5px;
}

.menu__btn > span::before {
    top: -15px;
}

.menu__btn > span::after {
    top: 15px;
}

#menu__toggle {
    opacity: 0;
}

#menu__toggle:checked + .menu__btn > span {
    transform: rotate(45deg);
}

#menu__toggle:checked + .menu__btn > span::before {
    top: 0;
    transform: rotate(0deg);
}

#menu__toggle:checked + .menu__btn > span::after {
    top: 0;
    transform: rotate(90deg);
}

#menu__toggle:checked ~ .menu__box {
    left: 0 !important;
}

.menu__btn {
    position: absolute;
    cursor: pointer;
    z-index: 1;
}

.menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
    display: block;
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: white;
    transition-duration: .25s;
}

.menu__btn > span::before {
    content: '';
}

.menu__btn > span::after {
    content: '';
}

.menu__box {

    width: 50%;
    /*padding: 15vh;*/
    padding: 10vh 10% 10% 10%;

    display: block;
    position: fixed;
    top: 0;
    left: -100%;
    height: 100%;
    margin: 0;
    /*padding: 180px 0;*/

    list-style: none;
    background-color: #379494;
    /*width: 1px;*/

    /*background-color: #ECEFF1;*/
    box-shadow: 2px 2px 6px rgba(0, 0, 0, .4);
    transition-duration: .25s;
}

.menu__box a {
    text-decoration: none;
}

.menu__box a li {

    padding: 1.5vh;
    font-size: 2rem;

    display: block;
    color: white;
    /*color: #379494;*/
    /*font-family: 'Roboto', sans-serif;*/
    font-family: "Lato", sans-serif;
    font-weight: 600;
    text-decoration: none;
    transition-duration: .25s;
}

.menu__box_logo{
    height: 10vh;
    width: auto;
    display: block;
    margin: auto;
    padding-top: 2.5vh;
}

/*////////////////////////////////*/
/* Cart */
/*////////////////////////////////*/

.remove-item {
    color: darkred;
    font-size: 14pt;
    border: darkred 1pt solid;
    border-radius: 2px;
    cursor: pointer;
    padding: 3px;
    margin: 3px;
}

.remove-item:hover {
    color: white;
    background-color: darkred;
}

.edit-item {
    color: #5b5b5b;
    font-size: 14pt;
    border: #5b5b5b 1pt solid;
    border-radius: 2px;
    cursor: pointer;
    padding: 3px;
    margin: 3px;
}

.edit-item:hover {
    color: white;
    background-color: #5b5b5b;
}

.cart-item {
    width: 90%;
    /*max-width: 800px;*/
    border-radius: 10px;
    /*border: 3px #379494 solid;*/
    background-color: rgba(241, 241, 241, 0.71);
    display: flex;
    flex-direction: row;
    font-size: 16pt;
    align-items: center;
    justify-content: space-evenly;
    /*margin: 10px;*/
    padding: 20px;
}

.cart-col {
    display: flex;
    flex-direction: column;
    padding: 10px;
    max-width: 40%;
    /*flex: 1 1 0;*/
    /*flex: 50%;*/
}

.cart-comments {
    /*display: inline-block;*/
    width: 10px;
    /*display: flex;*/
    /*flex-basis: auto;*/
    flex-direction: column;
    flex: 1;
}

.cart-col img {
    width: 200px;
    max-width: 100%;
}

.cart {
    /*justify-content: center;*/
    align-items: center;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.caption {
    margin-top: 10px;
}

.italics {
    font-style: italic;
}

.rounded {
    border-radius: 15px;
}


/* SCREEN SIZES -----------------------------------*/

@media (max-height: 400px) {
    .tall-only {
        display: none;
    }
}

/* Hamburger and mobile layout up to 1200px */
@media (max-width: 1199px) {
    .large-only, .topnav {
        display: none;
    }

    /*Layout */
    .wide-margined {
        max-width: 80%;
    }


    .smart-fit-img {
        max-height: 1500px;
        width: auto;
        max-width: 100%;
    }

    .quarter {
        grid-column: span 2;
    }

    .row {
        /*display: flex;*/
        /*grid-template-columns: repeat(4, 1fr);*/
        flex-direction: column;
    }

    .flex-row {
        flex-direction: row;
    }

    .pricing-item .row {
        flex-direction: row !important;
    }

    .frontswap {
        order: 1;
    }

    .backswap {
        order: 2;
    }

    .top-center {
        /*justify-self: center;*/
        align-self: center;
    }
}


/* Screen uses desktop layout */
@media (min-width: 1200px) {
    /*.row {*/
    /*display: flex;*/
    /*grid-template-columns: repeat(4, 1fr);*/
    /*flex-direction: column;*/
    /*}*/
    .small-only, .hamburger-menu, .mobile-top-bar, .mobile-body-padding {
        display: none;
    }

    .restricted-width-if-large {
        max-width: 60%;
    }

    .right-if-large {
        align-items: end;
    }

    .left-if-large {
        display: flex;
        flex-direction: row;
        align-items: start;
        align-self: start;
        align-content: start;
        justify-items: start;
        justify-self: start;
        justify-content: start;
    }
}


/* Screen is medium width. Ipad in portrait  */
@media (min-width: 451px) and (max-width: 820px) {

    /* Top bar */
    .mobile-top-bar {
        /*height: 200px;*/
        height: 6rem;
        /*background-color: green;*/
    }

    .mobile-top-bar-icon {
        /*padding-top: .5rem;*/
        /*height: 4rem;*/
    }

    .mobile-body-padding {
        padding-top: 6rem;
    }

    .menu__btn {
        top: 50px;
        left: 50px;
        width: 50px;
        height: 26px;
    }

    .menu__btn > span,
    .menu__btn > span::before,
    .menu__btn > span::after {
        height: 3px;
    }

    .menu__btn > span::before {
        top: -13px;
    }

    .menu__btn > span::after {
        top: 13px;
    }

    .menu__box {
        /*width: 100px;*/
        padding: 6rem 4rem;
    }

    .menu__box a li {
        padding: 2vh 0px;
        /*font-weight: 600;*/
        /*margin: 3vh;*/
        font-size: 5vh;
        /*color: green;*/
    }

    /* FONTS */

    p {
        margin: 15px;
        /*color: red*/
    }

    h1 {
        font-size: 4rem;
    }

    h2 {
        font-size: 55px;
    }

    h3 {
        font-size: 51px;
    }

    h4 {
        font-size: 38px;
    }

    p, line, .appointment, .block, .time_button, textarea, .pricing-item-description, .accordion, label, select, option, input, li, ul, ol, .order-price, .text, .info-bubble {
        font-size: 2rem;
    }

    .form-feedback {
        font-size: 1.8rem;
        margin: 5px;
    }

    .pricing-item-label {
        font-size: 44px;
    }

    .pricing-item {
        font-size: 25px;
        margin: 10px;
    }

    .pricing-item-price {
        font-size: 38px;
    }

    .caption {
        font-size: 1.5rem;
    }

    table {
        font-size: 36px;
    }

    .accordion {
        font-size: 42px;
    }

    .accordion-panel p {
        font-size: 37px;
    }

    .button {
        font-size: 35px;
        /*padding: 30px;*/
        padding: 30px 45px;

    }

    .button.small {
        font-size: 24px;
    }

    h1, h2, h3, h4, h5, ul, ol {
        padding: 5px;
        margin-top: 30px;
    }

    hr {
        margin: 15px;
    }

    li {
        /*padding: 10px;*/
        /*margin: 10px*/
    }

    .caption {
        padding: 15px;
    }

    .pricing-item-label {
        padding: 15px;
    }

    .info-bubble {
        margin: 15px;
    }

    input[type='checkbox'] {
        width: 25px;
        height: 25px;
        background-color: #379494;
    }

    .selector-gallery .thumbnail-active {
        width: 800px;
        /*height: 800px;*/
    }

    .gallery-select-modal-content {
        max-width: 100%;
        max-height: 100%;
    }

    .gallery-select-box {
        /*max-height: 100vh;*/
    }

    .close {
        font-size: 10rem;
    }
}


/* Screen is small */
@media (max-width: 28.125em) {

    body {
        /*font-size: 50%;*/
        -webkit-text-size-adjust: 100%;
    }
    /* Fonts */
    /*p {*/
    /*    margin: 5px;*/
    /*}*/

    h1 {
        font-size: 3rem;
        /*color: blueviolet;*/
    }

    h2 {
        font-size: 2.5rem;
    }

    h3 {
        font-size: 3rem;
    }

    /*h4 {*/
    /*    font-size: 3.5vh;*/
    /*}*/

    /*p, line, textarea, .pricing-item-description, .accordion, label, select, option, input, li, ul, ol, .order-price, .text, .info-bubble {*/
    /*    font-size: 2.5vh;*/
    /*}*/

    .order{
        padding: 20px 5px 0 0;
    }

    .form-feedback {
        font-size: 2.5rem;
        margin: 5px;
    }

    .pricing-item-label {
        font-size: 2rem;
        padding: 0 0 1rem;
    }

    .pricing-item {
        font-size: 34px;
        margin: 0;
    }

    .pricing-item-price {
        font-size: 1.5rem;
    }

    .pricing-section{
        /*margin: 95%;*/
        padding: 5px;
    }

    .caption {
        font-size: 1.5rem;
        padding: 20px;
    }

    table {
        font-size: 20px;
    }

    /*.accordion {*/
    /*    font-size: 56px;*/
    /*}*/

    /*.accordion-panel p {*/
    /*    font-size: 52px;*/
    /*}*/

    .button {
        /*font-size: 3.5vh;*/
        font-size: 1.75rem;
        /*padding: 30px;*/
        padding: 1rem 1.5rem;

    }

    .button.small {
        font-size: 32px;
    }

    h1, h2, h3, h4, h5, ul, ol {
        padding: 5px;
        margin-top: 1rem;
    }

    hr {
        margin: 20px;
    }

    li {
        /*padding: 10px;*/
        /*margin: 10px*/
    }

    .info-bubble {
        /*margin: 30px;*/
    }

    input[type='checkbox'] {
        width: 40px;
        height: 40px;
    }

    .selector-gallery .thumbnail-active {
        width: 350px;
        height: auto;
    }

    .gallery-select-modal-content {
        max-width: 100%;
        max-height: 100%;
    }

    .gallery-select-box {
        /*max-height: 100vh;*/
    }

    .close {
        font-size: 5rem;
    }

    .large-gallery-thumbnail{
        width: 300px;
        height: 300px;
    }
    .gallery-thumbnail {
        width: 10rem;
        height: 10rem;
        /*height: 50px;*/
    }

    .pattern_thumbnail{
        width: 10rem;
    }


    .margined {
        max-width: 95%;
    }

    .process-icon{
        width: 50%;
        height: 50%;
    }

    .no-margin-if-small{
        margin: 0;
    }

    .no-padding-if-small{
        padding:0;
    }
    .no-top-padding-if-small{
        padding-top: 0;
    }

    .img-hr-height {
        height: 10rem;
    }
}
