body{ margin: 0 2.8rem; } h1,h2,h3,h4,h5{ margin: 0; padding: 0; } body, html { height: 100%; #page-wrapper{ min-height: 90%; } #body-wrapper{ margin-top: 6rem; } } .home, .blog{ #item{ .card{ margin-bottom: 6rem; &:nth-child(5n+1){ width: $first_card; .card-header{ margin-bottom: 3rem; } .card-image{ display: flex; width: auto; overflow: hidden; align-items: center; justify-content: center; max-height: 800px; width: 100%; } } &:not(:nth-child(5n+1)){ width: $all_card; .card-header{ margin-bottom: 1.5rem; } .card-image{ display: flex; // min-height: 600px; height: auto; width: 100%; overflow: hidden; align-items: center; justify-content: center; } } .card-header{ span{ margin-right: 1rem; } } .card-cat{ margin-bottom:0.6rem; } } } } .archives, .news{ #body-wrapper{ width: calc((#{$width} / #{$nbr_col}) * 9.5);; margin-bottom: 2rem; #item{ @include flexbox; .card{ width: calc((100% / 3) - 1.4rem ); margin-bottom: 5rem!important; padding: 0!important; &:nth-child(3n+2){ margin: 0 1.4rem; } .card-header{ margin-bottom: 0.5rem; } .card-image{ display: flex; // max-height: 375px; width: 100%; overflow: hidden; align-items: center; justify-content: center; } } } } } .item{ margin-bottom: 6rem; width: $first_card; .item_content{ h3{ margin: 2rem 0; } } .item_title{ margin-bottom: 3rem; } .item_img{ margin-bottom: 3rem; } .item_date{ margin-bottom: 1.5rem; } } .events, .default{ #body-wrapper{ .item{ .item_title{ margin-bottom: 3rem; } .item_img{ margin-bottom: 3rem; } .item_content{ width: 90%; display: inline-flex; .content{ width: 100%; margin-right: 5rem; } .side{ padding-left: 1rem; margin-top: 1rem; position: relative; } } .item_date{ margin-bottom: 1.5rem; } } } } .buy{ min-width: 300px; position: absolute; a{ font-family: $Bold; text-transform: uppercase; font-size: 1.3rem; line-height: 1.9rem; padding: 0.6rem 1rem; background: black; color: white; } } .default{ .item_content{ margin-bottom: 3rem; } } #start{ #body-wrapper{ #item{ @include flexbox; align-items: flex-end; } } } .home{ #item{ .card{ &.hidden{ display: none; } &.visible{ display: block; } } .more{ width: 100%; text-align: center; a{ font-family: $Bold; font-size: 1.6rem; text-transform: uppercase; } } } } .home, .blog, .current-upcoming{ .card{ &:nth-child(5n+2){ padding-right: 0.7rem; } &:nth-child(5n+3){ padding-left: 0.7rem; } &:nth-child(5n+4){ padding-right: 0.7rem; } &:nth-child(5n+5){ padding-left: 0.7rem; } } } .modular{ #item{ margin-bottom: 6rem; } .press{ #body-wrapper{ width: $first_card; #item{ .card{ display: inline-flex; margin-bottom: 1rem; .date{ min-width: 200px; } .content{ p{ margin: 0; } } } } } } .visit-us{ #body-wrapper{ width: calc((100% / 12) * 8)!important; } section{ &:not(:nth-last-child(1)){ margin-bottom: 6rem; } .map_header{ margin-bottom: 3rem; } .map_content{ display: inline-flex; .image{ width: 50%; margin-right: 1.4rem; .img{ height: 400px; overflow: hidden; display: flex; align-items: center; justify-content: center; img{ width: auto!important; height: 100%; } } } .maps{ width: 50%; & > .map{ height: 400px; } .adress{ margin-top: 1rem; span{ line-height: 1.5rem; } } } } } } } .modular{ #start{ &.visit-us{ header{ display: none; } } #body-wrapper{ .list_press{ @include flexbox; // width: 70%; align-items: baseline; flex-wrap: nowrap; margin-bottom: 0.8rem; .date{ margin-right: 3rem; } } section{ &.insitu{ width: 100%; margin-bottom: 3.2rem; .header{ margin-bottom: 1rem; } .content-warp{ width: 100%; @include flexbox; & > div{ width: 50%; &.image{ padding-right: 1rem; .img{ overflow: hidden; min-height: 400px; display: flex; width: auto; height: 400px; img{ width: auto; height: 100%; margin: auto; } } .content{ margin-top: 1rem; text-transform: none; color: $grey; p{ line-height: 1.2rem; } } } } } .leaflet-container{ width: 100%; height: 400px; } .maps{ .adress{ margin-top: 1rem; text-transform: none; span{ display: block; } } } } } } } .news{ .card{ .card-image{ display: flex; width: 100%; // height: 300px; overflow: hidden; align-items: center; } } } } .content-item{ width: $first_card; h2{ margin-bottom: 1.6rem; } .date{ margin: 1.2rem 0; } .e-content{ width: $first_card; p{ margin-bottom: 1.2rem; } } }