/*
Theme Name: Ca' Olivandra 6
Description: A style-free theme to get you started on an HTML5-based WordPress theme of your own.
Author: Marco Zampini + Monkey Do! + @ckhicks
Author URI: http://about.me/marcozampini
Version: 6.0
License: BSD 2-Clause
License URI: http://opensource.org/licenses/bsd-license.php
*/

/* Ok, this is where the fun starts.
-------------------------------------------------------------------------------*/

/*
Combinazione Colori Edoardo
violetto      #b76eb8
bianco        #fff
grigio chiaro #f4f7ec
verde         #DEEAD3
verde scuro   #29472E
grigio scuro  #333
cielo         #c1dbfc
*/

/* Using local fonts? Check out Font Squirrel's webfont generator: http://www.fontsquirrel.com/tools/webfont-generator */

/* We like off-black for text. */
body,
select,
input,
textarea {
  color: #333;
}

a {
  color: #29472e;
}
a:hover {
  color: #deead3;
}

/* Custom text-selection colors (remove any text shadows: http://twitter.com/miketaylr/status/12228805301) */
::-moz-selection {
  background: #b76eb8;
  color: #000;
  text-shadow: none;
}
::selection {
  background: #b76eb8;
  color: #000;
  text-shadow: none;
}

/*	j.mp/webkit-tap-highlight-color */
a:link {
  -webkit-tap-highlight-color: #b76eb8;
}

ins {
  background-color: #b76eb8;
  color: #000;
  text-decoration: none;
}
mark {
  background-color: #b76eb8;
  color: #000;
  font-style: italic;
  font-weight: bold;
}

/* Mozilla dosen't style place holders by default */
input:-moz-placeholder {
  color: #a9a9a9;
}
textarea:-moz-placeholder {
  color: #a9a9a9;
}

/* And here begins the WordPress fun.
-------------------------------------------------------------------------------*/

@font-face {
  font-family: 'Quicksand';
  src: url('_/inc/fonts/Quicksand-Light.woff2') format('woff2'),
    url('_/inc/fonts/Quicksand-Light.woff') format('woff'),
    url('_/inc/fonts/Quicksand-Light.eot') format('eot'),
    url('_/inc/fonts/Quicksand-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Quicksand';
  src: url('_/inc/fonts/Quicksand-Regular.woff2') format('woff2'),
    url('_/inc/fonts/Quicksand-Regular.woff') format('woff'),
    url('_/inc/fonts/Quicksand-Regular.eot') format('eot'),
    url('_/inc/fonts/Quicksand-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Quicksand';
  src: url('_/inc/fonts/Quicksand-Medium.woff2') format('woff2'),
    url('_/inc/fonts/Quicksand-Medium.woff') format('woff'),
    url('_/inc/fonts/Quicksand-Medium.eot') format('eot'),
    url('_/inc/fonts/Quicksand-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Quicksand';
  src: url('_/inc/fonts/Quicksand-Bold.woff2') format('woff2'),
    url('_/inc/fonts/Quicksand-Bold.woff') format('woff'),
    url('_/inc/fonts/Quicksand-Bold.eot') format('eot'),
    url('_/inc/fonts/Quicksand-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

html {
  scroll-behavior: smooth;
}
body {
  font: 300 18px/1.7 'Quicksand', sans-serif;
  background-color: #ffffff;
}

/* Hides the reCAPTCHA on every page */
.grecaptcha-badge {
  display: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
strong {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
}
h1 {
  display: none;
}
h2 {
  font-size: 32px;
  margin: 12px 0;
}
h3 {
  font-size: 24px;
  margin-bottom: 12px;
}
h4 {
  font-size: 22px;
  margin-bottom: 12px;
}
h5 {
  font-size: 20px;
}
input[type='text'],
input[type='email'],
textarea {
  max-width: 100%;
  border: 1px solid #deead3;
  padding: 15px 10px;
  font-size: 18px;
  font-weight: 300;
  font-family: 'Quicksand', sans-serif;
}
input[type='submit'] {
  display: block;
  width: 280px;
  height: 50px;
  line-height: 50px;
  margin-top: 50px;
  text-align: center;
  background: #deead3;
  color: #29472e;
  border: 2px solid #29472e;
  border-radius: 10px;
  font-size: 20px;
  font-weight: 300;
  font-family: 'Quicksand', sans-serif;
}
input[type='submit']:hover {
  background: #29472e;
  color: #deead3;
}
.clear {
  clear: both;
}
#firstview {
  min-height: 100vh;
}

.page-template-homepage #header {
  background: none;
}
.page-template-homepage #header #version a.active,
.page-template-homepage #header #mobile-nav {
  background: none;
}
.page-template-homepage #firstview {
  background: #c1dbfc url('_/inc/images/casa-cover.webp') no-repeat top center;
}
#header {
  position: fixed;
  top: 0px;
  z-index: 1000;
  width: 100%;
  height: 50px;
  font-family: 'Quicksand', sans-serif;
  font-size: 20px;
  background: #29472e;
}

#header #nav {
  display: none;
}

#header #mobile-nav {
  float: left;
  width: 50px;
  height: 50px;
  line-height: 50px;
  margin-left: 10px;
  text-align: center;
  background: #fff;
  color: #29472e;
}

#header #mobile-nav ul {
  display: none;
  position: absolute;
  top: 50px;
  left: 0px;
  text-align: left;
}
#header #mobile-nav:hover ul,
#header #mobile-nav ul:hover {
  display: block;
  height: 100vh;
  background: #deead3;
}
#header #mobile-nav ul li a {
  display: block;
  width: 100vw;
  height: 80px;
  line-height: 80px;
  text-align: center;
  text-decoration: none;
  background: #deead3;
  color: #29472e;
}
#header #mobile-nav ul li a:hover {
  background: #29472e;
  color: #deead3;
}

#header #version {
  float: right;
  height: 50px;
  margin-right: 10px;
  line-height: 50px;
  text-align: right;
}
#header #version a {
  display: inline-block;
  width: 50px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 500;
  color: #f4f7ec;
}
#header #version a:hover {
  color: #111;
}
#header #version a.active {
  background: #fff;
  color: #333;
}

.post {
  clear: both;
  padding: 50px 0;
  margin: 0 25px;
}
.post p {
  margin-bottom: 10px;
}
.homepage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  min-height: 100vh;
  padding-bottom: 50px;
}
.homepage #logo {
  width: 300px;
  text-align: center;
}
.homepage #slogan {
  background: rgb(187, 211, 245);
  background: linear-gradient(
    90deg,
    rgba(187, 211, 245, 1) 0%,
    rgba(175, 200, 240, 1) 35%
  );
  opacity: 0.9;
  padding: 0 1rem;
  border-radius: 1rem;
  text-align: center;
}
.homepage #slogan h2 {
  font-size: 22px;
  font-weight: 400;
}
.homepage #links p {
  text-align: center;
}
.homepage #links p a {
  display: inline-block;
  width: 220px;
  height: 50px;
  line-height: 50px;
  margin: 12px 20px;
  text-align: center;
  text-decoration: none;
  background: #fff;
  color: #29472e;
  opacity: 0.8;
  border: 2px solid #29472e;
  border-radius: 10px;
  font-size: 20px;
}
.homepage #links p a:hover {
  background: #29472e;
  color: #deead3;
}
.homepage #links-contact p {
  width: 280px;
  height: 50px;
  line-height: 50px;
  margin: 0 auto 10px;
  text-align: center;
}
.homepage #links-contact p a {
  display: inline-block;
  width: 50px;
  margin: 0 10px;
  text-align: center;
  text-decoration: none;
  font-size: 24px;
  color: #fff;
}
.homepage #links-contact p a:hover {
  color: #29472e;
}
.contact-address {
  margin-bottom: 50px;
}
.google-recaptcha-label {
  display: inline-block;
  margin-top: 50px;
  font-size: 0.8em;
}

.center-div {
  text-align: center;
}
footer {
  padding: 3rem;
  background: #deead3;
  color: #29472e;
  min-height: 100vh;
}
footer > div > div {
  padding-bottom: 2rem;
}
footer h4 {
  font-size: 18px;
  font-weight: 400;
}
footer li {
  margin-bottom: 0.5rem;
}
footer a {
  color: #29472e;
}
footer a:hover {
  color: #333;
}
footer .copyright {
  padding-bottom: 2rem;
}
footer .back-to-top {
}

/* Print styles!
-------------------------------------------------------------------------------*/
@media print {
}

/* Media queries!
-------------------------------------------------------------------------------*/
@media screen and (max-height: 480px) {
  .homepage {
    padding-bottom: 0;
  }
  .homepage #slogan h2 div {
    display: inline;
  }
}
@media screen and (min-width: 781px) {
  #header #mobile-nav {
    display: none;
  }

  #header #nav {
    display: block;
  }
  #header #nav li {
    display: inline-block;
    height: 50px;
    line-height: 50px;
    margin: 0 0 0 25px;
  }
  #header #nav li a {
    text-decoration: none;
    color: #f4f7ec;
  }
  #header #nav li.current_page_item a,
  #header #nav li a:hover {
    color: #111;
  }
  #header #version a {
    font-weight: 400;
  }
  .post {
    width: 740px;
    margin: 0 auto;
  }
  .flex-div {
    display: flex;
    justify-content: flex-start;
  }
  .space-evenly {
    justify-content: space-evenly;
  }
  .space-between {
    justify-content: space-between;
  }
  .align-items-center {
    align-items: center;
  }
  .contact-address {
    padding-right: 50px;
    margin-right: 50px;
    margin-bottom: 0;
    border-right: 1px solid #deead3;
  }
  footer {
    min-height: auto;
  }
  footer > div > div {
    padding-bottom: 2rem;
  }
  footer .nav {
    margin-left: 2.5em;
  }
}
@media screen and (min-width: 1200px) {
  .post {
    width: 1024px;
  }
}
