h1, h2, h3, h4, h5, h6 { color: #4669b4; }
a, a:link, a:active, a:visited, a:hover, a:focus { color: rgb(169, 24, 29); }
a.button:link, a.button:active, a.button:visited, a.button:hover { background-color: #591502; color: #fff; border: 0px; }
.nav-bar > li.active { background-color: #283C82; color: #fff; }
.nav-bar > li.active a { color: #fff !important; }
.nav-bar > li.has-flyout.active a { color: #fff !important; }
.nav-bar > li.active:hover { background-color: #283C82; }
p { color: #666; }
span { color: #2a2a2a; }
.button { background: #591502; border: 1px solid #591502; border-color: #591502; }
.button:hover { background: #591502; border: 1px solid #591502; border-color: #591502; }
.button { color: #fff; }
dl.sub-nav dd.active a { background: #283C82; }
.custom .top-bar { background: #0054a6; }
.custom .top-bar-section li:not(.has-form) a:not(.button) {
background: #0054a6;
}
.custom .top-bar-section li:not(.has-form) a:hover:not(.button) {
background: #008cba;
}
.toggle-topbar span { color: #fff; }
#footer { background: #333; font-size: 12px; padding: 5px 0; }
#footer img { width: 25px; }
#footer p { font-size: 12px; padding: 0; margin: 4px 0 0; color:#666;}
#footer a { color: #fff; }
.align-center { text-align: center; }
.footer-links { margin: 5px 0 0 0; }
.footer-links a { padding: 0 10px; }
.social-icon { float: right; }
.top-bar .name { font-size: 16px; height: 45px; margin: 0; width: 180px; }
.slidehome { background: #fff url(../images/homepage-hero6.jpg); background-size: cover; min-height: 500px; width: 100%; position: relative; }
.sliderbox { max-width: 460px; width: 100%; background: #fff; position: absolute; 
/*left: 2%; bottom: 5%; */
left: 2%; bottom: 6%;padding: 1%; border: 5px solid #0054A5;}
.alignment { text-align: center; }
.sliderbox h1 { color: #0054a6; font-weight:bold;}
.mobile_text { display:none; }
nav#header {
    height: 65px;
    display: flex;
    align-items: center;
}
.top-bar .title-area {
    position: relative;
    margin: 0;
    padding: 10px 0;
}
.top-bar-section ul.right li a {
    line-height: 65px !important;
    display: inline-block;
}

@media only screen and (min-width:1px) and (max-width:767px) {
    nav#header {
    height: 48px;
    align-items: flex-start;
}
.top-bar.expanded {
    height: auto !important;
}
.top-bar .title-area {
    padding: 0px;
}
.social-icon {
float: left;
}
.top-bar .title-area{padding: 2px 0;}
.align-center {
text-align: left;
}
.footer-links {
margin: 5px 0 5px 0;
}
.footer-links a {
padding: 0 10px 0 0;
}
.top-bar .name {
width: 310px;
}
.custom .top-bar .name h1 a {
padding-top: 3px;
}
.alignment {
text-align: center;
}
.sliderbox {
width: 96%;
bottom: -40%;
}
.row {
min-height: 100px;
padding: 0 !important;
margin: 0 !important;
}
.sliderbox {
display:none;
}
.gray_text {
color: #fff;
}
.increase {
font-size: 30px;
}
.sliderbox p {
color: #000 !important;
}
.md-modal {
position: absolute !important;
top: 37% !important;
}
 .column, .columns {
float: left;
padding-left: 0.9375rem;
padding-right: 0.9375rem;
padding-top: 0%;
position: relative;
}
.hover-icon.home_icon {
height: auto;
max-width: 65%;
}
 .hover-icon.services_icon {
height: auto;
max-width:72%;
}
.process_heading {
float: left;
font-size: 12px;
text-align: center !important;
width: 100%;
}
.sliderbox h1 {
display: none;
}
.mobile_text {
display:block;
width:100%;
height:auto;
margin: 1px 0 10px;
float:left;
background:#0054a6;
padding:5px;
}
.mobile_text p {
color: #fff;
 float: left;
 padding: 5px;
 text-align: center;
 width: 100%;
}
.service_center {
text-align:left !important;
}
/*BT CSS*/
.about-section .large-10.large-centered.columns {
    display: block !important;
}
.about-section .hover-image {
    width: 200px;
}
#footer .footer-links {
        margin: 15px 0 20px;
}
#footer .footer-links, .social-icon{
    float:none !important;
}
#footer p{text-align:center; color:#666;}
div#footer {
    text-align: center;
}
.row.ServiceBanner, .ProcessBanner{
    height:auto !important;
    margin-bottom:30px !important;
}
.mobile_text h1 {
    text-align: center;
    color: #fff;
    font-size: 30px;
    margin: 10px 0 0;
}
}
@media only screen and (min-width:768px) and (max-width:1024px) {
 .hover-icon.home_icon {
height: auto;
max-width:50%;
}
.columns_img.home_icon {
height: auto;
max-width:50%;
}
.hover-icon.process_icon {
height: auto;
max-width:100%;
}
.service_center {
text-align:center !important;
}
 .hover-icon.services_icon {
height: auto;
max-width:26%;
}
 .md-modal {
 position: absolute !important;
 width: 40%;
}
.reveal-modal.one {
margin-top:0%;
}
.reveal-modal h2 {
text-align:center;
}
#footer p {
 font-size: 11px;
 margin: 4px 0 0;
}
.slidehome {
    min-height: 385px;
}
.sliderbox {
    bottom: 0.5%;
	left:0.3%;
}
}
