/**
 * generic
 */
body {
	background: #cfc9a5;
	
}

h1 a {
	background-position: top left;
	background-repeat: no-repeat;
	display: block;
	overflow: hidden;
	text-indent: -999px;
}

	h1#front-site-title a {
		background-image: url('images/front-logo.jpg');
		height: 430px;
		width: 405px;
	}

	h1#site-title a {
		background-image: url('images/logo.jpg');
	  float: left;
		height: 190px;
		width: 179px;
	}
	
h2 {
	font-size: 24px;
	font-weight: normal;
	margin: 0 0 20px 0;
	letter-spacing: -1px;
}

a { color: #385b84 }
  
	a:hover { text-decoration: none }

  a.pdf {
    background: url('images/page_white_acrobat.png') no-repeat center left;
    padding: 2px 0 2px 24px;
  }
	
table {
	width: 100%;
}

/**
 * layout
 */
div#top {
	background: url('images/top-bg.jpg') repeat-x top left;
	height: 50px;
}

	ul.primary-links {
		list-style: none;
		margin: 0;
		padding: 0;
	}

		ul.primary-links li {
			display: inline;
			float: left;
			margin: 0;
			padding: 0;
		}

			ul.primary-links a {
				color: #9cb4cc;
				float: left;
				font-size: 13px;
				line-height: 50px;
				margin: 0 5px 0 0;
				padding: 0 4px;
				text-decoration: none;
			}

				ul.primary-links a.active,
				ul.primary-links li.active-trail a,
				ul.primary-links a:hover {
					color: #fff;
				}
				
				ul.primary-links a:focus,
				ul.primary-links a:active {
					outline: none;
				}
				
	
	#facebook {
		background: url(images/facebook.png) no-repeat center center;
		display: block;
		float: right;
		height: 48px;
		overflow: hidden;
		text-indent: -999px;
		width: 48px;
	}
  div#search {
		float: right;
		margin: 12px 0 0 0;
	}

		div#search .captcha-admin-links {
			display: none;
		}
	
	  div#search label { display: none }
		
		div#search .form-text {
			background: #DEE7EE;
			border: none;
			float: left;
			height: 20px;
			margin: 0;
			padding: 0;
			overflow: hidden;
			padding: 2px 0 2px 5px;
			width: 200px;
		}
		
		  div#search .form-text:focus { background: #fff }
		
		div#search .form-submit {
			background: url('images/search.gif') no-repeat center center #DEE7EE;
			border: 0;
			float: left;
			height: 24px;
			margin: 0;
			overflow: hidden;
			padding: 24px 0 0 0;
			width: 24px;
		}

div#header {
	background: url('images/header-bg.jpg') repeat-x top left;
	border-bottom: 5px solid #203751;
	height: 190px;
	overflow: hidden;
}

  div#header .container_16 {
		height: 190px;
	}

  div#mission {
    color: #9cb4cc;
    float: right;
    font: 12px Georgia, Times New Roman, Times, serif;
		line-height: 18px;
		height: 154px;
		padding: 36px 0 0 0;
    text-shadow: 2px 2px 3px #2c4869;
  }

    div#mission span {
      color: #fff;
      display: block;
      font-size: 16px;
			margin: 0 0 10px 0;
    }
		
  div#slogan {
		color: #c6D2e0;
		float: right;
		font-family: "Georgia", "Times New Roman", Times, serif;
		position: relative;
		top: 120px;
		text-align: right;
	}
	
	  div#slogan strong {
			color: #fff;
			font-size: 14px;
		}

div#content {
  background: url('images/content-bg.jpg') repeat-x top left #f1eedf;
	overflow: hidden;
	padding: 50px 0;
}

  div#content .container_16 {
		position: relative;
	}

	ul.secondary-links {
		height: 30px;
		list-style: none;
		margin: 0 0 20px 0;
		padding: 0;
	}

		ul.secondary-links li {
			display: inline;
			margin: 0;
			padding: 0;
		}

			ul.secondary-links a {
				display: block;
				float: left;
				margin: 0 15px 0 0;
			}

				ul.secondary-links a:hover { text-decoration: none }
				ul.secondary-links a.active,
				ul.secondary-links li.active-trail a {
					font-weight: bold;
					text-decoration: none;
				}

				
div#top-right .block {
	float: right;
	margin: 0 0 0 10px;
}

div#top-right a:active,
div#top-right a:focus {
	outline: none;
}

.top-right {
	display: flex;
	margin: 0 -10px 40px -10px;
}

	.top-right > a {
		color: rgba(0, 0, 0, .75);
		display: block;
		flex: 1;
		line-height: 1;
		padding: 0 10px;
		text-decoration: none;
	}

		.top-right > a > span {
			background: rgba(255, 255, 255, .75);
			border-radius: 5px;
			box-shadow: 0;
			display: flex;
			flex: 1;
			padding: 10px;
			transition: all 0.25s ease-out;
		}

			.top-right > a > span > span {
				padding: 0 10px;
			}

			.top-right > a > span > span:nth-child(1) > svg {
				width: 32px;
			}

			.top-right > a > span > span > span:nth-child(1) {
				color: #000;
				display: block;
				font-weight: 800;
				font-size: 14px;
				margin-bottom: 5px;
			}

		.top-right > a:hover > span {
			background: #fff;
			box-shadow: 0 5px 20px #c9c49e;
			transform: translateY(-5px);
		}

		.top-right > a:focus > span {
			transform: translateY(0px);
		}
				
div#footer {
	padding: 20px 0;
}

  div#footer-left {
		float: left;
	}

  div#footer-right {
		float: right;
		font-style: italic;	
	}

/**
 * front
 */
div#front-header {
	background: url('images/front-header-bg.jpg') repeat-x top left;
	border-bottom: 5px solid #1b334d;
  height: 430px;
	overflow: hidden;
}

  div#front-mission {
    color: #9cb4cc;
    float: right;
    font: 16px Georgia, Times New Roman, Times, serif;
    line-height: 28px;
		padding: 100px 0 0 0;
    text-shadow: 2px 2px 3px #2c4869;
  }

    div#front-mission span {
      color: #fff;
      display: block;
      font-size: 32px;
			margin: 0 0 20px 0;
    }
		
	div#front { overflow: hidden }

	a.front {
		background-position: top left;
		background-repeat: none;
		display: block;
		float: left;
		height: 220px;
		margin: 0 0 0 1px;
		overflow: hidden;
		text-indent: -999px;
	}

  a#front-news {
  	background-image: url('images/front-news.png');
		width: 238px;
 	}

  a#front-archive {
    background-image: url('images/front-archive.png');
    width: 239px;
  }

  a#front-application {
    background-image: url('images/front-application.png');
    width: 240px;
  }
	
div#front .block {
	background: url('images/front-block-bg.jpg') no-repeat top left;
	float: left;
	font-family: "Times New Roman", Times, serif;
	height: 220px;
	margin: 0 1px 0 0;
	width: 239px;
}

  div.view-front-slide-show {
		padding: 10px 0 0 10px;
	}
	
	div#front p {
		color: #D4CEAC;
		font-size: 13px;
		line-height: 14px;
		margin: 0 20px;
	}
	
	div#front a {
		color: #fff;
	}
	
	img.front-icon {
		margin: 30px 0 0 0;
		position: relative;
	}
	
	div#front h3 {
		color: #fff;
		font-size: 22px !important;
		font-weight: normal;
		margin: 0;
		padding: 0;
    text-shadow: 1px 1px 2px #4F4D36;
	}
	
	  div#front h3 a {
			color: #fff;
			text-decoration: none;
		}

/**
 * gallery
 */
div.field-field-album-photos a {
	background: #cdc7a3;
	display: block;
	float: left;
	margin: 5px;
	padding: 7px;
}

  div.field-field-album-photos a:hover {
		background: #afa883;
	}

	div.field-field-album-photos img {
		display: block;
	}
	
div.view-id-gallery {
	overflow: hidden;
}
	
	div.view-id-gallery .views-row {
		background: #cdc7a3;
		float: left;
		height: 200px;
		margin: 0 10px 10px 0;
		padding: 5px;
		position: relative;
		width: 300px;
	}
		
		div.view-id-gallery .views-field-title a {
			background: #091B2F;
			color: #fff;
			display: block;
			font-size: 13px;
			padding: 5px;
			position: absolute;
				left: 5px;
				bottom: 5px;
			width: 290px;
		}
		
		  div.view-id-gallery .views-field-title a:hover { text-decoration: underline }
		
		div.view-id-gallery .views-field-view-node a {
			display: block;
			height: 64px;
			overflow: hidden;
			position: absolute;
			  bottom: 5px;
				right: 5px;
		  text-indent: -999px;
			width: 64px;
		}
	
/**
 * news
 */
div.view-news .views-row {
  border-bottom: 1px solid #CFCAA5;
  margin: 0 0 20px 0;
  padding: 0 0 20px 0;
}

  div.view-news .views-row-last {
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  div.views-field-title a {
    color: #1a324d;
    font-size: 18px;
    text-decoration: none;
  }
    div.views-field-title:hover { text-decoration: underline }

/**
 * calendar
 */
.calendar-calendar div.date-nav {
  background-color: #b7b289 !important;
  border: 1px solid #b7b289 !important;
  color: #fff !important;
}

  .calendar-calendar div.date-nav a,
  .calendar-calendar div.date-nav h3 {
    color: #fff !important;
  }

.calendar-calendar th.days {
  background-color: #CAC39D !important;
  border: 1px solid #CAC39D !important;
  color: #000 !important;
}

.calendar-calendar tr {
  background-color: transparent !important;
  border: none !important;
  margin:0;
  padding:0;
}

  .calendar-calendar td {
		background: #fff;
    border-right: 1px solid #ded9bb !important;
    border-bottom: 1px solid #ded9bb !important;
    border-top: none !important;
    border-left: none !important;
  }

  .calendar-calendar td.empty {
    background: transparent !important;
    border-color: transparent !important;
  }

/**
 * drupal
 */
.messages {
	border: none !important;
  margin: 0 0 20px 0 !important;
  color: #fff !important;
  padding: 10px !important;
}

  .messages.status {
    background: #385B83;
  }

  .messages.error {
    background: #7F0F14;
  }

.tabs {
  border: none !important;
  position: absolute;
    right: 0;
    top: 0;
  margin: 0 !important;
  padding: 0 !important;
}

  .tabs li {
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

    .tabs a {
      background: transparent !important;
      border: none !important;
      float: left;
      margin: 0 !important;
      padding: 2px 6px !important;
    }

      .tabs a:hover {
        background: #E0DBBE !important;
        color: #000;
      }

      .tabs a.active {
        background: #CFC9A5 !important;
        color: #000 !important;
        font-weight: bold;
      }
	
/**
 * misc
 */
.views-field-field-front-slide-image-fid {
	width: 200px;
}