@media (max-width:1680px) {
    .contentFontSizing {
        font-size: 0.95vw;
    }

    .simpleText {
        font-size:16px;
    }
}

@media (max-width:1580px) {
    .ecomm .featuredGrid_222 .imageLinkList {
        max-width:90%;
    }
}

@media (max-width:1430px) {
    .ecomm .momentMakerText
    {
        width:90% !important;
    }

    .ecomm .page > header .logoBar .toolBar .shippingMessage
    {
        font-size:12px;
    }  
}

@media (max-width:1280px) {

    .ecomm .page nav .megaMenuMainOption
    {
        font-size:1.25em;
    }

    .ecomm .page nav .megaMenuMainOption h3
    {
        font-size:1.0em;
    }

    .ecomm .page > header .logoBar .toolBar .shippingMessage
    {
        font-size:11px;
    }

    .ecomm .page > header .logoBar .toolBar, .ecomm .page > header .logoBar .searchBox
    {
        padding:0;
        margin:0
    }

    .ecomm .page > header .logoBar .siteLogo
    {
        margin-left:calc(50% - 142px);
    }

    .ecomm .page > header .logoBar .siteLogo img
    {
        max-height: 2em;
    }

    .ecomm .page > header .toolBar .profile .headerLink
    {
        margin-right:20px;
    }
}

@media (max-width:1124px) {

    .mediumsize {
        min-width:117px;
    }

    .ecomm .shoppingcartpage {
        width:100%;
    }

    .ecomm .carthead {
        padding-left:10px;
    }

    .ecomm .purchase {
        width:calc(100% - 19.6875em);
        padding-left:10px;
    }

    .ecomm .cartSidebar
    {
        padding-right:10px;
    }

    .ecomm .orderStatus .purchase {
        width:calc(100% - 18px);
    }
    
    .trackordertotaltable {
        margin-right:9px;
    }

    .ecomm .cartTitleWrap {
        width:65%;
    }
    
    .ecomm .purchase {
        min-height:0;
    }

    .ecomm .cartButtonsWrap {
        width:35%;
    }

    .ecomm .shoppingcartitembutton {
        float:none;
        text-align: right;
    }

    .ecomm button.shoppingcartbutton {
        display:inline;
    }
    
    .ecomm .shoppingcartbutton {
        margin-right:0;
    }

    .ecomm .cartimageswrap {
        width:40%;
    }

    .ecomm .cartSizesWrap {
        width:calc(60% - 10px);
        margin-left:10px;
    }

    .ecomm .itemsize {
        width:100%;
    }

    .ecomm .shoppingcartdesignimage {
        width:100%;
        height:auto;
    }

    .ecomm .checkoutstage1page {
        width:100%;
    }

    .ecomm .checkoutheader {
        width:calc(100% - 403px);
    }

    .ecomm .checkoutheaderleft {
        width:100%;
    }

    .ecomm .leftColumn {
        width:calc(100% - 403px);
    }

    .ecomm .billing, .ecomm .shipping, .ecomm .delivery, .ecomm #payment_options, .ecomm .spinstr {
        width:calc(100% - 50px);
    }

    .ecomm #addressBookWidgetDiv, .ecomm #walletWidgetDiv {
        width: 100%;
    }

    .ecomm .checkoutAddressDiv {
        width:47%;
    }

    .ecomm .shipMethodOptions {
        column-count:1;
    }

    .ecomm .checkoutShippingOptionDiv
    {
        width:100%;
    }

    .ecomm .billing input, .ecomm .billing input[type=email], .ecomm .billing input[type=tel],
    .ecomm .shipping input[type=text], .ecomm .shipping input[type=email], .ecomm .shipping input[type=tel]
    {
        width:calc(100% - 12px);
    }

    .ecomm #ShipTo_Country, .ecomm #ShipTo_State, .ecomm #ShipTo_Province, .ecomm #BillTo_Country,
    .ecomm #BillTo_State, .ecomm #BillTo_Province
    {
        width:100%;
    }

    .ecomm .designdetailspage {
        width:100%;
        display:flex;
        flex-direction:row;
        flex-wrap:wrap;
    }

    #dditembox {
        float:none;
    }

    #dditembox #mainDesignImageWrapper {
        display:block;
        float:none;
    }

    .thumbnailContainerWrapper {
        display:inline-block;
        vertical-align:top;
        margin-top:12px;
    }

    .dditemimagediv  {
        flex: 1 1 50%;
        width:auto;
        min-width:336px;
        margin-right:0;
        padding:0 8px 0 7px;
    }

    .ddimageandthumbnail {
        margin-right:0;
    }

    .ddimageandthumbnail, .ddthumbnailarea {
        width:100%;
    }

    .ddthumbnailarea {
        text-align:center;
    }

    .thumbnailContainerWrapper {
        margin-top:0;
    }

    .dditembox
    {
        width:auto;
        height:auto;
        max-width:100%;
    }

    .dditembox #mainDesignImageWrapper
    {
        height:auto;
        width:100%;
    }

    .dditembox #mainDesignImage
    {
        max-width:100%;
        min-height:336px;
    }

    .ddotheritembox {
        width:33%;
    }

    .ddotheritembox a img {
        width:100%;
    }

    .ddrightsideofimage {
        flex: 1 1 40%;
        width:auto;
        min-width:300px;
        padding:0 8px 0 7px !important;
        float:none;
    }

    #ddDesignProductDetailsDiv
    {
        width:100%;
    }

    .ddfeatureduploadimage
    {
        max-width:100%;
    }

    .ddpopulardesignsdiv {
        width:calc(100% - 15px);
        padding:0 8px 0 7px !important;
    }

    .customTextTable {
        width:calc(100% - 15px);
    }

    .previewDesignButton {
        width:calc(100% - 4px);
    }

    .ddcolumn1 {
        flex: 1 1 100%;
        width:auto;
        margin-right:0;
        padding:0 8px 0 7px;
    }

    .ddRelatedDesignsNarrow
    {
        width:100%;
    }

    .ddcustomizeitdiv
    {
        width:100%;
    }

    .customizeThisDesignButton
    {
        width:calc(100% - 48px);
    }

    #addToCartForm {
        width:auto;
    }

    .groupDiscountPricingBox
    {
        width:100%;
    }

    .groupDiscountPricingBox tr td
    {
        padding:0;
    }

    .ecomm .featuredItems span {
        float:none;
        width:550px;
        margin-left:auto;
        margin-right:auto;
        padding-top:20px;
        padding-bottom:30px;
    }

    .ecomm .featuredItems span:nth-of-type(3n+1) {
        margin-left:auto;
    }

    .ecomm .featuredItems span:nth-of-type(3n+3) {
        margin-right:auto;
    }

    .designCategorySection
    {
        width:100%;
    }

    .designCategoryList
    {
        width:calc(100% - 2em);
        padding-left:1em;
        padding-right:1em;
    }

    .ddRelatedDesignsNarrow, .ddRelatedDesignsWide
    {
        margin-top:15px;
    }

    .ecomm .productdetailspage
    {
        display:flex;
        flex-wrap:wrap;
        width:100%;
    }

    .ecomm .productdetailsheader
    {
        margin-right:8px;
        margin-left:7px;
    }

    .ecomm .productimageandswatch
    {
        float:none;
        flex:1 1 calc(50% - 17px);
        margin:0 8px 20px 7px;
        width:auto;
    }

    .ecomm .productdetailsimage
    {
        max-width:100%;
    }

    .ecomm .productdetailscolumn
    {
        float:none;
        flex:1 1 calc(50% - 17px);
        margin:0 8px 20px 7px;
        width:auto;
        min-width:300px;
    }

    .ecomm .productcustomizediv
    {
        margin-bottom:0;
    }

    .ecomm .productdetailsbottom
    {
        margin:0 8px 0 7px;
    }

    .ecomm .page > header .logoBar .toolBar .shippingMessage
    {
        display:none;
    }
}

@media (max-width: 1024px)
{
    .ecomm .myEnvironmentIndicator
    {
        display: none;
    }
}

@media (max-width:975px) {
    .ecomm .page > header .cartTotal
    {
        font-size: 0.8em;
    }

    body
    {
        background-color: white;
    }

    .ecomm .page nav.mainNavigation {
        display: none;
    }

    .ecomm .mainboxcontainer,
    .ecomm #content,
    .ecomm #footer {
        min-width: 0;
    }

    .ecomm .leftNavContent + .mainboxcontainer.mainboxcontainer {
        margin-right: auto;
        margin-left: auto;
    }

    .ecomm .checkoutAddressDiv, .ecomm .checkoutShippingOptionDiv {
        width:100%;
    }

    .box textarea {
        width:calc(100% - 12px);
    }

    .ecomm .itempricesubtotal {
        position:relative;
        float:right;
        clear:right;
        bottom:0;
        right:0;
        margin:30px 3px 0 0;
    }

    .emailDesignShareLinkDesktop
    {
        display: none;
    }

    .productGalleryPage section > header,
    .productGalleryPage > header {
        flex-direction: column;
        align-items: center;
        padding-left:32px;
    }

    .productGalleryPage > header > * {
        margin: 0.5em 0;
    }

    .productGalleryPage .jumpLink {
        text-align: center;
    }

    .ecomm .designDetailsShareLink
    {
        display: inline;
    }

    .cartCountBubble
    {
        padding:3px 5px 2px 5px
    }

    #mycontainer, .mainboxbody, #desktopfooter {
        width:inherit;
        float:none;
        background-image: none;
    }

    .mainboxcontainer {
        width: inherit;
        margin-left:auto;
        margin-right:auto;
        float:none;
    }

    .footercontainer {
        width: inherit;
        margin-left:auto;
        margin-right:auto;
        overflow:hidden;
        float:none;
    }

    .ecomm .page > header .logoBar .hamburger {
        flex: 0 1 1.25em;
        display: inline-block;
        order: 1;
    }

    .ecomm .page > header .logoBar .siteLogo {
        padding: 0 0.5rem;
        order: 2;
        margin-left:5px;
    }

    .ecomm .page > header .logoBar .searchBox,
    .ecomm .page > header .logoBar .toolBar {
        flex: 0 2 auto;
    }

    .ecomm .page > header .toolBar .profile .menuHost:hover .hoverMenu
    {
        display:none;
    }

    .ecomm .page > header .logoBar .searchBox {
        padding: 0 0.5em;
        order: 3;
    }

    .ecomm .page > header .logoBar .toolBar {
        padding: 0;
        order: 4;
        margin-left:auto;
    }

    .ecomm .page > header .toolBar .widthContainer {
        margin: 0;
    }

    .ecomm .page > header .siteLogo img {
        max-height: 2rem;
    }

    .ecomm .page > header .logoBar .toolBar .profile > *:first-child,
    .ecomm .page > header .logoBar .toolBar .profile > *:nth-child(2)
    {
        display: none;
    }

    .ecomm .page > header .toolBar a,
    .ecomm .page > header .toolBar .shoppingCart {
        margin: 0;
        padding: 0;
    }

    /*.ecomm .page > header .cartInfo,*/
    .ecomm .page > header .cartTotal {
        display: none;
    }

    .ecomm .featuredItems,
    .ecomm .collectionGrid,
    .ecomm .horizontalGallery {
        font-size: 1.25em;
    }

    #top {
        height: 52px;
    }

    /*General resizing of elements for 2 column layouts and breakpoints*/
    .purchase {
        width:inherit;
    }

    .signupbox {
        width:240px;
    }

    .billing input[type=text], .billing input[type=email], .billing input[type=tel], #BillTo_Zip, #ShipTo_Zip, .shipping input[type=text], .shipping input[type=email], .shipping input[type=tel] {
        line-height: 1.5;
    }

    #emailOverlayInnerDiv
    {
        width:758px;
    }


    .galleryPage > aside
    {
        display:none;
    }

    .galleryOptionMatchingProducts .productMatchItem {
        width: 7em;
        min-height: 7em;
    }

    .addToCartSizeCellTextDiv
    {
        font-size:14px;
        line-height:14px;
    }

    .addToCartSizeLabel
    {
        line-height:40px;
    }

    .addToCartInputCell input
    {
        width:80%;
    }

    .addToCartUpchargeCell
    {
        font-size:12px;
    }
}

@media (max-width:830px) {

    .ecomm .mainboxcontainer {
        padding: 0;
    }

    .ecomm .purchase, .ecomm .cartSidebar {
        position:relative;
        float:left;
        width:calc(100% - 20px);
        padding-left:10px;
        padding-right:10px;
        margin-left:0;
    }

    .ecomm .billing, .ecomm .delivery, .ecomm .payment, .ecomm #payment_options, .ecomm .shipping, .ecomm .spinstr
    {
        width:calc(100% - 20px);
        padding-left:10px;
        padding-right:10px;
    }

    .ecomm .ordersummary2
    {
        width:calc(100% - 20px);
        padding-left:10px;
        padding-right:10px;
    }

    .ecomm .cartSidebar {
        border-top:1px solid #EBECED;
        padding-top:10px;
    }

    .ecomm .cartSidebarSingleItem {
        position:relative;
    }

    .faqImage
    {
        width: 360px;
    }

    /* Overall site */
    #top {
        height: 40px;
    }
    .galleryPage > aside,
    .galleryPage > aside div.maintain-visibility {
        width: 320px;
    }

    .galleryPage > aside {
        position: absolute;
        left: -320px;
        font-size: 1.25em;
        background-color: white;
        z-index: 9000;
        border: 1px solid #CFD1D4;
    }

    .galleryPage > aside.open {
        left: 0;
    }

    .galleryPage > aside > header {
        display: block;
    }

    .galleryPage > aside.open > header i {
        display: inline-block;
    }

    .ecomm .quotationFeature {
        font-size: 5em;
        margin: 2em 1em;
    }

    .ecomm .quotationFeature .showLargeMedia {
        display: none;
    }

    .ecomm .quotationFeature .showSmallMedia {
        display: inline;
    }

    .ecomm .quotationFeature .imageLinkList {
        max-width: 58%;
        margin: 1em auto;
    }

    .ecomm .quotationFeature .imageLinkList ~ span {
        font-size: 0.85em;
    }

    .ecomm .managedPage {
        grid-gap:3rem !important;
    }

    .ecomm .managedPage .buttonGrid {
        grid-template-columns: 1fr 1fr;
    }

    .ecomm .managedPage .buttonGrid a.buttonLink {
        flex: 1 1 47%;
        font-size: 1rem;
    }

    _:-ms-lang(x),
    :root .ecomm .managedPage .buttonGrid a.buttonLink {
        flex: 1 1 47%;
    }

    .ecomm .featuredItems,
    .ecomm .collectionGrid,
    .ecomm .horizontalGallery {
        font-size: 1.5em;
    }

    .ecomm .featuredItems footer {
        font-size: 1rem;
    }

    .ecomm .featuredGrid_444 .imageLinkList li {
        flex: 0 0 49%;
        grid-column: span 2;
    }

    .ecomm .featuredGrid_444 .imageLinkList li a label {
        font-size: 3em;
        outline: none;
    }

    .ecomm .desktopannouncement
    {
        display:none;
    }

    .ecomm .mobileannouncement
    {
        display:block;
    }

    /*Design Details page overrides*/

    .confirm {
        width:inherit;
        overflow:auto;
    }
    #outofareaplaceorder
    {
        clear:both;
    }

    .ecomm .checkoutheader {
        width:100%;
    }

    .ecomm .checkoutheaderleft {
        width:100%;
    }

    .ecomm .leftColumn {
        width:calc(100% - 2px);
    }

    .ecomm .rightColumn {
        margin-left: 0;
        width:calc(100% - 2px);
    }

    /*Receipt page*/
    .checkoutstage2page {
        width:388px;
    }

    .items, .billto, .shipto, .ordersummary {
        width: 366px;
        margin: 11px 0 10px 0;
    }

    .ordersummary
    {
        padding-right: 10px;
    }

    .signinup
    {
        width: 388px;
    }

    .rightsignin, .leftsignin, .benefit
    {
        margin-left: auto;
        margin-right: auto;
        clear: both;
        float: none;
    }

    .ecomm .signinup .leftsignin, .ecomm .signinup .rightsignin, .ecomm .benefit
    {
        padding-left:10px;
        padding-right:10px;
    }

    .leftsignin
    {
        overflow: auto;
        height: auto;
    }
    .checkoutheaderleft {
        width:auto;
    }
    .checkoutheaderright {
        margin:0;
    }

    /*Save design page*/
    .savedesignpage {
        width:388px;
    }
    .savedesignpage select, .savedesignpage .designtag, .savedesignpage textarea, .savedesignpage .designname, .saveDesignInput {
        width:200px;
    }
    .savedesignpage .savedesignimage img {
        width: 308px;
    }
    .savedesignimagediv {
        height:auto;
        min-height:auto;
    }
    .savedesignimagediv img
    {
       max-width:100%;
    }
    .savedesignimage object {
        width:250px;
    }

    .largesize {
        padding:9px;
        font-size:16px;
    }

    .itemtouchupserviceheader, .itemtouchupservice {
        float:right;
        margin-right:4px;
    }
    .spinner {
        padding-left:36px;
        padding-top:36px;
        width:132px;
        height:132px;
    }

    /*Order Complete Page*/
    .ordercompletepage {
        width:388px;
    }

    /*Storefront Gallery Page*/
    .storefront {
        margin:auto;
    }

    #storefront_owner {
        width:520px;
    }

    /*Design Gallery Page*/

    /*Error page*/
    .errorPage {
        width:388px;
    }

    .shoppingCartImage {
        width:24px;
        height:24px;
    }

    .freeship, .freeShipSecondary
    {
        font-size: 14px;
    }

    .switchtoamazonwrap
    {
        clear:both;
    }

    #ShipTo_Country, #ShipTo_State, #ShipTo_Provinces, #BillTo_Country, #BillTo_State, #BillTo_Province {
        width:366px;
    }

    .shippingaddress label, .billing label {
        width:366px;
    }

    #Payment_Card_Number {
        width:225px
    }

    /*Gift Cards page*/
    .giftcardspage .radioSelect.horizontal label {
        width: 20%;
    }

    #emailOverlayInnerDiv
    {
        width:512px;
    }

    #emailOverlayHeader
    {
        font-size:26px;
        margin:22px 0 16px 0;
    }

    #emailOverlayInput
    {
        margin-top:26px;
    }

    #emailOverlayCloseLink
    {
        margin-top:26px;
    }

    .ecomm .momentMakerText li
    {
        line-height:26px;
    }

    .ecomm .momentMakerText li div
    {
        font-size:20px;
    }

    .groupDiscountCalculatorNav
    {
        font-size:18px;
    }

    .groupDiscountCalculatorNavElement
    {
        margin:0 18px 0 18px;
    }

    .ecomm .accountPage, .ecomm .faqPage, .ecomm .orderTrackingPage, .ecomm .page .contactUs, .ecomm .policiesPage, .ecomm .returnsPage,
    .ecomm .pressPage, .ecomm .privacyPage, .ecomm .donotsellPage, .ecomm .reviewPage, .ecomm .termsofusePage, .ecomm .giftcardspage
    {
        width: calc(100% - 10px);
    }

    .storefront .storefrontTitle .storefrontImage
    {
        margin-top:0;
    }

    .ecomm .administration .searchField
    {
        margin-left:0;
        width: calc(100% - 366px);
    }

    .ecomm .page .storefrontAdminBar
    {
        text-align:center;
    }
}

@media (max-width:697px)
{
    .dditemimagediv .ddpopulardesignsdiv,
    .dditemimagediv .ddstorefrontdesignsdiv {
        display:none;
    }

    .ddrightsideofimage .ddpopulardesignsdiv,
    .ddrightsideofimage .ddstorefrontdesignsdiv {
        display:block;
    }
    
    #uploadLogoOverlayInnerDiv, #advancedSettingsOverlayInnerDiv
    {
        width:calc(100% - 40px);
    }

    #advancedSettingsOverlaySettingsDiv
    {
        width:calc(100% - 265px);
    }
}

@media (max-width:584px)
{
    /* Overall site */

    .ecomm .cartTitleWrap {
        width:100%;
    }

    .ecomm .cartButtonsWrap {
        margin-top:26px;
        width:40%;
    }

    .ecomm .cartSizesWrap {
        width:100%;
        margin-left:0;
    }

    .ecomm .itemsizebottom {
        float:none;
        width:auto;
        margin-left:0;
    }

    .ecomm .shoppingcartdesignbox {
        margin-bottom:10px;
    }

    .ecomm .page > header .logoBar .hamburger,
    .ecomm .page > header .toolBar i {
        font-size: 1.5rem;
    }

    .ecomm .page > header .searchBox button
    {
        font-size: 1.2rem;
    }

    .ecomm .page > header.scrollState .siteLogo img,
    .ecomm .page > header .siteLogo img {
        max-height: 1.5rem;
    }

    .ecomm .horizontalGallery li {
        margin: 0.5em 0.25em;
    }

    .ecomm .featuredItems,
    .ecomm .collectionGrid,
    .ecomm .horizontalGallery {
        font-size: 1.75em;
    }

    .ecomm .featuredItems .imageLinkList > li label {
        border: none;
        font-size: 0.9rem;
    }

    .ecomm .homepage section > footer {
        margin: 2em 0 1em;
    }

    .ecomm .imageLinkList > li label {
        font-size: 2em;
    }

    .ecomm .collectionGrid .imageLinkList > li {
        flex: 1 1 50%;
        max-width: 50%;
        padding: 0.25em;
    }

    .ecomm .collectionGrid > ul > li {
        max-width: 33.3333%;
    }

    .ecomm .managedPage {
        grid-gap:1.5rem !important;
    }

    .ecomm .managedPage .buttonGrid.buttonGrid {
        font-size: 3em;
    }

    .ecomm .horizontalGallery li:not(.navigationArrow):nth-of-type(1n+5) {
        display: none;
    }

    .ecomm .featuredGrid_212 .imageLinkList {
        max-width: 94%;
        grid-gap: 4vw;
    }

    .ecomm .featuredGrid_212 .imageLinkList li a label, .ecomm .featuredGrid_111 .imageLinkList li a label {
        font-size: 4em;
        outline: none;
        min-width: 13em;
    }

    .ecomm .featuredGrid_212 .imageLinkList li:nth-of-type(3n+1),
    .ecomm .featuredGrid_212 .imageLinkList li:nth-of-type(3n+2) {
        flex: 0 0 95%;
        order: 2;
    }

    .ecomm .featuredGrid_212 .imageLinkList li:nth-child(3n+3) {
        flex: 0 0 95%;
        order: 1;
        grid-column: span 1;
    }

    .orderStatusDifferences
    {
        font-size: 11px;
    }

    .galleryTitle
    {
        font-size: 27px;
    }

    .fa-mobile-only
    {
        display: inline-table;
    }

    .freeship, .freeShipSecondary
    {
        font-size: 14px;
    }

    .designTotals
    {
        font-size: 14px;
    }

    .galleryPage .gallerywrap, .productGalleryPage
    {
        padding-left:0;
        padding-right:0;
    }

    .storefront .gallerywrap .pageActions, .storefront .gallerywrap ul,
    .my-designs .gallerywrap .pageActions, .my-designs .gallerywrap ul
    {
        padding-left:0;
        padding-right:0;
    }

    .productGalleryPage > header
    {
        padding-right:1em;
    }

    .ecomm .gallerywrap .searchField, .ecomm .my-designs .gallerywrap .searchField
    {
        width:100%;
    }
    
    .ecomm .gallerywrap .sortProductsForm .searchField
    {
        width:calc(100% - 152px);
    }

    .ecomm .gallerywrap .galleryFilterDiv select
    {
        width:100px;
    }

    .productGalleryTitle
    {
        font-size:27px;
    }

    .productGallerySubtitle
    {
        font-size:16px;
    }

    .gallerywrap .pageActions * {
        box-sizing: border-box;
    }
    .gallerywrap .navButtons {
        width: 100%;
        box-sizing: border-box;
        columns: 2;
    }
    .gallerywrap .pageActions .btn {
        margin: 0;
        -moz-break-inside: avoid-column;
        break-inside: avoid-column;
        display: block;
        vertical-align: bottom;
    }
    .gallerywrap .pageActions div.nothing {
        content: ' ';
        min-height: 1px;
    }
    .gallerywrap .pageActions .btn.previous {
        margin-left:10px;
        text-align: left;
    }
    .gallerywrap .pageActions .btn.next
    {
        text-align: right;
        margin-right:10px;
    }
    .gallery-list li
    {
        min-width: 220px;
    }
    .galleryimage, .largeGalleryImage, .mediumGalleryImage, .smallGalleryImage, .smallerGalleryImage, .smallestGalleryImage
    {
        max-width: 220px;
        min-height: 220px;
        margin: 10px auto 20px auto;
    }

    .galleryImageDiv
    {
        min-height:220px;
    }

    .gallerySpinner
    {
        height:220px;
        line-height:250px;
    }

    .ecomm .designGalleryFrameDiv, .ecomm .designGalleryFrame
    {
        height:740px;
    }
    .ecomm .tallDesignGalleryFrameDiv, .ecomm .tallDesignGalleryFrame
    {
        height:740px;
    }  

    /*Storefront Gallery Page*/
    #storefront_owner {
        width: 308px;
    }
    .storefront_avatar {
        width:inherit;
    }
    .storefront_avatar img {
        max-width:308px;
    }

    .filterBox
    {
        margin-right: 0;
    }

    .filterBox ~ .filterBox
    {
        margin-top: 0.5em;
    }

    #storefront_redeem_amount_div thead {
        font-size: 12px;
    }

    #storefront_redeem_amount_div tbody {
        font-size: 14px;
    }

    .accountPage .orderStatus .purchase {
        padding: 8px;
    }

    /*Storefront stuff*/
    #storefront_description {
        width:296px;
    }
    #storefront_name {
        width:292px;
    }
    #storefront_url {
        width:226px;
    }

    .productCategoryItem, .productMatchItem {
        margin:  0px 4px 0px 4px;
    }

    .productCategoryItem
    {
        width:146px;
    }
    .productimage
    {
        width:146px;
    }

    .groupDiscountCalculatorHeader
    {
        font-size:28px;
    }

    .groupDiscountCalculatorText
    {
        font-size:18px;
    }

    .groupDiscountCalculatorButton
    {
        font-size:22px !important;
        padding:10px 26px 10px 26px !important;
    }

    .groupDiscountCalculatorDiv, .groupDiscountCalculatorButtonWrap
    {
        width:300px;
    }

    .groupDiscountCalculatorDiv
    {
        padding:10px 10px 42px 10px;
    }

    .emaildesignpage .emaildesignlonginput {
        width: 280px;
    }

    #emailOverlayInnerDiv
    {
        width:326px;
    }

    #emailOverlayHeader
    {
        font-size:22px;
        margin: 18px 0 10px 0;
    }

    #emailOverlayInput
    {
        width:308px;
        margin-top:20px;
    }

    #emailOverlaySubmitButton
    {
        width:326px;
        margin-top:12px;
    }

    #emailOverlayCloseLink
    {
        margin-top:22px;
    }

    #emailOverlayInfoText
    {
        margin-top:12px;
    }

    .orderHistoryLineItem
    {
        padding: 3px;
    }

    .orderHistoryTracking
    {
        font-size: 10px;
    }

    .shippingScheduleTable
    {
        font-size:12px;
    }

    .ecomm .featuredItems span {
        width:320px;
    }

    ul.ddtabs li {
        padding:0 0.5em 0 0.5em;
        font-size:14px;
    }

    .groupDiscountCalculatorNav
    {
        font-size:14px;
    }

    .groupDiscountCalculatorNavElement
    {
        margin:0 5px 0 5px;
    }

    .administration .updateDesignsFromGalleryButton,
    .administration .updateRatingsFromGalleryButton {
        margin-right:10px;
        margin-left:10px;
        font-size:14px;
    }

    .ecomm .filterDesignsDropdown, .ecomm .sortDesignsDropdown
    {
        width:100%;
        margin-left:0;
        text-align:right;
        line-height:24px;
        padding-right:20px;
        padding-bottom:10px;
    }

    .ecomm .filterDesignsDropdown select, .ecomm .sortDesignsDropdown select
    {
        width:250px;
    }

    .ecomm .administration .searchField
    {
        width:100%;
        margin-bottom:0;
    }

    .galleryPage .pageActionsTop
    {
        columns:1;
    }

    .ecomm .removeFilterButton
    {
        margin-bottom:10px;
    }

    #advancedSettingsOverlayBackImageDiv
    {
        display:block;
        margin:0 auto 20px auto;
    }

    #advancedSettingsOverlaySettingsDiv
    {
        width:100%;
        margin-left:0;
    }

    .resetItemDiv
    {
        display:block;
        margin:10px 0 0 0;
    }
}

@media (max-width:492px) {

    .gallery-list li
    {
        min-width:175px;
    }
    .galleryimage, .largeGalleryImage, .mediumGalleryImage, .smallGalleryImage, .smallerGalleryImage, .smallestGalleryImage
    {
        max-width:175px;
        min-height: 175px;
    }

    .galleryImageDiv
    {
        min-height:175px;
    }

    .gallerySpinner
    {
        height:175px;
        line-height:205px;
    }

    .gallery-list .galleryDesignName,
    .gallery-list .galleryProductName,
    .gallery-list .galleryProductBrand,
    .gallery-list .galleryStorefrontName,
    .gallery-list .galleryPrice,
    .gallery-list .galleryPrice2,
    .gallery-list .galleryListingPrice,
    .gallery-list .storeOwnerEditDiv
    {
         max-width:175px;

    }
    .ecomm .designGalleryFrameDiv, .ecomm .designGalleryFrame
    {
        height:674px;
    }

    .sizecharttableleftcell {
        min-width:63px;
    }

    .sizecharttablecell, .sizecharttabletopcell {
        min-width:19px;
    }

    .smsButtonDiv {
        font-size:24px;
    }

    #smsButtonSpinner {
        left:131px;   
    }
}

@media (max-width:399px) {

    .clearbutton
    {
        font-size: 0.8em;
    }

    .itemtouchupserviceheader, .itemtouchupservice
    {
        width:266px;
    }

    .itemtouchuptext
    {
        font-size:16px;
    }

    .itemtouchupcheckboxtext
    {
        font-size:13px;
    }

    .signupbox
    {
        width: 186px;
    }

    .ecomm .managedPage .buttonGrid.buttonGrid {
        font-size: 4em;
    }

    .filterBox fieldset .filterContainer label {
        margin-top: 0.25em;
        margin-bottom: 0.25em;
    }

    .galleryPage > aside.open {
        width: 100%;
        right: 0;
    }

    .galleryPage > aside.open .maintain-visibility {
        width: auto;
        left: 0;
        right: 0;
    }

    .galleryPage > aside.open > header {
        top: 0;
        left: 0%;
        right: 0.5em;
        transform: rotate(0);
        position: relative;
    }

    .galleryPage > aside.open > header h1 {
        margin: 0.25em;
        border-bottom-left-radius: 3px;
        border-bottom-right-radius: 3px;
    }

    .gallery-list li
    {
        min-width:150px;
    }

    .galleryimage, .largeGalleryImage, .mediumGalleryImage, .smallGalleryImage, .smallerGalleryImage, .smallestGalleryImage
    {
        max-width:150px;
        min-height:67px;
    }

    .gallery-list .galleryDesignName,
    .gallery-list .galleryProductName,
    .gallery-list .galleryProductBrand,
    .gallery-list .galleryStorefrontName,
    .gallery-list .galleryPrice,
    .gallery-list .galleryPrice2,
    .gallery-list .galleryListingPrice,
    .gallery-list .storeOwnerEditDiv
    {
         max-width:150px;

    }

    .ecomm .designGalleryFrameDiv, .ecomm .designGalleryFrame
    {
        height:635px;
    }

    .faqVideo {
        width: 286px;
        height: 160px;
    }

    .faqImage {
        width: 286px;
    }

    .freeship, .freeShipSecondary
    {
        font-size: 13px;
    }

    /*Gift Cards page*/
    .giftcardspage table {
        width: 100%;
    }

    .leftsignin input[type=email], .leftsignin input[type=password], .leftsignin input[type=text],
    .rightsignin input[type=email], .rightsignin input[type=password], .rightsignin input[type=text]
    {
        width:184px;
    }

    #ddthumbnailarea {
        width:101%;
        margin-left:-0.5%;

    }

    /*Design details*/
    #swatchfrontThumbnailContainer, #swatchbackThumbnailContainer {
        display:inline-block;
    }

    /*Product Details Page*/
    .productMatchItem
    {
        width:95px;
    }

    /*Checkout stage 1*/
    .checkoutstage1page {
        width: 308px;
    }
    .chooseshippingaddress {
        margin-top: 5px;
    }
    #AmazonPayButton2.amazonpaybutton {
        margin: 0;
    }
    #AmazonPayButton {
        float: left;
        margin: 5px 0;
    }
    #checkout_btn
    {
        margin-right:4px;
    }
    .switchtoamazonwrap {
        margin-top:5px;
    }

    /*Checkout stage 2 This is still used on the receipt page!!*/
    .checkoutstage2page {
        width:308px;
    }
    .items, .billto, .shipto, .ordersummary {
        width: 286px;
        margin: 11px 0 10px 0;
    }

    .items {
        display:none;
    }
    .rightsignin, .leftsignin, .benefit {
        width: 286px;
    }

    /*Product category top level*/
    .productGalleryPage.allProductCategories > header h2 {
        text-align: center;
    }

    .avs_left {
        top: initial;
        position: initial;
        left: initial;
    }
    .avs_right {
        float: left;
        position: initial;
        border-left: initial;
    }

    /*Sign in or up page*/
    .signinup {
        width:inherit;
    }

    /*Shopping cart*/

    .btnright, .amazonpaybutton {
        margin-top:10px;
        margin-bottom:10px;
    }
    .spinner {
        padding-left: 0;
        padding-top: 0;
    }
    .spinner, .spinner img {
        width:86px;
        height:86px;
    }
    .artworkForReferenceOnly {
        width: inherit;
        display: none;
    }

    /*Order Complete Page*/
    .ordercompletepage {
        width:308px;
    }

    /*Save edit design info*/
    .savedesignpage {
        width:308px;
    }

    /*Error page*/
    .errorPage {
        width:308px;
    }
    #http_error_img {
        width:308px;
    }

    .orderHistoryTrackingAnchor
    {
        display: none;
    }

    .mobileTrackingAnchor
    {
        display: inherit;
    }

    .productSwapTabContainer,
    {
        width: 306px;
    }

    .productSwapTabContainer,
    .ddTabContainer.reviews #review_header .overall,
    .ddTabContainer.reviews #review_header .graph,
    .ddTabContainer.reviews #review_header .stars,
    .ddTabContainer.reviews #review_header .percentage
    {
        zoom: 0.79;
    }

    .ddTabContainer.shopperapproved_product_summary #product_page .paging {
        height: auto;
    }

    .ddTabContainer.shopperapproved_product_summary #product_page .paging #sa_sort {
        margin-top: 1em;
    }

    ul.ddtabs li {
        padding:0 0.5em 0 0.5em;
        font-size:12px;
    }

    .groupDiscountPricingBox
    {
        font-size:12px;
    }

    a[bubbletooltip]:after, a[bubbletooltip-design-owner]:after, a[bubbletooltip]:before, a[bubbletooltip-design-owner]:before
    {
        display:none;
    }

    .designDetailsStep1
    {
        padding:10px;
    }

    #Payment_Card_Number{
        width:172px;
    }

    .pac-item
    {
        font-size: 12px;
    }

    .emaildesignpage .savedesignimage img {
        width: 306px;
    }

    .emaildesignpage .emaildesignlonginput {
        width: 200px;
    }

    .emaildesignpage .emaildesignshortinput {
        width: 150px;
    }

    .galleryOptionMatchingDesigns
    {
        padding-top: 40px;
    }

    .socialButtonsMedium
    {
        padding-top:6px;
        width:110px;
    }

    #emailOverlayInnerDiv
    {
        width:248px;
    }

    #emailOverlayHeader
    {
        margin:14px 0 6px 0;
    }

    #emailOverlayInput
    {
        width:230px;
        margin-top:16px;
    }

    #emailOverlaySubmitButton
    {
        width:248px;
    }

    #emailOverlayCloseLink
    {
        margin-top:18px;
    }

    #emailOverlayInfoText
    {
        margin-top:8px;
    }

    .promoCodeEnter
    {
        width:205px;
    }

    .freeShip
    {
        font-size:15px;
    }

    .shippingScheduleTable
    {
        font-size:10px;
    }

    #footercolumns
    {
        width:260px;
        justify-content:flex-start;
        margin-left:auto;
        margin-right:auto;
        padding-left:0;
    }

    .footercolumn
    {
        width:260px;
        padding-left:0;
        padding-right:0;
    }

    .helpfulInfo {
        order:1;
    }

    .coolStuff {
        order:2;
    }

    .whyShopHere {
        order:3;
    }

    .mailingListSignUp
    {
        width:260px;
        margin-left:auto;
        margin-right:auto;
        padding:0;
    }

    .signupbox {
        width:240px;
    }

    .signupbutton
    {
        margin-bottom:8px;
    }

    .storefrontUrl
    {
        display:block;
        max-width: 320px;
        overflow-x: hidden;
        margin-left:auto;
        margin-right:auto;
    }

    #storefront_redeem thead
    {
        font-size:12px;
    }

    .ecomm .clearbutton, .ecomm .clearbuttonTrue
    {
        padding:5px;
    }
}

/* Scrolling modifications to make address bar auto hide work on phones */
@media (max-width:850px) and (max-device-width:850px) and (orientation: landscape), (max-width:480px) and (max-device-width:480px) and (orientation: portrait) {

    .ecomm {
        width:100%;
        overflow-x:hidden;
    }

    .ecomm .page .content {
        overflow-y: visible;
        overflow-x: visible;
    }

    .ecomm .mobileannouncement,
    .fast .mobileannouncement
    {
        line-height:24px;
        height:24px;
    }

    .ecomm .page .content {
        margin-top:73px;
    }

    .ecomm .page .noMarketingMessage {
        margin-top:42px;
    }

    .ecomm .page > header {
        position:fixed;
        width:100%;
        z-index:9001; /* obligatory over 9000 comment */
        margin-top:24px;
        transition-duration: 0.25s;
    }

    .ecomm .page > .marketingMessage {
        position:fixed;
        width:100%;
        z-index:99;
    }

    .ecomm .page > header.scrollState {
        margin-top: 0;
    }

    .ecomm .page > header.noMarketingMessage {
        margin-top:0;
    }

    .ecomm .page > header .logoBar .hamburger,
    .ecomm .page > header .toolBar i {
        font-size: 1.5rem;
    }

    .ecomm .page > header .searchBox button
    {
        font-size: 1.2rem;
    }

    .ecomm .page > header.scrollState .siteLogo img,
    .ecomm .page > header .siteLogo img {
        max-height: 1.5rem;
    }

    .ecomm > aside
    {
        position:fixed;
        z-index:9001; /* obligatory over 9000 comment */
        background-color:white;
        width:250px;
        height:100%;
    }

    .ecomm > #sideMenuToggle + aside + section {
        transition-duration: 0.25s;
    }

    .ecomm > #sideMenuToggle:checked + aside + section {
        transition-duration: 0.25s;
        margin-left: 250px;
    }

    #openChatWidget div {
        bottom:78px;
        right:25px;
        padding:10px;
        width:24px;
        height:24px;
    }

    #openChatIcon {
        font-size:24px;
    }

    #openChatText {
        display:none;
    }

    #loadingChatDiv
    {
        right:15px;
        bottom:15px;
        width:auto;
        height:auto;
        z-index:99;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

    #loadingChatDiv div
    {
        margin-top:0px;
    }

    .ecomm .page .storefrontAdminBar
    {
        margin-top:49px;
    }

    .ecomm .page .noTopMargin
    {
        margin-top:0;
    }

    #addToCartOverlayCloseDiv, #uploadLogoOverlayDiv, #advancedSettingsOverlayDiv
    {
        top:40px;
    }
}

/*Font related stuff for phones*/
@media (max-device-width:640px) {
    .ddcustomizeitbox {
        font-size: 16px;
    }
    .pagenav ul.pagination {
        font-size:16px;
        line-height:28px;
    }
    .pagenav ul.paginationA01 li a {
        padding:2px 4px 2px 4px;
    }
    .storefront_avatar {
        font-size:16px;
    }
    #storefront_owner {
        font-size:16px;
    }
}
