﻿/* ============================================================================================*/
/* -------------------------------------- NAVIGATION BAR --------------------------------------*/
/* ============================================================================================*/
/* Single Page Menu Container*/
.spMenuContainer {
    position: relative;
    display: block;
    /*background-color: #cac195;*/
    height: auto;
}

#topnav {
    display: block;
    width: 100%;
    position: relative;
    min-height: 92px;
}

    #topnav .logo {
        display: inline-block;
        padding: 0em 0em;
        position: relative;
        height: 100%;
    }

        #topnav .logo img {
            padding: 2px 0px;
            display: block;
        }

    #topnav #navbtn {
        position: absolute;
        display: none;
        float: right;
        width: 24px;
        overflow: hidden;
        right: 0;
        top: 50%;
        margin-top: -12px;
    }

    #topnav .btn_language_changer_small {
        position: absolute;
        display: none;
        float: right;
        width: 36px;
        height: 25px;
        overflow: hidden;
        right: 30px;
        top: 50%;
        margin-top: -11px;
        z-index: 1000;
        cursor: pointer;
        background-color: #BDBEC0;
    }

    #topnav nav {
        position: absolute;
        top: 0;
        right: 0;
        height: 100%;
        z-index: 2;
    }

        #topnav nav ul {
            list-style: none;
            height: 100%;
        }

            #topnav nav ul li {
                display: inline-block;
                margin-right: 4px;
                height: 100%;
            }

                #topnav nav ul li a {
                    position: relative;
                    color: #4E525D;
                    font-size: 1em;
                    padding-left: 1.5em;
                    padding-right: 1.5em;
                    display: block;
                    transition: 0.5s all;
                    -webkit-transition: 0.51s all;
                    -moz-transition: 0.5s all;
                    -o-transition: 0.5s all;
                    border-bottom: 2px solid #cac195;
                    text-decoration: none;
                    height: calc(100% - 2px);
                    line-height: calc(100% - 2px) !important;
                }

                    #topnav nav ul li a:hover {
                        border-bottom: 2px solid #80351e;
                        color: #80351e;
                        background: #EEE;
                    }

                #topnav nav ul li.active > a {
                    border-bottom: 2px solid #80351e;
                    color: #80351e;
                    background: #EEE;
                }

                #topnav nav ul li a > span {
                    position: relative;
                    display: block;
                    top: calc(50% - 9px);
                    /*top: 50%;
                    -webkit-transform: translateY(-50%);
                    -ms-transform: translateY(-50%);
                    transform: translateY(-50%);*/
                }

/*Multiple Page Menu Container*/
.mpMenuContainer {
    position: absolute;
    display: block;
    right: 10px;
    top: 0px;
    width: 40px;
    height: 40px;
    background-color: #939598;
    z-index: 1000;
}

    .mpMenuContainer > span {
        display: block;
        width: 100%;
        line-height: 38px;
        text-align: center;
        color: #FFF;
        font-size: 24px;
        font-weight: 500;
        cursor: pointer;
    }

    .mpMenuContainer > ul {
        position: absolute;
        right: 0px;
        top: 40px;
        min-width: 200px;
        width: auto;
        height: auto;
        background-color: #D1D2D4;
        display: none;
        padding: 10px;
    }

        .mpMenuContainer > ul > li {
            display: block;
            width: auto;
            padding: 5px 5px;
        }

            .mpMenuContainer > ul > li.nav_option:hover {
                background-color: gray;
            }

            .mpMenuContainer > ul > li > a {
                display: block;
                width: calc(100% - 10px);
                text-decoration: none;
                color: #000;
                border-bottom: 1px solid #E7E8E9;
                font-size: 11pt;
                line-height: 22px;
                padding-left: 5px;
            }

    .mpMenuContainer:hover > ul {
        display: block;
    }

.btn_language_changer {
    position: absolute;
    display: none;
    right: 50px;
    top: 0px;
    width: 40px;
    height: 40px;
    background-color: #BDBEC0;
    z-index: 1000;
    cursor: pointer;
}

    .btn_language_changer > span, .btn_language_changer_small > span {
        display: block;
        width: 100%;
        line-height: 40px;
        font-size: 13pt;
        font-weight: bolder;
        color: #FFF;
        text-align: center;
    }

.btn_language_changer_small > span {
    line-height: 22px;
}

.btn_language_changer:hover, .btn_language_changer_small:hover {
    /*text-shadow: 0px 0px 6px rgba(0,0,0,0.8);*/
}

/*********responsive_media _queries********/
@media only screen and (max-width: 1440px) {
}
/****/
@media only screen and (max-width: 1366px) {
}
/****/
@media only screen and (max-width: 1280px) {
}
/** Alteração do menu nestas dimensões **/
@media screen and (max-width: 1050px) {
    #topnav h1 {
        padding: 1.4em 0em;
    }

    #topnav {
        min-height: 50px;
        height: auto;
    }

        #topnav nav {
            display: none;
            position: static;
            width: 100%;
            top: auto;
            right: auto;
        }

            #topnav nav ul li {
                display: block;
                width: 100%;
                margin: 0;
                background: #f0f0f0;
                height: 40px;
            }

                #topnav nav ul li a {
                    display: block;
                    width: 100%;
                    height: 100%;
                    line-height: 1.4em;
                    border: 0;
                    padding: 9px 9px;
                    border-bottom: 2px solid #80351e;
                    box-sizing: border-box;
                    -moz-box-sizing: border-box;
                    -webkit-box-sizing: border-box;
                    -webkit-transition: all 0.3s ease-out;
                    -moz-transition: all 0.3s ease-out;
                    -ms-transition: all 0.3s ease-out;
                    -o-transition: all 0.3s ease-out;
                    transition: all 0.3s ease-out;
                }

                    #topnav nav ul li a:hover {
                        background: #72544B;
                        color: #ffffff;
                    }

                    #topnav nav ul li a.sel {
                        color: #6f8767;
                        background: #cbdcc5;
                    }

        #topnav #navbtn {
            display: block;
        }
}
/****/
@media only screen and (max-width: 1024px) {
}
/****/
@media only screen and (max-width: 768px) {
}
/****/
@media only screen and (max-width: 640px) {
}
/****/
