@import url("http://fonts.googleapis.com/css?family=Lato:100,300,400,700,900,400italic");
@import url('https://fonts.googleapis.com/css?family=Montserrat:300,400');

body {
    font-family: 'Montserrat', sans-serif;
    height: 100%;
    min-height: 100vh !important;
    padding: 0;
}

footer {
    z-index: 999 !important;
    background: #0e9cd1;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

/****************************
 * NAVBAR
 ****************************/

nav.navbar.bg-light {
    background-color: rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.5s;
}

nav.navbar.navbar-light .navbar-nav .active > .nav-link,
nav.navbar.navbar-light .navbar-nav .nav-link:hover {
    color: #0e9cd1;
}

nav.navbar.navbar-light .navbar-nav .nav-link {
    font-size: 22px;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 2px 0 3px rgba(0, 0, 0, .1);
    letter-spacing: 1px;
    color: #333;
    padding: 0;
    margin: 40px;
}

@media only screen and (max-width: 1200px) {
    nav.navbar.navbar-light .navbar-nav .nav-link {
        margin: 20px;
        font-size: 19px;
    }
}

nav.navbar.navbar-light .navbar-nav .nav-link:nth-last-child(2) {
    margin: 0 !important;
}

.navbar-brand img {
    width: auto;
    max-height: 100px;
    transition: all 0.5s;
}

nav.navbar.bg-light {
    max-height: 130px;
}

@media screen and (max-width: 992px) {
    nav.navbar.navbar-light .navbar-nav .nav-link {
        text-shadow: 1px 0 2px rgba(0, 0, 0, .1);
        margin: 15px 0;
    }

    nav.navbar.bg-light {
        max-height: unset;
    }
}

nav.navbar.bg-light.scroll {
    background-color: white !important;
}

nav.navbar.bg-light.scroll img {
    max-height: 70px;
}

@media screen and (min-width: 992px) {
    nav.navbar.bg-light.scroll {
        max-height: 90px;
    }
}

nav.navbar.navbar-light.screenbig .navbar-nav .nav-link {
    text-align: right;
}

/****************************
 * PRELOADER
 ****************************/

#preloader {
    width: 100%;
    height: 100%;
    z-index: 9999 !important;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
}

.load {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
}

.load img {
    width: 100%;
    height: auto;
    transform: translate(-50%, -50%);
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
}

.load img:first-child {
    animation: preloader-animation 1.5s linear infinite;
}

@keyframes preloader-animation {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.1;
    }
    40% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0.2;
    }
    80%, 100% {
        transform: translate(-50%, -50%) scale(1.6);
        opacity: 0;
    }
}

/****************************
 * CONTENT
 ****************************/

.content .container {
    padding-top: 110px;
}

.memories {
    list-style: none;
    margin: 0;
    padding: 0 0 1rem;
}

.memories li {
    box-shadow: 0 1px 3px rgba(51, 51, 51, 1);
    padding: 0;
    margin: 0 0 15px;
	background: white;
}

.memories li a {
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.memories > h2 {
    margin: 20px 0 0;
    text-align: center;
    font-weight: 300;
    text-shadow: 1px 2px 1px rgba(0, 0, 0, 0.1);
}

.memories img {
    width: 100%;
	position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.country_flag {
    position: relative;
    display: flex;
    margin: 0;
    padding: 0;
	width: 240px;
	height: 120px;
	overflow: hidden;
}

.country_flag .gradient,
.additional .gradient {
    position: absolute;
    z-index: 6;
    top: 0;

    width: 100%;
    height: 100%;
}

.country_flag .gradient {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
	position: relative;
    width: 240px;
    height: 120px;
}

.additional .gradient {
    right: 0;
    background: linear-gradient(to left, #f8f9fa 0%, rgba(255, 255, 255, 1) 100%);
}

.additional {
    position: relative;
    display: inline-block;
    width: 50%;
    height: 128px;
    float: right;
    color: rgb(255, 255, 255);
    padding: 0;
    text-align: right;
	z-index: 6;
}

.additional .year_department {
    z-index: 999 !important;
    position: absolute;
    right: 10%;
    top: 48%;
    transform: translateY(-50%);

    width: 90%;
}

.memories .year {
    display: block;
    font-size: 56pt;
    font-weight: 300;
    line-height: 1;
    color: white;
    color: black;
    text-shadow: 1px 2px 1px rgba(0, 0, 0, 0.7);
    text-shadow: unset;

    font-size: 30px;
    color: gray;
}

.memories .department {
    display: block;
    font-size: 24pt;
    font-weight: 900;
    line-height: 1;
    color: white;
    color: black;
    text-shadow: 1px 2px 1px rgba(0, 0, 0, 0.7);
    text-shadow: unset;

    font-weight: 300;
}

.memories .info {
    background-color: white !important;
    padding-top: 5px;
    text-align: center;
}

.memories .info .title {
    font-size: 20pt;
    font-weight: 500;
    text-align: center;
}

.memories .info .desc {
    font-size: 13pt;
    font-weight: 300;
    margin: 0;
    text-align: center;
}

@media screen and (max-width: 768px) {
    .country_flag {
        width: 50%;
        height: 128px;
    }

    .memories .info {
        padding: 10px;
		width: 100%;
        box-shadow: inset 0 7px 9px -7px rgba(0, 0, 0, 1);
    }

    .country_flag .gradient {
        left: 0;
        background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
		top: 0;
		position: absolute;
		width: 100%;
		height: 100%;
    }

    .additional .gradient {
        right: 0;
    }
}

@media (min-width: 768px) {
    .memories li {
        position: relative;
        display: block;
        width: 100%;
        height: 120px;
        padding: 0;
        margin: 0 0 10px;
    }

    .additional {
        display: inline-block;
        width: 180px;
        float: right;
        height: 120px;
        padding: 0;
        margin: 0;
    }

    .memories li img {
        display: inline-block;
        width: 240px;
        height: auto;
        padding: 0;
        margin: 0;
		position: absolute;
		z-index: 3;
		left: 0;
		vertical-align: middle;
		top: 50%;
		transform: translateY(-50%);
    }

    .country_flag {
        display: inline-block;
    }

    .country_flag .gradient,
    .additional .gradient {
        width: 240px;
        height: 120px;
    }

    .memories li .info {
        position: absolute;
        height: 120px;
        text-align: center;
        overflow: hidden;
		top: 0;
		left: 50%;
		transform: translateX(-50%);
    }

    .memories li .info .title,
    .memories li .info .desc {
        padding: 0 10px;
    }
}