#content form fieldset label.longestlabel { width: 95%; }
#content form fieldset fieldset.leftright fieldset { width: 69%; }
#content form fieldset fieldset.leftright label.longerlabel { width: 65%; margin: 0 0 20px 0;}
#content form fieldset select {min-height: 23px; height: auto;}
#content button { margin-top: 20px; float: right; }
#content button#login { margin-top: 0; float: left; }
#content a.btn-link { margin-top: 3px; float: left; }

.g-recaptcha { float: left; }

/* Hide filter box for actions in admin.html */
#content input.tablesorter-filter.disabled { background: none; border: 0; }

#content div.collapse {
    overflow: hidden;
    animation: slideup 2s;
    animation-delay: 2s;
    -webkit-animation-fill-mode: forwards; /* Safari 4.0 - 8.0 */
    animation-fill-mode: forwards;
}


/********** DATE BOX AT TOP OF REGISTRATION FORM **********/
.date-box {
	color: #555;
	background: #f5f5f5 url(/_assets/_gfx/calendar-icon-grey.png) no-repeat 20px 20px;
	margin: 10px -23px 30px -23px;
	padding: 20px 23px 20px 46px;
	border-top: 1px solid #e4e4e4;
	border-left: 1px solid #e4e4e4;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
.date-box strong { font-size: 15px; }
.date { background: url(/_assets/_gfx/calendar-icon-grey.png) no-repeat 0 -1px; padding: 0px 0px 0px 20px; }



/********** ERROR AND SUCCESS STYLES **********/
[role=alert] {
    padding: 1.0em 1.0em 1.0em 50px;
    background-repeat: no-repeat;
    background-position: 10px 10px;
    background-size: 32px;
    border-width: 1px;
    border-style: solid;
}
.errors { border-color: #f4c1c1; color: #790000; background-color: #FFE5E6; background-image: url(/_assets/_gfx/circle-red-cancel.svg); }
.success { border-color: #4F8A10; color: #4F8A10; background-color: #DFF2BF; background-image: url(/_assets/_gfx/circle-green-confirm.svg); }

#content input.error, #content textarea.error {
    color: #790000 !important;
    border: 1px solid #f4c1c1;
}
#content textarea.error { background-size: 16px; background-position: right 5px top 5px; }
div.error { width: 398px; margin-left: 190px; border-radius: 16px; transition: all 0.2s ease; }



/********** SHOPPING CART **********/
#right div.shoppingcart { width: 186px; position: absolute; top: 140px; margin-top: 10px !important; padding-top: 19px; }
#right div.shoppingcart.fixed { position: fixed; top: 0; }
#right div.shoppingcart dl { width: 186px; }

#right div.shoppingcart dt {
	display: block;
	clear: left;
	float: left;
	width: 65%;
	font-weight: bold;
	margin: 0.25em 0.25em 0.25em 0;
}
#right div.shoppingcart dd {
	margin: 0.25em 1.0em 0.25em 0.25em;
	text-align: right;
	padding: 0 0 0.5em 0;
	float: left;
	display: block;
	width: 25%;
	text-align: right;
}
#right div.shoppingcart .total { margin-top: 2.0em !important; font-weight: strong; }
#right div.shoppingcart dd.total { border-top: solid 1px #ccc; }



/********** Animation to use when collapsing messages **********/
@-webkit-keyframes slideup {
    0% { max-height: 300px; }
    100% { max-height: 0; }
}
@keyframes slideup {
    0% { max-height: 300px; }
    100% { max-height: 0; }
}



/*************************************************
	LARGEST @ MEDIA
	the default - base width: 1114px
cols    1     2      3      4
px      186   418    650    882

*************************************************/
@media only screen and (min-width: 1025px) {
}


/*************************************************
	MIDDLE @ MEDIA / iPad landscape
	base width: 882px
cols    1     2      3
px      186   418    650

**************************************************/
@media only screen and (min-width: 769px) and (max-width: 1024px) {
	#content form fieldset input {width: 100%;}
    #content form fieldset input[type=text] {width: 100%;}
    #content form fieldset textarea {width: 100%;}
    #content form fieldset label.longestlabel { width: 75%; margin: 0 0 20px 0;}
    /* #content form fieldset label {margin: 0 0 20px 0;} */
	.errors { background-image: none; }
	/* Error styles */
	div.error {
		margin-left: 0;
		width: auto;
	}
	#content div.shoppingcart { width: 100%; top: 475px;}
	#content div.shoppingcart dl { width: 100% !important; }
	#content div.shoppingcart dt { width: 67% !important; }
	#content div.shoppingcart dd { width: 20% !important; }
	
}

/*************************************************

	SMALLEST @ MEDIA / iPad portrait
	base width: 650px

**************************************************/
@media only screen and (max-width: 768px) {
	.errors { background-image: none; }
	#right div.shoppingcart { width: 186px; top: 475px; }
	/* Fix email field width */
	#content form fieldset input {width: 75%;}
    #content form fieldset input[type=text] {width: 75%;}
    #content form fieldset textarea {width: 75%;}
    #content form fieldset label {width: 85%;}
    #content form fieldset label.longestlabel { width: 75%; margin: 0 0 20px 0;}
    #content form fieldset fieldset.leftright label { width: 202px; margin: 0; }
	/* Error styles */
	div.error {
		margin-left: 0;
		width: 75%;
	}
	#content div.shoppingcart { width: 100%; top: 475px;}
	#content div.shoppingcart dl { width: 100% !important; }
	#content div.shoppingcart dt { width: 67% !important; }
	#content div.shoppingcart dd { width: 20% !important; }

    #content button { float: left; }
    
    .date-box { margin-left: 0; margin-right: 0; }
    .nice-select.wide { width: 85%; margin-bottom: 14px; }
    .nice-select.wide span.current { overflow: hidden; width: 100%; display: inline-block; }
    .nice-select.wide ul { width: 100%; }
}
