.textmiddle {vertical-align:middle;}
/* If you want a custom header image on the index.php page, uncomment this out and change div header to headerspecial*/

#headerspecial {background-image: url("../img/backgrounds/lightbluebackground.jpg");height: 600px;background-size: cover;
	-moz-background-size: cover;background-position: center;}
.logo3-img {text-align: center;}
.logo3 {max-width:300px;	}
.nav-collapse .nav > li > a, .nav-collapse .dropdown-menu a {border-bottom-left-radius: 3px;border-bottom-right-radius: 3px;border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    font-weight: normal;
    padding-bottom: 9px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 9px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 10px 0;
  font-family: 'Raleway', sans-serif;
  font-weight: bold;
  color: inherit;
  text-rendering: optimizelegibility;
}

a.menubutton {
	background-color:#48b0e4;
    border: 2px solid;
    border-radius: 5px 5px 5px 5px;
    cursor: default;
   color: #FFF;
    font-size: 20px;
  	padding-top:20px;
    text-decoration: none;
   text-align: center;
    height: 100px;
	font-weight: bold;
    display:block;
 vertical-align: middle;
 font-family: 'Raleway', sans-serif;
}

a.menubutton:hover {
	background: #FFF;
	color: #1192d3;
}

.inner-heading p {
	color: #828689;
}

.moveright	{
float:right;
}

.hborder2 {
	border-bottom: 1px solid #DDD;
	margin-bottom: 20px;
	padding-bottom: 10px;
	display: inline-block;
}

	iframe { vertical-align: top; }


a.menubutton:visited {
background-color:#48b0e4;
   color: #FFF; 
}

.centeredImage	{
	height:150px;
    display: block; 
    margin-left: auto; 
    margin-right: auto
}
    
.centeredImage2	{
    display: block; 
    margin-left: auto; 
    margin-right: auto
    }
    
.socialalignment {
float:left;
position:relative;
top:1px;
}
    
.post .meta {
	font-size: 13px;
	margin-bottom: 10px;
	padding: 10px 0;
	color: #919191;
	border-top: 1px solid #DDD;
	border-bottom: 1px solid #DDD;
}    
 
.modal.fade.in {
  top: 10%;
}    

.thumbnail-content {
	display: block;
	padding: 4px;
	line-height: 20px;
	border: 0px solid #ddd;
	border-top: none;
	-webkit-border-radius: 0 0 0px 0px;
	-moz-border-radius: 0 0 0px 0px;
	border-radius: 0 0 0px 0px;
	-webkit-box-shadow: 0 0px 0 rgba(0, 0, 0, 0.055);
	-moz-box-shadow: 0 0px 0 rgba(0, 0, 0, 0.055);
	box-shadow: 0 0px 0 rgba(0, 0, 0, 0.055);
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
	text-align: center;
}

.overlay a .overlay-btn {
    -moz-transition-delay: 0s, 0s;
    -moz-transition-duration: 0.3s, 0.2s;
    -moz-transition-property: margin-top, color;
    -moz-transition-timing-function: linear, linear;
    background-attachment: scroll;
    background-clip: border-box;
    background-color: #333333;
    background-image: none;
    background-origin: padding-box;
    background-position: 0 0;
    background-repeat: repeat;
    background-size: auto auto;
    color: #FFFFFF;
    display: block;
    height: 0px;
    left: 0;
    margin-top: -100px;
    opacity: 0.7;
    padding-bottom: 0px;
    padding-left: 00px;
    padding-right: 00px;
    padding-top: 0px;
    position: absolute;
    text-align: center;
    top: 0;
    width: 0px;
    z-index: 2002;
}

.modal-body {
  position: relative;
  overflow-y: auto;
 max-height: 80%;
  padding: 5px;
}    

.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
  display: block;
  margin-left: auto; 
  margin-right: auto;
  line-height: 1;
max-height:70%;
}

@media (max-width: 768px) {

.modal.fade.in {
  top: 1%;
}    

.modal-body {
  position: relative;
  overflow-y: auto;
 max-height: 800px;
}    

.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
  display: block;
  margin-left: auto; 
  margin-right: auto;
  line-height: 1;
max-height:800px;
}
}

@media (max-width: 480px) {

 .modal {
    top: 1px;
   padding: 1px;
  }

.modal.fade.in {
  top: 2%;
}    

.modal-body {
  position: relative;
  overflow-y: auto;
 max-height: 450px;
}    

.modal-header {
padding: 5px 5px;
line-height: 10px;
}

.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
  display: block;
  margin-left: auto; 
  margin-right: auto;
  line-height: 1;
max-height:400px;
}
}