#container {
    background: #1c1c1c url("../img/tsts.jpg") no-repeat center top;
    min-height: inherit;
    height: 100%;
    background-size: 100%;
}
#slideshow {
    margin: 0 auto;
    position: relative;
    width: 90%;
    height: 100%;
}
.tpo {
    position: absolute;
    left: 0;
    top: 10%;
}
.tpo h1 {
    font-weight: 600;
    font-size: 6.3em;
    text-transform: uppercase;
    font-family: 'Open Sans', sans-serif;
    margin: 0 0 1%;
    letter-spacing: 1px;
    line-height: 1;
    display: block;
}
.tpo h1 b,
.tpo h1 span {
    display: table;
    color: #fff;
}
.tpo h1 b {
    font-weight: 700;
    font-size: 1.7em;
    color: #EF720E;
    font-family: 'Philosopher', sans-serif;
}
.tpo h2 {
    font-weight: 600;
    font-size: 3.2em;
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    color: #fff;
    display: block;
    letter-spacing: 5px;
}
.tpo h3 {
    font-weight: 400;
    font-size: 1.8em;
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    color: #fff;
    display: block;
    letter-spacing: 2px;
}
.tpo nav {
    display: block;
    padding: 3% 0 0;
}
.tpo nav a {
    display: inline-block;
    height: 52px;
    line-height: 52px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 20px;
    font-size: 2rem;
    padding: 0 1.2em;
    margin: 0;
    color: #fff;
    text-transform: uppercase;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    letter-spacing: 0.7px;
    color: #fff;
    background: transparent;
    border: 1px solid #fff;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
.tpo nav a span {
    display: block;
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
    -webkit-transition: -webkit-transform 0.85s cubic-bezier(0.19, 1, 0.22, 1);
    transition: transform 0.85s cubic-bezier(0.19, 1, 0.22, 1);
}
.tpo nav a:after {
    content: attr(data-text);
    color: #000;
    background: #fff;
    position: absolute;
    left: 0;
    right: -1px;
    top: 0;
    bottom: 0;
    -webkit-transform: translate3d(0,100%,0);
    transform: translate3d(0,100%,0);
    -webkit-transition: -webkit-transform 0.85s cubic-bezier(0.19, 1, 0.22, 1);
    transition: transform 0.85s cubic-bezier(0.19, 1, 0.22, 1);
    text-align: center;
    z-index: 9999;
}
.tpo nav a:hover span {
    -webkit-transition-duration: 1s;
    transition-duration: 1s;
    -webkit-transform: translate3d(0,-30%,0);
    transform: translate3d(0,-30%,0);
}
.tpo nav a:hover:after {
    -webkit-transition-duration: 1s;
    transition-duration: 1s;
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}
header {
    margin: 2.5em auto 20px;
}
header img {
    display: inline-block;
}
header nav {
    text-align: right;
    float: right;
    display: table;
}

/* Footer */
footer {
    display: block;
    margin: 0;
    position: absolute;
    bottom: 3%;
    right: 5%;
    padding: 0;
}
footer nav {
    display: block;
    text-align: right;
    padding: 50px 0;
}
footer nav a {
    display: inline-block;
    color: #DFD7D1;
    font-size: 16px;
    font-size: 1.6rem;
    text-decoration: none;
    padding: 0;
    margin: 0 10px;
    height: 40px;
    line-height: 40px;
    font-weight: 400;
    font-family: 'Open Sans', sans-serif;
    position: relative;
    text-align: center;
    letter-spacing: 1px;
}
footer nav i {
    font-size: 22px;
    font-size: 2.2rem;
}
footer nav a:before {
    content: '';
    position: absolute;
    bottom: 0;
    height: 2px;
    width: 100%;
    background: #DFD7D1;
    opacity: 0;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}
footer nav a:hover:before {
    opacity: 1;
}
footer h1 {
    margin: 0;
}
footer img {
    height: 15px;
}

/*Background Resolution*/
@media all and (max-width: 1280px) and (max-height: 1024px) {
    #container {
        background-size: auto 100%;
    }
}
@media all and (max-width: 1024px) and (max-height: 1280px) {
    #container {
        background-size: auto 100%;
    }
}

@media all and (max-width: 1280px) and (max-height: 800px) {
    #container {
        background-size: auto 100%;
    }
}
@media all and (max-width: 800px) and (max-height: 1280px) {
    #container {
        background-size: auto 100%;
    }
}

@media all and (max-width: 1366px) and (max-height: 768px) {
    #container {
        background-size: 100%;
    }
}
@media all and (max-width: 768px) and (max-height: 1366px) {
    #container {
        background-size: auto 100%;
    }
}

@media all and (max-width: 1024px) and (max-height: 768px) {
    #container {
        background-size: auto 100%;
    }
}
@media all and (max-width: 1024px) {
    #container {
        background-size: auto 100%;
    }
}

/*Typo Index*/
@media all and (max-width: 1366px) {
    .tpo h1 {
        font-size: 5.8em;
    }
    .tpo h1 b {
        font-size: 1.6em;
    }
}
@media all and (max-width: 1366px) and (max-height: 600px) {
    .tpo {
        top: 5%;
    }
}








