/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    line-height: 1.4;
}

@media only screen and (min-width: 1300px) {
    html {
        font-size: 1.1em;
    }
}

body {
    font-family: 'PT Sans', 'Roboto', sans-serif;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    p:first-letter,
    div:first-letter,
    blockquote:first-letter,
    li:first-letter,
    p:first-line,
    div:first-line,
    blockquote:first-line,
    li:first-line {
        background: transparent !important;
        color: #000 !important;
        /* Black prints faster:
                                          http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */
    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

h1 {
    font-size: 2.2em;
}

h2 {
    font-size: 2em;
    color: #E57373;
}

h1, h2 {
    font-weight: bold;
}

.centered {
    text-align: center;
}

@media only screen and (min-width: 601px) {
    h1 {
        font-size: 2.3em;
    }

    h2 {
        font-size: 2em;
    }
}

img {
    /* -webkit-transition: opacity 0.4 s, width 0.5 s ease !important;
     transition: opacity 0.4 s, width 0.5 s ease !important;*/
}

.light-btn {
    background-color: #eceff1 !important;
    color: #222;
}

.light-btn:hover {
    background-color: #fafafa !important;
    color: #222;
}

#back-to-top {
    position: fixed;
    bottom: 1.1em;
    right: 1.1em;
    opacity: 0.7;
}

#back-to-top:hover {
    opacity: 0.9;
}

.justify {
    text-align: justify;
}

.strike {
    text-decoration: line-through;
}

/**
 * Nav
 */
dropdown-content li a, nav a, nav ul a, nav .brand-logo {
    color: #626262 !important;
}

nav .brand-logo {
    font-weight: bold;
    padding: 0 10px 0 50px;
}

nav li .waves-effect {
    transition: none;
    -webkit-transition: none;
}

nav {
    -webkit-transition: height 0.5s, line-height 0.5s ease;
    transition: height 0.5s, line-height 0.5s ease;
}

.navbar-fixed {
    z-index: 999;
}

nav .brand-logo {
    -webkit-transition: font-size 0.5s ease;
    transition: font-size 0.5s ease;
}

.shrink-navbar #sejda-tagline {
    opacity: 0;
}

@media only screen and (min-width: 601px) {
    .shrink-navbar .navbar-fixed {
        height: 54px;
    }

    .shrink-navbar nav, .shrink-navbar nav .nav-wrapper i, .shrink-navbar nav a.button-collapse, .shrink-navbar nav a.button-collapse i {
        height: 54px;
        line-height: 54px;
    }

    .shrink-navbar nav .brand-logo {
        font-size: 2.1rem;
    }

    nav, nav .nav-wrapper i, nav a.button-collapse, nav a.button-collapse i {
        height: 74px;
        line-height: 74px;
        -webkit-transition: height 0.5s, line-height 0.5s ease;
        transition: height 0.5s, line-height 0.5s ease;
    }

    .navbar-fixed {
        height: 74px;
    }
}

#sejda-tagline {
    display: none;
    color: #626262;
    -webkit-transition: opacity 0.5s ease;
    transition: opacity 0.5s ease;
}

@media only screen and (min-width: 993px) {
    nav {
        height: 84px;
        line-height: 84px;
    }

    nav .brand-logo {
        font-size: 3.1rem;
        padding: 0 10px 0 50px;
        position: static;
    }

    #sejda-tagline {
        font-size: 0.9rem;
        width: 280px;
        padding-left: 10px;
        padding-bottom: 10px;
        display: inline-block;
        line-height: normal;
    }
}

/**
 * Summary
 */
#sejda-summary {
    background: #d4d4d4 url("../img/bg.jpg");
}

#summary-terminal-wrapper {
    position: relative;
}

#terminal, #terminal-header {
    width: 450px;
}

#terminal {
    margin: auto;
    top: 30px;
    position: relative;
}

#terminal-content {
    padding: 0.5rem;
    min-height: 150px;
    margin-bottom: -10px;
    text-align: left;
}

.path, .prompt {
    color: #00FF00;
}

@media only screen and (min-width: 601px) {
    #terminal, #terminal-header {
        width: 500px;
    }
}

@media only screen and (min-width: 993px) {
    #terminal, #terminal-header {
        width: 800px;
    }
}

/**
 * CLI
 */
.download-summary {
    padding: 1em 20% 1em 20%;
}

.download-summary p {
    font-size: 1.1rem;
    margin-top: 0;
}

/**
 * Pricing
 */
#sejda-prices {
    padding: 2.5em 0 2.5em 0;
}

.price {
    padding: 1.3em 0;
}

.price-title h5 {
    margin: 0px;
    padding: 0.7em;
    font-size: 1.4rem;
}

.pricing-features .collection-item {
    padding: 0.5em 1em;
}

.pricing-features .collection {
    border: none;
}

.featured {
    -ms-transform: translate(0, -10px); /* IE 9 */
    -webkit-transform: translate(0, -10px); /* Safari */
    transform: translate(0, -10px);
}

#oss-price .btn {
    background-color: #78909c !important;
}

#oss-price .btn:hover {
    background-color: #90a4ae !important;
}

#enterprise-price .btn {
    background-color: #e57373 !important;
}

#enterprise-price .btn:hover {
    background-color: #ef9a9a !important;
}

.buy-btn {
    margin-bottom: 1em;
}

.pro-tasks-list {
    padding-left: 5px !important;
}

.pro-tasks-list li {
    font-size: 0.9rem;
}

/**
 * Battle tested
 */
#sejda-battle-tested {
    padding-bottom: 2.5rem;
}

#battle-tested-head h2 {
    margin-bottom: 0;
}

#battle-tested-head h4 {
    font-size: 1.6rem;
    padding-bottom: 1.5rem;
}

#sejda-battle-tested .row {
    padding: 0 0 1em 0;
}

#sejda-battle-tested img {
    width: 450px;
    margin: 1em auto;
}

@media only screen and (min-width: 601px) {
    #sejda-battle-tested img {
        width: 500px;
    }
}

@media only screen and (min-width: 993px) {
    #sejda-battle-tested img {
        width: 900px;
    }
}

/**
 * Endorsment
 */

/**
 * Tasks
 */
#sejda-tasks {
    padding: 3.7em 0 3em 0;
}

.task-head {
    font-size: 1.5em;
    font-weight: bold;
}

#sejda-tasks .col i {
    font-size: 3.5em;
}

#tasks-find-more {
    padding-top: 1rem;
}

@media only screen and (min-width: 601px) {
    #sejda-tasks .col ii {
        font-size: 4.5em;
    }
}

@media only screen and (min-width: 993px) {
    #sejda-tasks .col i {
        font-size: 5.5em;
    }
}

/**
 * Contact
 */
#contact {
    padding: 1.5rem 0;
}

#contact p {
    margin: 0;
    font-size: 1.1rem;
}

#contact a {
    background-color: white;
    color: #222;
}

/**
 * Footer
 */
footer.page-footer {
    margin-top: 0;
}

footer {
    font-size: 0.9rem;
}

footer h5 {
    font-size: 1.1rem;
    font-weight: bold;
    padding-top: 1rem;
}

footer a {
    text-decoration: underline;
}

/**
 * Available tasks
 */
#available-tasks h5 {
    display: inline;
    color: #E57373 !important;
}

#all-tasks .row {
    padding-bottom: 30px;
}

.toc-wrapper {
    margin-left: 3rem;
}

.table-of-contents {
    padding-top: 0;
}

.table-of-contents a.active {
    border-left: 3px solid #4DB6AC;
}

.table-of-contents a:hover {
    border-left: 1px solid #4DB6AC;
}

.table-of-contents a {
    color: #222222;
}

#tasks-toc {
    float: left;
}

/**
 * cookies
 */
#cookies ul li {
    list-style-type: circle;
}

#contactFormModal.modal {
    max-height: 80%;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-warning {
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-color: #faebcc;
}

.alert-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

.alert-info {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
}

.alert-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

ul.pro-tasks-list li {
    list-style-type: disc;
    margin-left: 7px;
}
