
/* ---------------------------------------------------------
   COLOURS   blue - #3C8EAC  brown - #C49934
   ---------------------------------------------------------*/

*{
  -webkit-tap-highlight-color: transparent;  
}

*:focus {outline:none !important}

html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

html, body {
  margin:0;
  padding:0  
  width: 100%;
  height: 100%;
  color: #222;
  font-family: 'Open Sans', sans-serif;
  font-size: 1em;
  line-height: 1.4;    
}

h1, h2, h3, h4, h5, h6, ol, ul {
  margin:0;
  padding:0;
}

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

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

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

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Custom styles
   ========================================================================== */

 #header {
    position: relative;
    padding: 25px;
    display: flex;
  }

  #branding {
    flex: 1;
    margin-right: 35px;
    width: 100%;
  }

  #branding  h1 {
    position: absolute;
    top: -3999px;
  } 

  #branding  h2 {
    margin-top: 10px;
    font-size: 18px;
  }         

  #branding img {
    width: 175px;
  }  

  #hero {
    position: relative;
    padding:35px 0; 
    width: 100%;
    background-image: url('../bokeh.jpg');
    background-position: center right; 
    background-repeat: no-repeat;
    background-size: cover;
  }

  .herocnt {
    margin: auto;
    padding: 15px 30px;
    width: 80%;
    color: #ffffff;
    font-size: 24px;
    background-color: #FFFFFF;
    background-color: rgb(255, 255, 255);
    background-color: rgba(255, 255, 255, 0.3);
    -webkit-border-radius: 5px;/*Safari, Chrome*/
    -moz-border-radius: 5px;/*Firefox*/
    border-radius: 5px;        
    -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=11, Direction=124, Color=#000000)";/*IE 8*/
    -moz-box-shadow: 2px 3px 11px rgba(0,0,0,0.3);/*FF 3.5+*/
    -webkit-box-shadow: 2px 3px 11px rgba(0,0,0,0.3);/*Saf3-4, Chrome, iOS 4.0.2-4.2, Android 2.3+*/
    box-shadow: 2px 3px 11px rgba(0,0,0,0.3);/* FF3.5+, Opera 9+, Saf1+, Chrome, IE10 */
    filter: progid:DXImageTransform.Microsoft.Shadow(Strength=11, Direction=135, Color=#000000); /*IE 5.5-7*/        
  }

  h3 {
    margin: 25px 25px 0;
    color: #3C8EAC;
    font-size: 24px;
  }

  .content {
    padding: 25px;
    font-size: 16px;
  }

  .row {
    display: flex;
  }

 .col {
    padding: 25px;
    width: 100%;
    display: flex;
  } 

  .item {
    margin: auto;
    padding: 20px;
    width: 100%%;
    text-align: center;
  }   

  #hosting {
    padding: 25px 0;
  }

  #footer {
    position: relative;
    padding: 15px 25px;
    color: #ffffff;
    background: #3C8EAC;
  }

  .bio {
    font-size: 16px;
  }
  
  .tos {
  	padding:25px;
  	text-align:center;
  }
  
  .tos a {
  	color: white;
  	font-size: 16px;
  }  
  
  #toscnt {
  	margin: 10px 35px;
  }

  .copyright {
    margin: 15px auto;
    width: 80%;
    text-align: center;
  }

  .copyright a {
    color: #ffffff;
    font-size: 12px;
  } 


  ul {
    margin: 12px 0 0 20px;
  }

  li {
    padding: 2px 0;
    color: #3C8EAC;
    display:none;
  }  

  .button {
    display: block;
    color: #fff;
    width: 100%;
    background-color: #3C8EAC;   
    border: 2px solid #3C8EAC;
    border-radius: 0;
    font-size: 18px;
    margin-top: 10px;
    padding: 14px 4px 14px;
    text-align: center;
    text-decoration: none;
  }

  #contact_body {
    margin: 45px auto;
    width: 420px;     
  }

  label {
    display: block; 
    margin: 5px 0;
    color: #3C8EAC;
  }

  input {
    width: 100%;
    margin-bottom:15px;
    padding: 5px 10px;        
    color:#333;
    font-size:18px;
    border:none;
    border-bottom:1px solid #333;
    border-radius:0;
  }

  textarea {
    width: 100%;
    min-height: 150px;
    margin-bottom:15px;
    padding: 5px 10px;        
    color:#333;
    font-size:18px;        
  }

  .emaillink {
    margin: 15px 0;
    text-align: center;
  }

  .emaillink a{
    color: #3C8EAC;
    text-align: center;
  }

#msgwrapper {
  position:fixed;
  left:0;
  top:0;
  width:100%; 
  display:flex;
}

#msgtxt {
  margin: 10px auto;
  padding:10px 30px;
  background: #ffffff;
  -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=11, Direction=124, Color=#000000)";/*IE 8*/
  -moz-box-shadow: 2px 3px 11px rgba(0,0,0,0.5);/*FF 3.5+*/
  -webkit-box-shadow: 2px 3px 11px rgba(0,0,0,0.5);/*Saf3-4, Chrome, iOS 4.0.2-4.2, Android 2.3+*/
  box-shadow: 2px 3px 11px rgba(0,0,0,0.5);/* FF3.5+, Opera 9+, Saf1+, Chrome, IE10 */
  display: none;
}

.success {
  color:#ffffff;
  background: #90C048;  
}

.error {
  color:#333333;
  background: #FFFC7F;
}


.ripple {
    position: relative;
    overflow: hidden;
    transform: translate3d(0, 0, 0);
}
.ripple:after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, #000 10%, transparent 10.01%);
    background-repeat: no-repeat;
    background-position: 50%;
    transform: scale(10, 10);
    opacity: 0;
    transition: transform .5s, opacity 1s;
}
.ripple:active:after {
    transform: scale(0, 0);
    opacity: .2;
    transition: 0s;
}



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

.hidden {
    display: none !important;
}

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

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

.invisible {
    visibility: hidden;
}

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

.clearfix:after {
    clear: both;
}

.blink {
  animation-duration: 0.8s;
  animation-name: blink;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-timing-function: ease-in-out;
}
@keyframes blink {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* ==========================================================================
   Media Queries for Responsive Design.
   ========================================================================== */

@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,
    *:first-letter,
    *: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,
    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;
    }

    img {
        max-width: 100% !important;
    }

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

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