/* VARS */

:root {
    --amarillo: #ffd700;
    --cafe: #c7c2b0;
    --negro: #363636;
    --blanco: #ffffff;
}

/* FIX: I HAVE NO IDEA WHAT ELEMENT IS LARGER THAN 100% */
html, body {
    overflow-x: hidden;
}

/* ELEMENTS */

a {
    color: var(--negro);
    text-decoration: underline;
}

/* BASE.HTML ELEMENTS */

.marca {
    color: var(--blanco);
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
}

/* NAV BAR */

.navbar.is-dark {
    background-color: var(--negro);
}

.navbar-end .navbar-item {
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 1.2em;
    text-decoration: none;
}

.logo-catalogo {
    max-height: 4.5rem !important;
}

.navbar-brand, .navbar-tabs {
    min-height: 6rem;
}

.navbar .navbar-link {
    text-decoration: none;
}

.navbar-burger {
    color: var(--blanco);
}

/* ANIMATION */

@media only screen and (max-width: 1023px) {
    .navbar-menu {
        display: block;
        opacity: 0;
        position: relative;
        left: 0;
        right: 0;
        max-height: 0;
        transition: all 0.4s ease-in-out;
        pointer-events: none;
        overflow: hidden;
        padding: 0;
        background-color: var(--negro);
    }

    .navbar-menu.is-active {
        max-height: 500px;
        opacity: 1;
        transform: none;
        pointer-events: auto;
        padding: 0.5rem 0;
    }
}

/* FOOTER */

.main-footer {
    background-color: var(--negro);
    color: var(--blanco);
}

.copyright a {
    color: #ffffff;
}

/* COOKIE LAW BANNER */
#CookielawBanner {
    background-color: var(--negro);
    color: var(--blanco);
    position: fixed;
    bottom: 0;
    width: 100%;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

#CookielawBanner a {
    color: var(--amarillo);
}

/* INICIO.HTML ELEMENTS */

/* HERO */

.cabecera {
    background-color: var(--amarillo);
}

.cabecera .title {
    font-family: 'Roboto Slab', serif;
    font-weight: 400;
}

.cabecera .subtitle {
    font-family: 'Roboto', sans-serif;
}

.cabecera .image {
    width: 25rem;
    height: 25rem;
}

.cabecera .image figcaption {
    font-family: 'Roboto Slab', serif;
    padding: 0.2rem;
    font-size: 0.8rem;
}

@media screen and (max-width: 768px ) {
    .cabecera .image {
        max-width: 100%;
    }
}

.cabecera .acciones {
    margin-top: auto;
}

/* CATEGORIAS GRID */

.categorias .input {
    background-color: var(--cafe);
    border-radius: 0;
    width: 350px;
}

@media screen and (max-width: 768px ) {
    .categorias .input {
        width: 100%;
    }
}

.categorias ::placeholder {
    color: #6b6564;
}

.categorias .control button {
    background-color: var(--negro);
    color: var(--blanco);
    border-radius: 0;
    padding-left: 2rem;
    padding-right: 2rem;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
}

.categorias .control button:hover {
    background-color: #000000;
}

.grid-de-botones .button {
    background-color: var(--negro);
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    color: var(--blanco);
    font-weight: 600;
    white-space: normal;
    height: 4em;
    font-size: 1.3rem;
    border-radius: 0;
    text-decoration: none;
}

.activo {
    background-color: var(--cafe) !important;
    color: var(--negro) !important;
}

.grid-de-botones button:focus {
    border: 0;
}

@media screen and (min-width: 1024px) and (max-width: 1407px) {
    .grid-de-botones .button {
        font-size: 1.2rem;
        height: 5em;
    }
}

/* LISTADO */

.listado-portada {
    background-color: var(--amarillo);
}

@media screen and (min-width: 769px ) {
    .listado-portada #tecnologias {
        position: relative;
        top: -2.5rem;
    }
}

.filler {
    height: 25rem;
}

/* CARD OBJECT */

.card {
    background-color: var(--cafe);
    border: 1rem solid var(--cafe);
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: baseline;
}

.card .card-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding-bottom: 0;
    width: 100%;
}

.card .card-bottom {
    align-self: flex-end;
    margin-top: auto;
}

.card .card-bottom a {
    text-decoration: none;
}

.card .title {
    font-family: 'Roboto Slab', serif;
    font-weight: 400;
    text-decoration: underline;
}

.card .lead {
    font-weight: 400;
    padding-top: 1rem;
}

.card {
    height: 100%;
}

/* DETALLES */
.acciones a {
    font-family: 'Roboto Slab', serif;
    text-transform: uppercase;
}

/* CONTACTO */
.contacto .button {
    background-color: var(--negro);
    color: var(--blanco);
}

.contacto .card-content {
    width: 100%
}

/* TABLES */
.table-web {
    font-family: "Roboto", sans-serif;
}

.table-web thead {
    background-color: var(--amarillo);
    text-transform: uppercase;
}

.table-web thead tr th {
    border-bottom: var(--negro) solid 1px;
}

.table-web > thead > tr > th:nth-child(2) {
    font-weight: 400;
    border-left: var(--negro) solid 1px;
}

.table-web tbody th {
    border-bottom: var(--negro) solid 1px;
}

.table-web tbody td {
    border-left: var(--negro) solid 1px;
    border-bottom: var(--negro) solid 1px;
}

/* IMPRIMIBLE */

.imprimible {
    font-size: 0.8em;
}

.imprimible .logo {
    max-width: 10rem;
}

.imprimible .image {
    max-width: 17rem;
    max-height: 17rem;
    border: var(--negro) 2px solid;
}

.imprimible .title {
    text-decoration: underline;
    padding-bottom: 1rem;
    font-family: 'Roboto Slab', serif;
}

.imprimible .subtitle {
    margin-bottom: 0.3rem;
    font-family: 'Roboto Slab', serif;
}

@page {
    margin: 10px 10px 20px;
}

.imprimible .table {
    width: 100%;
    break-inside: avoid;
    box-decoration-break: clone
}

.imprimible .table-web thead {
    background-color: var(--blanco);
    text-transform: uppercase;
}

.imprimible .table-web {
    border: var(--negro) solid 1px;
}

/* Nosotros */

.indice .panel-heading {
    background: var(--cafe);
    font-family: 'Roboto Slab', serif;
}

.indice .panel-block {
    background: var(--blanco);
}

/* SOCIAL SHARE */
.resp-sharing-button__link,
.resp-sharing-button__icon {
    display: inline-block
}

.resp-sharing-button__link {
    text-decoration: none;
    color: #fff;
    margin: 0.5em
}

.resp-sharing-button {
    border-radius: 5px;
    transition: 25ms ease-out;
    padding: 0.5em 0.75em;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif
}

.resp-sharing-button__icon svg {
    width: 1em;
    height: 1em;
    margin-right: 0.4em;
    vertical-align: top
}

.resp-sharing-button--small svg {
    margin: 0;
    vertical-align: middle
}

/* Non solid icons get a stroke */
.resp-sharing-button__icon {
    stroke: #fff;
    fill: none
}

/* Solid icons get a fill */
.resp-sharing-button__icon--solid,
.resp-sharing-button__icon--solidcircle {
    fill: #fff;
    stroke: none
}

.resp-sharing-button--twitter {
    background-color: #55acee
}

.resp-sharing-button--twitter:hover {
    background-color: #2795e9
}

.resp-sharing-button--pinterest {
    background-color: #bd081c
}

.resp-sharing-button--pinterest:hover {
    background-color: #8c0615
}

.resp-sharing-button--facebook {
    background-color: #3b5998
}

.resp-sharing-button--facebook:hover {
    background-color: #2d4373
}

.resp-sharing-button--tumblr {
    background-color: #35465C
}

.resp-sharing-button--tumblr:hover {
    background-color: #222d3c
}

.resp-sharing-button--reddit {
    background-color: #5f99cf
}

.resp-sharing-button--reddit:hover {
    background-color: #3a80c1
}

.resp-sharing-button--google {
    background-color: #dd4b39
}

.resp-sharing-button--google:hover {
    background-color: #c23321
}

.resp-sharing-button--linkedin {
    background-color: #0077b5
}

.resp-sharing-button--linkedin:hover {
    background-color: #046293
}

.resp-sharing-button--email {
    background-color: #777
}

.resp-sharing-button--email:hover {
    background-color: #5e5e5e
}

.resp-sharing-button--xing {
    background-color: #1a7576
}

.resp-sharing-button--xing:hover {
    background-color: #114c4c
}

.resp-sharing-button--whatsapp {
    background-color: #25D366
}

.resp-sharing-button--whatsapp:hover {
    background-color: #1da851
}

.resp-sharing-button--hackernews {
    background-color: #FF6600
}

.resp-sharing-button--hackernews:hover, .resp-sharing-button--hackernews:focus {
    background-color: #FB6200
}

.resp-sharing-button--vk {
    background-color: #507299
}

.resp-sharing-button--vk:hover {
    background-color: #43648c
}

.resp-sharing-button--facebook {
    background-color: #3b5998;
    border-color: #3b5998;
}

.resp-sharing-button--facebook:hover,
.resp-sharing-button--facebook:active {
    background-color: #2d4373;
    border-color: #2d4373;
}

.resp-sharing-button--twitter {
    background-color: #55acee;
    border-color: #55acee;
}

.resp-sharing-button--twitter:hover,
.resp-sharing-button--twitter:active {
    background-color: #2795e9;
    border-color: #2795e9;
}

.resp-sharing-button--tumblr {
    background-color: #35465C;
    border-color: #35465C;
}

.resp-sharing-button--tumblr:hover,
.resp-sharing-button--tumblr:active {
    background-color: #222d3c;
    border-color: #222d3c;
}

.resp-sharing-button--email {
    background-color: #777777;
    border-color: #777777;
}

.resp-sharing-button--email:hover,
.resp-sharing-button--email:active {
    background-color: #5e5e5e;
    border-color: #5e5e5e;
}

.resp-sharing-button--pinterest {
    background-color: #bd081c;
    border-color: #bd081c;
}

.resp-sharing-button--pinterest:hover,
.resp-sharing-button--pinterest:active {
    background-color: #8c0615;
    border-color: #8c0615;
}

.resp-sharing-button--telegram {
    background-color: #54A9EB;
}

.resp-sharing-button--telegram:hover {
    background-color: #4B97D1;
}

