/*************************************************************************************/
/*********************************CSS RESET*******************************************/
/*************************************************************************************/
/* Box sizing rules */
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

/* Remove default padding */
ul[class],
ol[class] {
    padding: 0;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
    margin: 0;
}

/* Set core body defaults */
body {
    min-height: 100vh;
    scroll-behavior: smooth;
    text-rendering: optimizeSpeed;
}

/* Remove list styles on ul, ol elements with a class attribute */
ul[class],
ol[class] {
    list-style: none;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
    text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img {
    max-width: 100%;
    display: block;
}

/* Natural flow and rhythm in articles by default */
article > * + * {
    margin-top: 1em;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
    font: inherit;
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
    }
}

a {
    text-decoration: none;
    color: inherit;
}
/*************************************************************************************/
/************************************Header*******************************************/
/*************************************************************************************/
header, footer, section, main {
    width: 100%;
}
#template-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

#header-container {
    position: fixed;
    top: 0;
    left: 0;
    margin: auto;
    width: 100%;
    z-index: 100;
}

#header {
    display: flex;
    position: relative;
    height: 130px;
    width: 100%;
    z-index: 100;
}

/*********************************Logo**********************************/
#header-flex-logo {
    display: flex;
    height: 100%;
}

#header-logo {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-left: 25px;
}

#logo-image picture img{
    height: 130px;
    width: auto;
    object-fit: contain;
}

#logo-text {
    font-size: 35px;
    font-weight: bold;
    text-decoration: none;
    margin-left: 25px;
}
/*********************************Header Right**************************/
#header-flex-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    height: 100%;
}

/**************************Header Phone*************************************/
#header-phone {
    margin-top: 25px;
    margin-right: 25px;
    display: flex;
}

#header-phone-link {
    display: flex;
    text-decoration: none;
}

#header-phone-img {
    display: flex;
    justify-content: center;
    /* align-items: center; */
    margin-right: 5px;
}

#header-phone-img svg {
    height: 25px;
    width: 25px;
}

#header-phone-text {
    font-size: 18px;
    font-weight: bold;
}

#header-custom-button {
    margin-bottom: 8px;
    margin-right: 10px;
    text-align: center;
    /* width: 170px; */
    padding: 5px;
}

.header-custom-button{
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}

.header-custom-button:hover {
    cursor: pointer;
}


/*************************Header Menu***************************************/
#header-menu {
    display: flex;
    justify-content: center;
    height: 100%;
    margin-right: 25px;
}

#header-nav-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

#header-nav-list {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    list-style-type: none;
}

#header-nav-list li a,
#service-nav-button p {
    text-decoration: none;
}

#small-header-button-wrapper {
    display: none;
}

/************************Menu Buttons*********************************/
.active {
    border-radius: 4px;
    font-weight: bold;
}
/******************Home Button*******************/
#homeButton {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 1px;
    margin-left: 1px;
}

#homeButton a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 110px;
    text-align: center;
    padding-top: 8px;
    padding-bottom: 8px;
}

#homeButton a:hover {
    font-weight: bold;
}

/**************Regular Buttons**************/
.header-nav-item {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 110px;
    height: 40px;
    margin-right: 1px;
    margin-left: 1px;
}

.header-nav-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    text-align: center;
    padding-left: 5px;
    padding-right: 5px;
}

.header-nav-item a:hover {
    font-weight: bold;
}

.header-active-item {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 110px;
    height: 40px;
    margin-right: 1px;
    margin-left: 1px;
}

.header-active-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    text-align: center;
    padding-left: 5px;
    padding-right: 5px;
}

.header-active-item a:hover {
    font-weight: bold;
}

/***************Service Button*************/
#service-nav-button {
    /* flex-basis: 110px; */
    min-width: 110px;
    margin-right: 1px;
    margin-left: 1px;
}

#service-nav-button > p {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 110px;
    text-align: center;
    padding-top: 8px;
    padding-bottom: 8px;
}

#service-nav-button > p:hover {
    font-weight: bold;
}

/*************Service Dropdown**************/
#service-nav-list {
    display: none;
    position: absolute;
    visibility: hidden;
    list-style: none;
    opacity: 0;
    padding-left: 0;
    min-width: 110px;
}

#service-nav-list li {
    display: flex;
    justify-content: center;
    align-items: center;
    height: unset;
}

.service-nav-item a {
    padding: 5px;
    width: 100%;
    text-align: center;
}

.service-nav-item a:hover {
    font-weight: bold;
}

#service-nav-list:active,
#service-nav-list:focus,
#service-nav-list:hover,
#service-nav-button:active>#service-nav-list,
#service-nav-button:focus-within>#service-nav-list,
#service-nav-button:hover>#service-nav-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    visibility: visible;
    opacity: 1;
}

/******************************Service Listing*************************************/
#value-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    height: 40px;
}

#value-list a {
    padding-left: 4px;
    padding-right: 4px;
    text-decoration: none;
    font-size: 14px;
}

/*******************************Buttons*************************************/
.addedButton a {
    text-decoration: none;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 400;
    height: 100%;
    line-height: normal;
    font-size: 16px;
    padding: 10px 20px 10px 20px;
    text-transform: uppercase;
    border: 3px solid;
}

.addedButton {
    margin-left: auto;
    margin-right: auto;
    border-radius: 4px;
    display: block;
    margin-bottom: 2em;
    margin-top: 2em;
    width: 200px;
}

div.addedButton {
    /* margin-top: 50px; */
    text-align: center;
}

/****************************************************************************/
/*****************************Footer****************************************/
/****************************************************************************/
#footer-background {
    display: flex;
    justify-content: center;
    height: 250px;
}

#footer-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
    height: 100%;
}

#footer-section-list {
    display: flex;
    height: 100%;
    width: 100%;
}

#footer-section-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}
#footer-address {
    margin-top: 15px;
}
#footer-business-name {
    margin-top: 15px;
    font-size: 16px;
    font-weight: bolder;
}
#footer-address-loc {
    font-size: 14px;
}

#footer-hours {
    margin-top: 10px;
    font-size: 14px;
}

#footer-section-middle {
    display: flex;
    flex-direction: column;
    flex: 1;
}

#footer-phone-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 33%;
    flex: 1;
    margin-top: 10px;
    margin-bottom: 10px;
}
#footer-phone-img {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
}

#footer-phone-img svg {
    height: 25px;
    width: 25px;
}

#footer-phone-text {
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}

#footer-copyright {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    max-height: 33%;
    font-size: 12px;
    margin-top: 10px;
    margin-bottom: 10px;
}

#footer-social-list {
    display: flex;
    flex: 1;
    list-style-type: none;
    justify-content: center;
    align-items: center;
    padding-left: 0px;
    height: 100%;
    flex-wrap: wrap;
}

#footer-social-list li {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    width: 40px;
    cursor: pointer;
    margin-left: 10px;
    margin-right: 10px;
}

#footer-social-list li a svg{
    display: flex;
    align-items: center;
    justify-content: center;
}

#footer-social-list li svg {
    display: flex;
}

#footer-social-list li svg:hover {
    opacity: .65;
}

.footer-social-media {
    display: flex;
    justify-content: center;
    max-width: 40px;
}

#footer-social-container {
    display: flex;
    align-items: center;
    flex: 1;
    max-height: 33%;
}

.footer-social-media a svg{
    width: 40px;
    height: 40px;
}

#footer-section-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    text-align: right;
    flex: 1;
}

#footer-tags {
    width: 70%;
}

#footer-keys {
    font-size: 10px;
}

#footer-copyright-bottom a {
    text-decoration: none;
}

#footer-social-media svg {
    display: flex;
    background-size: 40px 40px;
}

/**********************************************************************************/
/*********************************Mobile*******************************************/
/**********************************************************************************/
@media screen and (max-width:1250px) {
    #homeButton a,
    #service-nav-button > p {
        width: 80px;
    }

    .header-nav-item,
    #service-nav-button {
        min-width: 80px;
    }
}


@media screen and (max-width:960px) {
    #header-container {
        position: relative;
        top: 0;
        left: 0;
    }
    #header {
        height: auto;
        flex-direction: column;
    }
    #header-flex-logo {
        justify-content: center;
        align-items: center;
        height: 100px;
        padding-top: 15px;
    }
    #header-logo {
        margin-left: 0;
    }
    #logo-image picture img{
        height: 95px;
    }
    #header-flex-info {
        justify-content: space-between;
        align-items: center;
    }
    #header-phone {
        margin: 0;
        margin-top: 15px;
        flex-direction: column-reverse;
    }
    #header-custom-button {
        margin-top: 10px;
    }
    #header-menu {
        display: block;
        margin-top: 15px;
        margin-right: 0;
    }
    #header-nav-list {
        display: none;
    }
    #small-menulist {
        /* display: none; */
        max-height: 0;
        align-items: center;
        justify-content: flex-start;
        position: relative;
        margin: 0;
        margin-top: 13px;
        min-width: 320px;
        transition: max-height 0.4s ease-out;
        /* height: 200px; */
        overflow: auto;
    }
    #small-menulist li {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 90%;
        margin-top: 10px;
        margin-bottom: 10px;
        margin-left: auto;
        margin-right: auto;
    }
    #small-menulist li a {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        text-decoration: none;
        padding: 5px;
        font-size: 18px;
        text-align: center;
    }
    #small-menulist li:hover a {
        font-weight: bold;
    }
    #small-header-button-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        cursor: pointer;
        /* margin-top: 80px; */
    }
    .line1, .line2, .line3 {
        position:relative;
        display:block;
        margin-top:5px;
        width:25px;
        height:3px;
        opacity:1.0;
        border-radius:15%;
    }
    .toggleStyle {
        display: flex!important;
        z-index: 1;
        transition: all .6s ease;
        flex-direction: column;
        justify-content: center;
    }
    .slideDown{
        animation-name: slideDown;
        -webkit-animation-name: slideDown;
        animation-duration: 1s;
        -webkit-animation-duration: 1s;
        animation-timing-function: ease;
        -webkit-animation-timing-function: ease;
        visibility: visible !important;
    }
    @keyframes slideDown {
        0% {
            opacity: 0;
            transform: translateY(0%);
        }
        100% {
            transform: translateY(0%);
        }
    }

    /*************************Footer********************************/

    #footer-background {
        height: 450px;
    }

    #footer-section-right {
        display: none;
    }

    #footer-section-list {
        flex-direction: column;
    }

    .address {
        text-align: center;
    }

    #footer-hours {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #footer-business-name {
        font-size: 24px;
    }
}

@media screen and (max-width:550px) {
    #small-menulist {
        width: 100%;
    }
    #header-menu {
        width: 100%;
    }
    #header-nav-container {
        justify-content: center;
    }

    #small-header-button-wrapper  {
        width: 100%;
    }

    #small-menulist > li {
        width: 35%;
    }
}