/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 21/out/2016, 16:08:43
    Author     : filipemurteira
*/

/* Categorias */
.listaCategorias{
    position: relative;
}

.listaCategorias .container-fluid{
    padding: 0px;
}
.listaCategorias .row{
    margin-left: -1px;
    margin-right: -1px;
}
.listaCategorias .row > div{
    padding: 0px;
    padding-left: 1px;
    padding-right: 1px;
}

.listaCategorias .itemCat{
    position: relative;
    display: block;
    height: 0;
    padding: 0;
    overflow: hidden;
    padding-bottom: 48%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    margin-bottom: 2px;
}

.listaCategorias .itemCat a{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    display: block;
    background-color: rgba(0,64,64,.75);
    
    color: #FFFFFF;
    text-decoration: none;
    text-align: center;
    font-size: 35px;
    font-weight: 900;
}
.listaCategorias .itemCat a .nome{
    opacity: 0;
    -webkit-transition: all 250ms ease;
    -moz-transition: all 250ms ease;
    -ms-transition: all 250ms ease;
    -o-transition: all 250ms ease;
    transition: all 250ms ease;
    
    display: table;
    width: 100%;
    height: 100%;
}
.listaCategorias .itemCat a .nome > div{
    display: table-cell;
    width: 100%;
    height: 100%;
    vertical-align: middle;
}
.listaCategorias .itemCat a:hover{
    background-color: rgba(255,0,0,.75);
}
.listaCategorias .itemCat a:hover .nome{
    opacity: 1;
}

/* linkCat */
.linksCat{
    text-align: center;
    background-color: rgba(0,64,64,.75);
    font-size: 0;
    border-bottom: 1px solid #FFFFFF;
}


.linksCat .itemCatS{
    position: relative;
    display: block;
    height: 0;
    padding: 0;
    overflow: hidden;
    padding-bottom: 5%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    
    width: 10%;
    display: inline-block;
}

.linksCat .itemCatS a{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    display: block;
    background-color: rgba(0,64,64,.75);
    
    color: #FFFFFF;
    text-decoration: none;
    text-align: center;
    font-size: 16px;
    font-weight: 900;
    
    border-right: 1px solid #ffffff;
}
.linksCat .itemCatS:last-child a{
    /*border: 0px;*/
}
.linksCat .itemCatS:first-child a{
    border-left: 1px solid #ffffff;
}
.linksCat .itemCatS a .nome{
    opacity: 0;
    -webkit-transition: all 250ms ease;
    -moz-transition: all 250ms ease;
    -ms-transition: all 250ms ease;
    -o-transition: all 250ms ease;
    transition: all 250ms ease;
    
    display: table;
    width: 100%;
    height: 100%;
}
.linksCat .itemCatS a .nome > div{
    display: table-cell;
    width: 100%;
    height: 100%;
    vertical-align: middle;
}
.linksCat .itemCatS.active a,
.linksCat .itemCatS a:hover{
    background-color: rgba(255,0,0,.75);
}
.linksCat .itemCatS.active a    .nome,
.linksCat .itemCatS a:hover .nome{
    opacity: 1;
}


@media (max-width: 767px) {
    .linksCat{
        border-left: 1px solid #FFFFFF
    }
    .linksCat .itemCatS{
        width: 20%;
        padding-bottom: 15%;
        border-bottom: 1px solid #FFFFFF
    }
    .linksCat .itemCatS a{
        font-size: 12px;
    }
    .linksCat .itemCatS:last-child a{
        border-right: 1px solid #ffffff;
    }
}

/* Topo Categorias */
#topoCategoria{
    padding-top: 30px;
    padding-bottom: 30px;
    background-color: #e6e6e6;
    text-align: center;
}
#topoCategoria h1{
    margin: 0px;
}

/* listaProds */
.listaProds{
    
}

.listaProds .row{
    margin-left: -2px;
    margin-right: -2px;
}
.listaProds .row > div{
    padding: 0px;
    padding-left: 2px;
    padding-right: 2px;
}

.listaProds .itemProd{
    margin-bottom: 15px;
    background-color: #f5f5f5;
    
    font-size: 16px;
    font-weight: normal;
    
    margin-bottom: 15px;
}
.listaProds .itemProd .texto{
    padding: 15px;
    min-height: 200px;
}
.listaProds .itemProd .texto .nome{
    font-weight: 700;
}
.listaProds .itemProd .texto .ref{
    margin-top: 10px;
    font-size: 12px;
    font-weight: normal;
}
.listaProds .itemProd .img{
    position: relative;
    /*border-bottom: 4px solid #4b565c;*/
    background-color: #FFFFFF;
    
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center bottom;
}
.listaProds .itemProd .img a{
    position: absolute;
    top: 0px;
    left: 0px;
    display: block;
    width: 100%;
    height: 100%;
}
.listaProds .itemProd .img:after {
  content: "";
  display: block;
  padding-bottom: 85%;
}
.listaProds .itemProd .img img{
    display: none;
}

.form{
    background-color: #e6e6e6;
    border-top: 2px solid #FFFFFF;
    padding: 3px;
    border-bottom: 2px solid #FFFFFF;
    font-weight: normal;
    font-size: 14px;
    text-align: center;
}

.addCarrinho{
    background-color: #004D59;
    font-size: 16px;
    color: #FFFFFF;
    width: 100%;
    text-align: center;
    display: block;
    padding: 5px;
    text-decoration: none;
    border: 1px solid #004D59;
}
.addCarrinho:hover{
    background-color: #ffffff;
    color: #004D59;
    text-decoration: none;
}


/* detalhe Produto */
.itemProdD{
    margin-bottom: 20px;
}
.itemProdD .textoTopo{
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 10px;
}
.itemProdD .textoTopo .ref{
    font-size: 14px;
    font-weight: normal;
    margin-bottom: 10px;
}
.itemProdD .textoTopo .ref_nome{
    font-size: 14px;
    font-weight: normal;
}

.itemProdD .texto{
    font-size: 14px;
    color: #000000;
}

.itemProdD .img{
    text-align: center;
}
.itemProdD .img img{
    width: 100%;
    max-width: 590px;
    margin: auto;
}

.itemProdD .form-control,
.itemProd .form-control {
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #4b565c;
    border-radius: 0px;
    -webkit-box-shadow: none;
    box-shadow: none;
    text-align: center;
    
    display: inline-block;
    width: auto;
    vertical-align: middle;
    
    border: 0px;
    width: 100%;
}

    

#modalDetalhe.loading .modal-body{
    background-image: url("../img/loader.gif");
    background-repeat: no-repeat;
    background-position: center center;
    min-height: 50px;
}

.modal-header img{
    max-width: 300px;
}