/* Override theme based css */

#header               { 
  margin-top: 10px;
}

#content{
  padding-top:0px;
}

#content div.set {
  padding-top: 2px;
}

#header .create_campaign { 
  float: right;
  font-size: 24px;
  margin: 5px;
  color: #444;
}

#header .campaign { 
  overflow:auto; 
  height: 250px;
  background: #<%=@vars["LINK_COLOR"] %>;
}

body {
  background: #FFFFFF;
  color: #000001;
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #44474d;
}

a{
    font-size:11px;
}

h1 {
  margin: 0;
  font-size: 18px;
  float: left;
  left: initial;
}

#container {
  background: transparent none;
}  

#header, #header div.set, #content, #content div.set, #footer, #footer div.set {
  background: transparent none;
  color: #000001;
}

#footer {
  display:none;
}

#header div.set {
  padding: 0;
  width: 968px;
}

#content div.set  {
  background: transparent none !important;
  width: 968px !important; 
}

.colorbutton, .colorbutton.add_to_cart, .button, .sub_button {
  background: -moz-linear-gradient(50% 0 , #FFFFFF, #F2F2F2);
  background: -webkit-gradient(linear, 50% 0, 50% 100%, from(#FFFFFF), to(#F2F2F2));
  border: 1px solid #D8D8D8;
  border-radius: 1px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  height: 28px;
  line-height: 28px;
  padding: 0 10px;
  text-align: center;
  color: #404040;
  display: block;
  font-size: 12px;
  font-weight: bold;
  margin: 5px 0;
  text-decoration: none;
  vertical-align: bottom;
}

.open, .close {
  position: relative;
}  

h3 {
  font-size: 16px;
  font-weight: normal;
  color: #000001;
  letter-spacing: 0;  
}

h4 {
  font-size: 14px;
  font-weight: normal;
  color: #000001;
  letter-spacing: 0;  
}

a {
  color: #00e;
}

/* campaign-wizard */

.campaign-wizard .content {
  display: block;
  min-height: 450px;
  margin-top: 80px;
}

.campaign-wizard .content .title {
  position: absolute;
  left: -999em;
}

.campaign-wizard .content .body {
  float: left;
  width: 100%;
  padding-top: 5px;
}

.campaign-wizard  div.align_content{
  width:1055px;
  margin:auto;
}

.campaign-wizard .wizard-actions {
  position: fixed;
  bottom:0;
  display: block;
  border-top:1px solid #ccc;
  width:100%;
  text-align:center;
  background:#fff;
  z-index: 2999;
}

.campaign-wizard  .wizard-actions > ul {
  display: inline-block;
  text-align: right;
}

.campaign-wizard  .wizard-actions > ul > li {
  margin: 0 .5em;
}

.campaign-wizard  .wizard-actions a, .campaign-wizard  .wizard-actions a:hover, .campaign-wizard  .wizard-actions a:active {
  cursor:pointer;
}

.campaign-wizard  .wizard-actions a {
  font-size: 20px;
  height: 50px;
  line-height: 50px;
  width: 200px;;
  background: #1682e2;
  margin:10px;
  color:#fff;
  margin-right:0px;
}

.campaign-wizard  .wizard-actions .disabled a {
  font-size: 20px;
  height: 50px;
  line-height: 50px;
  width: 200px;;
  background: #ccc;
  margin:10px;
  margin-right:0px;
  color:#777;
}

.campaign-wizard  .wizard-actions .disabled a, .campaign-wizard .wizard-actions .disabled a:hover, .campaign-wizard  .wizard-actions .disabled a:active {
  cursor:pointer;
}

.campaign-wizard .select_product_hierarchy {
  width: 215px;
  margin-left: 0px;
  padding: 5px;
  float: left
}

.campaign-wizard .library_listing {
  float: left;
  margin-left: 5px;
  width:70%;
}

.campaign-wizard .backend_designer, .campaign-wizard .designer_container {
  margin-bottom: 35px !important;
  margin:auto;
}

.campaign-wizard .backend_designer div#type_colors_container, .campaign-wizard .designer_container div#type_colors_container {
  padding: 0 0 15px 15px;
}

.d_customize_title {
  display:none;
}

.campaign-wizard #d_pane {
  margin: 0px !important;
}

.campaign-wizard .product_categories ul li span a {
}

.campaign-wizard .product_categories ul li span.selected {
  background : #<%=AppearanceHelper.derive_color(@vars["PAGE_BG"], 3, 20) %>;
}

.campaign-wizard .product_categories ul li span:hover {
  background : #<%=AppearanceHelper.derive_color(@vars["PAGE_BG"], 3, 10) %>;
  border-radius:0px;
  border:none;
  box-shadow:none;
  
}

.campaign-wizard .product {
  border: 1px solid <%=@vars["PRODUCT_BORDER"]%>;
  cursor: move;
  float: left!important;
  margin: 5px;
  margin: 4.75px;
  width: 120px !important;
  height: 140px !important;
}

.campaign-wizard .product .thumb_border {
  padding: 10px;
  text-align: center;
}
 
.campaign-wizard .product > p {
  font-size: 11px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow:ellipsis;
  margin: 0px 7px;
}

.campaign-wizard li.product:hover {
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 3px rgba(0, 0, 0, 0.1), 0 0 0 3px #9FC2E0 ;
}

.campaign-wizard li.active {
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 3px rgba(0, 0, 0, 0.1), 0 0 0 3px #1682e2 !important;
}

.campaign-wizard .library_browser ul.decoration_list li span {
  background: inherit;
  display: block;
  margin: 2px;
}

.campaign-wizard .campaign_product {
  float:left;
  margin: 15px 0 0 15px;
  margin-right:0px;
  width: 400px;
}

.campaign-wizard .campaign_product img {
  width: 100%;
  max-width: 600px;
}

.campaign-wizard .wizard-step {
  position: relative;
  float:left;
  margin: 15px 0px 100px 5px;
  border: 1px solid #ddd;
  padding: 10px 15px;
  background: #F5F5F5;
  width: 600px;
}

.campaign-wizard .wizard-step .row-fluid{
  margin: 5px 0;
  clear: both;
}

.campaign-wizard .wizard-step.campaign_goal .row-fluid {
  margin: 5px 0 0 0;
}



.campaign-wizard .wizard-step.campaign_detail .row-fluid input {
  width:355px;
}

.campaign-wizard .wizard-step.campaign_detail .row-fluid textarea {
  width:360px;
}

.campaign-wizard .wizard-step.campaign_detail .color_button {
  width: 20px; 
  display:inline-block;
}

hr {
  display: block; 
  height: 1px;
  border: 0; border-top: 1px solid #ddd;
  margin-top:15px;
  margin-bottom:15px;
}

.campaign-wizard .wizard-step h2 {
  color: #444;
  margin-bottom: 0px;
  font-size: 16px;
  font-weight: bold;
  margin-top: 5px;
}

.campaign-wizard .wizard-step h3 {
  font-size: 2.0em;
  color: #444;
}

.campaign-wizard .wizard-step label {
  font-size: 13px;
  color: #444;
  font-weight:400;
}

.campaign-wizard .wizard-step label.label_small{
  font-size: 12px;
}

.campaign-wizard .campaign_detail label {
  display: block;
}

.campaign-wizard .campaign_launch label {
  width: 100px;
  display: inline-block;
}

.campaign-wizard .campaign_launch select , .campaign-wizard .campaign_product select{
  height:37px;
  font-size:13px;
  border: 1px solid #ccc;
  font-weight: 100;
  font-size: 14px;
  color: #444;
  border-radius:5px;
}

.campaign-wizard .campaign_detail select {
  height:25px;
  font-size:13px;
  border: 1px solid #ccc;
  margin: 5px;
}

.campaign-wizard .wizard-step input , .campaign-wizard .wizard-step textarea {
  padding: 5px;
  display: inline-block;
  box-shadow: none;
  border: 1px solid #ccc;
  font-weight: 100;
  font-size: 14px;
  color: #444;

}

.wizard-step.available_colors {
  margin: 5px 0 80px 0;
  width: 368px;
}

.wizard-step.available_colors .color_panel {
  max-width: 100%;
}

 .wizard-step.available_colors #available_color_list .color_panel li .color_panel_cell {
  cursor: default;
}

 .wizard-step.available_colors #available_color_list .color_panel li .color_panel_cell.over {
  border: 2px solid rgb(238, 242, 248);
}

.campaign-wizard .campaign-products-table {
  width: 100%;
}

.campaign-wizard .campaign-products-table tr.drag-highlight td {
  border: 5px solid;
  border-color: $v-btn-std-bg-color;
  border-width: 5px 0 0 0;
}

.campaign-wizard .campaign-products-table td {
  padding: 5px
}

.campaign-wizard .campaign-products-list .campaign-product-row {
  box-shadow: 0px 1px 2px 0px #333;
}

.campaign-wizard .campaign-products-list .campaign-product-row label { 
  padding: 0 0 0 5px;
}

.campaign-wizard .campaign-products-list .campaign-product-row a {
  padding: 0 0 0 15px;
}

.campaign-wizard .campaign-products-list .campaign-product-row.current {
  box-shadow: 2px 2px 10px 2px #1a1a1a;
}

.campaign-wizard .campaign-products-list .campaign-product-row .campaign-product-thumb {
  display: inline-block;
  vertical-align: middle;
}

.campaign-wizard .campaign-products-list .campaign-product-row .campaign-product-thumb img {
  max-width: 60px;
  cursor: pointer;
}

.campaign-wizard .campaign-products-list .campaign-product-row .drag-grip-handle {
  display:inline-block;
  float:right;
  margin-top: 15px;
}

.campaign-wizard .campaign-products-list .campaign-product-row .drag-grip-handle span {
  content: '....';
  width: 10px;
  display: inline-block;
  line-height: 6px;
  padding: 0px 25px;
  cursor: move;
  font-size: 12px;
  font-family: sans-serif;
  letter-spacing: 2px;
  color: #999;
  text-shadow: 1px 0 1px black;
}

.campaign-wizard .campaign-products-list .campaign-product-row .drag-grip-handle span::after {
  content: '.. .. .. ..';
}

.campaign-wizard .campaign_launch input {
  width:125px;
}

input[type='file'] {
  background:#ddd;
  margin:5px;
}

input[type='checkbox'], input[type='radio'] {
  width:20px!important;
}

.campaign-wizard .goal_input {
  height: 17px;
  width: 50px;
  font-size: 16px;
  padding: 4px 4px;
  font-weight: bold;
  text-align: right;
  margin: 5px;
  display: inline-block;
  box-shadow: none;
}

.campaign-wizard .wizard-step .profit label#campaign_estimated_total_profit {
  font-size: 30px;
  color: #1682e2;
}  

.campaign-wizard .wizard-step span.passed {
  color:#74AF4C;
  padding:3px;
}

.campaign-wizard .wizard-step span.failed {
  color:#CC0000;
  padding:3px;
}

.campaign-wizard .wizard-step span.derror {
  color:#CC0000;
  padding:3px;
}

.campaign-wizard .wizard-step .slider-container {
  width: 295px;
  margin-left: 7px;
  margin-top: -1px;
  float: left;
}

.launch_button {

  bottom: 15px;
  margin-top:20px;
  margin-left: 100px; 
  display: inline-block;
  background: #1682e2;
  height: 40px;
  line-height: 40px;
  font-size: 1.5em;
  font-weight: 600;
  color: #fff;
  padding: 0 20px;
  border: none;
  box-shadow:none;
  text-shadow:none;
  
}

/* Slider */
.campaign-wizard .wizard-step .slider {
  padding: 5px 0 5px 2px;
}

.campaign-wizard .wizard-step input[type=range] {
    /*removes default webkit styles*/
    -webkit-appearance: none;
    
    /*fix for FF unable to apply focus style bug */
    border: none;
    
    /*required for proper track sizing in FF*/
    width: 300px;
    background: #f5f5f5; 
    margin-top: -5px;
    height: 20px;
    padding: 0;
}
.campaign-wizard .wizard-step input[type=range]::-webkit-slider-runnable-track {
    width: 300px;
    height: 5px;
    background: #ddd;
    border: none;
    border-radius: 3px;
}
.campaign-wizard .wizard-step input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    border: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #daa520;
    margin-top: -4px;
}
.campaign-wizard .wizard-step input[type=range]:focus {
    outline: none;
}
.campaign-wizard .wizard-step input[type=range]:focus::-webkit-slider-runnable-track {
    background: #ccc;
}

.campaign-wizard .wizard-step input[type=range]::-moz-range-track {
    width: 300px;
    height: 5px;
    background: #ddd;
    border: none;
    border-radius: 3px;
}
.campaign-wizard .wizard-step input[type=range]::-moz-range-thumb {
    border: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #daa520;
}

/*hide the outline behind the border*/
.campaign-wizard .wizard-step input[type=range]:-moz-focusring{
    outline: 1px solid white;
    outline-offset: -1px;
}

.campaign-wizard .wizard-step input[type=range]::-ms-track {
    width: 300px;
    height: 5px;
    
    /*remove bg colour from the track, we'll use ms-fill-lower and ms-fill-upper instead */
    background: transparent;
    
    /*leave room for the larger thumb to overflow with a transparent border */
    border-color: transparent;
    border-width: 6px 0;

    /*remove default tick marks*/
    color: transparent;
}
.campaign-wizard .wizard-step input[type=range]::-ms-fill-lower {
    background: #777;
    border-radius: 10px;
}
.campaign-wizard .wizard-step input[type=range]::-ms-fill-upper {
    background: #ddd;
    border-radius: 10px;
}
.campaign-wizard .wizard-step input[type=range]::-ms-thumb {
    border: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #daa520;
}
.campaign-wizard .wizard-step input[type=range]:focus::-ms-fill-lower {
    background: #888;
}
.campaign-wizard .wizard-step input[type=range]:focus::-ms-fill-upper {
    background: #ccc;
}

.campaign-wizard .wizard-actions > ul > li {
  float: left;
}

.campaign-steps  {
  height: 65px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  background: #f5f5f5;
  background: -webkit-gradient(linear, left top, left bottom, from(#fafafa), to(#f5f5f5));
  background: -webkit-linear-gradient(top, #fafafa 0%, #f5f5f5 100%);
  background: linear-gradient(to bottom, #fafafa 0%, #f5f5f5 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  counter-reset: steps;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  position:fixed;
  top:0;
  left:0;
  width:1224px;
  z-index:4;
}

.campaign-steps h1.heading {
  position: absolute;
  top: 20px;
  left: 30px;
  display: none;
}

h1{
  margin: 0;
  font-size: 18px;
  float: none;
  left: initial;
  text-align: center;
  font-weight:500;
  height:auto;  
  width:auto;
  background:none;
}

p{
  margin-bottom: 10px;
  text-align: center;
  font-weight: 100;
  font-size: 13px;
}

.campaign-steps ol {
  margin-left:20px;
}

.campaign-steps li {
  display: inline-block;
  position: relative;
  counter-increment: steps;
  font-size: 14px;
  margin: 5px -3px 0px 0px;
  width:175px;
}

.campaign-steps li.current {
  
}

.campaign-steps li.current a, .campaign-steps  li.completed a {
  color: #222;
  font-size: 14px;
}

.campaign-steps li:hover a, .campaign-steps  li.current a, .campaign-steps  li.completed a {
  color: #222;
  font-size: 14px;
}

.campaign-steps  li.current a {
  font-weight : 600;
}

.campaign-steps li a {
  padding: 15px 0px 15px 25px;
  display: block;
  color: #666;
  text-decoration: none;
  cursor: pointer;
  font-size: 14px;
}

.campaign-steps  li a, .campaign-steps  li i {
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.campaign-steps  li.current a:before, .campaign-steps  li.completed a:before {
  background: #1682e2;
  color: #fff;
}

.campaign-steps  li a:before {
  content: counter(steps);
  display: inline-block;
  width: 26px;
  height: 26px;
  line-height: 24px;
  margin-right: 5px;
  border-radius: 50%;
  text-align: center;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.5);
}

.campaign-steps  li:hover a:before {
  content: counter(steps);
  display: inline-block;
  width: 26px;
  height: 26px;
  line-height: 24px;
  margin-right: 5px;
  border-radius: 50%;
  text-align: center;
  font-weight: 700;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.5);
}

.campaign-steps li:after {
  content: '';
  position: absolute;
  pointer-events: none;
  top: 2px;
  right: -30px;
  width: 48px;
  height: 48px;
  -webkit-transform: scaleX(0.4) rotate(45deg);
  -ms-transform: scaleX(0.4) rotate(45deg);
  transform: scaleX(0.4) rotate(45deg);
  border: solid rgba(127, 127, 127, 0.25);
  border-width: 1px 1px 0 0;
  z-index: 10;
}

.campaign-steps li.current:after {
  z-index: 15;
}

.glowing-border {
  border: 2px solid #dadada;
  border-radius: 5px;
  box-shadow: none
}

.glowing-border:focus { 
    outline: none;
    border: 1px solid #1682e2 !important;
    
}

/* campaign validation */

.validation-advice {
  color:red;
}


/* responsive */

@media only screen and (min-width: 1224px) {
  .campaign-steps {
    width: 100%;
    text-align: center;
  }

  .campaign-steps h1.heading {
    display: block;
  }

  .campaign-steps li {
    width:185px;
  }
}

