/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/*
 
/* Site-Wide Styles */

* {
	font-size: 16px;
	font-family: sans-serif;
	box-sizing: border-box;
}

html, body{
	margin: 0;
	padding: 0;
}

a{
	text-decoration: underline;
}

a:hover{
	text-decoration: none;
}

/* header */

header{
	position: fixed;
	left: 0;
	top: 0;
	width: 100vw;
	padding: 1em;
	display: flex;
	height: auto;
	background-color: black;
	color: white;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	font-size: 1.5em;
}

header.logo{

}

header .menu-items{
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
	align-items: center;
}

header .menu-items .menu-item{
	width: auto;
	height: auto;
}

header .menu-item .menu-item-handle{
	padding: 0em 1em;
	cursor: pointer;
}

header .menu-item .sub-menu{
	position: fixed;
	display: none;
	top: 4.125em;
	left: 0;
	width: 100vw;
	padding: 0.5em;
	background-color: white;
	color: black;
}

.menu-item .sub-menu .sub-menu-item{
	padding: 0 1em;
	cursor: pointer;
}

header .menu-item.active .sub-menu{
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
	align-items: center;
}

/* main containers */

main{
	padding: 6em 1em;
	width: 100vw;
	height: auto;
	display: flex;
	flex-direction: row;
	justify-content: center;
}

#content-box{
	width: auto;
	width: 1200px;
	max-width: 100%;
}

/* forms */

form{
	border: 1px solid black;
	margin: 1em 0;
	padding: 1em;
}

form label{
	font-weight: bold;
	display: block;
	margin: 1em 0 0 0;
}

form input{
	margin: 1em 0;
}

/* tables */
.data-table{
	width: 100%;
	border: 1px solid black;
	border-spacing: 0;
	border-collapse: separate;
}
.data-table th{
	text-align: left;
	padding: 0.5em;
	border-bottom: 1px solid black;
}
.data-table tbody tr{
	border: none;
}
.data-table tbody tr:nth-child(even){
	background-color: #d9d9d9;
}

.data-table td{
	padding: 0.5em;
	border: none;
	margin: 0;
}

/* messages */

.flash{
	padding: 0.5em 1em;
	margin: 0 0 1em 0;
	border: 1px solid black;
}

.flash.alert, .errors{
	color: #a30000;
}

.hint{
	font-size: 0.875em;
	color: #555;
}

/* campaign contact picker */

form label.inline-label{
	display: inline;
	font-weight: normal;
	margin: 0;
	cursor: pointer;
}

form textarea{
	width: 100%;
}

.contact-picker-summary{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	margin: 0 0 0.5em 0;
}

.data-table td input[type="checkbox"]{
	margin: 0;
}
