/**
 * Custom Resets
 */
body,
video,
header,
main,
h1,
p {
    margin:0;
    padding:0;
    color: white;
}

body{
    position: relative;
    margin: 0;
    padding-bottom: 140px;
    min-height: 100%;
}

@font-face {
    font-family: "Graphit-Regular";
    src: url("Graphit-Regular.otf") format("opentype");
}

*{
    font-family: 'Graphit-Regular';
}

/* Set a large height to see parallax effect */
main {
    display: block;
    height: auto;
}
a{
    color: white;
    text-decoration: none;
}
header,
.content,
.footer
{
    padding: 40px;
    z-index: 2;
}

.content
{
    padding-top: 12%;
}

header.header,
.media-wrap .content
{
    position: relative;
}

header.header .logo{
    width: 300px;
    /*padding: 30px 15px 30px 30px;*/
}

/* Prevent video jerky resize on load, reset defaults */
video {
    position:absolute;
    object-fit: cover;
    width: 100%;
    height: 100%;
    z-index: -999;
    top: 0;
    left: 0;

}
.lineheight {
    line-height: 20px;
}
.flex{
    display: flex;
}
.flex-ai-center{
    align-items: center;
}
.align-self-end{
    align-self: flex-end;
}
/*.media-wrap {
    height: 100%;
    width: 100%;
    background: url(https://jamesbrand.co/assets/img/nosotros2.jpg) 50% 0 no-repeat fixed;
    position: absolute;
}*/
.text-right{
    text-align: right;
}
.border-buttom-white{
    border-bottom: 1px solid white;
}

.content .line{
    width: 40px;
    margin-top: 7px;
    margin-right: 10px;
    border-top: 1px solid white;
}

.fontsize-s
{
    font-size: 12px;
}
.fontsize-M
{
    font-size: 25px;
}
.fontsize-L
{
    font-size: 50px;
    line-height: 50px;
}
.content .box{
    display: grid;
}
.footer{
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 1rem;
    width: 100%;
    display: flex;
    padding: 40px 40px 40px 90px;
}
.footer .flex-column{
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/*********** SLIDER  *************/
#slider,  #slider .slide{
    width: 400px;
    /*height: 250px;*/
}
#textbox {
    padding: 20px 0;
    height: 160px;
}
#textbox .slide {
    position: relative;
    float: left;
    box-sizing: border-box;
    padding: 10px 0;
    display: none;
}
.mr20{
    margin-right: 20px;
}
@media only screen and (max-width: 520px) {
    #textbox {
        height: 200px;
    }
}
@media only screen and (max-width: 460px) {
    header.header .logo{
        width: 300px;
    }
    .content .line{
        display: none;
    }
    .fontsize-L
    {
        font-size: 29px;
        line-height: 29px;
    }

    .footer{
        padding: 40px;
    }
    #textbox {
        height: 110px;
    }
}

