/*

Theme Name:   GD4

Theme URI:    https://austinwebanddesign.com

Description:  GD4 custom theme

Author:       Austin Web & Design

Author URI:   https://austinwebanddesign.com

Template:     gazelle-framework

Version:      1.0.0

License:      GPLv3

Text Domain:  gd4

*/

html { margin-top: 0 !important; }

body { font-family: 'Poppins', sans-serif; font-size: 18px; font-weight: 300; line-height: 1.8em; position: relative; }

a, p.has-awdct-white-color a { color: #0074ff; }

a:hover, a:focus { color: #000; }

a[href^='tel:'] { display: inline-block; }

p.has-awdct-white-color a { transition: .3s; }

p.has-awdct-white-color a:hover, p.has-awdct-white-color a:focus { transition: .3s; color: #fff; }

article, aside { z-index: 0; }

ol li { padding: 0 0 10px 10px; padding-bottom: 8px; }

#mega-menu-wrap-site-primary-nav #mega-menu-site-primary-nav li.no-click-menu a.mega-menu-link { cursor: text !important; }

#mega-menu-wrap-site-primary-nav #mega-menu-site-primary-nav > li.mega-menu-flyout ul.mega-sub-menu a.mega-menu-link { cursor: pointer !important; }



/* Screen reader */

.screen-reader-text { position: absolute; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; margin: -1px; padding: 0; word-wrap: normal !important; border: 0; clip-path: inset(50%); }

.screen-reader-text:focus { font-size: 1em; line-height: normal; z-index: 100000; top: 5px; left: 5px; display: block; clip: auto !important; width: auto; height: auto; padding: 15px 23px 14px; text-decoration: none; color: #444; background-color: #eee; clip-path: none; }

.wrap, .uagb-section__inner-wrap { width: 90%; max-width: 1400px; margin: 0 auto; }

.awd-full-width .uagb-section__inner-wrap { width: 100%; }

#site-header, #site-footer { padding-right: 0; padding-left: 0; }

#site-main { border-bottom: 1px solid #eee; box-shadow: 1px 1px 3px rgba(0, 0, 0, .3); }

#site-header { background: #fff; }

#site-footer { padding-top: 45px; padding-bottom: 35px; color: #000; background-color: #fff; }

#site-header a, #site-footer a { color: #000; }

.wp-block-button.awd-block-btn a { color: black; border-radius: 0; background-color: white; }



/* page banners */

#ctr-page-title { position: relative; z-index: 0; }

#ctr-page-title > .uagb-section__overlay { position: absolute; z-index: -1; top: 0; left: 0; width: 100%; height: 100%; opacity: .8; background-color: #003764; }



/* topbar  */

#top-bar { padding: 21px 0; background: #003764; }

#top-bar > .wrap { position: relative; width: 100%; color: #fff; }

.top-content p { margin: 0 auto; }

.top-content { font-size: 1rem; line-height: 2.1; display: block; text-align: center; letter-spacing: .04rem; color: #fff; }

.top-social { position: absolute; top: 0; right: 0; bottom: 0; height: auto; }

.top-content a { transition: .4s; color: #fff; border-color: transparent; border-bottom: 2px solid #fff; }

.top-content a:hover, .top-content a:focus { transition: .4s; border-color: #fff; }



/* fontawesome local - social media */

.awd-social svg { font-size: 25px; transition: .4s ease-out; color: #fff; }

.awd-social svg:hover { font-size: 25px; transition: .4s ease-out; color: #fff; }

ul.social-list { display: flex; margin: 0; padding: 0; list-style-type: none; justify-content: center; }

#top-bar li.social-item { margin-left: 24px; }

#site-footer ul.social-list { margin-top: 20px; justify-content: flex-end; }

#site-footer .awd-social .social-item { margin-left: 28px; }

#site-footer ul.social-list a svg { transition: .4s; color: #003764; }

#site-footer ul.social-list a:hover svg, #site-footer ul.social-list a:focus svg { transition: .4s; color: #0074ff; }



/* sticky menu */

#site-header.sticky { position: fixed; top: 0; width: 100%; padding: 11px 0; background: #fff; box-shadow: 1px 1px 3px rgba(0, 0, 0, .3); }

#site-header.sticky #mega-menu-wrap-site-primary-nav { margin-top: 0; }

#site-header.sticky > .wrap { transition: .4s ease-out; align-items: center; }

.admin-bar #site-header.sticky { top: 32px; }

#site-header.sticky + #site-main { padding-top: 133px; }

#site-header.sticky .custom-logo { max-width: 232px; transition: .4s ease-out; }



/* clip sections */

.wp-block-uagb-section.gd4-bottom-divider { -webkit-clip-path: polygon(100% 0, 100% 80%, 50% 100%, 0 80%, 0 0); clip-path: polygon(100% 0, 100% 80%, 50% 100%, 0 80%, 0 0); }



/* company logos */

.company-logos .kb-gallery-ul { width: 88%; margin-right: auto !important; margin-left: auto !important; }

.company-logos .kb-gal-image-radius { padding-top: 25px; padding-bottom: 25px; border: 1px solid #eee; background: #fff; box-shadow: 3px 3px 28px rgba(179, 179, 179, .15); filter: drop-shadow(1px 1px 14px rgba(179, 179, 179, .15)); }

.home-reviews .uagb-section__inner-wrap { filter: drop-shadow(3px 3px 24px rgba(179, 179, 179, .75)); }

.quote-icon .uagb-heading-text::before { position: absolute; top: 0; right: 210px; display: inline-block; width: 210px; height: 210px; content: ''; background: url('/wp-content/themes/gd4/images/gd4test-quote-icons.png'); background-size: cover; }



/* buttons */

.wp-block-button__link { font-size: 18px; font-weight: 400; position: relative; z-index: 0; overflow: hidden; min-width: 190px; padding: 38px 40px; transition: .4s; text-transform: uppercase; border-radius: 0; }

.wp-block-buttons .wp-block-button { margin-right: 20px; }

.wp-block-button .wp-block-button__link.uagb-text-link { padding: 25px 15px; transition: .4s; background: #0074ff; }

.wp-block-button .wp-block-button__link.uagb-text-link:hover, .wp-block-button .wp-block-button__link.uagb-text-link:focus { transition: .4s; background: #003764; }



/* custom lists */

.two-column-list { column-count: 2; column-gap: 3em; }

.three-column-list { column-count: 3; column-gap: 2.5em; }

.four-column-list { column-count: 4; column-gap: 2em; }

.five-column-list { column-count: 5; column-gap: 2em; }

.two-column-list li, .three-column-list li, .four-column-list li, .five-column-list li { -webkit-column-break-inside: avoid; page-break-inside: avoid; break-inside: avoid; }



/* Gravity Forms */

body .gform_wrapper .ginput_container.ginput_container_radio ul li input, body .gform_wrapper .ginput_container.ginput_container_checkbox ul li input { margin: 0 3px 0 1px !important; }

.gform_validation_error li.gfield.gf_right_half, .gform_validation_error li.gfield.gf_left_half { width: 100% !important; }

body img.gform_ajax_spinner { display: none !important; }

.gform_wrapper input[type=text]:focus, .gform_wrapper .textarea:focus { border-color: #0074ff; outline: none; }

.gform_wrapper.gform_validation_error .top_label li.gfield.gfield_error.gf_left_half, .gf-error_wrapper.gform_wrapper.gform_validation_error .top_label li.gfield.gfield_error.gf_right_half { width: 100% !important; max-width: calc(100% - 16px) !important; }

.gform_validation_error { max-width: 768px; margin-right: auto; margin-left: auto; }

.gform_wrapper ul li input[type=text], .gform_wrapper ul li textarea { padding: 10px 15px !important; border-width: 0 0 3px 0; border-color: #000; border-top-width: 0; border-top-color: rgb(0, 0, 0); border-right-width: 0; border-right-color: rgb(0, 0, 0); border-bottom-width: 3px; border-bottom-color: rgb(0, 0, 0); border-left-width: 0; border-left-color: rgb(0, 0, 0); background: rgba(239, 239, 239, .5); }

input.gform_button.button { font-family: 'Fira Sans Condensed'; font-size: 17px !important; font-weight: 300; display: block; width: 100% !important; max-width: 176px; padding: 30px 20px; transition: .4s ease-out; border-style: solid; border-color: #b6e5ee; border-radius: 0; background: #0074ff; }

input.gform_button.button:hover, input.gform_button.button:focus { transition: .4s ease-out; color: #fff; border-color: #444; outline: 0; background: #444; }

.wp-block-button__link.gform_button.has-awdct-light-blue-background-color:hover, .wp-block-button__link.gform_button.has-awdct-light-blue-background-color:focus { transition: .4s ease-out; background: #003764; }

.wp-block-button__link.gform_button.has-awdct-light-blue-background-color { display: block; min-width: 280px; margin: 5px auto 0 !important; transition: .4s ease-out; }

.gform_wrapper .chosen-container-multi .chosen-choices { padding: 0 !important; border: 0 !important; background: #eee !important; }

.gform_wrapper .chosen-container-multi .chosen-choices li { font-size: 16px !important; }

.gform_wrapper .chosen-container .chosen-results li { font-size: 16px; padding: 8px 5px; }

.gform_wrapper .chosen-container-active .chosen-choices { background-image: none !important; box-shadow: none !important; }

.chosen-choices::placeholder { font-size: 22px; }

body .gform_wrapper input.button.gform_button_select_files { font-family: 'Poppins', sans-serif; font-weight: 500; transition: .4s ease-out; text-transform: uppercase; color: #fff; border-style: solid; border-color: #0074ff; outline: none; background: #0074ff; }

body .gform_wrapper input.button.gform_button_select_files:hover, body .gform_wrapper input.button.gform_button_select_files:focus { font-weight: 500; transition: .4s ease-out; color: #fff; border-style: solid; border-color: #003764; outline: none; background: #003764; }

.gform_confirmation_wrapper { padding: 7% 3%; border: 5px solid #0074ff; }

.gform_confirmation_wrapper h3 { font-size: 2rem; margin-bottom: 0; line-height: 1.2; }

.gform_anchor::before { content: ""; display: block; width: 0; height: 200px; margin: -200px 0 0; }

.gform_wrapper div.validation_error { width: calc(100% - 16px); line-height: 1.4; }



/* change dropdowns */

.gform_wrapper select { width: 100px; height: 50px; margin-top: 12px !important; padding: 8px 4px 8px 13px !important; text-indent: .01px !important; text-overflow: ''; border: 0 !important; border-bottom: 3px solid #000 !important; border-radius: 0; background: #fff url('images/select-dropdown-black.png') no-repeat 100% center; background-color: rgba(239, 239, 239, .5); background-size: 25px; -webkit-appearance: none; -moz-appearance: none; appearance: none; }



/* custom blocks css */

.uagb-column__inner-wrap li { padding-bottom: 15px; }

.no-inner-padding .uagb-column__inner-wrap { padding: 0; }

.wp-block-image figure figcaption { width: 100%; max-width: 100%; }



/* CUSTOM CSS */

.comma-font .has-inline-color.has-awdct-light-blue-color { font-family: 'Oswald', sans-serif; }

p.p400 { font-weight: 400; }

.gd4-position { z-index: -1; }

h1#page-title { font-family: 'Poppins', sans-serif; font-size: 56px; font-weight: 700; padding: 25px 0; text-align: center; color: #fff; }

#ctr-page-title.ctr-page-banner { background: url('/wp-content/uploads/2020/10/bg-img.jpg' ); }

.awd-big-bold strong { font-family: 'Poppins', sans-serif; font-size: 73px; font-weight: 500; }

.button { display: inline-block; margin-top: 10px; padding: 20px; background-color: black; }

#gform_browse_button_1_10.button { background-color: #3f693d; color: #ffffff; }

.ctr-ctrl-view-expert .button { display: table; margin: 0 auto; }

.line-break { font-size: 14px; display: inline-block; }

#site-footer .widget { width: 100%; text-align: center; }

.has-awdct-dark-blue-background-color { transition: .4s; background-color: #003764; }

.has-awdct-dark-blue-color { color: #003764; }

.has-awdct-light-blue-background-color { transition: .4s; background-color: #0074ff; }

.has-awdct-light-blue-color { color: #0074ff; }

.has-awdct-black-background-color { transition: .4s; background-color: #000; }

.has-awdct-black-color { color: #000; }

.has-awdct-white-background-color { transition: .4s; background-color: #fff; }

.has-awdct-white-color { color: #fff; }

.has-awdct-light-blue-background-color:hover, .has-awdct-light-blue-background-color:focus { transition: .4s; background: #003764; }

.has-awdct-dark-blue-background-color:hover, .has-awdct-dark-blue-background-color:focus { transition: .4s; background: #0074ff; }

a.uagb-post__load-more { position: relative; z-index: 1; }

a.wp-block-button__link.has-awdct-white-color.has-awdct-light-blue-background-color::before, .wp-block-button .wp-block-button__link.uagb-text-link::before, button.wp-block-button__link.gform_button::before { position: absolute; z-index: -1; top: 0; left: 0; display: block; width: 100%; height: 100%; content: ''; transition: .4s; transform: scale(1); opacity: 1; background-color: #0074ff; background-image: url('/wp-content/themes/gd4/images/button-background.svg'); background-position: center; background-size: cover; }

a.wp-block-button__link.has-awdct-white-color.has-awdct-light-blue-background-color:hover::before, .wp-block-button .wp-block-button__link.uagb-text-link:hover::before, button.wp-block-button__link.gform_button:hover::before { position: absolute; z-index: -1; top: 0; left: 0; display: block; width: 100%; height: 100%; content: ''; transition: .6s ease-out; transform: scale(2.5); opacity: 1; background-color: #0074ff; background-image: url('/wp-content/themes/gd4/images/button-background.svg'); background-position: center; background-size: cover; }

a.wp-block-button__link.has-awdct-white-color.has-awdct-dark-blue-background-color::before { position: absolute; z-index: -1; top: 0; left: 0; display: block; width: 100%; height: 100%; content: ''; transition: .4s; transform: scale(1); opacity: 1; background-color: #003764; background-image: url('/wp-content/themes/gd4/images/button-background.svg'); background-position: center; background-size: cover; background-blend-mode: lighten; filter: saturate(.9); }

a.wp-block-button__link.has-awdct-white-color.has-awdct-dark-blue-background-color:hover::before { position: absolute; z-index: -1; top: 0; left: 0; display: block; width: 100%; height: 100%; content: ''; transition: .6s ease-out; transform: scale(2.5); opacity: 1; background-color: #003764; background-image: url('/wp-content/themes/gd4/images/button-background.svg'); background-position: center; background-size: cover; }

#site-header { z-index: 1; padding-top: 8px; padding-bottom: 2rem; }



/* #site-main { z-index: -1; } */

.custom-logo { display: block; float: none; width: 86%; height: auto; margin: 0; }

.entry-title { text-align: center; }

.ctr-expert-headshot img { width: 290px; height: 290px; object-fit: cover; }

#site-footer .wrap { display: block; }

.footer-split .textwidget p a { font-size: 21px; display: inline-block; }

.home #site-main { margin-bottom: 0; }

.wp-block-button.awd-block-btn a:hover { color: white; background-color: #777; }

.ctr-graph.ctr-graph-featured { padding: 35px; border: none; }

#site-logo img { width: 100%; max-width: 348px; height: auto; margin: 0 auto; transition: .4s ease-out; }

.gd4-hexagon.gd4-reviews { max-width: 780px; margin: 0 0 0 auto; padding: 100px 20px; background: #fff; clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); }

.wp-block-uagb-section.uagb-section__wrap.uagb-section__background-image.home-reviews { background-size: 1200px auto; }

.gd4-hexagon .uagb-testimonial__wrap { line-height: 1.8; }

.gd4-reviews .uagb-heading-text { padding-top: 45px; }

.gd4-reviews .slick-dots { padding: 0 !important; }

.gd4-reviews .uagb-tm__content { padding-bottom: 10px; }

.uagb-tm__company { font-style: normal; }

.uagb-tm__author-name > span { font-size: 18px; display: inline-block; padding-top: 20px; }

#site-footer .widget .menu li { display: inline-block; margin: 0 0 0 35px; }

#site-footer .widget .menu li.current_page_item a { color: #0074ff; }

#site-footer .widget.widget_nav_menu a:hover { color: #0074ff; transition: .4s; }

#site-footer .widget.widget_nav_menu a { font-weight: 500; }

footer .widget_media_image { text-align: center !important; }

#mega-menu-wrap-site-primary-nav { background: transparent; }

#mega-menu-wrap-site-primary-nav #mega-menu-site-primary-nav > li.mega-menu-item > a.mega-menu-link { font-family: 'Poppins', sans-serif; font-weight: 500 !important; letter-spacing: .04rem; }

#mega-menu-wrap-site-primary-nav #mega-menu-site-primary-nav > li.mega-menu-item > a.mega-menu-link:hover { font-weight: 500; letter-spacing: .04rem; }

#mega-menu-wrap-site-primary-nav #mega-menu-site-primary-nav > li.awd-btn > a.mega-menu-link, #menu-main-menu li { text-align: center; }

#site-footer .awd-btn a { color: black; }

#site-footer a { font-family: 'Poppins', sans-serif; font-size: 18px; font-weight: 400; }

#mega-menu-wrap-site-primary-nav #mega-menu-site-primary-nav > li.awd-btn > a.mega-menu-link, #site-footer .awd-btn > a { font-family: 'Poppins', sans-serif; text-align: center; }

#site-subfooter { font-family: 'Poppins', sans-serif; font-size: 15px; padding-top: 5px; padding-bottom: 22px; text-align: center; text-transform: uppercase; color: white; background-color: black; }

#site-subfooter a { color: white; }

#site-credit { display: block; }

.kt-infobox-textcontent a { font-size: 18px; position: absolute; top: 0; right: 0; left: 0; display: flex; height: 100%; padding-top: 80px; color: #231f20; justify-content: center; align-items: center; }

.kt-blocks-info-box-link-wrap { position: relative; overflow: hidden; }

.kt-blocks-info-box-link-wrap { min-height: 330px; }

.awd-infobox-white-link a { color: white; }

.uagb-ifb-content .uagb-ifb-title-wrap .uagb-ifb-title { word-break: normal; }

ul#menu-gd4-services a:not([href]) { color: #000; }

#menu-gd4-services > li { margin-bottom: 10px; }

#menu-gd4-services > li li { margin-bottom: 5px; }

#menu-gd4-services { margin: 0; padding: 0 30px 0 20px; }

.service-cols #menu-gd4-services, .service-cols #menu-gd4-services a:not([href]) { color: #fff; }

.service-cols #menu-gd4-services a:hover, .service-cols #menu-gd4-services a:focus { color: #fff; }

.service-cols #menu-gd4-services { column-count: 3; column-gap: 2em; }

.service-cols #menu-gd4-services li { -webkit-column-break-inside: avoid; page-break-inside: avoid; break-inside: avoid; }

#menu-gd4-services ul.sub-menu { padding-right: 35px; }

.blue-links-alt a:not(.wp-block-button__link) { color: #4d9dff; }

.blue-links-alt a:hover, .blue-links-alt a:focus { color: #fff; }



/* separators   */

.wp-block-separator.has-awdct-light-blue-background-color.has-awdct-light-blue-color, .wp-block-separator.has-awdct-light-blue-background-color, .wp-block-separator.has-awdct-light-blue-color { border-color: #0074ff; }

.wp-block-separator.is-style-dots::before { font-size: 40px; letter-spacing: 1em; }

.wp-block-separator.is-style-dots { line-height: 1; max-width: none; height: auto; text-align: center; border: none; background: none !important; }

.wp-block-separator:not(.is-style-wide):not(.is-style-dots) { max-width: 100px; margin: 45px auto; }

#mega-menu-wrap-site-primary-nav #mega-menu-site-primary-nav > li.awd-btn > a.mega-menu-link { text-align: left; }

.wp-block-image img { height: auto; }

img { height: auto; }

#menu-main-menu { padding: 0; }

#menu-main-menu > li { display: block; margin-bottom: 1rem; }

#site-footer .awd-btn a { color: white; }

#site-subfooter span { display: inline-block; padding: 0 4px 0 0; }

#site-footer .widget_media_image img { margin: 35px auto 0; text-align: center; }

#footer-left .widget_media_image a { display: block; max-width: 232px; }

#site-footer .widget .menu { margin-bottom: 0; text-align: right; }

.two-columns { line-height: 29px; margin-top: 0; column-count: 2; column-gap: 3em; }

.footer-email { font-size: 28px; display: inline-block; padding-left: 6px; }

#footer-left p { margin-top: 15px; }

.footer-email > a { margin-left: 10px; }

.wp-block-image .alignleft { margin: .5em 1.5em .5em 0; }



/* footer locations */

.footer-location { width: auto; flex: 1 0 33.3%; }

.footer-location p, .footer-location p > a { font-size: 18px; font-weight: 300; line-height: 1.4; text-align: center; }

.footer-location .textwidget { padding: 0 5%; }

.gd4-footer-locations { margin: 35px auto; }

.gd4-footer h2 { font-weight: 500; margin: 15px auto 0; text-align: center; }

.wrap.gd4-footer-locations { margin-top: 10px; }

#site-footer p > a:hover { transition: .4s; color: #0074ff; }

.gd4-footer-locations { width: 100%; max-width: 1024px; }

.footer-location a:first-of-type { display: inline-block; margin: 0 auto 10px; }



/* certifications */

.gallery-logos { display: flex; margin-top: 25px; flex-wrap: wrap; justify-content: center; }

.gallery-certificate-item { height: auto; margin: 0 0 15px 1%; padding: 0; transition: .3s ease; border-radius: 5%; background: #fff; flex: 0 0 11%; }

.gallery-certificate-item:first-child, .gallery-certificate-item:nth-child(9n) { margin-left: 0; }

.cert-link { display: block; padding: 10px 10px 0; border: 1px solid #eee; box-shadow: 3px 3px 28px rgba(179, 179, 179, .15); filter: drop-shadow(1px 1px 14px rgba(179, 179, 179, .15)); }

.gallery-certificate-item:hover img { transition: .4s ease-out; transform: scale(1.1); }

.gallery-certificate-item img { transition: .4s ease-in; transform: scale(1); }

.gd4-box-shadow .uagb-section__overlay { box-shadow: 3px 3px 28px rgba(179, 179, 179, .15); filter: drop-shadow(1px 1px 14px rgba(179, 179, 179, .15)); }

.gd4-box-shadow.wp-block-uagb-section { border-color: rgba(238, 238, 238, .5); }

.wp-block-uagb-columns.gd4-box-shadow-cols { overflow: visible; }

.gd4-box-shadow-cols .gd4-box-shadow-col { box-shadow: 3px 3px 28px rgba(179, 179, 179, .15); filter: drop-shadow(1px 1px 14px rgba(179, 179, 179, .15)); }



/* services page */

.first-heading { margin-top: 0; }



/* blog */

.uagb-post__inner-wrap { border: 1px solid #eee; box-shadow: 3px 3px 28px rgba(179, 179, 179, .15); filter: drop-shadow(1px 1px 14px rgba(179, 179, 179, .15)); }

.archive #site-main { padding: 75px 0 120px; }

.awd-content-blog { display: block; max-width: 1200px; margin: 60px auto 75px; }

.awd-blog-post { display: flex; margin-right: auto; margin-bottom: 75px; margin-left: auto; padding: 0 0 75px; border-bottom: 1px solid #eee; align-items: flex-start; }

.awd-blog-post .wp-block-button__link { margin-top: 30px; }

.awd-blog-post .archive-thumbnail { width: 100%; padding-right: 5%; flex: 0 0 33.3%; }

.awd-blog-post:last-of-type { border: 0; }

.awd-blog-post .archive-thumbnail img { width: 100%; height: auto; }

.single .awd-content-blog { margin-top: 60px; }

.single .post-title, .search .post-title { font-size: 2.25rem; line-height: 1.2; }

.search h1#page-title, .error404 h1#page-title { font-size: 3rem; line-height: 1.2; padding-left: 3%; }

.search-no-results .awd-site-main-flex.awd-blog-sidebar { min-height: 20vh; }

.post-wrap { margin-bottom: 50px; padding-bottom: 30px; }

.post-wrap .wp-block-button__link { margin-top: 25px; }

.single .gazelle-navigation { margin-top: 60px; }

.gazelle-navigation a { font-family: 'Poppins', sans-serif; font-size: 16px; font-weight: 400; line-height: 1; margin-right: 10px; padding: 8px 20px; -webkit-transition: .4s; -o-transition: .4s; transition: .4s; text-align: center; text-transform: uppercase; color: #fff; background: #0074ff; }

body .gazelle-navigation a:hover, body  .gazelle-navigation a:focus { transition: .4s; color: #fff; background: #003764; }

.uagb-post__load-more-wrap { margin-top: 60px; }

#site-main .uagb-post__load-more-wrap .uagb-post-pagination-button { padding: 0; border: 0; }

#site-main .uagb-post__load-more-wrap .uagb-post-pagination-button a { font-family: 'Poppins'; font-size: 18px; font-weight: 500; line-height: 3; z-index: 0; display: inline-block; overflow: hidden; padding: 15px 45px; text-transform: uppercase; color: #fff; }

#site-main .uagb-post__load-more-wrap .uagb-post-pagination-button a::before { position: absolute; z-index: -1; top: 0; left: 0; display: block; width: 100%; height: 100%; content: ''; transition: .6s; transform: scale(1); opacity: 1; background-color: #0074ff; background-image: url('/wp-content/themes/gd4/images/button-background.svg'); background-position: center; background-size: cover; }

#site-main .uagb-post__load-more-wrap .uagb-post-pagination-button a:hover::before { position: absolute; z-index: -1; top: 0; left: 0; display: block; width: 100%; height: 100%; content: ''; transition: .8s ease-out; transform: scale(2.5); opacity: 1; background-color: #0074ff; background-image: url('/wp-content/themes/gd4/images/button-background.svg'); background-position: center; background-size: cover; }

#site-main .uagb-post-grid .uagb-post__title { font-size: 1.75rem; line-height: 1.4; margin-bottom: 5px; }



/* sidebar */

.awd-site-main-flex { display: -webkit-box; display: -ms-flexbox; display: flex; width: 100%; max-width: 1260px; margin: 60px auto 75px; -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -ms-flex-flow: row wrap; flex-flow: row wrap; }

.awd-blog-sidebar article, .search-content-left { padding-right: 5%; -webkit-box-flex: 1; -ms-flex: 1 2 70%; flex: 1 2 70%; }

#site-sidebar { width: 100%; margin-top: 30px; -webkit-box-flex: 0; -ms-flex: 1 1 25%; flex: 1 1 25%; }

.archive-posts { width: 100%; padding-right: 4%; flex: 1 0 62.6%; }

#site-sidebar .widget-title { font-size: 26px; text-align: left; color: #0a0314; }

#site-sidebar > div:first-child .widget-title { margin-top: 0; }

.textwidget { text-align: left; }



/* awd search form */

.search-form { display: flex; }

.search-form label { flex: 1 0 auto; }

.search-form .search-submit { flex: 0 0 33.3%; }

.search-field { width: 100%; padding: 15px 13px; border: 0; border-bottom: 3px solid #003764; background: rgba(239, 239, 239, .5); }

.search-field:focus { border-color: #0074ff; outline: none; }

.search-submit { font-family: 'Poppins'; transition: .4s; text-transform: uppercase; color: #fff; border: 0; background: #0074ff; }

.search-submit:hover, .search-submit:focus { transition: .4s; outline: none; background: #003764; }



/* 404 error */

.error-body > .wrap { max-width: 1100px; margin: 90px auto 120px; }

.error-body h2 { font-size: 48px; font-weight: 700; font-style: normal; line-height: 1.3; text-align: center; }

.intro-text-wrapper { max-width: 800px; margin: 10px auto 50px; text-align: center; }

.awd-sitemap { margin: 50px auto; padding: 0; list-style-type: none; text-align: center; column-count: 4; column-gap: 2em; }

.awd-sitemap li { font-size: 20px; display: inline-block; width: 100%; padding-bottom: 15px; }

ul.awd-sitemap li { -webkit-column-break-inside: avoid; page-break-inside: avoid; break-inside: avoid; }


/* Button fix */

.is-layout-flex {display:flex;}

/* Home banner fix */

.home .gd4-bottom-divider .uagb-section__video-wrap {opacity:.5 !important;}
.home .gd4-bottom-divider .uagb-section__overlay {background-color:#003764;}

/* MEDIA QUERIES */

@media only screen and (max-width:977px) {

  .awd-bg-hidden { background-image: none !important; }

}

@media only screen and (min-width:500px) {

  #site-header { padding: 11px 0; }

  .wp-block-button.awd-block-btn a { font-size: 30px; display: flex; min-height: 320px; padding: 20px; align-items: center; justify-content: center; }

  .wp-block-button.awd-block-btn { width: 100%; }

  #site-header { align-items: start; }

  .expert-headshot { width: 150px; }

  .ctr-graph.ctr-graph-featured { padding: 35px; border: 1px solid #ccc; }

}

@media only screen and (max-width:600px) {

  #wpadminbar { top: -46px; }

}

@media only screen and (min-width:767px) {

  #site-footer .wrap { display: flex; align-items: flex-start; flex-wrap: wrap; }

  .awd-big-size .uagb-heading-text { font-size: 130px !important; }

  .awd-mobile { position: absolute; top: -9999rem; left: -9999rem; }

}

@media only screen and (min-width:977px) {

  .awd-pics-right { background-position: 100% 80%; }

  .awd-imgs-left { background-position: center center; }

  .awd-absolute-girl .uagb-column__inner-wrap { position: absolute; bottom: 0; padding-bottom: 0 !important; }

  .awd-absolute-girl .uagb-column__inner-wrap figure { margin-bottom: 0; }

  .awd-absolute-girl, .awd-absolute-girl img { display: block; }

  .awd-absolute-girl img { position: absolute; right: 92px; bottom: 0; width: 80%; max-width: 500px; }

}

@media only screen and (min-width:1072px) {

  #mega-menu-wrap-site-primary-nav { right: 0; left: unset; }

  #mega-menu-wrap-site-primary-nav { position: relative; float: left; clear: none; width: 100%; }

  #mega-menu-wrap-site-primary-nav #mega-menu-site-primary-nav { text-align: right; }

  #site-logo { width: auto; margin: 0 auto 0 0; flex: 1 0 25%; }

  #mega-menu-wrap-site-primary-nav { width: 100%; flex: 0 0 70%; }

  .custom-logo { float: none; }

  .awd-info-boxes { position: absolute; bottom: -528px; }

  .awd-infobox .kt-blocks-info-box-link-wrap { padding: 44px 40px; }

  .kt-blocks-info-box-media-container { margin-bottom: 10px !important; }

  .awd-yellow-btn a { font-weight: 300 !important; height: auto !important; margin-left: 39px !important; padding: 10px 27px !important; border-radius: 30px !important; background-color: #ffd97d !important; }

  .awd-light-blue-btn a { font-weight: 300 !important; height: auto !important; margin-left: 15px !important; padding: 10px 63px !important; border-radius: 30px !important; background-color: #b6e5ee !important; }

  header .awd-btn { min-width: 145px !important; }

  #site-credit { display: inline-block; }

  .awd-overflow-show { overflow: visible; }



  /* #mega-menu-wrap-site-primary-nav { margin-top: 50px; } */

  #site-header > .wrap { display: flex; width: 100%; padding: 0; transition: .4s ease-out; align-items: center; justify-content: space-around; }

  #site-design-overlay, #site-design-overlay img { width: 1600px; }

  #menu-main-menu > li { display: inline-block; }

  #site-footer .widget { width: 100%; text-align: left; }

  #menu-main-menu { max-width: 700px; margin: 0 auto; }

  #media_image-2 > img { display: block; }

  #site-logo img { margin: 0 auto 0 0; }

  .awd-white-sides { border-width: 1px; border-style: solid; border-top: 0; border-bottom: 0; border-image: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 1) 40%, rgba(255, 255, 255, 1) 60%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0) 100%) 1; }

  #footer-left { flex: 1 0 25%; }

  #footer-right { flex: 0 0 70%; }

}

@media only screen and (min-width:1200px) {

  .wp-block-button.awd-block-btn a { min-width: 355px; }

  .wp-block-uagb-column.uagb-column__wrap.uagb-column__background-undefined.uagb-block-09645f65 { position: absolute; right: 0; bottom: -50px; }



  /*     .uagb-section__video-wrap {

  margin: 0 0 0 -5px;

  } */ }

  #site-footer .widget.widget_nav_menu { margin-top: 57px; }

  @media only screen and (min-width:1599px) and (max-width:1601px) {

    .wrap, .uagb-section__inner-wrap { width: 100%; max-width: 1400px; margin: 0 auto; }

  }

  @media only screen and (min-width:1600px) {

    #site-footer .wrap { flex-direction: row; width: 100%; }

    #media_image-2 > img { display: inline; }

    #menu-main-menu { max-width: 100%; padding-top: 10px; }

    #menu-main-menu .awd-btn a { color: black; }

    #subfooter span { display: inline-block; padding: 0 4px 0 0; }

    #mega-menu-site-primary-nav { max-width: 100% !important; }

  }

  @media only screen and (min-width:1645px) { }

  @media only screen and (min-width:1800px) {

    .awd-pics-right { background-position: bottom center !important; }

    .awd-imgs-left { background-position: center center !important; }

  }

  @media only screen and (max-width:1600px) {

    #site-footer .wrap { width: 100%; }

  }

  @media only screen and (max-width:1560px) {

    .image-tall img { height: 800px; object-fit: cover; }

    .awd-site-main-flex { max-width: 94%; }

  }

  @media only screen and (max-width:1440px) {

    #site-header > .wrap, #top-bar > .wrap, #site-footer .wrap.footer-split { display: flex; width: 94%; }

    #mega-menu-wrap-site-primary-nav { margin: 0 0 0 auto; flex: 0 1 auto; }

  }

  @media only screen and (max-width:1260px) {

    #top-bar > .wrap { display: flex; width: auto; padding-right: 3%; padding-left: 3%; }

    .top-content { text-align: left; }

    .top-social { position: relative; display: inline-block; margin: 0 0 0 auto; }

    .image-tall img { height: 600px; }

    .uagb-post__inner-wrap { border: 1px solid #eee; box-shadow: none; filter: none; }

  }

  @media only screen and (max-width:1140px) {

    #site-header > .wrap { display: flex; align-items: center; }

    #site-logo { flex: 1 0 66%; }

    #site-logo img { max-width: 232px; margin: 0 auto 0 0; }

    #site-logo > a.custom-logo-link, #site-header.sticky #site-logo > a.custom-logo-link { max-width: 232px; }

    #site-header.sticky + #site-main { padding-top: 118px; }

    #site-header { padding: 11px 0; }

    #site-footer .footer-split { width: auto; margin-bottom: 25px; padding-right: 2%; padding-left: 2%; flex-wrap: wrap; }

    #site-footer .footer-split > div { width: auto; flex: 0 0 100%; }

    #footer-left .widget_media_image a { display: block; max-width: 348px; margin: 0 auto; }

    #site-footer .widget.widget_nav_menu { margin: 25px auto; }

    #site-footer .widget .menu { padding: 0; text-align: center; }

    #site-footer .widget .menu li:first-child { margin-left: 0; }

    #gallery-cert { max-width: 768px; margin: 0 auto; }

    .gallery-certificate-item, .gallery-certificate-item:first-child, .gallery-certificate-item:nth-child(9n) { margin: 0 1% 10px; flex: 0 0 20%; }

    #site-footer .awd-social .social-item { margin: 0 auto; }

    #site-footer ul.social-list { margin-top: 20px; justify-content: center; }

    #site-footer .gd4-footer-locations { width: 96%; }

    #mega-menu-wrap-site-primary-nav #mega-menu-site-primary-nav > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link, #mega-menu-wrap-site-primary-nav #mega-menu-site-primary-nav > li.mega-menu-item.mega-current-page-ancestor > a.mega-menu-link { color: #fff; }

    #mega-menu-wrap-site-primary-nav #mega-menu-site-primary-nav li.mega-menu-megamenu:not(.mega-menu-tabbed) li.mega-menu-item-has-children:not(.mega-collapse-children) > a.mega-menu-link > span.mega-indicator, #mega-menu-wrap-site-primary-nav #mega-menu-site-primary-nav li.mega-menu-item-has-children.mega-hide-arrow > a.mega-menu-link > span.mega-indicator { display: inline-block; }

    #mega-menu-wrap-site-primary-nav { margin: 0 0 0 auto; flex: 1 1 auto; }

  }

  @media only screen and (max-width:1023px) {

    .awd-site-main-flex { max-width: 90%; margin-top: 30px; flex-wrap: wrap; }

    .awd-blog-sidebar article, .search-content-left { padding: 0; flex: 0 0 100%; }

    .awd-blog-sidebar article { margin-bottom: 60px; }

  }

  @media only screen and (max-width:976px) {

    .uagb-section__inner-wrap { width: 100%; }

    .gd4-box-shadow-col ul { column-count: 2; column-gap: 2em; }

    .gd4-box-shadow-col ul li { -webkit-column-break-inside: avoid; page-break-inside: avoid; break-inside: avoid; }

    #top-bar > .wrap { flex-direction: column-reverse; text-align: center; }

    .top-content { text-align: center; }

    .top-social { width: 100%; margin-bottom: 10px; }

    .image-tall img { height: auto; }

    .service-cols #menu-gd4-services { column-count: 2; column-gap: 2em; }

    .footer-location { width: auto; margin-bottom: 35px; flex: 1 0 49.3%; }

    #site-footer { padding-right: 2%; padding-left: 2%; }

    .single h1#page-title { font-size: 56px; }

    .awd-sitemap { column-count: 3; }

    .error-body h2 { font-size: 36px; }

    .wp-block-uagb-section.gd4-bottom-divider { -webkit-clip-path: none; clip-path: none; }

  }

  @media only screen and (max-width:767px) {

    body { overflow-x: hidden; }

    .top-content { position: absolute; top: -9999rem; left: -9999rem; }

    #top-bar { padding: 10px 0; background: #003764; }

    .top-social { margin-bottom: 0; }

    #top-bar ul.social-list { justify-content: flex-end; }

    .banner-list { position: absolute; top: -9999rem; left: -9999rem; }

    #footer-right { position: absolute; top: -9999rem; left: -9999rem; }

    .service-sidebar #menu-gd4-services { column-count: 2; column-gap: 3em; }

    .service-sidebar #menu-gd4-services li { -webkit-column-break-inside: avoid; page-break-inside: avoid; break-inside: avoid; }

    .gd4-icon-section span.uagb-ifb-icon { width: 60px; height: 60px; }

    .gd4-icon-section h4.uagb-ifb-title { font-size: 22px; }

    .single h1#page-title { font-size: 48px; }

    .awd-sitemap { column-count: 2; }

    ul.mobile-list { list-style-type: none; text-align: center; padding: 0; }

    .awd-desktop.awd-tablet { position: absolute; left: -9999rem; top: -9999rem; }

  }

  @media only screen and (max-width:640px) {

    #top-bar, .service-cols #menu-gd4-services { position: absolute; top: -9999rem; left: -9999rem; }

    .wp-block-buttons .wp-block-button { margin: 0 auto 20px; }

    .wp-block-button { width: 100%; }

    .gallery-certificate-item, .gallery-certificate-item:first-child, .gallery-certificate-item:nth-child(9n) { flex: 0 0 30%; }

    .gd4-box-shadow-col ul { column-count: 1; }

    .gd4-box-shadow-col ul.mobile-2col { column-count: 2; }

    .search h1#page-title { font-size: 2.5rem; line-height: 1.2; padding-left: 3%; }

    .awd-sitemap { column-count: 1; }

  }

  @media only screen and (max-width:560px) {

    .service-sidebar #menu-gd4-services { column-count: 1; }

    ul.mobile-list { column-count: 1; margin: 0; }

    #footer-left .widget_media_image a { display: block; max-width: 300px; margin: 0 auto; }

    #site-logo img { max-width: 190px; margin: 0 auto 0 0; }

    #site-logo > a.custom-logo-link, #site-header.sticky #site-logo > a.custom-logo-link, #site-header.sticky .custom-logo { max-width: 190px; }

    #site-header.sticky + #site-main { padding-top: 96px; }

  }

  @media only screen and (max-width:480px) { }

  @media only screen and (max-width:375px) { }

