/*
 Theme Name:   Dona Saudade
 Theme URI:    http://donasaudade.pt/
 Description:  Child Theme
 Author:       Pedro Rocha
 Author URI:   http://webmovel.pt
 Template:     struct
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Geral */

body {
    font-family: Helvetica, Arial, sans-serif;
}

/* Header */

.navigation > li > a:hover, .navigation > li.sfHover > a, .navigation > li.sfHover > a:active, .navigation > li.current_page_item > a, .navigation > li.current-menu-item > a, .navigation > li.current-menu-ancestor > a, .navigation > li.current-menu-parent > a, .navigation > li.current > a {
    border-bottom-color: #215732;
}

.mobile-menu-trigger {
    color: #215732;
}

/* Content */

h1.page-title {
    display: none;
}
.entry-content img {
    border: none;
}

.page-id-26 h3.widget-title a {
    color: #313131;
    font-weight: normal;
    opacity: 1;
    font-size: 12px;
    line-height: 0.5em;
    margin-top: 15px;
    letter-spacing: 0em;
}

.page-id-26 h3.widget-title a:hover {
    color: #313131;
    font-size: 12px;
    letter-spacing: 0em;
}

.page-id-23 .textwidget p a {
    color: #313131;
    font-size: 12px;
}

/* Footer */

footer th {
    color: #fff;
}

@media screen and (max-width: 800px) {
    table.table-opening-hours tr td:last-child {
        margin-bottom: 0px;
    }
}

/* Listagens */

#qty {
    width: 150px;
    margin: auto;
}

@media screen and (max-width: 800px) {
    table, #listagens tr {width:100%; border-collapse: collapse;
        border:1px solid #215732;}
    #listagens tr td {
        border: none;
        padding: 0;
    }
    #listagens tr td:first-child {
        margin-top: 50px;
    }
    table tbody tr {margin-bottom: 50px;}
    thead {display: none;}
    /*tr:nth-of-type(2n) {background-color: inherit;}*/
    /*tr td:first-child {font-size:14px; font-weight: normal}*/
    /*tr td:last-child {margin-bottom: 5px}*/
    tbody td {display: block; text-align:center;}
    tbody td:before {
        content: attr(data-th);
        display: block;
        text-align:center;
        /*background-color: #fff;*/
        /*color: #215732;*/
    }
    .col-xs-6 {
        width: 100%;
    }

    table#listagens tbody tr td:first-child {
        display: none;
    }
    /*#listagens.display.dataTable.no-footer tbody tr.odd td*/
}

#listagens {
    border: none;
}

#listagens tr td {
    border: none;
}

#listagens tbody tr:hover {
    background-color: #ccc;
    cursor: pointer;
}

#listagens tr:nth-child(even) {
    background-color: #ddd;
}

form.add-form {
    display: inline-flex;
}

div#listagens_filter label {
    display: inline-flex;
}

div#listagens_filter label input {
    height: 32px;
}

#listagens {
    border-collapse: collapse;
}

table#listagens tbody tr td form.add-form button.addToCart {
    width: 80px;
    min-width: 80px;
    height: 46px;
    padding: 0 10px;
}

table#listagens tbody tr td form.add-form input {
    height: 32px;
}

#listagens td, #listagens th {
    text-align: center;
}

#listagens thead {
    background-color: #39b54a;
    color: #fff;
}

table.dataTable thead th {
    border: none;
}

/* DATA TABLES */

#listagens_length, #listagens_filter {
    margin-bottom: 30px;
}

/* Página Encomendar */

#carrinho-encomendas tr td:first-child {
    margin-top: 50px;
}

#btnEmpty {
    color: #fff;
    background-color: #39b54a;
    padding: 10px 20px;
    font-weight: bold;
    margin-bottom: 10px;
    border-radius: 2px;
}

#btnEmpty:hover {
    background-color: #33a242;
}

#carrinho-encomendas input {
    height: auto;
    width: auto;
}

#carrinho-encomendas {
    border: 1px solid #215732;
    border-collapse: collapse;
}

#carrinho-encomendas thead {
    border-bottom: 1px solid #215732;
}

#carrinho-encomendas th {
    background-color: #39b54a;
    color: #fff;
    padding: 10px;
}

#carrinho-encomendas th, #carrinho-encomendas td {
    text-align: center;
    border-bottom: none;
}

#carrinho-encomendas tr:nth-child(even) {
    background-color: #ddd;
}

#carrinho-encomendas tbody tr:hover {
    background-color: #ccc;
    cursor: pointer;
}

p#empty_card {
    margin: 30px 0;
}

#carrinho-encomendas caption {
    caption-side: bottom;
    margin-top: 20px;
    text-align: end;
}

table#carrinho-encomendas tbody tr td form.add-form input.btnAddAction {
    width: 80px;
    min-width: 80px;
    height: 32px;
    padding: 0;
}