/** ----------------------------------------------------------
 *
 * This stylesheet includes both generic form styles and
 *    additional form styles for the User Defined Form Module.
 *
 ** ------------------------------------------------------- */


/* GENERIC FORMS
----------------------------------------------- */

section div.form {
	clear: both;
	float: left;
	width: 100%;
}
section div.form h2
{
font-size: 1.8em;
font-weight: 700;
margin: .8em 0 .6em 0;
}
section form {
	max-width: 100%;
    width: 100%;
    float: left;
}
section form.loading {
	background: url(../images/ajax-loader.gif) bottom left no-repeat;
}
section div.field {
	float: left;
	width: 100%;
    margin: 10px 0 15px 0;
}
section div.field.hidden
{
display: none;
}
section div.field.nofloat
{
width: 50%;
padding-right: 50%;
margin: 0 0 15px 0;
}
section div.field.wide
{
width: 100%;
padding: 0;
}
section div.field.clear
{
clear: both;
}
section div.field div.middleColumn, section div.field span.description, section div.field.nocaptcha label.right
{
width: 67%;
float: right;
}
section div.field.nolabel div.middleColumn, section div.field.wide div.middleColumn
{
width: 100%;
}
section div.field span.description, section div.field.nocaptcha label.right
{
font-size: 1.1em;
color: #424242;
padding: .5em 0 0 0;
}

section div.gap, section h2.gap, section h3.gap, section h4.gap, section h5.gap
{
padding-top: 20px;
margin-top: 20px;
border-top: 1px solid #00375e;
}
section fieldset {
    border: 0;
    margin: 0;
    padding: 0;
	clear: both;
}

section fieldset.CompositeField div.middleColumn
{
	width: 100%;
}

section fieldset.gap
{
padding-bottom: 20px;
margin-bottom: 20px;
border-bottom: 1px solid #00375e;
}
section fieldset.optionset
{
padding-bottom: 20px;
margin-bottom: 20px;
}
section fieldset.optionset div.middleColumn
{
	float: left;
	width: 100%;
}
section fieldset.optionset div.odd
{
	clear: left;
}
section fieldset.optionset div.odd, section fieldset.optionset div.even
{
	width: 50%;
	float: left;
	padding: 3px 0;
}
section fieldset.optionset.wide div.odd, section fieldset.optionset.wide div.even
{
	width: 100%;
}
section fieldset.optionset.wide div input, section fieldset.optionset.wide div label
{
	float: none;
}
section fieldset.optionset div input, section fieldset.optionset div label
{
	width: auto;
	vertical-align: middle;
	padding: 0;
}
section fieldset.optionset div input
{
	float: left;
	margin-right: 5px;
}

section form label, section form legend {
	padding-top: 5px;
    margin-bottom: 5px;
    font-size: 1.3em;
    color: #00375e;
    float: left;
    width: 30%;
}
section div.field.wide label, section form legend
{
width: 100%;
}
section form legend
{
	padding: 5px 0 0 0;
}
section form ul li label, section form ol li label
{
font-size: 1em;
}

section form label.left, section form legend.left {
        display: block;
    }


section form input.text,
section form textarea,
section form select{
	width: 95%;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	-o-border-radius: 0;
	border-radius: 0;
    width: -moz-calc(100% - 12px);
	width: -webkit-calc(100% - 12px);
	width: -o-calc(100% - 12px);
	width: calc(100% - 12px);
    padding: 6px 5px;
    font-size: 1.5em;
    line-height: 20px;
    background-color: #f4f5f5;
    border: 1px solid #00375e;
}
section form input.disabled
{
	border: 1px solid #ccc;
}
section form table.mceLayout {
    width: 100%;
}
section form select {
	width: 100%;
	padding: 5px 4px;
}

section div.field p.desc
{
font-size: 1.1em;
}

section form input.text:focus,
section form textarea:focus,
section form select:focus {
    outline:none;
}
section form input[disabled], section form textarea[disabled] {
    background-color: #f7f7f7;
    border: 1px solid #dad9d9;
}
section textarea {
    resize: vertical; /* forces text area to be resized vertically only */
}


/* Radio and Checkbox */
section div.field input.checkbox, section div.field input.radio {
    float: left;
    width: 13px;
    height: 13px;
    margin-right: 6px;
    margin-top: 3px;
    padding: 0;
}
section div.field.checkbox label.right, section div.field.checkbox label.left,
section div.field.radio label.right, section div.field.radio label.left {
        float: left;
        width: auto;
    }


/* Messages */
section form .message {
	font-size: 1.1em;
	margin: .5em 0 .1em 0;
    display: block;
    float: right;
    background-color: #fef4ba;
    padding: 5px 10px;
    border: 1px solid #e8c805;
    width: 90%;
    width: -moz-calc(100% - 22px);
	width: -webkit-calc(100% - 22px);
	width: -o-calc(100% - 22px);
	width: calc(100% - 22px);
}

section form .field .message {
    width: 60%;
    width: -moz-calc(67% - 22px);
	width: -webkit-calc(67% - 22px);
	width: -o-calc(67% - 22px);
	width: calc(67% - 22px);
}
section form .middleColumn .message{


}
section form .good, section form .bad {
        background-color: #ecf9d0;
        border-color: #8fbe00;
        width: 90%;
		width: -moz-calc(100% - 22px);
		width: -webkit-calc(100% - 22px);
		width: -o-calc(100% - 22px);
		width: calc(100% - 22px);
    }
section form .bad, section form .required {
        background-color: #f9d0d0;
        border-color: #cf0000;
        color: #b80000;
    }


/* ACTIONS */
section .Actions {
    margin-bottom: 20px;
    clear: left;
}
section a.btn, section button, section input[type="submit"], section .Actions .action {
        background: #88a4c9;
        color: #fff;
        display: inline-block;
        padding: .8em 1.6em;
        margin-top: 10px;
        margin-bottom: 10px;
        margin-right: 0;
        border: none;
        -moz-border-radius: 0;
		-webkit-border-radius: 0;
		-o-border-radius: 0;
		border-radius: 0;
        font-size: 1.8em;
        float: right;
    }
section a.btn:hover, section button, section input[type="submit"]:hover, section .Actions .action:hover {
        background: #00375e;
        color: #fff;
    }
    section a.btn {
        line-height: 18px;
        margin-bottom: 10px;
    }
    section a.btn:after {                     /* creates arrow in button */
        content: '\2192';
        padding-left: 10px;
    }

    input.action[class] {             /* IE ignores [class] */
        width: auto;                  /* cancel margin fix for other browsers */
    }

    section .Actions:after {
        color: #B94A48;
        display: inline-block;
        font-weight: normal;
        margin-top: 9px;
    }
    section #MemberLoginForm_LoginForm .Actions:after {
        display: none;
    }


/* AREA SPECIFIC */
    /* LOGIN and FORGOT PASSWORD */
    section #Remember {
        min-height: 20px;
    }
    section #ForgotPassword {
        clear: left;
    }
    section #MemberLoginForm_LostPasswordForm .Actions:after {
        display: none;
    }

    /* Search / Login */
    section .header form .middleColumn {
        /* float: none;
        width: 100% !important; */
    }




/* USER DEFINED USER FORM MODULE STYLES
----------------------------------------------- */

/*Generic and mixed*/
section .FormHeading {
    clear: both;
    padding-top: 15px;
}
section form .date .middleColumn input {
    /*background: transparent url(../images/icons/your_icon_here.png) no-repeat scroll 90px 5px;*/
}
section .Actions input.resetformaction,
section .Actions input.action-minor {                  /* Clear button */
    float: left;
    background-color: #888;
}
section .Actions input.resetformaction:hover,
section .Actions input.action-minor:hover {            /* Clear button */
    background-color: #aaa;
}

/* Labels */
section div.field .checkbox label.right {
    font-size: 13px;                            /* reset to default */
    color: #333;                                /* reset to default */
}
section form .requiredField label.left:after { /* pseudo element adds an asterisk to a required fields label */
    color: #00375e;
    content: "•";
    font-weight: normal;
    padding-left: 3px;
}

/* Radio / Checkbox */
section form .checkboxset ul,
section form .optionset ul {
    width: 100%;
    float: left;
    list-style-type:none;
    padding: 0;
    margin: 0;
}
	section form .checkboxset li label,
    section form .optionset li label
    {
    padding-top: 0;
    width: auto;
    float: none;
    }
    section form .checkboxset li,
    section form .optionset li {
        margin-bottom: 5px;
    }
    section form .checkboxset li.odd,
    section form .optionset li.odd,
    section form .checkboxset li.even,
    section form .optionset li.even
    {
    float: left;
    width: 100%;
    }

    section form div.checkbox:after { /* clearfix */
        content: ".";
        display: block;
        height: 0;
        clear: both;
        visibility: hidden;
    }
    section form .checkbox .checkbox { clear: both; }

/* Messages */
section form span.message {

}
section div.holder-required {               /* This class needs to be changed - is used for both input and div */
    /* background-color: #f9d0d0;
    border: 1px solid #cf0000;
    padding: 10px;
    margin-left: -11px; */
}
section form input.holder-required {        /* This class needs to be changed - is used for both input and div */
    border: 1px solid #cf0000;
}

/* Error messages */
section input:invalid,
section textarea:invalid {
    -moz-box-shadow: 0px 0px 5px #7092be;
    -webkit-box-shadow: 0px 0px 5px #7092be;
    box-shadow: 0px 0px 5px #7092be;
}
section .no-boxshadow input:invalid,
section .no-boxshadow textarea:invalid {
    background-color: #7092be
}

/* To test - potentially not needed? */
section .ss-uploadfield-item-info button{
    margin-top: 4px !important;
    float: left;
}
section form .creditCardField input,
section form input.currency,
section form input.numeric {
    width: 50px;
}
section form #DMYDate-month,
section form #DMYDate-day {
    width: 25px
}


section div.ss-uploadfield
{
float: left;
width: 100%;
}
section div.ss-uploadfield div.middleColumn label
{
font-size: 1.1em;
}
section div.ss-uploadfield div.middleColumn div.cancel, section div.ss-uploadfield div.middleColumn div.hide
{
display: none;
}
section div.ss-uploadfield button
{
        padding: .1em;
        margin-top: 0;
        margin-bottom: 0;
        margin-right: 0;
        font-size: 1.2em;
        float: none;
        clear: left;
    }

section div.ss-uploadfield div.middleColumn
{
	min-width: 300px;
}
section div.ss-uploadfield
{

}
section div.ss-uploadfield-item
{

}


/* Responsive form styles
----------------------------------------------- */
@media only screen and (max-width: 1100px) {
	section div.field.nocaptcha label.right, section div.field.nocaptcha label.left, section div.field.nocaptcha div.middleColumn
	{
		width: 100%;
	}
}

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

    /* To test - potentially not needed? */
	section .header form .middleColumn {
	    float: none;
	    width: 100% !important;
	}
	section form label.left,
	section #MemberLoginForm_LoginForm label {
	    margin-bottom: 8px
	}
}

@media only screen and (max-width: 900px) {
    section form {
        max-width: 100%;
    }
}

@media only screen and (min-width: 700px) {

}
