@import url("https://design.menighet.no/Portals/0/Menighet.css");

/* til flere enn 4 knapper */
.menu-item{
  margin-bottom: 4px;
}

/* TOP MENU bootstrap */

.top-menu-bootstrap {
    max-width: 99% !important;
    margin: 0 auto;
    padding-bottom: 40px;
    text-align: center;
}

.menu-item-bootstrap {
    border: 2px solid #fff;
    border-radius: 5px;
    padding-top: 30px;
    padding-bottom: 30px;
    font-weight: 500;
    font-size: 25px;
    transition: all .3s ease;
    text-align: center;
    background-color: #f2f2f2 !important;
}

.menu-item-bootstrap a::after {
    content: '';
    display: block;
    margin-top: 10px;
    width: 40px;
    height: 4px;
    background: #D90011;
    transition: width .3s;
}

.menu-item-bootstrap a {
    display: inline-block;
    font-weight: 500;
    font-size: 25px;
}

@media only screen and (min-width: 800px) {
    .top-menu-bootstrap {
        display: block !important
    }
    .top-menu-mobil-bootstrap {
        display: none !important;
    }
}

@media only screen and (max-width: 800px) {
    .top-menu-bootstrap {
        display: none !important;
    }
    .top-menu-mobil-bootstrap {
        display: block !important;
    }
}

@media only screen and (min-width: 1050px) {
    .menu-item-bootstrap a:hover::after {
        width: 100%;
    }
}

@media only screen and (min-width: 800px) and (max-width: 1050px) {
    .top-menu-bootstrap {
        text-align: center !important;
    }
}

@media only screen and (max-width: 780px) {
    .menu-item-bootstrap {
        margin-top: 10px;
        font-weight: 500;
        font-size: 22px;
        line-height: 40px;
        padding-top: 12px;
        padding-bottom: 20px;
        transition: all .3s ease;
    }
}

/* TOP MENU bootstrap SLUTT */


