Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Auto Save

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <body>
  
  
  
  <div id="modal2" class="modal">
    <div class="modal-content">
      <h4>There might be a better way!</h4> 
      <p>If you plan on ordering more than 10 texts, it will be faster to upload them with one of our standard files</p>
       
    </div>
    <div class="modal-footer">
      <a href="#!" class=" modal-action modal-close waves-effect waves-green btn-flat">Got it</a>
    </div>
  </div>
<!-- multistep form -->
<form id="msform">
	<!-- progressbar -->
	<ul id="progressbar">
		<li class="active"></li>
		<li></li>
		<li></li>
<li></li>
<li></li>
<li></li>
	</ul>
	<!-- fieldsets -->
	<fieldset>
		<h2 class="fs-title">Choose a product</h2>
		<h3 class="fs-subtitle">Let's start by sellecting the type of text you want to order</h3>
<!--<select class="image-picker">
  <option data-img-src="https://cdn4.iconfinder.com/data/icons/flat-education-icons/500/translate2-128.png" value="1">  Page 1  </option>
  <option data-img-src="https://cdn1.iconfinder.com/data/icons/modern-it-services-flat-icons/113/letter_business_letter_contract_agreement_treaty_pact_write-512.png" value="2">  Page 2  </option>
    </select>-->
    
    <div class="row">
            <div class="col s6">
              <div class="center promo promo-example ">
<img class="continue" style="
    width: auto;
    height: 59px;
 
" src="https://cdn4.iconfinder.com/data/icons/flat-education-icons/500/translate2-128.png">               
                <p class="light center">Translation</p>
              </div>
            </div>
      <div class="col s6">
              <div class="center promo promo-example">
<img class="continue" style="
    width: auto;
    height: 59px;
 
" src="https://cdn1.iconfinder.com/data/icons/modern-it-services-flat-icons/113/letter_business_letter_contract_agreement_treaty_pact_write-512.png">               
                <p class="light center">Copywriting</p>
              </div>
            </div>
    </div>
		<input type="button" name="next" class="next action-button" value="Next" />
	</fieldset>
  	<fieldset>
		<h2 class="fs-title">Language and type of text</h2>
		<h3 class="fs-subtitle">Based on your picks, we will match the order with the best copywriters available on the platform</h3>
      
 <div class="input-field col s12">
   <select>
      <option value="" disabled selected>Select a copywriting language</option>
      <option value="1">French</option>
      <option value="2">English</option>
      <option value="3">Italian</option>
      <option value="3">German</option>
    </select>
    <label class="listus"></label>
  </div>      
<div class="row" style="margin-top:30px">
            <div class="col s4" >
              <div class="center promo promo-example modal-trigger">
<img class="continue" style="
    width: auto;
    height: 59px;
 
" src="https://cdn0.iconfinder.com/data/icons/e-commerce-and-shopping-2/512/coupon_sale_tag_price_label_sticker_goods_merchandise_market_discount_shopping_store_shop_marketing_promotion_product_advertise_advertising_purchase_retail_commerce_flat_design_icon-512.png">               
                <p class="light center">Product description</p>
              </div>
            </div>
            <div class="col s4">
              <div class="center promo promo-example">
               <img class="continue" style="
    width: auto;
    height: 59px;
 
" src="http://icons.iconarchive.com/icons/elegantthemes/beautiful-flat/128/browser-icon.png">
                <p class="light center">Category description</p>
              </div>
            </div>
            <div class="col s4">
              <div class="center promo promo-example">
<img class="continue" style="
    width: auto;
    height: 59px;
 
" src="https://cdn4.iconfinder.com/data/icons/tourism-and-travel-objects/512/backpack_bag_baggage_supply_travel_tourism_flat_icon_symbol-512.png">               
                <p class="light center">Destination description</p>
              </div>
            </div>
            <div class="col s4">
              <div class="center promo promo-example">
<img class="continue" style="
    width: auto;
    height: 59px;
 
" src="http://www.kocomojo.com/wp-content/uploads/2015/08/announcement-icon.png">                
                <p class="light center">Blog <br>post</p>
              </div>
            </div>
          </div>
		<input type="button" name="previous" class="previous action-button" value="Previous" />
		<input type="button" name="next" class="next action-button" value="Next" />
	</fieldset>
  
	<fieldset>
		<h2 class="fs-title">Briefing</h2>
		<h3 class="fs-subtitle" style="
    margin-bottom: 50px;
">Help the writers by giving more informations about your text</h3>
  <div class="input-field col s12">
   <select>
      <option value="" disabled selected>Select a category</option>
       <option value="accounting">Accounting &amp; Financial</option>
                <option value="agriculture">Agriculture</option>
                <option value="animals">Animal &amp; Pet</option>
                <option value="architectural">Architectural</option>
                <option value="art">Art &amp; Design</option>
                <option value="attorney">Attorney &amp; Law</option>
                <option value="automotive">Automotive</option>
                <option value="bar">Bar &amp; Nightclub</option>
                <option value="business">Business &amp; Consulting</option>
                <option value="children">Childcare</option>
                <option value="cleaning">Cleaning &amp; Maintenance</option>
                <option value="communications">Communications</option>
                <option value="community">Community &amp; Non-Profit</option>
                <option value="computer">Computer</option>
                <option value="construction">Construction</option>
                <option value="cosmetics">Cosmetics &amp; Beauty</option>
                <option value="dating">Dating</option>
                <option value="education">Education</option>
                <option value="entertainment">Entertainment &amp; The Arts</option>
                <option value="environment">Environmental</option>
                <option value="fashion">Fashion</option>
                <option value="floral">Floral</option>
                <option value="food">Food &amp; Drink</option>
                <option value="games">Games &amp; Recreational</option>
                <option value="home">Home Furnishing</option>
                <option value="industrial">Industrial</option>
                <option value="internet">Internet</option>
                <option value="landscaping">Landscaping</option>
                <option value="medical">Medical &amp; Pharmaceutical</option>
                <option value="photography">Photography</option>
                <option value="physical">Physical Fitness</option>
                <option value="politics">Political</option>
                <option value="realestate">Real Estate &amp; Mortgage</option>
                <option value="religious">Religious</option>
                <option value="restaurant">Restaurant</option>
                <option value="retail">Retail</option>
                <option value="security">Security</option>
                <option value="spa">Spa &amp; Esthetics</option>
                <option value="sports">Sport</option>
                <option value="technology">Technology</option>
                <option value="travel">Travel &amp; Hotel</option>
                <option value="wedding">Wedding Service</option>
    </select>
    <label class="listus">Industry</label>
  </div>      
    
     <div class="input-field col s12" style="margin-top: 46px">
   <select>
      <option value="" disabled selected>Select Tone</option>
       <option>Informal</option>
            <option>Business</option>
            <option>Friendly</option>
            <option>Formal</option>
            <option>Other (please specify in the instructions)</option>
    </select>
    <label class="listus">Tone</label>
  </div> 
    
   
      <div class="row">
        <div class="input-field col s12" style="    width: 117%;
    left: -13%;">
          <i class="material-icons prefix">mode_edit</i>
          <textarea id="icon_prefix2" class="materialize-textarea"></textarea>
          <label for="icon_prefix2">Instructions for the writer</label>
        </div>
      </div>
   <div class="row col s12" style="color:grey;font-size: 9px;text-align: left;margin-top: -20px;">
            <div class="col s3 " style="
    width: 23%;
">Possible instructions</div>
            <div class="col s3 text-right" style="
    text-align: right;
    width: 26%;
">Voice
                <br>Links
                <br>Purpose &amp; Audience</div>
            <div class="col s6 text-left">Casual, romantic, funny, serious etc.
                <br>To your website, screen shots or other docs.
                <br>This is going to my most important client etc.</div>
        </div>
   
		<input type="button" name="previous" class="previous action-button" value="Previous" />
		<input type="button" name="next" class="next action-button" value="Next" />
	</fieldset>

	<fieldset>
		<h2 class="fs-title">Text layout</h2>
		<h3 class="fs-subtitle">Let the writer know what the text structure should be</h3>
 <div class="row">
            <div class="col s4">
              <div class="center promo promo-example">
<img class="continue" style="
    width: auto;
    height: 59px;
 
" src="https://cdn2.iconfinder.com/data/icons/web-design/64/Online_Website_browser_layout-128.png">               
                <p class="light center">1 paragraph</p>
              </div>
            </div>
            <div class="col s4">
              <div class="center promo promo-example">
               <img class="continue" style="
    width: auto;
    height: 59px;
 
" src="https://cdn4.iconfinder.com/data/icons/business-and-seo-icons/64/Layout_Blog_Wireframe_Website-128.png">
                <p class="light center">Title + paragraph</p>
              </div>
            </div>
            <div class="col s4">
              <div class="center promo promo-example">
<img class="continue" style="
    width: auto;
    height: 59px;
 
" src="https://www.fabioaires.com.br/img_one_page/layout_flat_icon.png">               
                <p class="light center">Title + paragraph + list</p>
              </div>
            </div>
            <div class="col s4">
              <div class="center promo promo-example modal-trigger" href="#modal1">
<i class="material-icons">add</i>                
                <p class="light center">Create your own layout</p>
              </div>
            </div>
          </div>
     		<h2 class="fs-title">Text Length</h2>
		<h3 class="fs-subtitle">How long should the text be</h3>
    <div class="row">
    <div class="input-field col s6">
          <input id="icon_telephoneyt" type="number" class="validate">
          <label for="icon_telephoneyt">Minimum wordcount</label>
        </div>
        <div class="input-field col s6">
          <input id="maxty" type="number" class="validate">
          <label for="maxty">Maximum wordcount</label>
      </div></div>
    <input type="button" name="previous" class="previous action-button" value="Previous" />
		<input type="button" name="next" class="next action-button" value="Next" />
   
	</fieldset>
	<fieldset style="margin-bottom:80px">
    <div  class="creation">
    <div class="card">
		<h2 class="fs-title" style="    padding-top: 25px;
    padding-left: 25px;
    text-align: left;
    width: 100%;">Product description n°1</h2>
<div class="row">
      <div class="input-field col s12">
          <input  id="first_name" type="text" class="validate">
          <label for="first_name">Order name</label> 
        </div> 
  <div class="row col s12" style="color:grey;font-size: 10px;text-align: left;margin-top: -10px;margin-left: 0px">Name your order, you can also use a reference Id from your system to find it easily </div>
      </div>
    <div class="row">
      <div class="input-field col s12">
          <input  id="first_name2" type="text" class="validate">
          <label for="first_name2">URL (optional)</label> 
        </div> 
     
      <div class="row col s12" style="color:grey;font-size: 10px;text-align: left;margin-top: -10px;margin-left: 0px">You can add an url to give more informations to the writer</div> </div> 
      
       <div class="row">
      <div class="input-field col s12">
          <input  id="first_name2" type="text" class="validate">
          <label for="first_name2">Reference id (optional)</label> 
        </div> 
     
      <div class="row col s12" style="color:grey;font-size: 10px;text-align: left;margin-top: -10px;margin-left: 0px">You can add a reference id to match the order with your system</div> </div>  
  <div class="keywords">    
<!-- <div class="row">
        <div class="input-field col s6">
          <i class="material-icons prefix">label</i>
          <input id="icon_prefix" type="text" class="validate">
          <label for="icon_prefix">Keyword</label>
        </div>
   <div class="row">
    <div style="margin-top:2rem" class="col s2"> Density</div> 
     <div class="input-field col s2"> Density</div>
        <div class="input-field col s2">
          <input id="icon_telephone" type="number" class="validate">
          <label for="icon_telephone">Min</label>
        </div>
        <div class="input-field col s2">
          <input id="max" type="number" class="validate">
          <label for="max">Max</label>
        </div>
    </div>
       </div>-->
    

    </div>
          <div><a class="waves-effect waves-light btn" onClick="newKeyword()"><i class="material-icons left">add</i>Add a Keyword</a></div> 
      </div>
    </div>
        <div> <a class="btn-floating btn-large waves-effect waves-light red btn tooltipped " style="        position: absolute;
    right: -30%;
    top: 130px;" data-position="bottom" data-delay="50" data-tooltip="New product description with the same settings" onClick="newOrder()"><i class="material-icons">add</i></a></div> <div class="down">
		<input type="button" name="previous" class="previous action-button" value="Previous" />
    <input type="button" name="next" class="next action-button" value="Next" /></div>
	</fieldset>
	<fieldset>
    <div class="row">
		 <div class="card" style="     width: 800px;
    margin-left: -200px;
    Height: 500px;">
      
      <div class="col s6" style="padding: 34px;">
        <h4 style="    color: #607D8B;
    font-weight: 100;
    margin-top: -18px;
    margin-bottom: 27px;">Recommended Quality level</h4>
        <p style"text-align:left"> Based on your picks, we recommend you to order at the Premium quality level.<br><br> You can  select another quality level, but you should pick the one we recommand, we produced 1 million texts :).</p>
        
       <div class="row" style="margin-top:20px">
            <div class="col s4">
              <div class="center promo promo-example promo-example2">
<img class="continue" style="
    width: auto;
    height: 59px;
" src="https://cdn0.iconfinder.com/data/icons/e-commerce-and-shopping-2/512/coupon_sale_tag_price_label_sticker_goods_merchandise_market_discount_shopping_store_shop_marketing_promotion_product_advertise_advertising_purchase_retail_commerce_flat_design_icon-512.png">               
                <p class="light  center">Good </p>
              </div>
            </div>
            <div class="col s4">
              <div class="center promo promo-example promo-example2 selected">
               <img class="continue" style="
    width: auto;
    height: 59px;
 
" src="http://icons.iconarchive.com/icons/elegantthemes/beautiful-flat/128/browser-icon.png">
                <p class="light center">Premium</p>
              </div>
            </div>
            <div class="col s4">
              <div class="center promo promo-example promo-example2">
<img class="continue" style="
    width: auto;
    height: 59px;
 
" src="https://cdn4.iconfinder.com/data/icons/tourism-and-travel-objects/512/backpack_bag_baggage_supply_travel_tourism_flat_icon_symbol-512.png">               
                <p class="light center">Excellent</p>
              </div>
            </div>
       </div>
       </div>
       
      <div class="col s6" style="color:white;padding:30px"> 
        <h4 style="
    margin-top: 2px;
"> Order Summary</h4>
        <hr style="
    MARGIN-TOP: 53px;
">
     <table>  <tr>
	<td>5 Product description</td>
	<td style="text-align: right;">125€</td>
	</tr>
	<tr>
	<td>Taxes</td>
	<td style="text-align: right;">25€</td>
       </tr>
        
       
       <tr> <td>Compensated from current balance</td><td style="text-align: right;">- 35€</td></tr> </table>
        <hr><table>
        <tr> <td>Total</td><td style="text-align: right;">110 €</td></tr> 
        </table>
        <div class="pay">
          <a style="color:white" class="waves-effect waves-teal btn-flat">Save</a>
        <a class="waves-effect waves-light btn" style="background-color:#5DC3AF">Pay</a>
        
        </div>
       </div><div class="background-right"></div>
      </div></div>

	</fieldset>
</form>
</body>

<!-- jQuery -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.9.1/jquery.min.js" type="text/javascript"></script>
<!-- jQuery easing plugin -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js" type="text/javascript"></script>

<script src="https://cdnjs.cloudflare.com/ajax/libs/noUiSlider/8.2.1/nouislider.min.js" type="text/javascript"></script>


              
            
!

CSS

              
                /*custom font*/
@import url(https://fonts.googleapis.com/css?family=Open+Sans);

@primary-color: #63a2cb;
@secondary-color: #67d5bf;
/*basic reset*/
* {margin: 0; padding: 0;}

html {
	height: 100%;
	background: white;
  overflow-y:scroll;
}

body {
	font-family: "Open Sans", arial,
  verdana;
}
/*form styles*/
#msform {
	width: 600px;
	margin: 50px auto;
	text-align: center;
	position: relative;
}
#msform fieldset {
	background: transparent;
	border: 0 none;
	padding: 20px 30px;
	
	box-sizing: border-box;
	width: 80%;
	margin: 0 10%;
	
	/*stacking fieldsets above each other*/
	position: absolute;
}
/*Hide all except first fieldset*/
#msform fieldset:not(:first-of-type) {
	display: none;
}

.down {
      width: 100%;
    position: fixed;
    height: 80px;
    bottom: 0px;
    background-color: white;
    left: 0;
    z-index: 999;
    -webkit-box-shadow: 0px -6px 9px -5px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px -6px 9px -5px rgba(0,0,0,0.75);
    box-shadow: 0px -6px 9px -5px rgba(0, 0, 0, 0.55);
    padding-top: 10px;
}

/*inputs
#msform input, #msform textarea {
	padding: 15px;
	margin-bottom: 10px;
	width: 100%;
	font-family: montserrat;
	color: #2C3E50;
	font-size: 13px;
}*/
/*buttons*/
#msform .action-button {
	width: 100px;
	background: @secondary-color;
	font-weight: bold;
	color: white;
	border: 0 none;
	border-radius: 1px;
	cursor: pointer;
	padding: 10px 5px;
	margin: 10px 5px;
  	font-family: "Open Sans", arial,
  verdana;
  
}
#msform .action-button:hover, #msform .action-button:focus {
	box-shadow: 0 0 0 2px white, 0 0 0 3px @secondary-color;
}
/*headings*/
.fs-title {
	font-size: 16px;
	text-transform: uppercase;
	color: @primary-color;
	margin-bottom: 10px;
}
.fs-subtitle {
	font-weight: normal;
	font-size: 14px;
	color: #666;
	margin-bottom: 20px;
}
/*progressbar*/
#progressbar {
	margin-bottom: 30px;
	overflow: hidden;
	/*CSS counters to number the steps*/
	counter-reset: step;
    margin-left:26%;

}
#progressbar li {
	list-style-type: none;
	color: white;
	text-transform: uppercase;
	font-size: 9px;
	width: 10%;
  float:left;
	position: relative;
}

.keywords {
      background-color: #2196F3;
    padding: 0 5%;
    width: 109%;
    margin-left: -4.4%;
}

.keywords .rowKey:first-child {
  border:none;
}

 /* label color */
   .rowKey .input-field label {
     color: white;
   }
   /* label focus color */
   .rowKey .input-field input[type=text]:focus + label {
     color: white;
   }
   /* label underline focus color */
   .rowKey .input-field input[type=text]:focus {
     border-bottom: 1px solid white;
     box-shadow: 0 1px 0 0 white;
   }

 .rowKey .input-field input[type=number]:focus {
     border-bottom: 1px solid white;
     box-shadow: 0 1px 0 0 white;
   }
   /* valid color */
   .rowKey .input-field input[type=text].valid {
     border-bottom: 1px solid white;
     box-shadow: 0 1px 0 0 white;
   }

   .rowKey .input-field input[type=number].valid {
     border-bottom: 1px solid white;
     box-shadow: 0 1px 0 0 white;
   }
   /* invalid color */
   .rowKey .input-field input[type=text].invalid {
     border-bottom: 1px solid white;
     box-shadow: 0 1px 0 0 white;
   }
   /* icon prefix focus color */
   .rowKey .input-field .prefix.active {
     color: white;
   }
      
 div.keywords > div > div.row > div > label.active {
  color: white;
}

.rowKey{
  border-top-style: solid;
    border-top-width: 1px;
    border-top-color: #E2E2E2;
  color:white;
  padding-top:10px;
}

#progressbar li:before {
	content: counter(step);
	counter-increment: step;
	width: 20px;
	line-height: 20px;
	display: block;
	font-size: 10px;
	color: #333;
	background: white;
	border-radius: 9px;
	margin: 0 auto 5px auto;
}
/*progressbar connectors*/
#progressbar li:after {
	content: '';
	width: 100%;
	height: 1px;
	background: hsl(0, 0%, 89%);
	position: absolute;
	left: -50%;
	top: 9px;
	z-index: -1; /*put it behind the numbers*/
}
#progressbar li:first-child:after {
	/*connector not needed before the first step*/
	content: none; 
}
/*marking active/completed steps green*/
/*The number of the step and the connector before it = green*/
#progressbar li.active:before,  #progressbar li.active:after{
	background: @secondary-color;
	color: white;
}

.help-block {
  font-size: .8em;
  color: #7c7c7c;
  text-align: left;
  margin-bottom: .5em;
}
.lead {
  width:50%;
  margin-top: 10px;
  margin-right: 30px;
    margin-left:30px; 
}

.s4 .promo-example {
  margin-left:0;
  margin-right:0;
}
.promo-example {
  margin-left:20%;
  margin-right:20%;
    padding-top:5%;
  padding-bottom:5%; 
  border-color: transparent;
    border-width: 1px;
    border-style: solid;
    border-radius: 3px;
  cursor:pointer;
}
.selected {
 background-color:rgba(3, 169, 244, 0.65); 
 color:white; 
 transition:.1s all; 
  
}

.hovered {
  border-color: rgba(3, 169, 244, 0.48);
    border-width: 1px;
    border-style: solid;
    border-radius: 3px;
}

.listus{
  left:0 !important;
}

.promo-exemple2 {
      margin-left: 20%;
    margin-right: 20%;
    padding-top: 10%;
    padding-bottom: 10%;
    border-color: transparent;
    border-width: 1px;
    border-style: solid;
    border-radius: 3px;
    cursor: pointer;
}
.card {
  width:120%;
  margin-left:-10%;
  padding:5%;
}

.background-right {
   width: 400px;
    height: 500px;
    padding-top: 0px;
    margin-top: -27px;
    margin-left: 373px;
  background-color: #5E8496;
}

.pay{
      margin-top: 80px;
    float: right;
    margin-right: -18px;
}


.animated {
  -webkit-animation-duration: 0.5s;
  animation-duration: 0.5s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes zoomIn {
  from {
    opacity: 0;
    height:0;
    
  }
  
   20% {
    height:510px;
     -webkit-transform: scale3d(.8, .8, .8);
    transform: scale3d(.8, .8, .8);

  }

  50% {
    opacity: 1;
    height:510px;
  }
  
}

@keyframes zoomIn {
  from {
        border-color:yellow;
    opacity: 0;
    height:0;
    
  }

  20% {
    border-color:yellow;
    height:512px;
    -webkit-transform: scale3d(.8, .8, .8);
    transform: scale3d(.8, .8, .8);
  }
  
  50% {
    opacity: 1;
  border-color:white;

  }
}


              
            
!

JS

              
                "use strict";
//jQuery time
var current_fs, next_fs, previous_fs; //fieldsets
var left, opacity, scale; //fieldset properties which we will animate
var animating; //flag to prevent quick multi-click glitches

$(".next").click(function(){
	if(animating) return false;
	animating = true;
	
	current_fs = $(this).parent();
	next_fs = $(this).parent().next();
	
	//activate next step on progressbar using the index of next_fs
	$("#progressbar li").eq($("fieldset").index(next_fs)).addClass("active");
	
	//show the next fieldset
	next_fs.show(); 
	//hide the current fieldset with style
	current_fs.animate({opacity: 0}, {
		step: function(now, mx) {
			//as the opacity of current_fs reduces to 0 - stored in "now"
			//1. scale current_fs down to 80%
			scale = 1 - (1 - now) * 0.2;
			//2. bring next_fs from the right(50%)
			left = (now * 50)+"%";
			//3. increase opacity of next_fs to 1 as it moves in
			opacity = 1 - now;
			current_fs.css({'transform': 'scale('+scale+')'});
			next_fs.css({'left': left, 'opacity': opacity});
		}, 
		duration: 500, 
		complete: function(){
			current_fs.hide();
			animating = false;
		}, 
		//this comes from the custom easing plugin
		easing: 'easeOutQuint'
	});
});

$(".previous").click(function(){
	if(animating) return false;
	animating = true;
	
	current_fs = $(this).parent();
	previous_fs = $(this).parent().prev();
	
	//de-activate current step on progressbar
	$("#progressbar li").eq($("fieldset").index(current_fs)).removeClass("active");
	
	//show the previous fieldset
	previous_fs.show(); 
	//hide the current fieldset with style
	current_fs.animate({opacity: 0}, {
		step: function(now, mx) {
			//as the opacity of current_fs reduces to 0 - stored in "now"
			//1. scale previous_fs from 80% to 100%
			scale = 0.8 + (1 - now) * 0.2;
			//2. take current_fs to the right(50%) - from 0%
			left = ((1-now) * 50)+"%";
			//3. increase opacity of previous_fs to 1 as it moves in
			opacity = 1 - now;
			current_fs.css({'left': left});
			previous_fs.css({'transform': 'scale('+scale+')', 'opacity': opacity});
		}, 
		duration: 500, 
		complete: function(){
			current_fs.hide();
			animating = false;
		}, 
		//this comes from the custom easing plugin
		easing: 'easeOutQuint'
	});
});

$(".submit").click(function(){
	return false;
})

 $(document).ready(function() {
    $('select').material_select();
  });

 var counter = 0;
var orderCounter = 1;
function newKeyword() {
   
  $( ".keywords" ).append( '<div class=\"row rowKey animated zoomIn2\">\r\n        <div class=\"input-field col s6\" style=\"\r\n    width: 42%;\r\n\">\r\n          \r\n          <input id=\"icon_prefix1' + counter + '\" type=\"text\" class=\"validate\">\r\n          <label for=\"icon_prefix1' + counter + '\" class=\"\">Keyword<\/label>\r\n        <\/div>\r\n   <div class=\"row\">\r\n    <!--<div style=\"    top: 0.8rem;\" class=\"col s2\"> Density :<\/div> -->\r\n     <div class=\"input-field col s2\" style=\"    top: 0.7rem;\"> Density<\/div>\r\n        <div class=\"input-field col s2\">\r\n          <input id=\"icon_telephone1' + counter + '\" type=\"number\" class=\"validate\">\r\n          <label for=\"icon_telephone1' + counter + '\" class=\"\">Min<\/label>\r\n        <\/div>\r\n        <div class=\"input-field col s2\">\r\n          <input id=\"max1' + counter + '\" type=\"number\" class=\"validate\">\r\n          <label for=\"max1' + counter + '\" class=\"\">Max<\/label>\r\n        <\/div>\r\n    <i class=\"material-icons prefix remove active\" style=\"\r\n    margin-top: 1.7rem; cursor: pointer;color: #607D8B;\r\n\">close<\/i><\/div>\r\n       <\/div>' );
  counter++;
};

$(".promo-example").hover(
  function () {
    $(this).addClass("hovered");
  },
  function () {
    $(this).removeClass("hovered");
  }
);
     


$(".promo-example").click(
  function () {
    $(".promo-example").removeClass("selected")
    $(this).addClass("selected");
  }
);  

$(".promo-example2").hover(
  function () {
    $(this).addClass("hovered");
  },
  function () {
    $(this).removeClass("hovered");
  }
);
     


$(".promo-example2").click(
  function () {
    $(".promo-example").removeClass("selected")
    $(this).addClass("selected");
  }
);  

$(".keywords").delegate(".remove", "click", function () {  
    $(this).closest('.rowKey').remove();
  }
);  


function newOrder() {
  var orderNumber = $( ".card" ).length;
  //var orderNumber = $(".card").index(this);
  $( ".creation" ).prepend('<div class=\"card animated zoomIn\">\r\n\t\t<h2 class=\"fs-title\" style=\"    padding-top: 25px;\r\n    padding-left: 25px;\r\n    text-align: left;\r\n    width: 100%;\">Product description n\u00B0'+ orderNumber +'<\/h2>\r\n<div class=\"row\">\r\n      <div class=\"input-field col s12\">\r\n          <input  id=\"first_name'+ orderNumber +'\" type=\"text\" class=\"validate\">\r\n          <label for=\"first_name'+ orderNumber +'\">Order name<\/label> \r\n        <\/div> \r\n  <div class=\"row col s12\" style=\"color:grey;font-size: 10px;text-align: left;margin-top: -10px;margin-left: 0px\">Name your order, you can also use a reference Id from your system to find it easily <\/div>\r\n      <\/div>\r\n    <div class=\"row\">\r\n      <div class=\"input-field col s12\">\r\n          <input  id=\"first_name2'+ orderNumber +'\" type=\"text\" class=\"validate\">\r\n          <label for=\"first_name2'+ orderNumber +'\">URL (optional)<\/label> \r\n        <\/div> \r\n     \r\n      <div class=\"row col s12\" style=\"color:grey;font-size: 10px;text-align: left;margin-top: -10px;margin-left: 0px\">You can add an url to give more informations to the writer<\/div> <\/div> \r\n      \r\n       <div class=\"row\">\r\n      <div class=\"input-field col s12\">\r\n          <input  id=\"first_name2'+ orderNumber +'\" type=\"text\" class=\"validate\">\r\n          <label for=\"first_name2'+ orderNumber +'\">Reference id (optional)<\/label> \r\n        <\/div> \r\n     \r\n      <div class=\"row col s12\" style=\"color:grey;font-size: 10px;text-align: left;margin-top: -10px;margin-left: 0px\">You can add a reference id to match the order with your system<\/div> <\/div>  \r\n  <div class=\"keywords\">    \r\n<!-- <div class=\"row\">\r\n        <div class=\"input-field col s6\">\r\n          <i class=\"material-icons prefix\">label<\/i>\r\n          <input id=\"icon_prefix'+ orderNumber +'\" type=\"text\" class=\"validate\">\r\n          <label for=\"icon_prefix'+ orderNumber +'\">Keyword<\/label>\r\n        <\/div>\r\n   <div class=\"row\">\r\n    <div style=\"margin-top:2rem\" class=\"col s2\"> Density<\/div> \r\n     <div class=\"input-field col s2\"> Density<\/div>\r\n        <div class=\"input-field col s2\">\r\n          <input id=\"icon_telephone'+ orderNumber +'\" type=\"number\" class=\"validate\">\r\n          <label for=\"icon_telephone'+ orderNumber +'\">Min<\/label>\r\n        <\/div>\r\n        <div class=\"input-field col s2\">\r\n          <input id=\"max'+ orderNumber +'\" type=\"number\" class=\"validate\">\r\n          <label for=\"max'+ orderNumber +'\">Max<\/label>\r\n        <\/div>\r\n    <\/div>\r\n       <\/div>-->\r\n    \r\n\r\n    <\/div>\r\n          <div><a class=\"waves-effect waves-light btn\" onClick=\"newKeyword()\"><i class=\"material-icons left\">add<\/i>Add a Keyword<\/a><\/div> \r\n      <\/div>\r\n    <\/div>');
  orderCounter++;
  counter++;
};

$("fieldset").delegate(".removeOrder", "click", function () {  
    $(this).closest('.card').remove();
  }
);  





              
            
!
999px

Console