/* =============================================
 *
 *   FIXED RESPONSIVE NAV
 *
 *   Credit: 
 *   http://viljamis.com/ ( JS Plugin)
 *   http://www.adtile.me/ (Fixed example)
*    https://fortawesome.github.io/Font-Awesome/ (Icon font)
 *
 *   Free to use under the MIT License.
 *
 * ============================================= */


/* ------------------------------------------
  RESPONSIVE NAV STYLES
--------------------------------------------- */

.nav-collapse ul {
    margin: 0;
    padding: 0;
    width: 100%;
    display: block;
    list-style: none;
}

.nav-collapse li {
    width: 100%;
    display: block;
}

.js .nav-collapse {
    clip: rect(0 0 0 0);
    max-height: 0;
    position: absolute;
    display: flex;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    zoom: 1;
}

.nav-collapse.opened {
    max-height: 9999px;
}

.disable-pointer-events {
    pointer-events: none !important;
}

.nav-toggle {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    -o-user-select: none !important;
    user-select: none !important;
}

@media screen and (min-width: 1046px) {
    .js .nav-collapse {
        position: relative;
        width: 85%;
    }
    .js .nav-collapse.closed {
        max-height: none;
        width: 85%;
    }
    .nav-toggle {
        display: none;
    }
}


/* ------------------------------------------
  FIXED HEADER
--------------------------------------------- */

header {
    position: fixed;
    z-index: 10000;
    width: 100%;
    left: 0;
    top: 0;
}

.logo {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    text-decoration: none;
    font-weight: bold;
    line-height: 55px;
    padding: 0;
    color: #000;
    float: left;
}


/* ------------------------------------------
  MASK
--------------------------------------------- */

.mask {
    -webkit-transition: opacity 300ms;
    -moz-transition: opacity 300ms;
    transition: opacity 300ms;
    background: rgba(0, 0, 0, 0.2);
    visibility: hidden;
    position: fixed;
    opacity: 0;
    z-index: 2;
    bottom: 0;
    right: 0;
    left: 0;
    top: 0;
}

.android .mask {
    -webkit-transition: none;
    transition: none;
}

.js-nav-active .mask {
    visibility: visible;
    opacity: 1;
}

@media screen and (min-width: 1046px) {
    .mask {
        display: none !important;
        opacity: 0 !important;
    }
}


/* ------------------------------------------
  NAVIGATION STYLES
--------------------------------------------- */

.fixed {
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
}

.nav-collapse,
.nav-collapse * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.nav-collapse,
.nav-collapse ul {
    list-style: none;
    width: 100%;
    float: left;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

@media (max-width: 1045px) {
    .nav-collapse ul {
        display: block !important;
        margin-top: 85px;
        /* margin-left: -8rem; */
        background-color: white;
        position: fixed;
        width: 200px;
    }
    .nav-collapse ul {
        width: 50% !important;
        height: 10%;
    }
}

@media(max-width:1045px) {
    @-moz-document url-prefix() {
        .nav-collapse ul {
            margin-top: 11rem !important;
        }
    }
}

@-moz-document url-prefix() {
    .text-vertical p {
        margin-left: 1.5rem !important;
        margin-bottom: 0.1rem !important;
    }
}

@media screen and (min-width: 1046px) {
    .nav-collapse {
        float: right;
        width: auto;
        width: 83% !important;
    }
}

.nav-collapse li {
    float: left;
    width: 100%;
    background-color: white !important;
}

@media(max-width:1045px) {
    .nav-collapse li:hover {
        background-color: #f1ac28 !important;
        transition: all 1.5s ease-in-out;
    }
    .nav-collapse a:hover {
        color: #b81605 !important;
    }
}

@media screen and (min-width: 1046px) {
    .nav-collapse li {
        width: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        line-height: 1.5rem;
        background-color: transparent !important;
    }
}

.nav-collapse a {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    text-decoration: none;
    padding: 0.7em 1em 0.7em 0;
    color: #000;
    width: 100%;
    float: left;
}

.nav-collapse a:active,
.nav-collapse .active a {
    text-decoration: underline;
}

@media screen and (min-width: 1046px) {
    .nav-collapse a {
        padding: 0em 1.2em;
        text-align: center;
        border-top: 0;
        float: left;
        margin: 0;
        font-size: 15px !important;
        font-family: Montserrat, "Open Sans", Helvetica, Arial, sans-serif !important;
    }
    .nav-collapse:last-child a {
        padding-right: 0;
        padding-top: 0;
        padding-bottom: 0;
        font-size: 15px !important;
        font-family: Montserrat, "Open Sans", Helvetica, Arial, sans-serif !important;
    }
}

.nav-collapse a:hover {
    color: #b81605 !important;
}

.nav-collapse ul ul a {
    background: #ca3716;
    padding-left: 2em;
}

@media screen and (min-width: 1046px) {
    .nav-collapse ul ul a {
        display: none;
    }
}


/* ------------------------------------------
  NAV TOGGLE STYLES
--------------------------------------------- */

.nav-toggle {
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-decoration: none !important;
    text-indent: -300px !important;
    position: relative !important;
    overflow: hidden !important;
    width: 85% !important;
    height: 55px !important;
    float: right !important;
    text-align: center !important;
    color: white !important;
}

@media(max-width:1045px) {
    .nav-toggle {
        width: 2rem !important;
        margin-left: 2rem;
        margin-top: auto;
        margin-bottom: auto;
    }
}


/* @media(max-width:1045px){
container:before, .container:after {
    display: block;
    content: " ";
}
} */

.nav-toggle:before {
    color: #000 !important;
    /* Edit this to change the icon color */
    font: normal 28px/55px "FontAwesome" !important;
    /* Edit font-size (28px) to change the icon size */
    text-transform: none !important;
    /* text-align: right !important; */
    position: absolute !important;
    content: "\f0c9" !important;
    /* Hamburger icon */
    text-indent: 0 !important;
    speak: none !important;
    width: 100% !important;
    left: 0 !important;
    top: 0 !important;
}

@media(max-width:1045px) {
    .nav-toggle:before {
        width: 10% !important;
    }
}

.nav-toggle.active:before {
    font-size: 18px !important;
    content: "\f00d" !important;
    /* Close icon */
}


/* Demo style */


/* body {
    font-family: 'Open Sans', sans-serif;
    background: #eee;
} */

img {
    max-width: 100%;
    padding: 0 0 12px 0;
}


/* h2 {
    padding-bottom: 20px;
} */

header {
    background: #fff;
    opacity: 0.9;
    height: 85px;
}

.container {
    /* max-width: 1600px; */
    margin: 0 auto;
    /* padding-left: 15px;
    padding-right: 15px; */
}

.container-bottom {
    margin-top: 80px;
}


/* section {
    padding-bottom: 30px;
} */


/* section p {
    padding-bottom: 20px;
} */

.image-navbar {
    height: 70px;
    padding-bottom: 0px;
}

.idiomas {
    min-width: 100px;
    text-align: right;
}

.idiomas a {
    font-size: 14px !important;
    color: #b81605 !important;
    font-family: Montserrat, "Open Sans", Helvetica, Arial, sans-serif !important;
}

@media (max-width: 1045px) {
    .navbar-logo {
        visibility: hidden;
    }
}

#myP {
    background-color: #transparent !important;
}

.test {
    background-color: #fff !important;
    color: #000;
}

.test2 {
    background-color: transparent !important;
}

.enlacehome {
    color: #fff !important;
}

.enlacehome2 {
    color: #000 !important;
}

.idiomas2 {
    min-width: 15% !important;
    text-align: right;
}

@media(max-width: 1045px) {
    .idiomas2 {
        width: 33% !important;
    }
}

@media(max-width: 1045px) {
    #idiomashome {
        width: 33% !important;
        text-align: right !important;
    }
}

.idiomas2 a {
    color: #fff !important;
}

.idiomas3 a {
    color: #b81605 !important;
}

@media(max-width: 1045px) {
    .nav-collapse a {
        color: #000 !important;
        margin-left: 1rem;
    }
    .idiomas {
        width: 33% !important;
    }
    .idiomas2 a {
        color: #b81605 !important;
    }
}

.idiomas2 span {
    color: #fff !important;
}

@media(max-width: 1045px) {
    .idiomas2 span {
        color: #fff !important;
    }
    .test2 {
        background-color: #fff !important;
    }
}

@media(max-width: 769px) {
    .idiomas2 span {
        color: #555 !important;
    }
}

.idiomas2 span:hover {
    color: #b81605 !important;
}

.idiomas span:hover {
    color: #b81605 !important;
}

@media(max-width: 1045px) {
    #logoizq {
        display: none !important;
    }
}

@media(min-width: 1045px) {
    #logocen {
        display: none !important;
    }
}


/* @media(min-width: 1045px){
.visible-izq{
    display: none !important;
}
} */


/* .invisible{
    display: block !important;
}

 */

.seccion-action a {
    color: #b43400 !important;
    font-weight: 800 !important;
}