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;
- }
- .header {
- top: 40px;
- height: 100px;
- }
- .header .logocontainer img {
- position: relative;
- display: block;
- width: 110px;
- margin: 0 auto;
- margin-top: 10px;
- max-width: auto;
- max-height: auto;
- left: auto;
- top: auto;
- }
- .header .navigation {
- width: 85%;
- }
- .navigation-three { display: none; }
- .navigation a { height: auto; float: none; margin: 0px 20px; width: 200px; vertical-align: top;}
- .header .navigation .line { float: none;margin: 10px 0px 0px 0px;height: 60px;background-color: #b8b8b8;}
- .navigation h1 { color: #8ec640; font-weight: bold; }
- .navigation a h2 { color: #8b8b8b; font-weight: 100; font-family: sans-serif; font-size: 11px; margin-top: 10px; line-height: 16px; }
- .navigation-two {
- position: absolute;
- display: inline-block;
- top: -50px;
- right: 0;
- }
- .navigation { text-align: center; padding: 10px 0 16px; height: auto; }
- .navigation a:nth-child(5) h1 { color: #8ec640; font-weight: bold; }
- .navigation a:nth-child(7) h1 { color: #8ec640; font-weight: bold; }
- .navigation a:nth-child(5) h1:hover { color: #8ec640; }
- .navigation a:nth-child(7) h1:hover { color: #8ec640; }
- .navigation .mainbutton1 h1,
- .navigation .mainbutton2 h1,
- .navigation .mainbutton3 h1,
- .navigation .mainbutton4 h1,
- .navigation .mainbutton1 h2,
- .navigation .mainbutton2 h2,
- .navigation .mainbutton3 h2 ,
- .navigation .mainbutton4 h2 {
- transition: color 0.5s ease;
- }
- .navigation .mainbutton1:hover h1,
- .navigation .mainbutton2:hover h1,
- .navigation .mainbutton3:hover h1,
- .navigation .mainbutton4:hover h1 {
- color: #767676;
- }
- .navigation .mainbutton1:hover h2,
- .navigation .mainbutton2:hover h2,
- .navigation .mainbutton3:hover h2,
- .navigation .mainbutton4:hover h2 {
- color: #8ec640;
- }
- .submenu {
- top: -140px;
- transition: top 0.7s ease, left 100ms 1s ease;
- }
- .submenu.visible {
- top: 100px;
- transition: top 1s ease;
- }
- /* IT solutions */
- .submenu-two {
- top: -300px;
- }
- /* about us */
- .submenu-four {
- top: -260px;
- }
- /* contact us */
- .submenu-five {
- top: -400px;
- }
- .firstheader {
- position: fixed;
- display: inline-block;
- width: 100%;
- height: 40px;
- background-color: #b0b0b0;
- z-index: 102;
- }
- .firstheader .innerbox {
- position: relative;
- display: inline-block;
- height: 40px;
- float: right;
- }
- .firstheader a {
- position: relative;
- display: inline-block;
- width: 80px;
- text-align: center;
- text-decoration: none;
- float: left;
- margin: 10px 0;
- transition: margin 0.5s ease;
- }
- .firstheader a h1 {
- color: #ffffff;
- font-weight: bold;
- font-size: 14px;
- }
- .firstheader a.searchbar_toggled {
- margin-right: 230px;
- }
- .firstheader .searchbar-container {
- position: relative;
- display: inline-block;
- width: 32px;
- height: 32px;
- background-color: transparent;
- box-sizing: border-box;
- float: left;
- margin: 4px 10px;
- }
- .firstheader .searchbar {
- position: absolute;
- display: inline-block;
- width: 32px;
- height: 32px;
- background-color: transparent;
- border: 2px solid #ffffff;
- box-sizing: border-box;
- right: 0;
- top: 0;
- transition: width 0.5s ease;
- }
- .firstheader .searchbar.toggled {
- width: 260px;
- }
- .firstheader .searchbar img {
- position: absolute;
- width: 20px;
- height: 20px;
- top: 5px;
- right: 5px;
- }
- .firstheader .searchbar input {
- position: absolute;
- top: 50%;
- left: 10px;
- width: 0;
- font-size: 12px;
- font-family: sans-serif;
- color: #ffffff;
- transform: translateY(-50%);
- border: 0;
- background-color: transparent;
- transition: width 0.5s ease;
- }
- .firstheader .searchbar.toggled input {
- width: 220px; /* width of search bar extended minus left minus search image*/
- }
- .firstheader .searchbar input:focus,
- .firstheader .searchbar input:valid {
- box-shadow: none;
- outline: none;
- background-position: 0 0;
- }
- .firstheader .shopbutton {
- position: relative;
- display: inline-block;
- height: 40px;
- background-color: #f47d31;
- float: left;
- margin: 0;
- cursor: default;
- }
- .firstheader .shopbutton .basket {
- width: 20px;
- height: 20px;
- margin: 8px 5px;
- margin-left: 20px;
- float: left;
- }
- .firstheader .shopbutton .arrow {
- width: 10px;
- height: 10px;
- margin: 14px 50px 0px 0px;
- float: left;
- }
- .firstheader .shopbutton h1 {
- font-size: 12px;
- font-weight: bold;
- font-family: sans-serif;
- color: #ffffff;
- float: left;
- width: auto;
- margin: 12px 10px 5px 0;
- }
- .firstheader .shopbutton:hover .dropdown {
- max-height: 300%;
- border: 1px solid #f47d31;
- transition: max-height 0.5s ease-in-out, border 0s 0s ease;
- }
- .firstheader .shopbutton .dropdown {
- position: absolute;
- display: inline-block;
- top: 100%;
- left: 0;
- width: 100%;
- z-index: 15;
- overflow: hidden;
- max-height: 0%;
- border: 0px solid #f47d31;
- transition: max-height 0.5s ease-in-out, border 0s 0.5s ease;
- box-sizing: border-box;
- }
- .firstheader .shopbutton .dropdown .option {
- position: relative;
- display: inline-block;
- /* height: 30px; */
- width: 100%;
- background-color: #ffffff;
- float: left;
- box-sizing: border-box;
- }
- .firstheader .shopbutton .dropdown .option a {
- display: inline-block;
- height: auto;
- width: 100%;
- }
- .firstheader .shopbutton .dropdown .option:hover h1 {
- color: #8ec640;
- margin:0px 5px 0 15px;
- }
- .firstheader .shopbutton .dropdown .option h1 {
- font-size: 11px;
- font-weight: bold;
- font-family: sans-serif;
- color: #000000;
- float: left;
- width: auto;
- margin:0px 5px 0 10px;
- transition: color 0.2s ease, margin 0.3s ease;
- }
- .firstheader .shopbutton .dropdown .option h2 {
- position: absolute;
- font-size: 14px;
- font-weight: bold;
- font-family: sans-serif;
- color: #000000;
- top: -4px;
- right: 5px;
- }
- .background {
- position: relative;
- display: inline-block;
- width: 100%;
- height: 100vh;
- text-align: center;
- overflow: hidden;
- z-index: 1;
- background-color: #ffffff;
- }
- .backgroundimage {
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- max-height: 100%;
- }
- .background .fter {
- position: absolute;
- display: inline-block;
- height: 50px;
- width: 100%;
- bottom: 0px;
- left: 0px;
- background-color: #6b6b6b;
- text-align: center;
- }
- .background .fter .socialcontainer {
- margin-top: 10px;
- position: relative;
- display: inline-block;
- }
- .background .fter .socialcontainer .button.b1,
- .background .fter .socialcontainer .button.b2,
- .background .fter .socialcontainer .button.b3 { border-right: 2px solid transparent; }
- .timelinecontainer {
- position: relative;
- display: inline-block;
- width: 100%;
- background-color: #ffffff;
- text-align: center;
- }
- .timelinecontainer .title h1 {
- position: relative;
- display: inline-block;
- font-family: 'Raleway';
- font-size: 40px;
- font-weight: 300;
- background-color: #ffffff;
- color: #b0b0b0;
- margin: 20px auto;
- width: 100%;
- text-align: center;
- }
- .timelinecontainer .slider {
- position: relative;
- display: inline-block;
- width: 100%;
- height: 168px;
- background-color: #595959;
- background-color: #b0b0b0;
- cursor: -webkit-grab;
- }
- .timelinecontainer .slider:before {
- content: '';
- position: absolute;
- display: inline-block;
- width: 30px;
- height: 30px;
- top: -15px;
- left: 50%;
- background-color: #ffffff;
- transform: translateX(-50%) rotateZ(45deg);
- }
- .timelinecontainer .slider:after {
- content: '';
- position: absolute;
- display: inline-block;
- width: 24px;
- height: 24px;
- bottom: -10px;
- left: 50%;
- background-color: #b0b0b0;
- transform: translateX(-50%) rotateZ(45deg);
- }
- .timelinecontainer .slider .leftgradient {
- position: absolute;
- display: inline-block;
- top: 0;
- left: 0;
- width: 30%;
- max-width: 324px;
- height: 100%;
- z-index: 2;
- background-image: url(../images/index/gradient.png);
- }
- .timelinecontainer .slider .rightgradient {
- position: absolute;
- display: inline-block;
- top: 0;
- right: 0;
- width: 30%;
- max-width: 324px;
- height: 100%;
- z-index: 2;
- transform: rotateZ(180deg);
- background-image: url(../images/index/gradient.png);
- }
- .timelinecontainer .slider .slider_inner {
- position: relative;
- overflow: hidden;
- width: 90%;
- margin: 0 auto;
- text-align: center;
- height: 100%;
- }
- .timelinecontainer .slider .slider_inner:after {
- content: '';
- position: absolute;
- display: block;
- border-bottom: 3px dotted #ffffff;
- height: 10px;
- width: 100%;
- left: 0;
- bottom: 40px;
- }
- .timelinecontainer .slider .slider_inner .dates {
- position: absolute;
- background-color: #b0b0b0;
- width: 3000px;
- padding-left: 50.5%;
- margin-left: -85px;
- top: 50px;
- }
- .timelinecontainer .slider .slider_inner .date {
- position: relative;
- display: inline;
- float: left;
- font-size: 30px;
- font-weight: bold;
- font-family: 'Work Sans';
- margin: 10px 0px;
- width: 150px;
- color: #d8d8d8;
- transition: font-size 0.4s ease 0s,
- margin 0.4s ease 0s;
- margin-top: 20px;
- -webkit-touch-callout: none; /* iOS Safari */
- -webkit-user-select: none; /* Safari */
- -khtml-user-select: none; /* Konqueror HTML */
- -moz-user-select: none; /* Firefox */
- -ms-user-select: none; /* Internet Explorer/Edge */
- user-select: none; /* Non-prefixed version, currently
- supported by Chrome and Opera */
- cursor: pointer;
- }
- .timelinecontainer .slider .date:after {
- content: '';
- position: absolute;
- display: block;
- width: 18px;
- height: 18px;
- border-radius: 100%;
- background-color: #ffffff;
- left: 50%;
- bottom: -30px;
- transform: translateX(-50%);
- transition: bottom 0.4s ease 0.5s;
- }
- .timelinecontainer .slider .date.selected {
- transition: font-size 0.4s ease 0.5s,
- margin 0.4s ease 0.5s;
- font-size: 50px;
- margin-top: 0px;
- color: #ffffff;
- }
- .timelinecontainer .slider .date.selected:after {
- bottom: -27px;
- }
- .timelinecontainer .year-content {
- position: relative;
- display: inline-block;
- width: 100%;
- height: 350px;
- /* background-color: #ffffff; */
- margin: 30px 0;
- overflow: hidden;
- }
- .timelinecontainer .year-content .leftarrow {
- position: relative;
- display: inline-block;
- float: left;
- width: 10%;
- max-width: 60px;
- height: 100%;
- z-index: 2;
- transition: scale 0.3s ease;
- }
- .timelinecontainer .year-content .rightarrow {
- position: relative;
- display: inline-block;
- float: right;
- width: 10%;
- max-width: 50px;
- height: 100%;
- z-index: 2;
- transition: scale 0.3s ease;
- }
- .timelinecontainer .year-content .leftarrow:hover,
- .timelinecontainer .year-content .rightarrow:hover {
- transform: scale(1.2);
- }
- .timelinecontainer .year-content .leftarrow img,
- .timelinecontainer .year-content .rightarrow img {
- position: absolute;
- display: inline-block;
- top: 50%;
- width: 80%;
- left: 10%;
- transform: translateY(-50%);
- }
- .timelinecontainer .year-content .year-content-inner {
- position: absolute;
- display: inline-block;
- width: 3000vw;
- height: 300px;
- top: 0;
- left: 0;
- }
- .timelinecontainer .year-content .yearData {
- position: relative;
- display: inline-block;
- width: 100vw;
- height: 350px;
- float: left;
- text-align: center;
- }
- .timelinecontainer .year-content .yearData .centerallign {
- position: relative;
- display: inline-block;
- text-align: center;
- }
- .timelinecontainer .year-content .yearData .centerallign .event {
- position: relative;
- display: inline-block;
- width: 240px;
- height: 290px;
- padding: 20px 10px 0px 10px;
- float: left;
- box-sizing: border-box;
- border-left: 1px solid #cacaca;
- border-right: 1px solid #cacaca;
- }
- .timelinecontainer .year-content .yearData .centerallign .event img {
- position: relative;
- display: inline-block;
- max-width: 100%;
- max-height: 200px;
- }
- .timelinecontainer .year-content .yearData .centerallign .event h1 {
- position: relative;
- display: inline-block;
- width: 100%;
- text-align: center;
- font-size: 17px;
- font-family: 'Work Sans';
- font-weight: 400;
- height: 100px;
- color: #555555;
- margin-top: 10px;
- }
- /* MEDIA QUERIES */
- /* ----------------------------------------------------*/
- /* Code That Doesnt Change Between Mobile Resolution */
- /* ----------------------------------------------------*/
- @media only screen and (min-width : 0px) and (max-width : 992px) {
- .firstheader { display: none; }
- .header { top: 0; }
- .header .logocontainer img {
- position: absolute;
- top: 50%;
- transform: translateY(-50%);
- left: 20px;
- margin: 0;
- }
- .timelinecontainer .slider .leftgradient {
- display: none;
- /*background-image: url(../images/index/gradient-mobile.png);*/
- }
- .timelinecontainer .slider .rightgradient {
- display: none;
- /*background-image: url(../images/index/gradient-mobile.png);*/
- }
- .backgroundimage {
- max-height: 100%;
- max-width: 200%;
- }
- }
- /* ----------------------------------------------------*/
- /* Custom, iPhone Retina */
- /* ----------------------------------------------------*/
- @media only screen and (max-width : 320px) {
- }
- /* ----------------------------------------------------*/
- /* Extra Small Devices, Phones */
- /* ----------------------------------------------------*/
- @media only screen and (min-width : 320px) and (max-width : 480px) {
- .timelinecontainer .year-content .yearData .centerallign .event {
- width: 240px;
- height: 290px;
- float: none;
- margin-bottom: 30px;
- margin-right: -5px;
- vertical-align: top;
- }
- .timelinecontainer .year-content {
- height: 1600px;
- }
- }
- /* ----------------------------------------------------*/
- /* Small Devices, Tablets */
- /* ----------------------------------------------------*/
- @media only screen and (min-width : 480px) and (max-width : 768px) {
- .timelinecontainer .year-content .yearData .centerallign .event {
- width: 240px;
- height: 290px;
- float: none;
- margin-right: -5px;
- vertical-align: top;
- }
- .timelinecontainer .year-content {
- height: 900px;
- }
- }
- /* ----------------------------------------------------*/
- /* Medium Devices, Desktops */
- /* ----------------------------------------------------*/
- @media only screen and (min-width : 768px) and (max-width : 992px) {
- .timelinecontainer .year-content .yearData .centerallign .event {
- width: 140px;
- height: 240px;
- }
- .timelinecontainer .year-content .yearData .centerallign .event h1 {
- font-size: 14px;
- }
- }
- /* ----------------------------------------------------*/
- /* Large Devices, Wide Screens */
- /* ----------------------------------------------------*/
- @media only screen and (min-width : 992px) and (max-width : 1200px) {
- .header .navigation a {
- height: auto;
- float: none;
- margin: 0px 10px;
- width: 180px;
- vertical-align: top;
- }
- .header .navigation {
- width: 85%;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment