Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @import url('https://fonts.googleapis.com/css?family=Raleway:100,200,300,400');
- /*
- animation-name: stretch;
- animation-duration: 1.5s;
- animation-timing-function: ease-out;
- animation-delay: 0;
- animation-direction: alternate;
- animation-iteration-count: infinite;
- animation-fill-mode: none;
- animation-play-state: running;
- animation: name, duration, timing-function, delay, iteration-count, direction, fill-mode, play-state;
- animation: name duration delay interations direction fillmode;
- */
- * {
- margin:0;
- padding:0;
- }
- .navigation a { height: auto; float: none; margin: 52px 20px 0 20px; width: 200px; vertical-align: top; }
- .header .navigation .line { float: none; margin: 60px 0px 0px 0px; height: 60px; background-color: #b8b8b8; }
- .navigation a:nth-child(1) h1 { color: #8ec640; font-weight: bold; }
- .navigation a:nth-child(3) h1 { color: #8ec640; font-weight: bold; }
- .navigation a:nth-child(5) h1 { color: #8ec640; font-weight: bold; }
- .navigation a h2 { color: #8b8b8b; font-weight: 100; font-family: sans-serif; font-size: 12px; margin-top: 10px; line-height: 16px; }
- .navigation .navigation-two a h1 { color: rgba(108,108,108,1); font-weight: bold; font-size: 14px; }
- .navigation .navigation-two a { margin: 77px 10px 0 0px; width: auto; transition: margin 0.5s 0.1s ease; }
- .navigation .navigation-two a.toggled { margin: 110px 10px 0 0px; transition: margin 0.5s ease; }
- .navigation-two {
- position: absolute;
- display: inline-block;
- top: -50px;
- right: 0;
- }
- .navigation { text-align: center; }
- .navigation .mainbutton1 h1,
- .navigation .mainbutton2 h1,
- .navigation .mainbutton3 h1,
- .navigation .mainbutton1 h2,
- .navigation .mainbutton2 h3,
- .navigation .mainbutton3 h4 {
- transition: color 0.5s ease;
- }
- .navigation .mainbutton1:hover h1,
- .navigation .mainbutton2:hover h1,
- .navigation .mainbutton3:hover h1 {
- color: #767676;
- }
- .navigation .mainbutton1:hover h2,
- .navigation .mainbutton2:hover h2,
- .navigation .mainbutton3:hover h2 {
- color: #8ec640;
- }
- .background {
- position: relative;
- display: inline-block;
- width: 100%;
- height: 90vh;
- margin-top: 10vh;
- text-align: center;
- overflow: hidden;
- z-index: 1;
- }
- .backgroundimage {
- position: absolute;
- bottom: -100px;
- left: 0;
- float: none;
- min-width: 100%;
- min-height: 100%;
- }
- .insidecontainer {
- position: absolute;
- display: inline-block;
- bottom: 0;
- left: 0;
- width: 100%;
- }
- .insidecontainer .topcontainer {
- position: relative;
- display: inline-block;
- background-color: #ffffff;
- z-index: 10;
- width: 60%;
- margin: 0 auto;
- vertical-align: bottom;
- }
- .insidecontainer .topcontainer .left {
- position: relative;
- display: inline-block;
- float: left;
- width: 50%;
- height: 97%;
- padding: 3% 5% 0 5%;
- box-sizing: border-box;
- text-align: left;
- }
- .topcontainer .left h1 {
- display: inline-block;
- color: rgba(0,0,0,0.8);
- line-height: 26px;
- font-size: 18px;
- font-weight: bold;
- font-family: sans-serif;
- }
- .topcontainer .left span {
- font-size: 22px;
- }
- .topcontainer .left h2 {
- display: inline-block;
- color: rgba(0,0,0,0.8);
- line-height: 20px;
- margin: 20px 0;
- font-size: 15px;
- font-weight: 100;
- font-family: sans-serif;
- }
- .topcontainer .left .findoutmorebutton {
- position: relative;
- display: inline-block;
- text-decoration: none;
- }
- .topcontainer .left h3 {
- display: inline-block;
- color: #ffffff;
- font-size: 16px;
- font-family: sans-serif;
- font-weight: 600;
- background-color: #8ec640;
- padding: 12px 18px;
- margin-top: 15px;
- }
- .topcontainer .left .findoutmorebutton img {
- position: absolute;
- display: inline-block;
- color: #ffffff;
- background-color: #8ec640;
- padding: 12px 18px 12px 0px;
- margin-top: 15px;
- height: 18px;
- right: -25px;
- top: 0;
- transition: right 0.3s ease, padding 0.3s ease;
- }
- .topcontainer .left .findoutmorebutton:hover img {
- padding: 12px 8px 12px 10px;
- right: -24px;
- }
- .topcontainer .middle {
- display: inline-block;
- position: absolute;
- width: 1px;
- height: 70%;
- top: 15%;
- bottom: 0;
- left: 50%;
- right: 0;
- background-color: rgba(0,0,0,0.2);
- }
- .insidecontainer .topcontainer .right {
- position: relative;
- display: inline-block;
- float: left;
- width: 50%;
- height: 97%;
- padding: 3% 5% 0 5%;
- box-sizing: border-box;
- text-align: center;
- }
- .topcontainer .right h1 {
- display: inline-block;
- color: rgba(0,0,0,0.6);
- font-size: 22px;
- margin-bottom: 10px;
- font-weight: 200;
- font-family: sans-serif;
- }
- .topcontainer .right h2 {
- display: inline-block;
- color: rgba(0,0,0,0.4);
- font-size: 14px;
- font-weight: 100;
- font-family: sans-serif;
- }
- .topcontainer .right .leftbuttonarrowcontainer,
- .topcontainer .right .rightbuttonarrowcontainer {
- position: relative;
- display: inline-block;
- width: 10%;
- height: 100%;
- float: left;
- }
- .topcontainer .right .leftbuttonarrow,
- .topcontainer .right .rightbuttonarrow {
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- width: 100%;
- z-index: 5;
- }
- .topcontainer .right .leftbuttonarrow img,
- .topcontainer .right .rightbuttonarrow img{
- width: 100%;
- cursor: pointer;
- }
- .topcontainer .right .carouselcontainer {
- position: relative;
- display: inline-block;
- width: 100%;
- height: 150px;
- margin: 10% auto;
- }
- .quotecontainer {
- position: relative;
- display: inline-block;
- width: 80%;
- height: 100%;
- float: left;
- overflow: hidden;
- }
- .quotecontainer .quote {
- display: inline-block;
- position: absolute;
- height: 100%;
- width: 100%;
- left: 0;
- top: 0;
- font-size: 18px;
- line-height: 25px;
- color: rgba(0,0,0,0.4);
- }
- .quotecontainer .quote img {
- position: absolute;
- display: inline-block;
- bottom: 0;
- left: 50%;
- transform: translateX(-50%);
- max-width: 200px;
- max-height: 130px;
- min-width: auto;
- min-height: auto;
- }
- .timelinecontainer {
- position: relative;
- display: inline-block;
- vertical-align: bottom;
- background-color: #8ec640;
- z-index: 10;
- width: 100%;
- margin: 0 auto;
- text-align: center;
- }
- .timelinecontainer .title {
- position: relative;
- display:table;
- width: 100%;
- margin: auto;
- text-align: center;
- }
- .timelinecontainer .title h1 {
- position: relative;
- display:inline-block;
- font-family: sans-serif;
- font-size: 25px;
- font-weight: bold;
- color: #ffffff;
- margin: auto;
- margin-top: 10px;
- vertical-align: middle;
- width: 100%;
- }
- .timelinecontainer .title h2 {
- position: relative;
- display:inline-block;
- font-family: sans-serif;
- font-size: 15px;
- font-weight: 100;
- color: #ffffff;
- margin: auto;
- margin-bottom: 10px;
- vertical-align: middle;
- width: 100%;
- }
- .timelinecontainer .date {
- position: relative;
- display: inline-block;
- font-size: 1.5vh;
- font-weight: 100;
- font-family: sans-serif;
- color: #ffffff;
- background-color: #72a031;
- border-top: 2px solid #ffffff;
- border-right: 2px solid #ffffff;
- border-left: 2px solid #ffffff;
- text-align: center;
- width: 7%;
- padding-top: 10px;
- padding-bottom: 10px;
- transition: all 0.1s ease;
- cursor: pointer;
- border-radius: 5px 5px 0 0 ;
- margin: 0 -3px;
- }
- .timelinecontainer .date.selected {
- margin: 0 5px;
- background-color: #ffffff;
- color: #7aac34;
- transition: all 0.5s ease;
- }
- .timelineyear-holder {
- position: relative;
- display: inline-block;
- width: 80%;
- max-height: 0px;
- margin: 0 10% 0px 10%;
- text-align: center;
- z-index: 11;
- transition: max-height 1s cubic-bezier(0, 0.82, 0.12, 0.99);
- }
- .timelineyear-holder.open {
- max-height: 700px;
- transition: max-height 1s ease;
- }
- .timelineyear {
- position: relative;
- float: left;
- width: 100%;
- padding: 50px 10px;
- font-family: sans-serif;
- font-weight: 100;
- font-size: 14px;
- color: rgba(0,0,0,0.4);
- background-color: transparent;
- opacity: 0;
- overflow: hidden;
- text-align: center;
- box-sizing: border-box;
- animation: timelineanimation 1s 0s 1 normal forwards;
- }
- .timelineyear.hidden {
- opacity: 0;
- display: none;
- }
- @keyframes timelineanimation {
- 0% { display: none; }
- 1% { display: inline-block; opacity: 0; }
- 100% { display: inline-block; opacity: 1; }
- }
- .timelineyear .closebutton {
- position: absolute;
- display: inline-block;
- top: 5px;
- right: 10px;
- font-size: 25px;
- font-family: sans-serif;
- font-weight: 100;
- color: #8ec640;
- cursor: default;
- }
- .timelineyear .timelineevent:nth-child(1) {
- border: none;
- }
- .timelineyear .timelineevent {
- position: relative;
- display: inline-block;
- width: 251px;
- height: 250px;
- padding: 0 10px;
- margin: 0 -3px;
- border-left: 1px solid #a5a5a5;
- vertical-align: top;
- }
- .timelineyear .timelineevent img {
- margin-top: 10px;
- max-width: 90%;
- max-height: 50%;
- }
- .timelineyear .timelineevent h1 {
- margin-bottom: 10px;
- margin-top: 10px;
- margin-left: 5%;
- padding-top: 10px;
- width: 90%;
- font-weight: 100;
- font-family: sans-serif;
- font-size: 18px;
- color: #a5a5a5;
- /*border-top: 1px solid #8ec640;*/
- }
- /* MEDIA QUERIES */
- /* ----------------------------------------------------*/
- /* Code That Doesnt Change Between Mobile Resolution */
- /* ----------------------------------------------------*/
- @media only screen and (min-width : 0px) and (max-width : 992px) {
- .background { margin-top: 0; }
- .insidecontainer .topcontainer { width: 100%; }
- .insidecontainer .topcontainer .left { padding-bottom: 10px; }
- }
- /* ----------------------------------------------------*/
- /* Custom, iPhone Retina */
- /* ----------------------------------------------------*/
- @media only screen and (max-width : 320px) {
- .timelineyear .timelineevent {
- height: auto;
- width: 90%;
- box-sizing: border-box;
- margin: 5% 10px;
- }
- .insidecontainer .topcontainer .left { width: 100%; text-align: center; border-bottom: 1px solid #d3d3d3;}
- .insidecontainer .topcontainer .middle { display: none; }
- .insidecontainer .topcontainer .right { width: 100% }
- .timelinecontainer .date {
- width: 25%;
- padding-top: 10px;
- padding-bottom: 10px;
- }
- .backgroundimage {
- position: absolute;
- bottom: auto;
- top: 0;
- left: 0;
- float: none;
- width: 100%;
- min-width: auto;
- min-height: 60vh;
- }
- .timelineyear .timelineevent:nth-child(1) {
- border-bottom: 1px solid #a5a5a5;
- border-left: none;
- }
- .timelineyear .timelineevent {
- border-bottom: 1px solid #a5a5a5;
- border-left: none;
- }
- }
- /* ----------------------------------------------------*/
- /* Extra Small Devices, Phones */
- /* ----------------------------------------------------*/
- @media only screen and (min-width : 320px) and (max-width : 480px) {
- .timelineyear .timelineevent {
- height: auto;
- width: 90%;
- box-sizing: border-box;
- margin: 5% 10px;
- }
- .insidecontainer .topcontainer .left { width: 100%; text-align: center; border-bottom: 1px solid #d3d3d3; }
- .insidecontainer .topcontainer .middle { display: none; }
- .insidecontainer .topcontainer .right { width: 100% }
- .timelinecontainer .date {
- width: 25%;
- padding-top: 10px;
- padding-bottom: 10px;
- }
- .backgroundimage {
- position: absolute;
- bottom: auto;
- top: 0;
- left: 0;
- float: none;
- width: 100%;
- min-width: auto;
- min-height: 60vh;
- }
- .timelineyear-holder.open {
- max-height: 4000px;
- }
- .timelineyear .timelineevent:nth-child(1) {
- border-bottom: 1px solid #a5a5a5;
- border-left: none;
- }
- .timelineyear .timelineevent {
- border-bottom: 1px solid #a5a5a5;
- border-left: none;
- }
- }
- /* ----------------------------------------------------*/
- /* Small Devices, Tablets */
- /* ----------------------------------------------------*/
- @media only screen and (min-width : 480px) and (max-width : 768px) {
- .timelineyear .timelineevent {
- height: auto;
- width: 90%;
- box-sizing: border-box;
- margin: 5% 10px;
- }
- .insidecontainer .topcontainer .left { width: 100%; text-align: center; border-bottom: 1px solid #d3d3d3;}
- .insidecontainer .topcontainer .middle { display: none; }
- .insidecontainer .topcontainer .right { width: 100% }
- .timelinecontainer .date {
- width: 9%;
- padding-top: 10px;
- padding-bottom: 10px;
- }
- .backgroundimage {
- position: absolute;
- bottom: auto;
- top: 0;
- left: 0;
- float: none;
- width: 100%;
- min-width: auto;
- min-height: 60vh;
- }
- .timelineyear-holder.open {
- max-height: 4000px;
- }
- .timelineyear .timelineevent:nth-child(1) {
- border-bottom: 1px solid #a5a5a5;
- border-left: none;
- }
- .timelineyear .timelineevent {
- border-bottom: 1px solid #a5a5a5;
- border-left: none;
- }
- }
- /* ----------------------------------------------------*/
- /* Medium Devices, Desktops */
- /* ----------------------------------------------------*/
- @media only screen and (min-width : 768px) and (max-width : 992px) {
- .timelineyear .timelineevent {
- margin-bottom: 10px;
- }
- .timelineyear-holder.open {
- max-height: 1000px;
- }
- .timelineyear .timelineevent:nth-child(1) {
- border-right: 1px solid #a5a5a5;
- border-left: 1px solid #a5a5a5;
- }
- .timelineyear .timelineevent {
- border-right: 1px solid #a5a5a5;
- border-left: 1px solid #a5a5a5;
- }
- }
- /* ----------------------------------------------------*/
- /* Large Devices, Wide Screens */
- /* ----------------------------------------------------*/
- @media only screen and (min-width : 992px) and (max-width : 1200px) {
- .navigation a { margin: 52px 10px 0 10px; }
- .timelineyear .timelineevent {
- margin-bottom: 10px;
- }
- .timelineyear-holder.open {
- max-height: 1000px;
- }
- }
- /* ----------------------------------------------------*/
- /* SPECIAL DESKTOPS */
- /* ----------------------------------------------------*/
- @media only screen and (min-width : 1200px) and (max-width : 1350px) {
- .timelineyear .timelineevent {
- margin-bottom: 10px;
- }
- }
- /* ----------------------------------------------------*/
- /* SPECIAL DESKTOPS */
- /* ----------------------------------------------------*/
- @media only screen and (min-width : 1350px) and (max-width : 1515px) {
- .timelineyear .timelineevent {
- width: 180px;
- height: 240px;
- }
- }
- /* ----------------------------------------------------*/
- /* SPECIAL DESKTOPS */
- /* ----------------------------------------------------*/
- @media only screen and (min-width : 1515px) and (max-width : 1770px) {
- .timelineyear .timelineevent {
- width: 210px;
- height: 240px;
- }
- }
- /* ----------------------------------------------------*/
- /* PHONE HEIGHT */
- /* ----------------------------------------------------*/
- @media only screen and (min-height : 0px) and (max-height : 400px) { .background { height: 240vh; } }
- @media only screen and (min-height : 400px) and (max-height : 450px) { .background { height: 210vh; } }
- @media only screen and (min-height : 450px) and (max-height : 500px) { .background { height: 190vh; } }
- @media only screen and (min-height : 500px) and (max-height : 600px) { .background { height: 170vh; } }
- @media only screen and (min-height : 600px) and (max-height : 700px) and (max-width : 768px) { .background { height: 150vh; } }
- @media only screen and (min-height : 700px) and (max-height : 800px) and (max-width : 768px) { .background { height: 130vh; } }
- @media only screen and (min-height : 800px) and (max-height : 900px) and (max-width : 768px) { .background { height: 120vh; } }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement