*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-decoration:none;
    font-family: 'Lato', sans-serif;
}

a {
    text-decoration: none;
    color:#f15a24;
}

h3, .h3{font-size: 17px !important;}

h2 {
    text-align:center;
    font-size:30px;
    color:#f15a24;
    margin-bottom:25px;
    margin-top:25px;
    text-align:center;
}

#container{
    transition: opacity 2s;
}

.portada .ajuste{text-align: center;}
.portada .tableformlogin{text-align: left;}
.ajuste{
    max-width: 100%;
    margin:auto;
}

.clear {clear:both;}

.mensajes {
    width: 94%;
    padding-left: 300px;
    margin: 3%;
    margin-bottom: -2%;
}
    .mensajes .msg{
        font-size: 16px;
        font-weight: bold;
        padding: 5px;
        text-align: center;
    }
    .mensajes .msg_ok{
        border: 1px solid #3ca01370;
        color: #ffffff;
        background: #82b760de;
        border-radius: 4px;
    }
    .mensajes .msg_info{
        border: 1px solid #a4af0070;
        color: #484400d4;
        background: #e9f774de;
    }
    .mensajes .msg_error{
        border: 1px solid #670000c7;
        color: #ffffffd4;
        background: #941414b8;
    }


#fondoblancotransparente{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    opacity: 0.6;
    z-index: 99999;
}

#header  {
    z-index:99999;
    position:fixed;
    background:#fff;
    padding-top:20px;
    padding-bottom:20px;
    width:100%;
    text-align:center;
    box-shadow: 0px 0px 12px -1px rgba(0,0,0,0.75);
}

    #header img {
        display:inline-block;
        vertical-align:middle;
        margin-left:15px;
    }

    #header p {
        display:inline-block;
        vertical-align:middle;
        font-size:40px;
        color:#666;
    }

    #header p b { 
        color:#f15a24; 
        font-weight:normal;
    }

    #header .headerlogin{
        padding: 10px 30px;
        position: absolute;
        top: 30px;
        right: 35px;
        text-decoration: none;
        color: #ff6600;
        font-weight: bold;
        border: 1px solid #e6e6e6;
    }
    #header .headerlogin:hover{
        background: #ff6600;
        color: white;
    }

    #header .buttonmenu{
        display: none;
        width: 35px;
        margin: 4px 10px;
        vertical-align: top;
        left: 0px;
        position: absolute;
    }
    
    #header #Burguer{
        width: 100%;
    }



.cuerpo{
    overflow: hidden;
    transition: opacity 1s;
    min-height: calc(100vh - 110px);
    padding-top: 100px;
}

#popup {
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99999;
    width: 100%;
    height: 100%;
}

.content-popup {
    margin: 5% 20%;
    position: relative;
    width: 60%;
    height: 75%;
    background-color:#FFFFFF;
    box-shadow: 0 2px 5px #666666;
    padding: 10px 25px 25px 25px;
    overflow: hidden;
}

.content-popup .h1 {
    border-bottom: 1px solid #dddddd;
    margin-top: 5px;
    padding-bottom: 12px;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    color: #384668;
    font-weight: bold;
    font-size: 20px;
    letter-spacing: 2px;
}

.content-popup .popupcontent{
    text-align: left;
    overflow-y: auto;
    height: 90%;
}

.content-popup .popupcontent h2{
    padding-bottom: 7px;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    color: #5ca9d3;
    font-weight: bold;
    font-size: 15px;
    letter-spacing: 2px;
}

.content-popup .popupcontent p{
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    color: #a3a3a3;
    font-size: 11px;
}

.close {
    position: absolute;
    right: 15px;
    margin-top: 2px;
}


.linkmenutop {
    width: 100%;
    padding-left: 300px;
    margin: 2% 2% 0% 2%;
    text-decoration: none;
    color: #959595;
    outline: 0px;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    text-transform: uppercase;
}

.linkmenutop a,
.linkmenutop span{
    color: #959595;
    outline:0px;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    margin: 0 5px;
    font-size: 12px;
}
.linkmenutop a:hover{
    /*text-decoration: none;*/
    color: #959595;
}
.linkmenutop:active{text-decoration: none;color: #959595;}


.descripcionfinal{    
    margin: 5% 3% 3% 5%;
    width: 92%;
}
.descripcionfinal h2{margin-left: -25px !important;}

.descripcion_larga{color: #696868; margin-left: 3% !important;}
.descripcion_larga h2{ margin-left: 0% !important;}


/* -------------------------------------  VisualizandoPublica ----------------------------------------------*/
.VisualizandoPublica{
    margin: 50px auto 70px auto;
    max-width: 850px;
    padding: 20px 50px;
    background: #f3f3f3;
    text-align: center;
}
.VisualizandoPublica .publicalinea1{
    text-transform: uppercase;
    font-weight: bold;
    font-size: 23px;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    color: #172762;
    letter-spacing: 2px;
}
.VisualizandoPublica .publicalinea2{
    font-weight: bold;
    font-size: 17px;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    color: #2395d2;
    letter-spacing: 1px;
    margin-top: 10px;
}
.VisualizandoPublica .publicalinea2 a{
    color: #2395d2;
    text-decoration: underline;
    display: inline-block !important;
}


/* -------------------------------------  buscaprod ----------------------------------------------*/
.bP_buscaprod .marges{
    padding-top: 0px !important;
}
.bP_buscaprod #bP_resultados{
    text-align: center;
    border-top: 1px solid rgb(224, 224, 224) !important;
}
.bP_buscaprod input[type=text]#bp_cerrar {
    background: none !important;
    border: none !important;
    border-bottom: 2px solid #e0e0e0 !important;
    font-weight: bold;
}
.bP_buscaprod input[type=text]#bP_info {
    border-bottom: 2px solid #e0e0e0 !important;
    font-weight: bold;
}
.bP_buscaprod .marges {
    background: rgba(115, 115, 115, 0.79) !important;
}

.bP_buscaprod  .teaser {
    box-shadow: 0px 0px 10px -2px rgba(0,0,0,0.75);
}
.bP_buscaprod  .teaser:hover {
    transition: none !important;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
}

.bP_buscaprod .infovino div{margin: 5px 0px;}
.bP_buscaprod .pvpt {
    margin: 10px 0px;
    background: #ff6600;
    padding: 10px;
    color: white;
    font-weight: bold;
}
.bP_buscaprod .pvpt span{
    display: none;
}


/* ------------------------------------- FIN buscaprod ----------------------------------------------*/

/* ------------------------------------- MENU ----------------------------------------------*/

.menu{
    width: 300px;
    margin-top: 49px;
    top: 0px;
    background: white;
    left: -300px;
    z-index: 9999;
    box-shadow: 0px 0px 12px -1px rgba(0, 0, 0, 0.14);
    height: calc(100vh - 49px);
    position: fixed;
}

.menu .buttonmenu{
    display: inline-block;
    width: 100%;
    text-align: center;
    background: #f2f2f200;
    border-bottom: 1px solid #e6e6e6;
    padding: 15px 0px 11px 0px;
    cursor: pointer;
    color: #746666;
    margin-right: 10px;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.menu .buttonmenu:hover{
    background: #ff6600;
    color: white;
}
/* ------------------------------------- FIN MENU ----------------------------------------------*/


.errores {
    background:red;
    color:white;
    padding:5px;
    font-weight:bold;
    margin-bottom:20px;
}

.envioOk {
    background:green;
    color:white;
    padding:5px;
    font-weight:bold;
    margin-bottom:20px;
}




@media all and (max-width:910px){ /*Modo tablet*/
    .mensajes {padding-left: 0px;}

   
    #header .buttonmenu{
        display: inline-block ;
    }

    .content-popup {
        margin: 5% 5%;
        width: 90%;
        height: 80%;
    }

    .content-popup .popupcontent{
        height: 85%;
    }

    .linkmenutop {
        padding-left: 0px;
    }
    .cuerpo {padding-top: 49px;}
    #header {padding-top: 12px;padding-bottom: 7px;box-shadow: 0px 0px 12px -1px rgba(0, 0, 0, 0.14);}
    #header .headerlogin{display:none;}
    #header p {font-size: 25px;}
    #header img{width: 40px;margin-left: 7px;margin-top: -5px;}
}

@media all and (max-width:725px){ /*Modo movil*/
    .mensajes{margin-bottom: -5%;}    
    .cuerpo{
        padding-top: 0px;
    }


    #header .buscar {
        margin: 3% ;
    }

    .content-popup {height: 85%;}

    .descripcionfinal{    
        margin: 5% 0% 5% 0%;
        width: 100%;
    }
    .descripcionfinal h2{margin-left: 0px !important;}

   

    
}

@media all and (max-width:500px){
    #header { text-align:center;}
    .headerimg{text-align: right;margin-right: 15px;}
}








