@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Inter:wght@300;400;500&display=swap');

body p {
    font-family: 'Inter', sans-serif; 
    letter-spacing: 0.4px; 
    font-size: 0.8em;
    padding: 0;
    margin: 0;
}
h1, h2, .raleighphotographer, #navbox .menu { 
    font-family: 'Playfair Display', serif; 
    font-weight: 400; 
    letter-spacing: 1px; 
}
h1 { font-size: 120%; color: #999999; text-align: center; }
h1 b { font-size: 120%; color: #bbb; }
h2 { font-size: 110%; color: #999; text-align: center; }
p { margin-bottom: 15px; text-align: left; line-height: 1.5em; }
a { text-decoration: none; color: #fafafa; }
a:hover { text-decoration: underline; color: #800; }
a.back { text-decoration: none; color: #cccccc; font-size: 0.9em; }
a.back:hover { text-decoration: none; color: #6B0F1A; }
iframe { width: 100%; min-height: 500px; }
.dbred { color: #6B0F1A; }
div.bulletsep { 
    padding: 40px 0 20px 0;
    font-size: 18px; 
    color: #CCCCCC; 
    letter-spacing: 20px; 
}
li { padding-bottom: 3px; }
#body {
    margin: 0px auto;
    padding: 0px 17px 10px 17px;
}
#header {
    white-space: nowrap;
    margin: 0;
    padding: 0;
    display: table;
    width: 100%;
    height: 80px;
    position: fixed;
    z-index: 10000;
    background-color: #fff;
}
#header #navOFF, #header #navON {
    z-index: 1000;
}
.menuICON a { padding-right: 10px; }
#header #navOFF .menuICON a, #header #navON .menuICON a { color: #333; }
#header #navOFF .menuICON a:hover, #header #navON .menuICON a:hover { color: #800; text-decoration: none; }

#header .raleighphotographer {
    margin: 0 auto;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
    min-width: 300px;
}
#header .raleighphotographer img {
    max-width: 80%;
}

#header .logo {
    position: absolute;
    top: 0;
    left: 0;
    float: left;
    max-width: 100px;
    margin: 5px 5px 0;
}
#header .menuICON {
    color: #999;
    position: relative;
    float: right;
    margin-top: -90px;
    padding: 20px 20px 0 0;
    text-align: center;
    max-width: 100px;
}
#header .menuICON a { font-size: 20px; }
#header .menuICON span { font-size: 12px; }

#header .menuMAG {
    position: relative;
    float: right;
    margin-top: -40px;
    padding: 10px 25px 0 0;
    color: #999999;
}
#header .menuMAG a { opacity: 0.5; color: #FFFFFF; }
#header .menuMAG a:hover { opacity: 0.8; color: #FFFFFF; }

#header #navbox { 
    border-top: 1px solid #999999;
    display: table;
    margin-bottom: 1.0em;
    width: 100%;
    clear: both; 
    padding-bottom: 5000px;
}
#header #topnav {
    float: left;
    width: 50%;
    min-width: 200px;
}
#header #topnav-rightcol {
    display: block;
    float: left;
    width: 20%;
    min-width: 200px;
    color: #fafafa;
}
#header #topnav .menu {
    font-size: 1.2em;
    font-style: italic;
    color: #333;
    border-bottom: 1px solid #333;
    margin-left: 45px;
    display: table;
}
#header #topnav .menu ul li hr {
    border-top: 1px solid #333333;
}
#topnav ul {
    list-style: none;
    margin: 0; 
    padding: 0;
    margin-left: 40px;
    margin-top: 10px;
}
#topnav ul li a {
    display: inline-block;
    font-size: 1em;
    color: #333;
    padding: 0.2em 0 0.1em 0;
}
#topnav ul li a:hover {
    color: #800;
}

ul#clientlist {
    border-left: 1px solid #999999;
    list-style: none;
    margin: 0; 
    padding: 0;
    margin-top: 10px;
}
ul#clientlist li {
    margin-left: 20px;
    padding: 5px;
}

#clientlist-submenu {
    float: left;
    text-align: left;
    max-width: 28%;
    margin-left: 10px;
}
#clientlist-submenu h1 {
    font-size: 0.9em;
    text-align: left;
    padding-bottom: 10px;
    border-bottom: 1px solid #cccccc;
    margin-bottom: 10px;	
    color: #666666;
    margin-top: 0;
    padding-top: 0;
}
#clientlist-submenu b {
    color: #333333;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.0em;
}
#clientlist-submenu ul {
    padding-left: 0;
    list-style-type: none;
    margin-top: 40px;
}
#clientlist-submenu ul li {
    padding: 6px 0 16px;
    color: #333333;
    white-space: nowrap;
}
#clientlist-submenu i {
    color: #999999;
    font-weight: normal;
}
#clientlist-submenu a {
    color: #880000;
    font-weight: lighter;
    text-decoration: none;
    font-size: 1.0em;
    text-align: left;
}
#clientlist-submenu a:hover {
    color: #333333;
    text-decoration: none;
}

#main {
    clear: both;
    background-attachment: fixed;
    background-position: top center;
    padding-bottom: 50px;
    padding-top: 90px;
}
div.content, .content-white, .content-black, .content-grey {
    clear: both;
    padding: 20px 5% 35px;
}
div.content p, .content-white p, .content-black p, .content-grey p {
    margin: 0 auto;
    padding-bottom: 15px;
    text-align: center;
    width: 80%;
    max-width: 1200px;
}
div.content-white { 
    background: #fafafa; 
    color: #666666; 
}
div.content-white a { color: #666666; }
div.content-white h2 { color: #666666; }
div.content-white a:hover { color: #6B0F1A; text-decoration: none; }

div.content-grey { 
    background: #dddddd; 
    color: #333333; 
}
div.content-grey a { color: #333; }
div.content-grey h1, div.content-grey h2, div.content-grey h3 { color: #333333; }
div.content-grey a:hover { color: #800; text-decoration: none; }

div.content-black { 
    background: #333333; 
    color: #CCCCCC; 
}
div.content-black a { color: #EEEEEE; }
div.content-black h2 { color: #DDDDDD; }
div.content-black a:hover { color: #fafafa; text-decoration: none; }

.content-white hr, .content-black hr { 
    border: 1px solid #555555; 
    height: 0.01em; 
}

.center, .more {
    margin: 40px auto 10px;
    text-align: center;
}
.more a {
    font-size: 1.0em;
    font-weight: normal;
    padding: 5px 20px;
    border-radius: 15px;
}
div.content-white div.more a {
    color: #999999;
    border: 1px solid #999;
}
div.content-white div.more a:hover {
    color: #222222;
    background-color: #999999;
    border: 1px solid #222222;
    text-decoration: none;
}
div.content-grey div.more a {
    color: #dddddd;
    background-color: #333333;
    border: 1px solid #999999;
}
div.content-grey div.more a:hover {
    color: #eee;
    border: 1px solid #eee;
    text-decoration: none;
}
div.content-black div.more a {
    color: #999;
    background-color: #333;
    border: 1px solid #999;
}
div.content-black div.more a:hover {
    color: #eee;
    border: 1px solid #eee;
    text-decoration: none;
}
div.content-slider div.more a {
    position: absolute;
    bottom: -140px;
    color: #999;
    background-color: #333;
    border: 1px solid #999;
}
div.content-slider div.more a:hover {
    color: #eee;
    background-color: #333;
    border: 1px solid #eee;
    text-decoration: none;
}
#book {
    position: fixed;
    bottom: 40px;
    width: 100%;
    text-align: center;
}
#book a {
    margin: 0 auto;
    font-size: 110%;
    padding: 5px 20px;
    border-radius: 15px;
    opacity: 0.5;
    color: #fafafa;
    background-color: #999;
    border: 2px solid #fafafa;
}
#book a:hover {
    opacity: 1.0;
}
#footer { 
    position: fixed;
    color: #999;
    bottom: 0;
    text-align: center;
    width: 100%;
    padding: 10px;
    background-color: #000;
    border-top: 1px solid #999;
}
#footer a { color: #dddddd; }
#footer a:hover { color: #ffffff; }

div.content-slider {
    background-color: #111;
    margin: 0;
    padding: 0;
    position: relative;
}
div.content-slider div.slide {
    width: 100%;
    margin: 0 auto;
    background-color: #111;
    text-align: center;
    display: none;
}
div.slide a.prev, div.slide a.next {
    height: 65px;
    width: 43px;
    top: 50%;
    margin-top: -30px;
    opacity: 0.6;
    cursor: pointer;
    color: #fafafa;
    padding-top: 20px;
    font-size: 35px;
    font-weight: bold;
    text-decoration: none;
    background: #666;
    position: absolute;
}
div.slide a.prev:hover, div.slide a.next:hover {
    opacity: 1;
    text-decoration: none;
}
div.slide a.prev { left: 0; }
div.slide a.next { right: 0; }
div.slide img {
    max-width: 100%;
    min-width: 600px;
}
div.slide .more {
    width: 100%;
    margin: 0 auto;
    bottom: 20px;
    text-align: center;
}
div.slide .more a {
    font-weight: normal;
    padding: 5px 20px;
    border-radius: 15px;
    text-decoration: none;
    opacity: 0.8;
    font-size: 150%;
    background-color: #999;
    border: 1px solid #111;
    color: #111;
}
div.slide .more a:hover {
    background-color: #333;
    border: 1px solid #fafafa;
    color: #fafafa;
    opacity: 0.8;
    text-decoration: none;
}

/* Gallery Teaser */
.gallery-teaser {
    text-align: center;
    margin-bottom: 50px;
}
.gallery-teaser p {
    max-width: 70%;
    font-size: 1rem;
    font-weight: 100;
    color: #999;
    margin: 20px auto;
}
.gallery-teaser h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin: 20px;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.gallery-item {
    position: relative;
}
.gallery-card {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}
.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    display: block;
}
.grid-title {
    font-size: 1.1rem;
    font-weight: 300;
    color: #333;
    text-align: center;
    padding: 10px;
    margin: 0;
    background: #f9f9f9;
    border-top: 1px solid #eee;
}

.threecol {
    width: 90%;
    margin: 0 auto;
    display: table;
}
.threecol header {
    padding: 0 15px;
}
.threecol1 {
    width: 32%;
    float: left;
}
.threecol footer {
    clear: both;
    padding: 0 15px;
}
.twocol {
    max-width: 90%;
    margin: 0 auto;
    display: table;
}
.twocol1, .twocol2 {
    width: 45%;
    float: left;
    margin: 0 2%;
}
.twocol1 img, .twocol2 img, .threecol1 img {
    width: 90%;
    margin: 0 auto;
    border: 0;
}
.twocol footer {
    clear: both;
    padding: 0 15px;
}
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin-bottom: 20px;
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Latest Work */
#latestwork {
    clear: both;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 10px;
}
#latestwork-columns { 
    margin: 0 auto 25px;
    width: 90%;
    max-width: 1200px;
    background-image: url('/images/latest-cover/bg.png');
    background-size: contain;
    background-repeat: repeat-x;
    display: table;
    text-align: center;
}
#latestwork-columns .article-left, #latestwork-columns .article-right {
    margin: 0 4%;
    width: 42%;
    float: left;
}
#latestwork-columns .article {
    margin: 50px 0 100px;
    color: #999999;
}
#latestwork-columns .article h3 { 
    margin: 0; 
    padding: 0; 
    line-height: 1.2em;
    font-size: 1em;
    font-weight: lighter;
    color: #333333;
}
.feedyear {
    text-align: center; 
    padding: 5px 15px; 
    color: #AAAAAA; 
    margin: 20px auto; 
    border: 1px solid #CCCCCC;
    font-size: 20px;
    display: table;
}
.feedyear a:hover {
    text-decoration: none;	
}
#latestwork-columns .article p { 
    margin: 0; 
    padding: 0; 
    line-height: 1.2em;
    font-size: 1em;
    font-weight: lighter;
    color: #999999;
}
#latestwork-columns .article img { 
    border: 0 solid #dfdfdf;
    width: 80%;
    height: auto;
}
#latestwork-columns .article-left { text-align: right; }
#latestwork-columns .article-right { text-align: left; }
.article-left p, .article-right p { width: 100%; }
.article-left p { text-align: right; }
.article-right p { text-align: left; }
#latestwork-columns .article .date {
    margin: 10px 0 5px;
    font-size: 0.8em;
}
#latestwork-columns a {
    color: #999999;
    text-decoration: none;
}
#latestwork-columns a:hover {
    color: #333333;
    text-decoration: none;
}

/* Gallery Sets */
#gallery-head-black, #gallery-head-white { 
    padding: 5px;
    margin-bottom: 20px;
}
#gallery-head-black h1, #gallery-head-white h1 { 
    font-size: 1.1em;
    font-weight: normal;
    color: #222222;
}
#gallery-head-white {
    background-color: #fafafa; 
    color: #333333; 
}
#gallery-head-white a {
    color: #333333; 
}
#gallery-head-black {
    background-color: #222222; 
    color: #CCCCCC; 
}
#gallery-columns { 
    margin: 20px auto 0;
    width: 90%;
    max-width: 1000px;
    text-align: center;
    clear: both;
    display: table;
}
#gallery-scroll {
    float: left;
    width: 65%;
    max-width: 500px;
    margin-bottom: 10px;
}
#gallery-scroll img, #gallery-scroll video {
    width: 100%;
    padding: 0; 
    margin: 0;
}
#gallery-scroll .caption {
    text-align: left;
    background-color: #eeeeee;
    color: #666666;
    border-left: 1px solid #CCCCCC;
    border-right: 1px solid #CCCCCC;
    padding: 10px;
    margin-top: -4px;
}
#gallery-scroll .likeshare {
    padding: 4px 0 3px;
    border: 1px solid #DDDDDD; 
    height: 30px; 
    text-align: right; 
    overflow: hidden;
    margin-bottom: 50px; 
}
img.social_icon { height: 40px; width: auto; }
#gallery-scroll h2 {
    color: #999999;
}
#gallery-submenu {
    float: left;
    text-align: left;
    max-width: 28%;
    margin-left: 30px;
}
#gallery-submenu h1 {
    font-size: 0.9em;
    text-align: left;
    padding-bottom: 2px;
    border-bottom: 1px solid #cccccc;
    color: #666666;
    margin-top: 0;
    padding-top: 0;
}
#gallery-submenu ul {
    padding-left: 0;
    list-style-type: none;
    margin-top: 40px;
}
#gallery-submenu ul li {
    padding: 6px 0;
    color: #666666;
}
#gallery-submenu ul li.subhead {
    border-bottom: 1px solid #cccccc;
    margin-bottom: 8px;
}
#gallery-submenu a {
    color: #666666;
    font-weight: lighter;
    text-decoration: none;
    font-size: 1.0em;
    text-align: left;
}
#gallery-submenu a:hover {
    color: #333333;
    text-decoration: none;
}
#gallery-submenu ul.fineartinfo li {
    color: #999999;
}
#gallery-submenu ul.fineartinfo li b {
    color: #333333;
    font-weight: normal;
}

.threecol header, .threecol .threecol1, .threecol .threecol2, .threecol .threecol3 {
    margin-bottom: 5px;
}

input, select, textarea {
    font-family: "Lato", Arial, Helvetica, sans-serif;
    font-weight: 200;
    font-size: 1rem;
    line-height: 1.65;
}
form {
    margin: 0 auto;
    text-align: center;
    width: 80%;
}
input[type="text"], input[type="email"], select, textarea {
    margin: 0 auto 0.7em;
    border: 1px solid #dddddd;
    color: #666666;
    line-height: 1.1em;
    padding: 0.3em;
    text-decoration: none;
    font-weight: 400;
    display: block;
    width: 100%;
}
input[type="text"]:focus, input[type="email"]:focus, select:focus, textarea:focus {
    border-color: #960730;
}
input[type="submit"].special {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 0.2em 2em;
    border-radius: 1rem;
    background-color: #666666;
    color: #fafafa !important;
    font-weight: 400;
}
input[type="submit"].special:hover {
    background-color: #000000;
}
div.transbg {
    background-position: 50% 20%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background: none; 
}

/* Tooltip */
.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}
.tooltip span.tooltiptext {
    visibility: hidden;
    width: 300px;
    background-color: #555555;
    color: #fafafa;
    font-size: 1em;
    text-align: center;
    padding: 5px;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -160px;
    opacity: 0;
    transition: opacity 0.3s;
}
.tooltip span.tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border: 5px solid;
    border-color: #555555 transparent transparent transparent;
}
.tooltip:hover span.tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Media Queries */
@media screen and (max-width: 510px) {
    .solopic { width: 100%; height: auto; padding: 0; text-align: center; }
    #header #navbox { background-image: none; }
    #topnav ul li a { padding: 0.6em 0; }
    .nomo, #header #topnav .menu { display: none; }
    div.content p, .content-white p, .content-black p, .content-grey p { 
        left: 0 !important;
        width: 100% !important;
        padding: 0; 
        background-attachment: initial;
    }
    #footer { font-size: 1.2em; } 
}


@media screen and (max-width: 768px) {
    #main { margin: 0; padding-top: 0; }
    #latestwork-columns .article { margin-bottom: 40px; font-size: 0.8em; }
    div.content p, .content-white p, .content-black p, .content-grey p { 
        left: 0 !important;
        width: 100% !important;
        padding: 0; 
        background-attachment: initial;
    }
    #CSS_DISABLED_latestwork-columns .article span { display: block; } 
    #CSS_DISABLED_latestwork-columns .article span.bull { display: none; } 
    #header {
        position: relative;
        z-index: 10001;
    }
    #navON {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        z-index: 10002;
        background: #000;
    }
    .gallery-grid { grid-template-columns: 1fr;  /* Single column */ }
    .gallery-item img { height: auto;  /* Optional: Allows natural height scaling on mobile */ }
}

@media screen and (max-width: 700px) {
    #main { margin: 0; padding-top: 0; }
    #gallery-scroll {
        clear: both;
        width: 100%;
        margin: 0;
    }
    #gallery-scroll img {
        width: 90%;
    }	
    #gallery-submenu {
        float: left;
        width: 90%;
        font-size: 1.2em;
        margin-left: 5%;
        position: relative;
        margin-bottom: 80px;
        max-width: 90%;
    }
    div.content p, .content-white p, .content-black p, .content-grey p { 
        left: 0 !important;
        width: 100% !important;
        padding: 0; 
        background-attachment: initial;
    }
}

@media screen and (max-width: 780px) {
    #main { margin: 0; padding-top: 0; }
    #header { position: static; }
    #footer { display: none; position: static; }
    .threecol {
        width: 94%;
    }
    .threecol header {
        height: 200px;
        padding: 0 15px;
    }
    .threecol1 {
        width: 41%;
        padding: 1% 4%;
    }
    .threecol2 {
        width: 41%;
        padding: 1% 4%;
        margin: 0 0 5px 5px;
        float: right;
    }
    .threecol3 {
        clear: both;
        padding: 1% 4%;
        width: auto;
        float: none;
    }
    .threecol header, .threecol footer {
        padding: 1% 4%;
    }
    .threecol1, .threecol2, .threecol3 {
        width: auto;
        float: none;
    }
    .threecol2 {
        margin-left: 0;
    }
    .threecol footer {
        clear: both;
        padding: 0 15px;
    }
    .twocol1 {
        width: auto;
        float: none;
        padding: 5px 15px;
    }
    .twocol2 {
        width: 100%;
        float: none;
        padding: 5px 15px;
        margin: 0 5px 5px;
    }
    div.content p, .content-white p, .content-black p, .content-grey p { 
        left: 0 !important;
        width: 100% !important;
        padding: 0; 
        background-attachment: initial;
        -webkit-background-size: 2000px 1400px;
    }
}

@media screen and (max-width: 480px) {
    #main { margin: 0; padding-top: 40px; }
    #gallery-columns { margin: 0; }
    #gallery-head-black, #gallery-head-white { height: 0; display: none; }
    #gallery-scroll img { width: 95%; max-width: 95%; margin: 0; padding: 0; }
    #latestwork, #latestwork-column { margin: 0; padding: 0; }
    #header { position: static; }
    #footer { display: none; position: static; }
    .no-mobile { display: none; }
    .threecol header {
        height: auto;
    }
    .threecol h1 {
        font-size: 2em;
    }
    .threecol3 {
        display: none;
    }
    #header .logo {
        max-width: 240px;
    }
}
