@charset "utf-8";

* {
    box-sizing: border-box !important;
}

html {
    background-color: black;
}

/* GENERAL */
html, body {
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;

    /* to avoid scrollbars */
    overflow-x: auto;
    overflow-y: hidden;
}

body {
    /*background-image:url(../images/bg.gif);
    background-size: cover;*/
    font-family: 'Titillium Web', sans-serif;
    font-weight: 300;
    min-width: 960px;
    color: #FFF;
    overflow: hidden;
    font-size: 12px;
}

#bgvid {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);

    /*background: url(polina.jpg) no-repeat;
    background-size: cover; */
}

#bgvid video, #intro video {
    min-width: 100%;
    min-height: 100%;
}

#intro {
    position: fixed;
    height: 100%;
    width: 100%;
    background-color: black;
}

#intro video {
    width: 100%;
}

#skipIntro {
    border: 1px solid white;
    text-align: center;
    padding: 10px;
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translate(-50%);
    cursor: pointer;
}

p {
    text-align: justify;
}

a, a:hover, a:visited {
    text-decoration: none;
    color: #FFF;
}

a:hover {
    text-decoration: underline;
}

h1, h2, h3, h4 {
    font-weight: 200 !important;
}

/* h1{ font-size: 4em; }
h2{ font-size: 3em; }
h3{ font-size: 2em; }
h4{ font-size: 1.5em; } */

#site-wrapper {
    width: 100%;
    height: 100%;
    min-height: 100%;
    max-height: 100%;
    overflow: hidden;

    /*background-color: rgba(100, 110, 70,0.5);*/
}

#site-header {
    width: 100%;
    min-height: 80px;
    flex-basis: 10%;
}

#site-body {
    width: 100%;
    overflow: hidden;
}

#site-footer {
    width: 100%;
    min-height: 80px;
    max-height: 10%;
    flex-basis: 10%;
    z-index: 900;
}

img.contain {
    /* min-width: 100%;
    max-width: 110%;
    min-height: 100%; */
    object-fit: contain;

    /* object-position: 50% 50%; */
}

/* HEADER */

#site-header #logo {
    flex-basis: 216px;
    min-height: 90px;
    height: 100%;
    z-index: 1000;
}

#site-header #logo img {
    min-width: 216px;
    width: 100%;
    min-height: 90px;
}

#site-header #menu-header {
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

#site-header #menu-top {
    width: 80%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

#menu-top-spacer {
    -webkit-box-flex: 3;
    -ms-flex-positive: 3;
    flex-grow: 3;
}

.menu-top-item {
    height: 100%;
}

#menu-top .icon-img {
    flex-basis: 90px;
    min-height: 90px;
    height: 100%;
    -webkit-transition: margin-top 0.3s;

    /* Safari */
    transition: margin-top 0.3s;
}

#menu-top .icon-img:hover {
    margin-top: -10px;
    cursor: pointer;
}

*[class*="col-"] {
    padding: 1.5em;
}

/* CONTENT MAIN */

#slider {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slide {
    width: 70%;
    height: 100%;
    min-width: 900px;
    position: absolute;
    left: 50%;
    margin-left: -450px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: distribute;
    justify-content: space-around;
}

.slide .slide-image {
    width: 100%;
    max-height: 60%;
    position: relative;
    flex-basis: 60%;
}

.slide .slide-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.slide .slide-hero-title {
    text-transform: uppercase;
    font-size: 2.5em;
    border-bottom: solid 1px white;
    width: 30%;
    position: absolute;
    top: 27%;
}

.slide .slide-hero-title.hero-left {
    left: 15%;
}

.slide .slide-hero-title.hero-right {
    right: 15%;
}

.slide .slide-content {
    width: 100%;
    flex-basis: 40%;
    -webkit-box-flex: 0.3;
    -ms-flex-positive: 0.3;
    flex-grow: 0.3;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-pack: distribute;
    justify-content: space-around;
}

.short-text-box {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
}

.short-text-box .sh-title {
    width: 100%;
    float: left;
}

.short-text-box .sh-icon {
    width: 90px;
    height: 90px;
    float: left;
}

.short-text-box .sh-icon img {
    width: 90px;
    height: 90px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    align-items: center;
}

.hcenter {
    margin-left: auto;
    margin-right: auto;
}

.vcenter-parent {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    align-items: center;
}

/*
.short-text-box .sh-text {
	width:170px;
	height:90px;
	float:left;
}*/

/* FOOTER */

#menu-bottom {
    /* margin-top:25px; */
    font-size: 1.4em;
    height: 100%;
}

#menu-bottom div {
    padding: 5px 20px 5px 20px;
    z-index: 900;
    height: 100%;
}

.menu-bottom-item {
    min-width: 150px;
    text-align: center;
    vertical-align: middle;
    line-height: 100%;
    cursor: pointer;
}

.menu-bottom-item:first-child {
    position: relative;
}

#menu-bottom-spacer {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

#menu-bottom-facmed, #menu-bottom-svnt {
    padding: 20px;
}

/*BORDERS*/

.vd-border-left {
    border-left: 1px #FFF solid;
}

/* INTERNAL CONTENT */

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 800;
}

#menu-about {
    position: absolute;
    bottom: -4em;
    z-index: 900;
    list-style-type: none;
    margin: 0;
    padding: 0;
    -webkit-transform: translateY(-150%);
    transform: translateY(-150%);
}

#menu-about.ng-enter {
    -webkit-transition: 0.2s linear all;
    transition: 0.2s linear all;
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

#menu-about.ng-enter.ng-enter-active {
    -webkit-transform: translateY(-150%);
    transform: translateY(-150%);
}

#menu-about li {
    text-align: center;
    width: 110px;
    margin: 0.4em 0;
}

#internal {
    height: 80%;
}

#content-internal {
    height: 100%;

    /*height: 80%;
    max-height: 80%;
    margin-top:100px;
    margin-bottom: 100px;*/
    overflow-y: auto;
    width: 75%;
    min-width: 900px;

    /* max-width: 1200px; */
    margin-left: auto;
    margin-right: auto;
    overflow-x: hidden;
    z-index: 900;
    position: relative;
}

#content-internal-contact {
    height: 100%;

    /*height: 80%;
    max-height: 80%;
    margin-top:100px;
    margin-bottom: 100px;*/
    overflow-y: auto;
    width: 25%;
    min-width: 400px;

    /* max-width: 1200px; */
    margin-left: auto;
    margin-right: auto;
    overflow-x: hidden;
    z-index: 900;
    position: relative;
}

#content-internal .page {
    z-index: 900;
    background-color: rgba(255, 255, 255, 1);
    color: #0C0C0C;
    padding: 2em 3em 3em 3em;
    overflow-y: auto;
    overflow-x: hidden;
    font-size: 1.1em;
    width: 100%;
    position: absolute;
    top: 0;
}

#content-internal-contact .page {
    z-index: 900;
    background-color: rgba(255, 255, 255, 1);
    color: #0C0C0C;
    padding: 2em 3em 3em 3em;
    overflow-y: auto;
    overflow-x: hidden;
    font-size: 1.1em;
    width: 100%;
    position: absolute;
    top: 0;
}

.w100{
    width:100%;
}

.h100{
    height:100px;
}

.btn{
    border: none;
    color:#fff;
    background-color:#2F2F2F;
}

.internal-spacer {
    flex-basis: 100px;
    flex-shrink: 0;
    flex-grow: 1;
}

ul.pub-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

ul.pub-list li {
    margin: 0 0 0 4.5em;
    min-width: 80%;
    flex: 0 0 80%;
    position: relative;
}

ul.pub-list .year {
    margin: 0;
    width: 4em;
    min-width: 50px;
    height: 4em;
    min-height: 50px;
    background-image: url("../images/pelota-public.png");
    background-position: center;
    background-size: cover;
    line-height: 4em;
    text-align: center;
    vertical-align: middle;
    position: absolute;
    left: -4.5em;
}

.people-org {
    position: relative;
}

.people-org .img-people {
    min-width: 678px;
    width: 100%;
}

.people-popover {
    position: absolute;
    border: white 1px solid;
    padding: 10px;
    color: white;
    background-color: rgba(0, 0, 0, 0.8);
}

#pop-people-mconcha {
    width: 50%;
    top: 0;
    left: 60%;
}

/*.stories-parent{
    position: fixed;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,1);
    z-index: 800;
}*/

#stories-parent {
    position: fixed;
    top: 80px;
    left: 0;
    bottom: 80px;
    width: 100%;

    /*height: 100%;*/
    background-color: rgba(0, 0, 0, 1);
    z-index: 800;
}

#stories-parent > img {
    height: 100%;
    margin: 0 auto;
}

#stories-main {
    flex-grow: 1;
    position: relative;
    height: 100%;
}

.stories-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding: 25px;
}

.story-text {
    flex-grow: 1;
    padding: 25px;
    flex-basis: 50%;
    overflow-y: auto;
}

#stories-menu {
    flex-basis: 200px;
    min-height: 200px;
}

#stories-center {
    flex-grow: 1;
    overflow-x: hidden;
    height: 200px;
    overflow-y: visible;
}

#stories-left, #stories-right {
    height: 100%;
    width: 40px;
    flex-basis: 40px;
    flex-grow: 0;
    flex-shrink: 0;
    font-size: 3em;
    line-height: 200px;
    text-align: center;
    vertical-align: middle;
}

#stories-left:hover, #stories-right:hover {
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.5);
}

#stories-carousel {
    height: 100%;
    overflow: visible;
    align-items: center;
    position: relative;
}

.stories-item {
    height: 180px;
    width: 200px;
    margin: 0 10px;
    flex-shrink: 0;
    overflow: hidden;
    background-color: black;
    transition: 0.2s linear;
    position: relative;
}

.stories-num {
    position: absolute;
    top: 0;
    left: 5px;

    /* font-weight: bold; */
    font-size: 2em;
}

.stories-item:hover,
.stories-item.stories-active {
    width: 220px;
    height: 198px;
    border: 2px solid #c0d383;

    /* visual d green */
}

.stories-item.stories-active {
    z-index: 900;
}

.stories-item:hover {
    z-index: 1000;
}

.stories-item > img {
    min-width: 100%;
    min-height: 100%;
}

.slide-image.video-slide {
    position: relative;
    height: 100%;
}

.video-div {
    width: 20%;
    height: 20%;
    overflow: hidden;
    position: absolute;
    transition: 0.3s linear all;
}

.video-div video {
    width: 100%;
    min-height: 100%;
}

.video-div:nth-child(1) {
    transform: scale(0.5);
    -webkit-filter: blur(8px);
    filter: blur(8px);
    left: 12%;
    top: 28%;
}

.video-div:nth-child(2) {
    transform: scale(0.7);
    -webkit-filter: blur(2.5px);
    filter: blur(5px);
    left: 25%;
    top: 20%;
}

.video-div:nth-child(3) {
    transform: scale(0.8);
    -webkit-filter: blur(2px);
    filter: blur(2px);
    left: 10%;
    top: 40%;
}

.video-div:nth-child(4) {
    transform: scale(1);
    -webkit-filter: blur(1px);
    filter: blur(1px);
    left: 25%;
    top: 60%;
}

.video-div:nth-child(5) {
    transform: scale(1.1);
    left: 20%;
    top: 50%;
}

.video-div:hover {
    /*right: 45% !important;
    left:auto !important;
    top: 0 !important;*/
    filter: none;
    -webkit-filter: none;
    transform: scale(1.2);
    z-index: 1000;
}

.video-div.playing {
    width: 80vw;
    height: 80vh;
    position: fixed;
    top: 10vh !important;
    bottom: 10vh !important;
    left: 10vw !important;
    right: 10vw !important;
    filter: none;
    -webkit-filter: none;
    transform: scale(1);
    z-index: 1000;
}

.video-div.playing video {
    min-width: 80%;
}

@media screen and (min-width: 1200px) {
    body {
        font-size: 16px;
    }
}

@media screen and (min-width: 2500px) {
    body {
        font-size: 50px;
    }
}

@media screen and (max-device-width: 800px) {
    html {
        background: url(polina.jpg) #000 no-repeat center center fixed;
    }

    #bgvid {
        display: none;
    }
}
