/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 29-oct-2019, 8:33:43
    Author     : sergio
*/

.topbar{
    background-color: #f2f2f2;
    width: 100%;
    height: 30px;
    color: #444444;
    font-size: 11px;
    font-family: 'Montserrat', arial, sans-serif;
    position: fixed; 
    top:0px;
    padding-top: 2px;
}
.topbar a{ color: #444444; font-size: 12px; line-height: 15px;}
.topbar p{ color: #444444; }
.topbar span{ font-family: 'Uchen', serif; color: #444444; }


.topbar_tablet{
    background-color: #f2f2f2;
    width: 100%;
    height: 30px;
    color: #444444;
    font-size: 11px;
    font-family: 'Montserrat', arial, sans-serif;
    position: fixed; 
    top:0px;
    padding-top: 2px;
    display: none;
}
.topbar_tablet a{ color: #444444; font-size: 12px; line-height: 15px;}
.topbar_tablet p{ color: #444444; }
.topbar_tablet span{ font-family: 'Uchen', serif; color: #444444; }

@media (max-width: 1024px) {
    .topbar{ display: none;}
}

@media  (min-width : 320px) and (max-width : 766px) { 
    .topbar_tablet{ display: none;}
}

@media  (min-width : 767px) and (max-width : 1024px) { 
    .topbar_tablet{ display: block;}
}
    
.header { 
    font-family: 'Montserrat', arial, sans-serif;
    background-color: #fff; 
    color: #444444;
    position: fixed; 
    z-index: 99999; 
    width: 100%;
    top: 30px;
    height: 60px;
}
.colorw{ color: #7d7d7d }

/* LOGO
--------------------------------------------------------------------- */
.primerlogo{     
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
}

.primerlogo img{ 
    width:90%;
    max-width: 130px;
    border: 1px solid #fff;
    z-index: 999999;
}

@media  (min-width : 320px) and (max-width : 766px) { 
    .primerlogo{
        width: 80%;
        height: 100px;
        float: right;
        display:flex;
        justify-content: center;
        align-items: center;
        z-index: 9997;
    }
    .primerlogo img{ 
        width:100%;
        max-width: 120px;
    }
    .header { top: 0px; } 
    .primerlogo{ align-items: flex-start; width: 100%; }
}



/* IDIOMAS
--------------------------------------------------------------------- */
.idiomas {     
    height: 70px;
    display:flex;
    justify-content: center;
    align-items: center;
}
.idiomas a{     
    color: #7d7d7d;
    font-size: 10px; 
   font-family: 'Montserrat', arial, sans-serif;
}
.idiomas a:hover{ color: #048f9c; }

.selidiomas {
    border-left: none !important;
}
.selidiomas a{
    font-size: 13px !important;
    line-height: 17px !important;
}
.selidiomas .submenu{
    font-size: 13px !important;
    line-height: 17px !important;
    width: 150px !important;
}


/* primary navigation
--------------------------------------------------------------------- */
#nav-wrap ul, #nav-wrap li, #nav-wrap a {
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
}

/* nav-wrap */
#nav-wrap {
    position: relative;
    font-size: 14px;
    z-index: 99998;
}
/* hide toggle button */
#nav-wrap > a.mobile-btn {
    display: none;
    border-radius: 3px;
}
ul#nav {
    min-height: 70px;
    width: auto;
}
ul#nav li {
    position: relative;
    list-style: none;
    height: 70px;
    display: inline-block;
    width: 19%;
    /*border-left: 1px solid #ededed;*/
    text-align: center; 
}
/* Links */
ul#nav li a {
    text-transform: uppercase;
    padding-top: 15px;
    font-family: 'Montserrat', arial, sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #444444;
    font-weight: 400;
    text-decoration: none;
    height: 60px;
    display: inline-block;
    justify-content: center;
    align-items: center;
    background-color: transparent;    
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 0% 2px;
    transition: background-size .3s;
}
ul#nav li a:active { background-color: transparent !important; }

ul#nav li:hover > a,
ul#nav li.current a { color: #6A1B32 !important;}
ul#nav li a:hover{ background-size: 100% 2px; font-weight: 500;}

/* adds down arrow */
ul#nav span:after {
    width: 0;
    height: 0px;
    border: 5px solid transparent;
    border-bottom: none;
    border-top-color: #fff;
    content: '';
    vertical-align: middle;
    display: inline-block;
    position: relative;
    right: -5px;
    color: #fff;
}

/* Sub Menu
----------------------------------------------------- */
ul#nav ul {
    position: absolute;
    width: 200px;
    top: 85%;
    left: 0;
    background: #f2f2f2;
    background-color: #f2f2f2;
    min-width: 100%;
    border-radius: 0 0 0px 0px;
    /* for transition effects */
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transition: opacity .25s ease .1s;
    -moz-transition: opacity .25s ease .1s;
    -o-transition: opacity .25s ease .1s;
    -ms-transition: opacity .25s ease .1s;
    transition: opacity .25s ease .1s;
}
/* Third level sub menu
ul#nav ul ul {
        position: absolute;
        top: 0;
        left: 100%;

        border-radius: 0 3px 3px 3px;
}
*/

ul#nav ul li {
    padding: 0;
    display: block;
    text-align: left;
    /* for transition effects */
    height: 0;
    overflow: hidden;
    -webkit-transition: height .25s ease .1s;
    -moz-transition: height .25s ease .1s;
    -o-transition: height .25s ease .1s;
    -ms-transition: height .25s ease .1s;
    transition: height .25s ease .1s;
    border: none;
}

/*On Hover */
ul#nav li:hover > ul { opacity: 1; filter: alpha(opacity=100); }
ul#nav li:hover > ul li {
    height: 42px;
    overflow: visible;
    border-bottom: 0px solid #26272C;
}
ul#nav li:hover > ul li:last-child  { border: none; }

ul#nav li:hover { color: #6A1B32!important; font-weight: 500; cursor: pointer;}


/* Sub Menu Anchor links */
ul#nav ul li a {
    font-family: 'Montserrat', arial, sans-serif;
    font-size: 14px;
    line-height: 24px;
    padding: 10px 20px;
    margin: 0;
    white-space: nowrap;
    color: #444444;
    background: transparent !important;
    text-transform: none;
}

ul#nav ul li a:hover { color: #6A1B32 !important; font-weight: 500; cursor: pointer;}


/* REDES
--------------------------------------------------------------------- */
.nopaddings{ padding: 0px;}

.redes{
    width: 100%;
    /*border-left: 1px solid #ededed;*/
    height: 30px;
    display:flex;
    justify-content: center;
    align-items: center;
}
.redes li{ display: inline-block; width: 50%;}
.redes li img{ width: 100%; max-width: 25px;}

.actives { 
    color: #048f9c !important; 
    font-weight: 500!important; 
}

/* QUERYS
--------------------------------------------------------------------- */

@media only screen and (max-width: 767px) {
    
    .header{ min-height: 100px;}
    .idiomas { height: 70px; }
    .redes{ display: none;}
        
    /* mobile navigation
   -------------------------------------------------------------------- */
    #nav-wrap {
        width: auto;
        background-color: #fff;
    }
    #nav-wrap > .mobile-btn {
        width: 45px;
        height: 45px;
        background-color: #ddd!important;
        position: absolute;
        border: none;
        float: left;
        font: 0/0 a;
        text-shadow: none;
        color: transparent;
        top: 20px;
        
        /*       top: 2px;
               right: 36px;*/
        
        
        /*
        float: none;
        margin: auto;
        text-align: center;
        */
        
        
    }

    #nav-wrap > .mobile-btn:before,
    #nav-wrap > .mobile-btn:after {
        position: absolute;
        border: 2px solid #fff;
        top: 35%;
        left: 25%;
        right: 25%;
        content: '';
    }
    #nav-wrap > .mobile-btn:after { top: 60%; }

    /* toggle buttons */
    #nav-wrap:not( :target ) > a:first-of-type,
    #nav-wrap:target > a:last-of-type  {
        display: block;
    }

    /* hide menu panel */
    #nav-wrap ul#nav {
        height: auto;
        display: none;
        clear: both;
        width: auto;
        position: relative;
        /*top: 48px;*/
        right: 0px;
    }

    /* display menu panels */
    #nav-wrap:target > ul#nav	{
        display: block;
        padding: 30px 20px 48px 20px;
        background: #f3f3f3;
/*        margin: 0 20px;*/
        clear: both;
        border-radius: 3px;
        width: 100%;
    }

    ul#nav li {
        width: 100%;
        display: block;
        height: auto;
        min-height: 0px;
        margin: 0 auto;
        text-align: center;
        border-left: 0px;
        padding: 20px;
    }
    ul#nav li {
        border-bottom: 1px solid #2D2E34;
        border-bottom-style: dotted;
    }
    ul#nav li a {
        background-image: none;
        height: auto;
        margin: 0;
        padding: 0;
        font-size: 14px;
        margin: 12px 0;
        line-height: 14px; /* reset line-height from 48px */
        border: none;
        color: #000;
    }
    ul#nav span:after {
        left: 5px;
    }

    /* Sub Menu */
    ul#nav ul {
        position: static;
        background: none;
        width: 100%;
        padding-left: 15px !important;
        /* for transition */
        opacity: 0;
    }
    ul#nav ul li {
        width: 100%;
        padding: 0;
        display: list-item;
        border: none;
        /* for transition */
        text-align: center;
        height: 0px;
        overflow: hidden;
        border-bottom: 1px dotted #595B6A;
    }
    ul#nav ul li a {  color:#C0C0C0; text-align: center }

    /*On Hover  */
    #nav li:hover > ul li { height: 30px; }
    #nav li:hover > ul li:last-child { margin-bottom: 9px; }

    /* Sub Menu Anchor links */
    #nav ul li a {
        white-space: normal;
        padding-left: 0px !important;
        color:#C0C0C0;
        font-weight: bold;
        font-size: 13px;
        font: 13px/27px raleway-regular, sans-serif;
        line-height: 30px; /* should be the same with li's height */
        
    }
}


@media  (min-width : 768px) and (max-width : 991px) { 
    ul#nav li a { font-size: 10px; height: 45px;}
}

@media  (min-width : 992px) and (max-width : 1024px) { 
    ul#nav li a { font-size: 11px; height: 45px;}
}




/* ———– Tablets ———– */
/* cambios css para modo vertical y horizontal */
@media only screen
and (min-width: 768px)
and (max-width: 1024px)
{

    
    
}
/* cambios css solo para modo vertical */
@media only screen
and (min-width: 768px)
and (max-width: 1024px)
and (orientation: portrait)
{





}
/* cambios css solo para modo horizontal */
@media only screen
and (min-width: 768px)
and (max-width: 1024px)
and (orientation: landscape)
{






}
