.body {
    margin: 0px;
    padding: 0px;
}

/*HEADER*/
.header {
    background-color: #fff;
    box-shadow: 1px 1px 4px 0 rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    /*z-index: 999;*/
    margin: 0;
    padding: 0;
    top: 0;
}


.header img {
    max-width: 168.75px;
    max-height: 65px;
}

.header ul {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
    background-color: #fff;
}

.header ul a {
    display: block;
    padding: 20px;
    border-right: 1px solid #aaa;
    text-decoration: none;
}

.header ul a:hover {
    background-color: #ddd;
}

.header .menu {
    clear: both;
    max-height: 0;
    transition: max-height .2s ease-out;
}

.header .menu-icon {
    padding: 28px 20px;
    position: relative;
    float: right;
    cursor: pointer;
}

.header .menu-icon .nav-icon {
    background: #333;
    display: block;
    height: 2px;
    width: 18px;
    position: relative;
    transition: background .2s ease-out;
}

.header .menu-icon .nav-icon:before {
    background: #333;
    content:"";
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    transition: all .2s ease-out;
    top: 5px;
}

.header .menu-icon .nav-icon:after {
    background: #333;
    content:"";
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    transition: all .2s ease-out;
    top: -5px;
}
.header .menu-btn {
    display: none;
}

.header .menu-btn:checked ~ .menu {
    max-height:340px;
}
.header .menu-btn:checked ~ .menu-icon .nav-icon {
    background: transparent;
}
.header .menu-btn:checked ~ .menu-icon .nav-icon:before {
    transform: rotate(-45deg);
    top: 0;
}
.header .menu-btn:checked ~ .menu-icon .nav-icon:after {
    transform: rotate(45deg);    
    top: 0;
}

.menu li {
    display: block;
    border-bottom:1px solid black;
    background-color: #f1f1f1;
}


/*NAVIGATION MENU*/

.home {
    border-top: 1px solid black;
}

.menu li a {
    color: black;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    font-size: 24px;
}

.menu {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    z-index: auto;
}

.menu > li {
    width: 100%;
    text-align: center;
    position: relative;
}

.submenu-list {
    display: none;
    position: absolute;
    list-style: none;
    /*background-color: #333;*/
    padding-left: 0;
    width: 100%;
    z-index: 999;
    
}

.submenu-list li {
    width: 100%;
    border: 1px solid black;
    /*background-color: #f1f1f1;*/
    background-color: white;

}

.submenu-list a {
    padding: 10px 15px;
    /*background-color: lightgray;*/
    color: black;
    
}

.submenu input[type="checkbox"] {
    display: none;
    border: 1px solid black;
}

.submenu-toggle {
    cursor: pointer;
    color: black;
    padding: 10px 15px;
    display: block;
    text-align: center;
    font-size: 24px;
}

.submenu input[type="checkbox"]:checked + .submenu-toggle + .submenu-list {
  display: block;
}

.submenu-list li a {
    font-size: 20px;
}
.submenu-bottom {
    border-bottom: 1px solid black;
}


/*CONTENT*/

.hero-img img {
    width: 100%;
    height: auto;
    display: block;
    margin: auto;
}

.cta {
	width: 100%;
	height: auto;
	padding: 10px 25px 30px 25px;
	margin-top: 0px;
	justify-content: center;
	text-align: center;
	/*border:2px solid red;*/
	background: rgba(1, 65, 130, 1.0);
	box-sizing: border-box
	
}

.cta .cta-text {
    color: white;
    font-size: 24px;
    font-weight: bold;
}
.cta .cta-subtext {
    color: white;
    font-size: 16px;
}
.call-now {
    background-color: #f22525;
    color: white;
    margin: 1em;
    padding: 1em 2em;
    border-radius: 0.3em;
    text-decoration: none;
    box-shadow: 1px 1px 4px 0 rgba(0,0,0,0.1);
    font-weight: bold;
    
}

.contenttext {
    margin: 5px 20px;
}

.body_text {
    font-size: 16px;
}

/*FOOTER*/
.footer-list > li {
  display: inline;
}

.footer {
    margin: auto;
    height: auto;
    display: grid;
    grid-template-columns: minmax(20px, 300px) minmax(20px, 300px) minmax(20px, 300px) minmax(20px, 300px);
    justify-content: center;
    grid-template-rows: 1fr;
    background-color: #fff;
}


.foot1 {
    /*border:2px solid red;*/
    display: flex;
    justify-content: center;
    
}

.foot1 img {
    width: 80%;
    height: auto;
    margin: auto;
    display: block;
    padding-top: 50px;
    padding-bottom: 50px;
    padding-right: 5px;
}

.foot2 {
    /*border:2px solid red;*/
    text-align: center;
    margin: 0;
    padding-bottom:50px;
    border-top:1px solid black;
}

.foot2 h4 {
    font-size: 24px;
    font-weight: bold;
}

.foot2 p {
    margin: 0;
    font-size: 20px;
    text-align: center;
}

.foot2 a {
    font-size: 20px;
    text-align: center;
}

.call-now-footer {
    background-color: #f22525;
    color: white;
    margin: 1em;
    padding: 1em 2em;
    border-radius: 0.3em;
    text-decoration: none;
    box-shadow: 1px 1px 4px 0 rgba(0,0,0,0.1);
    font-weight: bold;
    display: inline-block;
}


.foot3 {
    /*border:2px solid red;*/
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    padding-bottom:50px;
    border-top:1px solid black;
    
}

.foot3 p {
    font-size: 18px;
    text-decoration: none;
}

 .foot4{
    /*border:2px solid red;*/
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    padding-bottom:50px;
    border-top:1px solid black;
    border-bottom:1px solid black;
}

.foot4 img{
    width: 50px;
    height: 50px;
}

.copyright {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  grid-column: 1/-1;
}


/*PAGES styling */

.container {
    display: flex;
    flex-direction: column;  /* Stack the divs vertically on mobile */
    /*justify-content: center;*/
    align-items: center;  /* Center the divs horizontally */
    height: 100%;
    width: 100%;
    align-content: flex-start;
}

.main-img {
    /*centers the div*/
    /*position: relative; this needs to be off otherwise the menu goes behind*/
    order: 1;
    margin-left: auto;
    margin-right: auto;
    max-width: 379px;
    height: auto;
    /*margin: 0;*/
    /*padding: 0;*/
    /*border: 2px solid red;*/
    display: flex;
    justify-content: center;
}

.main-img img {
    
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0; 
    padding: 0;
}

.horizontal-main-img {
    /*centers the div*/
    /*position: relative;*/
    /*margin-left: auto;*/
    /*margin-right: auto;*/
    height: auto;
    width: 100%;
    max-width: 379px;
    display: block;
    /*border: 2px solid red;*/
    
}

.horizontal-main-img img {
    width: 100%;
    max-width: 379px;
    height: auto;
    /*margin-bottom: 5.5em;*/
}

.main-title {
    order: 2;
    max-width: 379px;
    /*position: relative;*/
    /*margin-left: auto;*/
    /*margin-right: auto;*/
    /*margin-top: 0;*/
    /*margin: 0;*/
    /*padding: 0;*/
    /*border: 2px solid red;*/
}
.main-title-with-image {
    order: 2;
    max-width: 379px;
    /*position: relative;*/
    /*margin-left: auto;*/
    /*margin-right: auto;*/
    /*margin-top: 0;*/
    /*margin: 0;*/
    /*padding: 0;*/
    /*border: 2px solid red;*/
}

.main-title-with-image h1 {
    /*position: relative;*/
    max-width: 100%;
    /*top: -100px;*/
    /*top: -175px;*/
    height: auto;
    font-size: 36px;
    color: white;
    background-color: rgba(1, 65, 130, 1.0);;
    padding: 50px 10px;
    text-align: center;
    margin: auto;
    margin-top: -140px;

}

.main-title h1 {
    /*position: relative;*/
    max-width: 100%;
    /*top: -100px;*/
    /*top: -175px;*/
    height: auto;
    font-size: 36px;
    color: white;
    background-color: rgba(1, 65, 130, 1.0);;
    padding: 50px 10px;
    text-align: center;
    margin: auto;
}

.main-text {
    order: 3;
    /*position: relative;*/
    /*margin-left: auto;*/
    /*margin-right: auto;*/
    max-width: 379px;
    height: auto;
    top: -75px;
}

.main-text p {
    text-align: left;
    margin-left: 1em;
    font-size: 20px;
}

.main-text li {
    margin-left: 3em;
    font-weight: bold;
    margin-bottom: 5px;
    text-align: left;
}

.main-text h4 {
    margin-left: 1em;
    font-weight: bold;
    font-size: 24px;
}

.box {
    width: 100%; /* Make the divs a percentage of the container width */
    /*margin: 10px 0;*/
    /*padding: 20px;*/
    /*background-color: #4CAF50;*/
    /*color: white;*/
    /*text-align: center;*/
} 
.main-call {
    /*position: relative;*/
    margin-left: auto;
    margin-right: auto;
    /*max-width: 400px;*/
    height: auto;
    top: -75px;
    text-align: center;
    width: 100%;
}

.call-now-main {
    background-color: #f22525;
    color: white;
    padding: 0.5em 1em;
    border-radius: 0.3em;
    text-decoration: none;
    box-shadow: 1px 1px 4px 0 rgba(0,0,0,0.1);
    font-weight: bold;
    height: auto;
    display: inline-block;
    font-size: 20px;
    width: auto;
}

.info {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    order: 3;
    font-weight: bold;
    font-size: 24px;
    max-width: 379px;
    text-align: left;
}



/*VARIOUS SCREEN SIZES*/
/*DESKTOP*/
@media (min-width:803px) {
    
    .header {
        max-height: 80px;
    }

    .header ul {
        overflow: visible;
    }
    
    .header li {
        float: left;
    }
    
    .header li a {
        padding: 20px 30px;
    }
    
    .header .menu {
        clear: none;
        float: right;
        max-height: none;
        
    }
    
    .header .menu-icon{
        display: none;
    }

    .menu > li {
    white-space: nowrap;
    }

    .menu {
        visibility: visible;
        flex-direction: row;
        justify-content: flex-end;
    }
    
    .home {
        border-top: 0px solid black;
    }
    
    .menu li {
       border-bottom: 0px solid black;
       background-color: white;
    }
    .menu li a {
        font-size: 18px;
    }
    
    .submenu-toggle {
        font-size: 18px;
        border-right: 1px solid #aaa;
        padding: 20px 30px;
    }
    
    .submenu:hover {
        background-color: #ddd;
    }
    
    .submenu:hover .submenu-list {
        display: inline-block;

    }
    
    .submenu-list {
        position: absolute;
        z-index: 11;
        min-width: 250px;
    }
 
    
    .cta {
        padding-bottom: 50px;
    }

    .cta .cta-text {
        color: white;
        font-size: 48px;
        font-weight: bold;
        letter-spacing: 4px;
    }
    .cta .cta-subtext {
        color: white;
        font-size: 28px;
    }
    
    .call-now {
        font-size: 32px;
    }
    
    .body_text {
        font-size: 24px;
    }
    .call-now-footer {
        margin-left: 2.5em;
        
    }
    .foot2, .foot3, .foot4 {
        border-top: 0px solid black;
        border-bottom: 0px solid black;
    } 
    
    .foot1 img {
        width: 100%;
    }
    .foot3 p {
        font-size: 18px;
        text-decoration: none;
    }
    .foot4 img {
        width: 50px;
        height: 50px;
    }

    .container {
        display: flex;
        flex-direction: column; /* Stack divs vertically */
        position: relative;
        z-index: -999;
    
    }
    
    .box {
        width: 100%;

    }
    
    .main-img {
        width: 30%; /* Smaller width for the first box */
        order: 2;
        display: flex;
        justify-content: center;
        align-items: center; 
        position: absolute;
        z-index: 1;
        right: 0;
        top: 400px;
        transform: translateY(-50%);
        margin-right: 5em;
        /*padding-bottom: 12em;*/
        /*padding-top: 6em;*/
        padding-bottom: 5em;
        max-height: 400px;
        /*border: 2px solid red;*/
        /*max-height: 100%;*/

    }
    
    .main-img img {
        /*width: 100%;*/
        /*width: 100%;*/
        height: auto;
        max-width: 100%;
        /*max-width: 300px; */
        max-height: 400px;
        /*height: auto;*/
    }

    .main-title-with-image {
        order: 1;
        max-width: 100%; 
        text-align: center;
        margin: 0;
        padding-top: 0;
        justify-content: flex-start;
        /*border: 2px solid red;*/
        /*align-self: stretch;*/
        margin-top: 140px;
    }
    
    .main-title {
        order: 1;
        max-width: 100%; 
        text-align: center;
        margin: 0;
        padding-top: 0;
        justify-content: flex-start;
        /*border: 2px solid red;*/
        /*align-self: stretch;*/
    }

    .main-text {
        /*border: 2px solid red;*/
        max-width: 40%;
        order: 3;
        /*display: flex;*/
        /*justify-content: flex-start;*/
        /*align-items: center;*/
        padding-right: 200px;
        /*text-align: center;*/
        /*float: left;*/
        /*margin-top: 20px;*/
    }
    
    .main-text li {
        text-align: left;
    }
    
    .horizontal-main-img {
        max-width: 100%;
        height: auto;
        display: block;
        margin: auto;
    
    }

    .horizontal-main-img img {
        max-width: 100%;
        height: auto;
        display: block;
        margin: auto;
    }
    
    .submenu li {
        border-bottom: 1px solid black;
    }


}

/*IPAD*/
@media (min-width:501px) {
    
    .foot1, .foot2, .foot3, .foot4 {
        border-top: 0px solid black;
        border-bottom: 0px solid black;
    } 
    
    .foot2 a {
    font-size: 18px;
    margin: auto auto;;
    padding: 1em 0.5em;
    text-align: center;
    justify-content: center;
    }
    


}

/*PHONE*/
@media (max-width:500px) {
    header {
        width: 100%;
    }
    
    .header .menu-icon {
        float: right;
    }
    .header img {
        width: auto;
        height: auto;
    }
    .header .menu {
        text-align: center
    }
    
    .footer > div{
	    grid-column: 1/-1;
    }
}

