/*  ----------------------
    Your Customised Styles
    ---------------------- */

/* -------------------------------------------------- 
   Table of Contents
-----------------------------------------------------
:: Shared Styles
:: Layout
:: Content
:: Media Queries
*/


/* -----------------------------------------
   Shared Styles
----------------------------------------- */

@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,700);

body {
	background-color:#ECECEC;
	padding-bottom:0;
}

#container {background: #ffffff; /* Old browsers */
	background: -moz-linear-gradient(top, #ffffff 0%, #ececec 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#ececec)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #ffffff 0%,#ececec 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #ffffff 0%,#ececec 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #ffffff 0%,#ececec 100%); /* IE10+ */
	background: linear-gradient(top, #ffffff 0%,#ececec 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ececec',GradientType=0 ); /* IE6-9 */
	margin-top:3px;
}

small {
	font-size: 75%;
	line-height: 75%;
}

h1, h2, h3, h4, h5, h6, .brand {
	font-family: 'Open Sans', sans-serif;
}

h1,
.post-box h1 {
  font-size: 2.5rem;
}
h2,
.post-box h2 {
  font-size: 2.2rem;
}
h3,
.post-box h3 {
    font-size: 2.0rem;
}
h4,
.post-box h4 {
    font-size: 1.8rem;
}
h5,
.post-box h5 {
	font-size: 1.6rem;
}
h6 {
  font-size: 1.4rem;
}
.post-box h1,
.post-box h2,
.post-box h3,
.post-box h4,
.post-box h5,
.post-box h6 {
	margin-bottom: 1rem;
}
a {
	color: #445874;
	font-weight:bold;
}

h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
	color:#333333;
}

.button {
	background-color: #F8F8F8;
	background: -moz-linear-gradient(top,  #ffffff 0%, #dedede 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#dedede));
	background: -webkit-linear-gradient(top,  #ffffff 0%,#dedede 100%);
	background: -o-linear-gradient(top,  #ffffff 0%,#dedede 100%);
	background: -ms-linear-gradient(top,  #ffffff 0%,#dedede 100%);
	background: linear-gradient(to bottom,  #ffffff 0%,#dedede 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#dedede',GradientType=0 );
  border: 1px solid #CCCCCC;
	color: #333333;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}
.button:hover,
.button:focus {
	background-color: #F8F8F8;
	background: -moz-linear-gradient(top,  #F8F8F8 0%, #D9D9D9 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#F8F8F8), color-stop(100%,#D9D9D9));
	background: -webkit-linear-gradient(top,  #F8F8F8 0%,#D9D9D9 100%);
	background: -o-linear-gradient(top,  #F8F8F8 0%,#D9D9D9 100%);
	background: -ms-linear-gradient(top,  #F8F8F8 0%,#D9D9D9 100%);
	background: linear-gradient(to bottom,  #F8F8F8 0%,#D9D9D9 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#F8F8F8', endColorstr='#D9D9D9',GradientType=0 );
	border-color:#BBBBBB;
	color: #333333;
}
.small.button {
	font-size:13px;
}


/* -----------------------------------------
   Layout
----------------------------------------- */

.logo {
	font-size:36px;
	font-weight:bold;
}
.subheader {
	font-size:10px;
	margin-top:-11px;
}

dl.nav dd a {
	color:#FFF;
}
dl.nav dd a:hover {
	background-color:#3789c4;
}

dl.nav dd.current-menu-item a,
dl.nav dd.current-post-ancestor a,
dl.nav dd.current-menu-parent a,
dl.nav dd.current-post-parent a {
	background: #FFF;
	color: #445874;
	-webkit-box-shadow: inset 0px 0px 1px 0px #000000;
	-moz-box-shadow: inset 0px 0px 1px 0px #000000;
	box-shadow: inset 0px 0px 1px 0px #000000;
}

div.reverie-header {
	margin: 0;
	border-bottom: none;
}

nav {
	background: #217cbe; /* Old browsers */
  background: -moz-linear-gradient(top,  #217cbe 0%, #217cbe 49%, #0e71b8 50%, #0e71b8 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#217cbe), color-stop(49%,#217cbe), color-stop(50%,#0e71b8), color-stop(100%,#0e71b8)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #217cbe 0%,#217cbe 49%,#0e71b8 50%,#0e71b8 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #217cbe 0%,#217cbe 49%,#0e71b8 50%,#0e71b8 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #217cbe 0%,#217cbe 49%,#0e71b8 50%,#0e71b8 100%); /* IE10+ */
	background: linear-gradient(top,  #217cbe 0%,#217cbe 49%,#0e71b8 50%,#0e71b8 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#217cbe', endColorstr='#0e71b8',GradientType=0 ); /* IE6-9 */
	-webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}
dl.nav {
	padding:11px 3px 11px 3px;
}

dl.nav dd {
	position:relative;
}

dl.nav dd a {
	-webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  border-radius: 12px;
}

dl.nav .sub-menu {
	display:none;
	position: absolute;
	top:21px;
	left:0px;
	z-index: 2;
	background-color:#0E71B8;
	padding:10px 0px 5px 0px;
	width:150px;
	-webkit-border-bottom-right-radius: 3px;
  -webkit-border-bottom-left-radius: 3px;
  -moz-border-radius-bottomright: 3px;
  -moz-border-radius-bottomleft: 3px;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
}
dl.nav dd:hover > .sub-menu,
dl.nav dd.hover > .sub-menu {
	display:block;
}
dl.nav .sub-menu dd {
	display:block;
}
dl.nav .sub-menu dd a {
	display:block;
	margin-right:6px;
}
dl.nav dd .sub-menu .sub-menu {
	left:147px;
	top:-5px;
	padding-top:5px;
	-webkit-border-radius: 3px;
	-webkit-border-top-left-radius: 0;
	-webkit-border-bottom-left-radius: 0;
	-moz-border-radius: 3px;
	-moz-border-radius-topleft: 0;
	-moz-border-radius-bottomleft: 0;
	border-radius: 3px;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

dl.nav dd.current-menu-item .sub-menu dd a,
dl.nav dd.current-post-ancestor .sub-menu dd a,
dl.nav dd.current-menu-parent .sub-menu dd a,
dl.nav dd.current-post-parent .sub-menu dd a {
  background: none repeat scroll 0 0 #0E71B8;
  -webkit-box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0);
  box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0); 
  color: #FFFFFF;
}
dl.nav dd.current-menu-item .sub-menu dd a:hover,
dl.nav dd.current-post-ancestor .sub-menu dd a:hover,
dl.nav dd.current-menu-parent .sub-menu dd a:hover,
dl.nav dd.current-post-parent .sub-menu dd a:hover {
	background-color:#3789C4;
}


footer#content-info {
	font-size:11px;
}
footer#content-info .footer-section {
	padding-top:30px;
	padding-bottom:30px;
}
footer#content-info .footer-section h6 {
	margin-bottom:10px;
}


/* HRs */
footer#content-info .row:first-child,
footer#content-info .okf-footer,
.home-posts {
	border-top:solid 1px rgb(218,218,218);
	border-top:solid 1px rgba(0,0,0,0.08);
	position:relative;
}
footer#content-info .row:first-child:before,
footer#content-info .okf-footer:before,
.home-posts:before {
	content:' ';
	height:1px;
	background-color:#FFF;
	display:block;
	position:absolute;
	top:0;
	width:100%;
}


/* Home */
.home-image {
	text-align:center;
}
.home-image img {
	padding-bottom:30px;
}

.home-posts {
	z-index:1;
	padding-bottom:30px;
	margin-top:10px;
}
.home-posts .post {
	display:block;
}
.home-posts .post .image {
	display:block;
	height:135px;
	border:solid 3px #FFF;
	background-color:#FFF;
	background-position:center center;
	margin-top:30px;
	margin-bottom:15px;
	position:relative;
}
.home-posts .post .image:before {
  z-index: -1; 
  position: absolute; 
  content: "";
  bottom: 7px;
  left: 1px;
  width: 98%; 
  top: 50%;
  background: rgba(0, 0, 0, 0.7); 
  -webkit-box-shadow: 0 15px 2px rgba(0,0,0, 0.1);   
  -moz-box-shadow: 0 15px 2px rgba(0, 0, 0, 0.1);
  box-shadow: 0 15px 2px rgba(0, 0, 0, 0.1);
  -webkit-transform: rotate(3deg);    
  -moz-transform: rotate(3deg);   
  -o-transform: rotate(3deg);
  -ms-transform: rotate(3deg);
  transform: rotate(3deg);
}
.home-posts .post .text {
	display:block;
	height:135px;
	padding:3px;
}
.home-posts .post .text h5 {
	font-size:14px;
	font-weight:bold;
}
.home-posts .post .text p {
	color:#333;
	font-weight:normal;
}


/* -----------------------------------------
   Content
----------------------------------------- */

header h2 {
	margin: 18px 0;
	padding-bottom: 17px;
}

.widget_recent_entries li,
.widget_rss li {
	border-top: 1px dotted #CCCCCC;
	display: block;
	padding: 3px 0;
	margin:5px 0px;
}


/* -----------------------------------------
   Media Queries
----------------------------------------- */

@media only screen and (max-width: 767px) {
	dl.nav dt,
  dl.nav dd {
		display:block;
}
}
