@media (min-width: 980px) {
	.main-content
	{
		padding-top: 100px;
	}
	.handheld 
	{
		display: none;
	}
}

@media (max-width: 979px) {
	.desktop 
	{
		display: none;
	}
}

/* hides honeypot form input */
.special-input { 
	display:none; 
}

.max500
{
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
}

.large-bold 
{
	font-size: larger;
	font-weight: bold;
}

html,
body 
{
	margin:0;
	padding:0;
	height:100%;
}

.main-container
{
        min-height: 100%;
        position: relative;
}

.main-content
{
	min-height:500px;
	#max-width: 1000px;
	background-color:#fff;
	overflow:auto;
}

.extra-content
{
	#border-radius:5px;
	#padding:0 15px 0 15px;
	background-color:#fff;
	border-style:solid;
	border-width:1px 0 0;
	margin-top:15px;
	min-height:100%;
	overflow:auto;
}

.centredimage
{
	display:block;
	height:auto;
	margin-left:auto;
	margin-right:auto;
	max-width:100%;
	min-width:10px;
}

.illustration-left {
    float: left;
    padding: 6px;
    margin-right:10px;
    background-color: #D8D5D5;
    border-style: solid;
    border-width: 0;
    border-radius: 10px;
}

.illustration-right
{
    float:right;
    padding:6px;
    margin-left-10px;
    background-color: #D8D5D5;
    border-style: solid;
    border-width: 0;
    border-radius: 10px;
}

.noborder
{
    background-color: rgba(216, 213, 213, 0);
}

.caption
{
	font-weight:bolder;
	text-align:center;
}

.record-header
{
	font-weight: bold;
	font-size: 20px;
}


.forumname
{
	margin-bottom: -5px;
	width: 100%-6px;
	border-style: solid;
	border-color: #aaa;
	border-width: 1px 0px 0px;
	
}

.tailpiece
{
	background-color:#000;
	color:#888;
	height:200px;
	margin-left:-20px;
	margin-right:-20px;
	margin-top:20px;
	padding:15px;
	position:absolute;
#	bottom:0;
	width: 100%;
}

.expanding-container
{
	background:#6cf;
	bottom:0;
	height:60px;
	position:absolute;
	width:100%;
}

thead 
{
	background-color: gray;
	color: whitesmoke;
}

.book-ad-left
{
	background-color:#FFC;
	float:left;
	text-align:center;
}

.ww1question 
{
	border-style: solid;
	border-color: gray;
	border-width: 1px 0px;
	padding: 5px;
	margin-top: 10px;
	background-color: #FFFF99;
}

.ww1form
{
	display: none;
}

.loadbox
{
	width: 100%;
	text-align:center;
	padding-top:120px;
	padding-bottom: 120px;
}


/* Override Bootstrap settings below */

/* Fixes bug preventing dropdown menus from woirking on Android */
.dropdown-backdrop
{
	position:static;
}

h1
{
	font-size:30px;
	text-align:center;
}

h1 small 
{
	color: #000;
}

h2
{
	font-size:25px;
}

h3
{
	font-size:20px;
}

h4
{
	font-size:18px;
}

footer
{
	border-style:solid;
	border-width:1px 0 0;
	padding-top:15px;
}

@media (min-width: 340px) {
	select
	{
		width:300px;
	}


	input,textarea,.uneditable-input
	{
		width:300px;
	}
}

@media (min-width: 768px) {
.brand {
  background-image: url('http://test.mallaigheritage.org.uk/images/mhclogo4.png');
  width: 311px;
  height: 64px;
  vertical-align: text-top;
  background-position: 5px 5px;
  background-repeat: no-repeat;
}
}

@media (max-width: 767px) {
.brand {
  background-image: url('http://test.mallaigheritage.org.uk/images/mhclogo5.png');
  width: 110px;
  height: 66px;
  vertical-align: text-top;
  background-position: 5px 5px;
  background-repeat: no-repeat;
}
}


.navbar-inverse .brand,.navbar-inverse .nav > li > a
{
	color:#bbbbbb;
	font-size: larger;
}

  .nav-collapse .nav > li > a:hover,
  .nav-collapse .nav > li > a:focus,
  .nav-collapse .dropdown-menu a:hover,
  .nav-collapse .dropdown-menu a:focus {
    #color: #ff9c00;
    background-color: #000
  }

.navbar-inverse .nav li.dropdown > .dropdown-toggle .caret 
{
	border-top-color: #fff;
	border-bottom-color: #fff;
}

.pagination {
	margin: 5px 0;
}

.pagination ul > .active > a, .pagination ul > .active > span {
	background-color: #0088cc;
	color: #fff;
}

div.content-one {
	display:none;
}

.expand-one {
	float:right;
}

/* ww1notice displays details of soldiers around 100 years from their date of death */

.ww1notice
{
        #position absolute;
        float: left;
        margin:  10px;
        padding: 20px;
        border: 5px solid;
        border-radius: 8px;
        border-color: black;
        #background-color: #ffffD0;
        font-size: 18px;
      
        width: 90%;
}

.ww1notice img {
        float: left;
}

.ww1notice p {
        margin-top: 15px;
}

.ww1notice div {
	float:left;
	margin-left: 10px;
}
                            
/* Override FancyBox settings below */

.fancybox-title {
	font-weight: bold;
	font-size: larger;
}

.fancybox-subtitle {
	font-weight: normal;
	font-size: smaller;
}

.fancybox-nav span {
    visibility: visible;
    opacity: 0.5;
}

.fancybox-nav:hover span {
    opacity: 1;
}