.custom-button {
    font-size: 12px;
    padding: 18px 50px;
    background-color: #254e80;
    color: #fff !important;
    border: 0;
}

.custom-button:hover {
    background-color: #295892;
}

.mb-masthead1{
    /*background-color: #111;*/
    background-image: url("../img/Banner.jpg");
    width: 100% !important;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}
.navbar-nav{
    /*background: #000;*/
    padding: 10px 20px;
}

.ph {  
    /*background-image: url('../img/PH Map.png');*/
    background-repeat: no-repeat;
    background-position: center;
    background-size: 800px;
}

.about-2 {
    background-image: url('../img/How It Works.png');
    background-repeat: no-repeat;
    background-size: 100%;
}

.card-img-top {
  width: 100%;
  border-top-left-radius: calc(0.35rem - 1px);
  border-top-right-radius: calc(0.35rem - 1px);
}

.centered1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.centered2 {
    position: absolute;
    top: 55%;
    left: 25%;
    transform: translate(-50%, -50%);
}

.centered {
    position: absolute;
    top: 44%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding-left: 300px;
}

.banner-text{
    position: absolute;
    top: 35%;
    left: 45%;
    transform: translate(-50%, -50%);
    /*padding-left: 300px;*/
}

.text-on-top {
    /*width: 100%;*/
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.custom-banner {
    width: 100% !important;
}

span, p, h1, h2, h3, h4, h5, h6 {
    color: #494949 !important;
}
#services .custom-hover:hover .sh h5{
    color:#fff!important;
}
.page-section1 {
    color: #fff;

    background-color: #254e80;
}

.custom-btn {
    color: #fff;
    background-color: #254e80;
}
.custom-btn:hover {
    color: #fff;
    /*background-color: #fff;*/
}
.bg-orange {
        /*background-image: url("../img/Orange Banner.jpg");*/
        width: 100% !important;
        /*background-position: center;*/
        /*background-repeat: no-repeat;*/
        /*background-size: cover;*/
        position: relative;
}

.services-bg-orange {
        background-image: url("../img/Orange_Services Banner.jpg");
        width: 100% !important;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        position: relative;
}

.bg-footer {
    background-color: #003;
}

a.custom-hover {
    text-decoration: none !important;
}

/*#services-text,*/
/*#services-text2,*/
/*#services-text3 {*/
/*    color:#fff;*/
/*}*/
/*#services-text:hover{*/
/*    color:#fff!important;*/

/*}*/
/*#services-text:hover ul li,*/
/*#services-text2:hover ul li{*/
/*    color:#fff!important;*/

/*}*/
div.sh:hover {
    text-decoration: none !important;
    background-color: #fff;
    border-radius: 10px;
    border-bottom: 10px solid #f7941e; 
    -webkit-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

div.sh1:hover {
    text-decoration: none !important;
    background-color: #fff;
    border-radius: 10px;
    border-left: 6px solid #f7941e; 
    -webkit-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.service-text {
    color: #f7941e !important;    
}

.service-hover:hover {
    text-decoration: none;
    font-weight: bold; 
}

.service-banner-text {
    font-size: 42px;
    font-weight: bold;
}

.mb-hr {
    display: none;
}

.service-padding {
    padding: 50px;
}

.service-banner {
    padding-top: 50px;
}

.custom-hr-nav {
    width: 30%;
    background-color: #f7941e;
    height: 2px;
}

.custom-hr-text {
    width: 50px;
    background-color: #f7941e;
    height: 2px;
    margin-left: 0px;
}

.custom-color {
    color: #f7941e !important;
}

.howitwork {
    font-size: 65px;
    line-height: 70px;
    letter-spacing: 3px;
}

.mb-br1 {
    display: none;
}

#msg-animation {
    padding: 20px;
    -moz-animation: cssAnimation 0s ease-in 5s forwards;
    /* Firefox */
    -webkit-animation: cssAnimation 0s ease-in 5s forwards;
    /* Safari and Chrome */
    -o-animation: cssAnimation 0s ease-in 5s forwards;
    /* Opera */
    animation: cssAnimation 0s ease-in 5s forwards;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

@keyframes cssAnimation {
    to {
        padding: 0px;
        width:0;
        height:0;
        overflow:hidden;
    }
}

@-webkit-keyframes cssAnimation {
    to {
        padding: 0px;
        width:0;
        height:0;
        visibility:hidden;
    }
}

@media (max-width: 768px) {
    .custom-banner {
        display: none;
    }
    .custom-banner1 {
        background-image: url("../img/Banner.jpg");
        width: 100% !important;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        position: relative;
    }
    .w-50 {
        width: 100% !important;
    }
    .nav-item {
        text-align: center;
    }
    .mb-masthead {
        margin-top: 100px;
    }
    .mb-masthead1 {
        padding-bottom: 50px;
    }
    .mb-img {
        display: none !important;
    }
    p.lead {
        text-align: justify;
        font-size: 18px;
    }
    .m-about {
        padding: 20px !important;
    }
    .centered {
        padding-left: 100px;
    }
    .mb-text {
        font-size: 20px; 
        line-height: 30px;
    }
    .mb-br {
        display: none;
    }
    .mb-br1 {
        display: block;
    }
    .mb-margin {
        margin-top: -10px !important;
    }
    .service-banner-text {
        font-size: 20px;
    }
    .service-banner {
        margin-top: 20px;
    }
    .mb-hr {
        display: block;
    }
    .mb-padding {
        padding: 20px;
    }
    .service-padding {
        padding: 15px;
    }
    .centered2 {
        top: 65%;
    }
    .custom-text {
        font-size: 20px;
    }
    .custom-mb {
        margin-bottom: 30px;
    }
    .custom-hr-nav {
        margin-top: 8px;
    }
    .howitwork {
        font-size: 35px;
        line-height: 50px;
        letter-spacing: 1px;
        font-weight: bold;
        margin-left: 20px;
    }
    .mb-hr {
        margin-left: 20px;
    }
    .mb-h1 {
        font-size: 35px;
    }
    div.sh {
        text-decoration: none !important;
        background-color: #fff;
        border-radius: 10px;
        border-bottom: 10px solid #f7941e; 
        -webkit-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    }
    div.sh1 {
        text-decoration: none !important;
        background-color: #fff;
        border-radius: 10px;
        border-left: 6px solid #f7941e; 
        -webkit-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    }
    .footer-justify {
        text-align: justify;
    }
}