/* Global Reset and Base Styles */
*,
*:before,
*:after {
    box-sizing: border-box;
}

html {
    border: 0;
    margin-top: 32px !important; /* From admin-bar-inline-css */
}

body {
    margin: 0;
    padding: 0;
}

form {
    margin: 0;
    padding: 0;
    border: 0;
}

img {
    border: none;
    max-width: 100%;
}

/* Structural Classes */
.main {
    width: 100%;
    margin: 0 auto;
}

.flex-middle {
    display: flex;
    align-items: center;
}

.flex-spaced-between-block-1024-margined {
    display: flex;
    justify-content: space-between;
}

.align-items {
    align-items: center;
}

.flex-middle-spaced-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Background and Color Classes */
.light-bg {
    background-color: #F7F7F7;
    color: #222222;
}

.dark-bg {
    background-color: #08539F;
    color: #FFFFFF;
}

.transparent-bg {
    background-color: transparent;
    box-shadow: none;
}

/* Header Styles (Inferred) */
.dark-bg.header.v2 .top-nav > ul > li > a {
    color: #FFFFFF;
    background: #07509a;
}

/* Button Styles */
.btn.v1 {
    z-index: 1;
    padding: 0.7em 1.75em;
    overflow: hidden;
    transition: color .3s ease 0s;
    display: inline-block;
    position: relative;
    cursor: pointer;
    text-align: center;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.125rem;
    letter-spacing: 0.05em;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
}

.light-bg .btn.v1 {
    background-color: #08539F;
    color: #FFFFFF;
}

.dark-bg .btn.v1 {
    background-color: #F7F7F7;
    color: #222222;
}

.btn.v1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0.7em;
    height: 110%;
    width: calc(100% + 5em);
    transform: translate(-100%, 0) skew(25deg);
    transition: transform .3s ease 0s;
    z-index: -1;
}

.light-bg .btn.v1::before {
    background-color: #EF3E30;
}

.dark-bg .btn.v1::before {
    background-color: #EF3E30;
}

@media screen and (min-width: 1025px) {
    .btn.v1:not(.no-hover):hover::before,
    .btn.v1:not(.no-hover):focus::before {
        transform: translate(calc(0% - 2.5em), 0) skew(35deg);
    }
}

/* Link Styles */
.light-bg a {
    color: #3A5DC7;
}

.dark-bg a {
    color: #B0D0FF;
}

a {
    cursor: pointer !important; /* From wp-custom-css */
}

/* Footer Styles */
#FooterZone ul.menu li {
    display: block;
}

#FooterZone ul.menu > li > a {
    display: block;
}

.svg-deco-top-rectangle-top::before {
    background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 100' data-shape='37' preserveAspectRatio='none'%3E%3Cstyle%3Epath%7Bfill:%23EF3E30;%7D%3C/style%3E%3Cpath d='M0 0L1000 0L1000 100L0 100L0 0Z' /%3E%3C/svg%3E");
    content: '';
    position: absolute;
    left: 0;
    top: -2px;
    width: 100%;
    height: 2vw;
    transform: scaleX(-1);
    background-size: 101% 100%;
    background-position: 50% -1%;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 1;
}

.tiny-padding {
    padding: 0.5em;
}

/* Form Styles */
.input-text input,
.input-text textarea,
.input-text select {
    display: block;
    border-style: solid;
    border-width: 1px;
    padding: .55em .75em .55em 1em;
    width: 100%;
    border-radius: 0;
    text-align: left;
    outline: none;
    font-size: 1em;
    transition: background-color .5s ease 0s, border-color .5s ease 0s, color .5s ease 0s;
}

.input-text textarea {
    resize: none;
    min-height: 8em;
    height: 8em; /* From wp-custom-css */
}

.gform_wrapper .gform_fields .gfield_label {
    display: block;
    position: relative;
    margin: 0 0 .25em;
    text-align: left;
}

.gform_wrapper .ginput_container input,
.gform_wrapper .ginput_container textarea,
.gform_wrapper .ginput_container select {
    width: 100%;
}

.gform_wrapper .gform_footer input[type='submit'] {
    background-color: #08539F;
    color: #FFFFFF;
    padding: 0.7em 1.75em;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
}

/* Custom Inline Styles from wp-custom-css */
#MainContent p > br,
#MainContent p > b > br,
#MainContent p > a > br {
    display: none;
}

.white-txt a,
.white-txt p,
.white-txt h4 {
    color: #fff !important;
}

.white-txt .call-no a {
    color: #fff !important;
    font-size: 24px;
    font-weight: 600;
    text-decoration: none;
}

.padding-sec {
    padding: 0px 50px;
}

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

.bottom-margin-tiny {
    margin-bottom: 0.5em;
}

.top-margin-tiny {
    margin-top: 0.5em;
}

.flex-grid-small-center-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5em;
}

.fit {
    flex: 0 0 auto;
}

#ContactSystemV5AddressList li img.fit {
    height: 1em;
    width: 1em;
    margin-right: .5em;
}

/* Responsive Adjustments */
@media screen and (max-width: 1280px) {
    .svg-deco-top-rectangle-top::before {
        height: 3vw;
    }
}

@media screen and (max-width: 580px) {
    .padding-sec {
        padding: 20px 20px;
    }
    .mobile-center {
        width: 100%;
        text-align: center;
    }
    .call {
        padding-top: 26px;
        float: inherit;
        width: 100%;
        padding-right: 0px;
        padding-bottom: 0px;
    }
}

/* Additional Styles for Specific Elements */
header {
    margin-bottom: 1em;
}

h2 {
    font-size: 2em;
    font-weight: 600;
}

h3 {
    font-size: 1.5em;
}

p {
    margin: 0 0 1em;
}