/*	daylily.art Style Sheet

	Author: 	Pamela Brooks
	Date: 		2020
	Filename:       daylily.css
*/

@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Questrial&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Niconne&display=swap');

/* Styles for about.php, contact.php, gallery.php, store.php. */
/* link color: #3b8ede */

html {
    /* Prevents the scrollbar from pushing centered elements to the left of the screen's center'. */
    width: 100vw;
    /* Prevents Mobile Safari from increasing font sizes in landscape orientation: */
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    background: #ffffff;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    color: #000000;
    letter-spacing: .025em;
    word-spacing: .05em;
    line-height: 24px;
    overflow-x: hidden;
    opacity: 1;
    transition: 0.7s opacity;
}

body .fade {
    opacity: 0;
    transition: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    border: 0;
}


/* General */

.phone {
    display: none;
}

.wrapper {
    width: 100%;
}

.container {
    /* SEE about.php, contact.php, gallery.php, store.php. */
    width: 1024px;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
}

.left {
    /* Menu column. */
    /* SEE about.php, contact.php, gallery.php, store.php; also index.php. */
    width: 256px; /* 25% of 1024 is 256 */
    float: left;
}

.right {
    /* Content column. */
    /* SEE about.php, contact.php, gallery.php, store.php; also index.php. */
    width: 768px; /* 75% of 1024 is 768; the left and right margins are (1024 - 768)/2 = 128 */
    float: right;
}

.free-shipping {
    /* SEE subroutines-cart/display-cart.php. */
    font-family: 'Comfortaa', sans-serif;
    font-size: 20px;
    font-weight: 500;
}

.background-gradient3 {
    /* background for free shipping at 25% opacity */
    background-color: #4caf5025;
    background-image:-moz-linear-gradient(left, #ffffff 0, #4caf5025 5%, #4caf5025 90%, #ffffff 100%);
    background-image:-webkit-linear-gradient(left, #ffffff 0, #4caf5025 5%, #4caf5025 90%, #ffffff 100%);
    background-image:-o-linear-gradient(left, #ffffff 0, #4caf5025 5%, #4caf5025 90%, #ffffff 100%);
    background-image:-ms-linear-gradient(left, #ffffff 0, #4caf5025 5%, #4caf5025 90%, #ffffff 100%);
    background-image:linear-gradient(left, #ffffff 0, #4caf50525 5%, #4caf5025 90%, #ffffff 100%);
}


/* Gallery and store pages (gallery.php, store.php) */

.gallery-content, .store-content {
    /* Keeps the copyright below the screen. */
    min-height: 100%; /* Safari 15 (2021) recognizes 100vh, older versions do not. */
    min-height: 100vh !important;
    max-width: 600px;
}

.gallery-title, .line-title {
    /* The title of a gallery (gallery.php) or product line (store.php). */
    /* Also, the word "Storefront" on the storefront page (store.php). */
    font-family: 'Comfortaa', sans-serif;
    font-size: 24px;
    color: #3b8ede;
    letter-spacing: .05em;
    text-transform: uppercase;
    position: relative;
    left: 50%; right: 50%;
    transform: translateX(-50%);
    margin: 0;
    padding-top: 66px;
}

    .gallery-title a, .line-title a {
        color: #3b8ede;
        text-decoration: none;
    }

    .gallery-title a:hover, .line-title a:hover {
        color: #3b8ede;
        text-decoration: underline;
    }
    
.storefront {
    padding-top: 66px;
}

.artworks, .items {
    /* The column of artworks or items on a gallery or store page. */
    width: 100%;
}

.artwork, .item {
    /* An artwork or item on a gallery or store page. */
    /* Used separately for the title and the image to prevent a double underline (SEE subroutines/display_storefront). */
    width: 600px;
    position: relative;
}

.item-spacing {
    /* Padding accommodates message text on product line pages. */
    /* SEE subroutines-store/display-line.php. */
    padding-top: 6px;
}

.artwork-image:last-child, .item-image:last-child {
    margin-bottom: 0;
}

.artwork .title, .item .title {
    /* The artwork and item titles on a gallery or product line pages.  They link to the artwork and item pages. */
    width: 100%;
    font-family: 'Comfortaa', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #3b8ede;
    letter-spacing: .05em;
    padding-bottom: 4px;
}

    .artwork .title a, .item .title a {
        color: #3b8ede;
        text-decoration: none;
    }

    .artwork .title a:hover, .item .title a:hover {
        color: #3b8ede;
        text-decoration: underline;
    }

.artwork .rollover, .item .rollover {
    /* The item title rollover on the storefront page. */
    /* On a product line page, the title rollover is displayed only when no prints are available.) */
    font-family: 'Comfortaa', sans-serif;
    font-size: 14px;
    line-height: 36px; /* the height of a double-space */
    color: #000000;
    letter-spacing: .05em;
    opacity: 0;
    visibility: hidden;
}

    .artwork:hover .rollover, .item:hover .rollover {
        opacity: 1;
        visibility: visible;
        -webkit-transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
        -moz-transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
        -ms-transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
        -o-transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
        transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    }
    
.line-break {
    /* The space between the gallery or line title and the artworks or items, as well as the space between the artworks or items. */
    /* SEE subroutines/display-gallery.php, subroutines/display-storefront.php, subroutines/display-line.php. */
    height: 30px;
}

.message {
    /* Product line pages with and without the message subheader have the same top alignment (if the first item title is on one line). */
    width: 100%;
    font-family: 'Comfortaa', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #4caf50; /* green */
    letter-spacing: .025em;
    word-spacing: .025em;
    padding-bottom: 4px;
}

.notice {
    /* On a product line page or the storefront page, the notification at the bottom, e.g., that no prints are available. *
    /* SEE subroutines/display-line.php, subroutines/display-storefront.php. */
    font-size: 16px;
}

.cart-quantity {
    /* If there are items in the cart, the number inside the shopping bag icon. */
    font-size: 12px;
    margin-top: -20px;
    text-align: center;
}


/* Gallery and store page numbers and arrows */

.pagination {
    /* Without the relative positioning and z-index, a pop-up notice will disable the link to the next or previous page. */
    position: relative;
    z-index: 100;
    font-family: 'Questrial', sans-serif;
}

.pagination ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.pagination ul:after {
    content: '';
    display: block;
    clear: both;
}

.pagination ul span {
    display: block;
}

.pagination ul li {
    display: inline-block;
    overflow: hidden;
    font-size: 18px;
    padding-left: 5px;
    padding-right: 5px;
}

.pagination ul li.active {
    color: #3b8ede;
    font-weight: bold;
}

.pagination ul li .current {
    color: #000000;
}


/* About and contact pages (about.php, contact.php) */

.about-content, .contact-content {
    min-height: 100%; /* Safari 15 (2021) recognizes 100vh, older versions do not. */
    min-height: 100vh !important;
    padding: 96px 48px 72px 48px;
}

.about-image, .contact-image {
    width: 100%;
    max-width: 1000px; /* the actual width of the image */
}

.about-image-caption, .contact-image-caption {
    padding-top: 6px;
    padding-bottom: 36px;
}

.about-header, .contact-header {
    font-size: 20px;
}


/* Other pages */

/* Index */
/* SEE css/daylily-index.css for slideshow styles. */

/* Artwork and item pages */
/* SEE css/daylily-page.css for styles. */

/* Image enlargement and Flexslider carousel (slider)) pages */
/* SEE css/daylily-image.css for styles. */


/* Popup notices */
/* SEE subroutines/privacy-notice.php and subroutines-store/store-notice.php. */

.popup-notice {
    width: 100%;
    height: 8%;
    position: absolute;
    top: 93%;
    bottom: -1%;
    left: 50%; right: 50%; transform: translate(-50%, -7.5%);
    background: linear-gradient(to bottom, transparent 0%, #000000 100%);
    color: #ffffff;
    letter-spacing: .05em;
    display: table;
    z-index: 1;
}

.popup-notice-text {
    padding-left: 24px;
    padding-right: 24px;
    line-height: normal;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.popup-logo {
    font-family: 'Manjari', sans-serif;
    font-size: 18px;
    font-weight: 400;
}

.popup-cursive {
    font-family: 'Niconne', cursive;
    font-size: 24px;
}

.popup-fade-out {
    transition: .2s ease-out;
    opacity: 0;
}


/* Text styles */

.paragraph {
    /* Paragraphs are indented 1/2 inch. */
    text-indent: 36px;
}

.block {
    /* An unindented block of text. */
}

.indent {
    /* Indented sub-paragraphs.*/
    text-indent: 36px;
}

.hanging-indent {
    /* Indented text after the first line. */
    padding-left: 36px;
    text-indent: -36px;
}

.quote {
    /* Double-indented paragraphs, such as quotations. */
    line-height: normal;
    text-indent: 0px;
    padding-left: 36px;
    padding-right: 36px;
}

.single-space {
    /* Footnotes and the bibliography are single-spaced. */
    height: 18px;
}

.double-space {
    /* Paragraphs are double-spaced. */
    height: 36px;
}

.triple-space {
    height: 54px;
}


/* Copyright */

.copyright {
    /* The width of the border top is specified inline. */
    /* SEE about.php, contact.php, gallery.php, store.php. */
    border-top: 1px solid #808080;
    margin-top: 12px;
    padding-top: 12px;
    padding-bottom: 24px;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    color: #808080;
}
    .copyright a {
        color: #808080;
        text-decoration: underline;
    }
    .copyright a:hover {
        color: #000000;
        text-decoration: underline;
    }


/* Responsive */

/* Desktops */
@media screen and (min-width: 1024px){
    /* All computers with screens wide enough to display the left (menu)) and right (content) columns. */ 
}

/* Tablets Portrait or Landscape */
@media screen and (max-device-width: 1024px){

    .container {
        width: 100%;
        margin: 0;
    }
    .right {
        width: 100%;
        float: none;
    }

    /* gallery.php, store.php */
    .gallery-content, .store-content {
        width: auto;
    }

    /* about.php, contact.php */
    .about-content, .contact-content {
        width: auto;
        padding: 66px 72px 72px 72px;
    }

    .copyright {
        /* The copyright width is specified in pixels, so this is important: */
        width: 100% !important;
    }

}

/* Tablets Portrait or Landscape */
@media screen and (min-device-width: 768px) and (max-device-width: 1024px){
}

/* iPhone 6 and 6 plus Portrait or Landscape */
@media (min-device-height: 667px) and (min-device-width: 375px) and (-webkit-min-device-pixel-ratio: 3) {
}

/* iPhone 5 Portrait or Landscape */
@media (device-height: 568px) and (device-width: 320px) and (-webkit-min-device-pixel-ratio: 2) {
}

/* iPhone 4+ Portrait or Landscape */
@media screen and (min-device-width: 320px) and (-webkit-min-device-pixel-ratio: 2) {
}

/* Mobile Phones Portrait or Landscape */
@media screen and (max-device-width: 640px) {

    .computer {
        display: none;
    }
    .phone {
        display: block;
    }
    .container {
        width: 100%;
        margin: 0;
    }
    .right {
        width: 100%;
        float: none;
    }
    .free-shipping {
        font-size: 18px;
    }

    /* gallery.php, store.php */
    .gallery-content, .store-content {
        width: auto;
    }
    .gallery-title, .line-title {
        font-size: 18px;
        font-weight: 600;
        letter-spacing: .025px;
        padding-top: 6px;
        padding-bottom: 12px;
    }
    .storefront {
        padding-top: 12px;
    }
    .artworks, .items {
    }
    .artwork, .item {
        width: auto;
        padding-left: 60px;
        padding-right: 60px;
    }
    .item {
        padding-bottom: 6px;
    }
    .artwork .title, .item .title {
        font-size: 18px;
        padding-left: 0;
    }
    .artwork .rollover, .item .rollover {
        font-size: 0; /* The artwork/item rollover title is hidden in phones because it's difficult to see without activating the link. */
        line-height: 24px;
    }
    .line-break {
        height: 12px;
    }

    /* about.php, contact.php */
    .about-content, .contact-content {
        width: auto;
        font-size: 14px;
        line-height: 20px;
        padding: 12px 60px 60px 60px;
    }

    .copyright {
        /* The copyright width is specified in pixels, so this is important: */
        width: 100% !important;
    }

}

/* Mobile Phones Portrait */
@media screen and (max-device-width: 480px) and (orientation: portrait) {
}

/* Mobile Phones Landscape */
@media screen and (max-device-width: 640px) and (orientation: landscape) {
}
