/*
 Theme Name:   AmpedPress
 Theme URI:    https://www.ampedvisibility.com/
 Description:  Custom Version of the GeneratePress Theme developed by Amped Visibility
 Author:       Joshua Young (Updated by Ivan S. 2024)
 Author URI:   https://www.ampedvisibility.com/
 Template:     generatepress
 Version:      0.1
 Text Domain:  ampedpress
*/

/* custom dashboard */

a {
   color: #D3D3D3;
}

h1 {
    font-size: 72px!important;
}

h2 {
 
    font-family: Poppins, sans-serif!important;
} 

p.gb-headline-text a {
    color: #1f73be;
}

p.gb-headline-text a:hover {
    color: #f36c14!important;
}

/*.post-16138 a {
    color: #325182!important;
}*/

.one-container .site-content {
    display: block;
    width: 100%;
    padding: 0;
}

.site.container.grid-container {
    max-width: 100%;
}

.col-list{
    display: grid;
    margin: 10px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	list-style-position: inside;
}

/* blog post template */
.entry-content.custom-entry-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    align-items: center; 
    margin: 35px 0 35px 0;
}

.inner-content-wrapper {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto; 
}

.site-content .content-area {
    width:100%;
}

.inner-content-wrapper p {
    margin-bottom: 10px; 
}

.inner-content-wrapper a {
    color: #1F3352;
}


/* blog meta */
.entry-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 35px;
}

.entry-meta a {
    color: black;
}
/*Mobile Menu Icon*/
.toggled .icon-menu-bars svg:nth-child(1) {
	  display: block;
}
.icon-menu-bars svg {
	  font-size: 24px;
}
.line {
    fill: none;
    stroke: currentcolor;
    stroke-width: 6;
    transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
        stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}
.line1 {
    stroke-dasharray: 60 207;
    stroke-width: 6;
}
.line2 {
    stroke-dasharray: 60 60;
    stroke-width: 6;
}
.line3 {
    stroke-dasharray: 60 207;
    stroke-width: 6;
}
.mobile-menu-open .line1 {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
    stroke-width: 6;
}
.mobile-menu-open .line2 {
    stroke-dasharray: 1 60;
    stroke-dashoffset: -30;
    stroke-width: 6;
}
.mobile-menu-open .line3 {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
    stroke-width: 6;
}
/*Mobile Menu Transition*/
@media (max-width: 768px) {
    .main-navigation .main-nav {
        max-height: 0;
        overflow: hidden;
        transition: max-height 500ms ease-out;

    }
    .main-navigation.toggled .main-nav {
        max-height: 1000px;
        transition: max-height 500ms ease-in;
    }
    .main-navigation .main-nav > ul {
        display: block !important;
    }
    .has-inline-mobile-toggle #site-navigation.toggled {
        margin-top: 0;
    }
    .main-navigation .menu-item-has-children .dropdown-menu-toggle {
        float: right;
    }
    .main-navigation .main-nav {
        flex-basis: 100%;
        order: 3;
    }
}
#mobile-header .main-nav > ul{
	height: calc(100vh - 60px);
    overflow: scroll;
}
.menu-item .description {
    display: block;
    line-height: initial;
	font-size:0.8em;
	font-weight:normal;
}
.main-title{
	font-weight:unset;
}
/*Gallery*/
.wp-block-gallery:hover figure:not(:hover){
	opacity:0.5;
	filter: blur(2px);
}
.wp-block-gallery figure{
	transition:all .2s ease-in-out;
}
/*Gravity Forms*/
/*Style 1*/
.hidden_label .gfield_label, .gfield_required{
	display:none;
}
.gform_fields{
	display:flex;
	flex-wrap:wrap;
}
.gfield--width-half{
	flex-basis:50%;
}
.gfield--width-full{
	flex-basis:100%;
}
.gfield {
	padding:5px 20px;
}
.ginput_container textarea{
	height:100px;
}
.ginput_container input, .ginput_container textarea{
	border:0px;
	border-bottom:1px solid var(--contrast-3);
	width:100%;
}
.gform_footer input[type="submit"]{
	padding:10px 50px;
	margin-left:20px;
	margin-top:20px;
}
/*Responsive Font Sizing
 * 480-1500px
 * h1:35-75
 * h2:25-60
 * h3:23-50
 * h4:20-40
 * 
 * */
h1 {
  font-size: clamp(35px, calc(2.1875rem + ((1vw - 4.8px) * 3.9216)), 75px);
	font-weight:bold;
}
h2 {
  font-size: clamp(25px, 4vw, 48px);
	font-weight:bold;
}
h3 {
  font-size: clamp(23px, calc(1.4375rem + ((1vw - 4.8px) * 2.6471)), 36px);
	padding: 25px 0 0;
}
h4 {
  font-size: clamp(20px, calc(1.25rem + ((1vw - 4.8px) * 1.9608)), 40px);
}
.gb-container-fullwidthBG{
    margin-left: calc(-100vw / 2 + 100% / 2);
    margin-right: calc(-100vw / 2 + 100% / 2);
    max-width: 100vw;
    width: auto;
}
body{
	overflow-x:hidden;
}

/*gravity forms*/
.gfield{
	width:100%;
}
.ginput_complex {
	display:flex;
	flex-wrap:wrap;
}
.gform-grid-col{
	flex-grow:1;
	flex-basis:50%;
}
.ginput_full{
	flex-basis:100%;
}
.ginput_left{
	padding-right:20px;
}
.ginput_right{
	padding-left:20px;
}
.name_first{
	padding-right:20px;
}
.name_last{
	padding-left:20px;
}
.main-navigation .menu-bar-items a.menubtn{
	color:white;
	display: inline-flex;
	gap:10px;
    align-items: center;
    height: 45px;
    font-size: 16px;
    font-weight: bold;
    padding-right: 20px;
    padding-left: 20px;
    border-radius: 10px;
    background-color: #325182;
}
.wp-block-search__button, input[type="search"]{
	border-radius:5px;
}

/* custom menu code */
body, h1, h2, h4, h5, h6, ul, ol, li {
    margin: 0;
    padding: 0;
}

p {
	display: block;
	margin-top: 1em;
	margin-bottom: 1em;
	margin-left: 0;
	margin-right: 0;
}

.site-header {
    background-color: #325182; 
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    justify-content: center;
}

.inside-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-logo a {
    display: flex;
    align-items: center;
}

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

/* navigation */

#primary-menu {
    font-size: 16px; 
}

#primary-menu a {
    font-size: inherit; 
}

.main-navigation {
    position: relative;
}

.main-nav {
    list-style: none;
    display: flex;
    gap: 20px;
}

.main-navigation ul {
    font-family: "Inter", sans-serif;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    display: block;
    text-decoration: none;
    color: white; 
    letter-spacing: 1px;
}

.main-nav a:hover,
.main-nav a:focus {
    color: #46c4d0; 
}

.main-navigation, .main-navigation ul ul {
    background-color: #325182;
}

/* mobile menu button */
.menu-toggle {
    display: none; 
    cursor: pointer;
    padding: 10px;
    border: none;
    background: none;
    font-size: 1.5em;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .inside-navigation {
        display: none; 
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: #f5f5f5;
        flex-direction: row;
    }

    .main-nav {
        flex-direction: column;
        width: 100%;
    }

    .main-nav a {
        text-align: center;
        padding: 10px;
    }
}

/* custom button styles */
.header-buttons {
    margin-left: auto; 
}

.header-button {
    padding: 10px 20px;
    background-color: #0073e6; 
    color: white;
    text-decoration: none;
    margin-left: 10px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.header-button:hover,
.header-button:focus {
    background-color: #0056b3;
}

.custom-footer-container {
    background-color: #1F3352;
    padding: 20px;
    font-size: 16px;
    color: #FFFFFF;
    width: 100%;
}

.footer-column .footer-logo {
    color: #FFFFFF; 
}

.custom-footer-inner {
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    padding: 0 20px;
    max-width: 1280px;
}

.footer-column {
    /*flex: 1;*/
    padding: 15px;
}

.footer-logo {
	width: 37%;
    text-align: left;
}

.footer-logo p {
    margin: 10px 0;
}

.footer-logo a {
    color: #FFFFFF;
}

.footer-logo a:hover {
    color: #1e73be;
}

.footer-column h3 {
    font-family: 'Inter', sans-serif;
    color: #B3D1FF;
    font-weight: 500;
    font-size: 16px;
}

.footer-menu {
    list-style-type: none;
    padding-top: 0px;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu li:last-child {
    margin-bottom: 0;
}

.footer-menu li a {
    font-family: 'Lora', serif;
    color: #FFFFFF;
    font-weight: 400;
    font-size: 20px;
    text-decoration: none;
    display: block;
}

.footer-menu li a:hover {
    text-decoration: underline;
}

.footer-icons {
    display: inline-block; 
    margin-right: 5px; 
    line-height: 1; 
    vertical-align: middle; 
}

.footer-logo p {
    display: flex;
    align-items: center;
}

/* copyright bar */
.copyright-bar {
    font-size: 14px;
}

.copyright-bar .wp-block-social-links,
.copyright-bar .wp-block-social-links.has-normal-icon-size {
    font-size: 16px;
}

.entry-header {
    display: none;
}

/* mobile menu */
.mobile-menu {
    display: none; 
}

@media screen and (max-width: 768px) {
    .mobile-menu {
        display: block; 
    }
}

.mobile-menu-toggle {
    display: none; 
}

@media screen and (max-width: 768px) {
    .mobile-menu-toggle {
        display: block; 
    }
}

.top-bar-menu {
    color: white;
}

/* top bar phone and CTA svg icon and link */
.gb-container.top-bar-phone, .gb-container.top-bar-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    gap: 18px;
}

.top-bar-phone p, .top-bar-cta p {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0; 
    /*width: 100%;*/
}

.top-bar-phone a.gb-headline-text:hover{
    text-decoration: underline;
    color: white;
}

.top-bar-phone a.gb-headline-text, .top-bar-cta a.cta-text:hover{
    text-decoration: underline;
    color: white;
}


.phone-icon, .cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px; 
}

.phone-icon svg, .cta-icon svg {
    width: 20px; 
    height: 20px; 
    fill: #ffff; 
}

.top-bar-phone a.gb-headline-text, .top-bar-cta a.cta-text {
    text-decoration: none; 
    color: #B3D1FF; 
    font-size: 20px; 
}

.copyright-year {
    color: white;
}

.copyright-menu-1 {
    color: white;
}

.copyright-menu-1 a {
    color: white;
    text-decoration: none;
}

.copyright-menu-1 a:hover  {
    color: #D3D3D3; 
}

/* testimonials slider */
.testimonial-slider-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: auto;
}

.slider-arrows {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
}

/* custom styles for testimonial slider arrows */
.testimonial-slider-container .slider-arrows button.prev-arrow,
.testimonial-slider-container .slider-arrows button.next-arrow {
    background-color: transparent !important;
    color: gray !important;
    border: none !important;
    padding: 10px 20px !important;
    font-size: 24px !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    outline: none !important;
    box-shadow: none !important;
}

/* additional hover effects for arrows */
.testimonial-slider-container .slider-arrows button.prev-arrow:hover,
.testimonial-slider-container .slider-arrows button.next-arrow:hover {
    background-color: #ddd !important;
}

.testimonial-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.testimonial-slide {
    display: none;
    text-align: center;
    padding: 20px;
}

.testimonial-slide.active {
    display: block;
}

/* star styles */
.testimonial-rating {
    font-size: 24px;
    color: gold;
}

/* featured page image duplicate */
.featured-image {
    display: none;
}

/* sub menu */
.main-navigation .main-nav ul li a {
    line-height: 40px;
    color: white;
}

#mobile-menu {
    background-color: #1e73be; 
}

.main-navigation.toggled .main-nav ul ul.toggled-on {
    background-color: #1e73be; 
}

.main-navigation .main-nav ul li[class*="current-menu-"] > a {
    color: #46c4d0;
    font-weight: 900;
}

.main-navigation .main-nav ul li:not([class*="current-menu-"]):hover > a, .main-navigation .main-nav ul li:not([class*="current-menu-"]):focus > a, .main-navigation .main-nav ul li.sfHover:not([class*="current-menu-"]) > a, .main-navigation .menu-bar-item:hover > a, .main-navigation .menu-bar-item.sfHover > a {
    color: #46c4d0;
}

.main-navigation ul ul {
    width: 300px;
}

/* gravity forms */
input[type="text"], input[type="email"], input[type="tel"], textarea {
    width: 100%; 
    padding: 10px;
    margin-top: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; 
}

.ginput_container textarea {
    border: 1px solid #ccc;
}

/* buttons styling */
.gform_button {
    background-color: #4CAF50; 
    color: white;
    border: none;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
}

/* checkboxes services */
.form-services {
    display: none;
}

/* submission error messages */
.gform_validation_error {
    background-color: #ffdddd; 
    border-left: 6px solid #f44336; 
    margin-bottom: 15px;
    padding: 10px;
}

.gform_validation_error h2 {
    font-size: 18px; 
}

#gform_1_validation_container ol {
    display: none;
}

/* hide gp copyright bar */
.site-info {
    display: none!important;
}

.custom-heading {
    display: flex;
    align-items: center;
}

.location-icon {
    margin-right: 10px; 
}

.custom-locations-heading {
    margin: 0; 
    line-height: 1.2; 
    font-size: 12px!important;
    font-family: Inter, sans-serif;
    color: #57241C;
    font-weight: 700;
}

/* row column */
.text-column .gb-button-wrapper a {
    margin-top: 30px;
}

.text-column .gb-button-wrapper a:hover {
    background-color: #0056b3; 
}

.row-content-block .gb-button-wrapper a:hover {
    color: gray!important;
}

@media screen and (max-width: 430px) {
    h1 {
        font-size: 36px!important;
    }
    .hp-service-column-grid {
        flex-direction: column;
    }
    .gb-grid-wrapper > .gb-grid-column {
        width: 100%!important;
    }
	.hp-service-column-grid {
	width: 100%;
}
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 36px!important;
    }
    .hp-service-column-grid {
        flex-direction: column;
		width: 100%;
    }
	.gb-container.top-bar-phone {
		justify-content: space-between;
	}
	.custom-footer-inner {
		flex-wrap: wrap;
	}
	.footer-column {
		width: 100%;
	}
	.footer-logo {
		order: 4;
	}
}

@media (max-width: 991px) {
    h1 {
        font-size: 36px!important;
    }
  .happyfiles-gallery > ul.crop[data-col], .happyfiles-gallery > ul.no-crop[data-col] {
    grid-template-columns: repeat(2,1fr);
  }
}


