
*
{
    box-sizing: border-box;
}

html
{
    min-height: 100%;
    font-family: 'Roboto', sans-serif;
    /*font-family: sans-serif;    */
    line-height: 1.4;
    overflow-y: scroll;  
    scroll-behavior: smooth;
    background-color: transparent;
    padding: 0;
    margin: 0;     
}

/* prevent being stuck in hover state on devices that don't support hover */
@media (hover: none)
{
    *:hover
    {
        color: inherit;
        background-color: inherit;        
    }
}

body
{
    padding: 0;
    margin: 0;    
    overflow: hidden;
}

/* home card heading only */
h1
{
    font-size: 32px;
}

/* section title only */
h2
{
    font-size: 36px;
}

/* section subheading only */
h3
{
    font-size: 24px;
}

/* service card heading only */
h4
{
    font-size: 24px;
}

/* Most text */
p
{
    font-size: 18px;
}

ul
{
    list-style-type: none;    
    text-decoration: none;    
}

img
{
    background-color: #999999;
}

/* logo image */

.logo-image
{
    margin: 4px;
    max-width: 276px;
    height: auto;
    transition: 0.3s;
    display: inline;
    float: left;
}

.logo-image:hover
{
  -webkit-filter: opacity(50%);
  filter: opacity(50%);
}

/* end logo image */

/* fixed navigation bar */

#fixed-nav-bar
{
    display: flex;    
    position: fixed;    
    justify-content: space-around;
    align-items: center;
    background-color: white;
    box-shadow: 0 1px 8px 3px rgb(0, 0, 0, 0.06);
    width: 100%;
    z-index: 4000000;
}

#fixed-nav-links-list
{
    list-style-type: none;
    margin-right: 36px;
    margin: 0;
}

#fixed-nav-links-list > li
{
    display: inline-block;
}

#fixed-nav-links-list > li > a
{
    color: #2f52ab;
    text-align: center;
    overflow: hidden;
    font-size: 18px;
    text-decoration: none;
    transition: color 0.3s;
    padding: 8px;
    margin: 0 16px;
}

#fixed-nav-links-list > li > a:hover
{
    color: #ffaf53;
}

#fixed-nav-logo-link
{
    margin-right:auto;   
    margin-left: 16px;
}

/* end fixed navigation bar */

/* menu control button */

.menu-header
{
    background-color: white;
    padding: 0;
    margin: 0;
    right: 0;    
    top: 0;   
    position: fixed;
    z-index: 300000;
    display: block;
    height: 44px;
}

.menu-button-container
{
    color: #2f52ab;
    background-color: white;
    padding-left: 16px;
    padding-right:16px;
    transition: color 0.3s;
    height: 44px;
    font-size: 24px;
    text-align: center;
    line-height: 44px;
}

.menu-button-container:hover
{
    background-color:white;
    color: #ffaf53;
    cursor: pointer;
}

.open-menu
{
    text-decoration: none;    
}

.close-menu
{
    display: none;
    text-decoration: none;
}

/* end menu control button */

/* slide-out navigation bar */

#menu-header-and-slide-out-container
{
    display: none;
    max-width: 1400px;
}

#slide-out-nav-bar
{
    padding-left: 0;
    margin-left: 0;
    padding-top: 42px;
    position: fixed;
    top: 0;
    width: 0;
    background: black;
    overflow-y: auto;
    overflow-x: hidden;
    transition: width 0.8s;
    right:0;
    text-align: center;
    z-index: 200000;
    height: 100%
}

#slide-out-nav-links-list-container
{
    display: flex;
    align-items: center;
    justify-content: center;
}

#slide-out-nav-links-list
{
    list-style-type: none;
    padding: 0;
    width: fit-content;
    display: inline-block;
}

.slide-out-nav-link
{
    text-decoration: none;
    padding-left: 8px;
    padding-right: 8px;   
}

#slide-out-nav-bar:target
{
    width: 100%;
    max-width: 100%;
    display: block;
    text-decoration: none;    
}

#slide-out-nav-bar:target + .menu-header .open-menu
{
    display: none;
}

#slide-out-nav-bar:target + .menu-header .close-menu
{
    display: block;
}

#slide-out-nav-bar .slide-out-nav-link
{
    display: block;
    background-color: black;
    color: #2fab88;
    font-size: 64px;
    transition: color 0.3s;
}

#slide-out-nav-bar .slide-out-nav-link:hover, .slide-out-nav-link:focus
{
    background-color: black;
    color: white;
}

#slide-out-nav-bar:after
{
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
}

/* end slide-out navigation bar */

/* home section */

#home-content-container
{
    max-width: 1400px;
    margin: auto;
    padding-left: 100px;
    padding-right: 0px;
    padding-top: 57px;
    padding-bottom: 0;
    overflow: hidden;
    background-color: transparent;    
}

#home-card
{
    background-color: transparent;
    display: grid;
    grid-template-columns: 1fr 2fr;
}

#home-card-text-container
{
    display: inline-block;
    background-color:transparent;    
    margin-top: auto;
    margin-bottom: auto;
    padding-right: 16px;    
}

#home-card-image
{
    display: inline-block;
    width: 100%;
    height: auto;
    vertical-align: middle;      
}

#home-card-text-container > h1
{
    margin: 8px 0;
    padding: 0;    
    line-height: 1.2;
}

#home-card-text-container > p
{
    margin: 8px 0;
    padding: 0;
}

#home-card-button
{
    display: inline-block;
    text-align: center;
    text-decoration: none;
    font-size: 24px;
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 18px;
    padding-bottom: 18px;
    margin-left: 0;
    /*margin-right: 24px;*/
    margin-top: 16px;
    margin-bottom: 8px;
    background-color: #2fab88;/*#ab2f52;*/
    color: white;
    border-radius: 64px;
    transition: background-color 0.3s, color 0.3s;
}

#home-card-button:hover
{
    background-color: #ffaf53;
    color: black;
}

/* end home section */

/* other sections */

.full-width-row
{
    margin: auto;
    padding: 0;
    overflow: hidden;
}

.section-title-container
{
    width: fit-content;    
    margin-bottom: 64px;
}

.section-title-container a
{
    color: inherit;
    text-decoration: none;
}

.section-title-container h2
{
    line-height: 1.2;
    margin: 4px;    
}

.horizontal-line
{
    border-bottom: 8px solid #2fab88;
    border-radius: 4px;
    max-width: 100%;
}

.content-container
{
    max-width: 1400px;
    margin: auto;
    padding-left: 100px;
    padding-right: 100px;
    padding-top: 70px;
    padding-bottom: 16px;
    overflow: hidden;
}

.section-image
{
    float: right;
    margin-left: 32px;
    width: 100%;
    max-width: 640px;
    height: auto;
}

.section-image-caption
{
    color: #555555;
    padding-bottom: 16px;
    float: right;
    margin-left: 32px;
    width: 100%;
    max-width: 640px;
    height: auto;
}

.section-card
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: white;
    border: solid #999999 1px;
    margin-bottom: 128px;
}

.section-card-text-half
{
    display: flex;
    width: 100%;
    height: 100%; 
    background-color: white;
    vertical-align: middle;
}

.section-card-text-container-right
{
    padding-left:16px;
    padding-right: 32px;
    padding-top: 16px;
    padding-bottom: 16px;  
    margin-top: auto;
    margin-bottom: auto;    
    background-color: white;
    color: black;
}

.section-card-text-container-left
{
    padding-right:16px;
    padding-left: 32px;
    padding-top: 16px;
    padding-bottom: 16px;  
    margin-top: auto;
    margin-bottom: auto;    
    background-color: white;
    color: black;
    border-right: solid #b7e589 32px;
}

.section-card-image-container
{
    background-color: transparent;
    margin-top: auto;
    margin-bottom: auto;    
    color: black;
}

/* end other sections */

/* service list */

/* end service list */

#service-list
{
    list-style-type: square;
    color: #1c6651;
}

.service-item
{
    font-size: 24px;
}

/* service card */

.service-cards-container
{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(370px, 1fr));
    grid-gap: 20px;
}

.service-card
{
    display: block;
    grid-template-rows: max-content 300px 1fr;
    margin: 16px;
    padding: 24px;
    border-radius: 4px;
    -webkit-box-shadow: 0px 5px 35px 0px rgba(64, 64, 64, 0.15);
    box-shadow: 0px 5px 35px 0px rgba(64, 64, 64, 0.15);    
}

.service-card img
{
  display:block;
  object-fit: contain;
  width: 100%;
  height: auto;    
}

.service-card > div
{
    margin: 16px;
    overflow: hidden;
}

.service-card h4
{
    margin: 8px 0;
}

/* end service card */

/* gallery */

/* cursor pointer and hover should be set by JavaScript */
.gallery-image
{
    padding: 0;
    margin: 0;
    display: inline-block;
    cursor: auto;
    transition: 0.3s;
    line-height: 0;
}

.gallery-modal
{
    display: none;
    position: fixed;
    z-index: 9999999;
    padding-top: 64px;
    padding-bottom: 64px;    
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgb(0,0,0, 0.9);
}

.gallery-modal-image
{

    margin: auto;
    display: block;
    max-width: 800px;
    width: auto;
    height: 100%;  
    max-height: 800px;
}

.gallery-modal-image-caption
{
    margin: auto;
    display: block;
    width: 100%;
    max-width: 700px;
    text-align: center;
    color: white;
    padding: 16px 0;
    height: 150px;
}

.gallery-modal-image, .gallery-modal-image-caption
{
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom
{
    
    from {transform:scale(0)}
    to {transform:scale(1)}
}

.gallery-modal-close
{
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 8px;
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgb(0,0,0, 0.50); /* 0.9 */
    color: white;
    font-size: 80px;
    line-height: 0.5;
    font-weight: bold;    
    transition: 0.3s;
    cursor: pointer;
}

.gallery-modal-close:hover, .gallery-modal-close:focus
{
    color: #aaaaaa;
    text-decoration: none;
}

.gallery-container
{
    max-width: 1400px;
    margin: auto;
    padding-left: 100px;
    padding-right: 100px;
    padding-top: 16px;
    padding-bottom: 64px;
    overflow: hidden;
    
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 300px)); /*300*/
    grid-gap: 0;
}

/* end gallery */

/* contact section (not complete) */

#contact-subheading
{
    font-size: 36px;/*42px;*/
    margin-top: 16px;
    margin-bottom: 4px;
}

.contact-list-heading
{
    font-size: 32px;
    margin: 0;
    padding-top: 24px;
}

#contact-card
{
    display: block; /*grid;*/
    grid-template-columns: 1fr 1fr;    
    background-color: white;
    margin-top: 32px;
    margin-bottom: 32px;
}

#contact-list
{
    background-color: white;        
    padding-left: 32px;
    padding-right: 32px;
    padding-top: 0;
    padding-bottom: 16px;    
    margin-bottom: 320px;
    vertical-align: middle;
    padding-left: 8px;
    width: -moz-fit-content;
    width: fit-content;
}

.contact-item
{
    vertical-align: middle;
    display: flex;
    align-items: center;    
    margin: 16px;
    transition: 0.3s;
}

.contact-item:hover
{
    background-color: #e1e1e1;
}

.contact-info
{
    font-size: 32px; /*20px;*/
    vertical-align: middle;
    padding-left: 8px;
    padding-right: 12px;
}

#address-hours-container
{
    margin: auto;
    background-color: transparent;
    padding: 16px;    
}

.inline-block
{
    display: inline-block;
}
    
th
{
    text-align: right;    
    font-size: 20px;
}

td
{
    font-size: 20px;
}

/* end contact section */
.other-background
{
    background-color: #D5E8EE;    
}



.purple-background
{
    background-color: #b9a0cd;
}

.brown-background
{
    background-color: #cdb9a0;
}

.dark-brown-background
{
    background-color: #524a40;
}

.gray-background
{
    background-color: #f2f2f2;
}

.black-background
{
    background-color: black;
    color: white;    
}

.white-background
{
    background-color: white;
}

#map-container
{
    display: flex;
    justify-content: center;
    margin-bottom: 128px;
}

#map-container > iframe
{
    background-color: #999999;    
}

#image-attribution-link
{
    /*color: black;*/
    font-size:16px;  
}

@media only screen and (max-width: 1400px)
{
    #fixed-nav-logo-link
    {
        margin-left: 100px;
    }
}

@media only screen and (max-width: 1100px)
{
    .section-image
    {
        max-width: 1100px;
    }
    
    .section-image-caption
    {
        max-width: 1100px;        
    }    
}

@media only screen and (max-width: 1020px)
{
/*
    .section-image
    {
        max-width: 1100px;
    }
    
    .section-image-caption
    {
        max-width: 1100px;        
    }
*/
    #fixed-nav-links-list
    {
        display: none;
    }
    
    #menu-header-and-slide-out-container
    {
        display: block;
    }
    
    #home-card-button
    {
        font-size: 20px;
    }
}

@media only screen and (max-width: 940px)
{   
    #home-card-button
    {
        margin: 8px 0;
        padding-left: 16px;
        padding-right: 16px;
        padding-top: 8px;
        padding-bottom: 8px;  
    }
    
    .contact-info
    {
        font-size: 18px;
    }
    
    th
    {
        font-size: 16px;
    }
    
    td
    {
        font-size: 16px;
    }
}

@media only screen and (max-width: 900px)
{ 

    #fixed-nav-logo-link
    {
        margin-left: 32px;
    }
    /*
    #home-row
    {
        background-color: #cdb9a0;
        color: black;
    }
    */
    #home-card-text-container
    {
        padding-left: 32px;
        padding-right: 32px;
        padding-bottom: 16px;        
    }
    
    #home-content-container
    {
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 0;        
        padding-top: 64px;
    }
    
    #home-card-button
    {
        font-size: 24px;
    }

    .content-container
    {
        padding-left: 32px;
        padding-right: 32px;
    }
    
    .section-card
    {
        display: block;
        padding: 64px;
    }

    .section-card-text-container-right
    {
        padding: 0;
    }
    
    #home-card
    {
        display: block;    
    }

    .service-cards-container
    {
        display:block;
    }
    
    .service-card
    {
        margin:32px 0;
        padding:0;
    }

    .service-card img
    {
        border-radius: 4px 4px 0 0;
    }

    #contact-card
    {
        display: block;
        border: solid #999999 1px;
    }
    
    #contact-list
    {
        border-right: solid black 0;
    }
    
    .contact-info
    {
        font-size: 20px;
    }
    
    th
    {
        font-size: 20px;
    }
    
    td
    {
        font-size: 20px;
    }
    
}

@media only screen and (max-width: 820px)
{
    .gallery-container    
    {
        grid-template-columns: repeat(auto-fill, minmax(180px, 180px)); /*300*/        
        padding-left: 16px;
        padding-right: 16px;        
    }
    
    .gallery-image
    {
        width: 180px;
        height: 180px;
    }
    
    .gallery-modal-image
    {    
        width: 100%;
        height: auto;  
    }
}

@media only screen and (max-width: 700px)
{
    .section-card
    {
        padding: 32px;
    }    
}

@media only screen and (max-width: 640px)
{   
    #fixed-nav-logo-link
    {
        margin-left: 16px;
    }
    
    #home-card-button
    {
        margin: 6px 0;
        padding-left: 12px;
        padding-right: 12px;
        padding-top: 6px;
        padding-bottom: 6px;        
    }
    
    #home-card-text-container
    {
        padding-left: 16px;
        padding-right: 16px;
    }

    .content-container
    {
        padding-left: 16px;
        padding-right: 16px;
    }    
    
    .section-card
    {
        padding: 16px;
        margin-bottom: 32px;
    }      
    
    .section-title-container
    {
        margin-bottom: 48px;
    }
    
    h2
    {
        font-size: 28px;
    }
    
    #contact-subheading
    {
        font-size: 28px;
    }
}

@media only screen and (max-width: 600px)
{
    .gallery-container    
    {
        grid-template-columns: repeat(auto-fill, minmax(150px, 150px)); /*300*/         
    }
    
    .gallery-image
    {
        width: 150px;
        height: 150px;
    }
}

@media only screen and (max-width: 500px)
{
    .gallery-container    
    {
        grid-template-columns: repeat(auto-fill, minmax(200px, 200px)); /*300*/         
    }
    
    .gallery-image
    {
        width: 200px;
        height: 200px;
    }
}

@media only screen and (max-width: 460px)
{
    .gallery-container    
    {
        grid-template-columns: repeat(auto-fill, minmax(180px, 180px)); /*300*/         
    }
    
    .gallery-image
    {
        width: 180px;
        height: 180px;
    }
}

@media only screen and (max-width: 420px)
{
    #fixed-nav-logo-link
    {
        margin-left: 4px;
    }
    
    .logo-image
    {
        max-width: 200px;
    }
    
    .menu-header
    {
        height: 34px;
    }
    
    .menu-button-container
    {
        height: 34px;
        line-height: 34px;
    }

    .content-container
    {
        padding-top: 48px;
    }
    
    #contact-subheading
    {
        font-size: 22px;
        margin-top: 4px;
    }
    
    .contact-list-heading
    {
        font-size: 16px;
        padding-top: 4px;
    }

    .gallery-container    
    {
        grid-template-columns: repeat(auto-fill, minmax(150px, 150px)); /*300*/         
    }
    
    .gallery-image
    {
        width: 150px;
        height: 150px;
    }
}

@media only screen and (max-width: 400px)
{
    .contact-list-heading
    {
        font-size: 20px;
    }
    
    .contact-info
    {
        font-size: 16px;
    }
    
    th
    {
        font-size: 16px;
    }
    
    td
    {
        font-size: 16px;
    }
}

@media only screen and (max-width: 340px)
{
    #contact-list
    {
        padding: 4px;
    }
    
    .contact-item
    {
        margin: 4px;
    }
        
    #address-hours-container
    {
        padding: 8px;
    }

    .logo-image
    {
        max-width: 164px;
    }
    
    .menu-header
    {
        height: 29px;
    }
    
    .menu-button-container
    {
        height: 29px;
        line-height: 29px;
    }
    
    #slide-out-nav-bar .slide-out-nav-link
    {
        font-size: 48px;
    }

    .gallery-container    
    {
        grid-template-columns: repeat(auto-fill, minmax(268px, 268px)); /*300*/         
    }
    
    .gallery-image
    {
        width: 268px;
        height: 268px;
    }

}

@media only screen and (max-width: 320px)
{
    .gallery-container    
    {
        padding-left: 0;
        padding-right: 0;
        grid-template-columns: repeat(auto-fill, minmax(280px, 280px)); /*300*/         
    }
    
    .gallery-image
    {
        width: 280px;
        height: 280px;
    }
}

