/*! HTML5 Boilerplate v6.0.1 | 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;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * 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
   ========================================================================== */
html {
    height: 100%;
    overflow: auto; 
}
body {
    width: 100%;
    height: 100%;
    min-height: 100%;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#c7e0e0+0,e3edef+100 */
    background: #c7e0e0; /* Old browsers */
    background: -moz-linear-gradient(top,  #c7e0e0 0%, #e3edef 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #c7e0e0 0%,#e3edef 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #c7e0e0 0%,#e3edef 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c7e0e0', endColorstr='#e3edef',GradientType=0 ); /* IE6-9 */
    width: 100% !important;
    height: 100% !important;
    position: fixed;
    overflow: auto;    
}
.navbar-custom {
    background-color: #67999a;
    height: 120px;
}
.navbar-brand {
    margin-top: -14px;
}
.navbar-nav {  
    font-family: lato, arial;
    font-size: 20px;
    padding-right: 20px;
}
.navbar-nav li a {
    color: #fff;
    margin-top: 30px;
}
.navbar-nav > .current > a, .navbar-nav > .current > a:hover, .navbar-nav > .current > a:focus {
    cursor: default;
    color: #c3d8d5;
    background-color: #67999a;
}
.navbar-nav > .active >
        a:hover, .navbar-nav > .active > a:focus {
    color:#DDD;
    background-color: #67999a;
}
#pushFooter {
    min-height: 100%;
    /*height: 100%;*/
    position: relative;
}
footer {
    width: 100%;
    position: absolute;
    bottom: 0;
    background-color: #67999a;
    height: 90px;
    padding-right: 30px;
}
footer .navbar-nav li a {
    margin-top: 10px;
}
.copy {
    font-family: arial;
    color: #fff;
    font-size: 18px;
    margin: 20px 0px 0px 50px;
    width: 160px;
}
#bottomNav {
    /*width: 400px;*/
    float: right;
    top: 0px;
    margin-top: -52px;
}
.wrapper {
    max-width: 980px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 90px;
}
.backgroundIMG {
    position: absolute;
    top: -40px;
    right: 0px;
    z-index: -1;
}
.backgroundIMG img {
    width: 100%;
    height: inherit;
}
.gallery a {
    margin: 10px 9px;
    float: left;
}
.clear {
    clear: both;
}
#introduction {
    font: 18px Arial, Helvetica, sans-serif;
    font-weight: 200;
    color: #033;
    background-color: rgba(250,250,250,0.9);
    padding: 15px 30px;
    width: 450px;
    margin-top: 55px;
    margin-left: 25px;
    margin-bottom: 50px;
    border-radius: 5px;
    -moz-border-radius: 5px; /* Firefix */
    -webkit-border-radius: 5px; /* Safari and Chrome */
    box-shadow: 10px 10px 20px #266; /* Opera, future-proofing */
    -moz-box-shadow: 10px 10px 20px #266; /* Firefix */
    -webkit-box-shadow: 10px 10px 20px #266;  /* Safari and Chrome */
    border: 1px solid #066;
}
.dialogue {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-bottom: 90px;
    background: rgba(000,000,000,0.7);
    z-index: 5;
    visibility: hidden;
    opacity: 0;
}
.panels {
    position: absolute;
    padding: 50px 60px 30px 60px;
    background: #c7e0e0;
    border-radius: 10px;
}
.vertical-center {
  min-height: 100%;  /* Fallback for browsers do NOT support vh unit */
  min-height: 100vh; /* These two lines are counted as one :-)       */

  display: flex;
  align-items: center;  
}
.fa-times-circle {
    color: #67999a;
    font-size: 25px;
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 10px;
}
.fa-times-circle:hover {
    color: #95c6c6;
}
.caption {
    margin-top: 10px;
    font-size: 18px;
}
#about {
    padding-top: 10px;
    font-size: 17px;
}
.education {
    padding-top: 10px;
    padding-bottom: 20px;
    border-bottom: solid 1px #67999a;
}
.education h2, .clients h2 {
    font-size: 26px;
    color: #67999a;
    text-align: center;
}
.education ul {
    list-style: none;
}
.education ul li {
    float: left;
    font-size: 16px;
}
.clients ul {
    list-style: none;
}
.clients ul li {
    float: left;
    font-size: 16px;
}
.clients ul li a {
    color: black;
}
.clients ul li a:hover {
    color: blue;
    text-decoration: none;
}
.services h2 {
    font-size: 26px;
    color: #67999a;
    text-align: center;
}
.services p {
    text-align: center;
    font-size: 16px;
}
#address {
    width: 50%;
    float: left;
}
#addressLine {
    color: #4f8182;
    font-size: 16px;
    line-height: 18px;
}
#contactForm {
    margin-top: 20px;
    width: 50%;
    float: left;
}
.form-group {
    margin-bottom: 10px;
}
.form-group label {
    width: 30%;
    float: left;
    color: #4f8182;
}
.form-group input {
    width: 70%;
    float: left;
}
.form-group textarea {
    width: 70%;
    float: left;
}
#contactForm button {
    margin-left: 30%;
}
#contactForm form button {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#80bab1+1,67999a+61,6fa5a2+100 */
    background: rgb(128,186,177); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(128,186,177,1) 1%, rgba(103,153,154,1) 61%, rgba(111,165,162,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(128,186,177,1) 1%,rgba(103,153,154,1) 61%,rgba(111,165,162,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(128,186,177,1) 1%,rgba(103,153,154,1) 61%,rgba(111,165,162,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#80bab1', endColorstr='#6fa5a2',GradientType=0 ); /* IE6-9 */
    border: solid 1px #487272;
    padding: 6px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    /*box-shadow: 1px 1px 5px #444;*/
}
#contactForm form button:hover {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#73aab7+0,6392a3+60,689baa+100 */
    background: rgb(115,170,183); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(115,170,183,1) 0%, rgba(99,146,163,1) 60%, rgba(104,155,170,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(115,170,183,1) 0%,rgba(99,146,163,1) 60%,rgba(104,155,170,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(115,170,183,1) 0%,rgba(99,146,163,1) 60%,rgba(104,155,170,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#73aab7', endColorstr='#689baa',GradientType=0 ); /* IE6-9 */
    color: #eee;
    box-shadow: none;
}
.preloadIMG img {
    height: 480px;
    width: 640px;
    position: absolute;
    top: 0px;
    z-index: -1;
}
.interactive {
    background: url('../img/turntables/whole/skin_1.jpg') no-repeat;
    /*background: #F00;*/
    background-size: 100%;
    width: 640px;
    height: 480px;
    position: relative;
}
.left {
    background: url('../img/leftControl.png') no-repeat;
    width: 40px;
    height: 46px;
    position: absolute;
    left: 30px;
    bottom: 20px;
    cursor: pointer;
}
.right {
    background: url('../img/rightControl.png') no-repeat;
    width: 40px;
    height: 46px;
    position: absolute;
    right: 30px;
    bottom: 20px;
    cursor: pointer;
}
.reset {
    background: url('../img/resetControl.png') no-repeat;
    width: 40px;
    height: 46px;
    position: absolute;
    right: 30px;
    top: 20px;
    cursor: pointer;
}
.choseLayer {
    width: 76px;
    margin-left: 12px;
    padding-top: 50px;
}
.layer {
    font-size: 15px;
    background: rgba(95,148,150,0.9);
    color: white;
    padding: 6px 0px 6px 5px;
    margin-bottom: 8px;
    border: solid 2px #c7e0e0;
}
.layer:hover {
    background: rgba(13,25,32,0.75);
    cursor: pointer;
}
.preload {
    display: none;
}
/* ==========================================================================
   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);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    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;
    -webkit-clip-path: none;
    clip-path: none;
    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 {
        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;
    }
}
