/* Configuratore prodotto a step */

#pcconfig_configurator {
  max-width: 100%;
  width: 1200px;
  padding: 20px;
  background: #fff;
  border: 1px solid #ddd;
  margin: 0 auto 30px auto;
}

.pcconfig_step_container {
  display: none;
  width: 100%;
  overflow: hidden;
}

.pcconfig_step_header {
  padding: 0 0 15px 0;
  margin: 0 0 15px 0;
  border-bottom: 1px solid #ddd;
}

.pcconfig_step_image img {
  width: 100%;
}

.pcconfig_step_title {
  font-weight: bold;
  font-size: 16px;
}

.pcconfig_step_desc {
  font-size: 14px;
}

.pcconfig_component_row {
  float: left;
  width: 100%;
  overflow: hidden;
  font-size: 14px;
  padding: 5px;
  transition: all 0.1s ease;
  cursor: pointer;
}

.pcconfig_component_row:hover {
  background: #f5f5f5;
}

.pcconfig_component_row select {
  background-color: #fff !important;
}

.pcconfig_component_selector {
  float: left;
  width: 60px;
  overflow: hidden;
  text-align: center;
  vertical-align: middle;
}

.pcconfig_component_selector input {
  cursor: pointer;
}

.pcconfig_component_info {
  float: left;
  width: calc(100% - 180px);
  overflow: hidden;
  padding: 0 5px;
}

.pcconfig_component_desc {
  font-size: 14px;
}

.pcconfig_component_fields {
  font-size: 13px;
  padding: 4px 0;
  font-style: italic;
}

.pcconfig_component_field_sku {
  font-size: 10px;
  padding: 5px 0 0 0;
}

.pcconfig_component_qta {
  float: left;
  width: 120px;
  overflow: hidden;
  position: relative;
  padding: 0 0 0 35px;
}

.pcconfig_component_qta label {
  display: block;
  position: absolute;
  left: 0;
  top: 11px;
  font-size: 13px;
}

.pcconfig_step_footer {
  width: 100%;
  overflow: hidden;
  float: left;
  padding: 10px 0;
  border-top: 1px solid #ddd;
  margin: 15px 0 0 0;
}

.pcconfig_step_footer_left,
.pcconfig_step_footer_right {
  width: 250px;
  float: left;
  overflow: hidden;
}

.pcconfig_step_footer_left {
  padding: 5px 5px 5px 0;
}

.pcconfig_step_footer_right {
  padding: 5px 0 5px 5px;
}

.pcconfig_step_footer_center {
  float: left;
  overflow: hidden;
  width: calc(100% - 500px);
  padding: 5px;
}

.pcconfig_step_back,
.pcconfig_step_forward,
.pcconfig_place_order {
  padding: 10px 25px;
  color: #fff !important;
  background: #f0812d;
  border-radius: 3px;
  width: 100%;
  text-align: center;
  display: block;
  font-weight: bold;
}

/*
.pcconfig_step_back {
  background: #6c757d;
}

.pcconfig_step_forward {
  background: #dc9814;
}
*/

.pcconfig_place_order {
  background: #f0812d;
  display: none;
}

.pcconfig_step_extra_options {
  border-top: 1px solid #ddd;
  margin: 15px 0 0 0;
  padding: 15px 0 0 0;
  overflow: hidden;
  width: 100%;
  float: left;
}

.pcconfig_step_eo_col label {
  font-size: 14px;
}

.pcconfig_step_desc .mgs-microconnect {
	padding: 10px;
	border: 1px solid #ffeeba;
	border-radius: 5px;
	background: #fff3cd;
  color: #856404;
	margin-top: 10px;
}

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

  .pcconfig_component_selector {
    width: 40px;
  }

  .pcconfig_component_qta {
    width: 100px;
  }

  .pcconfig_component_info {
  	width: calc(100% - 140px);
  }

  .pcconfig_step_footer_left,
  .pcconfig_step_footer_right {
  	width: 140px;
  }

  .pcconfig_step_footer_center {
  	width: calc(100% - 280px);
  }

  .pcconfig_step_back,
  .pcconfig_step_forward,
  .pcconfig_place_order {
    font-size: 14px;
    padding: 10px;
  }

}

/* Sidebar configuratore */
#pcconfig_configurator_sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 320px;
  background: #FFF;
  overflow: hidden;;
  padding: 20px;
  z-index: 999999;
  box-shadow: 0px 0px 5px rgba(0,0,0,0.35);
  font-size: 13px;
  display: none;
}

#pcconfig_configurator_sidebar .pcconfig_configuration_step {
  margin-bottom: 6px;
  font-size: 12px;
  display: none;
}

#pcconfig_configurator_sidebar .pcconfig_configuration_title {
  font-weight: 600;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #ddd;
}

#pcconfig_configurator_sidebar .pcconfig_configuration_step_title {
  font-weight: 600;
}

@media screen and (max-width: 1840px) {
  #pcconfig_configurator_sidebar {
    width: 240px;
  }
}

@media screen and (max-width: 1640px) {
  #pcconfig_configurator_sidebar {
    display: none !important;
  }
}

/* Loader */
#pcconfig-loader-wrap {
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  position: fixed;
  background: rgba(255,255,255,0.5);
  z-index: 9999;
}

#pcconfig-loader {
  width: 40px;
  height: 40px;
  margin: 1.5em auto;
  /*background: #006ba1;*/
  background: #dc9814;
  border-radius: 50%;
  -webkit-animation: pulse 1s infinite alternate;
  animation: pulse 1s infinite alternate;
  display: block;
  position: absolute;
  top: 45%;
  left: 50%;
  margin-left: -20px;
}

@-webkit-keyframes pulse {
	from {
		opacity: 1;
		width: 40px;
		height: 40px;
	}

	to {
		opacity: 0.5;
		width: 35px;
		height: 35px;
	}
}

@keyframes pulse {
	from {
		opacity: 1;
		width: 40px;
		height: 40px;
	}

	to {
		opacity: 0.5;
		width: 35px;
		height: 35px;
	}
}


/* Alert */
#pcconfig-alert-wrap {
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  position: fixed;
  background: rgba(255,255,255,0.5);
  z-index: 9999;
}

#pcconfig-alert {
  width: 420px;
  max-width: 100%;
  height: auto;
  margin: 1.5em auto;
  background: #FFFFFF;
  border-radius: 10px;
  display: block;
  position: absolute;
  top: 15%;
  left: 50%;
  margin-left: -210px;
  font-size: 13px;
  color: #333;
  padding: 15px;
  box-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

#pcconfig-alert-close {
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 15px;
}

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

  #pcconfig-alert {
    width: 320px;
    margin-left: -160px;
  }

}
