/* https://css-tricks.com/international-box-sizing-awareness-day/ */
*, *:before, *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
	/* background: white url('bg.jpg') no-repeat center top fixed; */
	/* background-size: cover; */
	padding: 0;
	margin: 0;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 13px;
	color: black;
}


input {
	font-size: 14px;
}

#container {
	margin: 0 auto;
	width: 100%;
}

#main {
	margin: 0 auto;
	padding: 2em;
	/* width: 80%; */
}

.titles div {
	margin-bottom: 1em;
}
.titles i {
	font-style: normal;
}

.section-header,
.section-subheader
{
	clear: both;
	padding: .5em;
}

header h1,
header h2,
header h3,
header h4,
header h5,
header h6,
.survey_type
{
	color: black;
	line-height: 1.25;
	margin: 0 0 .5em 0;
	text-shadow: 0px 1px 1px #white;
}

header,
footer
{
	margin: 0 auto;
	text-align: center;
}

a, a:visited {
	/* color: #00a6dd; */
	text-decoration: underline;
}
a:hover {
	/* color: #8cc63f; */
	text-decoration: underline;
}

.accordion-header,
#main .accordion-header {
	/* background: slategray; */
	cursor: pointer;
	border: 0;
	border-bottom: 1px solid #fff;
	padding: .5em;
}

.accordion-header h1 {
    font-size: 14px;
    margin: 0;
	padding: 0;
}
.accordion-header h2 {
	/* color: white; */
	font-size: 12px;
	margin: 0;
	padding: .25em .75em;
}
.accordion-panel {
	padding: 0 0px;
	background-color: white;
	max-height: none;
	overflow: hidden;
	transition: 0.6s ease-in-out;
	opacity: 1;

	/* border: 1px solid #ccc; */
}

.accordion-panel {
	max-height: 0;
}
.accordion-panel.show,
.accordion-panel.active,
.accordion-panel.inactive.active
{
	max-height: none;
	width: 100%;
}


.data {
	border: 1px solid #ccc;
	clear: both;
	/* margin: .5em .5em 1em 0.5em; */
	margin: 0;
	/*
	-moz-box-shadow: 0px 0px 12px #ccc;
	-webkit-box-shadow: 0px 0px 12px #ccc;
	box-shadow: 0px 0px 12px #ccc;
	*/
	/* width: 100%; */
}

.end-of-header-info {
	/* border-bottom: 150px solid pink; */
}
ul.styled_list {
    list-style-type: none;
    margin: 0;
    padding: 0;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
	/* justify-content: space-around; */

}
ul.styled_list li {
    border: 1px solid #ccc;
    border-top: 0;
    border-left: 0;
    float: left;
    font-size: 10px;
    line-height: 1.5;
    padding: .25em .5em .5em .5em;
    flex: 1;
}

ul.styled_list.quarter li {
    width: 25%;
}
ul.styled_list.quarter li:nth-child(4n+4) {
    /* background: tan; */
    border-right: 0;
}
ul.styled_list.third li {
    width: 33.33%;
}
ul.styled_list.third li:nth-child(3n+3) {
    /* background: tan; */
    border-right: 0;
}
ul.styled_list.half li {
    width: 50%;
}
ul.styled_list.half li:nth-child(2n+2) {
    /* background: tan; */
    border-right: 0;
}
ul.styled_list.full li {
    border-right: 0;
    flex: initial;
    width: 100%;
}

@media only screen and (max-width: 500px) {
	ul.styled_list.quarter li,
	ul.styled_list.quarter li:nth-child(4n+4),
	ul.styled_list.third li,
	ul.styled_list.third li:nth-child(3n+3),
	ul.styled_list.half li,
	ul.styled_list.half li:nth-child(2n+2)
	{
		border-right: 0;
		width: 100%;
	}
	ul.styled_list li {
		flex: initial;
		width: 100%;
	}
}

ul.styled_list li ul {
	margin-left: 1.5em;
}
ul.styled_list li ul li {
	/* color: purple; */
	border: 0;
	list-style-type: disc;
    padding: .25em 0;
    width: 100% !important; /* because whole thing is a list and master widths are set there */
}

.block_info.break_line {
	clear: both;
    float: left;
	width: 100%;
}
.shopHeader .block_label {
	display: inline;
	font-size: 11px;
	margin-right: .25em;
}
@media only screen and (max-width: 600px) {
	.shopHeader .block_label {
		float: none;
		width: auto;
	}
}
/* same */
.block_label {
	font-weight: bold;
	/* margin-right: .5em; */
}
.block_label.explanation {
	font-weight: normal;
	font-style: italic;
}
/* same */
.block_info {
	font-weight: normal;
	margin-right: 1em;
	/* padding-left: .5em; */
}

.fake_tr {
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.fake_td {
    border-right: 1px solid #ccc;
    /* border-left: 0; */
    border-bottom: 0;
    font-size: 13px;
    line-height: 1.5;
    padding: .5em;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}
.fake_td:last-of-type {
    border-right: 0;
}

.fake_td.stacker span {
	clear: both;
	float: left;
	margin-bottom: .25em;
	width: 100%;
}
.fake_td.stacker.shop_payments span,
.fake_td.stacker.shop_loc_details span.secondary
{
	clear: none;
	float: none;
	margin-bottom: .25em;
	width: auto;
}

.fake_td.stacker .shop_date_item span {
	clear: none;
	margin-right: .25em;
	width: auto;
}

.fake_td.stacker .block_info {
	padding-left: 0;
}

.error,
.warning,
.self_assign_limit {
	color: #cc0000;
	font-weight: bold;
}

.right {
	float: right;
}
.left {
	float: left;
}
.good {
	color: #46d100;
}
.bad {
	color: #d10000;
}
.neutral {
	color: #999;
}
.clear {
	clear: both;
}
.clear_block {
	clear: both;
	display: block;
}
.hide {
	display: none;
}

header nav a,
header nav a:visited,
.sassie-button,
.sassie-button:visited
{
	display: inline-block;
	font-size: 13px;
	line-height: 1;
	margin: .25em .5em .25em 0;
	padding: .5em .75em;
	text-decoration: none;
}
header nav a:active,
header nav a:hover
.sassie-button:active,
.sassie-button:hover
{
	text-decoration: none;
}

.toggler {
	/* border: 3px solid red; */
}
.details {
	/* border: 3px solid lime; */
}

.state_picker {
	/* background: gold; */
	border-bottom: 1px solid #ccc;
}
.state_picker span {
	clear: both;
	float: left;
	margin-bottom: 1em;
	width: 100%;
}
.shop_list {
	/* background: pink; */
	padding: .5em;
}
.shop_list ul {
	/* background: red; */
}
.shop_list ul li {
	/* background: maroon; */
	margin: .5em 0;
}

span.icon-button {
	margin-right: .25em;
}

@media only screen and (max-width: 800px) {
	#main {
		/* width: 90%; */
	}
}
@media only screen and (max-width: 650px) {
	#main {
		/* width: 94%; */
	}
}
@media only screen and (max-width: 600px) {
	#main {
		padding: 2em .25em;
	}
	.fake_tr {
		/* display: block; */
	}
	.fake_tr.highlight .fake_td {
		border-bottom: 0;
	}
	.fake_tr.flipper {
		display: block;
		float: left;
	}
	.shopHeader .fake_tr.icon_bg.flipper {
		display: flex;
	}
	.flipper .fake_td {
		border-right: 0;
		float: left;
		width: 100%;
	}
	.fake_td {
		/* line-height: 2; */
		border-bottom: 1px solid #ccc;
	}
	.shop_overview .fake_td {
		padding: .25em .5em;
	}
	a.sassie-button {
		margin: .75em 0;
	}
	a.sassie-button.disabled {
		color: #d9d9d9 !important;
	}
}
@media only screen and (max-width: 500px) {
	#main {
		width: 98%;
	}
}
