/* #region Globals */
* {
    font-family: 'Red Hat Text';
}

body {
    background-color: #fafafa;
    overflow-y: scroll;
}

p, ul li {
    font-size: 1.6rem;
    line-height: 2.8rem;
}

.mainlink {
    font-size: 1.8rem;
    border: 2px solid #203f64;
    background-color: transparent;
    color: #203f64;
    padding: 15px 30px;
    font-weight: 600;
}

.mainlink:hover {
    background-color: #e3a027;
    border-color: #e3a027;
    color: #fff;
}

h1 {
    font-size: 3rem;
    line-height: 2rem;
    font-weight: 600;
}

h2 {
    font-size: 4rem;
    line-height: 4rem;
    font-weight: 600;
    text-transform: uppercase;
}

h3 {
    font-size: 3rem;
    color: #102032;
    line-height: 3rem;
    font-weight: 600;
    text-transform: uppercase;
}

h3 span {
    font-size: 1.8rem;
}

h4 {
    font-size: 2rem;
    color: #346d98;
    line-height: 2rem;
    text-transform: uppercase;
}

.fullpage h1 span {
    font-size: 6rem;
    line-height: 6rem;
    font-weight: bold;
    background: -webkit-linear-gradient(right, #ffd700, #b87333);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: table;
}

.contop h2 {
    color: #346d98;
    text-transform: uppercase;
    font-size: 2rem;
    line-height: 1.5rem;
    font-weight: 600;
}

.contop h2 span {
    display: table;
    font-size: 4rem;
    line-height: 4rem;
    color: #fff;
}

@media only screen and (max-width:1700px) {
    p {
        font-size: 1.3rem;
        line-height: 2.2rem;
    }
}

@media only screen and (max-width:1500px) {
    .padside {
        padding-left: 30px;
        padding-right: 30px;
    }

    .pad {
        padding: 30px;
    }

    h2 {
        font-size: 3rem;
        line-height: 3rem;
    }

    h3 {
        font-size: 2.6rem;
        line-height: 2.6rem;
    }
}

@media only screen and (max-width:1000px) {
    .fullpage h1 span {
        font-size: 5rem;
        line-height: 5rem;
    }
}

@media only screen and (max-width:800px) {
    .contop h2 {
        font-size: 1.5rem;
        line-height: 1.5rem;
    }

    .contop h2 span {
        font-size: 3rem;
        line-height: 3rem;
    }

    h2 {
        font-size: 2.6rem;
        line-height: 2.6rem;
    }

    h3 {
        font-size: 2rem;
        line-height: 2rem;
    }

    h4 {
        font-size: 1.6rem;
        line-height: 1.6rem;
    }

    .fullpage h1,
    .fullpage h1 span {
        text-align: center;
        display: block;
    }

    .fullpage h1 span {
        font-size: 3.5rem;
        line-height: 3.5rem;
    }

    .fullpage h1 {
        font-size: 2.5rem;
        line-height: 2.5rem;
    }
}

@media only screen and (max-width:500px) {
    .contop h2 span {
        font-size: 2rem;
        line-height: 2rem;
    }
}

/* #endregion */

/* #region Subheader */
.header {
    background-color: #fff;
}

.header .subheader {
    border-bottom: 1px solid #ccc;
    width: 100%;
}

.header .subheader .topstock {
    padding-left: 30px;
}

.header .subheader .divider {
    width: 1px;
    border-right: 1px solid #ccc;
}

.header .subheader .item {
    padding: 10px 30px;
    font-weight: 600;
}

.header .subheader .contact form {
    background-color: #346d98;
    padding-right: 60px;
}

.header .subheader .contact .title {
    color: #346d98;
    font-weight: 600;
    text-align: right;
    align-self: center;
    padding-right: 30px;
}

.header .subheader .contact form input {
    background-color: transparent;
    border: 0;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 400;
    padding: 0 15px;
}

.header .subheader .contact form input::placeholder {
    opacity: .25;
    color: #fff;
}

.header .subheader .contact form button {
    background-color: transparent;
    border: 0;
    color: #fff;
    padding: 10px 15px;
    font-size: 2rem;
}

.header .subheader .contact form button:hover {
    color: #e3a027;
}

/* #endregion */

/* #region Header */
.header .main {
    padding: 15px 60px;
}

.header .main .logo {
    padding-right: 60px;
}

.header .hero {
    padding-left: 60px;
    padding-bottom: 60px;
}

.header .hero h1 {
    color: #fff;
}

.header .hero .inner {
    background-color: #eee;
    background-image: url('images/bg_hero.jpg');
    background-position: center right;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 200px 60px;
}

.header .hero .latebox {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 800px;
}

.header .hero .latest { 
    background-color: #e3a027;
    padding: 30px;
    color: #fff;
    font-size: 1.4rem;
}

.header .hero .latest span {
    font-weight: bold;
    text-transform: uppercase;
    display: block;
}

.header .hero .latest:hover {
    padding-right: 60px;
    background-color: #c98f22;
    margin-left:-30px;
}

.abelink {
    background-color:#203f64;
    padding:30px;
    font-weight:600;
    font-size:1.4rem;
    color:#fff;
    display:flex;
    align-items:center;
    margin-top:15px;
    text-transform: uppercase;
}

.abelink span {
    font-family:'la-solid';
    font-weight:400;
    font-size:4rem;
    margin-right:10px;
}

.abelink:hover {
    margin-left:-30px;
    padding-right:60px;
    background-color:#182e4a;
}

.header .contop {
    background-color: #222a33;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    padding-top: 120px;
    padding-bottom: 100px;
}

#menu .minilink {
    color: #222;
}

@media only screen and (max-width:1700px) {
    .header .hero .latest, .abelink {
        font-size:1rem;
        padding:15px;
    }

    .header .hero .latest:hover, .abelink:hover {
        padding-right:30px;
        margin-left:-15px;
    }
}

@media only screen and (max-width:1500px) {
    .header .subheader .topstock {
        padding-left: 0;
    }

    .header .subheader .contact form {
        padding-right: 30px;
    }

    .header .main {
        padding: 15px 30px;
    }

    .header .hero {
        padding-left: 30px;
        padding-right: 30px;
    }

    .header .hero .inner {
        padding: 120px 30px;
    }
}

@media only screen and (max-width:1400px) {
    .header .subheader .quote .item:last-of-type {
        display: none;
    }
}

@media only screen and (max-width:1250px) {
    .header .subheader .metals {
        display: none;
    }
    
    .header .hero .latebox {
        width: 100%;
        left: 0;
        right: 0;
        display:flex;
        justify-content:space-between;
    }

    .abelink {
        margin-top:0;
    }

    .abelink, .header .hero .latest {
        width:50%;
    }
}

@media only screen and (max-width:850px) {
    .header .hero {
        padding-left: 0;
        padding-right: 0;
    }

    .header .subheader .metals {
        display: flex;
    }

    .header .subheader {
        display: block;
    }

    .header .subheader .topstock {
        width: 100%;
        justify-content: space-between;
    }

    .header .subheader .topstock .divider {
        display: none;
    }

    .header .subheader .contact {
        background-color: #f0f0f0;
        padding-left: 30px;
        padding-right: 0;
    }

    .header .subheader .contact .title {
        flex-shrink: 0;
    }

    .header .subheader .contact form {
        width: 100%;
        flex-grow: 1;
    }

    .header .subheader .contact form input {
        flex-grow: 1;
        font-size: 1.3rem;
    }

    .header .subheader .contact form button {
        padding-right: 0;
    }

    .header .hero .latebox {
        display:block;
        bottom:-60px;
    }

    .abelink, .header .hero .latest {
        width:unset;
        font-size:0.8rem;
    }
}

@media only screen and (max-width:800px) {
    .header .contop {
        padding-bottom: 15px;
    }
}

@media only screen and (max-width:600px) {
    .header .subheader .contact {
        display: block;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .header .subheader .contact .title {
        text-align: left;
    }
}

@media only screen and (max-width:500px) {
    .header .main .logo img {
        width: 90%;
    }

    #menu .minilink {
        font-size: 2rem;
    }

    .header .subheader .quote {
        display: none;
    }
}

/* #endregion */

/* #region Home Page */
.homebg {
    background-size: cover;
    background-image: url('images/bg_home.jpg');
    background-repeat: no-repeat;
    margin-top: -360px;
    padding-top: 360px;
}

.home p {
    font-weight: 600;
}

.home .location p,
.home .about p {
    padding: 120px;
}

.home .about .map {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.home .location {
    margin: 60px;
    margin-left: 0;
    margin-top: 0;
    background-color: #fff;
    background-image: url('images/home_location.jpg');
    background-size: contain;
    background-position: center left;
    background-repeat: no-repeat;
    margin-bottom: -60px;
    position: relative;
    z-index: 2;
}

.home .location p {
    padding-left: 50%;
}

.home .update {
    background-color: #1d2733;
    color: #fff;
    padding: 120px;
    padding-top: 180px;
}

.home .update .updatetext {
    padding: 30px;
}

.home .update img {
    height: 50vw;
    max-height: 800px;
}

.home .update .mainlink {
    color: #fff;
    border-color: #fff;
}

@media only screen and (max-width:1400px) {
    .home .about p {
        padding: 60px;
    }

    .home .about .map {
        background-position: left center;
    }

    .home .location {
        background-position: center top;
        margin-right: 0;
        padding-left: 45%;
        padding-top: 30%;
    }

    .home .location p {
        padding: 30px;
        background-color: #fff;
    }

    .home .update {
        padding: 60px;
        padding-top: 120px;
    }
}

@media only screen and (max-width:1000px) {
    .home .about {
        flex-direction: column-reverse;
    }

    .home .about .map {
        width: 100%;
        height: 40vh;
        background-size: auto 140%;
        background-position: top center;
    }

    .home .about p {
        width: 84%;
        padding: 30px;
        margin-left: auto;
        margin-right: auto;
        background-color: #333;
        color: #fff;
    }

    .home .update {
        display: block;
        padding: 60px 0;
    }

    .home .update .updatetext {
        width: 100%;
    }

    .home .update .mainlink {
        width: 100%;
        text-align: center;
    }

    .home .update img {
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
}

@media only screen and (max-width:800px) {
    .home .location {
        padding-left: 0;
        padding-top: 70%;
    }

    .home .update img {
        height: auto;
        width: 90%;
    }
}

@media only screen and (max-width:700px) {
    .home .about p {
        width: 100%;
    }
}

/* #endregion */

/* #region Content + Sidebar */
.contbox {
    background-image: url('images/bg_content.jpg');
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
}

.content {
    background-color: #fff;
    margin-top: -90px;
    z-index: 2;
    position: relative;
    margin-bottom: -60px;
    max-width: 1800px;
}

.content .contmain {
    padding-bottom: 120px;
}

.projbar .sidebar a {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 10px 15px;
    color: black;
    opacity: .33;
    text-transform: uppercase;
}

.projbar .sidebar a:hover {
    color: #e3a027;
    opacity: 1;
}

@media only screen and (max-width:1300px) {
    .content {
        flex-direction: column-reverse;
    }

    #sidex {
        width: 100%;
        border-right: 0;
        padding-left: 0;
        padding-right: 30px;
        border-top: 1px solid #ccc;
    }

    #sidex .sidebar .sidelink {
        border-right: 0 !important;
        border-left: 5px solid transparent !important;
    }

    #sidex .sidebar .active {
        border-right: 0 !important;
        border-left: 5px solid #e3a027 !important;
    }
}

@media only screen and (max-width:1200px) {
    .content {
        margin-bottom: 0;
    }
}

@media only screen and (max-width:800px) {
    .contbox {
        padding: 0;
    }

    .content {
        margin-top: 0;
    }
}

@media only screen and (max-width:600px) {
    .content .news img {
        width: 100% !important;
    }
}

/* #endregion */

/* #region Footer */
.footer .subscribe {
    background-color: #346d98;
    color: #fff;
    position: relative;
    z-index: 2;
}

.footer .subscribe form input {
    border: 2px solid #fff;
    padding: 15px;
    color: #fff;
    font-size: 1.8rem;
    background-color: transparent;
}

.footer .subscribe form input::placeholder {
    color: #fff;
    opacity: 0.25;
}

.footer .subscribe form button {
    background-color: transparent;
    border: 0;
    color: #fff;
    padding: 10px 15px;
    font-size: 4rem;
}

.footer .subscribe form button:hover {
    color: #e3a027;
}

.footer .continfo {
    margin-top: 60px;
}

.footer .subfooter {
    border-top: 1px solid #ccc;
    margin-top: 60px;
    padding: 15px 60px;
}

.footer .subfooter a {
    font-weight: bold;
    color: #e3a027;
}

@media only screen and (max-width:1500px) {
    .footer .subfooter {
        padding: 15px 30px;
    }
}

@media only screen and (max-width:1200px) {
    .footer .footflex {
        flex-direction: column-reverse;
    }

    .footer .subscribe {
        width: 100%;
    }

    .footer .info {
        width: 100%;
        margin-top: 30px;
    }

    .footer .subfooter {
        margin-top: 30px;
    }
}

@media only screen and (max-width:600px) {
    .footer .subfooter {
        display: block;
    }

    .footer .subfooter span {
        display: block;
        text-align: center;
    }

    .footer .subfooter a {
        text-align: center;
        display: block;
    }
}

@media only screen and (max-width:500px) {
    .footer .subscribe form input {
        font-size: 1.3rem;
    }

    .footer .subscribe form button {
        font-size: 2rem;
    }

    .footer .info img {
        width: 90%;
    }
}

/* #endregion */

/* #region Custom Stylings */

.header .menu .mainmenu .top,
.header .menu .toplink {
    color: #222;
    opacity: .33;
}

.header .menu .mainmenu .top:hover,
.header .menu .toplink:hover {
    opacity: 1;
}

.header .menu .toplink:hover {
    color: #fff;
}

.header .menu .sublink {
    display: none;
}

.header .popped .mainmenu .top {
    color: rgba(255, 255, 255, .8);
}

.header .popped .toplink {
    color: rgba(255, 255, 255, .8);
}

.popped .menubox {
    background-color: rgba(52, 109, 152, 0.98);
}

.content .project .highlights h3 {
    color: #fff;
}

.content .project .highlights {
    background-color: #346d98;
    color: #fff;
    padding: 30px;
    margin-left: -30px;
}

@media only screen and (max-width:500px) {
    #corporate .item .info h3 {
        font-size: 1.6rem;
        line-height: 1.6rem;
        font-weight: bold;
    }
}

/* #endregion */

/* #region Page Animations */
.h2Anim,
.h2spanAnim {
    margin-left: -30px;
    opacity: 0;
}

.contentAnim {
    margin-top: -30px;
    opacity: 0;
}

.subAnim {
    margin-top:-30px;
}

.mainAnim {
    margin-bottom:30px;
    opacity:0;
}

.innerAnim {
    margin-right:-30px;
    opacity:0;
}

.h1Anim {
    margin-left:30px;
    opacity:0;
}

.latestAnim {
    right:-30px !important;
    opacity:0;
}

/* #endregion */