/*
Theme Name: Web Anchor Boilerplate
Theme URI: http://wordpress.org/themes/twentythirteen
Author: the WordPress team
Author URI: http://wordpress.org/
Description: The 2013 theme for WordPress takes us back to the blog, featuring a full range of post formats, each displayed beautifully in their own unique way. Design details abound, starting with a vibrant color scheme and matching header images, beautiful typography and icons, and a flexible layout that looks great on any device, big or small.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: fluid-layout
Text Domain: webanchor
*/
/*! normalize.css v1.1.2 | MIT License | git.io/normalize */
/* ==========================================================================
   HTML5 display definitions
   ========================================================================== */
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary { display: block }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; height: 0; }
[hidden] { display: none }
/* ==========================================================================
   Base
   ========================================================================== */
html { font-size: 100%; /* 1 */ -ms-text-size-adjust: 100%; /* 2 */ -webkit-text-size-adjust: 100%; /* 2 */; }
html, button, input, select, textarea { font-family: sans-serif }
body { margin: 0 }
/* ==========================================================================
   Links
   ========================================================================== */
a:focus { outline: none }
a:active, a:hover { outline: 0 }
/* ==========================================================================
   Typography
   ========================================================================== */
h1 { font-size: 2em; margin: 0.67em 0; }
h2 { font-size: 1.5em; margin: 0.83em 0; }
h3 { font-size: 1.17em; margin: 1em 0; }
h4 { font-size: 1em; margin: 1.33em 0; }
h5 { font-size: 0.83em; margin: 1.67em 0; }
h6 { font-size: 0.67em; margin: 2.33em 0; }
abbr[title] { border-bottom: 1px dotted }
b, strong { font-weight: bold }
blockquote { margin: 1em 40px }
dfn { font-style: italic }
hr { -moz-box-sizing: content-box; box-sizing: content-box; height: 0; }
mark { background: #ff0; color: #000; }
p, pre { margin: 1em 0 }
code, kbd, pre, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
q { quotes: none }
q:before, q:after { content: ''; content: none; }
small { font-size: 80% }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em }
sub { bottom: -0.25em }
/* ==========================================================================
   Lists
   ========================================================================== */
dl, menu, ol, ul { margin: 1em 0 }
dd { margin: 0 0 0 40px }
menu, ol, ul { padding: 0 0 0 40px }
nav ul, nav ol { list-style: none; list-style-image: none; }
/* ==========================================================================
   Embedded content
   ========================================================================== */
img { border: 0; /* 1 */ -ms-interpolation-mode: bicubic; /* 2 */ }
svg:not(:root) { overflow: hidden }
/* ==========================================================================
   Figures
   ========================================================================== */
figure { margin: 0 }
/* ==========================================================================
   Forms
   ========================================================================== */
form { margin: 0 }
fieldset { border: 1px solid #c0c0c0; margin: 0 2px; padding: 0.35em 0.625em 0.75em; }
legend { border: 0; /* 1 */ padding: 0; nowhitespace: afterproperty; white-space: normal; /* 2 */ nowhitespace: afterproperty; *margin-left: -7px; /* 3 */ }
button, input, select, textarea { font-size: 100%; /* 1 */ margin: 0; /* 2 */ vertical-align: baseline; /* 3 */ nowhitespace: afterproperty; *vertical-align: middle; /* 3 */ }
button, input { line-height: normal }
button, select { text-transform: none }
button, html input[type="button"], /* 1 */
input[type="reset"], input[type="submit"] { -webkit-appearance: button; /* 2 */ cursor: pointer; /* 3 */ nowhitespace: afterproperty; *overflow: visible; /* 4 */ }
button[disabled], html input[disabled] { cursor: default }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; /* 1 */ padding: 0; /* 2 */ nowhitespace: afterproperty; *height: 13px; /* 3 */ nowhitespace: afterproperty; *width: 13px; /* 3 */ }
input[type="search"] { -webkit-appearance: textfield; /* 1 */ -moz-box-sizing: content-box; nowhitespace: afterproperty; -webkit-box-sizing: content-box; /* 2 */ box-sizing: content-box;; }
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; /* 1 */ vertical-align: top; /* 2 */ }
/* ==========================================================================
   Tables
   ========================================================================== */
table { border-collapse: collapse; border-spacing: 0; }
/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
html, button, input, select, textarea { color: #222 }
body { font-size: 1em; line-height: 1.4; }
::-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, img, video { vertical-align: middle }
fieldset { border: 0; margin: 0; padding: 0; }
textarea { resize: vertical }
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}
/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */
.browsehappy { margin: 0.2em 0; background: #ccc; color: #000; padding: 0.2em 0; }
.group:after { content: ""; display: table; clear: both; }
/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */
@media print { 
    * { background: transparent !important; color: #000 !important; /* Black prints faster: h5bp.com/s */; 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) ")" }
    .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: "" }
    pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
    thead { display: table-header-group; /* h5bp.com/t */ }
    tr, img { page-break-inside: avoid }
    img { max-width: 100% !important }
}
/* LAYOUT */
.aligncenter { display: block; margin: 0 auto; }
.alignleft { float: left }
.alignright { float: right }
.wp-caption { border: 1px solid #666; text-align: center; background: #ccc; padding: 10px; margin: 10px; }

/* TESTING */
/* * {     background-color: rgba(0,255,0,0.1); } */

/* RESPONSIVE BACKGROUND IMAGE */
.bg-responsive { overflow: hidden; position: relative; } 
.my-element:after { content: ""; display: block; height: 0; padding-top: 56.25%; /* Aspect ratio = height divided width times 100 */ }


/** Keep drop-downs working **/

#access { display: none; }
#access li { float: left; position: relative; }
#access ul ul { display: none; float: left; position: absolute; top: 3.333em; left: 0; z-index: 99999; }
#access ul ul ul { left: 100%; top: 0; }
#access ul li:hover > ul { display: block; }

/* ========================================================================== */
/* CUSTOM STYLES */

body { font-family: 'Asap', sans-serif; background: url('img/bg.png') center center; background-size: cover; }

h1,h2,h3,h4,h5,h6 { font-family: 'Maiden Orange', sans-serif; font-weight: normal; }

.menu-left,.menu-right { margin: 30px 0 0 0; padding: 0; }
.tiny .menu-left, .tiny .menu-right { margin: 30px 0 0 0; }
.menu-left li,.menu-right li { list-style: none; margin: 0 5px; padding: 0; float: left; }
.menu-right li { text-align: right; float: right; }


#menu-left,#menu-right { margin: 0; padding: 0; }
#menu-left::after,#menu-right::after { content: ""; display: table; clear: both; }
.menu-left li,.menu-right li {  }
.menu-left li a,.menu-right li a,.menu-header li a { background: url('img/menu.png') no-repeat; background-size: 100%; height: 36px; width: 109px; font-size: 20px; font-family: 'Maiden Orange', sans-serif; font-weight: normal; color: #000; transition: all 500ms; display: block; line-height: 43px; text-align: center; text-transform: uppercase;  } 
.menu-left li a:hover,.menu-right li a:hover,.menu-header li a:hover { background-image: url('img/menu-active.png');text-decoration: none; color: #FFF; }
.menu-left,.menu-right { width: 36%; float: left; display: block; }
li.current-menu-item a { background-image: url('img/menu-active.jpg'); color: #FFFFFF; }

.home article { padding-bottom: 40px; }

header { z-index: 9999; background: #FFF; padding:  20px 0;  width:100%; height:80px; position:fixed; top:0; left:0; transition: height 500ms, background 500ms;  }
header.tiny { height: 65px; }


header h1 { margin: 0; padding: 0; width: 28%; float: left; display: block; }
header h1 a { margin: 0 auto; background:  url('img/logo.png') no-repeat; width: 147px; height: 160px; text-indent: -9999px; display: block; background-size: 100%; transition: height 500ms,width 500ms; }
header.tiny h1 a { width: 100px; height:100px; background-image:  url('img/logo-small.png'); }


.yellowborder { background: #000; padding: 10px; margin-bottom: 20px; }
.whitebox { background:  #FFF; padding: 20px;  height: calc(100% - 40px);  }
.whitebox  h2 { margin: 0 0 20px 0;}

#mobibox { display: none; }

h2.yellowstripe { font-family: 'Maiden Orange', sans-serif; font-weight: normal;  color: #000; text-align: center;  }
h2.yellowstripe span { display: inline-block; background: #FEDD00; padding: 10px 10px 5px; text-transform: uppercase; line-height: 1; }


#content a { color: #444; }
#content a:hover { background: #FEDD00; text-decoration: none; }


.page-template-template-contact #content { padding: 100px 0 40px; }
ul.social { text-align: center; margin: 20px auto; padding: 0; }
ul.social li { display: inline-block; list-style: none; margin:  0; padding: 0; }
ul.social li a { color: #000; font-size: 30px; }

hr { max-width: 30%; margin: 15px auto!important; }

footer { background: #000000; color: #FFF; text-align: center; padding: 10px; font-size: 11px; }
footer a { color: #FFF;  font-size: 11px; }
footer a:hover { color: #FEDD00; }

a.fb { background: #3B5998; color: #FFF; width: 30px; height: 40px; line-height: 59px; display: block; text-align: center; border-radius:2px; padding-left: 10px; font-size: 39px;}
a.fb i { color: #FFF; }

/*HOVER EFFECTS*/
/* Common style */
figure {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  background: #000000;
  width: 100%;
  text-align: center;
  cursor: pointer; }

figure img {
  position: relative;
  display: block;

  max-width: 100%;
  opacity: 1; /* img opacity */
  width: 100%;
  height: auto;
}


figure figcaption {
  padding: 0;
  color: #000;
  text-transform: capitalize;
  font-size: 1em;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden; }

figure figcaption::before,
figure figcaption::after {
  pointer-events: none; }

figure figcaption,
figure figcaption > a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; }

  figure figcaption .coverbit { padding: 15px; text-align: left; }

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
figure figcaption > a {
  z-index: 1000;
  text-indent: 200%;
  white-space: nowrap;
  font-size: 0;
  opacity: 0; }

figure h4 { font-family: 'Asap', sans-serif; text-transform: uppercase; font-size: 24px; line-height: 1.2;
  font-weight: 300; }

/*figure h4 span {
  font-weight: 400;
}*/
figure h4,
figure p {
  margin: 0; }

figure p {
  letter-spacing: 1px;
  font-size: 17px;
   }

/*---------------*/
/***** Sadie *****/
/*---------------*/
figure.effect-sadie h4 { margin: 0; }
figure.effect-sadie figcaption::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(to bottom, rgba(160, 160, 160, 0) 0%, rgba(192, 192, 192, 0.) 75%); */
  background:  rgba(255, 255, 255, .6);
  content: '';
  opacity: 0;
  -webkit-transform: translate3d(0, 50%, 0);
  transform: translate3d(0, 50%, 0); }



figure.effect-sadie figcaption::before,
figure.effect-sadie p,figure.effect-sadie h4 { font-family: 'Maiden Orange', sans-serif; font-weight: normal;
  transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s; }

figure.effect-sadie p {
font-family: 'Asap', sans-serif; letter-spacing: 1px;
  padding-bottom: 2em;
  width: 100%;
  opacity: 0;
  -webkit-transform: translate3d(0, 10px, 0);
  transform: translate3d(0, 10px, 0); }

figure.effect-sadie h4 {
font-family: 'Maiden Orange', sans-serif; font-weight: normal;

  color: #000;

  opacity: 0;
}



figure.effect-sadie:hover figcaption::before,
figure.effect-sadie:hover p,figure.effect-sadie:hover h4 {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0); }

#contact,#about { padding: 0; }



h2.bighead { padding: 0 40px; color: #000; font-size: 80px; text-transform: uppercase; line-height: 70px; margin: 0 0 10px 0; letter-spacing: 2px; }
h3.smallstrap { padding: 0 40px; color: #000; font-size: 24px; line-height: 26px; margin: 0 0 20px 0; }


#whitebox { background: #FFF url('img/split.png') no-repeat center center; background-size: contain; padding: 20px 40px; font-family: 'Maiden Orange', sans-serif; font-weight: normal; font-size: 20px; letter-spacing:.5px; margin: 0 0 50px 0; }
#whitebox strong { text-transform: uppercase; font-size: 24px; letter-spacing: 1px; }
#whitebox p { margin: 0 0 15px 0; }

#whitebox #left { padding-right: 30px; }

#about #davies { background: url('img/davies.png'); background-size: 100%; content: ""; width: 800px; height: 268px; margin: 35px auto 0; }

#screentime {  }
#screentime h2.bigtext { background:url("img/st-bg.png") no-repeat; background-size: 100%; padding: 20px 40px 0; color: #000; font-size: 80px; text-transform: uppercase; line-height: 70px; margin: 50px 0 10px 0; letter-spacing: 2px; }
#screentime h3.smallstrap { padding: 0 30px; color: #000; font-size: 20px; line-height: 26px; margin: 0 0 20px 0; }

header .container { max-width: 800px; width: 96%; }

/* MEDIA QUERIES */

@media all and (max-width: 2400px) {
.container { max-width: 1400px; width: 96%; margin: 0 auto; }
#content { padding: 200px 0 40px; }
}

@media all and (max-width: 1280px) {
.container { max-width: 1100px; width: 96%; margin: 0 auto; }
#content { padding: 150px 0 40px; }
}

@media all and (max-width: 768px) {
 

  nav#access { display: block; position: absolute; top: 0; right: 0; }
  nav .menu-header { display: none; position: absolute; top: 35px; right: 0; z-index: 99999; background: #FEDD00; width: 160px; text-align: center; }
  nav .menu-header ul { margin: 0; padding: 0; width: 100%; }
  nav .menu-header ul li { margin: 0; padding: 0; width: 100%; }
  nav .menu-header ul li.current-menu-item a { background: #000; color: #FEDD00; }
  #mobibox { display: block; margin: 0; position: absolute; top: 0; right: 0;  }
  #mobibox #showmobi { background: #000; color: #FFFFFF;  float: left; cursor: pointer; width: 35px; height: 35px; line-height: 35px; text-align: center; }
  #mobibox #showmobi i { color: #FFFFFF; font-size: 25px; text-align: center; line-height: 35px; }
  .menu-left,.menu-right { display: none; }
  header h1 { width: 100%;  }

  #whitebox { background: #FFFFFF; }

    #about #davies { width: 430px; height: 145px; margin: 0; }

}

@media all and (max-width: 568px) {
  .container { width: 90%; }
  #whitebox { background: #FFFFFF; }

  #about #davies { width: 430px; height: 145px; margin: 0; }

}
@media all and (max-width: 360px) {
    header h1 a { height: 174px;
    width: 170px; }
    header { height: 120px; }
    #content { padding: 190px 0 40px; }
    #about #davies { width: 290px; height: 97px; }
    #whitebox { background: #FFFFFF; }
    h2.bighead { font-size: 50px; line-height: 40px; }


}