
/* ==========================================================================
   Author's custom styles
   ========================================================================== */
@font-face {
	font-family: Lobster;
	src: url("../fonts/Lobster 1.4.otf") format("opentype");
}

@font-face {
	font-family: Alcubierre;
	src: url("../fonts/Alcubierre.otf") format("opentype");
}

@font-face {
    font-family: 'Kirvy';
    src: url('../fonts/Kirvy-Thin.otf') format('opentype');
    font-weight: 100;
}
@font-face {
    font-family: 'Kirvy';
    src: url('../fonts/Kirvy-Light.otf') format('opentype');
    font-weight: lighter;
}
@font-face {
    font-family: 'Kirvy';
    src: url('../fonts/Kirvy-Regular.otf') format('opentype');
    font-weight: normal;
}
@font-face {
    font-family: 'Kirvy';
    src: url('../fonts/Kirvy-Bold.otf') format('opentype');
    font-weight: bold;
    font-stretch: expanded;
}

html{
/*	font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif, Roboto-Regular,Arial, sans-serif;
	font-weight: 400;
	*/
	height:100%;
}

h1, h2, h3, h4 {
	font-family: "Alcubierre", "Lucida Sans Unicode", "Lucida Grande", sans-serif, Roboto-Regular,Arial, sans-serif;
	letter-spacing: 1px;
  text-shadow: 0 0 1px #aaa;
}


body {
	font-family:Kirvy, Roboto-Regular, Arial, sans-serif;
	font-size:15px;
	height:100%;
}

hr {
	border-top: 1px solid #aaa;
}
.container{
	box-shadow: 0px 3px 3px #A0A0A0;
	min-height:100%;
	position:relative;
	/* background-image: url("../img/template/background-dark.jpg");  */
	/* background-image: url("../img/template/brushed-metal-s.jpg"); */
	background-repeat: repeat;
	padding:0 30px;
	background-color:white; 
	color: #222;
}
.containerwidth {
	width:auto !important;
}

.iframecontainer {
	padding:0 5px 5px 5px !important;
	margin:10px auto;
	max-width: none !important;

}

.container .modal-body {
	background-color:#F0F0F0;
	color: #222;
	min-height:250px;
}

.container .modal-body a, 
a.tradlink  {
	color:#328cec;
	text-decoration: underline;
}

.container .modal-body a.btn{
	text-decoration: none;
}

.container .modal-title {
}

.container .modal-header h1,
.container .modal-header h2,
.container .modal-header h3,
.container .modal-header h4
{
	font-weight:bold;
	text-shadow:none;
	color:#eee;
	margin-top:5px;
	margin-bottom:5px;
}

.navbar {
	border-top: 0;
	border-left: 0;
	border-right: 0;
}
.navbar .container {
	box-shadow: none;
}

#myNavbar, footer{
	margin:0 -30px;	
}

#contentwrap {
/* 	margin-top:20px; */
}

#footerspacer {
	/* non-absolute spacer to keep room for footer when page is long, including a 10xp margin */
	height:50px;
	display:block;
} 

footer {
	position:absolute;
	bottom:0;
	background-color: #1683e0;
	background-image: linear-gradient(to bottom, #7abeef 0%, #69b5ec 50%, #4b92fb 100%);

	border-top: 1px solid #303030;
	
	text-align:center;
	height:40px;
	width:100%;
	line-height:40px;
	vertical-align:bottom;
}


footer a{
	color:#222;
}

.morelink {
	text-align:right;
}

.morelink a {
	color: #328cec;
}

/*  override default bootstrap invers nav bar  */
.navbar-inverse, .contrastheader {

    background-image: linear-gradient(to bottom, #7abeef 0%, #69b5ec 50%, #4b92fb 100%);
    background-repeat: repeat-x;
    border-radius: 4px 4px 0 0;
}


.navbar-inverse .navbar-brand, .navbar-inverse .navbar-nav > li > a {
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
}

.navbar-inverse .navbar-nav > li > a, #loginbox a, #logoutbox a{
    font-weight:normal;
    padding-left:15px;
    padding-right:15px;
}

.navbar-inverse .navbar-nav > li > a {
	color:#222;
	font-weight:bold;
}

.navbar-inverse .navbar-nav > .open > a,
.navbar-inverse .navbar-nav > .active > a
 {
    background-image: linear-gradient(to bottom, #328cec 0%, #1655e0 100%);
    background-repeat: repeat-x;
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.25) inset;
}

/*  dropdown menu styles */
.navbar-inverse .navbar-nav > .open >  ul > li > a,
.navbar-inverse .navbar-nav > .active  > ul > li > a
 {
    background-image: linear-gradient(to bottom, #328cec 0%, #1655e0 100%);
    background-repeat: repeat-x;
}
.navbar-nav .dropdown-menu > li > a {
	color:#222;
	line-height:2em;
}
.navbar-nav .dropdown-menu li.active > a,
.navbar-nav .dropdown-menu li > a:hover,
.navbar-nav .dropdown-menu li > a:focus
 {
	color:#fff;
}

.dropdown-menu {
	padding:1px 0 0 0;
}

.dropdown-menu .active > a::before {
	background:transparent;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 7px 0 7px 7px;
	border-color: transparent transparent transparent #DDD;
	margin-top:10px;
}
/* override default pull right menu dropdown alignment */
.navbar-nav.pull-right > li > .dropdown-menu, .navbar-nav > li > .dropdown-menu.pull-right {
	left:inherit;
	right:inherit;
}


.modal-header {
    background-image: linear-gradient(to bottom, #328cec 0%, #1655e0 100%);
    background-repeat: repeat-x;
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.25) inset;
    color:#222;
}

.modal-content {
	overflow:hidden;
}

/*
.navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus {
    background-color: #080808;
    color: #fff;
}
*/
	
	
#headerbar {
	background-color: #328cec;
	border-bottom: 1px solid #404040;
	height: 47px;
	position:relative;
}

#loginbox, #logoutbox {
	display:inline-block;
  position: relative;
  margin-right:-15px;
  color:#222;
}
#logoutbox a{
  color:#222;
}

#loginbox ul{
	color:#222;
}


#loginbox:before, #logoutbox:before, #headersearch:before{
	content:""; 
	background-image: linear-gradient(to bottom, rgba(0,0,0,0) 5%,rgba(60,60,60,1) 30%,rgba(60,60,60,1) 70%,rgba(0,0,0,0) 95%);
	background-repeat: repeat-x;
	position: absolute; 
	left: 0; 
	height: 100%; 
	width: 1px;
}

#myNavbar .navbar-collapse.in {
	overflow-y:visible;
}

#viewlogin {
	cursor:pointer;
	padding:14px;
	display:block;
	text-align:right;
}

#viewlogout {
	cursor:pointer;
	padding:14px;
	display:block;
	text-align:right;
	text-decoration:none;
}

#loginmenu {
	padding:10px;
	border:1px solid #888;
}

#loginbox .dropdown-menu::before {
	border-bottom: 5px solid #888;
	left:inherit;
	right:30px;
}
	

#loginform {
	padding:10px;
	border:1px solid #888;
	border-radius:3px;
	position:absolute;
	right:0;
	left:inherit;	
	z-index:10;
	width:310px;
	margin-top:0;

}

#loginform label {
	width:50px;
	display:inline-block;
}

#logingo {
	float:right;
	background-color: #4049A4;
	color: white;
	display: inline-block;
	font-weight: bold;
	padding: 3px 10px;
	text-decoration: none;
	border-radius:3px;
	font-size: 18px;
	cursor: pointer;
	height:50px;
	margin-left:3px;
	margin-bottom:10px;
	margin-top:3px;
}

#logingo:hover {
	background-color: #328cec;
    box-shadow: 0px 0px 1px #777;
}

#loginform .resetseclink {
	color:#328cec;
}


/*
#loginbox:hover #loginform {
	display: block;
}
*/


#logo {
	/*
	height: 37px;
	margin-left: 43px;
	margin-top: 5px;
	width: 91px; 
	 */

	height: 45px;
	margin-left: 35px;
	margin-top: 1px;
}

#headersearch {
	float:right;
	position: relative;
	padding-bottom:7px;
}

#headersearch input {
	margin:10px 0px 5px 10px;
	color:black;
	width:100px;
	border-radius:5px;
	padding:1px 5px;
	background-color:white;
}
#headersearch button {
	margin:10px 5px 0 0;
	background:none;
	border:none;
}



.introtext {
	border:1px solid #aaa;
	padding:15px;
	margin-bottom:15px;
	background-color:rgba(0,0,0,0.1);
	background: -moz-linear-gradient(-65deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0,0.04) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(-65deg, rgba(0,0,0,0.15) 0%,rgba(0,0,0,0,0.04) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(155deg, rgba(0,0,0,0.15) 0%,rgba(0,0,0,0.04) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#22000000', endColorstr='#0d000000',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */	

	border-radius:3px;
}

.inline-block {
	display:inline-block;
}

.introtext p {
	margin:0.5em 0;
}

.introtext p:first-child {
	margin-top:0;
}

.introtext p:last-child {
	margin-bottom:0;
}

.error, .warning {
	padding:25px;
	border:1px solid #FB4717;
	border-radius:5px;
	color: #FB4717;
	margin:5px;
	display:inline-block;
	background-color:rgba(0,0,0,0.1);
	background:linear-gradient(135deg, #f0f0f0 0%,#fafafa 100%);
	font-size:110%;
}

.info {
	padding:10px;
	border:1px solid #328cec;
	color: #328cec;
	margin:5px;
	display:inline-block;
}

.valerr {
	color: red;
}

.taberr {
	border: 1px solid #A00 !important;
	box-shadow: 0px 0px 3px #F66;
	background: rgba(255,0,0,0.6) !important;
}

.help {
	display:inline-block;
	height:20px;
	width:20px;
	background-image: url("../img/icons/helpbw.png");
}

.subarea{
	padding:15px;
	background:rgba(0,0,0,0.1);
	background: linear-gradient(180deg, rgb(220, 220, 220) 0%,rgb(200, 200, 200) 80%);
	border:1px solid #aaa;
	border-radius:5px;
}

.nopadding {
   padding-left: 0 !important;
   padding-right: 0 !important;
}

.noleftpadding {
   padding-left: 0 !important;
}

/* tooltip  (using bootstrap) */
.tooltiphelp {
	padding-bottom:1px;
	height:22px;
	padding-left:5px;
	padding-right:5px;
	vertical-align:bottom;
}

.smalltip {
	padding-left:3px;
	padding-right:3px;
	height:16px;
	vertical-align:text-top;
}
.tooltip {
	z-index:9999
}
.text-center th, 
.text-center td,
.text-center
 {
	text-align:center;
}

.text-left {
	text-align:left;
}
.text-right {
	text-align:right;
}
.first-cell-left td:first-child, .first-cell-left th:first-child {
	text-align:left;
}
.modalimage {
	display:none;
}

.thumbnail {
	display:inline-block;
}

/* common form styles */

.editstep  {
	display:inline-block;
	vertical-align:top;
	width:100%;
	margin-bottom:30px;
}

.steptitle {
	font-weight:bold;
	background-color: #aaa;
	font-weight: bold;
	padding: 3px 10px;
	background: linear-gradient(180deg, rgb(220, 220, 220) 0%,rgb(200, 200, 200) 80%);
}

.editstep textarea {
	width:100%;
}

/* additional bootstrap style classes */
.vtop0 { margin-top:0px !important; }
.vtop5 { margin-top:5px !important; }
.vtop7 { margin-top:7px !important; }
.vtop10 { margin-top:10px !important; }
.vtop15 { margin-top:15px !important; }
.vtop17 { margin-top:17px !important; }
.vtop30 { margin-top:30px !important; }

.vbottom0 { margin-bottom:0px !important; }
.vbottom5 { margin-bottom:5px !important; }
.vbottom7 { margin-bottom:7px !important; }
.vbottom10 { margin-bottom:10px !important; }
.vbottom15 { margin-bottom:15px !important; }
.vbottom17 { margin-bottom:17px !important; }
.vbottom30 { margin-bottom:30px !important; }

.vleft15 { padding-left:15px !important; }
.vleft30 { padding-left:30px !important; }

.verysmall {
	font-size:0.7em;
}

.no-gutter {
	padding-right:0;
	padding-left:0;
}
.no-gutter > [class*='col-'] {
	padding-right:0;
	padding-left:0;
}

.form-inline .prevue-wrapper {
	display:inline-block;
}

.altrow{
	background-color:rgba(255,255,255,0.05);
}
/* bootstrap color fix (merge into bootstrap css at some point */

.fullwidth{
	width:100%;
}

.table-striped > tbody > tr:nth-of-type(2n+1) {
	background-color:rgba(255,255,255,0.05);
}

.table > tbody > tr > th, .table > tbody > tr > td {
	border-top-color:#000;
}

.form-control, .input-group-addon {
	border:1px solid #000;
	background-color:#FAFAFA;
}

.nav-tabs {
	margin-bottom:0;
}

.nav-tabs > li > a {
	border: 1px solid #eee;
	background-color: #f9f9f9;
}

.welcomemsg {
	float:right;
	margin-top:0;
}


.xdebug-error, .xe-notice {
	color:black !important;
}
	
	
.disabled {
	color:#888;
}

.ui-datepicker{ 
	z-index: 9999 !important;
}

.rgraphcanvas {
	width:100%;
}
.rgraphcanvas canvas{
	display: table;
    border-radius: 5px;
    box-shadow: 3px 3px 3px #202020;
    padding:10px;
    margin:0 auto;
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#eaeaea+0,dbdbdb+50,d1d1d1+56,fefefe+100&0.5+0,0.5+100 */
	background: -moz-linear-gradient(-35deg,  rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0.3) 56%, rgba(255,255,255,0.5) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(-35deg,  rgba(255,255,255,0.55) 0%,rgba(255,255,255,0.25) 50%,rgba(255,255,255,0.3) 56%,rgba(255,255,255,0.5) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(145deg,  rgba(255,255,255,0.55) 0%,rgba(255,255,255,0.25) 50%,rgba(255,255,255,0.3) 56%,rgba(255,255,255,0.5) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#50ffffff', endColorstr='#80ffffff',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}


.clearfix {
  overflow: visible; zoom:1;
}

.subtabs  {
	padding-top:15px;
	padding-bottom:15px;
	background:rgba(255,255,255,0.1);
	border:1px solid black;
	border-radius:5px;
}

pre.prewrap {
	word-break: break-all; /* webkit /
	word-wrap: break-word;
	white-space: pre;
	white-space: -moz-pre-wrap; / fennec /
	white-space: pre-wrap;
	white-space: pre\9; / IE7+ */
}

div.spinner {
	margin-top:35px;
	margin-bottom:35px;
}

/* place holder select options */
select:required:invalid {
  color: gray;
}
option {
  color: #222;
}
option:disabled {
  color: grey;
}

form.form-submitted textarea:invalid,
form.form-submitted input:invalid,
form.form-submitted select:invalid
{
	border: 1px solid #800;
	box-shadow: 0px 0px 3px #C55;
}

.password-field-wrapper {
	position: relative;
	display: inline-block;
	width: 100%;
}

.password-field-wrapper .password-field {
	padding-right: 35px !important;
}

.password-toggle {
	position: absolute;
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
	cursor: pointer;
	color: #666;
	user-select: none;
	z-index: 10;
	padding: 2px 4px 0 0;
	border-radius: 3px;
}

.password-toggle:hover {
	color: #333;
}

.password-toggle i {
	font-size: 15px;
}

/* Ensure proper spacing for Bootstrap input groups */
.input-group .password-field-wrapper {
	position: relative;
	flex: 1;
}

.input-group .password-field-wrapper .password-field {
	width: 100%;
}

/* Adjust for bootstrap form-control class */
.form-control.password-field {
	padding-right: 35px !important;
}

/* Adjust for login form */
#loginform .password-field-wrapper {
	position: relative;
}

#loginform .password-field-wrapper label {
	display: block;
	margin-bottom: 5px;
}

#loginform .password-field {
	width: 100%;
	padding-right: 35px;
}

.btn-primary {
	background-color: #0b4f8a;
	border-color: #0b4f8a;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.password-toggle {
		right: 8px;
	}
	
	.password-field-wrapper .password-field {
		padding-right: 32px !important;
	}
}

