/*	daylily.art Style Sheet

	Author: 	Pamela Brooks
	Date: 		2024
	Filename:       daylily-article.css
*/

@import url('https://fonts.googleapis.com/css2?family=Manjari:wght@100;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Niconne&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');

/* Styles for topic.php, newsletter.php, and blog.php. */
/* link color: #3b8ede */

html {
    /* This prevents the scrollbar from pushing centered elements to the left of the screen's center'. */
    /* "scrollbar-gutter: stable both-edges" is supposed to work, but doesn't. */
    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;
    background-image: url(../images/silk.webp);
    overflow-x: hidden;
    opacity: 1;
    transition: 0.7s opacity;
}

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

table {
    border-collapse: collapse;
    border-spacing: 0;
}

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

button::-moz-focus-inner {
    /* Prevents Firefox from padding image buttons. */
    padding: 0;
    border: 0
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile {
    /* mobile devices */
    display: none;
}

.computer {
    /* screen width > 1024 */
    display: block;
}

.tablet {
    /* max screen width = 1024, min screen width > 640 */
    display: none;
}

.phone {
    /* max screen width = 640 */
    display: none;
}

.not-phone {
    /* screen width > 640 */
    display: block;
}

.wrapper {
    width: 100%;
}

.container {
    width: 1024px;
    max-width: 100%;
    padding-top: 6px; /* The shadow at the top of the page occupies this space. */
    margin-right: auto;
    margin-left: auto;
}

.page {
    width: 1024px;
    max-width: 100%;
    height: auto;
    min-height: 100vh !important;
    min-height: 100%; /* Safari 15 (2021) recognizes 100vh, older versions do not. */
    padding-bottom: 72px;
    background-color: #ffffff;
    -webkit-box-shadow: 0 6px 6px 6px rgba(0,0,0,0.15);  /* Safari 3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
    -moz-box-shadow:    0 6px 6px 6px rgba(0,0,0,0.15);  /* Firefox 3.5 - 3.6 */
    box-shadow:         0 6px 6px 6px rgba(0,0,0,0.15);  /* Opera 10.5, IE 9, Firefox 4+, Chrome 6+, iOS 5 */
    /* NOTE: The box shadow surrounds the page. */
    /* To make the top shadow visible, 6px top padding is added to the container. */
}

.page-content {
    width: 1024px;
    max-width: 100%;
}

.banner {
    width: 100%;
    height: 120px;
    background-image: url(../blog/images/blog-banner.webp);
    background-repeat: no-repeat;
    background-position: center;
    border: 1px solid transparent; /* Keeps the top of the banner from moving down 30px. */
    border-bottom: 3px groove #eaeaea;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blog-logo {
    /* "Daylily Art Blog */
    font-family: 'Manjari', sans-serif;
    font-size: 36px;
    font-weight: 400;
    color: #000000;
    letter-spacing: .05em;
    padding: 0;
}

.blog-logo .cursive {
    /* The capital "A" in "Daylily Art". */
    font-family: 'Niconne', cursive;
    font-size: 48px;
}

.left {
    width: 168px;
}

.center {
    width: 672px;
}

.right {
    width: 132px;
    padding-left: 18px;
    padding-right: 18px;
}

.title {
    font-family: 'Questrial', sans-serif;
    font-size: 32px;
    font-weight: 400; /* Questrial has only one font weight. */
    letter-spacing: .075em;
    word-spacing: .075em;
    line-height: 32px;
}

.topic {
    /* The title of a topic page. */
    padding-top: 72px;
    padding-bottom: 30px;
}

.subtitle {
    font-family: 'Questrial', sans-serif;
    font-size: 28px;
    font-weight: 400;
    letter-spacing: .075em;
    word-spacing: .075em;
    line-height: 30px;
}

.heading {
    font-family: 'Questrial', sans-serif;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: .05em;
    word-spacing: .05em;
    line-height: 24px;
}

.subheading {
    font-family: 'Questrial', sans-serif;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: .05em;
    word-spacing: .05em;
    line-height: 22px;
}

.rule {
    border-bottom: 1px solid #ababab;
}

.spiral {
    /* #3b3b3b */
    -webkit-filter: invert(16%) sepia(1%) saturate(0%) hue-rotate(154deg) brightness(91%) contrast(76%);
    filter: invert(16%) sepia(1%) saturate(0%) hue-rotate(154deg) brightness(91%) contrast(76%);
}


/* Center column: BLOG ARTICLE */
/* SEE blog/subroutines/display_article. */

.article {
    /* SEE blog/subroutines/display-article.php */
    padding-top: 36px;
}

.preview {
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
}

.preview-height {
    height: 24px;
}

.byline {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 300;
}

.textfile {
    width: 100%;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #000000;
    letter-spacing: .025em;
    word-spacing: .05em;
    line-height: 24px;
}

.image {
    width: 100%;
    max-width: 100%;
    position: relative;
    left: 50%; right: 50%;
    transform: translateX(-50%); /* Safari */
    padding-top: 18px;
    padding-bottom: 12px;
}

.caption {
    font-size: 14px;
    padding-top: 9px;
    line-height: 20px;
}


/* Center column: LIST OF BLOG ARTICLES with images and paragraphs */
/* SEE blog/subroutines/display_articles, blog/subroutines/display-search-results.php. */

.articles {
    /* SEE blog/subroutines/display-articles.php */
    padding-top: 36px;
}

.featured-image {
    /* Featured images are 600px wide and 400px high and stored in the blog/images directory. */
    /* SEE blog/subroutines/display-articles.php, blog/subroutines/display-search-results.php. */
    width: 40%;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
}

.synopsis {
    width: available;
    vertical-align: top;
    padding: 0;
    margin: 0;
}

.synopsis .heading {
    padding-bottom: 6px;
}

.synopsis .preview {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 18px;
    padding-bottom: 6px;
}

.synopsis .byline {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 300;
    line-height: 13px;
    padding-bottom: 18px;
}
.synopsis .paragraph {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    line-height: 20px;
    font-weight: 400;
}

.synopsis .link {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    letter-spacing: .025em;
    word-spacing: .025em;
}


/* Right column: SEARCH BAR */

.search {
    /* the search bar container */
    width: 1024px;
    height: 36px;
    position: absolute;
    top: 144px;
    left: 50%;
    right: 50%;
    transform: translateX(-50%);
}

.magnifying-glass {
    width: 26px;
    height: 26px;
    position: absolute;
    top: 6px;
    right: 42px;
}

.field {
    /* the search bar */
    width: 240px;
    height: 36px;
    display: block;
    border: 1px solid #000000;
    background-repeat: no-repeat;
    margin-right: 36px;
}

.field-input {
    /* the input */
    width: 100%;
    height: 36px;
    font-size: 14px;
    padding-left: 12px;
    padding-right: 36px;
    outline: 0;
}

input[type=text] {
    width: 100%;
    background: none;
    border: none;
    outline: 0;
}

.notice {
    color: #4caf50; /* green */
}


/* Right column */

.archive {
    padding-top: 90px;
}


/* Text styles */

.p {
    padding-top: 9px;
    padding-bottom: 9px;
}

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

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

.quote {
    font-size: 14px;
    display: inline-block;
    padding: 9px 48px 9px 48px;
}

.space {
    height: 12px;
}

.single-space {
    height: 18px;
}

.double-space {
    height: 36px;
}

.triple-space {
    height: 54px;
}


/* Copyright */

.copyright {
    margin-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){
}

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

    body {
        background-image: none;
    }
    .mobile {
        display: block;
    }
    .computer {
        display: none;
    }
    .tablet {
        display: block;
    }
    .phone {
        display: none;
    }
    .not-phone {
        display: block;
    }
    .container {
        width: 100%;
        padding: 0;
        margin: 0;
    }
    .page {
        width: 100%;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }
    .page-content {
        width: 100%;
        padding-top: 18px;
    }
    .banner {
        border: none;
    }
    .left {
        width: 7.5%;
    }
    .center {
        width: 85%;
    }
    .right {
        width: 7.5%;
        padding: 0;
    }
    .topic {
        padding-top: 36px;
        padding-bottom: 24px;
    }
    .article {
        font-size: 24px;
    }
    .articles {
        padding-top: 24px;
    }
    .search {
        width: 100%;
        top: 138px;
    }
    .magnifying-glass {
        /* This is a button in mobile devices. */
        width: 36px;
        height: 36px;
        top: 0;
        right: 18px;
        padding: 0;
        outline: 0;
        border: 0;
        background-color: transparent;
        z-index: 100;
    }
    .field {
        max-width: 80%;
        margin-right: 72px;
    }
    .field-input {
        font-size: 16px;
        padding-left: 12px;
        padding-right: 12px;
    }
    .quote {
        padding-left: 36px;
        padding-right: 36px;
    }
    .copyright {
        width: 100%;
        border-top: 1px solid #808080;
        padding-top: 12px;
    }

}

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

    .tablet {
        display: none;
    }
    .phone {
        display: block;
            }
    .not-phone {
        display: none;
    }
    .banner {
        width: auto;
        height: 60px;
        background-image: url(../blog/images/blog-banner-small.webp);
    }
    .blog-logo {
        font-size: 27px;
    }
    .blog-logo .cursive {
        font-size: 36px;
    }
    .center {
        max-width: 600px;
    }
    .title {
        font-size: 28px;
        line-height: 28px;
    }
    .topic {
        padding-top: 24px;
        padding-bottom: 18px;
    }
    .article {
        font-size: 22px;
        padding-top: 18px;
    }
    .articles {
        padding-top: 18px;
    }
    .image {
        width: 100%;
        max-width: 600px;
    }
    .textfile {
        line-height: 22px;
    }
    .caption {
        line-height: 18px;
    }
    .synopsis .title {
        font-size: 22px;
    }
    .synopsis .preview {
        font-size: 15px;
    }
    .synopsis .paragraph {
        font-size: 14px;
    }
    .search {
        top: 60px;
    }
    .quote {
        padding-left: 24px;
        padding-right: 24px;
    }
    .copyright {
        width: 100%;
        border-top: 1px solid #808080;
        padding-top: 12px;
    }

}

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