.licensed-area a:hover {
    text-decoration: none;
}

.licensed-area {
    padding: 15px;
}

.licensed-area a.btn.btn-primary {
    float: right;
    border-radius: 5px !important;
    width: 100%;
    text-transform: uppercase;
    background-color: #d2232a;
    font-family: "Roboto Condensed", sans-serif;
    color: #fff;
    border: 0px;
    letter-spacing: 1px;
    font-weight: 600;
    font-size: 13px;
}

.licensed-area a.btn.btn-primary:hover {
    text-decoration: none;
    background-color: #337ab7;
}

section.top-header {
    background-color: #6692c0;
    width: 100%;
    margin: 0px auto;
    padding-top: 15px;
    padding-bottom: 10px;
}

.header-logos img.img-fluid {
    float: right;
    padding: 10px;
}

.now-serving {
    margin: 30px auto;
}

.now-serving h4 {
    line-height: 26px;
}

.now-serving h4 {
    font-size: 24px;
}

.now-serving .now-serving-inner-row {
    width: 50%;
    margin: 15px auto;
}

.top-header .social {
    text-align: left;
}

.social {
    text-align: center;
    margin-bottom: 15px;
}

.top-header .social .fa {
    color: #fff;
    padding: 15px 3px;
    font-size: 38px;
}

.social .fa {
    color: #337ab7;
    padding: 15px 3px;
    font-size: 25px;
}

.fixed-nav .menu-main-menu-container {
    border-radius: unset;
}

.menu-main-menu-container {
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
}

#menu-main-menu {
    list-style: none;
    padding-left: 0;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    border-radius: 0 0 5px 5px;
    position: relative;
    max-width: 750px;
}

#site-branding {
    width: 100%;
    margin: 0 auto;
    box-shadow: 1px 1px 10px rgb(0 0 0 / 90%);
    border-radius: 0 0 5px 5px;
}

#masthead {
    width: 100%;
    z-index: 10000;
}

.top-header {
    background: rgb(28, 79, 156);
    margin-left: unset;
    margin-right: unset;
    display: flex;
    align-items: center;
    position: relative;
}

.header-contact {
    text-align: center;
    padding: 15px 0;
}

.header-social {
    padding: 20px;
}

.social-icons img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s cubic-bezier(0.61, 1, 0.88, 1);
}

.social-icons span {
    position: relative;
    width: 50px;
    height: 50px;
    background: black;
    display: block;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.61, 1, 0.88, 1);
}

.social-icons span:hover img {
    transform: translate(-50%, -50%) scale(0.8) rotateY(360deg);
}

.social-icons span:hover {
    box-shadow: 0 0 5px white;
}

.header-btn,
input[type="submit"],
.read-more {
    background: #bf0426;
    border: 2px solid #bf0426;
    color: white;
    padding: 10px;
    width: 100%;
    max-width: 320px;
    display: block;
    margin: 0 auto;
    margin-top: 25px;
    font-size: 28px;
    line-height: 30px;
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
    border-radius: 5px;
    box-shadow: 1px 1px 5px rgb(0 0 0 / 90%);
    transition: all 0.3s cubic-bezier(0.61, 1, 0.88, 1) !important;
    font-family: "Catamaran", "Trebuchet MS", sans-serif;
    cursor: pointer;
}

.header-btn:hover,
input[type="submit"]:hover,
.read-more:hover {
    background: #fff;
    color: #bf0426;
}

.phone-link,
.spanish-link,
.phone-link:hover,
.spanish-link:hover {
    color: white;
    text-decoration: none;
}

.phone-link {
    font-size: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
}

.phone-link img {
    width: 36px;
    height: 36px;
    transform: scale(1.1);
}

.spanish-link {
    font-size: 0.9rem;
    margin: 0;
}

@keyframes shake {
    0% {
        transform: scale(1.1);
    }

    20% {
        transform: scale(1.1) rotate(30deg);
    }

    40% {
        transform: scale(1.1) rotate(-30deg);
    }

    60% {
        transform: scale(1.1) rotate(30deg);
    }

    80% {
        transform: scale(1.1) rotate(-30deg);
    }

    100% {
        transform: scale(1.1) rotate(30deg);
    }
}

.phone-link:hover img {
    animation: shake 0.5s ease-out;
}

.social-icons {
    display: flex;
    width: 100%;
    justify-content: space-evenly;
    align-items: center;
    padding: 0 30px;
}

.navbar {
    border: 0;
    border-radius: 0 0 5px 5px;
    transition: all 0.5s ease;
}

.fixed-nav {
    position: fixed;
    width: 100%;
    max-width: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: max-width 0.5s ease;
    z-index: 1000;
}

#masthead .header-btn {
    margin-top: 0;
}

.logo img {
    max-height: 100px;
    margin-top: -5px;
    width: auto;
    transition: all 0.3s cubic-bezier(0.61, 1, 0.88, 1);
}

.menu-item a {
    color: white;
    padding: 15px;
    display: inline-block;
    font-weight: 800;
    font-size: 22px;
    font-family: "Catamaran", "Trebuchet MS", sans-serif;
    white-space: nowrap;
    transition: all 0.5s cubic-bezier(0, 0.55, 0.45, 1);
}

.sub-menu .menu-item a {
    width: 100%;
}

.sub-menu .menu-item:hover a {
    padding-left: 30px;
}

.sub-menu:hover {
    padding-right: 0;
}

.sub-menu .menu-item a:before {
    content: "";
    border-left: 3px solid white;
    display: inline-block;
    transition: all 0.5s cubic-bezier(0, 0.55, 0.45, 1);
    height: 0px;
    transform: translate(-15px, -6px);
    position: absolute;
}

.sub-menu .menu-item:hover a:before {
    height: 36px;
}

.menu-item a:hover {
    background: #bf0426;
}

.menu-item a:hover,
.menu-item:hover a {
    text-decoration: none;
}

.menu-item:hover > .sub-menu {
    max-height: 350px;
}

#menu-main-menu .menu-item {
    position: relative;
}

.sub-menu {
    max-height: 0px;
    overflow: hidden;
    list-style: none;
    padding-left: 0;
    position: absolute;
    transition: all 0.5s cubic-bezier(0, 0.55, 0.45, 1);
    background: rgba(0, 0, 0, 0.9);
    min-width: 100%;
    box-shadow: 0px 0px 7px rgb(0 0 0 / 30%);
    z-index: 2;
    top: 52px;
    left: 0;
    border-radius: 0 0 5px 5px;
}

.navbar-toggler {
    display: none;
}

.header-bar.active {
    /*	max-height: 0px;*/
    transition: all 0.3s cubic-bezier(0.7, 0, 0.84, 0);
}

.header-toggle {
    color: white;
    font-size: 30px;
}

.navbar {
    min-height: 0;
    padding: 0;
}

#menu-main-menu > .menu-item > a {
    text-transform: uppercase;
}

.menu-item-has-children:hover > a:after {
    transform: rotate(0deg);
}

.admin-bar .fixed-nav {
    top: 32px;
}

.menu-item-has-children.open > a:after {
    transform: rotate(0deg);
}

#nav-below {
    width: 100%;
    display: flex;
    justify-content: center;
}

@media (max-width: 1368px) {
    .menu-main-menu-container {
        border-radius: 0;
    }
}

@media (max-width: 1200px) {
    .phone-link img {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 1060px) {
    .phone-link {
        font-size: 27px;
    }
}

@media (min-width: 992px) {
    .header-toggle {
        display: none;
    }
}

@media (max-width: 992px) {
    .admin-bar .fixed-nav {
        top: 0px;
    }
    .fixed-nav {
        position: relative;
        top: 0;
    }

    #menu-main-menu {
        max-height: 0;
        overflow: hidden;
        flex-direction: column;
        transition: all 0.5s ease-out;
    }

    .sub-menu {
        display: none;
    }

    #masthead {
        position: relative;
        max-width: 100vw;
    }

    #masthead.fixed-nav {
        position: fixed;
        top: 0;
    }

    .admin-bar #masthead.scrolled {
        position: fixed;
        top: 46px;
    }

    .top-header {
        background: rgb(28, 79, 156);
    }

    .menu-item ul.sub-menu.open {
        display: block;
        max-height: 350px;
        position: relative;
        top: unset;
        box-shadow: 0 0 10px rgb(255 255 255 / 30%);
        border-radius: 5px;
        margin: 10px;
        max-width: calc(100% - 20px);
        min-width: unset;
    }

    .menu-item {
        position: relative;
    }

    .menu-item a {
        width: 100%;
    }

    .menu-item:hover > .sub-menu {
        max-height: 0;
    }

    #menu-main-menu.open {
        max-height: 750px;
    }

    .header-social {
        display: none;
    }

    .logo img {
        max-height: 80px;
        margin-top: 5px;
    }

    .logo {
        display: inline-block;
    }
}

/*Now Serving Header Area*/

@media only screen and (max-width: 800px) {
    .now-serving h4 {
        font-size: 20px;
    }

    .now-serving .now-serving-inner-row .col-xs-4 {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .now-serving .now-serving-inner-row .col-xs-4 li {
        font-size: 14px;
    }

    .now-serving .now-serving-inner-row {
        width: unset;
        margin: unset;
        margin-top: 10px;
    }
}

@media only screen and (max-width: 640px) {
    .licensed-area {
        padding: 10px 45px;
    }

    .licensed-area a.btn.btn-primary {
        display: block;
        text-align: center;
        width: 100%;
        margin-top: 8px;
    }

    .licensed-area a.btn.btn-primary {
        display: none;
    }

    .licensed-area {
        padding: 0px 45px;
    }

    .header-logos img.img-fluid {
        float: none;
        padding: 10px;
        display: inline-block;
    }

    a p.uppercase.licensed {
        text-align: center;
    }

    #masthead .header-btn {
        display: none;
    }

    .header-logos img.img-fluid {
        float: none;
        padding: 15px;
        display: inline-block;
    }
}

@media (max-width: 485px) {
    .phone-link {
        font-size: 18px;
    }
}

@media only screen and (max-width: 480px) {
    p.top-white {
        text-align: center;
        font-size: 14px;
    }

    .licensed-area a p.licensed {
        text-align: center;
        font-size: 14px;
        letter-spacing: 0px;
        margin: 0px auto;
        display: block;
        padding: 0px;
    }

    .licensed-area a.btn.btn-primary {
        float: none;
        width: 100%;
        margin: 0px auto;
        margin-top: 10px;
    }

    .pull-left {
        float: none !important;
        text-align: center;
        margin: 0px auto;
        display: block;
        position: relative;
    }

    .pull-right {
        float: none !important;
        text-align: center;
        margin: 0px auto;
        display: block;
        position: relative;
    }

    button.btn.btn-primary.home-invasions {
        padding: 5px 10px;
        width: 100%;
        text-align: center;
    }

    .header-logos img.img-fluid {
        float: none;
        padding: 10px;
        text-align: center;
        margin: 0px auto;
    }

    .header-logos a img {
        display: inline;
    }
}

@media (max-width: 480px) {
    .header-btn {
        font-size: 20px;
    }
}
