﻿/* Apply box-sizing to support fluid layout. */
*, *:after, *:before
{
   -moz-box-sizing: border-box; /* Firefox */
   -webkit-box-sizing: border-box; /* Safari */
   box-sizing: border-box;
}

html, body, input, select, textarea
{
}

html
{
   font-size: 100%;
   -webkit-text-size-adjust: 100%;
}

body
{
   background: #e6e6e6;
}

/*bootstrap override*/
.alert{
    text-align: center;
    font-weight: bolder;
    /*font-size: 1.25em;*/
}



/********* Registration ***********/
.registration_wrapper
{
   width: 95%;
   max-width: 900px;
   margin: 3em auto 0 auto;
   background: white;
   font-family: Helvetica, Arial;
   overflow: hidden;
   -webkit-box-shadow: 0px 0px 6px #e3e3e3;
   box-shadow: 0px 0px 6px #e3e3e3;
   -moz-border-radius: 8px;
   -webkit-border-radius: 8px;
   border-radius: 8px;
   -khtml-border-radius: 8px;
}

.wrapper_content
{
   margin: 1em auto 0 auto;
   padding: 2em;
   float: left;
   max-width: 960px;
}

.registration_content
{
   float: left;
   width: 78%;
}

/********* DEALER ***********/

.dealer_wrapper
{
   float: left;
   margin-right: 1em;
   margin-bottom: 1em;
   background: #f5f5f5;
   padding: 1em;
}

.dealerPicFrame
{
   background-color: #ffffff;
   border: 1px solid #e3e3e3;
   padding: .2em;
   margin: .25em;
   -moz-border-radius: 3px 3px 0px 0px;
   -webkit-border-radius: 3px 3px 0px 0px;
   border-radius: 3px 3px 0px 0px;
   -khtml-border-radius: 3px 3px 0px 0px;
}

.dealerPic
{
   margin: 10px auto 0 auto;
}

.dealerName
{
   text-align: center;
   font-size: .90em;
   color: #c1c0be;
   max-width: 120px;
}

.dealerHeader
{
   text-align: center;
   font-size: .75em;
   margin: .25em;
}

.dealerPhoto
{
   width: 100px;
   height: 130px;
   margin: .5em;
}

/********* STEPS ***********/

.step_header
{
   background-color: #cdcdcd;
   text-align: center;
   margin: 0 auto 0 auto;
   width: 100%;
   height: 1%;
   overflow: hidden;
   font-family: Rockwell, 'Crete Round', Glypha, Boton, Soho, Memphis, serif; /* Mac lacks an installed slab-serif, so try for a few. */
   -moz-border-radius: 3px 3px 0px 0px;
   -webkit-border-radius: 3px 3px 0px 0px;
   border-radius: 3px 3px 0px 0px;
   -khtml-border-radius: 3px 3px 0px 0px;
}

.step_number
{
   padding: .5em;
   padding-top: .8em;
   font-size: 1.7em;
   float: left;
   width: 60px;
   height: 60px;
   background: #cdcdcd;
   text-align: center;
}

.step_name
{
   height: 60px;
   padding: .5em;
   padding-top: .8em;
   font-size: 1.7em;
   background: #ececec;
   width: 100%;
}

.currentstep
{
   background: #0579c9;
   color: #fff;
}

.currentlabel
{
   background: #0097ff;
   color: #fff;
}

.last_step
{
   background-color: #0097ff;
}

.step_2column
{
   float: left;
   width: 50%;
   min-width: 225px;
}

.step_3column
{
   float: left;
   width: 33.3333%;
   min-width: 225px;
}

/********* STUDENT ***********/
.noEmail 
{
   width:300px;
}

.noEmail label 
{
   float: right;
   width: 60px;
   text-align: left; 
   margin-top:3px;  
   font-weight:normal;
}

.noEmail input 
{
   border: solid 1px red;
   float:right;           
   margin-top: -3px;
}

.student_form .field input 
{
   width:100%;
}

.unanchoredLink:hover
{
   text-decoration:none;
   color:#296611;
}

.unanchoredLink:active 
{
   text-decoration:none;
   color:#296611;
}

/********* MEDIA QUERIES ***********/

@media (max-width:375px)
{
   .step_3column
   {
      min-width: inherit !important;
      width: auto !important;
   }

   .currentlabel
   {
      width: 140px;
      float: left;
   }

   .step_number
   {
      padding: .4em;
      padding-top: .8em;
      font-size: 1.4em;
      float: left;
      width: 40px;
      height: 60px;
   }

   #step3 .currentlabel,
   #step2 .currentlabel
   {
      width: 150px;
   }

   #step3 .step_number,
   #step2 .step_number
   {
      width: 40px;
      float: left;
   }
}

@media (max-width:480px)
{
   .registration_wrapper
   {
      width: 95%;
      margin: 1em auto 0 auto;
   }

}

@media (max-width:600px)
{
   .fieldBox, .field, input[type="text"]
   {
      width:100%;
   }

   .step_2column .step_name:not(.currentlabel)
   {
      display: none;
   }

   .step_2column:not(.currentstep)
   {
      width: 60px;
      min-width: 50px;
   }
}

@media (max-width:720px)
{   
   .step_3column .step_name:not(.currentlabel)
   {
      display: none;
      float: right;
   }

   .step_3column:not(.currentstep)
   {
      width: 60px;
      min-width: 60px;
   }

   .currentstep:not(.step_number)
   {
   }
}

@media (max-width:875px)
{
   .registration_content
   {
      width: 100%;
      padding: 15px;
   }

   .dealer_wrapper
   {
      display: none;
   }
}
