/* global elements */
html[dir="rtl"] h1 img {
  float: left;
  padding: 8px 8px 0 0;
}

body,
html,
.maia-main {
  margin: 0;
  padding: 0;
  width: 100%;
}

.hidden {
  display: none;
}

div.gplus {
  display: inline-block;
  float: left!important;
}

/* maia footer customizations */
#maia-footer-local,
#maia-footer-local {
  padding:10px 15px;
}

#maia-footer-local{
  border-top: 1px solid #ebebeb;
  font-size: 11px;
  line-height: 1.8;
  list-style: none;
}

#maia-footer-local ul{
  margin: 0;
}

#maia-footer-local li{
  display: inline;
}

#maia-footer-local li+li:before{
  content: "·";
  padding: 0 3px;
}

/* index.html */
h2.home-h2 {
  font-size: 160%;
  font-weight: normal;
}

h3.home-h3 {
  font-size: 150%;
  font-weight: normal;
}

.divider {
  background: url("//www.google.com/drive/start/images/gradient.png") scroll ;
  height: 70px;
  margin: 0;
  padding: 2px 0 0 0;
  text-align: center;
}

.tagline {
  text-align: center;
}

.tagline img {
  position: relative;
  top: 50px;
  margin-bottom: 10px;
}

.tagline h2.home-h2 {
  position: relative;
  top: 32px;
  font-size: 20px;
}

.home-video-container {
  margin: 20px 0;
  text-align: center;
}

.home-video {
  height: 350px;
  width: 600px;
}

.home-section {
  font-family: "open sans",arial,sans-serif;
  font-size: 110%;
  margin: 0 auto;
  min-height: 350px;
  padding: 30px 0 0 0;
  width: 900px;
  vertical-align: middle;
}

.home-section-top {
  padding: 20px 0 0 0;
}

/*APPS PAGE*/
#apps-main .home-section {
  min-height: 0;
  /*max-width: 875px;*/
}

#apps-main h2,
#apps-main h3 {
  font-weight: normal;
  padding: 0;
}

#apps-main h2 {
  margin: 0;
  font-size: 29px;
}

#apps-main h2 strong {
  font-weight: 600;
}

.apps-intro h3 {
  margin: 7px 0 30px 0;
}

.apps-intro {
  text-align: center;
}

.apps-tabs-content ul,
.apps-tabs {
  list-style: none;
  clear: both;
}

.apps-tabs {
  position: absolute;
}

#apps-main .apps-tabs h2 {
  margin-bottom: 20px;
  font-size: 23px;
}

.apps-tabs li {
  cursor: pointer;
  float: left;
  margin: 0 0 0 140px;
  min-height: 252px;
  text-align: center;
  width: 160px;
}

.apps-tabs .first{
  margin: 0;
}

.apps-tabs-content li {
  float: left;
  text-align: center;
  width: 33%;
}

.apps-tabs-content {
  height: 280px;
  position: relative;
}

.apps-tabs-content .maia-cols {
  position: absolute;
}

.apps-tabs-content h3 {
  font-size: 22px;
  margin: 15px 0 6px 0;
}

.apps-tabs-content img {
  display: block;
  margin: 0 auto;
}

#apps-other-products h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.tab-content-hide {
  display: none;
}

.apps-tab-divider {
  margin-top: 170px;
}

#apps-other-products h2 {
  padding-top: 60px;
  background: #fff url(../images/drawings.png) no-repeat scroll left top;
}

html[dir="rtl"] #apps-other-products h2 {
  background-position: right top;
}

#apps-other-products p {
  margin: 0;
  padding: 0;
}

#apps-other-products .description {
  min-height: 90px;
}

#fusiontables h2 {
  background-image: url(../images/fusiontables.png);
}

#forms h2 {
  background-image: url(../images/forms.png);
}

#scripts h2 {
  background-image: url(../images/scripts.png);
}

#keep h2 {
  background-image: url(/images/icons/product/keep-64.png);
  background-position: -5px -5px;
}


#apps-main h2.subhead {
  margin-top: 40px;
}


#apps-main .apps-tab-selected h2{
  font-weight: 600;
}

#apps-main .apps-tab-selected {
  background: transparent url(../images/tab-arrow.png) no-repeat scroll center bottom;
}
/*END APPS PAGE*/


/* features.html */
h2.features-h2 {
  font-size: 160%;
  font-weight: normal;
  text-align: center;
}

.overlay {
  position: absolute;
}

.free {
  background-image: url('../images/free.png');
  background-repeat: no-repeat;
  width: 237px;
  height: 400px;
  position: relative;
}

.free-free {
  width: 237px;
  top: 30px;
  left: 0px;
  text-align: center;
  font-size: 38px;
  font-weight: bold;
}

.free-5gb {
  top: 201px;
  color: #ca391f;
  width: 237px;
  text-align: center;
  font-size: 25px;
}

.red {
  color: #ca391f;
}

.share {
  background-image: url('../images/share.png');
  background-repeat: no-repeat;
  width: 440px;
  height: 420px;
  position: relative;
}

.share-callout {
  top: 90px;
  left: 295px;
  font-size: 16px;
  color: #000;
}

.share-name1 {
  top: 118px;
  left: 325px;
  font-size: 16px;
}

.share-name2 {
  top: 142px;
  left: 325px;
  font-size: 16px;
}

.share-name3 {
  left: 325px;
  font-size: 16px;
  top: 164px;
}

/* download.html */
/* headings */
h2.apps,
h2.download {
  font: 160% "open sans",arial,sans-serif;
  text-align: center;
}

h3.download {
  font-family: "open sans",arial,sans-serif;
  margin-bottom: 5px;
  text-align: center;
}

h4.download {
  font-family: "open sans",arial,sans-serif;
  font-weight: normal;
  margin: 0;
  padding: 0;
  text-align: center;
}

/* devices */
.devices-container {
  border-bottom: 1px solid #eee;
  margin: 0 auto;
  overflow: hidden;
  padding-top: 20px;
  position: relative;
}

.devices-container-inner {
  margin: 0 auto;
  max-width: 526px;
  min-height: 198px;
  position: relative;
}

.individual-devices {
  position: absolute;
  text-align: center;
}

#devices-still {
  display: none;
}

#devices-group {
  left: 0;
  max-width: 100%;
  position: absolute;
  z-index: 1;
}

#desktop {
  animation: desktopFadeIn 3s linear 0s 1 alternate;
    -moz-animation: desktopFadeIn 3s linear 0s 1 alternate;
    -webkit-animation: desktopFadeIn 3s linear 0s 1 alternate;
  left: 5px;
  z-index: -2;
}

#phone {
  animation: phoneEnter 3s linear 0s 1 alternate;
    -moz-animation: phoneEnter 3s linear 0s 1 alternate;
    -webkit-animation: phoneEnter 3s linear 0s 1 alternate;
  left: 0px;
  z-index: -1;
}

#tablet {
  animation: tabletEnter 3s linear 0s 1 alternate;
  -moz-animation: tabletEnter 3s linear 0s 1 alternate;
    -webkit-animation: tabletEnter 3s linear 0s 1 alternate;
  left: 291px;
  z-index: -1;
}

#linux {
  display: none;
}

/* IE hacks */
.devices-ie8 {
  width: 50%;
}

/* animations */
/* devices */
@-webkit-keyframes devicesFadeIn  {
  0%   {opacity: 0; visibility: visible;}
  99%  {opacity: 0; visibility: visible;}
  100% {opacity: 1; visibility: visible;}
}

@-moz-keyframes devicesFadeIn  {
  0%   {opacity: 0; }
  99%  {opacity: 0; }
  100% {opacity: 1; }
}

@keyframes devicesFadeIn  {
  0%   {opacity: 0; }
  99%  {opacity: 0; }
  100% {opacity: 1; }
}

/* desktop */
@-webkit-keyframes desktopFadeIn  {
  0%   {opacity: 0; }
  75%  {opacity: 1; }
  100% {opacity: 1; }
}

@-moz-keyframes desktopFadeIn  {
  0%   {opacity: 0; }
  75%  {opacity: 1; }
  100% {opacity: 1; }
}

@keyframes desktopFadeIn  {
  0%   {opacity: 0; }
  75%  {opacity: 1; }
  100% {opacity: 1; }
}

/* tablet */
@-webkit-keyframes tabletEnter  {
  0%   {bottom: -302px; opacity: 1;}
  25%  {bottom: -302px; opacity: 1;}
  35%  {bottom: -252px; opacity: 1;}
  45%  {bottom: -163px; opacity: 1;}
  55%  {bottom: -163px; opacity: 1;}
  80%  {bottom: -163px; opacity: 1;}
  100% {bottom: -163px; opacity: 1;}
}

@-moz-keyframes tabletEnter  {
  0%   {bottom: -302px; opacity: 1;}
  25%  {bottom: -302px; opacity: 1;}
  35%  {bottom: -252px; opacity: 1;}
  45%  {bottom: -163px; opacity: 1;}
  55%  {bottom: -163px; opacity: 1;}
  80%  {bottom: -163px; opacity: 1;}
  100% {bottom: -163px; opacity: 1;}
}

@keyframes tabletEnter  {
  0%   {bottom: -302px; opacity: 1;}
  25%  {bottom: -302px; opacity: 1;}
  35%  {bottom: -252px; opacity: 1;}
  45%  {bottom: -163px; opacity: 1;}
  55%  {bottom: -163px; opacity: 1;}
  80%  {bottom: -163px; opacity: 1;}
  100% {bottom: -163px; opacity: 1;}
}

/* phone */
@-webkit-keyframes phoneEnter  {
  0%   {bottom: -302px; opacity: 1;}
  50%  {bottom: -302px; opacity: 1;}
  65%  {bottom: -252px; opacity: 1;}
  70%  {bottom: -212px; opacity: 1;}
  75%  {bottom: -158px; opacity: 1;}
  80%  {bottom: -151px; opacity: 1;}
  85%  {bottom: -151px; opacity: 1;}
  90%  {bottom: -151px; opacity: 1;}
  95%  {bottom: -151px; opacity: 1;}
  100% {bottom: -151px; opacity: 1;}
}

@-moz-keyframes phoneEnter  {
  0%   {bottom: -302px; opacity: 1;}
  50%  {bottom: -302px; opacity: 1;}
  65%  {bottom: -252px; opacity: 1;}
  70%  {bottom: -212px; opacity: 1;}
  75%  {bottom: -158px; opacity: 1;}
  80%  {bottom: -151px; opacity: 1;}
  85%  {bottom: -151px; opacity: 1;}
  90%  {bottom: -151px; opacity: 1;}
  95%  {bottom: -151px; opacity: 1;}
  100% {bottom: -151px; opacity: 1;}
}

@keyframes phoneEnter  {
  0%   {bottom: -302px; opacity: 1;}
  50%  {bottom: -302px; opacity: 1;}
  65%  {bottom: -252px; opacity: 1;}
  70%  {bottom: -212px; opacity: 1;}
  75%  {bottom: -158px; opacity: 1;}
  80%  {bottom: -151px; opacity: 1;}
  85%  {bottom: -151px; opacity: 1;}
  90%  {bottom: -151px; opacity: 1;}
  95%  {bottom: -151px; opacity: 1;}
  100% {bottom: -151px; opacity: 1;}
}

/* download buttons */
.download-buttons-container {
  background-color: #fff;
  margin: 0;
  min-height: 100px;
  width: 100%;
}

li.download-device {
  float: left;
  list-style-type: none;
  min-width: 100px;
  width: 33%;
}

.download-button {
  height: 50px;
  margin: 10px;
  text-align: center;
}

.download-icon {
  padding-left: 3px;
  vertical-align: text-top;
}

.download-screen {
  background-color: #fff;
  height: 100px;
  z-index: -1;
}

.download-opaque {
  background-color: #fff;
  margin-top: 0px!important;
}

/* thankyou.html */
h2.thankyou {
  font-size: 170%;
  margin: 0;
  text-align: center;
}

h3.thankyou {
  font: normal 100% "open sans",arial,sans-serif;
  margin: 5px;
  text-align: center;
}

.thankyou-icon {
  padding-left: 3px;
  vertical-align: text-top;
}

li.thankyou-panel {
  float: left;
  list-style-type: none;
  min-height: 140px;
  text-align: center;
  width: 33%;
}

p.thankyou-text {
  font-family: "open sans",arial,sans-serif;
  text-align: center;
}

.thankyou-panels-container {
  margin: auto 0;
  min-height: 250px;
  padding: 0 10%;
}

.thankyou-button {
  margin: 20px 0 40px;
  text-align: center;
}

/* footer promo */
.download-footer-promo {
  background-color: #fff;
  font-family: "open sans",arial,sans-serif;
  height: 24px;
  padding: 40px 0;
  text-align: center;
}

.download-footer-chrome {
  background: url('//www.google.com/images/icons/product/chrome-24.png') no-repeat;
  font-size: 14px;
  padding: 2px 0 10px 30px;
}

/* EULA */
.os-show {
  display: block;
}

.os-hide {
  display: none;
}

#omaha-stats {
  display: inline-block;
  float: left;
  height: 20px;
  margin-right: 5px;
}

h3.eula {
  color: #333;
  font-size: 120%;
  margin-bottom: 10px;
}

.google-js #eula {
  border: 1px solid #222;
  display: none;
  margin: 0;
}

.eula-container {
  text-align: left;
  margin: 0;
}

.eula-iframe {
  background-color: #F2F2F2;
  border: 1px solid #ddd;
  box-shadow: inset 1px 2px 2px #ECECEC;
    -moz-box-shadow: inset 1px 2px 2px #ececec;
    -webkit-box-shadow: inset 1px 2px 2px #ECECEC;
  clear: both;
  color: #333;
  min-height: 130px;
  padding:25px;
  width: 530px;
}

p.eula {
  color: #333;
  font-family: "open sans",arial,sans-serif;
  margin: 5px 0;
}

.eula-buttons {
  float: right;
}

.eula-button {
  padding: 8px 10px !important;
  margin: 10px 10px 10px 0 !important;
}
/* END EULA */


/* Mobile devices */
@media only screen and (max-width: 350px) {
  /* index.html */
  h2.home-h2, h2.features-h2 {
    font-size: 95%;
    margin: 30px 0 0 0;
    padding: 8px 0;
  }

  h3.home-h3 {
    font-size: 100%;
  }

  .home-img {
    width: 50%;
    margin: 0 30px;
  }

  .home-section {
    min-height: 200px;
    padding: 40px 0 0 0;
    width: 100%;
  }

  .home-subsection {
    margin: 0 30px;
  }

  .home-video {
    width: 300px;
    height: 175px;
  }

  /* download.html */
  h4.download {
    min-height: 30px;
  }

  .devices-container-inner {
    min-height: 50px;
  }

  .download-footer-promo {
    font-size: 100%;
  }

  #devices-still {
    bottom: 0;
    display: block;
    margin: 0 auto;
    width: 80%;
  }

  #devices-group {
    display: none;
  }

  #desktop {
    display: none;
  }

  #phone {
    display: none;
  }

  #tablet {
    display: none;
  }

  h2.thankyou {
    font-size: 100%;
  }

  .thankyou-button {
    margin: 40px 0 40px 0;
  }

  .thankyou-icon {
    width: 40%;
  }
}

@media screen and (min-width: 350px) and (max-width: 480px) {
  /* index.html */
  h2.home-h2, h2.features-h2 {
    font-size: 110%;
    margin: 30px 0 0 0;
    padding: 5px 0;
  }

  h3.home-h3 {
    font-size: 110%;
  }

  .home-img {
    width: 50%;
    margin: 0 30px;
  }

  .home-section {
    min-height: 200px;
    padding: 40px 0 0 0;
    width: 100%;
  }

  .home-subsection {
    margin: 0 30px;
  }

  .home-video {
    width: 300px;
    height: 175px;
  }

  /* download.html */
  h4.download {
    min-height: 30px;
  }

  .devices-container-inner {
    min-height: 50px;
  }

  #devices-still {
    bottom: 0;
    display: block;
    margin: 0 auto;
    width: 80%;
  }

  #devices-group {
    display: none;
  }

  #desktop {
    display: none;
  }

  #phone {
    display: none;
  }

  #tablet {
    display: none;
  }

  /* thankyou */
  .thankyou-icon {
    width: 40%;
  }

  /* thankyou.html */
  h2.thankyou {
    font-size: 120%;
  }

  .thankyou-button {
    margin: 40px 0 40px 0;
  }

  .download-footer-promo {
    font-size: 100%;
  }

  .home-img {
    width: 50%;
  }
}

@media screen and (min-width: 480px) and (max-width: 600px) {
  /* index.html */
  h2.home-h2, h2.features-h2 {
    font-size: 130%;
    margin: 20px 0 0 0;
    padding: 10px 0;
  }

  h3.home-h3 {
    font-size: 110%;
  }

  .home-img {
    width: 50%;
    margin: 0 30px;
  }

  .home-section {
    min-height: 220px;
    padding: 40px 0 0 0;
    width: 100%;
  }

  .home-subsection {
    margin: 0 30px;
  }

  .home-video {
    width: 300px;
    height: 175px;
  }

  /* download.html */
  h4.download {
    min-height: 40px;
  }

  #devices-still {
    bottom: 0;
    margin: 0 auto;
    display: block;
    width: 80%;
  }

  .devices-container-inner {
    min-height: 50px;
  }

  #devices-group {
    display: none;
  }

  #desktop {
    display: none;
  }

  #phone {
    display: none;
  }

  #tablet {
    display: none;
  }

  /* thankyou.html */
  h2.thankyou {
    font-size: 150%;
  }

  .thankyou-button {
    margin: 40px 0 40px 0;
  }

  .thankyou-icon {
    width: 40%;
  }

  .home-img {
    width: 50%;
  }
}

@media screen and (min-width: 600px) and (max-width: 770px) {
  /* index.html */
  h2.home-h2 {
    font-size: 130%;
    margin: 10px 0;
  }

  h3.home-h3 {
    font-size: 110%;
  }

  .divider {
    height: 50px;
  }

  .home-img {
    width: 40%;
    margin: 0 30px;
  }

  .home-section {
    min-height: 200px;
    padding: 40px 0 0 0;
    width: 100%;
  }

  .home-subsection {
    margin: 0 30px;
  }

  .home-video {
    width: 500px;
    height: 292px;
  }

  /* thankyou.html */
  h2.thankyou {
    font-size: 150%;
  }

  .thankyou-button {
    margin: 40px 0 40px 0;
  }
}

@media screen and (min-width: 770px) and (max-width: 800px) {
  /* index.html */
  h2.home-h2 {
    font-size: 110%;
  }

  h3.home-h3 {
    font-size: 110%;
  }

  .home-img {
    width: 60%;
    margin: 0 30px;
  }

  .home-section {
    width: 100%;
  }

  .home-subsection {
    margin: 0 30px;
  }

  .home-video {
    width: 500px;
    height: 292px;
  }

  /* thankyou.html */
  h2.thankyou {
    font-size: 150%;
  }

  .thankyou-button {
    margin: 40px 0 40px 0;
  }
}

@media screen and (min-width: 800px) and (max-width: 840px) {
  .home-section {
    width: 100%;
  }

  .home-subsection {
    margin: 0 30px;
  }
}

@media screen and (min-width: 800px) and (max-width: 940px) {
  .home-section {
    width: 100%;
  }

  .home-subsection {
    margin: 0 30px;
  }
}


/* elements not compatible with css comp */
.drive-line {
  background: linear-gradient(left,  rgba(221,221,221,0) 0%,rgba(221,221,221,1) 50%,rgba(255,255,255,0) 100%); /* W3C */
  background: -moz-linear-gradient(left,  rgba(221,221,221,0) 0%, rgba(221,221,221,1) 50%, rgba(255,255,255,0) 100%); /* FF3.6+ */
  background: -ms-linear-gradient(left,  rgba(221,221,221,0) 0%,rgba(221,221,221,1) 50%,rgba(255,255,255,0) 100%); /* IE10+ */
  background: -o-linear-gradient(left,  rgba(221,221,221,0) 0%,rgba(221,221,221,1) 50%,rgba(255,255,255,0) 100%); /* Opera 11.10+ */
  background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(221,221,221,0)), color-stop(50%,rgba(221,221,221,1)), color-stop(100%,rgba(255,255,255,0))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(left,  rgba(221,221,221,0) 0%,rgba(221,221,221,1) 50%,rgba(255,255,255,0) 100%); /* Chrome10+,Safari5.1+ */
  background-color: #fff;
  display: block;
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00dddddd', endColorstr='#00ffffff',GradientType=1 ); /* IE6-9 */
  height: 1px;
  margin: 0;
  width: 100%;
}