/*	daylily.art Style Sheet

	Author: 	Pamela Brooks
	Date: 		2020
	Filename:       daylily-image.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=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');

/* Styles for image.php, enlargement.php, slider.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: 16px;
    color: #000000;
    letter-spacing: .025em;
    word-spacing: .05em;
    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;
}

.wrapper {
    width: 100%;
}


/* Image/enlargement */

.image-container {
    width: 1024px;
    height: fit-content;
    position: relative;
    top: 0;
}

.image-content {
    max-width: 1024px; /* maximum width of the enlargement images */
    min-height: 100%;
    min-height: 100vh !important;
    padding-top: 96px;
}

.label {
    padding-top: 36px;
    padding-bottom: 36px;
}

.image-title {
    font-family: 'Comfortaa', sans-serif;
    font-size: 28px;
    font-weight: 500;
    color: #000000;
    letter-spacing: .05em;
    padding-bottom: 6px;
}

.caption {
    /* SEE enlargement.php */
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    color: #000000;
    letter-spacing: .025em;
    word-spacing: .05em;
    padding-top: 12px;
    padding-bottom: 36px;
}

.enlargement {
    width: 1000px;
    max-width: 1000px;
}


/* Flexslider carousel (slider.php) */
/* SEE subroutines/display-slider.php. */

.slider {
    width: 100%;
}

.slider-content {
    width: 100%;
    height: 100%;
}

.flexslider {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
}

.flexslider div {
    position: relative;
}

.slides {
    width: 100%;
    height: 100%;
}

.slide-title {
    font-family: 'Comfortaa', sans-serif;
    font-size: 28px;
    font-weight: 500;
    color: #000000;
    letter-spacing: .05em;
    padding-bottom: 6px;
}


/* Copyright */

.copyright {
    /* The width of the border top is specified inline. */
    /* SEE slider.php for slider copyright style. */
    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 */

/* NOTE: No responsive styles are needed for the Flexslider carousel because the link does not appear on mobile devices. */
/* SEE subroutines/display-qallery.php. */

/* Desktops */
@media screen and (min-width: 1024px){
}

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

    .image-container {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
    .image-content {
        width: 100%;
        height: auto;
        padding-top: 60px;
    }
    .image {
        width: auto;
        max-width: 100%;
        height: auto;
        padding-top: 6px;
        /* 36 (return arrow width) + 12 (left padding) + 12 (right margin) = 60 */
        /* Maximum image width: 1024 (screen width) - 120 (left and right padding) = 904px */
        padding-left: 60px;
        padding-right: 60px;
    }
    .label {
        padding-top: 24px;
        padding-bottom: 24px;
    }
    .copyright {
        max-width: 100%; /* Needed to prevent the page width from exceeding 100%. */
    }

}

/* 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) {

    body {
        letter-spacing: .25px;
        word-spacing: 1px;
    }
    .image-container {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
    .image-content {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
    .image {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    .label {
        padding-top: 18px;
        padding-bottom: 18px;
    }
    .image-title {
        font-size: 24px;
    }
    .copyright {
        width: 100%; /* Needed to prevent the page width from exceeding 100%. */
    }
}

/* 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) {
}
