﻿/* Fulla d'estil CSS */


/* Estils Principals */

html {
    position: relative;
    min-height: 100%;
}

body {
    font-family: 'Ubuntu', sans-serif;
    background-color: #e6f3ff;
    margin-top: 0px;
    margin-bottom: 40px;
    background-image: url("../bg/concrete-wall.png");
}

main {
    margin-bottom: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
}

footer {
    bottom: 0;
    position: absolute;
    height: 40px;
    line-height: 20px;
    font-family: 'Ubuntu';
    font-weight: 100;
    font-size: 12px;
}


/* DIVS i CARDS */

.div-info {
    width: 100%;
    margin: 20px auto 0px auto;
}

p {
    font-size: 18px;
}

.card-custom {
    background-color: #d9d9d9;
}

.card-header {
    padding: 5px;
    padding-left: 10px;
}

.card-sombra {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5), 0 6px 20px 0 rgba(0, 0, 0, 0.2);
}

.card-info {
    max-width: 100%;
    margin: 0 auto;
    background-color: #ffffff;
}

.card-cistella {
    max-width: 100%;
    margin: 0 auto;
    border-radius: 0px;
}

.card-producte {
    max-width: 100%;
    margin: 0 auto;
    border-radius: 0px;
    background-color: #ffffff;
    border: 1px solid #6f6f6f;
}

.card-profile {
    max-width: 100%;
    margin: 0 auto;
    border-radius: 0px;
    background-color: #d8d8d8;
}

.card-productes-categoria {
    max-width: 100%;
    margin: 0 auto;
    border-radius: 1px !important;
    background-color: #e6e6e6;
    border: 1px solid #6f6f6f !important;
}

.card-header-categoria {
    color: #000 !important;
    background-color: #b3b3b3;
}

.card-header-categoria a {
    color: #000 !important;
    background-color: #b3b3b3;
}

.card-header-productes {
    color: #fff;
    border-radius: 1px 1px 0 0 !important;
    background-color: #8cb3d9;
    border: 1px;
}


/* #### Imatges Productes #### */

.imatge-producte {
    height: 120px;
    max-height: 120px;
    position: absolute;
    bottom: 5px;
    left: 20px;
}


/* Media Mobis */

@media (max-width: 768px) {
    height: 120px;
    max-height: 120px;
}


}

/* TAULES */
.taula-articles {
    white-space: nowrap;
    font-size: 14px;
}

/* TEXTOS */
.titul-seccio {
    font-size: 28px;
    color: #000000;
}
.text-article-header {
    font-size: 26px;
    color: #000000;
}
.text-article-nom {
    font-size: 16px;
    color: #000000;
}
.text-article-desc {
    font-size: 16px;
}
.text-article-preu {
    font-size: 30px;
}
.text-article-descompte {
    font-size: 30px;
    color: red;
}
.text-article-header-fitxa {
    font-size: 26px;
    color: #000000;
}
.text-article-desc-fitxa {
    font-size: 24px;
    color: #000000;
}
.text-article-preu-fitxa {
    font-size: 45px;
    color: #000000;
}
.blinking {
    animation: blinkingText 1.2s infinite;
}
@keyframes blinkingText {
    /*0%{     color: #000;    }*/
    /*49%{    color: #000; } */
    
    60% {
        color: transparent;
    }
    
    99% {
        color: red;
    }
    /*100%{   color: #000;    }*/
}

/*
.table {
    width: 100%;
}

.shipAddr {
    width: 100%;
    float: left;
    margin-left: 10px;
    margin-right: 10px;
}

.orderBtn {
    float: right;
}
*/

/* SEPARADORS MENÚ */
.separador {
    margin: 0px 0px 10px 0px;
    border: 1px solid #001a33;
    border-radius: 3px;
}
.separador-categories {
    margin: 0px 0px 10px 0px;
    border: 1px solid #001a33;
    border-radius: 2px;
    width: 99%;
}

/* #### Menu Esquerra #### */
.menu-esquerra>li>a {
    line-height: 10px;
    border-right: 1px solid #ffffff;
}
.menu-esquerra>li:last-child>a {
    border-right: 0;
}

/* Media Mobis */
@media (max-width: 768px) {
    .menu-esquerra>li>a {
        border-right: 0;
    }
}

/* #### Menu Dreta #### */
.menu-dreta {
    vertical-align: baseline;
}
.menu-dreta>li {
    line-height: 10px;
    border-right: 1px solid #ffffff;
}
.menu-dreta>li:last-child {
    border-right: 0;
}

/* Media Mobis */
@media (max-width: 768px) {
    .menu-dreta>li {
        border-right: 0;
    }
}

/* #### Botons i sombres #### */
.btn-sombra {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.alert-sombra {
    /*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);*/
    
    box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
}
.sombra {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5), 0 6px 20px 0 rgba(0, 0, 0, 0.2);
}
.sombra1 {
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5), 0 2px 10px 0 rgba(0, 0, 0, 0.2);
}
.sombra2 {
    -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    -moz-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    -ms-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    -o-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}
.sombra5 {
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
.sombra28 {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}
.sombra_btn {
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
}
.alert-wrap {
    white-space: normal;
}

/* Login Form */
.login {
    /*border: 1px solid #000;*/
    
    border-radius: 0px;
    width: 650px;
    max-width: 95%;
    margin: 0 auto;
    background-color: #f7f7f7;
}
.login-header {
    width: 100%;
    background-color: #3274d6;
    color: #ffffff;
    text-align: center;
    font-size: 20px;
    padding: 15px 0;
}
.login-body {
    width: 100%;
    background-color: #f7f7f7;
}
.login-footer {
    width: 100%;
    background-color: #3274d6;
}
.login-form form {
    padding: 10px;
    width: 400px;
    margin: 0 auto;
}
.login .btn {
    width: 200px;
    min-height: 38px;
    border-radius: 5px;
    font-size: 15px;
    font-weight: bold;
    margin: 0 auto;
}
.login .input-group-addon .fa {
    font-size: 18px;
}
.login .bottom-action {
    font-size: 14px;
}

/* INPUTS */
.hpot-amagat {
    display: none;
}
.number-input input[type="number"] {
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
}
.number-input input[type=number]::-webkit-inner-spin-button,
.number-input input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
}
.number-input {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #b3b3b3;
}
.number-input button {
    -webkit-appearance: none;
    background-color: transparent;
    border: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 0;
    position: relative;
}
.number-input button:before,
.number-input button:after {
    display: inline-block;
    position: absolute;
    content: '';
    height: 2px;
    transform: translate(-50%, -50%);
}
.number-input button.plus:after {
    transform: translate(-50%, -50%) rotate(90deg);
}
.number-input input[type=number] {
    text-align: center;
}
.number-input.number-input {
    border: 1px solid #000000;
    width: 6rem;
    border-radius: .25rem;
}
.number-input.number-input button {
    width: 4rem;
    height: 1rem;
}
.number-input.number-input button.minus {
    padding-left: 5px;
}
.number-input.number-input button:before,
.number-input.number-input button:after {
    width: .9rem;
    background-color: #000000;
}
.number-input.number-input input[type=number] {
    max-width: 2rem;
    padding: .2rem;
    border: 1px solid #ced4da;
    border-width: 0 1px;
    font-size: 1rem;
    height: 1.5rem;
    color: #000000;
}
@media not all and (min-resolution:.001dpcm) {
    @supports (-webkit-appearance: none) and (stroke-color: transparent) {
        .number-input.def-number-input.safari_only button:before, .number-input.def-number-input.safari_only button:after {
            margin-top: -.3rem;
        }
    }
}

/* RIBBON CARD */
.ribbon-blue {
    position: absolute;
    right: -0px;
    top: -0px;
    z-index: 1;
    overflow: hidden;
    width: 75px;
    height: 75px;
    text-align: right;
}
.ribbon-blue span {
    font-size: 10px;
    font-weight: bold;
    color: #FFF;
    text-transform: uppercase;
    text-align: center;
    line-height: 20px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    width: 100px;
    display: block;
    background: #79A70A;
    background: linear-gradient(#2989d8 0%, #1e5799 100%);
    box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
    position: absolute;
    top: 13px;
    right: -26px;
}
.ribbon-red {
    position: absolute;
    right: -0px;
    top: -0px;
    z-index: 1;
    overflow: hidden;
    width: 100px;
    height: 100px;
    text-align: right;
}
.ribbon-red span {
    font-size: 12px;
    font-weight: bold;
    color: #FFF;
    text-transform: uppercase;
    text-align: center;
    line-height: 20px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    width: 145px;
    display: block;
    background: #79A70A;
    background: linear-gradient(#ff8080 0%, #cc0000 100%);
    box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
    position: absolute;
    top: 27px;
    right: -33px;
}

/*
.ribbon span::before {
  content: "";
  position: absolute; left: 0px; top: 100%;
  z-index: -1;
  border-left: 3px solid #1e5799;
  border-right: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-top: 3px solid #1e5799;
}
.ribbon span::after {
  content: "";
  position: absolute; right: 0px; top: 100%;
  z-index: -1;
  border-left: 3px solid transparent;
  border-right: 3px solid #1e5799;
  border-bottom: 3px solid transparent;
  border-top: 3px solid #1e5799;
}
*/

/* Popover Body */
#popover-cart .popover-content {
    width: 300px;
    background-color: coral;
    color: #FFFFFF;
    padding: 25px;
}
#popover-cart:hover {
    cursor: pointer;
}

/* Mini Cart - Mobile */
#mobile-mini-cart {
    padding: 10px;
    display: none;
    background-color: #cccccc;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5), 0 6px 20px 0 rgba(0, 0, 0, 0.2);
}
.popover {
    background-color: #f2f2f2;
    margin-top: -2px;
    width: 450px;
    max-width: 90%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5), 0 6px 20px 0 rgba(0, 0, 0, 0.2);
}

/* FA ICONS */
.fdn-social-icon {
    padding: 20px;
    font-size: 30px;
    width: 70px;
    text-align: center;
    text-decoration: none;
    margin: 5px 2px;
    border-radius: 50%;
}
.fdn-social-icon:hover {
    opacity: 0.7;
    color: white;
    text-decoration: none;
}
.fa-twitter {
    background: #55ACEE;
    color: white;
}
.fa-instagram {
    background: #125688;
    color: white;
}
.circle-icon {
    background: #ffc0c0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    text-align: center;
    line-height: 100px;
    vertical-align: middle;
    padding: 30px;
}
.icon-background5 {
    color: #80b3ff;
}