/* general */
#wrapper { position: relative; width: 100%; }


/* header */
#main-header { width: 100%; z-index: 1039; transition: top 0.5s ease; position: fixed; top: 0; left: 0; background-color: #FFF; }
.admin-bar #main-header { top: 32px; }
#header .logo-wrapper, #header .nav-wrapper { min-height: 60px; transition: all 0.3s ease; }
#header .logo-wrapper { display: flex; justify-content: flex-start; align-items: center; padding-right: 40px; padding-left: 15px; }
#header #logo { display: block; padding: 0; transition: padding 0.5s ease; max-width: 255px; }
#header > .container > .row { justify-content: space-between; }


/* footer */
#site-footer { background-color: #000; font-size: 14px; line-height: 20px; color: #7b7e7f; }
#site-footer a { color: inherit; }
#site-footer a:hover { color: #FFF; text-decoration: none; }
.footer-top .footer-logo-wrapper { margin-bottom: 40px; }
.footer-top .footer-social-wrapper { color: #4a4c4c; margin-bottom: 40px; }
#site-footer .social-links { list-style: none; margin: 0 0 20px 0; padding: 0; display: inline-block; color: #FFF; }
#site-footer .social-links > li { display: inline-block; width: 28px; height: 28px; margin-left: 6px; }
#site-footer .social-links > li:first-child { margin-left: 0; }
#site-footer .social-links > li > a { display: block; font-size: 20px; }
#footer-logo { display: block; margin-bottom: 30px; }
#footer-logo img { width: 190px; }
.footer-top { padding: 120px 0 80px 0; }
.footer-top .widget { margin-bottom: 40px; }
.footer-top .widget-title { margin-bottom: 12px; color: #FFF; font-size: 14px; line-height: 20px; letter-spacing: 0.5px; text-transform: uppercase; }
.footer-top .menu { margin: 0; padding: 0; list-style: none; }
.footer-top .menu > li { display: block; margin-bottom: 10px; }
.footer-top .left-col { display: flex; justify-content: space-between; flex-direction: column; }







/* hero/banner */
#hero-slider, #hero-banner { position: relative; background-color: #f8f8f8; overflow: hidden; font-size: 17px; }
#hero-slider .slide { background-position: center; background-repeat: no-repeat; background-size: cover; display: flex; align-content: center; align-items: center; }
#hero-slider .slide .text, #hero-banner .hero .text { color: #191919; font-size: 24px; font-weight: 400; line-height: 32px; letter-spacing: -0.4px; }
#hero-slider .slide .button, #hero-banner .hero .button { margin-top: 60px; }
#hero-slider .slide.default, #hero-banner .hero { min-height: 480px; }
#hero-slider .slide.large { min-height: 640px; }
#hero-slider .slide.full { min-height: calc(100vh - 60px); }
.error404 #hero-banner .hero { min-height: calc(100vh - 540px); }
#hero-banner .hero { background-position: center; background-repeat: no-repeat; background-size: cover; display: flex; align-content: center; align-items: center; }
#hero-slider .container, #hero-banner .container { position: relative; z-index: 2; }
#hero-slider .background, #hero-banner .background { position: absolute; z-index: 1; top: 0; left: 0; right: 0; bottom: 0; overflow: hidden; pointer-events: none; }
#hero-slider .background .inner, #hero-banner .background .inner { position: relative; min-height: 100%; }
#hero-slider .background .inner img, #hero-banner .background .inner img { display: block; position: relative; z-index: 1; }
#hero-slider .slide.default .background .inner img { width: 100%; height: 480px; object-fit: cover; opacity: 0; transition: opacity 0.3s ease; }
#hero-slider .slide.large .background .inner img { width: 100%; height: 640px; object-fit: cover; }
#hero-slider .slide.full .background .inner img { width: 100%; height: 100vh; object-fit: cover; }
#hero-banner .background .inner img { width: 100%; object-fit: cover; height: 480px; opacity: 0; transition: opacity 0.3s ease; }



/* flexible template modules */
/* general text module */
.general-text-mod { position: relative; padding: 90px 0; }
.general-text-mod .intro { margin-bottom: 30px; }
.general-text-mod .title + .text, .general-text-mod .subtitle + .text { margin-top: 30px; }








/* blog */
#posts-feed { padding-bottom: 50px; }
#posts-feed .ajax_posts_container > .row { display: none; }
#posts-feed .items { padding-bottom: 20px; }
.post { display: block; position: relative; margin-bottom: 30px; }
.post .wrapper .date { margin-bottom: 10px; font-size: 12px; }
.post .wrapper .title { font-size: 20px; line-height: 1.3; }
.widget .post { margin-bottom: 15px; }
.widget .post.ajax-widget { display: flex; }
.widget .post .wrapper .title { font-size: 14px; }
.widget .post.ajax-widget .title { font-size: 12px; padding-left: 10px; color: #222222; }
.widget .post .image { min-height: 1px; }
.widget .post.ajax-widget .image { max-width: 64px; flex: 0 0 64px; }
.widget .ajax_posts_container > .row { padding-bottom: 15px; display: none; visibility: hidden; }
#post-info { padding: 50px 0; }






#error-404 { position: relative; padding: 50px 0; }

/* search */
.search #hero-slider .page-title { margin-top: 35px; }
.search .search-results { padding: 70px 0; }
.search .search-results .item .title { font-size: 21px; color: #000; margin-bottom: 10px; }
.search .search-results .item .title a { color: inherit; }
.search .pagination > li:first-child, .search .posts_per_page > li:first-child { padding: 0; }






/* hubspot form fix */
.hbspt-form,
.hbspt-form .hs-form-iframe {
	min-height: 100px !important;
}
