﻿
body {
    font-family: Montserrat;
    margin: 0;
    width: auto;
    overflow: auto;
}

.container_page {
    min-width: 800px;
    width: 100%;
    text-align: center;
    position: absolute;
    padding-top: 100px;
    padding-bottom: 90px;
    min-width: 740px !important;
}

img {
    border: 0;
}


.IE_no_suport {
    top: 0;
    position: fixed !important;
    height: 40px;
    background-color: #fccc67;
    z-index: 999999;
    width: 100%;
}

    .IE_no_suport p {
        text-align: center;
        font-weight: bold;
        margin-top: 7px;
    }

.IE_text {
    padding-top: 150px;
    text-align: center;
    font-weight: bold;
}

/* Para modals funcionarem em IE11 */
.ekko-lightbox .modal-dialog {
    flex: 100% !important;
    margin-left: 0;
    margin-right: 0;
}

/*#region ........ FontFaces de Montserrat*/

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/Montserrat-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Montserrat-Bold';
    src: url('../fonts/Montserrat/Montserrat-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'Montserrat-Italic';
    src: url('../fonts/Montserrat/Montserrat-Italic.ttf') format('truetype');
}

@font-face {
    font-family: 'Montserrat-BoldItalic';
    src: url('../fonts/Montserrat/Montserrat-BoldItalic.ttf') format('truetype');
}

/*#endregion*/

/*#region ........ BOOTSTRAP Modals Override.*/

.modal-content {
    z-index: 100;
}

.modal-title {
    font-family: Montserrat;
    color: #606060;
}

.modal-header .close {
    font-size: 2.3rem;
}

@media screen and (max-width: 1000px) {

    .modal-header {
        padding: 0.5rem 1rem 0 1rem;
    }

        .modal-header .close {
            padding: 0 1rem 0 0;
            font-size: 6.5rem;
            font-weight: 400;
        }

    .modal-title {
        font-size: 3rem;
    }
}

/*#endregion*/

/*#region ........ MObile Navigation Bar. */

.MobileNav_icon {
    font-size: 60px;
    cursor: pointer;
}

.navbar_language_mobile {
    width: 100%;
}

.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 200;
    top: 0;
    left: 0;
    background-color: #00718f;
    opacity: 0.93;
    overflow-y: hidden;
    transition: 0.5s;
}

.overlay-content {
    position: relative;
    top: 5%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
    overflow-y: hidden;
}

.overlay a {
    padding: 14px;
    text-decoration: none;
    top: 5px;
    font-size: 19px;
    color: white;
    display: block;
    transition: 0.3s;
}

    .overlay a:hover {
        -webkit-filter: blur(1px);
        filter: blur(1px);
        animation: bounce 1s;
        text-decoration: none;
        color: white;
    }

    .overlay a:active {
        transform: translateY(5px);
        text-decoration: none;
        color: white;
    }


.overlay .closebtn {
    position: absolute;
    font-size: 50px;
    top: 0;
    right: 35px;
}

@media screen and (min-height: 400px) {
    .overlay a {
        font-size: 24px;
    }

    .overlay-content {
        top: 15%;
    }

    .overlay .closebtn {
        right: 35px;
        font-size: 80px;
    }
}

@media screen and (min-height: 550px) {
    .overlay a {
        font-size: 38px;
    }

    .overlay-content {
        top: 20%;
    }

    .overlay .closebtn {
        right: 35px;
        font-size: 100px;
    }
}

@media screen and (min-height: 700px) {
    .overlay a {
        font-size: 3em;
    }

    .overlay-content {
        top: 20%;
    }

    .overlay .closebtn {
        font-size: 120px;
        right: 35px;
    }
}

@media screen and (min-height: 850px) {
    .overlay a {
        font-size: 4em;
    }

    .overlay-content {
        top: 25%;
    }

    .overlay .closebtn {
        font-size: 140px;
        top: 5px;
        right: 35px;
    }
}




/* Animacao para hover links - bounce */
@keyframes bounce {
    0%, 20%, 60%, 100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    40% {
        -webkit-transform: translateY(-20px);
        transform: translateY(-20px);
    }

    80% {
        -webkit-transform: translateY(-10px);
        transform: translateY(-10px);
    }
}

@-moz-keyframes bounce {
    0%, 20%, 60%, 100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    40% {
        -webkit-transform: translateY(-20px);
        transform: translateY(-20px);
    }

    80% {
        -webkit-transform: translateY(-10px);
        transform: translateY(-10px);
    }
}


@-webkit-keyframes bounce {
    0%, 20%, 60%, 100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    40% {
        -webkit-transform: translateY(-20px);
        transform: translateY(-20px);
    }

    80% {
        -webkit-transform: translateY(-10px);
        transform: translateY(-10px);
    }
}



/*#endregion */

/*#region ........ Language Picker.*/

/*MOBILE version*/

.disable-select {
    /*prevenir de gerar selecao de texto no click*/
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.languagepicker {
    background-color: #FFF;
    /* display: inline-block; */
    padding: 0;
    height: 60px;
    overflow: hidden;
    transition: all .3s ease;
    margin: 0 50px 10px 0;
    vertical-align: top;
    float: left;
    position: absolute;
    margin-top: -40px;
}

    .languagepicker:hover {
        /* don't forget the 1px border */
        height: 92px;
    }

    .languagepicker a {
        color: #00718f;
        text-decoration: none !important;
        padding-left: 0 !important;
        padding-top: 20px;
        cursor: pointer;
    }


        .languagepicker a:hover {
            background-color: #EEE;
        }

    .languagepicker li {
        font-size: 1.5em;
        font-weight: bold;
        display: block;
        padding: 15px 35px 15px 35px;
        line-height: 59px;
        border-bottom: 1px solid #EEE;
    }


        .languagepicker li:hover {
            background-color: #EEE;
        }

    .languagepicker a:hover:after {
        width: 0 !important;
    }

    .languagepicker a:first-child li {
        border: none;
    }

    .languagepicker li img {
        margin-right: 5px;
    }

.roundborders {
    border-radius: 5px;
}

.large:hover {
    /* Fazer aqui a conta ao tamanho máximo após adicionar mais linguas.
	don't forget the 1px border!
	As languages estao 69px heigh, the others are 60px +30px de padding para cada.
	92px vezes o numero de linguas.
		*/
    height: 276px;
}

/*PC version*/



.languagepicker_PC {
    margin-top: -50px !important;
}

    .languagepicker_PC li {
        font-size: 1em;
        line-height: 69px !important;
        border-left: rgba(223, 225, 227, 0.1) solid;
        border-right: rgba(223, 225, 227, 0.1) solid;
    }

        .languagepicker_PC li:first-child {
            text-align: center;
            border-left: none transparent !important;
            border-right: none transparent !important;
        }

.language_PC_div {
    padding-left: 30px !important;
}

.large2:hover {
    /*97px vezes numero de linguas*/
    height: 303px;
}

/*#endregion*/

/*#region ........ Navigation Bar. */
.navbar_logo_sti_link {
    border: 0;
    text-decoration: none;
}

.navbar_logo_sti {
    height: 65px;
    float: left;
    padding-right: 15px;
}

#navbar {
    height: 100px;
    min-width: 455px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14pt;
    position: fixed;
    margin: 0;
    top: 0;
    width: 100%;
    background-color: white;
    z-index: 99;
    transition: top 0.4s;
    -webkit-box-shadow: 0 1px 3px rgba(57, 63, 72, 0.3);
    -moz-box-shadow: 0 1px 3px rgba(57, 63, 72, 0.3);
    box-shadow: 0 1px 3px rgba(57, 63, 72, 0.3);
    animation: animatebottom 1s;
}

    #navbar a {
        text-decoration: none;
        color: #00718f;
        padding-left: 30px;
    }

        #navbar a:after {
            content: '';
            display: block;
            width: 0;
            height: 2px;
            background: #0099c1;
            transition: width .45s;
        }

        #navbar a:hover:after {
            width: 100%;
        }

.navbar_logo_sti_link:hover:after {
    border: 0;
    text-decoration: none !important;
    background: transparent !important;
    height: 0 !important;
    width: 0 !important;
}

@keyframes animatebottom {
    from {
        bottom: -100px;
        opacity: 0;
    }

    to {
        bottom: 0;
        opacity: 1;
    }
}

@-moz-keyframes animatebottom {
    from {
        bottom: -100px;
        opacity: 0;
    }

    to {
        bottom: 0;
        opacity: 1;
    }
}

@-webkit-keyframes animatebottom {
    from {
        bottom: -100px;
        opacity: 0;
    }

    to {
        bottom: 0;
        opacity: 1;
    }
}

/*#endregion */

/*#region ........ Footer. */

.footer {
    display: inline-flex;
    margin-bottom: 0;
    justify-content: space-between;
    align-items: center;
    min-width: 580px;
    background-color: #00718f;
    width: 100%;
    padding-top: 10px;
    padding-bottom: 8px;
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    animation: opac 1s;
}

@keyframes opac {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.footer a {
    color: white;
    border: 0;
    text-decoration: none !important;
}

    .footer a:hover {
        cursor: pointer;
        color: #d7d6d6;
        text-decoration: none !important;
    }

.footer_privacidade {
    padding-left: 50px;  
}

.footer_contacto {
    vertical-align: middle;
}

.footer_copyr {
    padding-left: 30px;
    color: white;
}

.footer_div_cont {
    float: right;
    padding-right: 30px;
}

.footer_img {
    vertical-align: middle;
    margin-left: 30px;
}

.footer_copyr span:nth-child(2){
    display:none;
}

/*#endregion*/

/*#region ........ MEDIA Screens*/

@media screen and (min-width: 1051px) {
    .MobileNav_icon {
        display: none;
    }

    .navbar_language_mobile {
        display: none;
    }
}

@media screen and (max-width: 1050px) {
    .navbar_link {
        display: none;
    }

    .language_PC_div {
        display: none;
    }

    .languagepicker {
        margin-left: 30px;
    }

    #navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .navbar_logo_sti {
        float: left;
        margin-left: 50px;
    }

    .MobileNav_icon {
        margin-right: 70px;
        font-weight: bold;
        color: #00718f;
    }

    .footer {
        height: 80px;
        font-size: 24px;
    }

     .footer a {
            padding-left: 20px;
        }

    .footer_img {
        width: 40px;
        margin-left: 0;
    }

    .footer_link {
        display: none;
    }

    .footer_privacidade {
        padding-left: 0;          
    }
    .footer_copyr span:nth-child(2){
    display:inline;
}
    #copyright{
        display:none;
    }     
}

@media screen and (max-width: 900px) {
    .footer_contacto {
        display: none;
    }
}

@media screen and (max-width: 650px) {
    .footer_copyr {
        padding-left: 3px;
    }

    .footer_contacto {
        padding-right: 5px;
    }
}

/*#endregion */

/*#region ........ Browser compatibility.*/

.ie #navbar a {
    display: inline-block;
}

.ie #navbar {
    animation: none;
}

.ie7 #navbar {
    animation: none;
}

.gecko #navbar {
    animation: none;
}

.win.gecko #navbar {
    animation: none;
}

/*#endregion*/
