/* Artfully masterminded by ZURB  */

/* -------------------------------------------------- 
   Table of Contents
-----------------------------------------------------

:: Type Ref
:: Shared Styles
:: Grid
:: Header
:: Header - Mobile
:: Footer
:: Home
:: Main
:: Moulding
:: Page-Specific
:: Template-Specific
:: Blog
:: Careers
:: Locations
:: Gravity Forms
:: Search Results
:: Gallery

*/
/* -----------------------------------------
:: Type Ref
----------------------------------------- */

/*
    Termina
        Medium
            font-family: "termina", sans-serif; font-weight: 500; font-style: normal;
        Demi
            font-family: "termina", sans-serif; font-weight: 600; font-style: normal;

    Palast Variable
        font-family: "palast-variable", sans-serif; font-variation-settings: "opsz" 160, "wght" 500;
            Weight 250–900
            Optical size 10–160

    Montserrat
        Regular
            font-family: "montserrat", sans-serif; font-weight: 400; font-style: normal;
        Italic
            font-family: "montserrat", sans-serif; font-weight: 400; font-style: italic;

*/


/* -----------------------------------------
:: Shared Styles
----------------------------------------- */

body {color: #666; font-family: "montserrat", sans-serif; font-weight: 400; font-style: normal;}

h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
    font-family: "palast-variable",sans-serif;
    font-variation-settings: 'wght' 300, 'opsz' 100;
    line-height: 1.2;
	color: #000;
}

.h1-xl {font-size: 1.625rem;}       /* 26 */
h1, .h1 {font-size: 1.5rem;} 		/* 24 */
h2, .h2 {font-size: 1.4375rem;} 	/* 23 */
h3, .h3 {font-size: 1.375rem;} 	    /* 22 */
h4, .h4 {font-size: 1.3125rem;} 	/* 21 */
h5, .h5, .gsection_title {font-size: 1.25rem;} 	    /* 20 */
h6, .h6 {font-size: 1.1875rem;} 	/* 19 */


@media print, screen and (min-width: 40em) { /* Medium and Up */
    .h1-xl {font-size: 2.5rem; }         /* 40 */
    h1, .h1 {font-size: 2.125rem;}       /* 34 */
    h2, .h2 {font-size: 1.9375rem;}      /* 31 */
    h3, .h3 {font-size: 1.8125rem;}      /* 29 */
    h4, .h4 {font-size: 1.625rem;}       /* 26 */
    h5, .h5, .gsection_title {font-size: 1.375rem;}       /* 22 */
    h6, .h6 {font-size: 1.25rem;}        /* 20 */
	
}

@media print, screen and (min-width: 64em) { /* Large and Up */
    .h1-xl {font-size: 3.375rem; }     /* 54 */
    h1, .h1 {font-size: 2.75rem;}      /* 44 */
    h2, .h2 {font-size: 2.5rem;}       /* 40 */
    h3, .h3 {font-size: 2.25rem;}      /* 36 */
    h4, .h4 {font-size: 2rem;}         /* 32 */
    h5, .h5, .gsection_title {font-size: 1.5rem;}       /* 24 */
    h6, .h6 {font-size: 1.3125rem;}    /* 21 */

}

/* 
 * Link Colors
 */
a, .breadcrumbs a {color: #101f31;}
a:hover, a:focus {}

.button {text-transform: uppercase; font-family: "termina", sans-serif; font-weight: 600; font-style: normal; letter-spacing: .5px; font-size: 0.8125rem; padding: 1.125em 1em;
    background: #b39c55;
    color: #fff;
}
.button:hover, .button:focus {background: #9f8b4c;}

.button.hollow {border-color: #b39c55; color: #b39c55;}
.button.hollow:hover, .button.hollow:focus {border-color: #9f8b4c; color: #9f8b4c;}


/*
 * Font Classes
 */
.palast-display-light-em {
    font-family: "palast-variable",sans-serif;
    font-variation-settings: 'wght' 300, 'opsz' 100;
    font-style: italic;
}
.palast-display-reg-em {
    font-family: "palast-variable",sans-serif;
    font-variation-settings: 'wght' 400, 'opsz' 100;
    font-style: italic;
}


/* -----------------------------------------
:: Grid
----------------------------------------- */

.grid-container.fluid {max-width: none;} 

.grid-container {max-width: 93.75rem;         /* 1500px */} 
.grid-container.mw-1400 {max-width: 87.5rem;  /* 1400px */} 

/* -----------------------------------------
:: Header
----------------------------------------- */

.header-announcement {background: #000; padding: 15px 30px; position: relative; text-align: center; color: #fff; font-size: 15px;}
.header-announcement a {text-decoration: underline; color: #efefef;}
.header-announcement .close-button {color: #666;}
.header-announcement .close-button:focus, 
.header-announcement .close-button:hover {color: #ddd;}

#site-header {background: #101f31; padding:16px 0 20px 0; color: #edeceb; }

#site-header .primary-nav ul {margin: 0; font-family: "termina", sans-serif; font-weight: 500; font-style: normal; text-transform: uppercase; font-size: 13px;}
#site-header .primary-nav ul li {margin: 0; display: inline-block;}
#site-header .primary-nav ul li a {display: inline-block; padding: 1rem; color: #edeceb; letter-spacing: .5px;}
#site-header .primary-nav ul li.current-menu-item > a {text-decoration: underline; text-decoration-color: #e8bf70; text-underline-offset: 4px;}



@media screen and (min-width: 64em) and (max-width: 76.875em) { /* 1024 - 1230 */
    #site-header .logo {padding: 0 .5rem;}
    #site-header .primary-nav ul {font-size: 12px;}
    #site-header .primary-nav ul li a { letter-spacing: 0; padding: 1rem .5rem;}
    #site-header .header-social-search li img {width: 24px; height: 24px;}
}

#site-header .customw-left,
#site-header .customw-right {width: 36%;}
#site-header .customw-mid {width: 28%;}

.search-toggle {display: inline-block; margin: 0; cursor: pointer;}
.search-toggle span {
	display:inline-block;
	height:30px;
	width:30px;
	background:url(../img/search-toggle.svg?ver=2.0) no-repeat center center;
    background-size: 24px 24px;
	text-indent:-9999px;
	text-align:left;
	opacity:1;
	cursor:pointer;
}
.search-toggle:focus {outline: none;}

#site-header .header-social-search {margin: 0; line-height: 1;}
#site-header .header-social-search li {margin: 0 0 0 10px; display: inline-block;}
#site-header .header-social-search li:first-child {margin-left: 0; }

#searchModal {background: rgba(0,0,0,.85); }
#searchModal .search-form-wrap {max-width: 1200px; margin: 0 auto;}
#searchModal .search-form {padding: 100px 0 5px 0;}
#searchModal .search-form .grid-x {background: #fff;}
#searchModal .search-form .search-field {border-color: #fff; box-shadow: none; margin-bottom: 0;}
#searchModal .search-form .button { margin-bottom: 0;}

#searchModal .close-button {padding-top: 20px; padding-right: 0px; font-size: 3rem; color: #9c9897;}
#searchModal .close-button:focus, 
#searchModal .close-button:hover {color: #fff;}


/* -----------------------------------------
:: Header - Mobile
----------------------------------------- */

#site-header-mobile {background: #101f31; padding: 15px 0;}

#menu-mobile-toggle {margin: 0 0 0 8px; background: url("../img/menu.svg?ver=1.0") no-repeat; float: none;} 
.search-toggle-mobile:focus,
#menu-mobile-toggle:focus {outline: none;}

.js-off-canvas-overlay {background-image: none;}

.search-toggle-mobile {display: inline-block; margin: 0 8px 0 0;}
.search-toggle-mobile span {
	display:inline-block;
	height:24px;
	width:24px;
	background:url(../img/search-toggle.svg?ver=2.0) no-repeat;
	text-indent:-9999px;
	text-align:left;
	opacity:1;
	cursor:pointer;
}

#site-navigation-mobile {padding: 15px 0;}
#site-navigation-mobile li a:focus {outline: none;}

#primary-menu-mobile li { margin: 0;  font-family: "termina", sans-serif; font-weight: 500; font-style: normal; text-transform: uppercase; font-size: 13px;}
#primary-menu-mobile li a {color: #000; padding: 1rem;}
#primary-menu-mobile li.current-menu-item > a {text-decoration: underline; text-decoration-color: #e8bf70; text-underline-offset: 4px;}


/* -----------------------------------------
:: Footer
----------------------------------------- */

.pre-footer-gold {background: #b39c55; padding: 3rem 0 2rem 0; color: #fff;}
.pre-footer-gold .title {color: #fff; font-variation-settings: 'wght' 388.0734, 'opsz' 10;}
.pre-footer-gold .text {
    color: #f8f5ee;
    font-family: "palast-variable",sans-serif;
    font-variation-settings: 'wght' 388.0734, 'opsz' 10;
    font-size: 1.0625rem; /* 17 */
}
.pre-footer-gold .button {background: #fff; color: #4f4731; width: 100%;}

@media print, screen and (min-width: 64em) { /* Large and Up */
    .pre-footer-gold .text {
        font-size: 1.1875rem; /* 19 */
        padding-right: 30px;
    }
}

#site-footer  {background: #fff; color: #282828; padding: 20px 0;}
#site-footer a {color: #282828; text-decoration: underline;}

#site-footer .privacy-yh-links {margin: 0; text-align: center; font-size: 0.9375rem;}

#site-footer .footer-social {margin: 1rem 0 0 0; text-align: center;}
#site-footer .footer-social li {display: inline-block; margin: 0;}
#site-footer .footer-social li a {display: inline-block; margin: 0 20px 0 0; }

@media print, screen and (min-width: 64em) { /* Large and Up */
    #site-footer .grid-x {
      -webkit-box-align: center;
          -ms-flex-align: center;
              align-items: center;
    }
    #site-footer .privacy-yh-links {text-align: left;}
    #site-footer .privacy-yh-links li {display: inline-block;}
    #site-footer .privacy-yh-links li {margin: 0 6px 0 0;}
    #site-footer .privacy-yh-links li:last-child {margin-right: 0;}
    
    #site-footer .footer-social {margin: 0; text-align: right;}
}

.back-to-top {
	position: fixed; 
	bottom: 10px; 
	right: 10px; 
	width: 50px;
	height: 50px;
	display:none;
	background: #000 url("../img/icon-top.svg") no-repeat center center; 
	background-size: 20px;
	color: #000;
	text-indent: -9999px;
    -webkit-border-radius:50px;
    -moz-border-radius:50px;
    border-radius:50px;
    cursor: pointer;
}
.back-to-top:hover {}

/* -----------------------------------------
:: Home
----------------------------------------- */

body.home .site-main {background: #101f31; color: #b8bcc2;}

/*
 * Home - Main Hero
 */
.home-image-hero {position: relative;}
.home-image-hero::before {
    content: '';
    z-index: 10;
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    background: linear-gradient(to bottom, rgba(16,31,49,1) 0%,rgba(16,31,49,0) 36%,rgba(16,31,49,0) 100%);
}

.home-image-hero .curve-overlay-btm img {height: 350px; object-fit: cover;}

@media screen and (min-width: 40em) and (max-width: 63.99875em) { /* Medium Only */
    .home-image-hero .curve-overlay-btm img {height: 500px; }
}
@media print, screen and (min-width: 64em) { /* Large and Up */
	.home-image-hero .curve-overlay-btm img {height: 700px; }
}



.home-intro {padding: 50px 0 34px 0;}
.home-intro .title-wrap {max-width: 985px; margin: 0 auto;}
.home-intro h1 {color: #fff; margin-bottom: 1.5rem;}
.home-intro h1.with-shwootens { 
    background-image: url("../img/shwooten-left.svg"), url("../img/shwooten-right.svg");
    background-position: left center, right center;
    background-repeat: no-repeat;
    background-size: 50px 3px;
    padding: 0 58px;
}
.home-intro .text-wrap {max-width: 985px; margin: 0 auto;}
.home-intro p {line-height: 1.66666666;}

@media print, screen and (min-width: 40em) { /* Medium and Up */
    .home-intro h1.with-shwootens { background-size: 63px 4px; padding: 0 70px; }
}

@media print, screen and (min-width: 64em) { /* Large and Up */
    .home-intro {padding: 90px 0 74px 0;}
    .home-intro h1.with-shwootens { background-size: 126px 7px; padding: 0 160px; }
    .home-intro p {font-size: 1.125rem; }
}
@media print, screen and (min-width: 100em) { /* X-Large and Up */
 
}


/*
 * Home - Featured Image (Full-Width)
 */
.home-fw-featured {background: #fff;}
.home-fw-featured .text {color: #09121d; padding: 90px 0 45px 0;}
.home-fw-featured .text .link {text-decoration: underline; color: #09121d; font-size: 1.3125rem; /*21*/ margin: 0 10px; display: inline-block}

.curve-overlay-top {position: relative;}
.curve-overlay-top img {width: 100%; max-height: 700px; object-fit: cover;}
.curve-overlay-top::before {
    content: '';
    z-index: 10;
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    background: url("../img/curve-white-top.svg?ver=2.4") no-repeat top -1px center;
    background-size: 101% auto;
}

.curve-overlay-btm {position: relative; }
.curve-overlay-btm img {width: 100%; max-height: 700px; object-fit: cover;}
.curve-overlay-btm::before {
    content: '';
    z-index: 10;
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    background: url("../img/curve-blue-btm.svg?ver=2.2") no-repeat bottom -1px center;
    background-size: 101% auto;
}


/*
 * Home - Image Blocks (Three-up)
 */
.home-blocks-three-up { }
.home-blocks-three-up .section-title {margin-bottom: 2rem;}
.home-blocks-three-up .image-block {display: block; cursor: pointer; position: relative;}
.home-blocks-three-up .image-block img {width: 100%;}

.home-blocks-three-up .image-block::before {
  content: '';
  z-index: 10;
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
    background: linear-gradient(to top, rgba(0,0,0,.4) 0%,rgba(0,0,0,0) 50%,rgba(0,0,0,0) 100%);
}


.home-blocks-three-up .link-text {
    font-family: "palast-variable",sans-serif;
    font-variation-settings: 'wght' 500, 'opsz' 10;
    margin: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    line-height: 1.2;
    padding: 30px;
    color: #fff;
    z-index: 11;
}

.home-blocks-three-up .link-text span {display: inline-block; background:url("../img/arrow-right-palast.svg") no-repeat right center; background-size: 14px 15px; padding-right: 23px;}


@media print, screen and (min-width: 64em) { /* Large and Up */
    
    .home-blocks-three-up .link-text {font-size: 1.5rem; }
    .home-blocks-three-up .link-text span {background:url("../img/arrow-right-palast.svg") no-repeat right top 9px; background-size: 14px 15px;}
}


/*
 * Home - Featured Image (2/3 Width)
 */
.home-featured-2-3 {margin: 50px 0;}
.home-featured-2-3 .buttons {margin-top: 2rem;}
.home-featured-2-3 .buttons .button {margin: 0 10px 10px 0;}
.home-featured-2-3 .text p {}

@media print, screen and (min-width: 64em) { /* Large and Up */
    .home-featured-2-3 {margin: 100px 0;}
    .home-featured-2-3 .text p {}
}


/* -----------------------------------------
:: Main
----------------------------------------- */

#main {padding: 50px 0;}

/*
 * Page Banner
 */
.page-banner {position: relative; }
.page-banner img {width:100%;}
.page-banner h1 {
	margin: 0;
	padding: 30px;
	background:rgba(255,255,255,.8);
	color: #000;
	text-align: center;
	position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
	-ms-transform: translate(-50%, -50%) ;
	-webkit-transform: translate(-50%, -50%) ;
    transform: translate(-50%, -50%); 
}

@media screen and (max-width: 39.9375em) { /* Small Only */
	.page-banner h1 {padding: 15px;}
}

.page-banner-bg {
    background-repeat: no-repeat; 
    background-size: cover; 
    background-position: center center;
}
.page-banner-bg .grad {
    background: linear-gradient(to bottom, rgba(16,31,49,1) 0%,rgba(16,31,49,0) 36%,rgba(16,31,49,0) 100%);
    position: relative;
}

.page-banner-bg .grad::before {
    content: '';
    z-index: 10;
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    background: url("../img/curve-white-btm.svg") no-repeat bottom -1px center;
    background-size: 101% auto;
}
/* extra grad and blue curve for Main Moulding */
body.page-id-16423 .page-banner-bg .grad {background: linear-gradient(to bottom, rgba(16,31,49,1) 0%,rgba(16,31,49,0) 45%,rgba(16,31,49,0) 100%);}
body.page-id-16423 .page-banner-bg .grad::before {
    background: url("../img/curve-blue-btm.svg") no-repeat bottom -1px center;
    background-size: 101% auto;
}


.page-banner-bg .grid-x {min-height: 350px;}
.page-banner-bg .text {
	text-align: center;
    padding-top: 70px;
}
.page-banner-bg .text h1 {
    margin: 0; 
    color: #fff;
    font-variation-settings: 'wght' 400, 'opsz' 100;
display: inline-block;
    background-image: url("../img/shwooten-left.svg"), url("../img/shwooten-right.svg");
    background-position: left center, right center;
    background-repeat: no-repeat;
    background-size: 63px 4px;
    padding: 0 80px;
    
}

@media screen and (min-width: 40em) and (max-width: 63.99875em) { /* Medium Only */
    .page-banner-bg .grid-x {min-height: 500px;}
}

@media print, screen and (min-width: 64em) { /* Large and Up */
	.page-banner-bg .grid-x {min-height: 610px;}
    .page-banner-bg .text h1 { 
        background-size: 92px 5px;
        padding: 0 122px;
    }
}




/*
 * Intro
 */

.breadcrumb-and-title {padding-bottom: 30px; text-align: center;}
.breadcrumb-and-title .breadcrumbs {padding-bottom: 10px;}

.breadcrumb-and-title h1.shwootens {
    font-variation-settings: 'wght' 400, 'opsz' 100;
    display: inline-block;
    background-image: url("../img/shwooten-left.svg"), url("../img/shwooten-right.svg");
    background-position: left center, right center;
    background-repeat: no-repeat;
    background-size: 63px 4px;
    padding: 0 80px;
}
@media print, screen and (min-width: 64em) { /* Large and Up */

    .breadcrumb-and-title h1.shwootens { 
        background-size: 92px 5px;
        padding: 0 122px;
    }
}

.intro-text { padding:0 0 30px 0; text-align: center;}
.intro-text:not(.no-mw) {max-width: 940px; margin: 0 auto;}

.intro-text,
.intro-text p {
    color: #434343;
    font-size: 1.125rem; 
    line-height: 1.5; 
    font-family: "palast-variable",sans-serif;
    font-variation-settings: 'wght' 336.36363, 'opsz' 10;
}

@media print, screen and (min-width: 64em) { /* Large and Up */
    .intro-text,
    .intro-text p {
        font-size: 1.25rem; 
    } 
}

.intro-links a {margin-right: 5px; }
.intro-links a:last-child {margin-right: 0;}

/* -----------------------------------------
:: Moulding
----------------------------------------- */

.moulding-sub-menu {background: #101f31; padding: 1rem 0;  text-align: center;}
.moulding-sub-menu ul {margin: 0; font-family: "termina", sans-serif; font-weight: 500; font-style: normal; text-transform: uppercase; font-size: 13px; letter-spacing: .5px;}
.moulding-sub-menu ul li {display: inline-block; margin: 0 2rem 0 0;}
.moulding-sub-menu ul li a {color: #fff;}
.moulding-sub-menu ul li:last-child {margin-right: 0;}
.moulding-sub-menu ul li.current-menu-item a {color: #fff; }

@media screen and (max-width: 39.99875em) { /* Small Only */
	.moulding-sub-menu {}
	.moulding-sub-menu ul li {margin: 0 1rem 0 0;}
}

/* Find Mouldings By */
#element_moulding-tax-filter-wrap {background: #101f31; }
#element_moulding-tax-filter-wrap span.filter-label-top {color: #fff; font-style: italic;}

/*
 * main Stock Mouldings page
 */
body.page-id-16423 #main {background: #101f31;}
body.page-id-16423 #popular-moulding-types h1 {color: #fff; text-align: center; margin-bottom: 2rem;}
body.page-id-16423 #popular-moulding-types .popular-moulding-type a {color: #fff;}
body.page-id-16423 #popular-moulding-types .popular-moulding-type a:hover {color: #ebce92;}
body.page-id-16423 #popular-moulding-types .popular-moulding-type a .type-name {}

body.page-id-16423 #all-moulding-types {background: #fff; }
body.page-id-16423 #all-moulding-types h2 {color: #000; text-align: center; margin-bottom: 2rem;}
body.page-id-16423 #all-moulding-types ul li {}
body.page-id-16423 #all-moulding-types ul li a {color: rgba(0,0,0,1); font-weight: 500;}
body.page-id-16423 #all-moulding-types ul li a span {color: rgba(0,0,0,.6); font-weight: 500;}
body.page-id-16423 #all-moulding-types ul li a:hover {text-decoration: none; }

body.page-id-16423 #mouldings-by-material h2 {color: #fff; text-align: center; margin-bottom: 2rem;}
body.page-id-16423 #mouldings-by-material a {color: #fff;}
body.page-id-16423 #mouldings-by-material a:hover {color: #fff;}

body.page-id-16423 #moulding-insp-gallery {background: #eee; }
body.page-id-16423 #moulding-insp-gallery h2 {color: #000; text-align: center; margin-bottom: 2rem;}
body.page-id-16423 #moulding-insp-gallery a {color: #000;}
body.page-id-16423 #moulding-insp-gallery a .title {
    font-family: "palast-variable",sans-serif;
    font-variation-settings: 'wght' 300, 'opsz' 100;
    font-style: italic;
    font-size: 1.5rem;
    
}

@media print, screen and (min-width: 64em) { /* Large and Up */
    body.page-id-16423 #all-moulding-types,
    body.page-id-16423 #mouldings-by-material,
    body.page-id-16423 #moulding-insp-gallery {padding: 50px 0; }
}

/* 
 * Single Profile 
 */
#yhdm-moulding_wrap.yhdm-moulding_single-profile .yhdm-primary .element_full-image { background: #f7f5ee; }
#yhdm-moulding_wrap.yhdm-moulding_single-profile .yhdm-secondary .element h2 { margin:0 0 7px 0; line-height: 1.25; font-family: "termina", sans-serif; font-weight: 500; font-style: normal; font-size: 14px; text-transform: uppercase;}
#yhdm-moulding_wrap.yhdm-moulding_single-profile .yhdm-secondary .element_wishlist {background: #f7f5ee;}


/* 
 * Single Design Guide 
 */
#yhdm-moulding_wrap.yhdm-moulding_single-design-guide {padding-top: 15px;}

/* 
 * Wishlist
 */
.main-mouldings-section#wishlist table.wishlist {}
.main-mouldings-section#wishlist table.wishlist tbody {background-color: #fefefe; }
.main-mouldings-section#wishlist table.wishlist tbody tr {border-bottom: 0; border-bottom: 1px solid #f1f1f1; background-color: #fefefe; }
.main-mouldings-section#wishlist .button {letter-spacing: .5px; font-size: 13px;}

/* -----------------------------------------
:: Page-Specific
----------------------------------------- */

/*
 * Home
 */
.home-blocks {}
.home-blocks .home-block img {margin: 0 0 1rem 0;}
.home-blocks .home-block-links h2 {margin: 0 0 1rem 0;}
.home-blocks .home-block-links h2 a {color: #000;}
.home-blocks .home-block-links h2 a:hover {text-decoration: underline;}

/*
 * 
 */


/*
 * Contact Us / Request a Quote
 */
#sidebar-contact .callout {border-color: #fff; background: #f7f5ee;}
#sidebar-contact .callout strong {font-family: "termina", sans-serif; font-weight: 600; font-style: normal; text-transform: uppercase; font-size: 13px; letter-spacing: .5px; }
#sidebar-contact .store-hours {margin-bottom: 0;}
#sidebar-contact .location-hours-table {width: auto; border: none; background: none;}
#sidebar-contact .location-hours-table tbody,
#sidebar-contact .location-hours-table tr {border: none;}
#sidebar-contact .location-hours-table th {text-align: left; font-weight: normal; border: none; padding: 1px 10px 1px 0;}
#sidebar-contact .location-hours-table td {text-align: left; border: none; padding: 1px 0;}
#sidebar-contact .current-dow {font-weight: bold !important;}

@media print, screen and (min-width: 64em) { /* Large and Up */
	
    #sidebar-contact {padding-top: 15px;}
}

/* -----------------------------------------
:: Template-Specific
----------------------------------------- */

/*
 * Sub-Pages
 */
.sub-pages {}
.sub-pages .sub-page {}
.sub-pages .sub-page img {margin: 0 0 1rem 0;}
.sub-pages .sub-page .sub-page-text .title {margin: 0 0 1rem 0;}

/*
 * Product Vendors
 */
.product-vendors {}
.product-vendors .cell {}
.product-vendors .product_vendor {}
.product-vendors .product_vendor .vendor-img-wrap {}

.product-vendors .product_vendor .vendor-img-wrap {position:relative; margin:0;}
.product-vendors .product_vendor .vendor-img-wrap .vendor-logo {position:absolute; bottom:20px; right:20px;}

.product-vendors .product_vendor .vendor-text-wrap {padding: 15px 0;}
.product-vendors .product_vendor .vendor_name {}
.product-vendors .product_vendor p {}
.product-vendors .product_vendor .website {}
.product-vendors .product_vendor .website a {color: #000; text-decoration: underline;}


/*
 * Flex Page
 */
.flex-content.two-up-blocks {padding: 30px 0;}
.flex-content.two-up-blocks .cell img {margin-bottom: 2rem;}
.flex-content.two-up-blocks .cell h2 { font-variation-settings: 'wght' 350, 'opsz' 100;}
.flex-content.two-up-blocks .cell h2 em {font-variation-settings: 'wght' 350, 'opsz' 100;}
.flex-content.two-up-blocks .cell p {}


/* -----------------------------------------
:: Blog
----------------------------------------- */

/*
 * Teaser
 */
.post-teaser .thumb {margin: 0 0 12px 0;}
.post-teaser a .entry-meta {color: #666;}
.post-teaser a:hover .entry-title {text-decoration: underline;}


/*
 * Single Post
 */
body.single-post #main .entry-header {padding-bottom: 1rem;}
body.single-post #main .entry-header .updated,
body.single-post #main .entry-header .byline {display: none;}

body.single-post #main .entry-content {padding: 0 0 2rem 0;}

body.single-post #main .entry-footer {border-top: solid 1px #ddd; padding-top: 1rem; clear: both;}
body.single-post #main .entry-footer .edit-link {display: none;}

body.single-post #main .entry-footer .tags-links {display: block;}

@media print, screen and (min-width: 40em) { /* Medium and Up */
	.text-right-on-medium-up {text-align: right;}
}

/*
 * Sidebar
 */
#blog-sidebar .widget_block {padding: 0 0 32px 0;}
#blog-sidebar .widget_block:nth-last-of-type(1) {padding-bottom: 0;}
#blog-sidebar .wp-block-group h2 {line-height: 1.2; font-size: 1.25rem; margin: 0 0 1rem 0;}

#blog-sidebar .wp-block-latest-posts__list {margin: 0;}
#blog-sidebar .wp-block-latest-posts__list li {line-height: 1.4; margin: 0 0 20px 0;}
#blog-sidebar .wp-block-latest-posts__list li:last-child {margin-bottom: 0;}
#blog-sidebar .wp-block-latest-posts__list li a {}
#blog-sidebar .wp-block-latest-posts__list li time {font-size: 15px;}


/* -----------------------------------------
:: Careers
----------------------------------------- */

/*
 * Archive
 */

.career-teaser {padding: 0 0 30px 0;}
.career-teaser a h2 {color: #101e31; font-variation-settings: 'wght' 450, 'opsz' 10; line-height: 1;}
.career-teaser a .entry-content {color: #666;}
.career-teaser a:hover h2 {text-decoration: underline;}

.career-teaser a h2 span {display: inline-block; padding-bottom: 6px; background:url("../img/arrow-right-palast.svg") no-repeat right center; background-size: 14px 15px; padding-right: 23px;}




/*
 * Single
 */
body.single-yhd_careers .career-attributes {}
body.single-yhd_careers .career-attributes li {display: inline-block; border-left:solid 1px rgba(0,0,0,.15); margin-left: 10px; padding-left: 10px;}
body.single-yhd_careers .career-attributes li:first-child {border-left: none; margin-left: 0; padding-left: 0;}

body.single-yhd_careers .intro-text {padding-bottom: 5px;}

body.single-yhd_careers .career_block h2 {font-family: "termina", sans-serif; font-weight: 500; font-style: normal; font-size: 1rem; text-transform: uppercase;}

body.single-yhd_careers #career_block_apply .button {width: 100%;}
body.single-yhd_careers #career_block_apply .all-link {text-align: center;}
body.single-yhd_careers #career_block_apply .all-link .button {border-color: #fff; padding-left: 0; padding-right: 0;}

@media print, screen and (min-width: 64em) { /* Large and Up */
    body.single-yhd_careers #career_block_apply .button {width: auto;}
    body.single-yhd_careers #career_block_apply .all-link {text-align: right;}
}

body.single-yhd_careers #career_block-disclaimer {padding-top:30px;}
body.single-yhd_careers #career_block-disclaimer p {line-height: 1.3; font-size: 14px;}


/* -----------------------------------------
:: Locations
----------------------------------------- */


/*
 * Archive
 */
.location-teaser {padding: 80px 0;}
.location-teaser:nth-child(odd) {margin: 80px 0; padding: 0;}
.location-teaser:nth-child(even) {background: #e8e8e8; }

.location-teaser .sub-page-text {padding: 1rem 0;}
.location-teaser .sub-page-text p {margin-bottom: 1.25rem;}
.location-teaser .title {margin-bottom: .75rem;}
.location-teaser .button {margin: 0;}

@media print, screen and (min-width: 64em) { /* Large and Up */
	

}

/*
 * Single
 */
body.single-yhd_location .contact-info {list-style: none; margin: 0 0 1rem 0;}
body.single-yhd_location .contact-info li {line-height: 1.4; margin: 0 0 5px 0;}

body.single-yhd_location .location-galleries {}
body.single-yhd_location .location-gallery { margin: 100px 0;}
body.single-yhd_location .location-gallery .gallery-title {margin-bottom: 2rem;}

body.single-yhd_location .location-galleries .location-gallery:last-child {margin-bottom: 20px;}


/* -----------------------------------------
:: Gravity Forms
----------------------------------------- */

#content .gform_wrapper {margin-top: 0;}

#content .gform_wrapper .gfield_label {color: #000;}

#content .gform_wrapper .gsection {
	background:rgb(238, 238, 238);
    border-bottom: solid 1px #ddd;
    padding: 10px;
	line-height:1;
	margin:2rem 0 1rem 0;
}
#content .gform_wrapper .gform_fields > .gsection:first-child {margin-top: 0;}

#content .gform_wrapper .gsection .gsection_title {margin:0; text-transform:uppercase; font-family: "termina", sans-serif; font-weight: 500; font-style: normal; letter-spacing: .5px; font-size: 14px;}

#content .gform_wrapper .gfield_required {font-style:normal; font-weight: normal; margin-left:2px;}

#content .gform_wrapper .gfield_checkbox li,
#content .gform_wrapper .gfield_radio li {
    margin: 0 0 .5rem 0;
    line-height: 1.2;
}
#content .gform_wrapper .gfield_checkbox li label,
#content .gform_wrapper .gfield_radio li label {
	display:inline;
}
#content .gform_wrapper input[type="checkbox"],
#content .gform_wrapper input[type="radio"] {
  margin:0 0 0 1px;
}
#content .gform_wrapper .gfield_checkbox li label,
#content .gform_wrapper .gfield_radio li label {
    line-height: 1.5;
    font-size: 1rem;
}
#content .gform_wrapper.gf_browser_gecko select {padding-right:1.5rem;}


input::-webkit-input-placeholder, textarea::-webkit-input-placeholder,
input::-moz-placeholder, textarea::-moz-placeholder,
input:-ms-input-placeholder, textarea:-ms-input-placeholder,
input::placeholder, textarea::placeholder {
	color: #222;
}

::-webkit-input-placeholder {
	color: #222;
}
:-ms-input-placeholder {
	color: #222;
}
::-ms-input-placeholder {
	color: #222;
}
::placeholder {
	color: #222;
}

/* File Upload */
#content .gform_legacy_markup_wrapper ul.gform_fields:not(.top_label) .gform_fileupload_multifile .gform_drop_area {width: 100%; margin-left: 0;}
.gform_drop_area .button {margin: 0;/* background: none; border: solid 1px #fff; color: #fff;*/}
.gform_drop_area .button:hover {/*border-color: #e1d148; color: #e1d148;*/}

/* Hide Max Upload */
#content .ginput_container_fileupload .gform_fileupload_rules {display:none;}

/* Request a Quote - Date Drop-down */
#content .gform_legacy_markup_wrapper ul.gform_fields:not(.top_label) #input_5_29 .clear-multi {width: 100%; margin-left: 0;}

/* -----------------------------------------
:: Search Results
----------------------------------------- */

/* Pagination */
.pagination {
	padding:30px 0; 
	text-align:center; 
	font-size: 16px; 
	line-height: 1.2;
	/*border-top: solid 1px #ddd;*/
}
.pagination .page-numbers {display:inline-block;}
.pagination .current {background: #fff; color: #000; border: solid 1px rgba(0,0,0,.15);}
.pagination a,
.pagination .current {padding: 0.625rem 0.75rem;}
.pagination a {color:#000;}
.pagination a.prev,
.pagination a.next {background: #eee;}

body.search-results #main .page-header {margin-bottom: 3rem; }

.search-result {padding:1rem 0; border-top: solid 1px #ddd;}
.search-result a h2 {
    font-family: "palast-variable",sans-serif;
    font-variation-settings: 'wght' 500, 'opsz' 10;
}
.search-result a:hover h2 {text-decoration: underline;}
.search-result h2 {margin:0 0 4px 0; font-size:1.125rem; font-weight: bold; font-style: normal;}
.search-result .search-permalink {
	line-height: 1.2;
	display: block;
	margin:0 0 3px 0; 
	font-size: 15px;
	-ms-word-break: break-all; word-break: break-all; word-break: break-word;
    color: #666;
}
.search-result p {margin:0; line-height:1.5;}
.search-result .posted-on {color:#888;}

/* -----------------------------------------
:: Gallery
----------------------------------------- */

.gallery {
	display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex;
	-webkit-box-orient: horizontal; -webkit-box-direction: normal;
	-webkit-flex-flow: row wrap; -ms-flex-flow: row wrap; flex-flow: row wrap; 
	margin-left: -0.625rem;
	margin-right: -0.625rem;
}
.gallery .gallery-item {
	-webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto;
	min-height: 0px;
	min-width: 0px;
	width: 100%; 
	margin: 0 0.625rem 1.25rem 0.625rem;
}
.gallery.gallery-columns-1 > .gallery-item {width: calc(100% - 1.25rem);}
.gallery.gallery-columns-2 > .gallery-item {width: calc(50% - 1.25rem);}
.gallery.gallery-columns-3 > .gallery-item {width: calc(33.33333% - 1.25rem);}
.gallery.gallery-columns-4 > .gallery-item {width: calc(25% - 1.25rem);}
.gallery.gallery-columns-5 > .gallery-item {width: calc(20% - 1.25rem);}
.gallery.gallery-columns-6 > .gallery-item {width: calc(16.66666% - 1.25rem);}
.gallery.gallery-columns-7 > .gallery-item {width: calc(14.285714% - 1.25rem);}
.gallery.gallery-columns-8 > .gallery-item {width: calc(12.5% - 1.25rem);}
.gallery.gallery-columns-9 > .gallery-item {width: calc(11.11111% - 1.25rem);}

.gallery .gallery-item .wp-caption-text {
	border-bottom: none;
	padding: 5px 0 0 0; 
}

