﻿@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;400;600;700&display=swap');


blockquote,body,caption,div,dl,dt,dd,form,fieldset,h1,h2,h3,h4,h5,h6,html,li,ul,ol,p,pre,textarea,table,td,th {
	margin:0;
	padding:0;
}
img
{
    border: 0;
    max-width: 100%;
}
body 
{
    text-align: center;
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
	font:84%/1.5 "Montserrat",Trebuchet,Arial,Helvetica,sans-serif;
}

h1{
    font-size:20px;
}
h2{
    font-weight: 600!important;
    text-transform: uppercase;
}


#contactar .tel,
#contactar .email{
    display: block;
    border:1px solid white;
    margin:5px;
    padding: 5px 20px;
}

#contactar .tel{
    font-size: 18px;
}

#above {
    height: auto;
    color: White;
    background: #15a153;
    box-sizing: border-box;
    padding: 5px 15px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#above #logo{
    width: 300px;
    max-width: 100%;
    height: 100px;
    margin:10px;
    background: url(/images/logo-elevadores-bcn-2.png); 
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left center;
}
h1{
    margin-bottom: 20px
}
#above h3
{
    text-align: left;
    font-size: 16px;
    font-weight: normal;
    margin: 10px;
}

#contactar h4
{
    font-size: 12px;
    float: right;
    margin: 10px;
}

#contactar a 
{
    color: White;
    text-decoration: none;
}

#contactar a:hover
{
    text-decoration: underline;
}
#body 
{
    margin:0 auto;
	position:relative;
	text-align:left;	
	padding-top: 15px;
    width: 990px;
    background-image: url(bg.png);
    max-width: 100%;
    margin-bottom:20px;
}
#main {
    height: auto;
    margin: 0px 0px 15px 0px;
    padding: 0 18px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

#maingallery 
{
    height: 800px;
    margin: 0px 0px 15px 0px;
    padding-top: 15px;
    padding-left: 18px;
        width: 970px;
        background-image: url(bgdivs.gif);
    max-width: 100%
}

.gallery 
{
    display: block;
    float: left;
    margin:10px;
    height: 250px;
    width: 250px;
    text-align: center;
    max-width: 100%;
    position: relative;
}
.gallery:after{
    background:rgba(0,0,0,.3);
    content:"";
    top:0;
    bottom:0;
    left:0;
    right:0;
    position:absolute;
    opacity:0;
    transition: opacity .5s ease-in;
}

.gallery:hover:after{
    opacity: 1;
}
.gallery img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.fila-galeria
{
    display: flex;
    flex-wrap:wrap;
    justify-content: center;
    margin-left: 18px;
}

#explicacion
{
    width: 970px;
    background-image: url(bgdivs.gif);
    max-width: calc(100% - 18px);
}

#explicacion-content {
    width: 600px;
    max-width: 100%;
    padding: 40px;
    box-sizing: border-box;
}

#explicacion-imagen {
    margin: 0 18px;
    float: right;
    width: 350px;
}
#explicacion-imagen img{
    object-fit: cover;
    width:100%;
    height: 100%;
        margin-bottom:20px;
}

#explicacion h2, #maingallery h2
{
    padding-top: 3px;
    font-weight: normal;
    font-size: 16px;
    background-image: url(bgh2.gif);
    height: 50px;
    padding-left: 25px;
    color: White;
    width: 300px;
    max-width: 100%
}
h3 
{
    font-size: 13px;
}
#explicacion h3
{

    margin-top: 10px;
    margin-bottom: 20px;
}
#explicacion p
{
    text-align: justify;
    padding-bottom: 15px;
    text-indent:25px;
}

#navbar 
{
    margin:0 auto;
	position:relative;
	text-align:left;	
    width: 990px;
    height: 29px;
    border-bottom: solid 1px #AAAAAA;
    max-width: 100%
}

#navbar a
{
    text-decoration: none;
    display: block;
    width: 150px;
    float: left;
    margin-left: 10px;
    margin-right: 10px;

    padding-top: 5px;
    text-align:center;
}

.activo
{
    background-color: #eeeeee;
    color: #444444;
    font-weight: 800;   
    height: 25px;
    background-image: url(bgnav.gif)
}

.inactivo
{
    height: 24px;
    background-image: url(bgnavin.gif);
    color: #555555;
}

.inactivo:hover 
{
    font-weight: 800;
    background-image: url(bgnav.gif)
}

.inactivo:link, .inactivo:visited
{
    color: #555555;
}
#imgs-container {
    padding: 25px;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    flex-wrap: wrap;
}          
.img-container 
{    
    border: solid 1px  #15a153;
    color: White;
    background-color: #15a153;
    width: 178px;
    max-width: 100%;
    margin: 4px;
}

.img-container img{
    object-fit: cover;
    height: 250px;
    width: 100%;

}
               
.img-container h2 
{
    font-size: 12px;
    padding: 5px;
}

#footer 
{                  
    color:White;
    font-size: 80%;
    background: url(images/bg-footer.gif)  50% #fff;
    padding:40px 20px;
    box-sizing: border-box;
}
              

#mosaic
{
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    padding: 20px;
}
.mosaic-element 
{
    background: url(bgdivs2.gif);
    width: 32%;
    padding:15px;
    box-sizing: border-box; 
    float: left;
    max-width: 100%
}

.mosaic-element h3{
    margin-bottom: 10px;
}


.mosaic-element p 
{
    text-align: justify;
}
.lista-footer 
{
    list-style: none;
}
.lista-footer ul
{
    margin-left: 0;
}

.lista-footer li {
    list-style: none;
    font-size: 14px;
}
.lista-footer ul > li
{
        display:inline-block;
        margin-right:10px;
}
#contentfooter{
    padding:20px;
}
#contentfooter a , #elements a
{
    text-decoration: none;
    color: White;
}
.agile_carousel img {
    object-fit: contain;
}
.agile_carousel{
    position: relative;
}
.agile_carousel .slides {
    position: relative!important;
    padding-bottom: 52.6%;
}
.agile_carousel .slide,
.agile_carousel .slides,
.agile_carousel {
    max-width: 100%;
    height: auto!important;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.google-maps {
    position: relative;
    padding-bottom: 44%;
    height: 0;
    overflow: hidden;
    left: 20px;
    width: calc(100% - 40px);
}

.google-maps iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

.row{
    max-width: 100%;
}
.contact-page{
    padding-bottom:40px;
    }
.flex-start{
    justify-content: flex-start;
    display: flex;
}
.column{
    padding-left: 15px;
    padding-right: 15px;
}

.column2{
    padding-left: 15px;
    padding-right: 15px;
}
#explicacion-contact {
    width: 100%;
    max-width: 100%;
    padding: 40px;
    box-sizing: border-box;
}
@media (max-width: 990px){

    #navbar {
        height: auto;
        border-bottom: solid 1px #AAAAAA;
        max-width: 100%;
        display: flex;
        justify-content: space-around;
    }
    #navbar a {
       
        margin-left: 0;
        margin-right: 0;
    }
    #above {
        height: auto;
        color: White;
        background: #15a153;
        box-sizing: border-box;
        padding: 5px 15px;
    }

    #above h3 {
        float: none;
        margin: 0;
        text-align: center;
    }

    #contactar h4 {
        float: none;
    }

}
@media (max-width: 620px){
    #explicacion-imagen{
        display:none;
    }
    #mosaic {
        display: block;
    }
    .mosaic-element {
        width: 100%;
        float: none;
    }

    #above {
        flex-direction: column;
        margin-bottom: 0;
    }
}

@media (max-width: 468px){
    h1{
        display: none;
    }
    #above #logo{
        background-position: center center;
    }
    #navbar {
        display: block;
    }
    #navbar a {
        width: 100%;
        margin: 0;
        background:lightgrey;
        float:none;
        border-top:1px solid grey;
    }
    #navbar a.activo{
        background:white;
    }
    .flex-start {
        flex-direction: column;
    }
    #explicacion-contact {
        padding: 20px;
    }
    .gallery 
    {
        width: 100%;
    }
}