/*
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

@import url("haiku.css");

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    background: #fff;
    -webkit-font-smoothing: antialiased;
    background-color: #fafafa;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, 'lucida grande', tahoma, verdana, arial, sans-serif;
    color: #222222;
    max-width: inherit;
    min-width: inherit;
}

div.footer {
    border-top: 1px solid #222;
    padding: 20px !important;
}

table {
  border-radius: 5px;
}

table, th, td {
  font-family: 'Helvetica Neue', Helvetica, Arial, 'lucida grande', tahoma, verdana, arial, sans-serif;
  border: 0.3em solid #374665;
}

td {
  padding: 8px;
}

div.content ul > li {
    list-style-type: disc;
    list-style-position: inside;
    line-height: 24px;
    padding: 0;
    margin-bottom: 6px;
}

.clearfix:after {
    clear: both;
    content: ".";
    display: block;
    font-size: 0;
    height: 0;
    line-height: 0;
    visibility: hidden;
}

.topbar h1 {
    background-image: url(presto.png);
    background-position: 1px 50%;
    background-repeat: no-repeat;
    background-size: 155px 55px;
    border-bottom: none;
    float: left;
    margin: 0 20px 0 0;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
    width: 155px;
}


.hero {
    background: #374665;
}

.hero h1 {
    border-bottom: none;
    color: #fff;
    line-height: 2em;
    margin: 0;
}

.homehero .button {
    background: #102747;
    color: #fff;
    display: inline-block;
    text-transform: uppercase;
    padding: 10px 20px;
    margin-top: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

a.downloadbutton {
    text-transform: none;
    background: #102747;
    color: #fff;
    display: inline-block;
    padding: 10px 20px;
    margin-top: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.nav .right {
    float: right;
    text-align: right;
}

div.topnav {
    background: #eeeeee;
}

div.topnav,
div.bottomnav {
    padding: 10px 0;
}

div.topnav p,
div.bottomnav p {
    font-size: 1.0em;
    margin: 20px 0px;
    padding: 5px 0px;
    text-align: left;
}

div.header h1 {
    font-size: 1.8em;
}

h1 {
    font-size: 1.5em;
}

h2 {
    font-size: 1.4em;
    color: #a8a8a8;
    text-transform: uppercase;
    font-weight: bold;
    border: none;
    background: url(chevron.png);
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: 0 50%;
    padding-left: 25px;
}

h3 {
    font-size: 1.3em;
}

h4 {
    font-size: 1.2em;
}

div.content {
    font-size: 1.0em;
}

div.content img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

div.content blockquote {
    padding: 0px 20px;
    margin: 0 0 20px;
    border-left: 5px solid #eee;
}

div.content blockquote p {
    font-style: italic;
}

div.content blockquote small:before {
    content: '\2014 \00A0';
}

div.admonition {
    border-radius: 3px;
    border-style: solid;
}

div.note {
    background-color: #f5f5ff
}

tt, code {
    font-family: Consolas, 'Liberation Mono', Courier, monospace;
    font-size: 0.9em;
}

code {
    margin: 0 2px;
    padding: 2px 5px 0 5px;
    border: 1px solid #d8d8d8;
    background-color: #f4f4f4;
    border-radius: 3px;
}

/* mobile first */

.width {
    margin: 0 auto !important;
    padding: 0 20px !important;
}

.homehero h1 {
    font-size: 20px;
    font-weight: normal;
    padding-top: 10px;
}

.homehero .showterm {
    display: none;
}

.topbar {
    background: #000;
    line-height: 60px;
}

.topbar .nav {
    float: right;
    margin: 0 0 0 0px;
    padding: 0;
}

.topbar .nav li {
    display: inline;
    text-transform: uppercase;
}

.topbar .nav li a {
    color: #fff;
    font-size: 12px;
    margin: 0 2px;
}

.fb-like {
    top: 4px;
    left: 4px;
}

.item {
    background-color: #dddddd;
    padding: 15px;
    border: 1px solid black;
    margin-bottom: 30px;
}

.item h4 {
    margin-top: 5px;
    margin-bottom: 5px;
    font-weight: bold;
}

.item dl dd pre {
    margin-left: -30px;
}


/* tabletish */

@media (min-width: 480px) {

    .topbar {
        line-height: 80px;
    }

    .topbar .nav li a {
        color: #fff;
        font-size: 13px;
        letter-spacing: 0.1em;
        margin: 0 8px;
    }

    .topbar .nav {
        margin: 0 0 0 20px;
    }

    .homehero h1 {
        font-size: 34px;
    }
}

/* desktopish */

@media (min-width: 960px) {
    .width {
        width: 960px;
    }

    .leftcol, .rightcol {
        display: inline-block;
        width: 32%;
    }

    .leftcol {
        float: left;
    }

    .rightcol {
        float: right;
    }

    .widecol {
        width: 63%;
    }

    .topbar .nav li a {
        font-size: 15px;
    }

    .homehero {
        padding: 20px 0;
    }

    .homehero .showterm {
        display: block;
    }

    .homehero .showterm img {
       width: 576px;
       height: 288px;
    }
}

/* CSS FOR HOME PAGE BANNER SECTION */
.banner-wrap {
  background: #ec7d31;
}

.banner-content {
  display: block;
  text-align: center;
  color: #fff;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1em;
}


@media(min-width:768px) {
  .banner-content {
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
  }
}

.banner-content .button {
  background: #374665;
  color: #fff;
  display: inline-block;
  text-transform: uppercase;
  padding: 10px 20px;
  margin-top: 15px;
  margin-bottom: 20px;
  border-radius: 5px;
}

.banner-logo {
  max-width: 280px;
  height: auto;
  margin-right: 0.5em;
}

.banner-info {
  font-size: 1.25em;
  padding: 0 30px;
}

@media(min-width:768px) {
    .banner-info {
      width: 0;
      flex: 1 1 50%;
      align-self:stretch;
      display: flex;
      flex-direction:column;
      justify-content: center;
      align-items:center;
      text-align:center;
    }
    .banner-info div {
        display:flex;
        justify-content:stretch;
        flex-direction:column;
        align-items:center;
        justify-content: center;
        margin: auto;
    }
    .banner-info .btn {
        flex-grow:0;
        margin: 0;
    }
}


.banner-info h2 {
  font-size: 1.4em;
  color: #fff;
  text-transform: initial;
  font-weight: bold;
  border: none;
  background: transparent;
  padding: 0;
  margin:0;
}

.banner-info h3, .banner-info h4 {
  padding: 0;
  margin:0;
  color: #fff;
}

.banner-info p {
  padding: 0;
  margin:0;
  color: #fff;
  text-align:center;
}

.white-separator {
    height: 1px;
    border-bottom: 3px solid #fff;
    width: 90%;
    margin: 30px auto;
    opacity: 0.5;
  }
@media(min-width:768px) {
  .white-separator {
    height: auto;
    border-bottom: 0 none;
    border-left: 3px solid #fff;
    width: 1px;
    max-width: 1px;
    flex: 0 0 1px;
    align-self: stretch;
    opacity: 0.5;
  }
}

.mt-3em  {
    margin-top: 3em;
}

