html { box-sizing: border-box; }
*,*:before,*:after { box-sizing: inherit; }

body {
    font-family:'Roboto';
    margin:0;
    padding:0;
    overflow:hidden;
}

h1, h2, h3, h4, h5, h6 {
    margin:0;
}

a {
    color:#111;
    text-decoration:none;
}

.no-link {
    cursor:default;
    pointer-events:none;
}

.site-header {
    position:relative;
    display:flex;
    align-items:center;
    background:#111111;
    color:#fff;
    padding:20px 25px;
    width:100%;
    height:125px;
    z-index:3;
}

.site-header::after {
    position:absolute;
    left:0;
    bottom:-3px;
    right:0;
/*    background:url('img/bg-border.png') no-repeat center center; */
    background-size:cover;
    height:3px;
    content:'';
}


.site-content {
    border-top: 3px solid gold;
}

.main-navigation {
    margin-left:auto;
}

.main-navigation ul {
    display:flex;
    align-items:center;
    list-style:none;
    margin:0;
    padding:0;
}

.main-navigation li {
        margin-left:25px;
}

.main-navigation a {
    background:#fff;
    padding:0.5em 1em;
    border-radius:5px;
    border-bottom:3px solid #999;
    transition:all 0.25s ease;
}

.main-navigation li:nth-child(1) a:hover { background:#b82716; border-bottom-color:#8e1e17; color:#fff; }
.main-navigation li:nth-child(2) a:hover { background:#cdb20a; border-bottom-color:#9e8c20; color:#fff; }
.main-navigation li:nth-child(3) a:hover { background:#b7a076; border-bottom-color:#92815d; color:#fff; }
.main-navigation li:nth-child(4) a:hover { background:#d1910b; border-bottom-color:#a4741e; color:#fff; }
.main-navigation li:nth-child(4) a:hover { background:#26517e; border-bottom-color:#183e64; color:#fff; }

.site-content, .new-logos {
    display:flex;
    flex-wrap:wrap;
    height:calc(85vh - 175px);
    background:#111;
}

.site-content a, .new-logos a {
    flex-basis:33.333333%;
    height:50%;
}

.site-content .box {
    position:relative;
    height:100%;
    width:100%;
    display:flex;
    padding-right:40px;
    padding-left:40px;
    align-items:center;
    justify-content:center;
    transform:scale(1);
    transition:transform 1s ease;
    z-index:1;
}

#second-row {
    border-top: 3px solid gold;
    border-bottom: 3px solid gold;
    width: 100%;
}

#second-row .boxx {
    padding:40px;
}

#second-row .boxx:hover {
    background: #bb962b;
    background: -moz-linear-gradient(left, #bb962b 0%, #896000 100%);
    background: -webkit-linear-gradient(left, #bb962b 0%,#896000 100%);
    background: linear-gradient(to right, #bb962b 0%,#896000 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bb962b', endColorstr='#896000',GradientType=1 );
}

.img-responsive {
  display: inline-block;
}

.site-content a:nth-child(1) .box { background:url('img/bg-1.jpg') no-repeat center center; background-size:cover; }
.site-content a:nth-child(2) .box { background:url('img/bg-2.jpg') no-repeat center center; background-size:cover; }
.site-content a:nth-child(3) .box { background:url('img/bg-3.jpg') no-repeat center center; background-size:cover; }
.site-content a:nth-child(4) .box { background:url('img/bg-4.jpg') no-repeat center center; background-size:cover; }
.site-content a:nth-child(5) .box { background:url('img/bg-5.jpg') no-repeat center center; background-size:cover; }
.site-content a:nth-child(6) .box { background:url('img/bg-6.jpg') no-repeat center center; background-size:cover; }

.new-logos a:nth-child(1) .box { background:none; background-size:cover; }
.new-logos a:nth-child(2) .box { background:none; background-size:cover; }
.new-logos a:nth-child(3) .box { background:none; background-size:cover; }
.new-logos a:nth-child(4) .box { background:none; background-size:cover; }
.new-logos a:nth-child(5) .box { background:none; background-size:cover; }
.new-logos a:nth-child(6) .box { background:none; background-size:cover; }

.new-logos a:nth-child(1) .box:hover,
.new-logos a:nth-child(2) .box:hover,
.new-logos a:nth-child(3) .box:hover,
.new-logos a:nth-child(4) .box:hover,
.new-logos a:nth-child(5) .box:hover,
.new-logos a:nth-child(6) .box:hover {
    background: #bb962b;
    background: -moz-linear-gradient(left, #bb962b 0%, #896000 100%);
    background: -webkit-linear-gradient(left, #bb962b 0%,#896000 100%);
    background: linear-gradient(to right, #bb962b 0%,#896000 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bb962b', endColorstr='#896000',GradientType=1 );
}

.site-content .box:hover {
    /*transform:scale(1.1);*/
    z-index:2;
}

.site-content .box img {
        max-width:100%;
        display:block;
}

.site-footer {
    position:fixed;
    bottom: 0;
    background:#111111;
    color:#fff;
    text-align:center;
    height:50px;
    width: 100%;
    line-height:50px;
    font-size:1em;
    z-index:3;
    padding-left: 10px;
    padding-right: 10px;
}

.site-footer p {
    margin:0;
}

.site-footer a {
    color:#fff;
}

.new-logos {
	height:50%;
}

.new-logos a {
	flex-basis:calc(100% / 6 - 1px);
	height:100%;
}

.main-image {
    background:url('images/bg.jpg') no-repeat center bottom;
    background-size:cover;
    width:100%;
    height:100%;
    padding: 20px;
}

#login-wrapper {
    margin-top: 100px; 
    height: 330px;
    border-radius: 30px;
    font-size: 18px;
}

#login-wrapper .btn{
    width: 100%;
    font-size: 22px;
    margin-top: 15px;
    font-weight: bold;
}

@media screen and (max-width:1600px) {
    .new-logos a {
            flex-basis:33.333333%;
            height:50%;
    }
}

@media screen and (max-width:480px) {
    body { overflow:auto; }
    .site-header { display:block; height:auto; line-height:1; }
    .site-branding img { width:100%; }
    .main-navigation {
            display:none;
    }
    .site-content {
            display:block;
            height:auto;
    }
    .site-content .box {
            width:100%;
            height:200px;
    }
    .site-content a .box {
            background-size:300% !important;
    }
    .site-footer {
            height:auto;
            line-height:1.2;
            padding:20px;
    }
    .new-logos a {
            flex-basis:100%;
            height:auto;
    }
    .main-image {
            padding-bottom:62.5%;
    }
}