/*
 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
*/

a {
   color: #D3D3D3;
}

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

/*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, calc(1.5625rem + ((1vw - 4.8px) * 3.4314)), 60px);
	font-weight:bold;
}
h3 {
  font-size: clamp(23px, calc(1.4375rem + ((1vw - 4.8px) * 2.6471)), 50px);
}
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:var(--base);
	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: var(--accent);
}
.wp-block-search__button, input[type="search"]{
	border-radius:5px;
}

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

.site-header {
    background-color: #ffffff; 
    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 */
.main-navigation {
    position: relative;
}

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

.main-nav li {
    position: relative;
}

.main-nav a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333; 
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-nav a:hover,
.main-nav a:focus {
    background-color: #e1e1e1; 
    color: #000; 
}

/* 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: column;
    }

    .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 style */
.custom-footer-container {
    display: flex;
    justify-content: center; 
    align-items: center;
    padding: 20px;
    flex-wrap: wrap;
    background-color: #1E73BE;
    width: 100%; 
}

.custom-footer-inner { 
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px; 
    width: 100%; 
    flex-wrap: wrap;
    line-height: 0.8;
}

.custom-footer-container > .custom-footer-inner > div {
    flex: 1;
    padding: 10px;
    text-align: center;
    min-width: 250px; 
}

@media (max-width: 768px) {
    .custom-footer-inner {
        flex-direction: column;
    }

    .custom-footer-inner > div {
        width: 100%; 
    }
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    flex-wrap: wrap;
}

.footer-logo, .footer-nav, .footer-acf-fields {
    flex: 1;
    padding: 10px;
    text-align: center;
    color: white;
}

.footer-acf-fields a {
    color: white;
}

.footer-acf-fields a:hover {
    color: #D3D3D3; 
}

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

.footer-nav {
    display: flex; 
    flex-direction: column; 
    align-items: center; 
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%; 
}

.footer-nav li {
    display: block; 
    padding: 10px 0; 
}

.footer-nav a { 
    color: inherit; 
    text-decoration: none;
}

.footer-nav a:hover {
    color: #D3D3D3; 
}

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


@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo, .footer-nav, .footer-acf-fields {
        flex: none; 
        margin-bottom: 20px; 
    }

    .footer-nav li {
        display: block; 
        margin: 10px 0; 
    }
}

/*footer nav */
.footer-nav-menu {
    gap:20px;
}

.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; 
    }
    .main-nav {
        display: none; 
    }
}

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

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

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

.top-bar-phone a {
    color: white;
    text-decoration: none;
}

.top-bar-phone a:hover {
    color: #D3D3D3; 
}

.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; 
}

/* acf shortcodes styling
.inner-top-bar-container .acf-phone-number {
    color: white; 
}

.inner-top-bar-container .acf-physical-address p {
    color: white;
}

.inner-top-bar-container .acf-physical-address-second{
    color: white;
}

.inner-top-bar-container .acf-physical-address-ext{
    color: white;
} */