/*
Theme Name: Graphic Detail
Description: Graphic Detail Proprietary Theme &copy; 2019
Author: Graphic Detail
Version: 3.104

/* STYLES RESET */
* { margin: 0; padding: 0; box-sizing: border-box;}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}

/* IE Fix */
a img{border:none;}

/* Remove placeholder text in inputs when they get focus. */
input:focus::-webkit-input-placeholder { color: transparent; }
input:focus::-moz-placeholder { color:transparent; }
textarea:focus::-webkit-input-placeholder { color: transparent; }
textarea:focus::-moz-placeholder { color:transparent; }

/* CLEARFIX */
.clearfix:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
.clearfix { display: inline-block; clear: both; }
/* start commented backslash hack \*/ * html .clearfix { height: 1%; } .clearfix { display: block; } /* close commented backslash hack */

/*******************************************************/

/* BASE STYLES */

html{
	min-height:100%;
	scroll-behavior: smooth;
}

body{
	text-rendering:optimizeLegibility;
	overflow-x: hidden;
}

p, ul, ol{
	margin-bottom:1em;
}

nav ul{
	margin-bottom:0;
}

a, a:hover{
	text-decoration:none;
	transition: 0.3s;
}

nav li, nav li:hover{
	transition: 0.3s;
}

img{
	max-width:100%;
	height:auto;
}

.alignleft{
	float:left;
	margin: 0.5em 1em 0.5em 0;
}

.alignright{
	float:right;
	margin: 0.5em 0 0.5em 1em;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.hidden {
	display:none !important;
}

.container{
	width:1170px;
	max-width:100%;
	margin:0 auto;
}

#boxed_layout .container{
	width:100%;
}
/* END BASE STYLES */

/*******************************************************/

/* HEADER STYLES */

header{
	position:relative;
	z-index:9998;
}

header.sticky, header.amp-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
	z-index: 9998;
	transition:0.3s;
}

header.transparent:not(.sticky) {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9998;
}

@media(min-width:768px){
	.admin-bar header.sticky, .admin-bar header.transparent{
		top:32px;
	}
}

@media(max-width:767px){
	header.sticky.dt_only {
		position:relative;
	}

	.admin-bar header.sticky:not(.dt_only), .admin-bar header.transparent{
		top:46px;
	}
}

/* END HEADER STYLES */

/*******************************************************/

/* NAV STYLES */

#mobile_nav_container {
    z-index: 10000;
	position: absolute;
	overflow:visible;
}

nav.horizontal {
    display: flex;
}

nav.horizontal .nav_items{
	display:flex;
	flex-grow:1;
}

.nav_items{
	width:100%;
}

nav.horizontal ul {
    display: flex;
    list-style: none;
    align-items: center;
    flex-wrap: wrap;
}

nav.vertical ul {
    display: block;
    list-style: none;
}

nav.horizontal ul li{
	display:flex;
}

nav.left ul {
    justify-content: flex-start;
}

nav.center ul {
    justify-content: center;
}

nav.right ul {
    justify-content: flex-end;
}

nav.space_evenly ul {
    justify-content: space-evenly;
}

nav.space_around ul {
    justify-content: space-around;
}

nav.space_between ul {
    justify-content: space-between;
}

/* HORIZONTAL MENUS DROPDOWN SUB-MENUS */
nav.horizontal .menu-item-has-children {
	position: relative;
}

nav.horizontal ul.sub-menu li a {
	white-space: nowrap;
}

nav.horizontal ul.sub-menu{
	position:absolute;
	top:100%;
	z-index:-1;
	max-height:0;
	opacity:0;
	transition:0.5s;
}

nav.vertical ul.sub-menu{
	max-height:0;
	transition:0.5s;
}

nav ul.sub-menu{
	pointer-events: none;
	overflow:hidden;
}

nav.horizontal.megamenu ul.sub-menu{
	left:0;
	width:100%;
}

nav.horizontal:not(.megamenu) ul.sub-menu{
	display:block;
}

/* SUB-MENU ITEMS WITH "MEGA-MENU" CLASS APPLIED */
nav.horizontal li.mega-menu > ul.sub-menu {
	display: flex;
    left: 0;
    width: 100%;
}
nav.horizontal li.mega-menu.left > ul.sub-menu {
	justify-content:flex-start;
}
nav.horizontal li.mega-menu.center > ul.sub-menu {
	justify-content:center;
}
nav.horizontal li.mega-menu.right > ul.sub-menu {
	justify-content:flex-end;
}
nav.horizontal li.mega-menu.space-evenly > ul.sub-menu {
	justify-content:space-evenly;
}
nav.horizontal li.mega-menu.space-between > ul.sub-menu {
	justify-content:space-between;
}
nav.horizontal li.mega-menu.space-around > ul.sub-menu {
	justify-content:space-around;
}
nav.horizontal li.mega-menu.col-2 > ul.sub-menu li {
	width:50%;
}
nav.horizontal li.mega-menu.col-3 > ul.sub-menu li {
	width:33.33%;
}
nav.horizontal li.mega-menu.col-4 > ul.sub-menu li {
	width:25%;
}
nav.horizontal li.mega-menu.col-5 > ul.sub-menu li {
	width:20%;
}
nav.horizontal li.mega-menu.col-6 > ul.sub-menu li {
	width:16.67%;
}
nav.horizontal li.mega-menu > ul.sub-menu li:not(.mega-menu) ul.sub-menu {
    left: 0px !important;
    top: 100% !important;
}
nav.horizontal li.mega-menu > ul.sub-menu li:not(.mega-menu) ul.sub-menu li {
	width:100% !important;
}
/* ***** */

.menu-item-has-children a {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dropmenu-arrow-container, .mb_dropmenu-arrow-container{
	cursor:pointer;
}

#mobile_nav_container .dropmenu-arrow-container{
	display:none;
}

#mobile_nav_container .mb_dropmenu-arrow-container {
	position: absolute;
    top: 0;
    right: 0;
    display: inline-flex;
    align-items: center;
	justify-content: center;
	transition:0.3s;
}

/* DROP-DOWN MENU REVEALS */
nav:not(.onscreen) ul li:hover > ul.sub-menu, nav.onscreen .menu-item-has-children.active > ul.sub-menu, nav.onscreen .menu-item-has-children a.clicked + ul.sub-menu{
	overflow:visible;
	pointer-events: all;
}

nav:not(.onscreen) ul li:hover > ul, nav.onscreen .menu-item-has-children.active > ul, nav.onscreen .menu-item-has-children a.clicked + ul{
	z-index:9999;
	max-height:200vh;
	opacity:1;
	transition:max-height 1s opacity 0s;
}

.onscreen .menu-item-has-children {
    position: relative;
}

/* MOBILE MENUS */

#mobile_navbar_container{
	position: fixed;
	top:0;
	left:0;
	width: 100%;
	z-index: 9999;
}

#mobile_navbar_container .mobile_nav_icon:not(.fixed){
	display:none;
}

.onscreen{
	right:0;
	transition-timing-function:ease;
	transition:1s;
	overflow:scroll;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.close_mobile_menu_icon{
	width:100%;
	text-align:right;
	padding:10px 20px;
}

.mobile_nav_icon:not(.fixed){
	margin-left:-15px;
	margin-right:-15px;
}

.mobile_nav_icon:hover, .close_mobile_menu_icon .fa:hover{
	cursor:pointer;
}

.mobile_navbar.fix_to_top.fixed .mobile_nav_icon{
	display:none !important;
}

.horizontal.fix_to_top.fixed{
	position:fixed;
	width:100%;
	top:0;
	left:0;
	z-index:9999;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

@media(min-width:769px){
	.admin-bar .horizontal.fix_to_top.fixed{
		top:32px;
	}
}

/* END NAV STYLES */

/*******************************************************/

/* CONTENT STYLES */

main{
	position:relative;
	z-index:0;
	max-width:100%;
	overflow-x:hidden;
}

main ul, main ol{
	margin-left:25px;
}

main nav ul{
	margin-left:0px;
}

@media(min-width:769px){
	.show_on_mobile{display:none!important;}
}

@media(max-width:768px){
	.hide_on_mobile{display:none!important;}
}

@media(min-width:769px){
	.vc_sticky.fixed {
		position:fixed!important;
		top:0;
		z-index:9999;
	}

	.vc_sticky.fixed.fw{
		width:100%!important;
		left:0!important;
	}
}

.searchformcontainer input[type="submit"] {
    display: none;
}

.searchformcontainer {
    display: flex;
    align-items: center;
		justify-content: flex-end;
    background: #fff;
    width: 36px;
		margin:0 auto;
    border-radius: 10px;
		overflow:hidden;
		transition:0.3s;
}

.searchformcontainer.expanded {
		width: 250px;
		max-width:100%;
		transition:0.3s;
}

.searchformcontainer input[type="text"] {
    border: none;
	outline: none;
    width: 100%;
}

.searchformcontainer .fas.fa-search{
	cursor:pointer;
}

nav.vertical .searchformcontainer, .onscreen .searchformcontainer {
	width: 250px;
	max-width:100%;
	margin-top:10px;
}

#searchsubmit {
    display: none;
}

@media(min-width:768px){
	section.has_sidebar{
		display:flex;
		justify-content: space-between;
		flex-wrap: wrap;
	}

	section.has_sidebar article, section.has_sidebar .posts_container{
		margin:0;
	}
}

.aws-container .aws-search-form {
    align-items: center;
    height: auto;
}

.aws-container .aws-search-field {
	width: auto;
	line-height: 1em;
	font-size: 1em;
}

.search.search-results .hentry:not(:last-child) {
    border-bottom: solid 1px #000;
    margin-bottom: 1em;
}

.white_text{color:white;}

@media(max-width:767px){
	.custom_stacking_order{
		order: var(--order-gd, 0);
	}
}

/* END CONTENT STYLES */

/*******************************************************/

/* GRAVITY FORMS STYLES */

/* CLOSE UP VERTICAL SPACES BETWEEN GRAVITY FORMS FIELDS AND LABELS */

@media(min-width:641px){
	.gform_wrapper:not(.gravity-theme) .gform_body {
		padding-left: 16px;
	}
}
.gform_wrapper{
	margin-top:0 !important;
	margin-bottom:0 !important;
}
.gform_wrapper label.gfield_label + div.ginput_container,
.gform_wrapper ul li.gfield,
.gform_wrapper .field_sublabel_below .ginput_complex.ginput_container label,
.gform_wrapper .field_sublabel_below div.ginput_container[class*="gfield_time_"] label,
.gform_wrapper .gform_footer{
    margin-top:0 !important;
}
.gform_wrapper ul li.gfield{
    margin-bottom:0px !important;
}
/* GRAVITY FORMS 2.5+ */
.gform_wrapper.gravity-theme .gform_fields {
    grid-row-gap: 0px !important;
}

/* CENTER SUBMIT BUTTON AND REDUCE ITS VERTICAL PADDING */

.gform_footer{
    padding: 0px !important;
}

/* HIDE CUSTOM HONEYPOT FIELD */

.gdhp{
	width: 0px !important;
	height: 0px !important;
	padding: 0px !important;
	margin: 0px !important;
	overflow: hidden !important;
}

/* END GRAVITY FORMS STYLES */

/*******************************************************/

/* UNDERBAR STYLES */

#underbar{
	font-size:0.8em;
}

/* END UNDERBAR STYLES */

/*******************************************************/

/* BLOG POST STYLES */

.single-post article{
	padding-left:15px;
	padding-right:15px;
}

.post_content{
	position:relative;
}

.post_content.has_nav {
	padding-left:55px;
	padding-right:55px;
}

.previous_post_link, .next_post_link{
	position:absolute;
	top:0;
	display:flex;
	align-items:center;
	justify-content:center;
	height:100%;
	z-index:9999;
}

.previous_post_link{
	left:0;
}

.next_post_link{
	right:0;
}

.previous_post_link a, .next_post_link a{
	display:block;
	font-size:50px;
	padding:15px;
}

.related_posts, .archive_posts, .posts_container {
    display: flex;
    justify-content: space-between;
	flex-wrap:wrap;
}

.post_featured_image{
	margin-bottom:30px;
	text-align:center;
}

.posts_container h2{
	width:100%;
}

.post_date {
    display: block;
}

.post_title {
    display: block;
    font-size: 1.2em;
}

.meta{
	margin-bottom:1em;
}

.post_thumbnail_container {
    width: 100%;
    padding-top: 66%;
    margin-bottom: 10px;
}

.navigation{
	width:100%;
}

.single-post main .vc_row{
	margin-left:-15px;
	margin-right:-15px;
}

/* END BLOG POST STYLES */

/*******************************************************/

/* SEARCH RESULTS PAGE STYLES */

.search-results main{
	padding-left:15px;
	padding-right:15px;
}

/* END SEARCH RESULTS PAGE STYLES */

/*******************************************************/

/* WOOCOMMERCE STYLES */

/* General */
.woocommerce main{
	padding-left:15px;
	padding-right:15px;
}

/* Product titles on category pages */
.woocommerce-loop-product__title {
    line-height: 1.3em;
}

/* Product prices on category pages */
.woocommerce ul.products li.product .price{
	font-size:1.5em;
}

/* Single Product Page Adjustments */
.pswp--open {
    z-index: 10000;
}

/* Cart Menu Item */
.cart-contents-count {
    font-size: 0.8em;
	line-height:1em;
    top: -5px;
    position: relative;
}

.wc_cart_total {
    position: absolute;
    top: -15px;
    left: 8px;
    font-size: 0;
    opacity: 0;
		transition:0.3s;
}

.wc_cart{
	position:relative;
}

.wc_cart:hover .wc_cart_total{
	font-size:1em;
	opacity:1;
	transition:0.3s;
}

.onscreen .wc_cart:hover .wc_cart_total{
	font-size:0;
	opacity:0;
}

/* Navigation Menu Cart Preview */
.gd_nav_cart_container {
    position: absolute;
    top: 100%;
    right: 0;
    max-height: 0;
    overflow: hidden;
	opacity: 0;
	transition:0.5s;
}
.gd_nav_cart{
	border-collapse: collapse;
	background:#ffffff;
	min-width: 200px;
}
.gd_nav_cart th, .gd_nav_cart td{
	border:solid 1px #cccccc;
	padding:3px 6px;
	text-align: center;
	font-size:0.8em;
	line-height:1.3em;
}
.gd_nav_cart .attachment-thumbnail.size-thumbnail {
	width: 40px;
	max-width: none;
    height: auto;
}

.desktop_nav_container .wc_cart:hover .gd_nav_cart_container{
	max-height:50vh;
	opacity:1;
	overflow:auto;
	transition:0.5s;
}

.variations_form table.variations td {
    padding: 2px 5px;
}

.sold-individually #product_total_price{
	display:none;
}

/* Checkout Page Form */
body.woocommerce-checkout main #container > .woocommerce,
body.woocommerce-cart main #container > .woocommerce {
	padding-top:35px;
	padding-bottom:35px;
}
.checkout.woocommerce-checkout .form-row label {
    line-height: 1.5;
}
.checkout.woocommerce-checkout input[type="text"],
.checkout.woocommerce-checkout input[type="tel"],
.checkout.woocommerce-checkout input[type="email"],
.checkout.woocommerce-checkout textarea{
    padding: 10px;
    border: solid 1px #ccc;
    border-radius: 5px;
}
.checkout.woocommerce-checkout .select2-container--default .select2-selection--single {
	border: 1px solid #ccc;
}
.checkout.woocommerce-checkout .select2-container .select2-selection--single {
	height: 41px;
}
.checkout.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 41px;
}
.checkout.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 41px;
}
.checkout.woocommerce-checkout #customer_details {
	margin-bottom: 35px;
}

/* END WOOCOMMERCE STYLES */

/*******************************************************/

/* PRETTYPHOTO STYLES */

.pp_top,
.pp_bottom,
.pp_left,
.pp_right,
.pp_middle,
.pp_content {
    background: none !important;
}
.pp_expand {
  display: none !important;
}
.pp_pic_holder.is-single {
  pointer-events: none;
}
.pp_pic_holder {
  width: 100% !important;
  left: 0 !important;
  height: 100%;
  top: 0 !important;
  position: fixed !important;
  z-index:10001 !important;
}
.pp_content_container {
  text-align: center;
  width: 100%;
  height: 100%;
}
.ppt {
  display: none !important;
}
.pp_top {
  display: none;
}
.pp_bottom {
  display: none;
}
.pp_social {
  display: none !important;
}
.pp_details {
  position: absolute !important;
  top: 5%;
  right: 5%;
  margin: 0 !important;
}
.pp_content {
  width: 100% !important;
  height: 100% !important;
}
.pp_left,.pp_right {
  padding: 0 !important;
  height: 100% !important;
}
.pp_fade {
  height: 100% !important;
}
#pp_full_res {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 15px;
}
#fullResImage {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
}
.pp_overlay {
  z-index: 10000 !important;
}

/**********************/

/* MISCELLANEOUS STYLES */

.screen-reader-text {
    visibility: hidden;
	position: absolute;
    width: 0;
    height: 0;
}

/* SLIDER REVOLUTION 6.5.x OFFSET FIX */
.vc_row-no-padding rs-fullwidth-wrap rs-module-wrap{
    left: 0 !important;
}

/* RETAIN FONTAWESOME FONT FAMILY FOR OLD .FA CLASS (PRE FONT AWESOME 6) */
.fa {
	font-family: fontawesome !important;
}

/* END MISCELLANEOUS STYLES */

/*******************************************************/