/* Only used on the site home page */
#recentActivityHeader {
	width:100%;
	font-size:10pt;
	color:#FFF;
	text-align:center;
}
.recentActivity {
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
  display: block;
  font-size: 11pt;
}
.recentActivity p {
  padding: 2px;
  margin: 2px;
}
.recentActivity th {
	font-weight: 500;
	height: 12px;
	text-align: center;
	vertical-align: middle;
	padding-right: 3px;
}
.recentActivity td {
	white-space: nowrap;
	text-align: left;
	vertical-align: middle;
	padding-right: 3px;
	height:1.5em;
	line-height:normal;
}
.recentActivity tr:hover {
}
a.recentActivity:link   { text-decoration: none; }
a.recentActivity:visited { text-decoration: none; }
a.recentActivity:hover	{ text-decoration: underline; }
a.recentActivity:link { color : #FFF; }

@media (max-width : 800px) {
	#wrap {
		max-width:800px !important;
		background-attachment: scroll !important;
		-webkit-background-size: auto !important;
		background-size: auto !important;
		padding-left:0 !important;
		padding-right:0 !important;
	}
	#mainTable {
		width:100%;
	}
	#recentActivityHeader {
		font-size:18pt;
	}
	#homecolumn1, #homecolumn2 {
		display:none !important;
	}
	#homeextras {
		display:block;
	}
	div.tabGroup {
		width:800px !important;
		max-width:100%;
	}
	.recentActivity, .recentActivity a {
		font-size:14pt !important;
	}
	
	#tabs li a div, #tabs li a span {
		font-size:14pt;
	}
	#dhtmlpoptip {
		display: none;
	}
	.hideonsmall {
		display:none;
	}
}
@media (min-width : 800px) {
	div.tabGroup {
		width:290px !important;
	}
}

#mainTable {
	border:0;
	text-align:left;
	height:100%;
	margin-top:-3px;
}
.bigannounce_header {
	font-size:19px;
	font-weight:bold;
	color:white;
}
.bigannounce_normal {
	font-size:13px;
	color:white;
}
.bigannounce_small {
	font-size:10px;
	color:white;
}
div.notice {
	background-color:#b66737;
	border-radius: 5px;
	padding:4px;
	margin:5px 0 0 0;
	line-height:1.2em;
}
div.notice2 {
	background-color:#485aa5;
}
div.notice3 {
	background-color:#9c1229;
	min-height:40px;
}
div.notice:hover {
	background-color:#b66737;
}
img.notice, img.aflinks, img.iconlinks, img.videolinks {
	border:0;
	padding:0;
	margin:0;
}
img.aflinks, img.iconlinks {
	margin:2px;
	opacity:0.8;
	border:1px solid #cc6600;
	border-radius: 4px;
}
img.videolinks {
	margin:1px;
	opacity:0.8;
	border:1px solid #cc6600;
	border-radius: 4px;
	width:100px;
	cursor:pointer;
}
img.aflinks {
	height:30px;
	width:60px;
}
img.af_rei {background:url(/images/aflogo_30_rei.png) 0 0;}
img.af_rei:hover {background:url(/images/aflogo_30_rei.png) -60px 0;}
img.iconlinks {
	width:75px;
}
img.aflinks:hover, img.iconlinks:hover, img.videolinks:hover {
	-webkit-box-shadow: 0 0 3px 3px #F60;
	-moz-box-shadow: 0 0 3px 3px #F60;
	box-shadow: 0 0 3px 3px #F60;
	opacity:1;
}
#settingsoverlay {
	position:absolute;
	width:20px;
	height:21px;
	background-color:#f49820;
	vertical-align:middle;
	text-align:center;
	border-radius: 3px;
}
#settingsoverlay img {
	width:14px;
	height:14px;
	border:0;
	padding-top:3px;
}


/* V3 */
div.backstretch {
	margin-top:52px !important;
	background-image:var(--image-spinner-big);
	background-repeat:no-repeat;
	background-position:50% 50%;
	background-size:50px 50px;
    background-color: #F1F1F1;
}

#rightColumn {
	vertical-align:top;
	text-align:right;
	min-width:300px;
	padding-top:0;
	padding-left:8px;
	padding-right:8px;
}
@media (max-width : 500px) {
	#rightColumn {
		padding-top:0;
	}
}

div#accordion {
	margin:0 !important;
}
#accordion h3 {
	user-select: none;
	cursor:pointer;
}
table.recentActivity tr td a:hover { color : #f49820; }
table.recentActivity tr td a:visited { color : #999 !important; }
#accordion h3.ui-state-default,
#accordion h3.ui-widget-header .ui-state-default {
	border-radius:0;
	background-color:#3e3e3e;
}
#accordion h3.ui-state-active {
	background-color:#3e3e3e;
	background-image:none;
}
#accordion div.ui-widget-content {
	border:0 !important;
}
span.ui-accordion-header-icon {
	/*display:none !important;*/
}

span.ui-icon-triangle-1-e,
span.ui-icon-triangle-1-s {
	background-image:none !important;
	content:'';
	right:14px;
	border:0;
}
span.ui-accordion-header-icon.ui-icon.ui-icon-triangle-1-e,
span.ui-accordion-header-icon.ui-icon.ui-icon-triangle-1-s { 
    background:none !important; 
    position:relative;
	text-indent:0;
	display:inline-flex;
	font-size:initial;
	width:25px;
	height:25px;
}
span.ui-accordion-header-icon.ui-icon.ui-icon-triangle-1-e:before,
span.ui-accordion-header-icon.ui-icon.ui-icon-triangle-1-s:before {
	font-family: "FontAwesome", serif;
	font-size:1.4em;
    left:0;
    position: relative;
    top: 4px;
    padding: 0;
    width: 25px;
    height: 25px;
    text-align: center;
	color:#707070;

}
span.ui-accordion-header-icon.ui-icon.ui-icon-triangle-1-e:before {
    content: "\f0da";
}
span.ui-accordion-header-icon.ui-icon.ui-icon-triangle-1-s:before {
    content: "\f0d7";
}
.ui-button {
	background-image:none !important;
}
.ui-icon {
	display:inline;
	vertical-align:middle;
	margin-top:-.25em;
	position:relative;
}

/* BACKGROUND Slide Show */

#backimage-buttons {
	cursor:pointer;
	float:left;
	clear:both;
	z-index:2;
	position:absolute;
	bottom:120px;
	left:0;
	padding:4px;
	color:#FFF;
	font-size:15pt;
	text-align:center;
	text-shadow: 1px 1px 1px rgb(0 0 0 / 50);
}
#backimage-caption {
	float:left;
	clear:both;
	z-index:0;
	position:absolute;
	bottom:90px;
	left:0;
	padding:4px;
	color:#FFF;
	font-size:10pt;
	text-align:center;
	text-shadow: 1px 1px 1px rgb(0 0 0 / 50);
}

@media (max-height : 450px) {
	/*#backimage-buttons {
		bottom:30px;
	}
	#backimage-caption {
		bottom:10px;
	}*/
}

/* RECENT ACTIVITY SECTIONS */
.ageRed {
	color: rgb(255, 0, 0, 0.9);
}
.ageYellow {
	//color: rgba(255, 203, 0, 0.9);
	color: rgba(253, 194, 1, 1);
}
.ageBlue {
	color: rgba(0, 0, 255, 0.9);
}
table.row_forum {
    border:0;
	border-collapse:collapse;
    border-spacing:0;
	width:100%;
	max-width:100%;
	table-layout:fixed;
	padding-right:0;
}
table.row_forum tr th {
    background-color: #FFF;
	font-size:11pt;
	font-weight:normal;
	height:19px;
	min-height:19px;
	vertical-align:bottom;
	text-align:left;
}
table.row_forum tr:nth-child(1) th {
	height:22px;
	min-height:22px;
}
table.row_forum tr th span.fa {
    vertical-align:-1px;
}
table.row_forum tr td:nth-child(1) {
	width:210px;
	max-width:210px;
	white-space:nowrap;
}
table.row_forum tr th:nth-child(1),
table.row_forum tr td:nth-child(1) {
	width:90%;
	padding-left:4px;
}
table.row_forum tr td:nth-child(1) a span {
	overflow:hidden;
	text-overflow:ellipsis;
	display:block;
	white-space:nowrap;
	padding:0;
}
table.row_forum tr th:nth-child(2), table.row_forum tr th:nth-child(3),
table.row_forum tr td:nth-child(2), table.row_forum tr td:nth-child(3) {
	width:35px;
	max-width:50px;
	text-align:right;
}

table.row_trips {
    border:0;
	border-collapse:collapse;
    border-spacing:0;
	width:100%;
	max-width:100%;
	table-layout:fixed;
	padding-right:0;
}
table.row_trips tr th {
    background-color: #FFF;
	font-size:11pt;
	font-weight:normal;
	height:19px;
	min-height:19px;
	vertical-align:bottom;
	text-align:left;
}
table.row_trips tr th span.fa {
    vertical-align:-1px;
}
table.row_trips tr th:nth-child(1),
table.row_trips tr td:nth-child(1) {
	width:90%;
	max-width:120px;
	padding: 0 0 0 4px;
	margin: 0 5px 0 0;
	overflow:hidden;
	text-overflow:ellipsis;
}
table.row_trips tr th:nth-child(2), table.row_trips tr th:nth-child(3),
table.row_trips tr td:nth-child(2), table.row_trips tr td:nth-child(3) {
	width:35px;
	max-width:35px;
	text-align:right;
	padding-right:3px;
}

table.row_creports {
    border:0;
	border-collapse:collapse;
    border-spacing:0;
	width:100%;
	max-width:100%;
	table-layout:fixed;
	padding-right:0;
}
table.row_creports tr th {
    background-color: #FFF;
	font-size:11pt;
	font-weight:normal;
	height:19px;
	min-height:19px;
	vertical-align:bottom;
	text-align:left;
}
table.row_creports tr th span.fa {
    vertical-align:-1px;
}
table.row_creports tr th:nth-child(1),
table.row_creports tr td:nth-child(1) {
	padding-left:4px;
}
table.row_creports tr td:nth-child(1) {
	width:60%;
	min-width:40%;
	max-width:140px;
	overflow:hidden;
	text-overflow:ellipsis;
}
table.row_creports tr td:nth-child(1) a {
	display:block;
	overflow:hidden;
	text-overflow:ellipsis;
}
table.row_creports tr td:nth-child(2) {
	text-align:left;
}
table.row_creports tr td:nth-child(3) {
	width:30%;
	max-width:60px;
	overflow:hidden;
	text-overflow:ellipsis;
}
table.row_creports tr th:nth-child(4), 
table.row_creports tr td:nth-child(4) {
	width:35px;
	max-width:35px;
	text-align:right;
}
td.datacell {
	white-space:nowrap;
	overflow:hidden;
	text-overflow:ellipsis;
	vertical-align:middle;
}

.recentActivity a:link   { text-decoration: none; }
.recentActivity a:visited { text-decoration: none; }
.recentActivity a:hover	{ text-decoration: none; }
.recentActivity a:not([href]) { cursor:pointer; }

.recentActivity a:link, a:not([href]) { color : #0c89e8; cursor:pointer; }
.recentActivity a:visited { color : #0c89e8; }
.recentActivity a:hover { color : #f49820; }

#wrap {
	padding: 52px 0 0 !important;
	margin-bottom:20px !important;
}
#siteheader {
	min-width:100%;
}
.ui-widget-content {
	border-radius:0 !important;
}
main {
	-webkit-background-size: cover;
	-moz-background-size:cover;
	-o-background-size:cover;
	background-size:cover;
	background-position:center 52px;
	background-repeat:no-repeat;
	background-attachment: fixed;
    display: flex;
    flex-direction: column;
    margin: 0;
}
#mainFloatButtons {
	text-align:right;
	z-index:2;
	position:absolute;
	float:right;
	right:5px;
	bottom:78px;
	font-size:12pt;
	padding-top:3px;
}
h3 {
	text-align:inherit;
}
.homeSection {
	float:left;
	clear:none;
	user-select:none;
}
.sectionHeader {
	text-align:left;
	padding-left:10px;
	margin-bottom:15px;
}
.sectionHeader h2 {
	font-weight:500;
	font-size:26pt;
	margin: 5px 0 0 0;
}
#sectionMain {
	float: left;
    clear: none;
    text-align: center;
    width: 100%;
    max-width: calc(100% - 300px);
	height: calc(100vh - 50px - 53px);
    position: relative;
    display: flex;
    flex-direction: column;
}
#sectionMain a, .sectionText a {
	font-size:1.1em;
	margin-top:10px;
}
#sectionMain h1 {
	color:#FFF;
	font-weight:500;
	font-size:26pt;
	padding-top:10px;
}
#sectionMain h2 {
	margin-bottom:30px;
	color:#FFF;
	font-weight:400;
	font-size:12pt;
	padding-left:10px;
	padding-right:10px;
}
#sectionRecentActivity {
	float: right;
    clear: none;
	overflow:hidden;
    width: 300px;
    position:absolute;
    right: 0;
	top:70px;
	max-height: calc(100vh - 60px - 53px - 70px);
	user-select:none;
}
#sectionRecentActivity h3 {
	text-transform:uppercase;
	color:#FFF;
	font-size:100%;
	font-weight:500;
	background: #3e3e3e !important;
	margin-top:0;
	margin-bottom:0;
	border-bottom:0;
	padding-top:6px;
	text-align:left;
}
#sectionPlanning {
	vertical-align: top;
    background-color: #FFF;
	color:#333;
    text-align: center;
	min-height:200px;
	padding-bottom:25px;
}
#sectionPlanning .sectionImage img {
	width:1135px;
	max-width:100%;
	box-shadow: -8px 8px 2px -3px #6a6b72;
	padding: 0;
	display: inline-block;
	background: rgba(250,200,200,0.1);
	border: 1px solid #4c4e53;
	margin: 0 15px 10px 0;
}
#sectionPlanning h2 {
	color:#333;
}
#sectionTracking {
	vertical-align: top;
    background-color: #3e3e3e;
	color:#FFF;
    text-align: center;
	min-height:200px;
}
#sectionTracking .sectionImage img {
	width:1200px;
	max-width:100%;
	box-shadow: -8px 8px 2px -3px #6a6b72;
	padding: 0;
	display: inline-block;
	background: rgba(250,200,200,0.1);
	border: 0;
	margin: 0 15px 10px 0;
}
#sectionTracking h2 {
	color:#FFF;
}
#sectionMobileApps {
	vertical-align: top;
    background-color: #FFF;
	color:#333;
    text-align: center;
	padding-bottom:5px;
}
#sectionMobileApps h2 {
	color:#333;
}
#sectionSupport {
	vertical-align: top;
    background-color: #3e3e3e;
	color:#FFF;
    text-align: center;
	padding-bottom:5px;
}
#sectionSupport h2 {
	color:#FFF;
}
.sectionWrapper {
	max-width:98%;
}
.sectionText {
	width:350px;
	min-width:350px;
	font-size:14pt;
	text-align:left;
	padding:10px;
}
.buttonf, .buttonfs {
	-webkit-border-radius:0;
	-moz-border-radius:0;
	border-radius:0;
	-webkit-appearance: none;
	margin-left:10px;
	margin-right:10px;
}
.orangef {
	background-color: #f47a20;
}
	
#supportBar {
	clear:both;
	position:relative;
	width:100%;
	max-width:100%;
	z-index:1;
	text-align:center;
	font-size:10pt;
	padding: 4px 0;
}
#spacerBar {
	background-color: #FFF;
	text-align: center;
	height: 50px;
	display: block;
 	width: 100%;
}
ul.featureList {
	list-style-type: none;
	margin: 10px 3px 10px 0;
	text-align: left;
	font-size:14pt;
	padding-left:20px;
}
ul.featureList li:before {
	padding-left:0;
    content: "\f00c";
	color:#00bf00;
	font-family: "FontAwesome", serif;
	padding-right:8px;
}
ul.featureList li {
	margin-right: 5px;
	margin-left: 0;
	display: block;
	vertical-align: text-top;
	background-color:transparent;
	padding: 2px 2px 1px 0;
	line-height:1.3em;
}
.fa-snowflake {
	color:#4c6dfb !important;
}
span.showHide {
	display:contents;
}
#topicrefresh_icon span {
	vertical-align:0;
	color:#0c89e8;
	font-size:1.4em;
	cursor:pointer;
	margin-top:3px;
}
#homePostButtons {
	z-index:1;
	position:absolute;
	float:left;
	left:0;
	text-align:center;
	bottom:92px;
	padding-top:3px;
}
#homePostButtons a {
	color:#FFF;
	margin-bottom:10px;
    background-color: #eb8f00 !important;
    border: solid 1px #eb8f00 !important;
	margin-left:5px !important;
}

@media (max-width : 1300px) {
	main {
    	background-position: -200px top !important;
	}
}
@media (max-width : 1000px) {
	main {
    	background-position: -300px top !important;
		-webkit-background-size: contain;
		background-size: 1800px auto !important;
	}
	#sectionMain {
		height: calc(100vh - 50px - 53px);
	}
	.homeSection h3 {
		border-bottom:0;
	}
	.sectionHeader {
		text-align:-webkit-center;
		padding-left:0;
		max-width:100%;
	}
	.sectionWrapper {
		max-width:100%;
	}
	.sectionText {
		width:100%;
		text-align:center;
	}
	.featureList {
		padding-left:0 !important;
		text-align:center !important;
	}
	.sectionImage {
		display:none;
	}
	span.showHide {
		display:none;
	}
}
@media (max-width : 800px) {
	#sectionMain {
		font-size:1em;
		width:800px;
		max-width:100%;
		position:relative;
	}
	#sectionMain h1 {
		font-size:28pt;
	}
	#sectionRecentActivity {
		background-color:#FFF;
		font-size:14pt !important;
		width:100%;
		max-width:100%;
		max-height:100%;
		position:relative;
		top:0;
		padding-top:30px;
	}
	#sectionRecentActivity h3 {
		text-transform:none;
		padding-top:10px;
		color:#FFF;
		font-weight:500;
		font-size:26pt;
	}
	#topicrefresh_icon span {
		font-size: 2em;
		padding: 2px;
	}
	span.ui-icon-triangle-1-e,
	span.ui-icon-triangle-1-s {
		top:0;
		border:0;
	}
	span.ui-accordion-header-icon.ui-icon.ui-icon-triangle-1-e,
	span.ui-accordion-header-icon.ui-icon.ui-icon-triangle-1-s { 
		width:45px;
		height:45px;
		font-size:0.8em;
	}
	#backimage-caption {
		bottom:90px;
	}
}
@media (max-width : 400px) {
	.sectionText {
		width: 100%;
		min-width: 250px;
	}
}

@media (max-height: 450px) {
	#sectionMain {
		max-height: 100vh;
	}
	#sectionRecentActivity {
		/*max-height: calc(100vh - 70px - 53px);*/
	}
	#socialMediaButtons {
		display:none;
	}
}

@media (orientation: portrait) {
	main {
		background-position: top center !important; /* Optionally adjust focus for portrait view */
		background-size: auto 100vh !important;
	}
}

@media (max-width: 768px) { /* For small screens */
	main {
		background-position: center top !important; /* Re-position for better focus */
		background-size: auto 100vh !important;
	}
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
	main {
		background-position: center center; /* Set focus for tablets in portrait mode */
		background-size: auto 100vh !important;
	}
}
