@import url('https://fonts.googleapis.com/css?family=Open+Sans');
@import url('https://fonts.googleapis.com/css?family=Rubik');

:root {
  --text: #3a3a3a;
  --text-light: #aaa;
  --blue: #4768c4;
  --light-gray: #eaeaea;
  --search-button-radius: 7px;
  --search-transition-time: .25s;
}

@media (max-width: 599px) { /* mobile */
  .bottom-column {
    margin: 0px 11px;    
  }
  #monitor1 {
    width: 100%;
  }
  #actual-video {
    width: 100%;
  }

  body {
    margin: 80px 0px 0px 0px;
  }
  header {
    position: fixed;
    padding: 20px;
  }  

  /* body {
    margin: 0px;
  } */
  section.gray:not(.bottom-section) {
    flex-direction: column;
  }
  .banner {
    flex-direction: column-reverse;
  }
  .banner .banner-right > h1 {
    margin-top: 25px;
  }  
  .banner .banner-left > h1 {
    margin-top: 0px;
  } 
  .background1 {
    padding: 10px 0px;
  }
  .background3 {
    padding: 10px 0px;      
  }
  nav {
    height: 100%; /* 100% Full-height */
    width: 0px; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 1; /* Stay on top */
    top: 0; /* Stay at the top */
    right: 0;
    overflow-x: hidden; /* Disable horizontal scroll */
    transition: 0.25s; /* 0.5 second transition effect to slide in the sidenav */
    background-color: var(--blue);  
  }
  nav a {
    color: #fff;
  }
  .nav-menu {
    display: block;
    text-align: right;
  }
  .nav-menu > i.fa {
    font-size: 24px;
  }  
  header {
    padding: 20px 20px 20px 10px;
  }
  nav ul li {
    text-align: right;
    margin-right: 60px;
  }
  #video-back {
    padding: 28px 0px 0px 28px; 
  }
  .banner-text {
    text-align: center;
  }
  .banner-left {
    margin-bottom: 38px;
  }
  .banner-right {
    margin-top: 30px;
    margin-bottom: 30px;
  }
  .gray-right {
    padding-right: 27px;
  }
  .rows h2 {
    padding-left: 25px;
    padding-right: 25px;
  }
  .gray-left > h2 {
    padding-left: 25px;
  }
}

@media (min-width: 600px) and (max-width: 1199px) { /* tablet */
  .bottom-column {
    margin: 0px 44px;    
  }
  #monitor1 {
    padding-top: 18px;  
    width: 600px;
  }
  #actual-video {
    width: 520px;
  }
  body {
    margin: 0px;
  }
  .banner {
    flex-direction: column-reverse;
  }
  .banner .banner-right > h1 {
    margin-top: 25px;
  }  
  .banner .banner-left > h1 {
    margin-top: 0px;
  } 
  .background1 {
    padding: 10px 0px;
  }
  .background3 {
    padding: 10px 0px;      
  }
  nav {
    height: 100%; /* 100% Full-height */
    width: 0px; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 1; /* Stay on top */
    top: 0; /* Stay at the top */
    right: 0;
    overflow-x: hidden; /* Disable horizontal scroll */
    transition: 0.25s; /* 0.5 second transition effect to slide in the sidenav */
    background-color: var(--blue);  
  }
  nav a {
    color: #fff;
  }
  .nav-menu {
    display: block;
    text-align: right;
  }
  .nav-menu > i.fa {
    font-size: 24px;
  }  

  body {
    margin: 80px 0px 0px 0px;
  }
  header {
    position: fixed;
    padding: 20px;
  }  

  /* header {
    padding: 20px 20px 20px 10px;
  } */
  nav ul li {
    text-align: right;
    margin-right: 60px;
  }
  #video-back {
    padding: 28px 0px 0px 28px; 
  }
  .banner-text {
    text-align: center;
  }
  .banner-left {
    margin-bottom: 38px;
  }
  .banner-right {
    margin-top: 30px;
    margin-bottom: 30px;
  }
  .gray-right {
    padding-right: 27px;
  }
  .rows h2 {
    padding-left: 25px;
    padding-right: 25px;
  }
  .gray-left > h2 {
    padding-left: 25px;
  }
}

@media (max-width: 1199px) { /* mobile & tablet */
  .nav-visible {
    padding: 7px;
    padding-right: 27px;
    padding-top: 25px;
    width: 100%;
  }
}

@media (min-width: 1200px) { /* desktop */
  .bottom-column {
    margin: 0px 44px;    
  }
  #monitor1 {
    width: 600px;
  }
  #actual-video {
    width: 520px;
  }
  body {
    margin: 80px 0px 0px 0px;
  }
  header {
    position: fixed;
    padding: 20px;
  }
  nav ul li {
    display: inline;
  }
  .background1 {
    padding: 110px 0px;    
  }
  .background3 {
    padding: 110px 0px;      
  }
  #video-back {
    padding: 28px 0px 0px 28px; 
  }
  .banner-left {
    text-align: left;
    margin-right: 38px;
    margin-left: 22px;
  }
  .banner-right {
    text-align: right;
    margin-left: 38px;
    margin-right: 22px;
  }
  .current a {
    color: var(--blue);
  }
}

.download-text {
  margin-right: 22px;
}

body {
  font: 15px/1.7 Open Sans;
  padding: 0;
}

h2 {
  color: var(--blue);
  margin: 0px;
}

a {
  text-decoration: none;
  color: #3a3a3a;
}

header {
  top: 0;
  width: 100%;  
  background-color: #fff;
  box-sizing: border-box;
  transition: padding .4s ease;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  z-index: 1;
}

.small-header {
  padding: 7px;
  border-bottom: 1px solid var(--text-light);
}

ul {
  margin-top: 0px;  
}

li {
  margin-top: 3px;
  margin-bottom: 3px;
}

nav ul {
  padding: 0;
  margin: 0;
}

#logo {
  width: 200px;
}

nav {
  font-weight: 500;
  font-size: 15px;
}

nav ul li {
  padding: 12px;  
  text-transform: uppercase;
}

nav ul li a:hover:not(#search-link) {
  border-bottom: 1px solid;
}

section {
  padding: 80px 0px;
  display: flex;
  justify-content: center;
  align-items: center;  
}

#video-back {
  width: 576px;
  height: 348px;
  background: url('../img/video-back.png') no-repeat;
  box-sizing: border-box;
}

.banner {
  color: #fff;
}

.background1 {
  background: url('../img/big-data.jpg') no-repeat;      
  background-size: cover;  
  background-position: center center;
}

.background2 {
  background: url('../img/back3.jpg') no-repeat;
  background-size: cover;
  padding: 46px 0px 20px 0px;
}

.background3 {
  background: url('../img/big-data.jpg') no-repeat;      
  background-size: cover;
  background-position: center center;
}

#monitor1 {
  padding-top: 18px;  
}

.banner h1 {
  font-size: 38px;
  font-weight: 500;
  margin: 10px 0px;
}

.banner h4 {
  font-size: 22px;
  font-weight: 300;
}

.gray-left {
  text-align: right;
  margin-right: 4%;
  margin-bottom: 50px;
}

.gray-right {
  text-align: left;
  max-width: 600px;
  margin-left: 4%;
}

.vline {
  margin: 0px 3%;
  border-radius: 1px;
  background-color: var(--text-light);
}

.gray {
  background-color: var(--light-gray);
  align-items: flex-start;
  padding: 66px 0px;
}

i.fa {
  font-size: 20px;
}

i.fa-bars {
  padding-right: 7px;
}

.hline {
  width: 300px;
  height: 2px;
  border-radius: 1px;
  background-color: #fff;
  display: inline-block;
  margin: 0px 2px;  
}

.rows {
  display: flex;
  flex-direction: column;
}

.cartoon-row:not(:first-child) {
  margin-top: 66px;
}

.cartoon-row {
  display: flex;
  flex-direction: row;  
}

.cartoon {
  width: 235px;      
  display: flex;
  flex-direction: column;
  text-align: center;
  margin-left: 17px;
  margin-right: 17px;
  margin-top: 33px;
}

.cartoon-top img {
  width: 135px;  
}

.cartoon-middle {
  color: var(--text);
  font-size: 22px;  
  margin-bottom: 20px;
  font-weight: 600;
}

.cartoon-bottom {
  color: var(--blue);
  font-size: 14px;
}

#download-image {
  width: 180px;    
  margin-right: 28px;  
}

#download-now {
  font-weight: 600;
  font-size: 32px;    
  margin-bottom: 13px;    
}

#download-text {
  font-size:17px;  
  font-weight: 600;  
  color: var(--blue);
}

#icon-bottom {
  margin-top: 6px;  
  width: 32px;    
}

.bottom-column {
  display: flex;  
  flex-direction: column;
}

.bottom-column ul {
  padding: 0px;
}

.bottom-column ul li {
  list-style: none;  
  margin-bottom: 4px;    
}

.bottom-column-header {
  font-weight: 600;
  margin-bottom: 8px;  
}

footer {
  width: 100%;
  background-color: var(--text);
  color: #fff;
  text-align: center;
  font-size: 13px;
  padding: 4px;  
  box-sizing: border-box;  
}

form {
  display: inline;
  color: #444;
}

form textarea:hover, form input[type=text]:hover, form input[type=email]:hover {
  box-shadow: 0 0 2px rgba(92, 135, 255, .63);
  border: 1px solid rgba(92, 135, 255, .63);
  transition: box-shadow .25s linear 0s;
}

form textarea:focus, form input[type=text]:focus, form input[type=email]:focus {
  box-shadow: 0 0 2px rgba(92, 135, 255, .8);
  border: 1px solid rgba(92, 135, 255, 1);
  transition: box-shadow .15s linear 0s;
}

input[type=text], input[type=email], textarea {
  outline: none;
  margin: 2px 1px 0px 0px;
  border: 1px solid #ccc;
  font: 14px Arial,"Helvetica Neue",Helvetica,sans-serif;
}

form input[type=text], input[type=email] {
  height: 31px;
  padding: 0px 8px; 
}

textarea {
  padding: 8px;
}

label {
  cursor: default;
  font: 14px Open Sans;
  font-weight: bold;
}

.tipSpan {
  margin: 0;
  padding: 0;
  font: 12px/1 Open Sans;
}

.myButton {
  box-shadow:inset 0px 1px 0px 0px #4d71d5;
  background:linear-gradient(to bottom, #4d71d5 5%, #4768c4 100%);
  background-color:#4d71d5;
  border-radius:6px;
  border:1px solid #3f5cae;
  display:inline-block;
  cursor:pointer;
  color:#ffffff;
  font-family:Arial;
  font-size:15px;
  font-weight:bold;
  padding:9px 31px;
  text-decoration:none;
}
.myButton:hover {
  background:linear-gradient(to bottom, #4768c4 5%, #4d71d5 100%);
  background-color:#4768c4;
}
.myButton:active {
  position:relative;
  top:1px;
}
.myButton:focus {
  outline: 0;
}

#search-form {
  position: relative;
  right: -17px;
  top: -1px;
}

#search-button {
  position: absolute;
  right: 1px;
  top: -6px;
  height: 33px;
  padding: 3px 15px 5px 14px;
  margin: 0;
  border-radius: 0px var(--search-button-radius) var(--search-button-radius) 0px;  
}

#search-box {
  border-radius: var(--search-button-radius);
  transition: width var(--search-transition-time) linear 0s;
}

#search-box:not(focus) {
  width: 60px;
}

#search-box:focus {
  width: 600px;
}

.hidden {
  display: none;
}

.bottom-section {
  padding-top: 40px;
  padding-bottom: 26px;
}

.footer-links {
  display: flex;
  flex-direction: row;
}

.christmas {
  background: repeating-linear-gradient(-45deg, #e52a29, #e52a29 20px, #d82020 20px, #d82020 40px);
  color: #fff;
	padding: 2px 28px;
	text-decoration:none;
  font-weight: normal;
  margin-left: 5px;
}

a.christmas:hover:not(#search-link) {
  background: repeating-linear-gradient(-45deg, #ff2f2e, #ff2f2e 20px, #f42424 20px, #f42424 40px);
}

.current a.christmas {
  color: #fff;
}
