/*!
 * Start Bootstrap - Freelancer v3.3.7+1 (http://startbootstrap.com/template-overviews/freelancer)
 * Copyright 2013-2016 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
 */

/*=== Element Styles ===*/
body {
   font-family: 'Open Sans', Helvetica, Arial, sans-serif;
   overflow-x: hidden;
   color: #333;
   background-color: #FAFAFA;

   /* flexbox */
   display: flex;
   flex-flow: column nowrap;
   justify-content: flex-start;
   align-items: stretch;
}

h1, h2, h3, h4, h5 {
   font-family: 'Open Sans', Helvetica, Arial, sans-serif;
}

hr {
   color: #CCC;
   background-color: #CCC;
   width: 75%;
   height: 1px;
   border: 0;
}

p {
   font-size: 17px;
   margin-bottom: 5px;
}

p.small {
   font-size: 16px;
}

p.big {
   font-size: 21px;
}

p.light {
   font-weight: 300;
}

p.center {
   text-align: center;
}

p.li {
   font-size: 17px;
   font-weight: 300;

}

li {
   font-size: 17px;
   font-weight: 300;
}

a {
   color: #1A8CB6;
   text-decoration: none;
}

a.focus, a:hover {
   text-decoration: none;
}

a:active {
   color: #FB0;
   text-decoration: none;
}

section {
   padding-top: 50px;
   padding-bottom: 50px;
}

h1, h2 {
   margin: 0px;
   padding: 0px;
}

h1 {
   font-size: 3.0em;
}

h2 {
   font-size: 2em;
   font-weight: 300;
}

h3 {
   font-size: 21px;
   font-weight: 600;
}

.displayNone {
   display: none !important;
}

.visibilityHidden {
   visibility: hidden !important;
}

.indent {
   margin-left: 25px;
}

@media (min-width: 767px) {
   p {
      font-size: 18px;
   }

   p.li {
      font-size: 18px;
   }

   li {
      font-size: 18px;
   }

   h2 {
      font-size: 2.5em;
   }
}

.section-title {
   width: 100%;
   text-align: center;
   padding-bottom: 20px;
}

.figure-group {
   display: block;
   text-align: center;
}

.arrow-icon {
   width: 35px;
}

.noMargin {
   margin: 0px !important;
}

/* Clearfix hack - prevents containers holding floating objects from collapsing*/
.clearfix:before, .clearfix:after {
   content: "";
   display: table;
}

.clearfix:after {
   clear: both;
}

.clearfix {
   *zoom: 1;
}

/* apply large amounts of side padding when item is shown in single column mode,
this prevents the item from becoming too excessively large */
.pad-col1 {
   padding-left: 75px;
   padding-right: 75px;
}

.margin-col1 {
   margin-left: 75px;
   margin-right: 75px;
}

@media (min-width: 767px) {
   section {
      width: 100%;
      padding-top: 75px;
      padding-bottom: 75px;
   }
   .pad-col1 {
      padding-left: 0px;
      padding-right: 0px;
   }
   .margin-col1 {
      margin-left: 0px;
      margin-right: 0px;
   }
}

/*--- Main Splash Page ---*/
.main-section {
   color: #E8E8E8;
   padding: 0px;
   width: 100vw;
   height: 350px;
   /*max-height: 75vh;*/

   /* flexbox */
   display: flex;
   flex-flow: column nowrap;
   justify-content: flex-end;
   align-items: stretch;
}

.height-limiter {
   /* this gets set in javascript */
}

#main-background-image {
   position: fixed;
   left: 0px;
   top: 0px;
   right: 0px;
   height: 350px;
   /*max-height: 75vh;*/

   background-image: url("../images/home.jpg");
   background-repeat: no-repeat;
   background-size: cover;
   background-position: 68% 21%;
   z-index: -1;
}

.main-text-box {
   width: 100%;
   background-color: rgba(0, 0, 0, 0.75);
   padding: 50px 5%;
   margin: 0;
   user-select: none;
   /*box-shadow: 0px 0px 30px rgba(0,0,0,0.4);*/

   flex: 0 0 auto;
   text-align: center;

   /* flexbox */
   display: flex;
   flex-flow: column nowrap;
   justify-content: center;
   align-items: stretch;
}

.main-text-box-ios {
   padding: 10% 5%;
}

.main-text-box h1 {
   font-weight: 300;
   line-height: 1.3em;
   font-size: 1.3em;
   margin: 20px;
}

.main-text-box h2 {
   font-weight: 300;
   line-height: 1.3em;
   font-size: 1.1em;
   margin: 0px 10%;
   max-width: 800px;
   align-self: center;
}

.browser-required {
   margin-top: 20px;
   font-weight: 300;
}
.chrome-icon {
   width: 70px;
   margin: 5px 15px;
}
.firefox-icon {
   width: 74px;
   transform: translate(0px, 4px);
   margin: 5px 15px;
}

.home-buttons {
   margin-top: 30px;

   /* flexbox */
   display: flex;
   flex-flow: row wrap;
   justify-content: center;
   align-items: flex-start;
}

.connect-button-group {
   /* flexbox */
   display: flex;
   flex-flow: column nowrap;
   justify-content: center;
   align-items: center;

}


.tell-more-button {
   color: #3AACD6;
   text-align: center;
   cursor: pointer;
   align-self: center;
   font-size: 21px;
}


.home-blue-button {
   text-shadow: 0 0 15px rgba(0,0,0,0.4);
   box-shadow: 0px 0px 10px rgba(0,0,0,0.15);
   font-size: 19px;
   font-weight: 400;
   color: white;
   background-color: #3AACD6;
   border: 0px;
   outline: 0px;
   border-radius: 4px;
   padding: 10px 20px;
   margin: 5px 5% 0px 5%;
   min-width: 250px;
   max-width: 250px;
   flex: 0 0 auto;
   cursor: pointer;
}

html.useHover .home-blue-button:hover {
   text-shadow: none;
   box-shadow: 0px 0px 16px rgba(58,173,214,0.5);
   background-color: #3FBAE7;
}

.microphone-label {
   margin-top: 10px;
}

.home-connect-button {
}

.home-demo-button {
}

.learn-more-button {
}

#main-scroll-arrow-left {
}

#main-scroll-arrow-right {
}

.main-scroll-arrow {
   height: 16px;
   color: rgba(0, 0, 0, 0.5);
   opacity: 0;
   animation: fade-in-80 1s 2s 1 ease-in-out normal forwards;
   cursor: pointer;
   filter: drop-shadow( 0px 0px 5px #000 );
}

.scroll-area {
   position: absolute;
   bottom: 10px;
   left: 0px;
   width: 100%;

   /* flexbox */
   display: flex;
   flex-flow: row nowrap;
   justify-content: center;
   align-items: center;
}

.scrollText {
   bottom: 15px;
   font-size: 14px;
   text-align: center;
   white-space: nowrap;

   color: rgba(0,0,0,0.5);
}


@media (min-width : 400px) {
   .main-section {
      height: 400px;
   }

   #main-background-image {
      height: 400px;
   }

   .main-text-box h1 {
      font-size: 1.5em;
   }

   .main-text-box h2 {
      font-size: 1.3em;
   }

}

@media (min-height : 500px) {
   .main-section {
      height: 500px;
   }

   #main-background-image {
      height: 500px;
   }
}


@media (min-width : 500px) and (min-height : 800px) {
   .main-section {
      height: 700px;
   }

   #main-background-image {
      height: 700px;
   }
}


@media (min-width : 767px) and (min-height: 800px) {

   .main-text-box {
      width: 100%;
      align-self: flex-end;
   }
   .main-text-box h1 {
      font-size: 2.5em;
   }
   .main-text-box h2 {
      font-size: 2.0em;
   }
   .home-blue-button {
      font-size: 21px;
   }
}

@media (min-width : 1600px) {
   .main-section {
      height: 800px;
   }
   #main-background-image {
      height: 800px;
   }

}

/*--- Demo Overlay ---*/

.demo-dialog {
   width: 100%;
   /*max-width: 500px;*/
   /*height: 350px;*/
   background-color: #1E455E;
   border-radius: 2px;
   box-shadow: 0px 0px 300px rgba(0,0,0,0.5);
   padding: 0px 30px;
   transition: opacity 0.15s linear;


   /* flexbox */
   display: flex;
   flex-flow: column nowrap;
   justify-content: center;
   align-items: center;

   position: absolute;
   z-index: 2;
   left: 0px;
   right: 0px;
   bottom: 0px;
   top: 0px;

}

.demo-dialog p {
   color: white;
   margin-bottom: 30px;
   font-weight: 200;
}

#close-button {
   position: absolute;
   top: 20px;
   right: 20px;
   width: 35px;
   height: 35px;
   padding: 0px;
   box-sizing: border-box;
   background-color: transparent;
   border: none;
   outline: none;
   color: rgba(255,255,255,0.6);
   align-self: flex-end;
}

html.useHover #close-button:hover {
   color: #3AACD6;
}

.demo-row {
   flex: 0 0 auto;

   /* flexbox */
   display: flex;
   flex-flow: row nowrap;
   justify-content: space-around;
   align-items: center;

   margin-bottom: 20px;
}

.demo-row label {
   color: #EEE;
   margin-right: 10px;
   margin-bottom: 0px;
   font-size: 18px;
   font-weight: 200;
   flex: 0 0 110px;
}

.demo-row input {
   width: 50px;
   font-size: 18px;
   flex: 1 1 10px;
   border-radius: 2px;
   border: 1px solid black;
   padding: 3px 6px;
}

#demo-send-button {
   color: white;
   font-size: 18px;
   border-radius: 2px;
   background-color: #3AACD6;
   border: 2px solid  rgb(58,172,214);
   padding: 5px 40px;
   margin-top: 10px;
   margin-bottom: 0px;
   align-self: flex-end;
}

html.useHover #demo-send-button:not([disabled]):hover {
   box-shadow: 0px 0px 16px rgba(58,173,214,0.2);
   background-color: #3FBAE7;
}

#demo-send-button:disabled {
   background: rgba(58,172,214,0.1);
   border: 2px solid  rgba(58,172,214,0.3);
   color: rgba(255,255,255,0.7);
}

@media (min-height: 500px) {
}

@media (min-width: 767px) {

   .demo-dialog {
      padding: 0px 50px;
   }

}


/*--- How to Use ZipSocket ---*/

.steps-section {
   height: auto;
   /*padding: 0px;*/
   padding: 50px 30px 60px 30px;
   background-color: #F8F8F8;
   /*box-shadow: inset 0px 0px 50px rgba(0,0,0,.2);*/
   flex: 0 0 auto;

   /* flexbox */
   display: flex;
   flex-flow: column nowrap;
   justify-content: flex-start;
   align-items: stretch;
}

.flex-spacer {
   flex: 1 1 auto;
}



.steps-container {
   margin-top: 0px;

   /* flexbox */
   display: flex;
   flex-flow: column nowrap;
   justify-content: center;
   align-items: center;

   flex: 0 1 auto;
}

.steps-block {
   flex: 1 1 auto;
   text-align: center;
   padding: 25px 30px 25px 30px;
   width: 100%;
   max-width: 350px;
   margin: 15px 2%;
   background-color: #EAEAEA;
   border-radius: 4px;

   /* flexbox */
   display: flex;
   flex-flow: column nowrap;
   justify-content: flex-start;
   align-items: center;
}
.steps-image {
   color: #3FBAE7;
   width: 120px;
}
.steps-1 {
   /*background-color: #EAF6FF;*/
}
.steps-2 {
   /*background-color: #D5E0E9;*/
}
.steps-3 {
   /*background-color: #C6D2DA;*/
}

.steps-title {
   font-size: 21px;
   font-weight: 400;
}

.steps-text {
   font-size: 18px;
   font-weight: 300;
}


@media (min-width: 767px) and (min-height: 700px) {
   .steps-section {
      /*height: 200px;*/
      /*padding: 30px 50px 10px 50px;*/
   }

   .main-section {
      /*height: calc(100vh - 200px);*/
   }
}


@media (min-width: 767px) {
   .steps-container {
      flex-flow: row nowrap;
      align-items: stretch;
   }

   .steps-block {
      /*width: 111px;*/
      /*margin: 0px 2%;*/
   }
}

.steps-try-before-meeting {
   height: auto;
   padding: 10px 30px 0px 30px;
   flex: 0 0 auto;

   /* flexbox */
   display: flex;
   flex-flow: row nowrap;
   justify-content: center;
   align-items: stretch;
}

.steps-try-text {
   font-size: 18px;
   font-weight: 400;
}


/*--- How ZipSocket Works ---*/
.how-works-section {
   background-color: #F9FEFF;
   margin: 0px;
   padding: 50px;

   /* flexbox */
   display: flex;
   flex-flow: column wrap;
   justify-content: stretch;
   align-items: flex-start;
}

.how-buttons {
   width: 100%;
   margin-top: 50px;
   margin-bottom: 50px;

   /* flexbox */
   display: flex;
   flex-flow: row wrap;
   justify-content: center;
   align-items: flex-start;
}

/*--- Why Should You Use ZipSocket? ---*/
.phone-section {
   background-color: #EAEAEA;
   margin: 0px;
   padding: 0px;

   /* flexbox */
   display: flex;
   flex-flow: row wrap;
   justify-content: center;
   align-items: center;
}

.phone-image {
   object-fit: cover;
   padding: 0px;
   margin: 0px;
   flex: 1 1 300px;
   width: 100px;
   height: 400px;
   max-height: 60vw;
   align-self: stretch;
   max-width: 800px;
}


.phone-container {
   display: block;
   text-align: left;
   /*white-space: nowrap;*/
   /*overflow: hidden;*/

   margin: 30px;
   flex: 1 1 400px;
}


.width-limiter {
   max-width: 600px;
}

.demo-width-limiter {
   max-width: 500px;

   /* flexbox */
   display: flex;
   flex-flow: column nowrap;
   justify-content: center;
   align-items: stretch;
}

.why-text {
   display: inline-block;
   font-weight: normal;
   vertical-align: middle;
   text-align: center;
   padding: 10px 15px;
}

.why-text p {
   margin-top: 15px;
   margin-bottom: 15px;
   font-size: 17px;
}


.connection-section {
   background-color: #F9F9F9;
   margin: 0px;
   padding: 0px;

   /* flexbox */
   display: flex;
   flex-flow: row-reverse wrap;
   justify-content: center;
   align-items: stretch;
}

.connection-image {
   object-fit: cover;
   padding: 0px;
   margin: 0px;
   flex: 1 1 300px;
   width: 100px;
   height: 600px;
   max-height: 60vw;
   align-self: stretch;
   max-width: 800px;
}


.connection-container {
   position: relative;
   text-align: left;
   /*white-space: nowrap;*/
   /*overflow: hidden;*/

   padding: 30px;
   flex: 1 1 400px;

    /* flexbox */
   display: flex;
   flex-flow: column nowrap;
   justify-content: center;
   align-items: flex-end;
}




.collaboration-section {
   color: #333;
   background-color: #EAEAEA;
   margin: 0px;
   padding: 0px;

   /* flexbox */
   display: flex;
   flex-flow: row wrap;
   justify-content: center;
   align-items: center;
}

.collaboration-image {
   object-fit: cover;
   padding: 0px;
   margin: 0px;
   flex: 1 1 300px;
   width: 100px;
   height: 400px;
   max-height: 60vw;
   align-self: stretch;
   max-width: 800px;
}


.collaboration-container {
   display: block;
   text-align: left;
   /*white-space: nowrap;*/
   /*overflow: hidden;*/

   margin: 30px;
   flex: 1 1 400px;
}


@media (min-width: 767px) {
   /*.phone-container, .connection-container, .collaboration-container {*/
      /*margin: 30px 30px;*/
   /*}*/
}

/*--- Who Should Use It? ---*/
.who-section {
   background-color: #FAFAFA;
   padding-bottom: 25px;
}

.who-image {
   
}

.who-text {
   font-size: 17px;
   font-weight: 300;
   padding-top: 10px;
   padding-bottom: 40px;
}

@media (min-width: 767px) {
   .who-text {
      font-size: 18px;
      padding-bottom: 30px;
   }
}


.video-dialog {
   position: fixed;
   left: 0px;
   right: 0px;
   top: 0px;
   bottom: 0px;
   padding: 1%;
   z-index: 10;
   background-color: rgba(30,68,94,0.85);

   /* flexbox */
   display: flex;
   flex-flow: column nowrap;
   justify-content: center;
   align-items: center;
}

.video-dialog-ios {
   padding-top: 10px;
   justify-content: flex-start;
}

.widthWrapper {
   width: 100%;
   max-width: 160vh;

   /* flexbox */
   display: flex;
   flex-flow: column nowrap;
   justify-content: center;
   align-items: center;
}

.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* should be 56.25, 16:9 but it's a bit off */
	height: 0;
   width: 100%;
}

.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
   z-index: 1;
}

.video-close {
   color: #DDD;
   font-size: 1.2em;
   font-weight: 400;
   padding: 10px;

   /* flexbox */
   display: flex;
   flex-flow: row nowrap;
   justify-content: center;
   align-items: center;
}

.video-close:hover {
   color: #3FBAE7;

}

.close_button {
   width: 24px;
   margin: 0px 5px;
}