/* CSS que estava a estil_cap.css */

#imatge_portada{
    height: 470px !important;
    margin: 0px;
    overflow: hidden !important;
    position: relative !important;
    width: 100%
}

#imatge_portada .slide img {
    width: auto;
    height: 470px;
}

.dots .dot {
    background: #fff none repeat scroll 0 0 !important;
    border: 2px solid #a7a7a7;
    height: 11px;
    width: 11px;
    position: relative;
    top: 2px;
    border-radius: 40px;
}

.dots .dot.active, .dots .dot:hover {
    background: #a7a7a7 none repeat scroll 0 0 !important;
    border: 2px solid #a7a7a7;
}
/*============================= */

/* CSS que estava a home.css */
#imatge_portada>.min-area{ 
    aspect-ratio: 380/83; 
}

#imatge_portada>div{ 
    margin-right: 0px;
}

#imatge_portada>.min-area img {
    width: 62%;
}

#imatge_portada img{ 
    width:100%;
}

#imatge_portada>.slide{
    position: absolute; 
    top: 0; 
    left: 0; 
    display: none;
}

#imatge_portada>.slide:first-child, #imatge_portada>.slide.active {
    display: block;
}

a.link_portada{
    display: block;
    position: relative;
}

.banner-content {
    max-width: 100%;
    width: auto;
    min-height: 0px;
    left: 50%;
    transform: translateX(-50%);
    top: 87%;
    position:absolute;
    bottom:30px;
    margin-top:-200px;
    color:white;
    z-index:2;
    text-align: center;
}

.banner-title {
    font-size:35px;
    display:block;
    text-align:center;
    max-width:100%;
    min-height: 50px;
    font-weight: 600;
    text-shadow: 1px 2px 2px #000;
}

.banner-text {
    font-size:20px;
    text-align:center;
    display:block;
    max-width:100%;
    min-height: 25px;
    font-weight: 600;
    text-shadow: 1px 2px 2px #000;
}

.banner-button {
    border:1px solid white;
    text-shadow: -1px 1px #555;
    font-weight:600;
    background-color: #4B4B4A;
    opacity: 0.6;
    background-size: auto 100%; -webkit-background-size: auto 100%; -moz-background-size: auto 100%; -ms-background-size: auto 100%; -o-background-size: auto 100%; 
    display:inline-block;
    color:#FFF;
    font-size:22px;
    text-decoration:none;
    padding:4px 50px 4px 50px;
    margin-top:15px;
    border-radius:25px;
    cursor:pointer;
    border-width:1px;
}
.banner-button:hover {
    color:#FFF;
    text-decoration:none;
    background-size: auto 100%; -webkit-background-size: auto 100%; -moz-background-size: auto 100%; -ms-background-size: auto 100%; -o-background-size: auto 100%;
    background-color:#4B4B4A;
    opacity: 1;
}
.banner-button:active {
    border-style:inset;
    background-color:#4B4B4A;
    opacity: 1;
}

.banner_img_centered {
    display: flex;
    justify-content: center;
}

#imatge_portada .dots {
    position: absolute;
    bottom: 20px;
    text-align:center;
    width: 100%;
    display: none;
}

#imatge_portada .dots li {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin: 0 4px;
    background-color: #666;
    text-indent: -999em;
    border: 2px solid #666;
    border-radius: 6px;
    cursor: pointer;
}

#imatge_portada .dots li.active {
    background: #fff;
    border: 2px solid #fff;
    opacity: 1;
}

  .dots .dot {
    border: 1px solid #666; background-color: #666;
    width: 10px; height: 10px;
    display: inline-block;
    margin-left: 10px;
    -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px;
  }  
  .dots .dot.active {
    border: 1px solid white; background-color: white
  }
  .dots .dot:hover {
    border: 1px solid white; background-color: white
  }
/*============================= */

/* CSS que estava a estil1_stkapp.css */
#imatge_portada .banner-title, #imatge_portada .banner-text{
    position: relative;
    bottom: 15px;
    background: rgb(255,255,255,0.8);
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
    color: #666;
    text-shadow: none;
    border-radius: 25px;
    padding: 0 15px;
}

#imatge_portada .banner-title, #imatge_portada .banner-text, .cos_portada .titol_petit {
    font-family: "Pacifico","Source Sans Pro",sans-serif;
    font-weight: lighter;
    text-transform: none;
}
/*============================= */

@media (max-width: 900px) {
    /* CSS que estava a estil_cap.css */
    #imatge_portada {
        height: 240px !important;
    }
    
    #imatge_portada .slide img {
        width: auto;
        height: 240px;
    }
    
    .dots {
        bottom: 27px !important;
    }
    /*============================= */
    
    /* CSS que estava a home.css */
    #imatge_portada img{ 
        width:auto;
        height: 190px;
    }
    
     .banner-content {
        bottom: -218px !important;
        top: auto !important;
    }
    
    .banner-text {
        display: none;
    }
    
    .crop {
        top: -100%;
        left: -100%;
        bottom: -100%;
        right: -100%;
        position: absolute;
        margin: 0 auto;
        min-height: 100%;
        min-width: 100%;
    }
    /*============================= */
    
    .banner-title {
        font-size: 24px;
    }
}

@media (max-width: 600px) {
    /* CSS que estava a estil_cap.css */
    #imatge_portada{
        height: auto;
        overflow: hidden !important;
        position: relative !important;
        width: 100%;
    }
    
    .banner-text {
        font-size: 24px !important;
    }
    
    .banner-button {
        margin-bottom: 10px !important;
        margin-top: 10px !important;
        padding: 2px 10px 4px !important;
        font-size: 18px !important;
    }
    
    #imatge_portada .dots {
        left: 5px;
        display: none;
    }
    
    .dots {
        bottom: 20px !important;
    }
    /*============================= */
}    