/*
 Theme Name:   Beaver Builder Child Theme
 Theme URI:    http://www.wpbeaverbuilder.com
 Description:  An example child theme that can be used as a starting point for custom development.
 Author:       The Beaver Builder Team
 Author URI:   http://www.fastlinemedia.com
 Template:     bb-theme
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         one-column, two-columns, right-sidebar, accessibility-ready, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, flexible-header, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready, blog
*/

/* Add your custom styles below... */

/*FONT-IMPORT*/
@import url("https://use.typekit.net/zfs1rnq.css");
/*FONT-IMPORT*/


/*BODY*/
body {
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
}

p {
    margin-bottom: 15px;
}

.no-margin p {
    margin-bottom: 0;
}

h3 {
    font-family: 'OpenSans';
    font-weight: 500;
}
/* BASE RESET CSS FIX */
.col-md-9{
    width: 100%;
}

/*HEADER*/
#menu-header-menu-1 {
    padding: 20px 0;
}
.fl-page-nav-centered .fl-page-nav ul.navbar-nav>li,
.fl-page-header-fixed .fl-page-nav-wrap ul.navbar-nav>li {
    letter-spacing: 1px;
    border-right: 1px solid #464343;
    line-height: 1px;
}

.fl-page-nav-collapse ul.navbar-nav>li:last-child {
    border: none;
}

.fl-page-nav .navbar-nav li> a {
    padding: 2px 20p x;
}

.fl-page-header-fixed {
    text-align: center !important;
}
.fl-page-logo-wrap {
    display: none !important;
}

/* FIXED HEADER */

.fl-page-nav-right.fl-page-header-fixed .fl-page-nav-wrap .navbar-nav>li>a,
.fl-page-header-fixed .fl-page-nav-wrap .navbar-nav>li>a {
    padding: 2px 20px;
}

.fl-page-header-fixed .fl-page-fixed-nav-wrap {
    padding-bottom: 10px;
}

/*MOBILE-HEADER*/

@media only screen and (max-width: 992px) {
    .fl-page-nav-container {
        height: 60px;
    }
    .fl-page-nav-container .navbar-toggle {
        top: 15px !important;
        left:20px !important;
        right: auto !important;
    }
    .fl-page-nav-container .navbar-toggle:before {
    content: 'MENY';
    font-family: "Playfair Display",serif;
    letter-spacing: 1px;
    display: block;
    position: absolute;
    z-index: 0 !important;
    left: 50%;
    margin-left: 20px;
    }
}



/*MODAL*/
#modal {
    z-index: 99999;
    transition: .3s;
    opacity: 0;
    width: 0px ;
    margin-top: 5px;
    display: block;
    position: absolute;
    right: 40px;
}
#modal.show-modal {
    opacity: 1;
    width: 600px;
}
#modal .fl-row-content-wrap{
    z-index: 9999;
    position: fixed;
}
@media only screen and (max-width: 768px) {
    #modal {
        margin-top:0 !important;
        z-index: 99;
        right: 0px;
    }
    #modal.show-modal {
        width: 100%;
    }
    #modal .fl-row-content-wrap{
        position: static;
    }
}
.open-modal-row {
    position: absolute;
    right: 180px;
    top: 0;
    z-index: 999999 !important;
}
@media only screen and (max-width: 992px) {
    .open-modal-row {
        right: 110px !important;
    }
    .open-modal {
        position: absolute !important;
    }
}
.open-modal {
    position: fixed;
}
.open-modal .fl-icon, .link-to-booking-page .fl-icon {
    margin-bottom: 0px;
}
.open-modal:hover {
    cursor: pointer;
}
.link-to-booking-page {
    position: absolute;
}
.open-modal-row {
    position: absolute;
    right: 180px;
    top: 0;
    z-index: 999999 !important;
}
#modal .close-modal {
    display: inline-block;
    position: absolute;
    right: 10px;
    top: 5px;
    z-index: 99999 !important;
    transition: .3s;
}
#modal .close-modal:hover {
    cursor: pointer;
    transform: scale(1.3);
}
@media only screen and (max-width: 992px) {
    #modal .close-modal {
        right: 0 !important;
        top:35px !important;
    }
}

/*MODAL*/

/*TEXT*/

.main-title em {
    font-style: normal;
    color: #ffffff;
}

@media only screen and (max-width: 992px) {
    p {
        font-size: 18px !important;
        /*line-height: 1.5;*/
    }
}
@media only screen and (max-width: 768px) {
    p {
        font-size: 17px !important;
        /*line-height: 1.5;*/
    }
}
/*LINK*/
header a {
    text-decoration: none;
}
a {
    text-decoration: underline;
}

/*HOME PAGE*/
@media only screen and (max-width: 768px) {
    .layout {
        max-width: 550px !important;
    }
    .layout-hours {
        max-width: 350px !important;
    }
}
/**/


/*MENY-PAGE MENU*/
.menyer h2 {
    font-weight: bold !important;
}
.meny-submenu #menu-meny-submenu, .meny-submenu #menu-meny-julemenyer {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.meny-submenu #menu-meny-submenu a, .meny-submenu #menu-meny-julemenyer a {
    display:block;
    font-size: 20px;
    text-decoration: none;
    padding: 0 15px;
    margin-bottom: 20px !important;
}
@media only screen and (max-width: 768px) {
  .meny-submenu #menu-meny-submenu a, .meny-submenu #menu-meny-julemenyer a {
    font-size: 18px;
}
}

.meny-submenu #menu-meny-submenu .current-menu-item a, .meny-submenu #menu-meny-julemenyer .current-menu-item a{
    position: relative;
    font-weight:bold;
}
.meny-submenu #menu-meny-submenu .current-menu-item a:after, .meny-submenu #menu-meny-julemenyer .current-menu-item a:after {
    content: '';
    display: block;
    position: absolute;
    border-top: 3px solid #2ca85c;
    width: 50px !important;
    left:62% !important;
    margin-left:-45px;
    bottom: -10px;
}

/*HIDING THE 'BESTILL BORD' ICON ON VANNARI PAGE*/
body.page-id-53 .fl-node-5ca3888ae53dd {
    display: none;
}
