/*
 *  Light 300
 *  Normal 400
 *  Medium 500
 *  Bold 700 
 */

body {
  background-image: url(img/bkg_cropped.png);
  background-position: center center;
  background-repeat: no-repeat;
  /*background-attachment: fixed;*/
  background-size: cover;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 400;
  color: #858585;
  /* important necessario per la pagina ambiente colore, dove con l'embed del sencha sovrascrive i font-size di default */
  font-size: 14px !important;
  overflow: auto !important;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3 {
  color: #254a93;
}

h2, .h2 {
  font-size: 20px;
}
h3, .h3 {
  font-size: 18px;
}
h4, h5, h6,
.h4, .h5, .h6 {
  color: #858585;
}

a {
  outline: none !important;
}

strong {
  font-weight: 500;
}
label {
  font-weight: 400;
}
label strong {
  font-weight: 700;
}

.text-big {
  font-size: 16px;
}

.text-light {
  font-weight: 300;
}

/* stili bootstrap */
.btn {
  border-bottom-width: 3px;
}
.btn-lg {
  font-size: 20px;
  border-bottom-width: 5px;
}
.btn-red {
  color: #fff;
  background-color: #c60020;
  border-color: #9d0019;
}
.btn-red.active, .btn-red.focus, .btn-red:active, .btn-red:focus, .btn-red:hover, .open>.dropdown-toggle.btn-red {
  color: #fff;
  background-color: #b7001e;
  border-color: #830015;
}
.text-red {
  color: #c60020;
}
.bg-red {
  color: #fff;
  background-color: #c60020
}

.btn-primary {
  background-color: #2f60b7;
  border-color: #244a8e;
}
.btn-primary.active, .btn-primary.focus, .btn-primary:active, .btn-primary:focus, .btn-primary:hover, .open>.dropdown-toggle.btn-primary {
  color: #fff;
  background-color: #2a56a4;
  border-color: #20417d;
}

.btn-grey {
  color: #98958b;
  background-color: #dad5c5;
  border-color: #aba8a0;
}
.btn-grey.active, .btn-grey.focus, .btn-grey:active, .btn-grey:focus, .btn-grey:hover, .open>.dropdown-toggle.btn-grey {
  color: #98958b;
  background-color: #cac5b7;
  border-color: #97948d;
}
.bg-grey {
  background-color: #dad5c5;
}
.text-grey {
  color: #858585;
}

.btn-icon {
  width: 100%;
  text-align: left;
}
.btn-icon .glyphicon {
  margin-right: 20px;
}


.margin-bottom {
  margin-bottom: 15px;
}
.margin-top {
  margin-top: 15px;
}

.padding-bottom {
  padding-bottom: 15px;
}
.padding-top {
  padding-top: 15px;
}

.glyphicon-refresh-animate {
    -animation: spin .7s infinite linear;
    -webkit-animation: spin2 .7s infinite linear;
}

@-webkit-keyframes spin2 {
    from { -webkit-transform: rotate(0deg);}
    to { -webkit-transform: rotate(360deg);}
}

@keyframes spin {
    from { transform: scale(1) rotate(0deg);}
    to { transform: scale(1) rotate(360deg);}
}

.noopacity {
  opacity: 0;
}


/* fine default */


#main-wrapper {
  background: #fff;
  margin-top: 65px;
  margin-bottom: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
  -webkit-box-shadow: 0 0 5px 2px #dddddd;
  box-shadow: 0 0 5px 2px #dddddd;
  /*height: 800px; /* altezze fixate */
}

.project-title {
  font-size: 45px;
  color: #848484;
  height: 85px;
  line-height: 85px;
}



.logo {
  margin-right: 50px;
}
.logo img {
  width: 170px;
}
.logo-chreon  {
  padding-top: 20px;
}
.header .social {
  padding-top: 10px;
}

.header .nav {
  border-top: 1px solid #edece8;
}
.header .nav>li {
  margin-right: 40px;
}
.header .nav>li>a {
  border-radius: 0;
  padding: 5px 0;
  color: #cac8c8;
  border-top: 5px solid #fff;
  font-weight: 700;
}
.nav-pills>li>a:focus,
.nav-pills>li>a:hover {
  color: #878787;
  background: none;
  border-top-color:#bd001d;
}
.nav-pills>li.active>a,
.nav-pills>li.active>a:focus,
.nav-pills>li.active>a:hover {
  color: #878787;
  background: none;
  border-top-color:#bd001d;
}

/* iframe widget */
.widget-wrapper iframe {
  border: 0;
  background: transparent;
  overflow:hidden;
}

/* VISUALIZZAZIONE SE STEP */
.body-step #main-wrapper{
  background: #f6f6f3 url('img/bkg-body-step-container.jpg') left top no-repeat;
  padding-bottom: 0;
}
.body-step .step-sx {
  background: url('img/bkg-body-step-sx.jpg') left top repeat-y;
  padding-bottom: 20px;
  text-align: center;
  /*height: 611px; /* altezze fixate */
}
.body-step .step-dx {
  position: relative;
  top: -30px;
 /* min-height:521px;*/
}

.step-sx .step-number:first-child {
  margin-top: 20px;
}
.step-sx .step-number {
  display: block;
  width: 30px;
  height: 30px;
  line-height: 16px;
  margin: auto;
  border-radius: 30px;
  font-weight: 500;
  background: #fff;
  border: 6px double #fff;
  color: #e1ded5;
  font-size: 18px;
}
.step-sx .step-number:hover,
.step-sx .step-number:focus {
  text-decoration: none;
}
.step-sx .step-number.active {
  background: #244a8e;
  border: 6px double #fff;
  color: #fff;
  width: 35px;
  height: 35px;
  line-height: 21px;
}
.step-sx .step-line {
  background: #fff;
  display: block;
  width: 3px;
  height: 80px;
  margin: auto;
}
.step-sx .step-line.active {
  background: #244a8e;
}


/* INDEX */
.hp-title {
  font-weight: 300;
  font-size: 30px;
}
.hp-subtitle {
  font-weight: 300;
  font-size: 20px;
}
.banner-carica-foto,
.banner-scegli-ambiente {
  height: 415px;
  background-position: center bottom;
  background-repeat: no-repeat;
  text-align: center;
  position: relative;
}
.banner-carica-foto {
  background-image: url('img/banner-carica-foto.jpg');
}
.banner-scegli-ambiente {
  background-image: url('img/banner-scegli-ambiente.jpg');
}

.banner-carica-foto .desc,
.banner-scegli-ambiente .desc{
  background-color: rgba(255, 255, 255, 0.5);
  font-size: 21px;
  color: #838383;
  font-weight: 500;
  padding: 0px 0 30px 0;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}
.banner-carica-foto .btn,
.banner-scegli-ambiente .btn {
  position: relative;
  top: -20px;
  font-size: 20px;
  font-weight: 500;
}

/* SELEZIONE AMBIENTI */

.wrap-ambienti .primo-livello,
.wrap-ambienti .secondo-livello,
.wrap-ambienti .terzo-livello,
.wrap-ambienti .terzo-livello .carousel-inner {
  -webkit-transition: all 300ms ease;
  -moz-transition: all 300ms ease;
  -ms-transition: all 300ms ease;
  -o-transition: all 300ms ease;
  transition: all 300ms ease;
}
.wrap-ambienti .primo-livello {
  min-height: 160px;
}
.wrap-ambienti .secondo-livello {
  min-height: 90px;
}
/*.wrap-ambienti .terzo-livello .carousel-inner {*/
.wrap-ambienti .terzo-livello  {
  min-height: 140px;
}
.wrap-ambienti .nome-widget,
.wrap-ambienti .terzo-livello  .nome-ambiente {
  display: none;
}


.wrap-ambienti a.img-wrap  {
  border: 2px solid #fff;
  display: inline-block;
  position: relative;
  text-align: center;
  max-width: 100%;
}
.wrap-ambienti a.img-wrap .bkg-active {
  background-color: #2b58a9;
  opacity: 0;
  content: ' ';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  -webkit-transition: all 200ms ease;
  -moz-transition: all 200ms ease;
  -ms-transition: all 200ms ease;
  -o-transition: all 200ms ease;
  transition: all 200ms ease;
}
.wrap-ambienti a.img-wrap .icon {
  opacity: 0;
  font-size: 40px;
  color: #fff;
  position: absolute;
  top: 30%;
  left: 0;
  width: 100%;
  /*height: 100%;*/
  -webkit-transition: all 200ms ease;
  -moz-transition: all 200ms ease;
  -ms-transition: all 200ms ease;
  -o-transition: all 200ms ease;
  transition: all 200ms ease;
}

.wrap-ambienti .secondo-livello a.img-wrap .icon {
  top: 10%;
}

.wrap-ambienti .selected a.img-wrap {
  border-color: #2b58a9;
}
.wrap-ambienti a.img-wrap:hover .bkg-active,
.wrap-ambienti .selected a.img-wrap .bkg-active {
  opacity: 0.3;
}
.wrap-ambienti a.img-wrap:hover .icon,
.wrap-ambienti .selected a.img-wrap .icon {
  opacity: 1;
}

.wrap-ambienti .primo-livello .nome-ambiente {
  font-weight: 500;
  padding-left: 3px;
}


.wrap-ambienti .terzo-livello.carousel-visible .carousel-inner {
  width: 90%;
  margin-left: 5%;
}
.wrap-ambienti .terzo-livello.carousel-visible .carousel-control {
  display: block;
}
.wrap-ambienti .terzo-livello.carousel-hidden .carousel-inner {
  width: 100%;
}
.wrap-ambienti .terzo-livello.carousel-hidden .carousel-control {
  display: none;
}
.wrap-ambienti .carousel .carousel-control {
  background: none;
  font-size: 20px;
  color: #fff;
  text-align: center;
  text-shadow: none;
  filter: none;
  opacity: 1;
  color: #aba8a0;
  width: 5%;
}
.wrap-ambienti .carousel .carousel-control .glyphicon {
  /*top: 42%;*/
}

/* COLORA AMBIENTE */
#ambiente-colora-wrapper {
  /*background: #e1ded5;*/
  padding-top: 5px;
}
#ambiente-colora-wrapper canvas {
  display: inline-block !important;
  float: none !important;
}
#ambiente-colori-selected .header {
  padding: 10px 0;
}
#ambiente-colori-selected .color {
  height: 30px;
  -webkit-border-top-left-radius: 4px;
  -webkit-border-top-right-radius: 4px;
  -moz-border-radius-topleft: 4px;
  -moz-border-radius-topright: 4px;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}
.ui-loader {
  display: none;
}

/* SELEZIONE VERNICE */
#calcola-vernice-wrapper table {
  border: 0;
}
#calcola-vernice-wrapper .th-foto {
  padding-top: 60px;
}
#calcola-vernice-wrapper .th-prodotto {
  width: 120px;
}
#calcola-vernice-wrapper .th-prodotto strong {
  display: block;
  height: 60px;
}
#calcola-vernice-wrapper .th-prodotto img {
  max-width: 80px;
  margin-bottom: 10px;
}
#calcola-vernice-wrapper .th-prodotto .info-blank {
  text-decoration: none;
  font-size: 16px;
  color: #254993;
}
#calcola-vernice-wrapper .td-superficie,
#calcola-vernice-wrapper .td-qta {
  width: 95px;
}
#calcola-vernice-wrapper th,
#calcola-vernice-wrapper td {
  padding: 10px;
}

#calcola-vernice-wrapper td em {
  font-size: 12px;
  line-height: 15px;
  display: block;
}

#calcola-vernice-wrapper  th {
  border-top: 0;
}
#calcola-vernice-wrapper  tr th:first-child,
#calcola-vernice-wrapper  tr td:first-child {
  border-left: 0;
  border-right: 1px solid #F6F6F3;
}
#calcola-vernice-wrapper  tr th:last-child,
#calcola-vernice-wrapper  tr td:last-child {
  border-right: 0;
}
#calcola-vernice-wrapper  tr:last-child td {
  border-bottom: 0;
}

#calcola-vernice-wrapper .input-cancella {
  color: #9e9b93;
  text-decoration: none;
} 

#calcola-vernice-wrapper .color {
  height: 30px;
  max-width: 120px;
  -webkit-border-top-left-radius: 4px;
  -webkit-border-top-right-radius: 4px;
  -moz-border-radius-topleft: 4px;
  -moz-border-radius-topright: 4px;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

#calcola-vernice-wrapper .input-superficie,
#calcola-vernice-wrapper .input-qta {
  text-align: right;
}

/* RADIO */

    
.input-colore-prodotto {
  display:none;
}

input[type="radio"] + label {
  -webkit-appearance:none;
  background-color:#fafafa;
  border:1px solid #cacece;
  box-shadow:0 1px 2px rgba(0,0,0,0.05),inset 0 -15px 10px -12px rgba(0,0,0,0.05);
  padding:9px;
  border-radius:50px;
  display:inline-block;
  position:relative;
}

input[type="radio"]:checked + label:after {
  content:' ';
  width:12px;
  height:12px;
  border-radius:50px;
  position:absolute;
  top:3px;
  background:#254993;
  box-shadow:inset 0 0 10px rgba(0,0,0,0.3);
  text-shadow:0;
  left:3px;
  font-size:32px;
}

input[type="radio"]:checked + label {
  background-color:#e9ecee;
  color:#99a1a7;
  border:1px solid #adb8c0;
  box-shadow:0 1px 2px rgba(0,0,0,0.05),inset 0 -15px 10px -12px rgba(0,0,0,0.05),inset 15px 10px -12px rgba(255,255,255,0.1),inset 0 0 10px rgba(0,0,0,0.1);
}

input[type="radio"] + label:active,
input[type="radio"]:checked + label:active {
  box-shadow:0 1px 2px rgba(0,0,0,0.05),inset 0 1px 3px rgba(0,0,0,0.1);
}


/* RESPONSIVE */
#device-rotate {
  display: none;
  position: fixed;
  top: 30%;
  left: 5%;
  width: 90%;
  -webkit-box-shadow: 0 0 5px 2px #dddddd;
  box-shadow: 0 0 5px 2px #dddddd;
  background: #fff;
}
@media all and (max-width: 1200px) {
  .banner-carica-foto,
  .banner-scegli-ambiente {
    background-size: contain;
    height: 335px;
  }
}
@media all and (min-width: 992px) and (max-width: 1200px) {
  .body-step .step-sx {
    padding-left: 50px;
  }

}
@media only screen and (max-device-width: 992px) and (orientation: portrait) {
  #device-rotate {
    display: block;
  }
}
@media all and (max-width: 992px) {
  #main-wrapper {
    margin-top: 45px;
  }
  .header {
    position: relative;
  }
  .header .social {
    float: none !important;
    position: absolute;
    top: -60px;
    right: -15px;
  }
  .header .nav>li {
    margin-right: 20px;
  }
  .header .nav>li:last-child {
    margin-right: 0;
  }
  .banner-carica-foto,
  .banner-scegli-ambiente {
    height: 235px;
  }
  
  .body-step #main-wrapper {
    background: #fff;
    padding-bottom: 20px;
  }
  .step-sx {
    display: none;
  }
  .body-step .step-dx {
    top: 0;
    width: 100%;
  }
  
  #listadistributori .text-right input[type=radio] {
    float: left;
    margin-right: 10px;
  }
}

@media all and (max-width: 768px) {
  body {
    background: #fff;
  }
  .header .logo {
    margin-right: 0;
  }
  .header .logo-chreon {
    text-align: center;
    float: none !important;
  }
  .header .project-title {
    clear: right;
    text-align: center;
  }
  .header .nav {
    clear: both;
    border-bottom: 1px solid #edece8;
  }
  .banner-carica-foto {
    margin-bottom: 20px;
  }
  

}
@media all and (min-width: 490px) and (max-width: 768px) {
  
  .header .nav>li {
    margin: 0;
    width: 33%;
    text-align:center;
  }
}
@media all and (max-width: 490px) {
  .header .logo,
  .header .logo-chreon,
  .header .project-title {
    clear: both;
    text-align: center;
    float: none !important;
    margin-right: 0;
    margin-left: 0;
    padding-top: 0;
  }
  .header .nav>li {
    margin: 0;
    width: 100%;
    text-align:center;
  }
  
  .wrap-ambienti .primo-livello .col-sm-3 {
    width: 100%;
  }
  .wrap-ambienti .secondo-livello .col-sm-2,
  .wrap-ambienti .terzo-livello .col-sm-2 {
    width: 50%;
    float: left;
  }
  
}
@media all and (max-width: 420px) {
  #calcola-vernice-wrapper .col-xs-6 {
    width: 100%;
  }
}
@media all and (max-width: 320px) {
  .wrap-ambienti .secondo-livello .col-sm-2,
  .wrap-ambienti .terzo-livello .col-sm-2 {
    width: 100%;
  }
}