/*custom font*/
/*@import url(http://fonts.googleapis.com/css?family=Montserrat);*/

/*basic reset*/
* {
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
    background-color: white;
    }

body {
    font-family: Raleway, arial, verdana;
    background: transparent;
}

/*form styles*/
#msform {
    text-align: center;
    position: relative;
    margin-top: 60px;
}

#msform fieldset {
    background: white;
    border: 0 none;
    border-radius: 0px;
    box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.4);
    padding: 20px 30px;
    box-sizing: border-box;
    width: 80%;
    margin: 0 10%;

    /*stacking fieldsets above each other*/
    position: relative;
}

/*Hide all except first fieldset*/
#msform fieldset:not(:first-of-type) {
    display: none;
}

/*inputs*/
#msform input, #msform textarea, #msform select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
    font-family: Raleway;
    color: #2C3E50;
    font-size: 13px;
}

#msform select {
    padding: 10px;
    height: 35px;
    background-color: white !important;
}

#msform input:focus, #msform textarea:focus {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border: 1px solid #C21A24;
    outline-width: 0;
    transition: All 0.5s ease-in;
    -webkit-transition: All 0.5s ease-in;
    -moz-transition: All 0.5s ease-in;
    -o-transition: All 0.5s ease-in;
}

/*buttons*/
#msform .action-button {
    width: 100px;
    background: #be3336;
    background: -moz-linear-gradient(-45deg, #be3336 0%, #891733 100%);
    background: -webkit-linear-gradient(-45deg, #be3336 0%,#891733 100%);
    background: linear-gradient(135deg, #be3336 0%,#891733 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#be3336', endColorstr='#891733',GradientType=1 );
    transition: all 0.3s ease 0s !important;
    color: white;
    border: 0 none;
    border-radius: 0.1875rem;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 5px;
}

#msform .action-button:hover, #msform .action-button:focus {
    box-shadow: 0 0 0 2px white, 0 0 0 3px #891733;
    transition: all 0.3s ease 0s !important;
}

#msform .action-button-previous {
    width: 100px;
    background: white;
    transition: all 0.3s ease 0s !important;
    color: #C21A24;
    border: 1px solid #C21A24;
    border-radius: 0.1875rem;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 5px;
}

#msform .action-button-add {
    width: 100%;
    background: white;
    transition: all 0.3s ease 0s !important;
    color: #C21A24;
    border: 1px solid #C21A24;
    border-radius: 0.1875rem;
    cursor: pointer;
    padding: 10px 0px;
    margin: 10px 0px;
}

#msform .action-button-previous:hover, #msform .action-button-previous:focus {
    box-shadow: 0 0 0 2px white, 0 0 0 3px #C21A24;
}

#msform .action-button-add:hover, #msform .action-button-add:focus {
    box-shadow: 0 0 0 2px white, 0 0 0 3px #C21A24;
}

/*inputs*/
#msform input, #msform textarea, #msform select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
    font-family: Raleway;
    color: #2C3E50;
    font-size: 13px;
}

#msform select {
    padding: 10px;
    height: 35px;
    background-color: white !important;
}

#msform input:focus, #msform textarea:focus {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border: 1px solid #C21A24;
    outline-width: 0;
    transition: All 0.5s ease-in;
    -webkit-transition: All 0.5s ease-in;
    -moz-transition: All 0.5s ease-in;
    -o-transition: All 0.5s ease-in;
}

/*buttons*/
.modal-body.action-button {
    width: 100px;
    background: #be3336;
    background: -moz-linear-gradient(-45deg, #be3336 0%, #891733 100%);
    background: -webkit-linear-gradient(-45deg, #be3336 0%,#891733 100%);
    background: linear-gradient(135deg, #be3336 0%,#891733 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#be3336', endColorstr='#891733',GradientType=1 );
    transition: all 0.3s ease 0s !important;
    color: white;
    border: 0 none;
    border-radius: 0.1875rem;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 5px;
}

.modal-body .action-button:hover, .modal-body .action-button:focus {
    box-shadow: 0 0 0 2px white, 0 0 0 3px #891733;
    transition: all 0.3s ease 0s !important;
}

.modal-body .action-button-previous {
    width: 100px;
    background: white;
    transition: all 0.3s ease 0s !important;
    color: #C21A24;
    border: 1px solid #C21A24;
    border-radius: 0.1875rem;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 5px;
}

.modal-body .action-button-add {
    width: 100%;
    background: white;
    transition: all 0.3s ease 0s !important;
    color: #C21A24;
    border: 1px solid #C21A24;
    border-radius: 0.1875rem;
    cursor: pointer;
    padding: 10px 0px;
    margin: 10px 0px;
}

.modal-body.action-button-previous:hover, .modal-body .action-button-previous:focus {
    box-shadow: 0 0 0 2px white, 0 0 0 3px #C21A24;
}

.modal-body .action-button-add:hover, .modal-body .action-button-add:focus {
    box-shadow: 0 0 0 2px white, 0 0 0 3px #C21A24;
}



/*headings*/
.fs-title {
    font-size: 18px;
    text-transform: uppercase;
    color: #2C3E50;
    margin-bottom: 10px;
    letter-spacing: 2px;
    font-weight: bold;
}

.fs-subtitle {
    font-weight: normal;
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
}

/*progressbar*/
#progressbar {
    margin-bottom: 30px;
    overflow: hidden;
    /*CSS counters to number the steps*/
    counter-reset: step;
}

#progressbar li {
    list-style-type: none;
    color: #292829;
    font-weight: 600;
    font-size: 14px;
    width: 20%;
    float: left;
    position: relative;
    letter-spacing: 1px;
}

#progressbar li:before {
    content: counter(step);
    counter-increment: step;
    width: 32px;
    height: 32px;
    line-height: 24px;
    display: block;
    font-size: 14px;
    color: #C21A24;
    background: white;
    border-radius: 25px;
    margin: 0 auto 10px auto;
    border:2px solid #C21A24;
}

/*progressbar connectors*/
#progressbar li:after {
    content: '';
    width: 100%;
    height: 2px;
    background: #C21A24;
    position: absolute;
    left: -50%;
    top: 14px;
    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: #C21A24;
    color: white;
    -webkit-box-shadow: 0px 7px 15px -1px rgba(0,0,0,0.26);
    -moz-box-shadow: 0px 7px 15px -1px rgba(0,0,0,0.26);
    box-shadow: 0px 7px 15px -1px rgba(0,0,0,0.26);
    padding-top: 2px;
}

/* Not relevant to this form */
.dme_link {
    margin-top: 30px;
    text-align: center;
}
.dme_link a {
    background: #FFF;
    font-weight: bold;
    color: #ee0979;
    border: 0 none;
    border-radius: 25px;
    cursor: pointer;
    padding: 5px 25px;
    font-size: 12px;
}

.dme_link a:hover, .dme_link a:focus {
    background: #C5C5F1;
    text-decoration: none;
}