/*
 * CUSTOM CSS

 * Redesign: XelaWebDesign.com
 * --------------------------------------------------------------------------
 *  CONTENT:
 * --------------------------------------------------------------------------
 * 01. BASE
 * 02. LAYOUT
 * 03. HEADER
 * 04. NAVIGATION
 * 05. CONTENT
 * 06. SECONDARY NAV
 * 
 * 10. SIDEBAR
 * 11. ATTENTION  BLOCK
 *
 * 20. COMMON
 *
 * COLORS:
 * -------------------------------------------------------------------------- 
 * BLUE: #00001a #000066 (BASE) #0000b3
 * ORANGE: #ff2600 #FF6600 (BASE) #ffa600 
 * Blue split:  #0019ff darker: #0011b3 lighter: #4d5eff
 *
 * FONT SIZE:
 * -------------------------------------------------------------------------- 
 *  font-size: 2.143em;
 *  font-size: 2.000em;
 *  font-size: 1.500em;
 *  font-size: 1.250em;
 *  font-size: 1.125em;
 *  font-size: 1.063em;
 *  font-size: 1.000em;
 *  font-size: 0.750em;
 *  font-size: 0.625em;
 *
 */
 
/* =============================================================================
    01. BASE
   ========================================================================== */
html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  line-height: 1.5;
  height: 100%;
  overflow-y: scroll;
}

body {
	margin: 0;
	min-height: 100%;
	background-image: url(../images/sketch.gif);
	color: #000046;
	font-family: "Trebuchet MS", "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size: 87.5%;
	padding-top: 10px;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 0;
	background-repeat: repeat;
}
h1 {
	font-size: 2em;
	margin: 0 0 0.27em 0;
}

h2 {
  font-size: 1.5em;
  margin: 0.53em 0;
}

/* =============================================================================
    02. LAYOUT
   ========================================================================== */
#container {
	width: 800px;
	background: #fff;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
}

#content-container {
	float: left;
	width: 800px;
	background: #fff url(/wp-content/uploads/layout-two-fixed-background.gif) repeat-y 100% 0;
}

#content {
	clear: left;
	float: left;
	width: 540px;
	padding: 20px 0;
	margin: 0 0 0 20px;
	display: inline;
}

#aside {
	float: right;
	width: 190px;
	padding: 20px 0;
	margin: 0 20px 0 0;
	display: inline;
}

#secondary {
	width: 760px;
	margin-left: 10px;
	margin-right: 10px;
	background-color: #CCC;
	clear: both;
	padding: 10px;
	margin-bottom: 30px;
	background: -moz-linear-gradient(top,  rgba(234,234,234,1) 0%, rgba(234,234,234,0.99) 1%, rgba(255,255,255,0) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(234,234,234,1)), color-stop(1%,rgba(234,234,234,0.99)), color-stop(100%,rgba(255,255,255,0))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(234,234,234,1) 0%,rgba(234,234,234,0.99) 1%,rgba(255,255,255,0) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(234,234,234,1) 0%,rgba(234,234,234,0.99) 1%,rgba(255,255,255,0) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(234,234,234,1) 0%,rgba(234,234,234,0.99) 1%,rgba(255,255,255,0) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(234,234,234,1) 0%,rgba(234,234,234,0.99) 1%,rgba(255,255,255,0) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eaeaea', endColorstr='#00ffffff',GradientType=0 ); /* IE6-9 */

}

#content-gallery {
	width: 775px;
	margin: 20px;
}

#secondary img,
#content-gallery img {
    float: left;
    margin-bottom: 5px;
    margin-left: 3px;
}

#content-gallery h2 {
	clear:both;
    padding-top: 20px;
}

#footer {
	clear: both;
	background: #00001a;
	font-size: 0.750em;
	text-align: right;
	padding: 10px;
	height: 1%;
	color: #CCC;
}

/* =============================================================================
    03. HEADER
   ========================================================================== */

#header {
	border: 5px solid #000066;
	width: 790px;
	background-image: url(../images/banner.gif);
	background-repeat: no-repeat;
	background-position: center top;
	height: 120px;
}

/* =============================================================================
    04. NAVIGATION
   ========================================================================== */

#navigation {
	float: left;
	width: 800px;
	background: #FF6600;
	margin: 5px 0;
	border-bottom-width: 3px;
	border-bottom-style: solid;
	border-bottom-color: #C61E00;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #FF9900;
}

ul.main-nav {
	margin: 0;
	padding: 0;
}

#navigation ul li {
	list-style-type: none;
	display: inline;
}

#navigation li a {
	display: block;
	float: left;
	padding: 7px 10px;
	color: #fff;
	text-decoration: none;
	border-right: 1px solid #fff;
	text-transform: uppercase;
	font-family: Arial, Helvetica, sans-serif;
}

#navigation li a:hover,
#navigation li a.current { 
	background: #ffa600; 
}

.header-contacts {
	float: right;
	margin-right: 10px;
	background-image: url(../images/sprite.png);
	padding-left: 35px;
	color: #FFF;
	font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
	font-size: 1.7500em;
	font-style: italic;
	background-repeat: no-repeat;
	background-position: 0px 5px;
}

/* =============================================================================
    05. CONTENT
   ========================================================================== */


/* =============================================================================
    06. SECONDARY NAV
   ========================================================================== */
.nav {
	display: block;
	width: 100%;
	overflow: hidden;
}
ul.nav  {
	list-style: none;
	padding: 0;
}
.nav li {
	float:left;
}
.nav a {
	float:left;
	padding: .5em 1.0em;
	text-decoration: none;
	color: #0019ff;
	text-shadow: 0 1px 0 rgba(255,255,255,.5);
	letter-spacing: 1px;
	border-width: 1px;
	border-style: solid;
	border-color: #d7d7d6;
	background: rgb(226,226,226); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(226,226,226,1) 0%, rgba(219,219,219,1) 50%, rgba(209,209,209,1) 51%, rgba(254,254,254,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(226,226,226,1)), color-stop(50%,rgba(219,219,219,1)), color-stop(51%,rgba(209,209,209,1)), color-stop(100%,rgba(254,254,254,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(226,226,226,1) 0%,rgba(219,219,219,1) 50%,rgba(209,209,209,1) 51%,rgba(254,254,254,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(226,226,226,1) 0%,rgba(219,219,219,1) 50%,rgba(209,209,209,1) 51%,rgba(254,254,254,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(226,226,226,1) 0%,rgba(219,219,219,1) 50%,rgba(209,209,209,1) 51%,rgba(254,254,254,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(226,226,226,1) 0%,rgba(219,219,219,1) 50%,rgba(209,209,209,1) 51%,rgba(254,254,254,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e2e2e2', endColorstr='#fefefe',GradientType=0 ); /* IE6-9 */

}

.nav a:hover, .nav a:focus {
	outline: 0;
	color: #fff;
	text-shadow: 0 1px 0 rgba(0,0,0,.2);
	background: rgb(209,209,209); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(209,209,209,1) 39%, rgba(226,226,226,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(39%,rgba(209,209,209,1)), color-stop(100%,rgba(226,226,226,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(209,209,209,1) 39%,rgba(226,226,226,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(209,209,209,1) 39%,rgba(226,226,226,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(209,209,209,1) 39%,rgba(226,226,226,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(209,209,209,1) 39%,rgba(226,226,226,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d1d1d1', endColorstr='#e2e2e2',GradientType=0 ); /* IE6-9 */
}

.nav li:first-child a {
	border-left: 0;
	-moz-border-radius: 3px 0 0 3px;
	-webkit-border-radius: 3px 0 0 3px;
	border-radius: 3px 0 0 0;
}
.nav li:last-child a {
	border-right: 0;
	-moz-border-radius: 0 3px 3px 0;
	-webkit-border-radius: 0 3px 3px 0;
	border-radius: 0 3px 0 0;
}





/* =============================================================================
    10. SIDEBAR
   ========================================================================== */
.sidebar-block {
	border: 1px solid #fff;
	background: rgb(255,255,255); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(255,255,255,1) 0%, rgba(237,237,237,1) 9%, rgba(243,243,243,1) 50%, rgba(255,255,255,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(9%,rgba(237,237,237,1)), color-stop(50%,rgba(243,243,243,1)), color-stop(100%,rgba(255,255,255,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(237,237,237,1) 9%,rgba(243,243,243,1) 50%,rgba(255,255,255,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(237,237,237,1) 9%,rgba(243,243,243,1) 50%,rgba(255,255,255,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(237,237,237,1) 9%,rgba(243,243,243,1) 50%,rgba(255,255,255,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(237,237,237,1) 9%,rgba(243,243,243,1) 50%,rgba(255,255,255,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
	-webkit-box-shadow: 0 0 2px 2px rgba(0,0,0,0.1);
	box-shadow: 0 0 2px 2px rgba(0,0,0,0.1);
}
.sidebar-block h3 {
	font-family: Arial, Helvetica, sans-serif;
	color: #FF6600;
	background-color: #000066;
	text-align: center;
	padding: 5px;
	margin: 0;
}
.sidebar-block p {
	font-size: 0.85em;
	color: #666;
	padding: 10px;
}

/* =============================================================================
    11. ATTENTION  BLOCK
   ========================================================================== */
.attention-block {
	border: 1px solid #fff;
	background: rgb(255,255,255); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(255,255,255,1) 0%, rgba(237,237,237,1) 9%, rgba(243,243,243,1) 50%, rgba(255,255,255,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(9%,rgba(237,237,237,1)), color-stop(50%,rgba(243,243,243,1)), color-stop(100%,rgba(255,255,255,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(237,237,237,1) 9%,rgba(243,243,243,1) 50%,rgba(255,255,255,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(237,237,237,1) 9%,rgba(243,243,243,1) 50%,rgba(255,255,255,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(237,237,237,1) 9%,rgba(243,243,243,1) 50%,rgba(255,255,255,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(237,237,237,1) 9%,rgba(243,243,243,1) 50%,rgba(255,255,255,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
	-webkit-box-shadow: 0 0 2px 2px rgba(0,0,0,0.1);
	box-shadow: 0 0 2px 2px rgba(0,0,0,0.1);
}
.attention-block h2 {
	font-family: Arial, Helvetica, sans-serif;
	color: #FF6600;
	background-color: #000066;
	text-align: left;
	padding: 5px;
	margin: 0;
}
.attention-block p {
	font-size: 1rem;
	color: #666;
	padding: 10px;
}

/* =============================================================================
    20. COMMON
   ========================================================================== */

/* More robust element-invisible and element-focuable classes */
.element-invisible {
  border: 0;
  clip: rect(1px 1px 1px 1px);
  /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}
hr {
	margin-bottom: 40px;
}