h2 {
    text-transform: none;
    font-weight: 600;
    font-size: 2.2em;
}

h3 {
    text-transform: none;
    font-weight: 600;
    font-size: 1.6em;
}

h4,
h5,
h6 {
    text-transform: none;
    font-weight: 600;
}

#header .header-top {
    border-bottom-width: 1px;
}

@media (min-width: 992px) {
    #header .header-nav-main nav>ul>li>a {
        text-transform: capitalize;
        font-size: 1.1em;
    }

    #header .header-nav-main.header-nav-main-dropdown-modern nav>ul>li.dropdown .dropdown-menu li a {
        font-weight: 500;
        color: #777;
    }
}

.custom-card-info {
    background: transparent;
    max-width: 100%;
}

.custom-card-info.custom-card-info-shadow:before {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    content: '';
    box-shadow: 0 30px 110px #bbb;
    border-radius: .25rem;
    transition: opacity 0.2s ease-in-out;
}

.custom-card-info .custom-card-info-arrow {
    transition: all 0.2s ease-in-out;
    right: 0 !important;
}

.custom-card-info:hover.custom-card-info-shadow:before {
    opacity: 0.5;
}

.custom-card-info:hover .custom-card-info-arrow {
    right: -7px !important;
}

.custom-card-info .card-body {
    padding: 0;
    border-radius: .25rem;
    background: #FFF;
}

.custom-card-info .featured-tag {
    color: #FFF;
    text-transform: uppercase;
    padding: 15px 102px;
    position: absolute;
    right: -24%;
    top: 6%;
    transform: rotate(45deg);
    transition: none 0s ease 0s;
    text-align: inherit;
    line-height: 24px;
    border-width: 0px;
    margin: 0px;
    letter-spacing: -0.5px;
    font-weight: 600;
    font-size: 14px;
}

.custom-card-info .custom-card-info-header {
    border-bottom: 1px solid #E7E7E7;
    padding: 16px;
    padding: 1rem;
}

.custom-card-info .custom-card-info-content {
    padding: 16px;
    padding: 1rem;
}

.custom-card-info-slider {
    max-width: 390px;
}

.custom-card-info-slider .custom-card-info-header {
    padding: 32px;
    padding: 2rem;
}

.custom-card-info-slider .custom-card-info-content {
    padding: 32px;
    padding: 2rem;
}

.custom-card-info-locations img {
    transition: ease all 300ms;
    filter: grayscale(100%);
}

.custom-card-info-locations .card-body:before {
    transition: ease all 300ms;
}

.custom-card-info-locations:hover img {
    filter: none;
}

.custom-card-info-locations:hover .card-body:before {
    opacity: 0.4 !important;
}

.custom-card-info-locations .custom-card-info-desc {
    top: 50%;
    position: absolute;
    transform: translateY(-50%);
    width: 100%;
    text-align: center;
    display: block;
    z-index: 10;
}

.custom-card-info-special-offers .custom-card-info-desc {
    top: 50%;
    position: absolute;
    transform: translateY(-50%);
    width: 100%;
    text-align: center;
    display: block;
    z-index: 10;
}

.custom-view-more svg {
    transition: ease transform 300ms;
}

.custom-view-more:hover svg {
    transform: translate3d(7px, 0, 0);
}

.btn.custom-btn-search-page-header {
    padding-top: 16px;
    padding-top: 1rem;
    padding-bottom: 16px;
    padding-bottom: 1rem;
    position: relative;
    bottom: 5px;
}

.page-header .form-style-3 {
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

#footer {
    border: 0;
    background: #333;
}

#footer .footer-copyright {
    border-top: 1px solid #454545;
    background: #333;
}

#footer .footer-copyright p {
    color: #999;
}

.custom-div-main {
    border-radius: 2rem !important;
    background-color: #fafafae6 !important;
    max-width: 100%;
}

.custom-div-main > .card-body{
    padding: 16px;
}

.custom-div {
    width: 100%;
    text-align: center;
}

.custom-div input {
    border: 2px solid #2c3a90;
    width: 100%;
    text-align: center;
    margin: 0 auto;
    text-transform: uppercase;
    transition: 1s;
}

.custom-div input:focus {

    border: 2px solid #48b84e;
    transition: 1s;
    ;

}

.custom-div input::placeholder {
    color: #000;
    text-align: center;

}

.submit-button {
    width: 100%;
    border: 2px solid #0074D9;
    background-color: #0074D9 !important;
    font-size: 1.2rem;
    font-family: arial;
    padding: .5rem 0;
    color: #fff;
    border-radius: 5px;
    transition: 1s;
}

.submit-button:hover {
    background-color: #48b84e !important;
    border: 2px solid #48b84e;
    transition: 1s;
}

@media (max-width: 375px) {

    .custom-div-main h3 {
     
        line-height: 24px !important;
        font-size: 24px !important;
    }
}

@media (min-width: 376px) and (max-width: 896px){

    .custom-div-main h3 {
        font-size:2rem !important;
        line-height: 24px !important;
        font-size: 26px !important;
    }
}

@media (min-width: 1024px) {

    .custom-div-main {
        width: 58%;
    }
}

@media (max-width: 576px){
    /* Fix for iOS overflow when keyboard appears */
    @supports (-webkit-touch-callout: none) {
        body {
            position: fixed;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }
        
        .modal {
            position: absolute;
            -webkit-overflow-scrolling: touch;
            overflow-y: scroll;
            height: 100%;
        }
    }
}
