/* HTML5 Boilerplate  */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

html { min-width: 100%; font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%;}
html, button, input, select, textarea { color: #222; font-family: sans-serif; }
body { margin: 0; min-width: 100%; font-size: 1em; line-height: 1.4;}

::-moz-selection { background: #333; color: #fff; text-shadow: none; }
::selection { background: #333; color: #fff; text-shadow: none; }

a { color: #00e; }
a:visited { color: #551a8b; }
a:hover { color: #06e; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }
abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; margin: 0; padding: 30px 0 0 0; height: 1px; border: 0; /* border-bottom: 1px dotted rgba(40,40,40,0.2); */ }
hr.bot { padding: 0; /* border-top: 1px dotted rgba(40,40,40,0.2); */ border-bottom: none;}
hr.sep { background: url(../img/line.png) no-repeat center bottom;}
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-weight: bold; font-style: italic; }
pre, code, kbd, samp { font-size: 1em; font-family: monospace, serif; _font-family: 'courier new', monospace; }
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: 85%; }
sub, sup { position: relative; vertical-align: baseline; font-size: 75%; line-height: 0; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { margin: 0; padding: 0; list-style: none; list-style-image: none; }

img { border: 0; vertical-align: middle; -ms-interpolation-mode: bicubic; }
svg:not(:root) { overflow: hidden; }
figure { margin: 0; }

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

label { cursor: pointer; }
legend { padding: 0; border: 0; white-space: normal; *margin-left: -7px; }
button, input, select, textarea { margin: 0; vertical-align: baseline; font-size: 100%; *vertical-align: middle; }
button, input { line-height: normal; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }
button[disabled], input[disabled] { cursor: default; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
input[type="search"] { -webkit-box-sizing: content-box; -moz-box-sizing: content-box; box-sizing: content-box; -webkit-appearance: textfield; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { padding: 0; border: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

table { border-spacing: 0; border-collapse: collapse; }
td { vertical-align: top; }

.chromeframe { margin: 0.2em 0; padding: 0.2em 0; background: #ccc; color: black; }


/*  MY STYLES  **************************************** */
/* GENERAL */


* {
  font-family: 'Lato', HelveticaNeue, Helvetica, sans-serif;
}

img {
  background: url('../img/loading.gif') center center no-repeat rgba(255,255,255,1);
}

a:focus {
  outline: none;
}

#monstreBoxShadow {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  -webkit-box-shadow: inset 0px 0px 100px 0px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: inset 0px 0px 100px 0px rgba(0, 0, 0, 0.3);
  box-shadow: inset 0px 0px 100px 0px rgba(0, 0, 0, 0.3);
  pointer-events:none;
}

body {
  background: #fff /*url(../img/bg_test.jpg) center top*/;
  text-align: center;
}

header {
  position: relative;
  z-index: 1000;
  display: inline-block;
  margin: 67px 0;
}

header h1, header h2 {
  margin: 0;
  color: #333;
  font-weight: 300;
  font-size: 43px;
  line-height: 38px;
  text-rendering: optimizeLegibility;
}

header h1 a, header h1 a:visited {
  color: #333;
  text-decoration: none;
}

header h2 {
  /* display: none; */
  margin-left: -1px;
  /* letter-spacing: 1px; */
  font-size: 18px;
}

#container {
  position: absolute;
  left: 50%;
  margin: 0 auto;
  /* margin-bottom: 58px; */
  margin-left: -300px;
  width: 600px;
}

/* CIRCLES */


.circles {
  position: relative;
  z-index: 10;
  -webkit-transition: all 0.6s ease;
  -moz-transition: all 0.6s ease;
  -ms-transition: all 0.6s ease;
  -o-transition: all 0.6s ease;
  transition: all 0.6s ease;
}

.circles > a {
  position: relative;
  display: block;
  float: left;
    width: 60px;
    height: 60px;
    color: #333;
    text-decoration: none;
    letter-spacing: 1px;
    font-weight: 300;
    font-size: 12px;
      cursor: pointer;

}

.circles a span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  margin: -23px 0 0 -23px;
  width: 46px;
  height: 46px;
  -webkit-border-radius: 23px;
  -moz-border-radius: 23px;
  border-radius: 23px;
  background: rgba(40, 40, 40, 1);
  background-size: 17px 25px;
  -webkit-box-shadow:  0px 0px 4px 0px rgba(0, 0, 0, 0.4),
    inset 0px 0px 2px 0px rgba(255,255,255,0.3);
  -moz-box-shadow:  0px 0px 4px 0px rgba(0, 0, 0, 0.4),
    inset 0px 0px 2px 0px rgba(255,255,255,0.3);
  box-shadow:  0px 0px 4px 0px rgba(0, 0, 0, 0.4),
    inset 0px 0px 2px 0px rgba(255,255,255,0.3);
  -webkit-transition: all 0.6s ease;
  -moz-transition: all 0.6s ease;
  -ms-transition: all 0.6s ease;
  -o-transition: all 0.6s ease;
  transition: all 0.6s ease;
  -webkit-transform: translateZ(0); /* hack for black flash during transition on shitty Chrome */
}

.circles a:hover span {
    z-index: 89;
    margin: -50px 0 0 -50px;
    width: 100px;
    height: 100px;
    -webkit-border-radius: 70px;
    -moz-border-radius: 70px;
    border-radius: 70px;
    cursor: pointer;
    -webkit-animation-name: bouncyback;
    -webkit-animation-duration: 600ms;
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.275);
    -webkit-animation-iteration-count: 1;
    -webkit-animation-fill-mode: forwards;
  }


.circles a > div {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1000;
    overflow: hidden;
    margin: 0;
    width: 0px;
    height: 0px;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    background: #fff;
    background-size: 90px 90px;
    text-align: center;
    line-height: 86px;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    -webkit-background-size: 90px 90px;
    -moz-background-size: 90px 90px;
}

.circles a:hover > div {
  z-index: 89;
  margin: -45px 0 0 -45px;
  width: 90px;
  height: 90px;
  -webkit-border-radius: 80px;
  -moz-border-radius: 80px;
  border-radius: 80px;
  -webkit-box-shadow: inset 0px 0px 5px 0px rgba(0, 0, 0, 0.7);
  -moz-box-shadow: inset 0px 0px 5px 0px rgba(0, 0, 0, 0.7);
  box-shadow: inset 0px 0px 5px 0px rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

.circles a > div i {
  color: rgba(0,102,238,0.3);
}

.circles a:active > div {
  margin: -43px 0 0 -43px;
  width: 86px;
  height: 86px;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -ms-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.circles a:active span {
  margin: -60px 0 0 -60px;
  width: 120px;
  height: 120px;
  -webkit-transition: all 0.1s ease;
  -moz-transition: all 0.1s ease;
  -ms-transition: all 0.1s ease;
  -o-transition: all 0.1s ease;
  transition: all 0.1s ease;
}

@-webkit-keyframes bouncyback {
    10% {
        -webkit-transform:scale(0.8);
    }
    60% {
        -webkit-transform:scale(1.2);
    }
    100% {
        -webkit-transform:scale(1);
    }
}


/* *************************************************************** */

/* SPECIAL CIRCLES */

#citycable div {
  background: #fff url(../img/citycable.jpg) no-repeat center center;
}

#citycable:hover span {
  background: #f9f6be;
}

#tdbBtn div {
  background: #fff url(../img/tdb.jpg) no-repeat center center;
}

#tdbBtn:hover span {
  background: #ff8000;
}

#philBtn div {
  background: #fff url(../img/phil.jpg) no-repeat center center;
}

#philBtn:hover span {
  background: #6699ff;
}

#fadaBtn div {
  background: #fff url(../img/fada.jpg) no-repeat center center;
}

#fadaBtn:hover span {
  background: rgba(255, 255, 255, 1);
}

#petziBtn div {
  background: #fff url(../img/petzi.jpg) no-repeat center center;
}

#petziBtn:hover span {
  background: #05a9f0;
}

#montreuxBtn div {
  background: #fff url(../img/montreux.jpg) no-repeat center center;
}

#mjfBtn div {
  background: #fff url(../img/mjf.jpg) no-repeat center center;
}

#dkhBtn div {
  background: #fff url(../img/dkh.jpg) no-repeat center center;
}

#dkhBtn:hover span {
  background: #adadad;
}


#boneBtn div {
  background: #fff url(../img/admin-bone.jpg) no-repeat center center;
}

#boneBtn:hover span {
  background: #d24a4a;
}

#bmacoBtn div {
  background: #fff url(../img/bmaco.jpg) no-repeat center center;
}

#bmacoBtn:hover span {
  background: #c1bdb4;
}

#montreuxBtn:hover span, #mjfBtn:hover span {
  background: #fbd56d;
}


.works div {
  background-size: 90px 90px;
  -webkit-background-size: 90px 90px;
  -moz-background-size: 90px 90px;
}


/* *************************************************************** */
/* CONTENT */

#content {
  display: none;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 148px;
  background: url(../img/texture.jpg) rgba(40,40,40,1);
  -webkit-box-shadow: inset 0px 0px 10px 4px rgba(0, 0, 0, 0.7);
  -moz-box-shadow: inset 0px 0px 10px 4px rgba(0, 0, 0, 0.7);
  box-shadow: inset 0px 0px 10px 4px rgba(0, 0, 0, 0.7);
  color: rgba(40,40,40,1);
}

#content article {
  display: none;
  float: left;
  width: 865px;
}

#scrollable {
  position: relative;
  /* overflow: hidden; */
  margin: 0 auto;
  width: 865px;
}

#scrollable > div {
  /* position: absolute; */
  /* width: 20000em; */
}

#content .text {
  margin: 65px auto 28px auto;
  width: 806px;
  color: #fff;
  font-weight: 300;
  font-size: 12px;
}

.text a {
  margin-left: 27px;
  padding: 2px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 10px;
  font-size: 12px;
}

.text a i {
  display: inline-block;
  margin-right: 2px;
  padding-right: 2px;
  font-size: 13px;
  line-height: 8px;
}

.text a:hover {
  margin-left: 26px;
  color: #06e;
}

.text a.noMargin {
  margin-left: 0;
}

.text a:hover i {
  padding-right: 1px;
  font-size: 15px;
}

#content h3, #content p {
  display: inline-block;
  margin: 0 0 0 27px;
  text-transform: lowercase;
  text-shadow: 0px -1px 0px #000000;
  letter-spacing: 1px;
  filter: dropshadow(color=#000000, offx=0, offy=-1);
}

#content ul {
  margin: 2px 0 25px 0;
  padding: 0;
  list-style-type: none;
}

#content li {
  display: inline-block;
  float: left;
  width: 284px;
}

#content img, #content iframe {
  display: none;
  margin: 12px;
  padding: 4px;
  width: 250px;
  height: 250px;
  border: solid 1px rgba(14,14,14,1);
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  background: url(../img/loading.gif) center center rgba(255,255,255,1) no-repeat;
  -webkit-box-shadow: 0px 8px 5px -4px rgba(0, 0, 0, 0.3),
                      0px -8px 5px -4px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0px 8px 5px -4px rgba(0, 0, 0, 0.3),
                   0px -8px 5px -4px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 8px 5px -4px rgba(0, 0, 0, 0.3),
              0px -8px 5px -4px rgba(0, 0, 0, 0.3);
}

#content li.big {
  width: auto;
}

#content li.big img, #content li.big iframe{
  display: none;
  width: 818px;
  height: auto;
  -webkit-box-shadow: 0px 0px 3px 1px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0px 0px 3px 1px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 0px 3px 1px rgba(0, 0, 0, 0.3);
}

#content li.big iframe {
  width: 824px;
  height: 464px;
}

#aboutMe p {
  position: absolute;
  bottom: 5px;
  left: 5px;
  margin: 1px 1px 100px 1px;
  background-color: #fff;
  text-align: left;
  text-transform: none;
  text-shadow: none;
  font-size: 12px;
  filter: none;
}

#aboutMeText {
  position: relative;
  display: none;
  float: left;
  margin: 12px;
  padding-top: 60px;
  width: 548px;
  height: 228px;
}

#content li#aboutMe {
  width: auto;
  height: 284px;
}

#about .text {
  margin-bottom: 0;
}

#content li#skills {
  /* display: none; */
  margin-bottom: 80px;
  width: 100%;
  font-size: 13px;
}

#skills h5 {
  display: block;
  margin: 10px 0;
  width: 100%;
  text-transform: none;
  text-shadow: none;
  font-size: 14px;
  filter: none;
}

#skills div {
  width: 100%;
}

#skills ul {
  display: block;
  float: none;
}

#skills li {
  float: none;
  display: inline-block;
  width: auto;
  margin: 2px;
  padding: 1px 5px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  cursor: default;
  background: rgba(40,40,40,0.05);
}

#skills li:hover {
  background: rgba(40,40,40,1);
  color: #fff;
}

#closePanel {
  position: absolute;
  top: 15px;
  right: 0;
  padding: 2px;
  color: #fff;
  text-decoration: none;
  text-shadow: 0px 0px 3px #000000;
  font-size: 20px;
  filter: dropshadow(color=#000000, offx=0, offy=-1);
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  -ms-transition: all 0.2s;
  -o-transition: all 0.2s;
  transition: all 0.2s;
}

#closePanel:hover {
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  transform: rotate(-90deg);
}



@-webkit-keyframes bouncybacksecond {
    0% {
        -webkit-transform:scale(0);
    }
    60% {
        -webkit-transform:scale(1.01);
    }
    100% {
        -webkit-transform:scale(1);
    }
}

#content li.tiled {
  display: inline-block;
}


/* *************************************************************** */


footer {
  margin: 0;
  padding: 452px 0 0 0;
  width: 100%;
  background: #fff /*url(../img/bg_test.jpg) center -2px*/;
  color: rgba(0, 0, 0, .3);
  text-align: center;
  font-size: 9px;
}

/* *************************************************************** */

/* RETINA CSS images */

@media only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (   min--moz-device-pixel-ratio: 2),
only screen and (     -o-min-device-pixel-ratio: 2/1),
only screen and (        min-device-pixel-ratio: 2),
only screen and (                min-resolution: 192dpi),
only screen and (                min-resolution: 2dppx) {

  #tdbBtn div {
    background: #fff url(../img/tdb@2x.jpg) no-repeat center center;
    background-size: 90px 90px;
    -webkit-background-size: 90px 90px;
    -moz-background-size: 90px 90px;
  }

  #philBtn div {
    background: #fff url(../img/phil@2x.jpg) no-repeat center center;
    background-size: 90px 90px;
    -webkit-background-size: 90px 90px;
    -moz-background-size: 90px 90px;
  }

  #montreuxBtn div {
    background: #fff url(../img/montreux@2x.jpg) no-repeat center center;
    background-size: 90px 90px;
    -webkit-background-size: 90px 90px;
    -moz-background-size: 90px 90px;
  }

  #mjfBtn div {
    background: #fff url(../img/mjf@2x.jpg) no-repeat center center;
    background-size: 90px 90px;
    -webkit-background-size: 90px 90px;
    -moz-background-size: 90px 90px;
  }

  #boneBtn div {
    background: #fff url(../img/admin-bone@2x.jpg) no-repeat center center;
    background-size: 90px 90px;
    -webkit-background-size: 90px 90px;
    -moz-background-size: 90px 90px;
  }

  #bmacoBtn div {
    background: #fff url(../img/bmaco@2x.jpg) no-repeat center center;
    background-size: 90px 90px;
    -webkit-background-size: 90px 90px;
    -moz-background-size: 90px 90px;
  }

  #dkhBtn div {
    background: #fff url(../img/dkh@2x.jpg) no-repeat center center;
    background-size: 90px 90px;
    -webkit-background-size: 90px 90px;
    -moz-background-size: 90px 90px;
  }



}


.touch .circles > a {
  width: 106px;
  height: 106px;
}

.touch #container {
  position: static;
  left: auto;
  margin: 40px auto 0 auto;
  width: 320px;
}

.touch .circles a span {
  z-index: 89;
  margin: -50px 0 0 -50px;
  width: 100px;
  height: 100px;
  -webkit-border-radius: 70px;
  -moz-border-radius: 70px;
  border-radius: 70px;
}

.touch .circles a > div {
  z-index: 89;
  margin: -45px 0 0 -45px;
  width: 90px;
  height: 90px;
  -webkit-border-radius: 80px;
  -moz-border-radius: 80px;
  border-radius: 80px;
  -webkit-box-shadow: inset 0px 0px 5px 0px rgba(0, 0, 0, 0.7);
  -moz-box-shadow: inset 0px 0px 5px 0px rgba(0, 0, 0, 0.7);
  box-shadow: inset 0px 0px 5px 0px rgba(0, 0, 0, 0.7);
}

.touch article, .touch #scrollable > div, .touch body {
  margin: 0 !important;
  width: 100%;
}

html.touch {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

.touch #content .clickForMore {
  display: block;
  margin-top: 40px;
  font-weight: 800;
}

/* SMALLER SCREENS */

@media screen and (max-width: 870px) {

    .circles a.hideWhenSmall, #closePanel {
      display: none;
    }

    #container {
      margin-left: -90px;
      width: 180px;
      text-align: center;
    }

    header {
      margin-bottom: 0;
    }

    #content {
      height: 91px;
    }

    #content .text {
      margin-top: 28px;
    }

    #content, #content article, #content img, #content li.big img, #content li.big iframe, #content iframe {
      display: block;
    }

    #content, #scrollable, #content .text, #content article, #content li img, #content li.big img, #content li.big iframe {
      width: 100%;
      height: auto;
    }

    #content h3, #content p {
      display: block;
      margin: 4px 0;
    }

    .text a {
      margin-left: 0;
    }

    .text a:hover {
      margin-left: -1px;
    }

    #content ul {
      margin: 0px;
      font-size: 0;
    }

    #content li, #content li.big {
      float: none;
      margin: 0.5%;
      padding: 2px;
      width: 30%;
      border: solid 1px rgba(40,40,40,1);
      -webkit-border-radius: 2px;
      -moz-border-radius: 2px;
      border-radius: 2px;
      background: #fff;
      -webkit-box-shadow: 0px 8px 5px -4px rgba(0, 0, 0, 0.3),
                          0px -8px 5px -4px rgba(0, 0, 0, 0.3);
      -moz-box-shadow: 0px 8px 5px -4px rgba(0, 0, 0, 0.3),
                       0px -8px 5px -4px rgba(0, 0, 0, 0.3);
      box-shadow: 0px 8px 5px -4px rgba(0, 0, 0, 0.3),
                  0px -8px 5px -4px rgba(0, 0, 0, 0.3);
    }

    #content li#meFace {
      width: 60%;
      height: auto;
    }

    #content li.big {
      margin: 1%;
      width: 93%;
    }

    #content li img, #content li iframe {
      margin: 0;
      padding: 0;
      border: none;
      -webkit-border-radius: 0;
      -moz-border-radius: 0;
      border-radius: 0;
      -webkit-box-shadow: none;
      -moz-box-shadow: none;
      box-shadow: none;
    }

    #aboutMe div {
      display: block;
      margin: 0;
      width: auto;
      height: auto;
    }

    #aboutMe div p {
      position: static;
      float: none;
    }

    #content li#aboutMe {
      margin: 0 2%;
      width: 90%;
      height: auto;
      border: none;
      -webkit-border-radius: 0;
      -moz-border-radius: 0;
      border-radius: 0;
      -webkit-box-shadow: none;
      -moz-box-shadow: none;
      box-shadow: none;
      font-size: 14px;
    }

    #about li:first-child {
      margin-bottom: 8px;
    }

    #about > ul > li {
      display: block;
      float: none;
    }

    #about .anim > li:first-child {
      margin: 0 auto 20px auto;
    }

    #content li#skills {
      margin: 0;
      padding: 0;
      width: 100%;
      border: none;
      -webkit-box-shadow: none;
      -moz-box-shadow: none;
      box-shadow: none;
    }

    #skills li {
      height: auto;
      border: none;
      -moz-border-radius: 0;
      border-radius: 0;
      -webkit-box-shadow: none;
      -moz-box-shadow: none;
      box-shadow: none;
      font-size: 12px;
      webkit-border-radius: 0;
    }

    #aboutMe, #aboutMeText {
      position: static;
      float: none;
    }

    #aboutMeText {
      margin: 0;
      padding: 0;
    }

    #monstreBoxShadow {
      display: none;
    }

    #content .text {
      margin: 28px 0;
      padding: 28px 0;
      background: url(../img/texture.jpg) rgba(40,40,40,1);
      -webkit-box-shadow: inset 0px 0px 10px 4px rgba(0, 0, 0, 0.7);
      -moz-box-shadow: inset 0px 0px 10px 4px rgba(0, 0, 0, 0.7);
      box-shadow: inset 0px 0px 10px 4px rgba(0, 0, 0, 0.7);
    }

    footer {
      background: transparent;
    }
}


/* BOILERPLATE STUFF */


.ir { display: block; overflow: hidden; border: 0; background-color: transparent; background-repeat: no-repeat; text-align: left; text-indent: -999em; direction: ltr; *line-height: 0; }
.ir br { display: none; }
.hidden { display: none !important; visibility: hidden; }
.visuallyhidden { position: absolute; overflow: hidden; clip: rect(0 0 0 0); margin: -1px; padding: 0; width: 1px; height: 1px; border: 0; }
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { position: static; overflow: visible; clip: auto; margin: 0; width: auto; height: auto; }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after { display: table; content: ""; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }
.clear { clear: both; line-height: 0; }

@media print {
  * { background: transparent !important; box-shadow:none !important; color: black !important; text-shadow: none !important; -ms-filter: none !important; filter: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; }
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}
@media print {
  * { background: transparent !important; box-shadow:none !important; color: black !important; text-shadow: none !important; -ms-filter: none !important; filter: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; }
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}