/*! 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
   ========================================================================== */

/*
 * 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
   ========================================================================== */

/* ==========================================================================
   Main Body Styles
   ========================================================================== */  

  html{
    font-size: 1em;
  }

  body {
    line-height: 1.45;
    font-family: 'Arvo', serif;
    background-color: grey;
    position: relative;
  }


  h1, h2, h3, h4, label {
    font-family: 'Ubuntu', sans-serif;
    font-weight: inherit;
    line-height: 1.2;
    font-weight: bold;
    font-style: italic;
    color: #121010;
  }

  h1 {
    margin-top: 0;
    font-size: 2.074em;
  }

  h2 {font-size: 1.728em;}

  h3 {font-size: 1.44em;}

  h4 {font-size: 1.2em;}

  small, .font_small {font-size: 0.833em;}

  p {
    max-width: 35em; /*font size x 35 = line length*/
    margin: 0 auto;
    color: #454545;
    line-height: 1.5;
  }

/*  h1.name small::before {
    content: "\A Web Designer/Developer";
    white-space: pre-wrap;
    line-height: 1;
  }
*/
  h1 p{
    margin-top: -25px;
  }
  h1 small{
    font-size: 0.65em;
  }
  .small p{
    display: inline;
  }

  .banner{
    margin-bottom: -15px;
  }
  
  .content-body{
    background-image: url("../img/bg_texture.png");
    background-color: #ccc;
    color: black; 
    border-left: 1px solid dimgrey;
    border-right: 1px solid dimgrey;
    padding: 0;
  }

  .content{
    background-color: #bcbabbb5;
    border-radius: 20px;
  }

  .background{
    background-color: #f9f9f9b5;
    border-radius: 10px;
  }

  .display-images .col-lg-4{
    padding: 0;
  }

  a img:hover{
    opacity: 0.7;
  }

/* ==========================================================================
   Form Styles
   ========================================================================== */

  .form-control{
    font-family: 'Arvo', serif;
    font-size: 0.8em;
  }

  .btn-send {
      font-weight: 300;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      margin-bottom: 20px;
  }


  .help-block.with-errors {
      color: #ff5050;
      margin-top: 5px;
      font-size: 0.8em;
  }

  .form-group.has-error.has-danger > .form-control {
      border-color:#ff5050;
  }
  .form-group.has-error.has-danger > .form-control:focus {
      box-shadow: 0 0 0 0.2rem rgba(255, 80, 80, 0.25);
  }

  .req{
      color: #ff5050;
  }

  #submit-btn:hover {
      color: #fff;
      background-color: #0062cc;
      border-color: #005cbf;
  }




/* ==========================================================================
   Header Styles
   ========================================================================== */

   .logo{
        width: 100px;
    }
    .logo-big img:hover{
      opacity: 0.7;
    }
    ul.navbar-nav{
      font-family: 'Ubuntu', sans-serif;
      font-size: 20px;
      text-align: center;
    }

    .fa-bars{
      font-size: 2em;
    }

    .appstore:hover{
      opacity: 0.7;
    }


/* ==========================================================================
   Footer Styles
   ========================================================================== */
   footer{
      height: 125px;
      background-color: #343a40;
    }
    footer .container p{
      color: #ccc;
    }
    footer .social {
      font-size: 2em;
    }
    footer .social a{
      color: #8f8f8f;
    }
    footer .social a:hover{
      color: #ffffff;
    }
    footer p{
      font-size: 0.833em;
      color: #a0a0a0!important;
      font-family: 'Ubuntu', sans-serif;
    }

    footer a:hover{
      text-decoration: none;
    }


/* ==========================================================================
   Media Queries
   ========================================================================== */

/*   // Small devices (landscape phones, less than 768px)*/
  @media (max-width: 767.98px) {

    .project-info .seperator{
      border-bottom: 2px solid #5a5a5a;
      margin-bottom: 15px;
    }

    .project-info p{
      padding-bottom: 15px;
    }

    .project-info:first-child, .project-info:last-child{
      border-right: hidden;

    }
    .project-info:last-child{
      border-left: hidden;
    }

    #accordion{
      padding: 0px;
    }

    .navbar-nav{
      float: right;
      text-align: right;
    }
    .nav-link{
      padding: 0px;
    }
    .nav-items{
      margin-bottom: 0.5em;
      padding-top: 8.5px;
    }
  }

   /*// Extra small devices (portrait phones, less than 576px)*/
   @media (max-width: 575.98px) {
    html, p{
      font-size: 0.9em;
    }
    .contact-form, .contact-form .container, .captcha{
      padding: 0;
    }



   }

   /*// Small devices (landscape phones, 576px and up)*/
   @media (min-width: 576px) and (max-width: 767.98px) {

   }

  /*// Medium devices (tablets, 768px and up)*/
  @media (min-width: 768px) and (max-width: 991.98px) { 
    .about p{
      max-width: inherit;
      font-size: 1.16em;
    }

   }

   /*// Large devices (desktops, 992px and up)*/
   @media (min-width: 992px) {

   }

   /*// Extra large devices (large desktops, 1200px and up)*/
   @media (min-width: 1200px) {

   }

/* ==========================================================================
   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;
    }
}
