/*html {
	background:#505D6E url(../images/body4.jpg) no-repeat center center fixed; 
	min-height:100%;*/
html,
body {
	margin: 0;
	height: 100%;

	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

body {
	background: transparent;
	min-height: 100%;
	-webkit-font-smoothing: antialiased;
	-webkit-overflow-scrolling: touch;
	line-height: 1.5em;
	font-size: 14px;
	font-family: Helvetica, Arial, sans-serif;
	color: #fff;
	color: rgba(255, 255, 255, .8);
	font-weight: normal;
}


/********************************************************/
/*                    Navigation bar                    */
/********************************************************/
.mainmenu {
	z-index: 999999;
	width: 100%;
	padding: 30px 0 0 0;
}

@media (min-width: 768px) {
	.mainmenu {
		position: fixed;
	}
}

#nav {
	position: absolute;
	display: block;
	top: 20%;
	left: 0;
	width: 100%;
	text-align: center;
}

#nav>ul>li>ul {
	display: none;
}

#nav>ul {
	display: inline-block;
	border-radius: 0.35em;
	box-shadow: inset 0px 0px 1px 1px rgba(255, 255, 255, 0.25);
	padding: 0 1.5em 0 1.5em;
}

#nav>ul>li {
	display: inline-block;
	text-align: center;
	padding: 0 1.5em 0 1.5em;
}

#nav>ul>li>a,
#nav>ul>li>span {
	display: block;
	color: #eee;
	color: rgba(255, 255, 255, 0.75);
	text-transform: uppercase;
	text-decoration: none;
	font-size: 0.7em;
	font-weight: bold;
	letter-spacing: 0.25em;
	height: 5em;
	line-height: 5em;
	-moz-transition: all .25s ease-in-out;
	-webkit-transition: all .25s ease-in-out;
	-o-transition: all .25s ease-in-out;
	-ms-transition: all .25s ease-in-out;
	transition: all .25s ease-in-out;
	outline: 0;
}

#nav>ul>li:hover>a,
#nav>ul>li.active>a,
#nav>ul>li.active>span {
	color: #fff;
}

.dropotron {
	/*background: #222835 url('images/overlay.png');
				background-color: rgba(44,50,63,0.925);*/
	padding: 1.25em 1em 1.25em 1em;
	border-radius: 0.35em;
	box-shadow: inset 0px 0px 1px 1px rgba(255, 255, 255, 0.25);
	min-width: 12em;
	text-align: left;
}

.dropotron.level-0 {
	margin-top: -1px;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

.dropotron a,
.dropotron span {
	display: block;
	color: #eee;
	color: rgba(255, 255, 255, 0.75);
	text-transform: uppercase;
	text-decoration: none;
	font-size: 0.7em;
	letter-spacing: 0.25em;
	border-top: solid 1px rgba(255, 255, 255, 0.15);
	line-height: 3em;
	-moz-transition: all .25s ease-in-out;
	-webkit-transition: all .25s ease-in-out;
	-o-transition: all .25s ease-in-out;
	-ms-transition: all .25s ease-in-out;
	transition: all .25s ease-in-out;
}

.dropotron li:first-child a,
.dropotron li:first-child span {
	border-top: 0;
}

.dropotron li:hover>a,
.dropotron li:hover>span {
	color: #fff;
}

.navbar-toggle {
	position: relative;
	float: left;
	display: block;
	padding: 9px 10px;
	background: rgba(255, 255, 255, 0.2);
	background-image: none;
	border: 0 none;
	top: 0px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	outline: 0;
	opacity: 1;
	-webkit-transition: all .45s;
	-moz-transition: all .45s;
	transition: all .45s;
	float: left;
}

.navbar-toggle .icon-bar {
	display: block;
	width: 22px;
	height: 2px;
	background: #fff;
}

.navbar-toggle .icon-bar+.icon-bar {
	margin-top: 4px;
}

.open .navbar-toggle {
	top: -70px;
	opacity: 0;
}

.mainmenu .dropdown-menu {
	top: -14em;
	left: 0px;
	font-size: 13px;
	padding: 0;
	background: none;
	border: 0 none;
	border-radius: 2px;
	-webkit-box-shadow: none;
	box-shadow: none;
	display: block;
	opacity: 0;
	-webkit-transition: all .45s;
	-moz-transition: all .45s;
	transition: all .45s;
}

.mainmenu .dropdown-menu .active {
	font-weight: bold;
}

.mainmenu .open .dropdown-menu {
	top: 2px;
	opacity: 1;
}

.mainmenu .dropdown-menu a {
	padding: 10px 10px;
	margin: 0;
	color: white;
	text-decoration: none;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
}

.mainmenu .dropdown-menu a:hover {
	background: rgba(255, 255, 255, .1);
	color: white;
	padding: 10px 8px 10px 12px;
}

.scrollup {
	width: 40px;
	height: 40px;
	opacity: 0.3;
	position: fixed;
	bottom: 0px;
	right: 25px;
	margin: 0 0 40px;
	display: none;
	text-indent: -9999px;
	background: url('../images/up.png') no-repeat;
}

/*********************************************************************************/
/* Nav                                                                           */
/*********************************************************************************/

/*	#nav
	{
		position: absolute;
		display: block;
		top: 2.5em;
		left: 0;
		width: 100%;
		text-align: center;
	}

		#nav > ul > li > ul
		{
			display: none;
		}

		#nav > ul
		{
			display: inline-block;
			border-radius: 0.35em;
			box-shadow: inset 0px 0px 1px 1px rgba(255,255,255,0.25);
			padding: 0 1.5em 0 1.5em;
		}

		#nav > ul > li
		{
			display: inline-block;
			text-align: center;
			padding: 0 1.5em 0 1.5em;
		}
		
			#nav > ul > li > a,
			#nav > ul > li > span
			{
				display: block;
				color: #eee;
				color: rgba(255,255,255,0.75);
				text-transform: uppercase;
				text-decoration: none;
				font-size: 0.7em;
				letter-spacing: 0.25em;
				height: 5em;
				line-height: 5em;
				-moz-transition: all .25s ease-in-out;
				-webkit-transition: all .25s ease-in-out;
				-o-transition: all .25s ease-in-out;
				-ms-transition: all .25s ease-in-out;
				transition: all .25s ease-in-out;
				outline: 0;
			}
			
			#nav > ul > li:hover > a,
			#nav > ul > li.active > a,
			#nav > ul > li.active > span
			{
				color: #fff;
			}

	.dropotron
	{
		background: #222835 url('images/overlay.png');
		background-color: rgba(44,50,63,0.925);
		padding: 1.25em 1em 1.25em 1em;
		border-radius: 0.35em;
		box-shadow: inset 0px 0px 1px 1px rgba(255,255,255,0.25);
		min-width: 12em;
		text-align: left;
	}
	
		.dropotron.level-0
		{
			margin-top: -1px;
			border-top-left-radius: 0;
			border-top-right-radius: 0;
		}
	
		.dropotron a,
		.dropotron span
		{
			display: block;
			color: #eee;
			color: rgba(255,255,255,0.75);
			text-transform: uppercase;
			text-decoration: none;
			font-size: 0.7em;
			letter-spacing: 0.25em;
			border-top: solid 1px rgba(255,255,255,0.15);
			line-height: 3em;
			-moz-transition: all .25s ease-in-out;
			-webkit-transition: all .25s ease-in-out;
			-o-transition: all .25s ease-in-out;
			-ms-transition: all .25s ease-in-out;
			transition: all .25s ease-in-out;
		}
		
		.dropotron li:first-child a,
		.dropotron li:first-child span
		{
			border-top: 0;
		}
		
		.dropotron li:hover > a,
		.dropotron li:hover > span
		{
			color: #fff;
		}

*/

/*********************************************************************************/
/* Sidebar                                                                       */
/*********************************************************************************/

#sidebar {
	overflow: scroll;
}

#sidebar>hr.first {
	display: none;
}

#sidebar>hr {
	top: 3em;
	margin-bottom: 6em;
}

#sidebar>section {
	margin-bottom: 0;
}


/****************Ward*****************/
.radiate {
	/* background: url('../images/rita-1bg.gif') top center no-repeat; */
	width: 150px;
	height: 450px;
	margin: 0;
	padding: 0;
	position: relative;
	top: 58px;
	left: 50%;
	margin-left: -100px;
}

/*img {
			width: 100px;
			}*/

/************************Gallery***************************/
.galleryWrapper {
	display: flex;
	flex-direction: column;
	align-content: center;
	justify-content: center;
	align-items: center;
}

.galleryWrapper ul {
	display: flex;
    justify-content: center;
	list-style: none;
}

/*#slider3-pager a {
		  display: inline-block;
		}

		#slider3-pager img {
		  float: left;
		}

		#slider3-pager .rslides_here a {
		  background: transparent;
		  box-shadow: 0 0 0 2px #666;
		}

		#slider3-pager a {
		  padding: 0;
		}*/

.rslides {
	margin: 0 auto 0px;
}

.rslides {
	position: relative;
	list-style: none;
	overflow: hidden;
	width: 50%;
	padding: 0;
	margin: 0;
}

/*.rslides li {
		  -webkit-backface-visibility: hidden;
		  position: absolute;
		  display: none;
		  width: 100%;
		  left: 25%;
		  top: 0;
		  }

		.rslides li:first-child {
		  position: relative;
		  display: block;
		  float: left;
		  }

		.rslides img {
		  display: block;
		  height: auto;
		  float: left;
		  width: 100%;
		  border: 0;
		  }*/

#slider3 {
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	margin: 0 auto;
}

/*.rslides_tabs {
		  list-style: none;
		  padding: 0;
		  background: rgba(0,0,0,.25);
		  box-shadow: 0 0 1px rgba(255,255,255,.3), inset 0 0 5px rgba(0,0,0,1.0);
		  -moz-box-shadow: 0 0 1px rgba(255,255,255,.3), inset 0 0 5px rgba(0,0,0,1.0);
		  -webkit-box-shadow: 0 0 1px rgba(255,255,255,.3), inset 0 0 5px rgba(0,0,0,1.0);
		  font-size: 18px;
		  list-style: none;
		  margin: 0 auto 50px;
		  max-width: 100%;
		  padding: 10px 0;
		  text-align: center;
		  width: 100%;
		  }

		.rslides_tabs li {
		  display: inline;
		  float: none;
		  margin-right: 1px;
		  }

		.rslides_tabs a {
		  /*width: auto;*/
/*  line-height: 20px;
		  padding: 9px 20px;
		  height: auto;
		  background: transparent;
		  display: inline;
		  width: 20%;
		  }

		.rslides_tabs li:first-child {
		  margin-left: 0;
		  }

		.rslides_tabs .rslides_here a {
		  background: rgba(255,255,255,.1);
		  color: #fff;
		  font-weight: bold;
		  }*/

/********************************************************/
/*             Sections - universal classes             */
/********************************************************/
.section {
	z-index: 1;
	min-height: 420px;
	width: 100%;
	overflow: auto;
	height: 100%;
	/*padding-top:100px;*/
	padding-bottom: 50px;
	display: none;
	top: 0;
}

@media (min-width: 768px) {
	.section {
		overflow: auto;
		min-height: 60%;
		/*padding-top:160px;*/
		/*padding-top:250px;*/
	}
}

/* Show one of sections */
#head {
	display: block;
}


/********************************************************/
/*                      Typography                      */
/********************************************************/
a {
	color: #fff;
	text-decoration: none;
}

a:hover,
a:active {
	color: #fff;
	text-decoration: underline;
}

.lead {
	font-weight: normal;
	font-size: 1.5em;
	line-height: 1.2em;
}

.title,
.subtitle {
	font-family: 'Wire One', Helvetica, Arial, sans-serif;
	font-weight: normal;
	font-size: 7em;
	margin-bottom: 15px;
	color: #FDF9F4;
	line-height: 1em;
}

.subtitle {
	line-height: .9em;
	font-size: 5.5em;
	margin-top: 0;
	margin-bottom: 40px;
}

.tagline {
	font-size: 1.4em;
	line-height: 1.3em;
	font-weight: normal;
	margin-bottom: 75px;
}

@media (max-width: 767px) {
	.lead {
		font-size: 1.3em;
	}
}


/********************************************************/
/*                   UI - Buttons                       */
/********************************************************/
.btn {
	color: #333;
	text-shadow: none;
	text-decoration: none;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	border: 0 none;
}

.btn:hover {
	color: #000;
}

.btn-lg {
	padding: 16px 30px;
	font-size: inherit;
}

.btn-link {
	color: rgba(255, 255, 255, .8);
}

.btn-link:hover,
.btn-link:focus,
.btn-link:active {
	color: #fff
}

.btn-default {
	background: rgba(255, 255, 255, .5);
}

.btn-default:hover,
.btn-default:focus,
.btn-default:active,
.btn-default.active {
	background: rgba(255, 255, 255, .8);
}

.btn-primary {
	background: rgba(255, 255, 255, .2);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:active {
	background: rgba(255, 255, 255, .5);
}



/********************************************************/
/*                 UI - Thumbnails                      */
/********************************************************/
.thumbnail {
	background-color: rgba(255, 255, 255, .0);
	border: 0 none;
	padding: 10px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
}

.thumbnail .caption {
	color: inherit;
}

.thumbnail .caption p{
	display: flex;
    text-align: justify;
	line-height: 1.8;
}

.thumbnail .caption img{
	margin-right: 10px;
	max-width: 15%;
}

.left-thumbnail {
	margin-right: auto;
}

.right-thumbnail {
	margin-left: auto;
}



/********************************************************/
/*                 Everything else                      */
/********************************************************/

.list-social .btn {
	font-size: 1.3em;
}

.list-social .btn:hover,
.list-social .btn:active,
.list-social .btn:focus {
	text-decoration: none;
}


/* Social buttons in the footer */
#social {
	margin-top: 50px;
	margin-bottom: 50px;
}

#social .wrapper {
	width: 340px;
	margin: 0 auto;
}


/***********************************************************/
/*                   Theme: text shadows                   */
/***********************************************************/
.text-shadows {
	text-shadow: 0 1px 2px rgba(0, 0, 0, .2);
}

.text-shadows .title,
.text-shadows .subtitle,
.text-shadows .tagline {
	text-shadow: 0 2px 3px rgba(0, 0, 0, .4);
}

.text-shadows .mainmenu .dropdown-menu a {
	text-shadow: 0 2px 1px rgba(0, 0, 0, .2);
}

.text-shadows .mainmenu .dropdown-menu a:hover {
	text-shadow: none;
}



/***********************************************************/
/*                   Inverted theme                        */
/***********************************************************/
.theme-invert {
	color: #222;
	color: rgba(0, 0, 0, .8);
}

.theme-invert a {
	color: #000;
}

.theme-invert .btn {
	color: rgba(255, 255, 255, .8);
}

.theme-invert .btn:hover {
	color: #fff;
}

.theme-invert .btn-link {
	color: rgba(0, 0, 0, .8);
}

.theme-invert .btn-link:hover,
.theme-invert .btn-link:focus,
.theme-invert .btn-link:active {
	color: #000
}

.theme-invert .navbar-toggle {
	background: rgba(0, 0, 0, 0.12);
}

.theme-invert .navbar-toggle .icon-bar {
	background: #333;
}

.theme-invert .mainmenu .dropdown-menu a {
	color: #000;
}

.theme-invert .mainmenu .dropdown-menu a:hover {
	background: rgba(0, 0, 0, .1);
	color: #000;
}

.theme-invert .title,
.theme-invert .subtitle,
.theme-invert .tagline {
	color: #222222;
}

.theme-invert .btn-default {
	background: rgba(0, 0, 0, .4);
}

.theme-invert .btn-default:hover,
.theme-invert .btn-default:focus,
.theme-invert .btn-default:active,
.theme-invert .btn-default.active {
	background: rgba(0, 0, 0, .6);
	color: #fff;
}

.theme-invert .btn-primary {
	background: rgba(0, 0, 0, .2);
}

.theme-invert .btn-primary:hover,
.theme-invert .btn-primary:focus,
.theme-invert .btn-primary:active,
.theme-invert .btn-primary.active {
	background: rgba(0, 0, 0, .3);
	color: #fff;
}

.thumbnail .caption {
	color: inherit;
}