/* Responsive web site template using HTML5 and CSS - Martin Biström - http://www.bistrom.eu */

@import url('https://fonts.googleapis.com/css?family=Lato:300,400,700,900');

html{

}

body {
	background: url('../img/background3.svg') no-repeat center center fixed;
	background-size: cover;
	font-family: 'Lato', sans-serif;
	font-weight: 400;
	font-size: 16px;
	margin: 0px;
	padding: 0px;
}

a {
	font-weight: 400;
}

h1,h2,h3 {
	margin: 5px 0px 5px 0px;
}

h1 {
	font-size: 22px;
}

h2 {
	font-size: 19px;
}

h3 {
	font-size: 16px;
}

h4 {
	font-size: 16px;
	line-height: 16px;
	margin: 0px;
	padding: 0px;
}

hr {
	border: 0;
	height: 1px;
	background: #CCC;
}

img.desaturate {
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
}

img.desaturate:hover {
	-webkit-filter: grayscale(0%);
	filter: grayscale(0%);
}

.shakeyshakey {
    animation-name: shoutbar-shake;
    animation-duration: 180ms;
    transform-origin: 50% 50%;
    animation-iteration-count: 2;
    animation-timing-function: linear;
	animation-delay: 2s;
}


.inputfile {
	width: 0.1px;
	height: 0.1px;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	z-index: -1;
}


.inputfile + label {
    font-weight: 400;
    color: white;
    background-color: #0078e7;
    display: inline-block;
	padding: 8px;
	cursor: pointer;
	border-radius: 8px;
}

.inputfile:focus + label,
.inputfile + label:hover {
    background-color: #0078e7;
}



.i{
	font-style: italic;
}

.italic{
	font-style: italic;
}

.bold{
	font-weight: 600;
}

a:link {
	text-decoration: none;
	color: #444;
}

a:visited {
	color: #444;
}

a:hover {
	color: #666;
}

a:active {
	color: #777;
}

tr:nth-child(even) {
	background: #FFF;
	background-image: url("../img/light-gray-noise.png");
}
tr:nth-child(odd) {
	background: #EEE;
	background-image: url("../img/gray-noise.png");
}

table {
	margin: 0px;
	width: 100%;
}

table.table-tight td{
	margin:0px;
	padding:1px;
}

td {
	padding: 8px 2px;
}


ul {
	list-style-type:none;
	margin: 0;
	padding: 0;
}

#container{
	width: 1280px;
	margin: 0px auto;
	overflow: auto; /*Important to make the div fill the entire page*/
	box-shadow: 0px 0px 64px rgba(0, 0, 0, 1);
	background: #FFF;
	background-image: url("../img/light-gray-noise.png");
}

#footer {
	width: 100%;
	float:left;
	color: #444;
	background: #EEE;
	background-image: url("../img/gray-noise.png");
	padding-bottom: 50px;
}

#message-box {
    position: absolute;
	border-style: solid;
	border-color: #f9701c;
	border-width: 1px;
    top: 30%;
    left: 50%;
    width: 300px;
    min-height: 200px;
    margin-top: -100px;
    margin-left: -170px;
	background-image: url("../img/ba-watermark.png");
	background-size: cover;
	background-position: center;
	padding: 20px;
	border-radius: 10px;
	box-shadow: 0px 0px 32px rgba(0, 0, 0, 0.5);
}

#button-menu {
	display:none;
}

#passphrases {
	margin: 10px 0px 0px 0px;
	background: #EEE;
	background-image: url("../img/gray-noise.png");
	padding: 4px 8px;
	display: none;
	border-radius: 5px;
	border: 1px solid #CCC;
}

#suggestions, #jubilars {
	display:none;
}

#timeout{
	display: none;
	width: 98%;
	background: rgb(202, 60, 60);
	color: #fff;
	padding: 12px;
	border: 2px solid #ffde00;
	border-radius: 10px;
}

.email-csv {
	width: 100%;
	height: 200px;
}

.meetingdate{
	margin: 0px 10px 10px 0px;
	padding: 0px;
	position: relative;
	left: 0px;
	top: 0px;
	width: 220px;
	height: 200px;
	border: 4px solid #a91b1b;
	border-radius: 4px;
	background: #fff;
	/*background-image: url("../img/light-gray-noise.png");*/
	float: left;
	box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
}

.meetingdate-header{
	width: 208px;
	text-align: center;
	/*background: #4F4;*/
	background: #a91b1b;
	background-image: url("../img/red-noise.png");
	padding: 8px 6px;
	margin: 0px;
	color: #fff;
}

.meetingdate-header a{
	color: #FFF;
}

.meetingdate-contents{
	text-align: center;
	width: 220px;
	padding: 10px 0px;
	margin: 0px;
	/*background: #44F;*/
}

.ical {
	position: absolute;
	bottom: 8px;
	right: 8px;
}

.meetingtimer{
	margin: 0px;
	padding: 0px;
	position: absolute;
	right: 16px;
	top: 70px;
	width: 196px;
	font-weight: 100;
}

.countdown {
	padding: 0px 0px;
	border: 4px solid #a91b1b;
	border-radius: 4px;
	background: #fff;
	background-image: url("../img/light-gray-noise.png");
	float: left;
	width: 196px;
}

.countdown-element {
	padding: 6px;
	color: #000;
	width: 25px;
	float: left;

}

.countdown-days{
	background: #a91b1b;
	background-image: url("../img/red-noise.png");
	padding: 6px;
	color: #fff;
	width: 70px;
}

.countdown-title{
	position: relative;
	top: -44px;
	left: 2px;
	color: #FFF;
	font-size: 12px;
	display:none;
}

.black-stroke {
	text-shadow:
		-1px -1px 0 #000,
		0px -1px 0 #000,
		1px -1px 0 #000,
		1px 0px 0 #000,
		1px 1px 0 #000,
		0px  1px 0 #000,
		-1px  1px 0 #000,
		-1px 0px 0 #000;
}

.black-shadow-soft {
	text-shadow: 0px 0px 10px rgba(0,0,0,1.0);
}

.white-shadow {
	text-shadow: 0px 0px 10px rgba(255,255,255,1.0);

}

.white-shadow:hover{
	color: #333;
}

.hand {
	cursor: pointer;
}

.modalDialog {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 99999;
    opacity:1;
    /*pointer-events: auto;*/
}

.message-box-spinner{
	position: absolute;
	left: 48%;
	bottom: 15px;
}

.message-box-button{
	position: absolute;
	right: 15px;
	bottom: 15px;
}

.gray-test {
	background: #AAA;
}

.button-xsmall {
	font-size: 70%;
}

.top-link {
	position: fixed;
	right: 22px;
	bottom: 22px;
	display: none;
	color: #222;
	z-index: 999999;
}


.divider {
	clear:none;
}

.topmenu {
	position: relative;
	background: #464646;
	background-image: url("../img/dark-gray-noise.png");
	float:left;
	width: 100%;
	padding: 0px 0px 10px 0px;
}


.topmenu-item {
	padding: 2px;
	margin: 0px;
	/*background: #f00;*/
	float: left;
	min-width: 110px;
	height: 22px;
}

.topmenu-standar{
	position: absolute;
	right: 8px;
	top: 8px;
}

.topmenu-item-nosidepadding {
	padding: 0px;
	margin: 0px;
	clear: both;
	float: left;
}

.topmenu a {
	color: #EEE;
	padding: 5px;
}

.headshot {
	position:relative;
	float: left;
}

.ribbon {
	position: absolute;
	left: 3px;
	top: 4px;
}

.serif {
	font-family: Georgia, serif;
	font-weight: 400;
}

.roster-item {
	min-height: 560px;
	width: 320px;
}

.roster-index {
	position: absolute;
	right: 5px;
	top: 5px;
}

.nubbe-item {
	min-height: 310px;
	
}

.top-header {
	position: relative;
	float:left;
	width: 100%;
	height: 140px;
	background: #5a5a5a;
	/*background-image: url("../img/header_ba_bw.jpg");*/
	background-image: url("../img/header_ba_col.jpg");
	background-size: cover;
	background-position: center;
	color: #FFF;
}

.float-left {
	float:left;
	overflow: auto;
}

.float-right {
	float:right;
	overflow: auto;
}

.medals {
	float: left;
	background: none;
	min-width: 60px;
	max-height: 192px;
	margin: 0px;
	padding: 2px;
	position: relative;
	top: 0px;
}

.medal {
	margin-right: auto;
	margin-left: auto;
	min-width: 20px;
	text-align: center;
}

.medal-img {
	min-width: 30px;
	min-height: 28px;
	padding: 0px;
	text-align: center;
}

.medal-td{
	height: 100px;
}

.medal-list-img {
	max-width: 50px;
	max-height: 98px;
	padding: 0px;
	text-align: center;
}

.top-header-logo {
	width: 120px;
	height: 120px;
	margin-right: 10px;
	margin-top: 0px;
}

.left-column{
	width:1000px;
	float:left;
}

.right-column{
	width:280px;
	float:left;
}

.contentcontainer{
	width: 100%;
}

.margincontainer {
	position: relative;
	margin: 10px 10px 10px 10px;
}

.margincontainer-small {
	margin: 3px 3px 3px 3px;
}

.margincontainer-left {
	margin-left: 10px;
}

.contentbox{
	width:49%;
	float:left;
	margin: 0px 0px 5px 0px;
	padding: 0px 0px 10px 0px;
	text-align: left;
}

.contentbox-full{
	width:100%;
	float:left;
	margin: 0px 0px 5px 0px;
	text-align: left;
	padding: 0px 0px 10px 0px;
}

.spacer {
	height: 5px;
	width: 100%;
	float:left;
}

.fullwidth {
	width: 100%;
	height: auto;
}

.halfwidth{
	width: 49%;
}

.list-group a {
	width: 96%;
	display: block;
	border: 1px solid #DDD;
	border-radius: 8px;
	margin: 0px 0px 3px 0px;
	padding: 6px 6px 6px 6px;
	background: #FFF;
}

.list-group a:hover {
	background: #F5F5F5;
}

.largetext {
    font-size: 48px;
}

.headerlargetext {
	padding-top: 24px;
    font-size: 48px;
	font-weight: 700;
	line-height: 50px;
}

.tagline {
	font-size: 16px;
	color: #CCC;
	margin-left: 4px;
}

.mediumtext {
    font-size: 32px;
}

.megatext {
    font-size: 120px;
}

.smalltext {
	font-size: 80%;
}

.minitext{
	font-size: 10px;
	color: #888;
}

.microtext{
	font-size: 8px;
	color: #BBB;
}

.blue-info {
	color: #0080ff;
}

.gray-info {
	color: #888;
}

.red-info {
	color: #a91b1b;
}

.yellow-info {
	color: #ffba00;
}

.green-info {
	color: rgb(60,202,60);
}

.gray-text {
	color: #444;
}

.white-bg {
	background: #FFF;
	border: 1px solid #DDD;
	border-radius: 10px;
	margin: 0px 0px 3px 0px;
	/*padding: 10px;*/
	padding: 6px 6px 6px 6px;
	width: 96%;
}

.white-bg-block {
	background: #FFF;
	border: 1px solid #DDD;
	border-radius: 10px;
	margin: 0px 0px 3px 0px;
	/*padding: 10px;*/
	padding: 6px 6px 6px 6px;
	width: 96%;
}

.green-bg {
	background: #CFC;
	border: 1px solid #8B8;
	border-radius: 10px;
	margin: 0px;
	padding: 10px;
}

.yellow-bg {
	background: #e6bf53;
	background-image: url("../img/yellow-noise.png");
	border-radius: 10px;
	box-shadow: 0px 0px 32px rgba(0, 0, 0, 0.5);
}

.dark-grey-background{
	background: #666;
}

.clear-both {
	clear: both;
}

a.pure-button {
	color: #FFF;
}

.pure-button{
	border-radius: 4px;
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

.button-success {
	background: rgb(28, 184, 65);
	color: #FFF;
}

.button-error {
	background-color: rgb(202, 60, 60);
	color: #FFF;
}

.button-warning {
	background: rgb(223, 117, 20);
	color: #FFF;
}

.button-secondary {
	background: rgb(66, 184, 221);
	color: #FFF;
}

.block {
	display: block;
	float: left;
}

.photo-link {
	padding:5px;
	margin:5px;
	display:block;
	width:200px;
	min-height:140px;
	float:left;
}
.photo-link:hover {

}

.photogallery > a img {
    box-shadow: 0 0 5px rgba(0, 0, 0, .3);
    transition: .4s;
    position: relative;
}

.photogallery > a img:hover {
    transform: scale(2);
    box-shadow: 0 0 15px rgba(0, 0, 0, .8);
    z-index: 10000;
}

@media screen and (max-width: 1279px){
	#container{
		width:100%;
	}
	.left-column{
		width:78%;
	}
	.right-column{
		width:22%;
	}
	.divider {
		clear:both;
	}
	.topmenu-item {
		min-width: 140px;
	}
}

@media screen and (max-width: 800px){
	.topmenu-item {
		min-width: 100px;
	}
	#menu-items {
		display:block;
	}
	.contentbox{
		width: 100%;
	}
}

@media screen and (max-width: 640px){
	body {
		background-image: url("../img/dark-gray-noise.png");
		background-repeat: repeat;
		background-size: auto;
	}
	#menu-items {
		display:none;
		clear: both;
	}
	#button-menu {
		display:block;
	}
	#footer{
		padding-bottom: 80px;
	}
	.top-header {
		height: 90px;
	}
	.top-header-logo {
		height: 70px;
		width: 70px;
		margin-left: 0px;
		margin-top: 0px;
	}
	h1{
		font-size: 20px;
	}
	h2{
		font-size: 18px;
	}
	h3 {
		font-size: 16px;
	}
	.left-column{
		width:100%;
	}
	.right-column{
		width:100%;
	}

	.headerlargetext {
		padding-top: 17px;
		font-size: 20px;
		line-height: 20px;
	}
	.tagline {
		font-size: 12px;
	}
	.list-group a {
	width: 320px;
	}
	.white-bg {
	width: 320px;
	}
	td {
		font-size: 12px;
	}
	.topmenu-item {
		clear: both;
		padding-bottom: 8px;
		font-size: 16px;
	}
	.meetingtimer {
		position: absolute;
		top: 84px;
		right: 10px;
		bottom: initial;
		left: initial;
		z-index: 1578;
	}
	.margincontainer {
		margin: 10px 2px 2px 2px;
	}
}

@media screen and (max-width: 320px){
	#container{
		width:320px;
	}
	#message-box {
		/*top: 30%;*/
		left: 0px;
		width: 274px;
		margin-top: 0px;
		margin-left: 1px;
		padding: 4px;
	}
	.list-group a {
	width: 96%;
	}
	.list-group a {
		border-radius: 8px;
		margin: 0px 0px 3px 0px;
		padding: 15px 6px 15px 6px;
	}
	td {
		font-size: 10px;
	}
}

@media print {
	html{
		width: 1024px;
	}
	body {
		background: #FFF;
		width: 100%;
		font-size: +130%;
		margin: 0px;
		padding: 0px;
	}
	h1,h2,h3,h4,h5,h6{
		font-size: 130%;
	}
	#menu-items{
		display: none;
	}
	#footer {
		display: none;
	}
	#container{
		width: 100%;
		box-shadow: none;
		background-image: none;
	}
	.yellow-bg {
		background: none;
		border-radius: 0px;
		box-shadow: none;
	}
	.left-column{
		width: 100%;
	}
	.top-header{
		display: none;
	}
	.topmenu{
		display: none;
	}
	.headerlargetext{
		color: #000;
	}
	.tagline{
		color: #000;
	}
	.meetingtimer{
		display: none;
	}
	.right-column{
		display:none;
	}
	.meetingdate-form{
		display:none;
	}
	.meetingdate{
		padding: 0px;
		margin: 5px;
		width:80%;
		clear:both;
		height: auto;
		border-width: 1px;
		border-color: black;
	}
	.meetingdate-loc{
		display:none;
	}
	.fa-trash-o {
		display:none;
	}
	.ical{
		display:none;
	}
	.top-link{
		display:none;
	}
	.white-bg{
		border:0px;
		border-radius: 0px;
		margin: 0px;
		padding: 0px;
	}
	.white-bg-block{
		border:0px;
		border-radius: 0px;
		margin: 0px;
		padding: 0px;
	}
	.noprint{
		display:none;
		width:0px;
		height:0px;
	}
}



@keyframes shoutbar-shake {
	0% {
		transform: rotate(0deg);
	}
	25% {
		transform: rotate(4deg);
	}
	50% {
		transform: rotate(0deg);
	}
	75% {
		transform: rotate(-4deg);
	}
	100% {
		transform: rotate(0deg);
	}
}
