/* FONTS */

@font-face {
    font-family: 'Helvetica Neue';
    src: url('./fonts/HelveticaNeueLTStd-Hv.otf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('./fonts/HelveticaNeueLTStd-Bd.otf');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('./fonts/HelveticaNeueLTStd-Lt.otf');
    font-weight: lighter;
    font-style: normal;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('./fonts/HelveticaNeueLTStd-It.otf');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('./fonts/HelveticaNeueLTStd-MdIt.otf');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('./fonts/HelveticaNeueLTStd-LtIt.otf');
    font-weight: lighter;
    font-style: italic;
}


/* \FONTS */

body {
    padding: 50px 20px 30px;
    color: #000;
    font-family: 'Helvetica Neue';
    font-weight: 300;
}

@media (max-width: 512px) {
    body {
        padding: 0px;
    }
}

@media (max-width: 320px) {
    body {
        font-size: .85rem;
    }
}

h1 {
    font-weight: 700;
    font-size: 51px;
    line-height: 46px;
    margin-top: 8px;
}

h2 {
    font-size: 32px;
    line-height: 30px;
}

hr {
    border-color: #000;
}

img {
    max-width: 100%;
}

a {
    color: #000;
}

a:hover {
    text-decoration: none;
}

.bold {
	font-weight: bold;
}

/* Menu */

.menu {
    list-style: none;
    padding: 0px;
}

.menu li {
    background-color: #000;
    margin-bottom: 10px;
    line-height: 22px;
    display: flex;
}

.menu a {
    color: #fff;
    font-weight: bold;
    font-size: 20px;
    display: block;
    padding: 0px 10px;
    margin-top: 5px;
}

.menu li:hover,
.menu li.active {
    background-color: #fff;
}

.menu li:hover a,
.menu li.active a {
    color: #000;
    text-decoration: none;
}

#title_menu {
    padding-top: 15px;
}

.menu-subtitle {
    display: block;
    font-size: 12px;
    /*white-space: nowrap;*/
}

.menu-title {
    display: block;
    font-weight: bold;
    font-size: 21px;
    line-height: 21px;
    /*white-space: nowrap;*/
}

.home-page #title_menu,
.list-page #title_menu,
.project-page #title_menu {
    display: none;
}

@media (max-height: 375px) {
    #title_menu .menu-title {
        font-size: 18px;
        line-height: 21px;
        white-space: nowrap;
    }
    #title_menu .menu-subtitle {
        font-size: 10px;
    }
}

@media (max-width: 768px) {
    #title_menu .menu-title {
        font-size: 17px;
        line-height: 21px;
    }
    #title_menu .menu-subtitle {
        font-size: 13px;
    }
}

@media (max-width: 512px) {
    .fix nav {
        position: fixed;
        z-index: 1;
        left: 0px;
        right: 0px;
        top: 0px;
        padding: 30px 50px 0px;
        background: #fff;
    }
    #title_menu {
        display: block !important;
        text-align: center;
        padding: 0;
        margin-bottom: 10px;
    }
    #title_menu .menu-title {
        font-size: 31px;
        line-height: 30px;
        white-space: nowrap;
    }
    #title_menu .menu-subtitle {
        font-size: 18px;
    }
    .menu {
        text-align: center;
    }
    .menu a {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 320px) {
    #title_menu .menu-title {
        font-size: 24px;
        line-height: 26px;
    }
    #title_menu .menu-subtitle {
        font-size: 13px;
    }
}


/* Footer */

footer {
    font-size: 11px;
}

footer a {
    padding: 4px 5px 2px;
}

footer a:hover {
    color: #fff;
    background-color: #000;
    border-radius: 2px;
}

footer a.logo {
    display: inline-block;
    padding: 10px 5px 20px;
}

footer a.logo:hover {
    color: #fff;
    background: none;
    border-radius: 0px;
}

footer ul {
    margin-bottom: 8px;
}

footer .list-inline-item:not(:last-child) {
    margin-right: 1px;
}

footer hr {
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 15px;
    margin-right: 15px;
}

@media (max-width: 512px) {
    footer hr {
        margin: 10px 0px;
    }
    footer p {
        margin-bottom: 10px;
    }
}


/* Modal */

.modal {
    padding: 0px;
}

.modal .modal-header {
    border: none;
    padding: 0px;
}

.modal .close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    opacity: 1;
    z-index: 2;
}

.modal .modal-content {
    border-radius: 0px;
}

.modal .modal-full {
    max-width: 95vw;
}


/* Pages */

.page {
    min-height: calc(100vh - 177px);
}

.page>.row {}

.content {}

.scrollable {
    /*overflow-y: auto;*/
    height: auto !important;
}

@media (max-width: 512px) {
    .page {
        min-height: 100%;
        padding: 30px 50px;
    }
    .scrollable {
        height: auto !important;
    }
}


/* Home page */


/* List page */


/* .home-page h1 { white-space: nowrap; } */


/* .home-page h2 { white-space: nowrap; } */

.grid {}

.grid-item {
    margin-bottom: 30px;
}


/*
.grid-item:nth-child(8),
.grid-item:nth-child(9),
.grid-item:nth-child(10),
.grid-item:nth-child(11) {
    margin-bottom: 0px;
}
*/

.grid-item:nth-child(11),
.grid-item:nth-child(12) {
    margin-bottom: 0px;
}

.profile-thumb {
    /* Display all elements in viewport */
    /*height: calc(27.7vh - 30px);*/
}

.profile-thumb img {
    max-width: 100%;
    max-height: 100%;
    margin: 0 auto;
    display: block;
}

.overlay {
    position: absolute;
    top: 0;
    /*3%;*/
    left: 0;
    /*4%;*/
    width: 100%;
    /*92%;*/
    height: 100%;
    /*94%;*/
    background-color: rgba(255, 255, 255, 0.75);
    padding: 15px;
    align-items: center;
    visibility: hidden;
}

.profile-thumb:hover .overlay {
    visibility: visible;
}

.overlay.d-flex .text-center {
    margin: 0 auto;
}

a.overlay {
    color: #000;
    font-weight: 300;
    font-style: italic;
    text-decoration: none;
}

@media (max-height: 375px) {
    .home-page h1,
    .list-page h1 {
        font-size: 30px;
        line-height: 36px;
    }
    .home-page h2,
    .list-page h2 {
        font-size: 16px;
        line-height: 20px;
    }
}

@media (max-width: 1024px) {
    .home-page h1,
    .list-page h1 {
        font-size: 39px;
        line-height: 42px;
    }
    .home-page h2,
    .list-page h2 {
        font-size: 21px;
        line-height: 20px;
    }
}

@media (max-width: 768px) {
    .home-page h1,
    .list-page h1 {
        font-size: 28px;
        line-height: 32px;
    }
    .home-page h2,
    .list-page h2 {
        font-size: 16px;
        line-height: 20px;
    }
}

@media (max-width: 512px) {
    .home-page h1,
    .list-page h1 {
        display: none;
    }
    .home-page h2,
    .list-page h2 {
        display: none;
    }
    .grid-item {
        margin-bottom: 0px;
        min-height: 50vh;
    }
    .grid-item:first-child {
        display: none;
    }
    .overlay {
        position: relative;
        visibility: visible;
        display: block !important;
        padding: 15px 0px 25px;
        width: 100%;
        height: auto;
        top: 0;
        left: 0;
    }
    .overlay>span {
        display: block;
    }
    .overlay .title .d-block {
        display: inline-block !important;
    }
}


/* Detail page */

.detail-page h1 {
    text-align: right;
    font-style: italic;
    font-weight: normal;
    font-size: 125px;
    line-height: 120px;
}

.detail-page h2 {
    font-weight: bold;
    font-size: 27px;
}

.detail-page h3 {
    font-weight: bold;
    font-size: 22px;
}

.detail-page h4 {
    font-weight: normal;
    font-size: 18px;
}

.detail-img {
    padding-bottom: 20px;
    /* max-height: 90vh; */
    /*60vh;*/
    position: relative;
}

.detail-img>div {
    position: absolute;
    height: 100%;
    width: calc(100% - 30px);
}

.detail-img img {
    max-height: 100%;
    /*height: 100%;*/
}

.detail-info a {
    font-style: italic;
    text-decoration: underline;
}

.detail-page .navigation {
    margin: 20px 0px;
}

.detail-page .navigation a {
    font-size: 30px;
    font-weight: bold;
    padding: 10px 15px;
}

.detail-page .navigation a:hover {
    color: #fff;
    background-color: #000;
    border-radius: 4px;
}

@media (max-height: 375px) {
    .detail-img {
        max-height: 90vh;
    }
}

@media (max-width: 992px) {
    .detail-page h1 {
        font-size: 70px;
        line-height: 70px;
    }
}

@media (max-width: 767px) {
    .detail-img {
        height: 100% !important;
        min-height: 100% !important;
        max-height: 100% !important;
        width: auto;
        max-width: 100% !important;
        /*
        max-height: 100%;
		max-width: 100% !important;
		*/
    }
    .detail-img>div {
        position: relative;
        height: 100%;
        width: 100%;
    }
}

@media (max-width: 512px) {
    .detail-page h3 {
        margin-bottom: 0px;
    }
    /* .detail-info p { margin-bottom: 0px; } */
    .detail-bottom {
        display: none;
    }
    /* .modal .detail-img { position: fixed; z-index: 1; background: #fff;} */
}

@media (max-width: 320px) {
    .detail-page h2 {
        font-size: 24px;
    }
}


/* All visible in viewport */


/*
.detail-page .content {
	height: 45vh;
}
.detail-page .content > .row {
	height: 100%;
}
.detail-img {
	max-height: 100%;
}
.detail-img img {
	max-height: 100%;
}
.detail-content {
	
}
.detail-bottom {
	max-height: 30vh;
}
*/


/* Project page */


/* Project page */

@media (max-width: 512px) {
    .project-page h1 {
        display: none;
    }
    .project-page h2 {
        display: none;
    }
}


/* Information page */

.activitiy {
    margin-bottom: 30px;
}

.activitiy .title {
    font-weight: bold;
    font-style: italic;
    margin-bottom: 0px;
}

.activitiy .subtitle {
    font-weight: bold;
    margin-bottom: 0px;
}

.activitiy .place {
    font-style: italic;
    margin-bottom: 0px;
}

.activitiy .text {}

@media (max-width: 512px) {
    .information-page h1 {
        font-size: 40px;
        line-height: 36px;
    }
    /*.information-page h2 { font-size: 22px; line-height: 26px; text-align: center; }*/
}

@media (max-width: 320px) {
    .information-page h1 {
        font-size: 24px;
        line-height: 26px;
        text-align: center;
    }
    .information-page h2 {
        font-size: 22px;
        line-height: 26px;
        text-align: center;
    }
}


/* General */

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

.relative {
    position: relative;
}

.mt0 {
    margin-top: 0px;
}

.mt5 {
    margin-top: 5px;
}

.mt10 {
    margin-top: 10px;
}

.mt15 {
    margin-top: 15px;
}

.mt20 {
    margin-top: 20px;
}

.mt25 {
    margin-top: 25px;
}

.mt30 {
    margin-top: 30px;
}

.mt35 {
    margin-top: 35px;
}

.mt40 {
    margin-top: 40px;
}

.mt45 {
    margin-top: 45px;
}

.mt50 {
    margin-top: 50px;
}

.mt55 {
    margin-top: 55px;
}

.mt60 {
    margin-top: 60px;
}

.mt65 {
    margin-top: 65px;
}

.mt70 {
    margin-top: 70px;
}

.mt75 {
    margin-top: 75px;
}

.mt80 {
    margin-top: 80px;
}

.mt85 {
    margin-top: 85px;
}

.mb0 {
    margin-bottom: 0px;
}

.mb5 {
    margin-bottom: 5px;
}

.mb10 {
    margin-bottom: 10px;
}

.mb15 {
    margin-bottom: 15px;
}

.mb20 {
    margin-bottom: 20px;
}

.mb25 {
    margin-bottom: 25px;
}

.mb30 {
    margin-bottom: 30px;
}

.mb35 {
    margin-bottom: 35px;
}

.mb40 {
    margin-bottom: 40px;
}

.mb45 {
    margin-bottom: 45px;
}

.mb50 {
    margin-bottom: 50px;
}

.mb55 {
    margin-bottom: 55px;
}

.mb60 {
    margin-bottom: 60px;
}

.mb65 {
    margin-bottom: 65px;
}

.mb70 {
    margin-bottom: 70px;
}

.mb75 {
    margin-bottom: 75px;
}

.mb80 {
    margin-bottom: 80px;
}

.mb85 {
    margin-bottom: 85px;
}

.ml0 {
    margin-left: 0px;
}

.ml5 {
    margin-left: 5px;
}

.ml10 {
    margin-left: 10px;
}

.ml15 {
    margin-left: 15px;
}

.ml20 {
    margin-left: 20px;
}

.ml25 {
    margin-left: 25px;
}

.ml30 {
    margin-left: 30px;
}

.ml35 {
    margin-left: 35px;
}

.ml40 {
    margin-left: 40px;
}

.ml45 {
    margin-left: 45px;
}

.ml50 {
    margin-left: 50px;
}

.ml55 {
    margin-left: 55px;
}

.ml60 {
    margin-left: 60px;
}

.ml65 {
    margin-left: 65px;
}

.ml70 {
    margin-left: 70px;
}

.ml75 {
    margin-left: 75px;
}

.ml80 {
    margin-left: 80px;
}

.ml85 {
    margin-left: 85px;
}

.mr0 {
    margin-right: 0px;
}

.mr5 {
    margin-right: 5px;
}

.mr10 {
    margin-right: 10px;
}

.mr15 {
    margin-right: 15px;
}

.mr20 {
    margin-right: 20px;
}

.mr25 {
    margin-right: 25px;
}

.mr30 {
    margin-right: 30px;
}

.mr35 {
    margin-right: 35px;
}

.mr40 {
    margin-right: 40px;
}

.mr45 {
    margin-right: 45px;
}

.mr50 {
    margin-right: 50px;
}

.mr55 {
    margin-right: 55px;
}

.mr60 {
    margin-right: 60px;
}

.mr65 {
    margin-right: 65px;
}

.mr70 {
    margin-right: 70px;
}

.mr75 {
    margin-right: 75px;
}

.mr80 {
    margin-right: 80px;
}

.mr85 {
    margin-right: 85px;
}