@import url('reset.css');

::-moz-selection{ background-color: #f3f3f3; color: #333;}
::selection{ background-color: #f3f3f3; color: #333;}

a {text-decoration: none; color: #000; cursor: pointer;}
a:hover {color: #CCC;}

body {
  font-family: 'Poppins', sans-serif;
  background: #FFF;
  color: #555;
  font-size: 15px;
  line-height: 30px;
  letter-spacing: 0;
  font-weight: 400;
  -webkit-text-size-adjust: 100%;
}

ul li, ol li {font-weight: inherit;}

h1 {font-size: 31px; line-height: 31px; font-weight: 400; color: #000; font-family: 'Arimo', sans-serif; margin-bottom: 20px;}
h2 {font-size: 31px; line-height: 31px; font-weight: 400; color: #000; font-family: 'Arimo', sans-serif; margin-bottom: 20px;}
h3 {font-size: 18px; line-height: 26px; font-weight: 500; color: #000; font-family: 'Arimo', sans-serif; margin-bottom: 10px;}
h4 {font-size: 18px; line-height: 25px; font-weight: 400; color: #000; font-family: 'Arimo', sans-serif; margin-bottom: 10px;}

strong {font-weight: 500; color: #333;}

#cookieChoiceInfo {display:none; color: #CCC; bottom: 0; top: inherit !important; font-size: 12px; line-height: 20px; padding: 20px 30px 19px 32px !important; font-family: "Poppins", sans-serif; background-color: black !important; text-align: left !important}
#cookieChoiceInfo a#cookieChoiceDismiss {position: absolute;top: 20px;right: 20px; font-size: 15px}
#cookieChoiceInfo a#cookieChoiceDismiss::after{content: "\2715"}
#cookieChoiceInfo a {color: white;}
#cookieChoiceInfo a:hover {color: #CCC;}

a.bottone {position: relative; height: auto; border-radius: 5px; overflow: hidden; background: #efefef; font-size: 13px; line-height: 21px; letter-spacing: 0; color: #333; width: 200px; display: inline-block; text-align: center; padding: 12px 0;}
a.bottone:hover {background: #d2d2d2;}

.warning, .error, .warning strong, .error strong {color:red;}

/* --------------------------------------------------------------------------
        CSS BASE
--------------------------------------------------------------------------- */

.only-mobile {display: none;}
.not-mobile {display: block;}

.wrapper {position: relative; height: auto; overflow: hidden; width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px;}

#menu {position: relative; height: auto; overflow: hidden; display: inline-block;}
#menu ul {position: relative; height: auto; overflow: hidden; padding-left: 0}
#menu ul li {font-weight: 400; position: relative; height: auto; overflow: hidden; list-style: none; display: inline-block; margin: 0 20px; vertical-align: middle;}
#menu ul li:last-child {margin-right: 0}
#menu ul li a {position: relative; height: auto; overflow: hidden; color: #FFF;font-size: 11px; text-transform: uppercase; letter-spacing: 1px; font-weight: 700;}
#menu ul li:hover, #menu ul li a:hover, #menu ul li.active a {color: #333;}

#main-content {padding: 60px 0;}


/* --------------------------------------------------------------------------
        HOME
--------------------------------------------------------------------------- */

body#page-intro #menu {display: none;}
#intro-content {position: absolute; left: 0;  right: 0;  margin-left: auto;  margin-right: auto; top: 50%; width: 500px; z-index: 3; background: white; padding: 20px; border-radius: 20px; }


/* --------------------------------------------------------------------------
        HOME
--------------------------------------------------------------------------- */

#galleria {height: 320px; margin-bottom: 30px;}
#header {background: #cbc4bc; text-align: center; padding: 20px;}
#logo {margin-top: 9px;}
#logo img {width: 250px; display: block;}

#galleria.galleria-intro {margin:0;}

.colfiltri p {margin-bottom: 0}
.rowfilter {background: #f9f9f9; padding: 40px 30px 20px 30px !important;}
.colfiltri label {font-weight: 400; text-transform: uppercase; letter-spacing: 1px; font-size: 11px; cursor: pointer;}
.colfiltri input {top: 2px; cursor: pointer;}
.colmain {padding-right: 50px !important;}

/* --------------------------------------------------------------------------
        PRODOTTI
--------------------------------------------------------------------------- */
.prodotto-thumb img {width: 100%; display: block;}
.prodotto-titolo {font-size: 18px; line-height: 26px; font-weight: 500; color: #000; font-family: 'Arimo', sans-serif; text-align: center; margin: 10px 0 0 0;}
.prodotto-titolo a {color: #000;}
.prodotto-titolo a:hover {color: #999;}
.prodotto-filtro-container p {margin-bottom: 0}
.prodotto-filtro-container p:last-child {margin-bottom: 15px;}

.glisse {cursor: pointer;}


/* --------------------------------------------------------------------------
        FOOTER
--------------------------------------------------------------------------- */

#footer {background: #cbc4bc; text-align: center; padding: 20px; font-size: 12px; line-height: 21px;}
#footer a {color: #555;}
#footer a:hover {color: #333;}


/* --------------------------------------------------------------------------
        Newsletter
--------------------------------------------------------------------------- */

#mc_embed_signup {background: transparent !important;}
#mc_embed_signup input.email {border: none !important; background: #fafafa; color: #9b9b9b !important; font-size: 10px !important; width: 100% !important; padding-left: 10px !important;}
#mc_embed_signup input.button {font-size: 11px !important; width: 100% !important;}
#mc_embed_signup .button {background-color: #efefef !important; color: #9b9b9b !important;}
#mc_embed_signup .button:hover {background-color: #d2d2d2 !important;}
#mc_embed_signup {margin-left: -5px !important;}


/* --------------------------------------------------------------------------
        FORM
--------------------------------------------------------------------------- */

label{font-size:12px;text-align:center;font-family:'Poppins',sans-serif;font-weight:600;color:#222;letter-spacing:0}
input,select{position:relative;height:auto;overflow:hidden;width:100%;border:1px solid #E7E7E7;background:#FFF;font-size:14px;letter-spacing:1px;color:#8E8E8E;padding:15px 20px;display:block;margin-bottom:15px;font-family:'Poppins',sans-serif;font-weight:400;border-radius:4px}
textarea{position:relative;height:auto;overflow:hidden;display:block;width:100%;font-size:13px;border:1px solid #E7E7E7;letter-spacing:1px;background:#FFF;padding:15px 20px;height:200px;margin-bottom:15px;color:#8E8E8E;font-family:'Poppins',sans-serif;font-weight:400;border-radius:4px}

input.submit{margin-top:15px;cursor:pointer;position:relative;height:auto;overflow:hidden;background:#cbc4bc;font-size:12px;line-height:21px;font-weight:600;letter-spacing:1px;color:#fff;width:200px;display:inline-block;text-align:center;padding:12px 0;border:0}
input.submit:hover{background:#b1a597}
input:focus,select:focus,textarea:focus,button:focus{outline:none}

select{cursor:pointer;display:inline-block;font:inherit;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none}
select.classic{background-image:linear-gradient(45deg,transparent 50%,blue 50%),linear-gradient(135deg,blue 50%,transparent 50%),linear-gradient(to right,skyblue,skyblue);background-position:calc(100% - 20px) calc(1em + 2px),calc(100% - 15px) calc(1em + 2px),100% 0;background-size:5px 5px,5px 5px,2.5em 2.5em;background-repeat:no-repeat}
select.minimal{background-image:linear-gradient(45deg,transparent 50%,gray 50%),linear-gradient(135deg,gray 50%,transparent 50%),linear-gradient(to right,#ccc,#ccc);background-position:calc(100% - 20px) calc(1.7em + 2px),calc(100% - 15px) calc(1.7em + 2px),calc(100% - 2.5em) 1.2em;background-size:5px 5px,5px 5px,1px 1.5em;background-repeat:no-repeat}

input[type="checkbox"] {
     -webkit-appearance: checkbox !important;
     -moz-appearance: checkbox !important;
     -ms-appearance: checkbox !important;
     -o-appearance: checkbox !important;
     appearance: checkbox !important;
    display: inline-block;
    width: 20px;
    margin-left: -2px;
    margin: 0;
    padding: 0;
}


/* --------------------------------------------------------------------------
        FADE IN / FADE OUT
--------------------------------------------------------------------------- */

.js .hideme {opacity: 0;}


/* --------------------------------------------------------------------------
        Responsive patterns
--------------------------------------------------------------------------- */

.col-r-1 {width: 8.33%;}
.col-r-2 {width: 16.66%;}
.col-r-3 {width: 25%;}
.col-r-4 {width: 33.33%;}
.col-r-5 {width: 41.66%;}
.col-r-6 {width: 50%;}
.col-r-7 {width: 58.33%;}
.col-r-8 {width: 66.66%;}
.col-r-9 {width: 75%;}
.col-r-10 {width: 83.33%;}
.col-r-11 {width: 91.66%;}
.col-r-12 {width: 100%;}

[class*="col-r-"] {float:left; padding: 15px; position: relative; height: auto; overflow: hidden;}
[class*="col-r-"] p img {width: 100% !important; height: auto !important;}
.row::after {content: ""; clear: both; display: block;}
.row.row-no-margin {margin: -15px;}

/* ---- MASONRY ---- */
.masonry.masonry-2 {column-count: 2; column-gap: 0.3em; }
.masonry.masonry-3 {column-count: 3; column-gap: 0.3em; }
.item {width: 100%; position: relative !important; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important;break-inside: avoid}
.item img {width: 100%; display: block;}


/* --------------------------------------------------------------------------
        RESPONSIVE
--------------------------------------------------------------------------- */

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

  /* ---- FLEXBOX ---- */
  .flexbox-container {display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-moz-box-orient:vertical;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:start;-moz-box-align:start;-ms-flex-align:start;-webkit-align-items:flex-start;align-items:flex-start}
  .flexbox-container .first-div{-webkit-box-ordinal-group:2;-moz-box-ordinal-group:2;-ms-flex-order:2;-webkit-order:2;order:2}
  .flexbox-container .second-div{-webkit-box-ordinal-group:1;-moz-box-ordinal-group:1;-ms-flex-order:1;-webkit-order:1;order:1}

  .only-mobile {display: block;}
  .not-mobile {display: none;}

  .masonry.masonry-2 {column-count: 1;}
  .masonry.masonry-3 {column-count: 1;}

  [class*="col-r-"] {float: none; padding: 0 0 15px 0 !important; width: 100%;}
  [class*="col-r-"]:last-child {padding-bottom: 0 !important;}
  .row.row-no-margin {margin: 0;}
  .rowfilter {padding: 30px 30px 20px 30px !important;}

  #header {padding: 20px 0 10px 0}
  #logo.left, #menu.right {float: none; text-align: center;}
  #logo.left a {display: inline-block;}

  #menu, #menu ul {width: 100%;}
  #menu ul li {margin: 0 5px;}
  #menu ul {text-align: center;}
  
  iframe.videohome {width: 100%; height: 250px;}

  #footer .wrapper .left, #footer .wrapper .right {text-align: center; float: none;}

  #intro-content {
    position: relative !important;
    vertical-align: top !important;
    top: 0 !important;
    transform: none !important;
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
    min-height: 350px;
}

  input[type="checkbox"] { top: 1px;}

  #intro-content {position: relative;}
  #galleria.galleria-intro {display: none;}
  a.bottone-2-mobile {margin: 0 !important; margin-top: 10px !important;}
}
