/* =========================================================
   SmartMenus
   Pfuri, Gorps & Kniri
   ========================================================= */


/* =========================================================
   Common
   ========================================================= */

.sm-clean,
.sm-clean ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .sm-clean li {
        position: relative;
    }

    .sm-clean a {
        position: relative;
        display: block;
        text-decoration: none;
    }

        .sm-clean a,
        .sm-clean a:visited {
            color: #777777;
        }

            .sm-clean a:hover,
            .sm-clean a:focus,
            .sm-clean a:active,
            .sm-clean a.highlighted {
                color: #0073a8;
            }

            .sm-clean a.current {
                color: #0073a8;
            }

            .sm-clean a.disabled {
                color: #cccccc;
                cursor: default;
            }


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 767px) {

    #navigationMain {
        width: 100%;
    }


    /* -----------------------------------------------------
       Hamburger
       ----------------------------------------------------- */

    #menuIconWrapper {
        width: 100%;
        min-height: 52px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    #menu-icon {
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 40px;
        line-height: 1;
        color: #777777;
        cursor: pointer;
    }

        #menu-icon:hover,
        #menu-icon:focus {
            color: #0073a8;
        }


    /* -----------------------------------------------------
       Show / hide
       ----------------------------------------------------- */

    #main-menu.hideNavigation {
        display: none;
    }

    #main-menu:not(.hideNavigation) {
        display: block;
    }


    /* -----------------------------------------------------
       Main menu
       ----------------------------------------------------- */

    #main-menu {
        width: 100%;
        margin: 0;
        padding: 0;
        background: #ffffff;
    }

        #main-menu > li {
            width: 100%;
            border-top: 1px solid #eeeeee;
        }

            #main-menu > li:last-child {
                border-bottom: 1px solid #eeeeee;
            }

            #main-menu > li > a,
            #main-menu > li > a:visited,
            #main-menu > li > a:hover,
            #main-menu > li > a:focus,
            #main-menu > li > a:active,
            #main-menu > li > a.highlighted {
                padding: 15px 48px 15px 10px;
                font-family: 'Open Sans', Arial, sans-serif;
                font-size: 15px;
                font-weight: 400;
                line-height: 1.3;
                letter-spacing: 2px;
                text-transform: uppercase;
                color: #777777;
                background: transparent;
            }

                #main-menu > li > a:hover,
                #main-menu > li > a:focus,
                #main-menu > li > a:active,
                #main-menu > li > a.highlighted {
                    color: #0073a8;
                    background: #fafafa;
                }

                #main-menu > li > a.current {
                    color: #0073a8;
                }


    /* -----------------------------------------------------
       Submenu button
       ----------------------------------------------------- */

    .sm-clean a .sub-arrow {
        position: absolute;
        top: 50%;
        right: 8px;
        width: 34px;
        height: 34px;
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateY(-50%);
        font-size: 18px;
        font-weight: 400;
        line-height: 1;
        color: inherit;
    }

        .sm-clean a .sub-arrow::before {
            content: '+';
        }

    .sm-clean a.highlighted .sub-arrow::before {
        content: '−';
    }


    /* -----------------------------------------------------
       Submenus
       ----------------------------------------------------- */

    .sm-clean ul {
        width: 100%;
        background: #f8f8f8;
    }

        .sm-clean ul li {
            width: 100%;
            border-top: 1px solid #eeeeee;
        }

        .sm-clean ul a,
        .sm-clean ul a:visited,
        .sm-clean ul a:hover,
        .sm-clean ul a:focus,
        .sm-clean ul a:active,
        .sm-clean ul a.highlighted {
            padding: 13px 48px 13px 25px;
            font-family: 'Open Sans', Arial, sans-serif;
            font-size: 14px;
            font-weight: 400;
            line-height: 1.3;
            letter-spacing: 1px;
            color: #777777;
            background: transparent;
        }

            .sm-clean ul a:hover,
            .sm-clean ul a:focus,
            .sm-clean ul a:active,
            .sm-clean ul a.highlighted {
                color: #0073a8;
                background: #f5f5f5;
            }

        .sm-clean ul ul a {
            padding-left: 40px;
        }
}


/* =========================================================
   Desktop
   ========================================================= */

@media (min-width: 768px) {

    #menuIconWrapper {
        display: none;
    }


    /* -----------------------------------------------------
       Main menu
       ----------------------------------------------------- */

    #main-menu,
    #main-menu.hideNavigation {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: 0;
        padding: 0;
        background: transparent;
    }

        #main-menu > li {
            float: none;
            margin: 0;
            padding: 0;
        }

            #main-menu > li > a,
            #main-menu > li > a:visited,
            #main-menu > li > a:hover,
            #main-menu > li > a:focus,
            #main-menu > li > a:active,
            #main-menu > li > a.highlighted {
                padding: 13px 0;
                white-space: nowrap;
                font-family: 'Open Sans', Arial, sans-serif;
                font-size: 18px;
                font-weight: 400;
                line-height: 1;
                letter-spacing: 3px;
                text-transform: uppercase;
                color: #777777;
                background: transparent;
            }

                #main-menu > li > a:hover,
                #main-menu > li > a:focus,
                #main-menu > li > a:active,
                #main-menu > li > a.highlighted {
                    color: #0073a8;
                }

                #main-menu > li > a.current {
                    color: #0073a8;
                    font-weight: 400;
                }


                /* -----------------------------------------------------
       Main menu arrows
       ----------------------------------------------------- */

                #main-menu > li > a.has-submenu {
                    padding-right: 18px;
                }

    .sm-clean a .sub-arrow {
        position: absolute;
        top: 50%;
        right: 4px;
        width: 0;
        height: 0;
        transform: translateY(-20%);
        border-width: 4px;
        border-style: solid dashed dashed dashed;
        border-color: #777777 transparent transparent transparent;
    }

        .sm-clean a .sub-arrow::before {
            display: none;
        }


    /* -----------------------------------------------------
       Dropdown
       ----------------------------------------------------- */

    .sm-clean ul {
        position: absolute;
        width: auto;
        min-width: 190px;
        padding: 6px 0;
        border: 1px solid #dddddd;
        background: #ffffff;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

        .sm-clean ul li {
            float: none;
            width: 100%;
        }

        .sm-clean ul a,
        .sm-clean ul a:visited,
        .sm-clean ul a:hover,
        .sm-clean ul a:focus,
        .sm-clean ul a:active,
        .sm-clean ul a.highlighted {
            padding: 9px 30px 9px 15px;
            white-space: nowrap;
            font-family: 'Open Sans', Arial, sans-serif;
            font-size: 13px;
            font-weight: 400;
            line-height: 1.3;
            letter-spacing: 1px;
            text-transform: uppercase;
            color: #777777;
            background: #ffffff;
        }

            .sm-clean ul a:hover,
            .sm-clean ul a:focus,
            .sm-clean ul a:active,
            .sm-clean ul a.highlighted {
                color: #0073a8;
                background: #f7f7f7;
            }

            .sm-clean ul a.current {
                color: #0073a8;
            }


            /* -----------------------------------------------------
       Submenu pointing right
       ----------------------------------------------------- */

            .sm-clean ul a .sub-arrow {
                right: 10px;
                transform: translateY(-50%);
                border-width: 5px;
                border-style: dashed dashed dashed solid;
                border-color: transparent transparent transparent #777777;
            }


    /* -----------------------------------------------------
       Facebook
       ----------------------------------------------------- */

    #main-menu > .navigation7 > a {
        width: 24px;
        height: 24px;
        padding: 0;
        overflow: hidden;
        font-size: 0;
        letter-spacing: 0;
        border-radius: 2px;
        background: #5879ad;
        color: #ffffff;
    }

        #main-menu > .navigation7 > a::after {
            content: 'f';
            position: absolute;
            left: 0;
            top: 0;
            width: 24px;
            height: 24px;
            display: flex;
            align-items: flex-end;
            justify-content: center;
            padding-bottom: 1px;
            font-family: Arial, sans-serif;
            font-size: 20px;
            font-weight: 700;
            line-height: 1;
            color: #ffffff;
        }

        #main-menu > .navigation7 > a:hover,
        #main-menu > .navigation7 > a:focus {
            background: #3f5f94;
        }
}


/* =========================================================
   Narrow desktop / tablet landscape
   ========================================================= */

@media (min-width: 768px) and (max-width: 1050px) {

    #main-menu > li > a,
    #main-menu > li > a:visited,
    #main-menu > li > a:hover,
    #main-menu > li > a:focus,
    #main-menu > li > a:active,
    #main-menu > li > a.highlighted {
        font-size: 15px;
        letter-spacing: 2px;
    }
}


/* =========================================================
   Very narrow desktop
   ========================================================= */

@media (min-width: 768px) and (max-width: 850px) {

    #main-menu > li > a,
    #main-menu > li > a:visited,
    #main-menu > li > a:hover,
    #main-menu > li > a:focus,
    #main-menu > li > a:active,
    #main-menu > li > a.highlighted {
        font-size: 13px;
        letter-spacing: 1px;
    }
}
