﻿/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {

    .ers-button {
        font-size: 10px !important;
    }

    .ers-t-image {
        height: 210px !important;
    }

    .setas {
        top: unset !important;
        bottom: 0;
        display: none !important;
    }

    .points {
        display: block !important;
        position: absolute;
        bottom: 5px;
        right: 165px;
    }

        .points:focus {
            background-color: transparent;
            border: 1px solid red;
        }

    .point {
        transition: .14s ease-out;
    }

        .point:focus {
            outline: none !important;
            background-color: #e4002b;
        }

    .arrow-left-ers {
        margin-left: 0 !important;
    }

    .arrow-right-ers {
        margin-right: 0 !important;
    }

    .arrow-ers {
        padding: 17px;
        border-radius: 0px;
    }

    .pergunta-plus-seccao {
        flex: unset !important;
        margin-top: -21px;
    }

    #mainImage {
        margin-top: -55px;
        background-size: contain !important;
        height: 350px !important;
    }

    .ers-pdfs {
        margin-top: -25px;
    }

    .ers-caixa {
        padding: 5px 30px;
    }

    .coluna-direitos-reservados {
        text-align: center;
        margin: 20px 0px 0px;
    }

    .input-newsletter {
        padding: 10px;
        border-radius: 0px;
    }

    .ers-areaprivada {
        display: none;
    }

    .ers-areaprivada-mobile {
        display: block;
    }

    .footer-element {
    margin-bottom: 20px;
    }

    .ers-icones-coluna {
        margin-bottom: 30px;
    }

    #menu_ers_mobile {
        width: 80%;
    }

    .ers-column-content {
        margin: 15px 0px;
        padding: 0;
        background-color: transparent;
    }

    .ers-menu-mobile {
        display: block !important;
    }

    .ers-menu {
        display: none;
    }

    .header1 .overlay {
        padding: 0 !important;
    }

        .header1 .overlay .MegaTituloVermelho {
            margin: 0px 20px 40px 20px;
        }

    .ers-logo-box {
        width: 100%;
    }

    .le-box-open-video {
        width: 77% !important;
        height: 160px !important;
    }

    .le-play {
        margin-top: 72px !important;
    }

    .TituloBoldWhiteUpperAd916cSize50px {
        line-height: 37px !important;
    }

    .nav-link {
        font-size: 15px;
        font-weight: bold;
    }

    .button-main-menu-mobile {
        height: 40px;
        margin-top: -10px;
    }

    .nav-item {
        text-align: left !important;
    }

    .searchButton {
        right: 25px !important;
        top: unset !important;
        left: unset !important;
        margin-top: 8px !important;
        position: absolute !important;
    }

    .SearchCampo1 {
        width: 100%;
        padding: 10px;
        background-color: #fff;
        border: 0px;
    }

    .col-lg-2 {
        max-width: unset !important;
    }

    .col-newsletter-name {
        padding-right: 0px !important;
    }

    .col-newsletter-email {
        padding-left: 0px !important;
    }

    .header1 .overlay {
        padding-top: 65px !important;
    }

    .header1 {
        background: none !important;
    }

    .TituloBoldWhiteUpperAd916cSize50px {
        font-size: 30px !important;
    }

    .pr-login {
        width: 100% !important;
    }

    .pr-registo {
        width: 100% !important;
    }

    .pr-account-bar {
        background-color: #afc72c !important;
    }

    .pr-button-project-menu {
        background-color: transparent;
        border: 0px !important;
        border-radius: 0px;
        position: absolute;
        outline: 0px;
        right: 25px;
        box-shadow: 0px 0px 0px 0px !important;
        top: 20px;
        padding: 10px 20px !important;
    }

    .slideshow-container {
        top: 115px !important;
    }

    .TextoCorridoBlue {
        font-size: 15px !important;
    }

    .submit-newsletter {
        right: 0 !important;
    }

    .navbar-brand > img {
        width: 180px;
    }

    .navbar {
        height: 88px;
    }

    .TextoOffside {
        font-size: 30px !important;
    }

    .searchButton {
        padding: 4px !important;
        background-color: white;
    }

    .pr-fullnavbar {
        background-color: unset !important;
    }

    .iframe-googlemaps {
        width: 300px !important;
    }

    .languages {
        width: 100%;
    }

    .searchresults {
        padding-top: 175px !important;
    }

    .languages-container {
        display: none;
    }

    .pr-slide-h1 {
        font-size: 22px !important;
    }

    .pr-menu-options {
        display: none !important;
    }

    .col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
        padding-left: unset !important;
        padding-right: unset !important;
    }

    .row {
        margin-left: unset !important;
        margin-right: unset !important;
        padding-left: unset !important;
        padding-right: unset !important;
    }

    .pr-fullnavbar {
        height: 75px;
        width: 100%;
    }

    .pr-navbar {
        display: none;
    }

    .pr-navbar-mb {
        display: block;
    }

    .pr-arrows {
        display: none !important;
    }

    .slides {
        height:55vh !important;
    }

    .inner {
        padding-top: 75% !important;
    }

    #layer {
        height: 550px !important;
    }

    .grid-div {
        padding: 0px 15px;
    }

}

/* iPads (portrait and landscape) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {

    .ers-areaprivada {
        display: none;
    }

    .ers-areaprivada-mobile {
        display: block;
    }

    .grid-div {
        padding: 0px 15px;
    }

    .pr-box-news-main {
        padding: 0px 15px;
    }

        .le-box-open-video {
            width: 60% !important;
            height: 270px !important;
        }

    .slides {
        height: 355px !important;
    }

    #layer {
        height: 650px !important;
    }

    .TituloBoldWhiteUpperAd916cSize50px {
        line-height: 37px !important;
    }

    .ers-menu-mobile {
        display: block !important;
    }

    .ers-menu {
        display: none;
    }

    .navbar-nav {

    }

    .container {
        width: 100% !important;
    }

    .mobile-navbar {
        height: 45% !important;
    }

    .button-main-menu-mobile {
        height: 64px;
        margin-top: -10px;
    }

    .header1 .overlay {
        padding-top: 65px !important;
    }

    .header1 {
        margin-top: 14px;
        background: none !important;
    }

    .TituloBoldWhiteUpperAd916cSize50px {
        font-size: 30px !important;
    }

    .pr-login {
        width: 100% !important;
    }

    .pr-registo {
        width: 100% !important;
    }

    .pr-account-bar {
        background-color: #afc72c !important;
    }

    .pr-button-project-menu {
        background-color: transparent;
        border: 0px !important;
        border-radius: 0px;
        position: absolute;
        right: 25px;
        box-shadow: 0px 0px 0px 0px !important;
        top: 20px;
    }

    #menu_ers_mobile {
        width: 30% !important;
    }

    .slideshow-container {
        top: 115px !important;
    }

    .TextoCorridoBlue {
        font-size: 15px !important;
    }

    .submit-newsletter {
        position: unset !important;
    }

    .navbar-brand > img {
        width: 180px;
    }

    .navbar {
        height: 88px;
    }

    .TextoOffside {
        font-size: 30px !important;
    }

    .searchButton {
        padding: 4px !important;
        background-color: white;
    }

    .pr-fullnavbar {
        background-color: unset !important;
    }

    .searchButton {
        position: unset !important;
    }

    .iframe-googlemaps {
        width: 300px !important;
    }

    .languages {
        width: 100%;
    }

    .searchresults {
        padding-top: 175px !important;
    }

    .languages-container {
        display: none;
    }

    .pr-slide-h1 {
        font-size: 22px !important;
    }

    .pr-menu-options {
        display: none !important;
    }

    .col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
        padding-left: unset !important;
        padding-right: unset !important;
    }

    .row {
        margin-left: unset !important;
        margin-right: unset !important;
        padding-left: unset !important;
        padding-right: unset !important;
    }

    .pr-fullnavbar {
        height: 75px;
        width: 100%;
    }

    .pr-navbar {
        display: none;
    }

    .pr-navbar-mb {
        display: block;
    }

    .pr-arrows {
        display: none !important;
    }

    .inner {
        padding-top: 75% !important;
    }
}

@media screen and (min-width : 800px) and (max-width : 1199px) {
    .ers-search-box {
        padding-left: 79px;
    }

    .ers-menu-box .ers-menu-option {
        padding-right: 0px;
    }

    .ers-search .ers-button {
        margin-left: 30px !important;
    }
}

/**********
iPad 3
**********/
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) and (-webkit-min-device-pixel-ratio : 2) {
/* Styles */
}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) and (-webkit-min-device-pixel-ratio : 2) {
/* Styles */
}
/* Desktops and laptops ----------- */
@media only screen  and (min-width : 1224px) {
/* Styles */
}

/* Large screens ----------- */
@media only screen  and (min-width : 1824px) {
/* Styles */
}

/* iPhone 4 ----------- */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) and (orientation : landscape) and (-webkit-min-device-pixel-ratio : 2) {
/* Styles */
}

@media only screen and (min-device-width : 320px) and (max-device-width : 480px) and (orientation : portrait) and (-webkit-min-device-pixel-ratio : 2) {
/* Styles */
}

/* iPhone 5 ----------- */
@media only screen and (min-device-width: 320px) and (max-device-height: 568px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 2){
/* Styles */
}

@media only screen and (min-device-width: 320px) and (max-device-height: 568px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 2){
/* Styles */
}

/* iPhone 6, 7, 8 ----------- */
@media only screen and (min-device-width: 375px) and (max-device-height: 667px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 2){
/* Styles */
}

@media only screen and (min-device-width: 375px) and (max-device-height: 667px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 2){
/* Styles */
}

/* iPhone 6+, 7+, 8+ ----------- */
@media only screen and (min-device-width: 414px) and (max-device-height: 736px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 2){
/* Styles */
}

@media only screen and (min-device-width: 414px) and (max-device-height: 736px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 2){
/* Styles */
}

/* iPhone X ----------- */
@media only screen and (min-device-width: 375px) and (max-device-height: 812px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 3){
/* Styles */
}

@media only screen and (min-device-width: 375px) and (max-device-height: 812px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 3){
/* Styles */
}

/* iPhone XS Max, XR ----------- */
@media only screen and (min-device-width: 414px) and (max-device-height: 896px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 3){
/* Styles */
}

@media only screen and (min-device-width: 414px) and (max-device-height: 896px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 3){
/* Styles */
}

/* Samsung Galaxy S3 ----------- */
@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 2){
/* Styles */
}

@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 2){
/* Styles */
}

/* Samsung Galaxy S4 ----------- */
@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 3){
/* Styles */
}

@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 3){
/* Styles */
}

/* Samsung Galaxy S5 ----------- */
@media only screen and (min-device-width: 360px) and (max-device-height: 640px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 3){
/* Styles */
}

@media only screen and (min-device-width: 360px) and (max-device-height: 640px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 3){
/* Styles */
}