/*
Theme Name: Lock-Tile
Version: 1.0
*/



* {
    padding: 0px;
    margin: 0px;
    border-spacing: 0px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    outline: none;
}

html {
    height: 100%;
    -webkit-text-size-adjust: 100%;
    font-size: 10px;
}

body {
    font-family: 'Roboto Condensed', sans-serif; 
    font-weight: 300;
    line-height: 180%;
    font-size: 2.4rem;
    color: #000;
    position: relative;
    height: 100%;
    overflow-y: scroll;
    background: #aaa;

}


#wrapper {
    position: relative;
    max-width: 2560px;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    background: #fff;
}

header {
    height: 13.3rem;
    width: calc(100% - 8rem);
    margin: 0 auto;
    position: relative;
}

header #logo {
    position: absolute;
    left: 0;
    top: 2rem;
    height: 8.4rem;
}

header #menu {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
}

header #menu a {
    color: #000;
    font-size: 2.2rem;
    margin-left: 4rem;
    text-decoration: none;
}

header #menu a:hover, header #menu a:first-child {
    color: #e05d00;
}

main {
    flex: 1;
    background: #fff;

}

#category_teaser {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
        width: calc(100% - 8rem);
    margin: 0 auto;
}

#category_teaser > div {
    width: calc(25% - 3rem);
    margin-bottom: 4rem;
    background: #eee;
    height: calc((100vh - 21.3rem) / 2);
    position: relative;
    cursor: pointer;
}

#category_teaser > div > div:first-child {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 5.9rem;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

#category_teaser > div > div:first-child > span {
    display: block;
    position: relative;
    z-index: 12;
    color: #fff;
    border: 2px solid #fff;
    font-size: 2.4rem;
    padding: 0 1.5rem;
    transform: translateY(30vh);
        transition: transform 0.3s ease-out;
        background: rgba(85,91,96,0.25);
}

#category_teaser > div:hover > div:first-child > span {
    transform: translateY(0);
}

#category_teaser > div > div:first-child > div {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-position: center center;
    background-size: cover;
    transition: transform 0.3s ease-out;
}

#category_teaser > div:hover > div:first-child > div {
    transform: scale(1.1);
}

#category_teaser > div > div:first-child::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: block;
    background:#555b60;
    z-index: 10;
    opacity: 0;
        transition: transform 0.3s ease-out;
}



#category_teaser > div:hover > div:first-child::before {
    opacity: 0.85;
}

#category_teaser > div > div:last-child {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 5.5rem;
    line-height: 5.5rem;
    background: #e05d00;
    color: #fff;
    text-align: center;
    border-top: 0.4rem solid #fff;
    font-size: 2.8rem;
}

#category_teaser > div:hover > div:last-child {
    /* background: #555b60; */
}
