/**********************************
Formie Specific
***********************************/

.iti__country {
    background: none;
}

.fui-radio {
    display: flex;
}

.fui-submit,
.fui-next,
.fui-prev {
    margin-top: 20px !important;
    margin-bottom: 10px !important;
}

.fui-prev {
    margin-right: 10px !important;
}

.fui-table {
    width: 100%;
    margin-bottom: 0.25em;
}

.fui-table th,
.fui-table td {
    font-family: UniversLTStd, "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    font-weight: normal;
}

.fui-table th {
    padding: 0.2em;
    text-align: inherit;
    font-size: .75em;
    color: #585858;
}

.fui-table td {
    padding: 0.12em 0.2em;
}

.fui-table th:first-child,
.fui-table td:first-child {
    padding-left: 0;
}

.fui-table th:last-child,
.fui-table td:last-child {
    padding-right: 0;
}

.fui-repeater-row {
    padding: 0 0.5em 0.75em;
    border: 1px solid #ccc;
    margin: 1em 0 0.75em;
    position: relative;
}

.fui-table-add-btn,
.fui-repeater-add-btn {
    margin: 0.25em 0 !important;
}

.fui-table-add-btn:before,
.fui-repeater-add-btn:before {
    font: normal normal normal 14px/1 FontAwesome;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\f067";
    margin-right: 3px;
}

.fui-table-remove-btn,
.fui-repeater-remove-btn {
    border-radius: 50%;
    height: 0;
    width: 0;
    padding: 13px;
    text-indent: -9999px;
    border: 1px solid #ccc;
    background: #eee;
}

.fui-table-remove-btn {
    position: relative;
    vertical-align: middle;
}

.fui-repeater-remove-btn {
    position: absolute;
    top: 0;
    right: -14px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.fui-table-remove-btn:after,
.fui-repeater-remove-btn:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 14px;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    display: block;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath fill='%230070BA' d='M207.6 256l107.72-107.72c6.23-6.23 6.23-16.34 0-22.58l-25.03-25.03c-6.23-6.23-16.34-6.23-22.58 0L160 208.4 52.28 100.68c-6.23-6.23-16.34-6.23-22.58 0L4.68 125.7c-6.23 6.23-6.23 16.34 0 22.58L112.4 256 4.68 363.72c-6.23 6.23-6.23 16.34 0 22.58l25.03 25.03c6.23 6.23 16.34 6.23 22.58 0L160 303.6l107.72 107.72c6.23 6.23 16.34 6.23 22.58 0l25.03-25.03c6.23-6.23 6.23-16.34 0-22.58L207.6 256z'/%3E%3C/svg%3E");
}

.fui-progress-end .fui-progress {
    margin-top: 1em;
}

.fui-progress {
    display: flex;
    height: 1.25em;
    overflow: hidden;
    font-size: .8em;
    color: #fff;
    border-radius: 0.625em;
    background-color: #e8e8e8;
    font-family: UniversLTStd-Bold, "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
}

.fui-progress-bar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background-color: #0070ba;
    transition: width .3s ease;
}


/**********************************
Flatpickr Specific
***********************************/

.flatpickr-day.selected {
    background: #0070ba !important;
    border-color: #0070ba !important;
}


/**********************************
Grids
***********************************/

form .row.pure-g [class*=pure-u-],
.fui-field {
    padding: 0 15px;
}

form .row.pure-g [class*=pure-u-]:first-child,
.fui-row .fui-field:first-child {
    padding-left: 0;
}

form .row.pure-g [class*=pure-u-]:last-child,
.fui-row .fui-field:last-child {
    padding-right: 0;
}


/**********************************
Labels & Legends
***********************************/

form label,
form legend,
.pure-form legend,
.pure-form-stacked label {
	font-family: UniversLTStd-Bold, "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
	color: #585858;
}

form label,
.pure-form-stacked label,
.pure-control-group legend {
	font-size: 16px;
	line-height: 25px;
}

form label,
.pure-form-stacked label {
    margin-top: 1em;
}

form legend,
.pure-form legend {
    padding-top: 1em;
}

.pure-control-group legend {
    margin-bottom: 0.25em;
    border-bottom: none;
    padding-bottom: 0;
}

form legend.fui-page-title {
    font-family: UniversLTStd-Black, "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    font-size: 26px;
    border-bottom: none;
    text-transform: uppercase;
}

label.font-normal,
.pure-form-stacked .input-group-one-line label,
.fui-checkbox label,
.fui-radio label {
    font-family: UniversLTStd, "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
}

.pure-form-stacked .input-group-one-line label,
.fui-checkbox label,
.fui-radio label {
    display: inline-block;
}

label.font-normal {
    margin-top: 0.25em;
}

.pure-form-stacked .input-group-one-line label {
    margin: 0.25em 1em 0.25em 0;
}

.fui-checkbox label,
.fui-radio label {
    margin: 0;
    cursor: pointer;
}

.fui-layout-horizontal .fui-checkbox label,
.fui-layout-horizontal .fui-radio label {
    margin-right: 1em;
}

.fui-field.fui-type-agree .fui-checkbox label {
    display: inline;
}

.fui-field.fui-type-date-time .fui-input-container .fui-input.form-control {
    margin-top: 0;
}

.fui-field .iti {
    width: 100%;
}

.fui-legend.fui-sr-only {
    width: auto;
}


/**********************************
Microcopy
***********************************/

.fui-instructions {
	font-family: UniversLTStd, "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
	color: #585858;
	font-size: 16px;
	line-height: 25px;
}

.fui-instructions p {
    margin: 0 0 .25em;
}

.error,
.errors,
.warning,
.success,
.fui-alert-success,
.fui-alert-error,
.fui-error-message {
	font-family: UniversLTStd, "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
	font-weight: normal;
	font-style: italic;
}

.error,
.errors,
.fui-alert-error,
.fui-error-message {
	color: #c00;
}

.warning {
    color: #D98900;
}

.success,
.fui-alert-success {
	color: #0070ba;
}

.success a,
.fui-alert-success a {
	color: #585858;
}

.error.alert,
.warning.alert,
.success.alert,
.fui-alert-success,
.fui-alert-error {
    font-size: 16px;
    padding: 1em;
    border-width: 1px;
    border-style: solid;
}

.error.alert,
.fui-alert-error {
    border-color: #c00;
    background-color: #f4dcdc;
}

.fui-alert-bottom-form {
    margin-top: 20px;
}

.warning.alert {
    border-color: #D98900;
    background-color: #FFF6E6;
}

.success.alert,
.fui-alert-success {
    border-color: #0070ba;
    background-color: #dbe9f4;
}

div.error.alert,
div.warning.alert,
div.success.alert {
    padding: 0 1em;
}

.pure-group .error,
.pure-control-group .error,
.pure-control-group .fui-error-message,
.fui-type-repeater .fui-error-message,
.form-float .error,
.sidecart .error,
.cart-list .error {
	font-size: 14px;
	margin: 0;
}

.form-float.select .error {
    text-align: center;
}

.error.alert ul {
    list-style: initial;
    list-style-type: initial;
    padding-left: 40px;
}

.error.alert p ~ ul {
    margin-top: 0;
}

.error.alert ul li {
    background: none;
    padding-left: 0;
}

.errors ul,
ul.errors,
ul.fui-error-message {
	padding-left: 0;
}

.errors li,
.fui-error-message li {
	padding-left: 0;
	background-image: none;
}

.has-errors,
.fui-error {
	border-color: #C00 !important;
}

.required label:after,
.required legend:after,
span.fui-required {
	color: #0070BA;
}

.required label:not(.font-normal):after,
.required legend:after {
	content: "\2009*";
}

p.item-subtotal {
    text-align: right;
    margin-bottom: 0;
}

p.item-total {
    font-size: 18px;
    border: solid #e8e8e8;
    border-width: 1px 0;
    padding: 1em 0;
    margin: 2em 0;
}

p.item-total span.amount {
    float: right;
}


/**********************************
Search & Sort
***********************************/

.result-details select {
	max-width: 20px;
	text-overflow: ellipsis;
}

.product-landing select#sort {
    max-width: 20px;
    text-overflow: ellipsis;
}

.field-add p {
    margin-top: 8px;
}

.field-add a {
    text-decoration: none;
}

.field-add .fa {
    font-size: .8em;
    vertical-align: middle;
}


/**********************************
Radio & Checkbox
***********************************/

.input.address-defaults {
    padding-top: 4px;
}

input[type="checkbox"],
input[type="radio"] {
	height: 18px;
	width: 18px;
}

.ie8 input[type="checkbox"],
.ie9 input[type="checkbox"],
.ie10 input[type="checkbox"]  {
	height: 18px;
	width: 18px;
}


/**********************************
Fancy Forms
***********************************/

.fancy-active {
	opacity: 0;
	filter: alpha(opacity=0);
	min-height: 100%;
	min-width: 100%;
	height: 100%;
	width: 100%;
	position: absolute;
	border: none;
	margin: 0;
	padding: 0;
	top: -1px;
	left: -1px;
	right: 0;
	bottom: 0;
	z-index: 3;
	cursor: pointer;
}

.fancy-select-visible {
	/*background-color: #eeeeee;*/
	background: transparent;
	font-size: 14px;
	overflow: hidden;
	padding-left: 10px;
	min-width: 25px;
	white-space: nowrap;
}

.fancy-select-wrap,
.fancy-checkbox-wrap,
.fancy-radio-wrap {
	background-color: #F6F6F6;
	box-sizing: border-box;
	color: #0070BA;
	border: 1px solid #DFDFDF;
	position: relative;
	display: inline-block;
}

.fancy-select-wrap {
	background-color: #eeeeee;
	background: transparent;
	border: none;
	font-family: UniversLTStd-Bold, "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
	text-transform: uppercase;
	display: table-cell;
	vertical-align: middle;
	padding-right: 45px;
}

.product-detail .fancy-select-wrap {
	display: block;
    margin-top: 20px;
}

.fancy-radio-wrap {
	border-radius: 18px;
}

.fancy-checkbox-wrap {
	border-radius: 5px;
	float: left;
}

.ios .fancy-checkbox-wrap {
	height: 20px!important;
	width: 20px!important;
	position: relative;
	top: 0;
}

input[type="checkbox"].fancy-active {
	background: #ffffff!important;
	display: block;
	margin: 0!important;
	padding: 0 !important;
	/*height: 100%!important;
	width: 100%!important;*/
}

.fancy-select-wrap:before,
.fancy-select-fallback_button {
	background: #eeeeee;
	display: block;
	content: " ";
	content: url(/assets/img/icons/sort-filter-arrow-icon.svg);
	color: #ffffff;
	text-align: center;
	position: absolute;
	right: 0px;
	top: 0px;
	bottom: 0px;
	/*width: 20px;*/
	width: 12px;
	z-index: 2;
	padding: 7px 12px;
}

.fancy-select-wrap:before {
	background: transparent;
	/*right: 0;*/
	right: 3px;
}

.product-detail .fancy-select-wrap:before {
	top: -14px;
}

.no-svg .fancy-select-wrap:before {
	content: url(/assets/img/icons/sort-filter-arrow-icon.png);
}

.fancy-checkbox-wrap.fancy-focus,
.fancy-radio-wrap.fancy-focus {
	border-color: #60ADE4;
}

.fancy-checkbox-checked,
.fancy-radio-checked {
	background-color: #0070BA;
}

.fancy-checkbox-disabled,
.fancy-radio-disabled {
	background-color: #838383;
}

.fancy-select-wrap,
.fancy-checkbox-wrap,
.fancy-radio-wrap {
	top: .1875em;
	margin-right: 5px;
}


/**********************************
Radio Boxes (Size, Color, etc.)
***********************************/

.select-container {
	display: inline-block;
	position: relative;
    width: 100%;
	height: 60px;
    overflow: hidden;
}

.select-container input[type="radio"] {
	opacity: 0;
	filter: alpha(opacity=0);
	width: 100%;
	height: 100%;
	outline: none;
}

.select-container label {
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
	font-family: UniversLTStd-Bold, "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
	background-color: #F6F6F6;
	box-sizing: border-box;
	border: 1px solid #CCCCCC;
	cursor: pointer;
	line-height: 48px;
    margin: 0;
}

.select-container input[type="radio"]:checked ~ label {
	background-color: rgba(0, 112, 186);
	background-color: rgba(0, 112, 186, 0.15);
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#260070BA, endColorstr=#260070BA)";
}

.select-container input[type="radio"]:disabled ~ label,
.select-container input[type="radio"].disabled ~ label {
	color: #CCCCCC;
	background-color: rgba(255, 255, 255, 0.8);
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#CCFFFFFF, endColorstr=#CCFFFFFF)";
	border-color: #E4E4E4;
    overflow: hidden;
}

.select-container input[type="radio"]:disabled ~ label {
    cursor: default;
}

.select-container input[type="radio"]:checked ~ label,
.select-container input[type="radio"].disabled:checked ~ label {
    border-color: #0070BA;
}


/**********************************
Login Styles
***********************************/

#login-form fieldset {
	margin: 0 0 1em;
}

.login-msg {
	padding-right: 25px;
}

.login-form {
	padding-left: 25px;
	border-left: 1px solid #E8E8E8;
}

fieldset.pure-group.login-fieldset,
#login-form fieldset.pure-group.login-fieldset {
	margin-bottom: 10px;
}


/**********************************
CAPTCHA Styles
***********************************/
.cf-turnstile,
.formie-turnstile-placeholder {
    font-size: 0;
}


/**********************************
Media Queries
***********************************/

@media (max-width: 1000px) {
    form .row.pure-g [class*=pure-u-],
    .fui-field {
        padding: 0 10px;
    }
}

@media (max-width: 767px) {
    form .row.pure-g [class*=pure-u-],
    .fui-field {
        padding: 0;
    }

    .fui-field {
        flex: none !important;
		width: 100%;
	}

	.login-msg {
		padding-right: 0;
		border-bottom: 1px solid #E8E8E8;
	}

	.login-form {
		padding-left: 0;
		border-left: none;
	}
}

@media only screen and (max-width: 480px) {
	.forget {
		margin: .7em 0 0;
	}
}
