/*
Estilos creados por Alberto Linares (ALB)
Propiedad Productes Ca'n Montes S.L.
*/

/*body{
    background: url(../Images/fondo.png);
    background-repeat: repeat;
    background-attachment: fixed;
}*/

div.jumbotron, nav.navbar-inverse, div.main, footer{
    box-shadow:0 5px 5px 3px rgba(0, 0, 0, 0.25);
}
div.language, div.language ul.banderas, div.language ul.banderas li{
    margin: 0;
    padding: 0;
}
#horas, #separador, #minutos, #segundos{
    padding-right: 1px;
    padding-right: 1px;
}
.fechaDia{
    padding-top: 5px;
    margin-bottom: -20px;
    font-weight: bold;
    color: #ec1b23;
}
.sprite {
    background-image: url(../Images/spritesheet.png);
    background-repeat: no-repeat;
    display: block;
}

.sprite-cat1 {
    width: 35px;
    height: 27px;
    background-position: -2px -2px;
}

.sprite-cat1:hover, .sprite-cat1:active {
    width: 35px;
    height: 27px;
    background-position: -41px -2px;
}
.sprite-eng1 {
    width: 35px;
    height: 27px;
    background-position: -80px -2px;
}
.sprite-eng1:hover, .sprite-eng1:active {
    width: 35px;
    height: 27px;
    background-position: -119px -2px;
}
.sprite-esp1 {
    width: 35px;
    height: 27px;
    background-position: -158px -2px;
}

.sprite-esp1:hover, .sprite-esp1:active {
    width: 35px;
    height: 27px;
    background-position: -197px -2px;
}


div.jumbotron{
    margin:0 0 1em 0;
    padding: 0;
    background-color: #ec1b23;
    border: 2px solid #ec1b23;
}
div.jumbotron img{
    padding: 2em;
    width: 30em;
    height: 12.625em;
}
div.main{
    background-color: rgba(255,255,255,0.7);
    border:2px solid #ec1b23;
    border-radius: 5px;
    height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
}
nav.navbar-inverse div.navbar-header a.navbar-brand:hover{
    background-color: white;
    color: #ec1b23;
}
nav.navbar{
    margin: 1em 0 1em 0;
}
nav.navbar-inverse div.navbar-header a.navbar-brand, nav.navbar-inverse ul.navbar-nav>li>a{
    color:white;
    font-weight: bold;
    transition: background-color 4s;
    transition: color 1.5s;
}
nav.navbar-inverse a.navbar-brand{
    color: white;
    cursor: initial;
}

nav.navbar-inverse ul.navbar-nav li.active a, nav.navbar-inverse ul.navbar-nav li.active a:focus, nav.navbar-inverse ul.navbar-nav li.active a:hover, nav.navbar-inverse ul.navbar-nav>li>a:hover{
    background-color: white;
    color: #ec1b23;
}
nav.navbar-inverse{
    background-color: #ec1b23;
    border-color: #ec1b23;
    border: none;
}
nav.navbar-inverse div.collapse ul.navbar-right>li>p{
    color: white;
    font-weight: bold;
    cursor: default;
}
nav.navbar-inverse button.navbar-toggle:focus, nav.navbar-inverse button.navbar-toggle:hover{
    background-color: #ec1b23;
    border-color: white;
}
nav.affix {
    top: 0;
    width: 100%;
}
nav.affix + div.container-fluid {
    padding-top: 70px;
}
footer{
    height: 100px;
    background-color: #ec1b23;
    border: 2px solid #ec1b23;
    border-radius: 5px;
    margin: 1em;
}

nav.nav a.nav-item{
    color: white;
    font-weight: bold;
}
nav.nav a.nav-item:hover{
    text-decoration: underline;
}
nav.navbar-inverse ul.navbar-nav>.open>a, nav.navbar-inverse ul.navbar-nav>.open>a:focus, nav.navbar-inverse ul.navbar-nav>.open>a:hover, ul.dropdown-menu>li>a{
    background-color: white;
    color: #ec1b23;
}
div.navbar-header a.navbar-brand:hover, div.navbar-header a.navbar-brand:focus{
    border-radius: 3px 0 0 3px;
    cursor: none;
}
ul.dropdown-menu>li>a:hover,  ul.dropdown-menu>li>a:focus{
    background-color: #ec1b23;
    color: white;
}
li.dropdown-submenu {
    position: relative;
}
p.h6{
    color:  white;
}
div.pull-right{
    margin-right: 2%;
}
button.btn {
    margin-top: 1%;
    padding: 10px 20px;
    background-color: #ec1b23;
    color: #fff;
    border-radius: 0;
    transition: color 2s;
}
button.btn:hover, button.btn:focus {
    background-color: #fff;
    color: #ec1b23;
}
li.dropdown-submenu ul.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
}
#mensaje{
    display: flex;
    justify-content: center;
    opacity: none;
}
#texte{
    color: #ec1b23;
    font-size: 8vw;
    cursor: default;
}
footer.container-fluid{
    padding: 1.5%;
}
footer.container-fluid a{
    margin-right: 1%;
}
footer.container-fluid a.iconos{
    color: white;
}
footer.container-fluid a.iconos i{
    transition: 2.5s ease;
    -moz-transition: 2.5s ease;
    -webkit-transition: 2.5s ease; 
    -o-transition: 2.5s ease;
}
footer.container-fluid a.iconos:hover{
    color: #666666;
}
footer.container-fluid a.iconos i:hover{
    transform: rotate(360deg);
    -moz-transform : rotate(360deg);
    -webkit-transform : rotate(360deg);
    -o-transform : rotate(360deg);
}
ul.nav li.dropdown:hover ul.uno{
    display: block;
}
ul.uno li.unouno:hover ul.dos, ul.uno li.dosdos:hover ul.tres{
    display: block;
}
ul.navbar-right ul.dropdown-menu{
    right: auto;
}
div.pull-right nav.navbar nav.nav{
    display:flex; 
    flex-flow: row nowrap; 
}
div.pull-right nav.navbar nav.nav a{
    padding: 1.5%;
}
.imgCenter{
    width: 100%;
}
a.acceso{
    cursor: pointer;
}
#imagen{
    display: none;
}
#barraaceptacion {
    display:none;
    position:fixed;
    left:0px;
    right:0px;
    bottom:0px;
    padding-bottom:20px;
    width:100%;
    text-align:center;
    min-height:40px;
    background-color: rgba(0, 0, 0, 0.5);
    color:#fff;
    z-index:99999;
}
 
div.inner {
    width:100%;
    position:absolute;
    padding-left:5px;
    font-family:verdana;
    font-size:12px;
    top:30%;
}
 
div.inner a.ok {
    padding:4px;
    color:#00ff2e;
    text-decoration:none;
}
 
div.inner a.info {
    padding-left:5px;
    text-decoration:none;
    color:#faff00;
}
@media only screen and (max-width: 1870px){
    div.jumbotron{
        margin-top: 0.5em;
    }
    footer{
        margin-bottom: 0.5em;
    }
    div.main{
        height: 600px;
    }
}
@media only screen and (max-width: 800px){
    nav.navbar-inverse ul.navbar-nav .open ul.dropdown-menu>li>a{
        color: #ec1b23;
    }
    #texte{
        font-size: 12vw;
    }
    div.jumbotron img{
        width: 20em;
        height: 9.3125em;
        overflow: hidden;
    }
    div.wrapper{
        max-width: 100%;
    }
    footer.container-fluid div.pull-right{
        display: none;
    }
    footer.container-fluid{
        display: flex;
        align-content: center;
        justify-content: center;
    }
    ul.fechaDia{
        display: none;
    }
}

@media only screen and (max-width: 380px) and (orientation:portrait){
    div.main{
        height: 400px;
    }
}
