/*
Theme Name: Nancy Callan Glass
Theme URI: https://nancycallanglass.com/
Author: Megan Woo
Author URI: https://meganwoo.com
Description: Custom Theme based on Betheme
Template: betheme
Version: 1.0
*/


/* global */
body {
	padding: 0 !important;
}

h1 {
	margin-bottom: 30px;
}

h1:after {
  content: "";
  display: block;
  width: 130px;
  height: 1px;
  background-color: #000;
  margin: 14px 0 0 0;
}

h5 {
	margin-bottom: 5px;
}

/* structure */
.header-open .section_wrapper, 
.header-open .container, 
.header-open.with_aside .content_wrapper {
	max-width: none !important;
	padding-left: 15px;
	padding-right: 15px;
}

/* header */
#Top_bar .text-logo #logo {
	color: #901212;
	font-size: 45px;
	line-height: 1.1;
}

#Top_bar .menu li ul li a {
	border: none;
}

#Action_bar .social li a {
	color: #081025;
}

#Action_bar .social li a:hover {
	color: #999;
}

#Top_bar .menu > li a {
	padding-bottom: 7px !important;
	padding-top: 8px !important;
}

/* nav hovers */
#Top_bar .menu > li.hover > a,
#Top_bar .menu > li > a:hover,
#Top_bar .menu > li ul li a:hover, 
#Top_bar .menu > li ul li.hover > a {
    text-decoration: none;
    background: rgba(0, 0, 0, .06) !important;
}

/* submenu */
#Top_bar .menu li ul {
	background-image: none;
	border-left: 1px solid rgba(0, 0, 0, 0.1);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08),
    0 12px 32px rgba(0, 0, 0, 0.10);
}

/* portfolio */
.style-simple #Filters .filters_wrapper ul li a {
	padding: 10px 20px;
}

.post-header .title_wrapper h1 {
	font-size: 18px;
	line-height: 1.3;
	margin-bottom: 0;
}

.post-header .title_wrapper h1:after {
	display: none;
}

.post-header .title_wrapper p {
    font-size: 14px;
    line-height: 1.3;
	margin-bottom: 0;
}

.post-nav.minimal.column {
    position: absolute;
    right: 15px;
    top: -55px;
	width: 80px;
}

.post-header {
	height: 75px;
	margin: 0;
    position: absolute;
	overflow: hidden;
    top: -75px;
	width: calc(100% - 100px) !important;
}

.single-photo-wrapper {
    max-height: calc(100vh - 100px);
}

.single-photo-wrapper .image_frame,
.single-photo-wrapper .image_wrapper {
    display: flex;
    justify-content: center;
}

.single-photo-wrapper img {
    display: block;
    height: auto;
    max-height: calc(100vh - 100px);
    max-width: 100%;
    width: auto;
}

/* installation / collab posts */

.portfolio-photo img {
	max-width: none;
	width: 100%;
}

.portfolio-photo .portfolio-item {
	margin-bottom: 15px;
}

.portfolio-photo .portfolio-item a.portfolio-item-bg {
    display: block;
    height: 600px;
    overflow: hidden;
}

.portfolio-photo .portfolio-item a.portfolio-item-bg img {
    height: 100%;
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.portfolio-photo .portfolio-item .portfolio-details .details {
	display: block !important;
	padding: 15px 15px;
}

.portfolio-photo .portfolio-item .portfolio-details .details .title {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.portfolio-photo .portfolio-item .more,
.portfolio-photo .portfolio-item .categories {
	display: none !important;
}

.portfolio-photo .portfolio-item .portfolio-details:hover .details {
	opacity: 1;
}

.mcb-item-portfolio_photo-inner {
	margin: 0;
}

.portfolio-txt {
	font-size: 1.2em;
	line-height: 1.8;
	margin-top: 45px;
}

.gallery .gallery-caption,
.wp-caption-text {
	background: none;
    color: inherit;
	font-size: 0.9em;
    padding: 10px;
	text-align: left;
}

.single-photo-wrapper .wp-caption-text {
	text-align: right;
}

.single-portfolio #Content {
	padding-top: 85px;
}

.mfp-bg {
	opacity: 1 !important;
}

/* videos */
.column_video .mcb-item-video-inner {
	margin-bottom: 15px;
}

.video-box {
	margin-bottom: 30px;
}

/* email sign up */
#email {
	height: 54px;
}

/* footer */
.grecaptcha-badge {
	visibility: hidden;
}

.footer_copy {
	font-size: 12px;
}

.copyright {
	line-height: 1.5;
}

#Footer .footer_copy .social {
	display: none;
}

#Footer .footer_copy .mcb-column-inner {
	margin-bottom: 0;
}

#Footer .footer_copy .one {
	margin-bottom: 0;
	text-align: right;
}


@media only screen and (min-width: 980px) {	
	.layout-full-width #Wrapper {
		max-width: calc(100% - 250px) !important;
		width: calc(100% - 250px) !important;
		margin: 0 0 0 250px !important;
	}
}

@media only screen and (max-width: 979px) {
	#Top_bar .text-logo #logo {
		margin-left: 20px !important;
		font-size: 32px;
	}

    .single-photo-wrapper {
        max-height: none;
    }

    .single-photo-wrapper img {
        max-height: 65vh;
    }
}


/* mobile */
@media only screen and (max-width: 767px) {	
	.post-header .title_wrapper {
		padding-left: 0 !important;
	}
	
	.post-header .title_wrapper h1:after {
	  margin: 14px auto 0 auto;
	}
	
	.portfolio-photo .portfolio-item .portfolio-details .details {
		padding: 20px;
	}
	
	img.alignright, img.alignleft, img.aligncenter {
		float: none;
	}
}


/* teeny tine phones */
@media only screen and (max-width: 360px) {	
	#Top_bar .text-logo #logo {
		font-size: 25px;
	}
	
	.post-header .title_wrapper h1 {
		font-size: 16px;
	}
	
	.post-header .title_wrapper p {
		font-size: 12px;
	}

}


/* Better viewport handling on mobile browsers */
@supports (height: 100dvh) {
    .single-photo-wrapper img {
        max-height: calc(100dvh - 100px);
    }
}