/* IMPORTS */
/* COLORS */
/* LESS VARIABLES */
/* LESS FUNCTIONS */
.basefont {
  font-family: 'DK Hokitika';
  font-weight: 300;
}
.secondaryfont {
  font-family: 'Open Sans';
  font-weight: 300;
}
/*
 * Angelo Covino Reset Stylesheet (in combo with html5doctor.com reset stylesheet)
 */
html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
html,
body {
  height: 100%;
  width: 100%;
}
* {
  padding: 0;
  padding: none;
  margin: 0;
  margin: none;
  border: 0;
  border: none;
  box-shadow: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
}
input[type="hidden"] {
  display: none;
}
input[type="reset"]::-moz-focus-inner,
input[type="button"]::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner,
input[type="file"] > input[type="button"]::-moz-focus-inner,
button::-moz-focus-inner {
  padding: 0;
  padding: none;
  border: 0;
  border: none;
}
textarea:hover,
textarea:active,
textarea:focus,
input:hover,
input:active,
input:focus,
button:hover,
button:active,
button:focus {
  outline: 0px !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  -o-appearance: none;
  appearance: none;
}
/* bordo (su chrome blue) quando la textarea ha il focus */
address {
  font-style: normal;
  font-weight: normal;
}
a,
a:link,
a:hover,
a:active,
a:visited {
  text-decoration: none;
}
a:hover,
button:hover {
  cursor: pointer;
}
/*
 * html5doctor.com Reset Stylesheet
 * v1.6.1
 * Last Updated: 2010-09-17
 * Author: Richard Clark - http://richclarkdesign.com
 */
input,
button,
select,
option {
  -moz-outline-style: none;
  outline: none;
}
html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}
body {
  line-height: 1;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block;
}
audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline;
}
audio:not([controls]) {
  display: none;
  height: 0;
}
[hidden],
template {
  display: none;
}
nav ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}
a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background-color: transparent;
}
a:active,
a:hover {
  outline: 0;
}
/* change colours to suit your needs */
ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}
/* change colours to suit your needs */
mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
}
del {
  text-decoration: line-through;
}
abbr[title],
dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
td,
th {
  padding: 0;
}
hr {
  display: block;
  height: 1px;
  border: 0;
  margin: 0;
  padding: 0;
  background-color: #ccc;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}
input,
select {
  vertical-align: middle;
}
/* NEWEST THINGS */
b,
strong {
  font-weight: bold;
}
dfn {
  font-style: italic;
}
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
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;
}
img {
  border: 0;
}
svg:not(:root) {
  overflow: hidden;
}
figure {
  margin: 1em 40px;
}
pre {
  overflow: auto;
}
code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}
button,
input,
optgroup,
select,
textarea {
  margin: 0;
}
/* color:inherit; font:inherit; */
button {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}
button[disabled],
html input[disabled] {
  cursor: default;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}
input {
  line-height: normal;
}
input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}
input[type="search"] {
  -webkit-appearance: textfield;
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}
legend {
  border: 0;
  padding: 0;
}
textarea {
  overflow: auto;
}
optgroup {
  font-weight: bold;
}
/* FONTS DEFINITIONS */
@font-face {
  font-family: 'DK Hokitika';
  src: url('../fonts/DK Hokitika-webfont.eot');
  src: url('../fonts/DK Hokitika-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/DK Hokitika-webfont.woff2') format('woff2'), url('../fonts/DK Hokitika-webfont.woff') format('woff'), url('../fonts/DK Hokitika-webfont.ttf') format('truetype'), url('../fonts/DK Hokitika-webfont.svg#dk_hokitikaregular') format('svg');
  font-weight: normal;
  font-style: normal;
}
/* GENERALS */
a,
a:link,
a:active,
a:visited {
  color: inherit;
}
body {
  font-family: 'DK Hokitika';
  font-weight: 300;
  line-height: 1em;
  color: white;
  text-align: center;
  text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.25);
}
.title {
  font-size: 1.5em;
  padding-bottom: 0.5em;
  font-family: 'DK Hokitika';
  font-weight: 300;
}
.button {
  font-family: 'Open Sans';
  font-weight: 300;
  display: inline-block;
  font-size: 0.45em;
  padding: 0.5em 1em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-width: 1px;
  border-style: solid;
  border-bottom-width: 5px;
  -webkit-border-radius: 0.25em;
  -moz-border-radius: 0.25em;
  -o-border-radius: 0.25em;
  border-radius: 0.25em;
}
.button_white {
  font-family: 'Open Sans';
  font-weight: 300;
  display: inline-block;
  font-size: 0.45em;
  padding: 0.5em 1em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-width: 1px;
  border-style: solid;
  border-bottom-width: 5px;
  -webkit-border-radius: 0.25em;
  -moz-border-radius: 0.25em;
  -o-border-radius: 0.25em;
  border-radius: 0.25em;
  border-color: white;
}
.button_colored {
  font-family: 'Open Sans';
  font-weight: 300;
  display: inline-block;
  font-size: 0.45em;
  padding: 0.5em 1em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-width: 1px;
  border-style: solid;
  border-bottom-width: 5px;
  -webkit-border-radius: 0.25em;
  -moz-border-radius: 0.25em;
  -o-border-radius: 0.25em;
  border-radius: 0.25em;
  border-color: #364054;
}
ul {
  list-style: none;
  margin: 0 auto;
  margin-top: 1em;
  max-width: 1080px;
}
#about,
#social,
#upper_menu {
  background-position: center center;
  background-repeat: no-repeat;
  background-color: transparent;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
#about,
#contacts,
#portfolio {
  padding: 3em 1em;
}
#contacts,
#social {
  font-size: 0.7em;
}
#portfolio,
#contacts {
  color: #364054;
}
#contacts,
#portfolio {
  background-color: white;
}
/* PLACEHOLDER FONT TRICK */
::-webkit-input-placeholder {
  font-family: 'Open Sans';
  font-weight: 300;
}
:-moz-placeholder {
  font-family: 'Open Sans';
  font-weight: 300;
}
::-moz-placeholder {
  font-family: 'Open Sans';
  font-weight: 300;
}
:-ms-input-placeholder {
  font-family: 'Open Sans';
  font-weight: 300;
}
/* MEDIA */
@media all and (min-width: 800px) {
  body {
    font-size: 35px;
  }
  #upper_menu {
    background-image: url('../images/background.jpg');
  }
  #about,
  #social {
    background-image: url('../images/background_about1.jpg');
  }
  #about,
  #social,
  #upper_menu {
    background-attachment: fixed;
  }
  .about_me,
  .about_img {
    max-width: 500px;
  }
  .about_me {
    width: 59.8%;
  }
}
@media all and (max-width: 799px) {
  #upper_menu {
    background-image: url('../images/background_small.jpg');
  }
  #about,
  #social {
    background-image: url('../images/background_about_small.jpg');
  }
  .about_me {
    width: 100%;
    padding-left: 1em;
  }
  .about_img {
    display: none !important;
  }
}
@media all and (min-width: 500px) and (max-width: 799px) {
  body {
    font-size: 30px;
  }
  #social img {
    width: 48px;
  }
}
@media all and (max-width: 499px) {
  body {
    font-size: 25px;
  }
  #social img {
    width: 48px;
  }
}
/* PRINT */
@media print {
  * {
    background: transparent !important;
    color: black !important;
    text-shadow: none !important;
    filter: none !important;
    -ms-filter: none !important;
  }
  /* Black prints faster: sanbeiji.com/archives/953 */
  a,
  a:visited {
    color: #444 !important;
    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: "";
  }
  /* Don't show links for images, or javascript/internal links */
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  thead {
    display: table-header-group;
  }
  /* css-discuss.incutio.com/wiki/Printing_Tables */
  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;
  }
}
/* TOP GAP */
#top_gap {
  height: 1.5em;
}
/* UPPER MENU */
#upper_menu a,
#upper_menu a:link,
#upper_menu a:active,
#upper_menu a:visited {
  transition: color 1s ease;
}
#upper_menu a:hover {
  color: white;
}
#upper_menu h1 {
  position: absolute;
  left: 50%;
  top: 28px;
  margin-left: -25px;
  width: 50px;
}
#upper_menu h1 img {
  width: 100%;
}
#upper_menu nav {
  display: inline-block;
  border-bottom: 1px solid #364054;
  padding-bottom: 1em;
  color: #364054;
}
#upper_menu nav a {
  font-size: 0.5em;
  padding: 0em 0.5em;
}
#upper_menu a[class^='button'] {
  margin-bottom: 1em;
}
#upper_menu .simple_link {
  font-family: 'Open Sans';
  font-weight: 300;
}
#upper_menu .simple_link a {
  line-height: 1.5em;
  border-bottom: 1px solid white;
  font-weight: bold;
}
#upper_menu .big,
#upper_menu .less_big {
  line-height: 1.3em;
}
#upper_menu .big {
  font-size: 2em;
}
#upper_menu .less_big {
  font-size: 0.9em;
}
#upper_menu .small {
  font-size: 0.4em;
}
#upper_menu,
#banner {
  padding: 2em 1em;
}
/* PORTFOLIO */
#portfolio .title {
  font-size: 1em;
}
#portfolio ul li {
  display: inline-block;
  width: 250px;
  margin: 5px 10px;
}
#portfolio ul li a {
  display: block;
  width: 100%;
  height: 100%;
}
#portfolio ul li a img {
  width: 100%;
  vertical-align: middle;
}
/* ABOUT */
.about_me,
.about_img {
  font-size: 0.7em;
  font-family: 'Open Sans';
  font-weight: 300;
  vertical-align: top;
  display: inline-block;
  line-height: 1.5em;
  box-sizing: border-box;
  padding-left: 1em;
}
.about_img {
  text-align: right;
  padding-top: 2.6em;
  width: 40%;
}
.about_img img {
  -webkit-border-radius: 0.25em;
  -moz-border-radius: 0.25em;
  -o-border-radius: 0.25em;
  border-radius: 0.25em;
  width: 100%;
}
.about_me {
  padding-right: 1em;
  text-align: left;
}
/* CONTACTS */
.form_on_white {
  display: inline-block;
  box-sizing: border-box;
  width: 100%;
  color: white;
  padding: 0.5em 1em;
}
.form_on_white ul {
  max-width: 800px;
  width: 100%;
}
.form_on_white ul li {
  box-sizing: border-box;
  padding: 0.25em 0em;
}
input,
textarea {
  font-family: 'Open Sans';
  font-weight: 300;
  line-height: 1.3em;
  background-color: #f5f5f5;
  -webkit-border-radius: 0.25em;
  -moz-border-radius: 0.25em;
  -o-border-radius: 0.25em;
  border-radius: 0.25em;
  font-size: 0.8em;
  box-sizing: border-box;
  padding: 0.5em 1em;
  width: calc(98%);
  border: 1px solid #364054;
  transition: box-shadow 0.5s ease;
}
input:focus,
textarea:focus {
  box-shadow: 0 0 2px 0 #364054;
}
textarea {
  min-height: 6em;
  resize: vertical;
}
input[type='submit'] {
  font-family: 'Open Sans';
  font-weight: 300;
  display: inline-block;
  font-size: 0.45em;
  padding: 0.5em 1em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-width: 1px;
  border-style: solid;
  border-bottom-width: 5px;
  -webkit-border-radius: 0.25em;
  -moz-border-radius: 0.25em;
  -o-border-radius: 0.25em;
  border-radius: 0.25em;
  border-color: #364054;
  width: 50%;
  font-size: 0.6em;
  padding: 1em;
}
/* SOCIAL */
#social {
  padding: 1em;
}
/* BOTTOM FOOTER */
#bottom_footer {
  padding: 2em 1em 1em 1em;
  font-size: 0.5em;
  text-shadow: none;
  font-family: 'Open Sans';
  font-weight: 300;
  line-height: 1.3em;
  color: #B8C0D1;
}
#website_version {
  padding: 0.25em 0em;
  font-size: 0.8em;
}
