/*
	Main site CSS
*/

html, body {
	min-height: 100%;
    margin: 0px;
	padding: 0px;
}
body.padd {
	padding: 0px 0px 150px 0px;
}
a {
	color: #880000;
}
a:hover {
	color: #700000;
}
h1 {
	padding-bottom: 25px;
}
textarea {
	width: 100%;
	resize: none;
}
th {
	font-weight: bold;
	color: #444444;
	background: #F7F7F7;
}
table.table {
	border: 1px solid #CCCCCC;
}
table.tableSized {
	max-width: 960px;
	margin: 0 auto;
}
table.tableSizedSmall {
	max-width: 500px;
	margin: 0 auto;
}
i {
	font-style: italic;
}
.collapseHeader {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 40px;
	background: #F0F0F0;
}
.collapseHeader h4 {
	position: absolute;
	z-index: 100;
	padding-left: 20px;
}
.collapseHeader a.collapseToggle {
	position: absolute;
	display: block;
	width: 100%;
	text-align: right;
	top: 10px;
	right: 15px;
}
.collapseSection {
	position: relative;
	background: #F9F9F9;
	border: 1px solid #F0F0F0;
	padding: 15px;
	border-radius: 8px;
	overflow: hidden;
	min-height: 40px;
}
.collapseContent {
	position: relative;
	top: 30px;
	padding-bottom: 20px;
}
.vertical-center {
  min-height: 100%;  /* Fallback for browsers do NOT support vh unit */
  min-height: 100vh; /* These two lines are counted as one :-)       */

  display: flex;
  align-items: center;
  margin-bottom: 0px;
}
nav.navbar {
	background: #800000;
}
nav.navbar .icon-bar {
	background: #FFFFFF !important;
}
nav.navbar .navbar-toggle {
	border: 1px solid #700000;
	background: #9c513a !important;
}
nav.navbar .navbar-brand, nav.navbar .navbar-brand:hover {
	color: #FFFFFF;
}
nav.navbar .navbar-brand img#siteLogo {
	position: absolute;
	vertical-align: middle;
	margin: auto;
	max-width: 50px;
	max-height: 50px;
	top: 0px;
	left: 0px;
	bottom: 0px;
	right: 0px;
}

ul.nav li a, ul.nav li a:visited {
	color: #FFFFFF !important;
}

ul.nav li a:hover, ul.nav li a:active {
	color: #FFFFFF !important;
	background: #700000 !important;
}
.navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:focus, .navbar-default .navbar-nav>.open>a:hover {
	background: #700000 !important;
}

ul.nav li.active a {
	color: #FFFFFF !important;
	background: #700000 !important;
}
ul.nav-pills li {
	background: #9c513a;
}
ul.nav-pills li:hover {
	background: #700000;
}


nav.navbar ul.dropdown-menu {
	background: #9c513a;
}
nav.navbar ul.dropdown-menu a:hover {
	background: #800000;
}
footer{margin-top:20px;}
footer.footer h4 {
	color: #444444;
}
footer.footer a {
	color: #666666;
}
@media print
{    
    .no-print, .no-print *
    {
        display: none !important;
    }
}

/*
	Upgrade functionality
*/
#upgradeProgress {
	position: relative;
	width: 100%;
	height: 400px;
	border: 1px solid #CCCCCC;
	overflow: scroll;
}
.input-small{ width:100px !important; }
.input-medium{ width:500px; }
.input-larg{ width:100%; }
.require{color:red;padding:5px;}
.nextline{clear: both;}
.orderby{cursor: pointer; text-decoration: underline;}
.pd-top{padding-top:5px};
.f-right{float:right;}
.f-left{float:left;}
.btn-back{text-align: right;padding: 10px 33px 10px 0px;}
form{clear: both;}
.ui-datepicker{z-index:9 !important;}
.mg-left{margin-left: 10px;}
.col-sm-3-2-main{width: 32%;height: 140px;overflow-y: auto;padding-left: 17px;}
.col-sm-100{width: 100%;height: 140px;overflow-y: auto;border:1px solid gray;padding: 16px;}

.box {
  width: 40%;
  margin: 0 auto;
  background: rgba(255,255,255,0.2);
  padding: 35px;
  border: 2px solid #fff;
  border-radius: 20px/50px;
  background-clip: padding-box;
  text-align: center;
}

.button {
  font-size: 1em;
  padding: 10px;
  color: #fff;
  border: 2px solid #06D85F;
  border-radius: 20px/50px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease-out;
}
.button:hover {
  background: #06D85F;
}

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
  z-index:999999;
}
.overlay:target {
  visibility: visible;
  opacity: 1;
}

.popup {
  margin: 70px auto;
  padding: 20px;
  background: #fff;
  border-radius: 5px;
  width: 50%;
  position: relative;
  transition: all 5s ease-in-out;
}

.popup h2 {
  margin-top: 0;
  color: #333;
  font-family: Tahoma, Arial, sans-serif;
}
.popup .close {
  position: absolute;
  top: 20px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}
.popup .close:hover {
  color: #06D85F;
}
.popup .content {
  max-height: 30%;
  overflow: auto;
}

@media screen and (max-width: 700px){
  .box{
    width: 70%;
  }
  .popup{
    width: 70%;
  }
}
.show-error{width:63%;}
.container{margin-bottom: 10px !important;}