/*
Theme Name: Bota
Theme URI: http://www.templateexpress.com/bota-theme/
Author: Ossie Heffell
Author URI: http://www.templateexpress.com/
Description: Bota is a fully responsive and highly customizable WordPress Theme. Add your own logo, header, background, featured areas, social links and much more.
Version: 1.7
License: GNU General Public License v2.0
License URI: ​http://www.gnu.org/licenses/gpl-2.0.html
Tags: light, white, one-column, two-columns, right-sidebar, fluid-layout, custom-header, custom-menu, featured-images, flexible-header, microformats, post-formats, rtl-language-support, threaded-comments, translation-ready, theme-options, full-width-template, black, responsive-layout

This theme, like WordPress, is licensed under the GPL.

Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
and Blueprint http://www.blueprintcss.org/
*/

/*
Bota WordPress Theme, Copyright 2013 Ossie Heffell
Bota Theme is distributed under the terms of the GNU GPL
*/


/* =Reset
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
}
html {
	font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
	overflow-y: scroll; /* Keeps page centred in all browsers regardless of content height */
	-webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
	-ms-text-size-adjust: 100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}
body {
	background: #666;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
	display: block;
}
ol, ul {
	list-style: disc;
}

table { /* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
a:focus {
	outline: thin dotted;
}
a:hover,
a:active { /* Improves readability when focused and also mouse hovered in all browsers people.opera.com/patrickl/experiments/keyboard/test */
	outline: 0;
}
a img {
	border: 0;
}


/* =Global
----------------------------------------------- */

body,
button,
input,
select,
textarea {
	color: #999;	
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 16px;
	font-size: 1.6em;
	line-height: 1.9;
}

.site {
    width: 100%;
}

body {
	background: #EEE;
}

/* Headings */
h1,h2,h3,h4,h5,h6 {
	clear: both;
	margin: 0;
}
h1 {
	font-size: 41.887px;
    font-size: 2.618em;
    line-height: 1.3;
	color: #fcb219;
}
h2 {
	font-size: 1.8em;
	color: #fcb219;
}
h3 {
	font-size: 1.4em;
	color: #fcb219;
    line-height: 1.5;
    font-weight: bold;
}
h4 {
	font-size: 18px;
	color: #fcb219;
}
h5 {
	font-size: 18px;
	color: #fcb219;
}
h6 {
	font-size: 18px;
	color: #fcb219;
}
h7 {
	font-size: 18px;
	color: #213e79;
}
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

/* Text elements */
p {
	margin-bottom: 1em;
    max-width: 650px;
    font-size: 1.2em;
}
ul, ol {
	margin: 0 0 1.5em 0.5em;
}
ul {
	list-style: none;
}
ol {
	list-style: decimal;
}
ul ul, ol ol, ul ol, ol ul {
	margin-bottom: 0;
	margin-left: 1.5em;
}
dt {
	font-weight: bold;
}
dd {
	margin: 0 1.5em 1.5em;
}
b, strong {
	font-weight: bold;
}
dfn, cite, em, i {
	font-style:normal;
}
blockquote {
	font-style: italic;
	margin: 0 1.5em;
}
address {
	margin: 0 0 1.5em;
}
pre {
	background: #dfd6c7;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	padding: 1.6em;
	overflow: auto;
	max-width: 100%;
}
code, kbd, tt, var {
	font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}
mark, ins {
	background: #fff9c0;
	text-decoration: none;
}
sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}
small {
	font-size: 75%;
}
big {
	font-size: 125%;
}
figure {
	margin: 0;
}
table {
	margin: 0 0 1.5em;
	width: 100%;
}
th {
	font-weight: bold;
}
button,
input,
select,
textarea {
	font-size: 100%; /* Corrects font size not being inherited in all browsers */
	margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
	vertical-align: baseline; /* Improves appearance and consistency in all browsers */
	*vertical-align: middle; /* Improves appearance and consistency in all browsers */
}
button,
input {
	line-height: normal; /* Addresses FF3/4 setting line-height using !important in the UA stylesheet */
	*overflow: visible;  /* Corrects inner spacing displayed oddly in IE6/7 */
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
	-webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
	font-size: 12px;
	font-size: 1.4rem;
	line-height: 1;
	padding: 1.12em 1.5em 1em;
}
button:hover,
html input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	}
button:focus,
html input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
html input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
}
input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box; /* Addresses box sizing set to content-box in IE8/9 */
	padding: 0; /* Addresses excess padding in IE8/9 */
}
input[type="search"] {
	-webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
	-moz-box-sizing: content-box;
	-webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
	box-sizing: content-box;
}
input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
	-webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
	border: 0;
	padding: 0;
}
input[type=text],
input[type=email],
textarea {
	background: rgba( 255, 255, 255, 0.3 );
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 6px;
}
input[type=text]:focus,
input[type=email]:focus,
textarea:focus {
	background: #fff;
}
textarea {
	overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
	padding-left: 3px;
	vertical-align: top; /* Improves readability and alignment in all browsers */
	width: 98%;
}

/* Links */
a,
a:visited {
	color: #FCB219;
	text-decoration: none;
	transition: all .3s ease-in-out;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	font-weight: bold;
}
a:hover{
	color: #203d78;
}
a:focus,
a:active {
	color: #666;
}


/* Alignment */
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
	margin-bottom: 1em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
	margin-bottom: 1em;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 1.5em auto;
}

/* Text meant only for screen readers */
.assistive-text {
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}

.site-title,
.entry-title,
.page-title,
.entry-content,
.entry-summary,
.widget-title,
.comments-title,
.comment .reply,
.comment-meta,
.comment-author,
#reply-title {
	font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
}

.widget h4{
	padding: 4px;
	font-size: 14px;
	font-size: 1.4rem;
	font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
    padding-bottom: 20px;
    text-align: center;
}

.widget li{
	padding-bottom: 1px;
	padding-top: 5px;
	
}

.widget li a{
	color: #FFF;
}

.widget li a:hover{
	color: #CCC;
}

#calendar_wrap{
	padding-left: 6px;
}

#calendar_wrap a{
	color: #FFF;
}

#calendar_wrap a:hover{
	color: #CCC;
}

.textwidget{
	padding-left: 6px;
}
#secondary li, #tertiary li{
	padding-bottom: 15px;
	padding-top: 15px;
	border-bottom: 4px solid #203D78;
	color: #999;
	 font-weight: bold;
}

.current_page_parent {
    border-bottom: none !important;
}

#secondary li a{
	color: #FCB219;

}
#secondary li a:hover{
	color: #203D78;
}

#tertiary li a{
	color: #999;
}

#tertiary li a:hover{
	color: #333;
}


/* =Structure
----------------------------------------------- */

#wrap {
	margin: 10px auto;
	padding: 0;
	position: relative;
	max-width: 1280px;
	background-color: #FFF;
	box-shadow: 0 4px 4px rgba(0,0,0,.2); -webkit-box-shadow: 0 4px 4px rgba(0,0,0,.2); -moz-box-shadow: 0 4px 4px rgba(0,0,0,.2); -o-box-shadow: 0 4px 4px rgba(0,0,0,.2);
}

#topbar {
	background: #404040;
	margin: 0 auto;
	height: 40px;
}

#main,
.main-navigation,
.site-title,
.site-description {
    margin: 0 auto;
	max-width: 960px;
}
#main {
	clear: both;
    overflow: hidden;
}
#primary {
	float: left;
	margin: 0 -27% 0 0;
	padding: 2em;
	width: 94%;
}
#content {
	margin: 0 27% 0 0;
}
#content.fullwidth {margin-right: 0;}
#secondary,
#tertiary {
   	float: right;
   	margin: 2.4em 0.2em 0.4em;
    padding: 1em 1em 0;
    position: relative;
    width: 20%;
	border-radius:0.4em;
}
#tertiary {
	padding-top: 0;
}
.site-footer {
	clear: both;
	margin: 0 auto;
	max-width: 960px;
	background-color: #203d78;
}

/* =Site Header
----------------------------------------------- */

#masthead-wrap {
	margin: 0 auto;
	max-width: 960px;
	padding: 1.4em;
	padding-bottom: 0;
	padding-top: 0;
}
.site-header .site-introduction {
	float: left;
	width: 30%;
	padding-bottom: 10px;
}
.site-title {
	font-size: 30px;
	font-size: 3rem;
}
.site-description {
	font-size: 13px;
	font-size: 1.3rem;	
}
.site-title a,
.site-description {
	color: #000;
}

.site-logo {
	min-height: 70px;
	padding-top: 45px;
    text-align: center;
}

/* =Menu
----------------------------------------------- */

.main-navigation {
    display: block;
	padding-top: 35px;
padding-bottom: 10px;
}
.main-navigation:after {
	clear: both;
	display: block;
}
.main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 5px;
	padding-right: 5px;
	float: left;
    padding-bottom: 10px;
	
}
.main-navigation li {
	display: inline-block;
	position: relative;
}

.main-navigation li:last-child a {
    margin-right: 0;
}

.main-navigation a {
	color: #213e79;
    display: block;
    font-size: 1.1rem;
	font-size: 0.9em;
    font-weight: bold;
    margin-right: 0.93em;
    text-decoration: none;
	text-transform: uppercase;
	font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
}
.main-navigation ul ul {
	background: #203d78;
	display: none;
	float: left;
	position: absolute;
		top: 2.6em;
		left: 0em;
	z-index: 99999;
	padding: 1.5em;
	border-radius: 0.2em;
}

.main-navigation ul ul a {
	padding: 0.3em 0 0.3em 0;
	width: 260px;
	color: #fff;
	
}
.main-navigation ul ul li {
	border-bottom: 1px solid #92b1d3;
}


.main-navigation li:hover > a,
.main-navigation li.current_page_item a,
.main-navigation li.current-menu-item a {
	color: #5273a3;
	display: block;
}

.main-navigation ul ul a:hover {
	
	display: block;
	background-color: #203d78;
	border-radius: 0;
	color: #92b1d3;
}

.main-navigation ul li:hover > ul {
	display: block;
}

.main-navigation ul ul ul {
	left: 100%;
	top: -0.4em;
	margin: 0;
}
.main-navigation ul ul ul a:hover {
	color: #92b1d3;
	display: block;
	background-color: #222;
	border-radius: 0;
}
/* Small menu */
.menu-toggle {
	color: #FFF;
   	cursor: pointer;
    font-size: 1.4rem;
	font-size: 14px;
    font-weight: bold;
    text-align: center;
	background-color: #213e79;
	margin: 0;
	margin-top: 4px;
	padding: 4px;
	border-radius:0.4em;
	font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
}

.main-small-navigation .menu {
	display: none;
	background-color: #FFF;
	border-bottom: 4px solid #CCC;
	padding-top: 10px;
	padding-left: 30px;
	font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
}

.main-small-navigation .menu ul {
	list-style-type:none;
}

.main-small-navigation .menu li a{
	color: #333;
	font-size: 1.4rem;
}

.main-small-navigation li:hover > a,
.main-small-navigation li.current_page_item a,
.main-small-navigation li.current-menu-item a,
.main-small-navigation ul ul a:hover {
	color: #999;
}


/* =Content
----------------------------------------------- */

.site-main {
    background: #fff;
}

.sticky h1{
	border-bottom: 6px solid #333;
	font-size: 20px;
	font-size: 2.0rem;
}
.sticky h1 a{
	color: #333;
}
.sticky h2{
	font-family: Tahoma, Geneva, sans-serif;
	font-size: 12px;
	font-size: 1.2rem;
	margin-bottom: 0;
	border-bottom: 7px solid #333;
}
.sticky h2 a{
	background-color: #333;
	color: #FFF;
	padding: 8px;
	border-radius:0.2em  0.2em 0 0;
	text-transform: uppercase;
}
.hentry {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	margin: 0 0 1.5em;
	padding-bottom: 1.5em;
}
.entry-title,
.page-title {
	font-size: 41.887px;
    font-size: 2.618em;
    line-height: 1.3;
	margin: 0 0 0.2em;
    font-family: 'Raleway';
    color: #5273a3;
    font-weight: bold;
}
.entry-title a {
	text-decoration: none;
}
body.search .page-title,
body.archive .page-title {
  	font-size: 16px;
  	font-size: 1.6rem;
    margin-bottom: 1em;
}
.entry-meta {
	clear: both;
	font-size: 12px;
	font-size: 1.2rem;
}
.byline {
	display: none;
}
.single .byline,
.group-blog .byline {
	display: inline;
}
.entry-content,
.entry-summary {
	margin: 0;
color: #203d78;

}
.entry-content table,
.comment-content table {
	border: 1px solid #d9d9d9;
	border-left-width: 0;
	margin: 0 -0.083em 2.083em 0;
	text-align: left;
	width: 100%;
}
.entry-content tr th,
.entry-content thead th,
.comment-content tr th,
.comment-content thead th {
	border-left: 1px solid #d9d9d9;
	font-weight: bold;
	padding: 0.5em 	1.25em;
}
.entry-content tr td,
.comment-content tr td {
	border: 1px solid #d9d9d9;
  	border-width: 1px 0 0 1px;
	padding: 0.5em 	1.25em;
}
.entry-content tr.odd td,
.comment-content tr.odd td {
	background: #dfd6c7;
}
.page-links {
	clear: both;
	margin: 0 0 1.5em;
}


/* =Aside Post Format
----------------------------------------------- */

.format-aside .entry-content {
	border-left: 4px solid rgba( 0, 0, 0, 0.1 );
	padding-left: 1em;
}


/* =Media
---------------------------------------------- */

.site-header img,
.entry-content img,
.comment-content img,
.widget img {
	max-width: 100%; /* Fluid images for posts, comments, and widgets */
}
.site-header img,
.entry-content img,
.widget-img,
img[class*="align"],
img[class*="wp-image-"],

.wp-caption img {
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}
.site-header img,
.entry-content img,
.widget img,
img.size-full {
	max-width: 100%;
	width: auto; /* Prevent stretching of full-size images with height and width attributes in IE8 */
}
.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
.wp-caption {
	border: 1px solid #ccc;
	max-width: 100%;
}
.wp-caption.aligncenter,
.wp-caption.alignleft,
.wp-caption.alignright,
.wp-caption.alignnone {
	margin-bottom: 1.5em;
}
.wp-caption img {
	display: block;
	margin: 1.2% auto 0;
	max-width: 98%;
}
.wp-caption-text {
	text-align: center;
}
.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}
#content .gallery {
	margin-bottom: 1.5em;
}
.wp-caption-text,

.gallery-caption {
	font-size: 12px;
	font-size: 1.2rem;
}
#content .gallery a img {
	border: none;
	height: auto;
	max-width: 90%;
}
#content .gallery dd {
	margin: 0;
}

/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
	max-width: 100%;
}

.imagerct {
	width: 100%;
}

.post .thumbnail-wrapper {
    max-height: 350px;
    overflow: hidden;
}

/* =Navigation
----------------------------------------------- */

.site-content .site-navigation {
	font-size: 13px;
	font-size: 1.3rem;
	margin: 0 0 1.5em;
	overflow: hidden;
}
.site-content .nav-previous {
	float: left;
	width: 50%;
}
.site-content .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/* =Comments
----------------------------------------------- */

#comments {
	clear: both;
}
.bypostauthor {
}
.comments-title,
#reply-title {
	font-size: 20px;
	font-size: 2rem;
}
.commentlist li {
	list-style: none;
}

.commentlist,
.children {
	list-style: none;
	margin: 0;
}
.children {
	margin: 0 0 0 6%;
}
.commentlist li.comment,
.commentlist li.pingback {
	border-bottom: 1px solid rgba( 0, 0, 0, 0.2 );
	padding-left: 2.5em;
	margin-top: 2px;
}
.commentlist .children li,
.commentlist li:last-of-type {
	border: none;
}

article.comment,

li.pingback {
	overflow: hidden;
	padding: 2.5em 0 0.7em;
    position: relative;
}
.children article.comment,
.children li.pingback {
	padding-top: 1.0em;
}
.comment .avatar {
	float: left;
	margin-right: 1.25em;
}
.comment-author {
	font-size: 14px;
	font-size: 1.4rem;
	color: #333;
}
.comment-meta {
	font-size: 12px;
	font-size: 1.2rem;
}
.comment-content{
	font-size: 13px;
	font-size: 1.3rem;
	margin: 1em 0 0 4.5em;
}
.reply { 
	float:right;
	margin:0 10px 10px 0;
	text-align:center;
	background-color: #333;
	border:1px solid #000;
	border-radius:0.2em;
	padding:3px;
	width:50px;
}
.comment article {
	padding-bottom:2.79rem;
}

a.comment-reply-link,
a.comment-edit-link {
	color: #FFFFFF;
	font-size: 12px;
	font-size: 1.2rem;
	line-height: 1.8;
	text-decoration:none;
}

a.comment-reply-link:hover,
a.comment-edit-link:hover {
	color: #f6e7d7;
}
li.pingback {
	font-weight: bold;
}
li.pingback a {
	font-weight: normal;
}

/* Comment Form */
.comment-notes,
#commentform .form-allowed-tags,
p.nocomments,
p.logged-in-as,
#commentform label {
	font-size: 13px;
	font-size: 1.3rem;
}
.required {
	color: #880000;
}
#commentform label {
	font-weight: bold;
	padding: 1em 0;
}
#commentform input[type="text"] {
	margin-left: 0.5em;
}
#commentform #comment {
	margin-top: 0.6em;
}
#commentform .form-allowed-tags,
#commentform .form-allowed-tags code {
	font-size: 11px;
	font-size: 1.1rem;
}
p.nocomments {
	margin: 2.5em;
}

/* =Widgets
----------------------------------------------- */

.widget {
	font-size: 12px;
	font-size: 1.2rem;
	line-height: 1.5;
	
}

.widget-title {
	color: #213E79;
	font-size: 18px;
	font-size: 1.8rem;
	margin: 0 0 6px 6px;
	font-weight: bold;
}

/* Search widget */

#searchsubmit {
	display: none;
}

#helpfullinks li{
	padding-bottom: 5px;
	padding-top: 5px;
	border-bottom: 1px solid #EFEFEF;
	color: #999;
}

#helpfullinks li a{
	color: #999;
}
#helpfullinks li a:hover{
	color: #333;
}

/* =Site Footer
----------------------------------------------- */

.site-info {
	font-size: 13px;
	font-size: 1.3rem;
	padding: 0;
	text-align: center;
	color: #000;
	background-color: #fbb016;
	font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
}
.site-info a{
	color: #AAA;
}
.site-footer .widget p{
	color: #fff;
}
.site-footer .widget{
	padding: 0 5px;
}

/* =Responsive Structures
----------------------------------------------- */

@media only screen and (max-width: 800px) {

	#main {
		overflow: visible;
	}
	#content,
	#primary,
	#secondary,
	#tertiary {
		background: none;
		float: none;
		margin: 0;
		padding: 0;
	}
	#primary,
	#secondary,
	#tertiary {
		width: 100%;
	}
	.site-header site-introduction,
	#main {
		padding: 0.8em;
	}
	.main-navigation {
	width: 100%;
	padding-top: 0;
}
}

/* --- Smartphones (portrait and landscape) --- */

@media screen and (max-width : 480px) {

	#masthead .site-introduction {
		float: none;
		padding: 0;
		width: 100%;
	}
}

/* --- IPhone5 (portrait and landscape) --- */

@media screen and (max-width : 568px) {

	#masthead .site-introduction {
		float: none;
		padding: 0;
		width: 100%;
	}
}

/* =IE Styles
----------------------------------------------- */

#ie8 .site-header img,
#ie8 .entry-content img,
#ie8 img.size-full,
#ie8 .entry-thumbnail img,
#ie8 .widget img,
#ie8 .wp-caption img {
	width: auto; /* Prevent stretching of full-size images with height and width attributes in IE8 */
}

/************************************************************************************
MEDIA QUERIES
*************************************************************************************/
/* for 980px or less */
@media screen and (max-width: 980px) {
	
	#wrap {
		padding:0;
		width: 98%; 	
	}
	
}

/* for 600px or less */
@media screen and (max-width: 600px) {
	
	.social-media, 
	#branding img {
		display: none;
	}
	
	#topbar {
		display: none;
	}
	
	.header-image {
		width:96%;
		margin-top: 6px;
		margin-left: auto;
    	margin-right: auto;
	}

	
	.site-main {
    border: 0;
}
}



/* =Genericons
 * Genericons are vector icons embedded in a webfont designed to be clean and simple 
 * keeping with a generic aesthetic.
 * More info at http://genericons.com/
-------------------------------------------------------------- */

/**
 * The font was graciously generated by Font Squirrel (http://www.fontsquirrel.com)
 */
@font-face {
    font-family: 'Genericons';
    src: url('font/genericons-regular-webfont.eot');
    src: url('font/genericons-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('font/genericons-regular-webfont.woff') format('woff'),
         url('font/genericons-regular-webfont.ttf') format('truetype'),
         url('font/genericons-regular-webfont.svg#genericonsregular') format('svg');
    font-weight: normal;
    font-style: normal;
}


.genericon, .genericon:visited {
	color: #FFF;
	display: inline-block;
	-webkit-font-smoothing: antialiased;
	font-size: 24px;
	font-size: 2.4rem;
	line-height: 1;
	font-family: 'Genericons';
	text-decoration: inherit;
	font-weight: normal;
	font-style: normal;
	vertical-align: middle;
}
.genericon:hover {
	color: #CCC;
}

/**
 * IE7 and IE6 hacks
 */


.genericon {
	*overflow: auto;
	*zoom: 1;
	*display: inline;
}


/* Social icons */
.genericon-github:before { content: '\f200'; }
.genericon-dribbble:before { content: '\f201'; }
.genericon-twitter:before { content: '\f202'; }
.genericon-facebook-alt:before { content: '\f204'; }
.genericon-googleplus:before { content: '\f206'; }
.genericon-linkedin:before { content: '\f207'; }
.genericon-pinterest:before { content: '\f209'; }
.genericon-flickr:before { content: '\f211'; }
.genericon-vimeo:before { content: '\f212'; }
.genericon-youtube:before { content: '\f213'; }
.genericon-tumblr:before { content: '\f214'; }

/* Social Media icons
------------------------------------------------------ */
.social-media {
	list-style: none;
	position: absolute;
	top: 10px; right: 4px;	
}
.social-media li {
	float: left;
	padding: 0 5px;
	position: relative;
}
.social-media a {
	display: block;
	height: 24px;
	width: 24px;
}

/* Custom Home featured areas
------------------------------------------------------ */
.featuretext_top {
	background-color: #fff;
	padding: 0;
	margin: 0 auto;
max-width: 960px;
text-align:center;
	
}

.featuretext_top h3{
	font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
	color: #203d78;
	text-align:center;
	font-size:1.2em;
}
.featuretext_top p{
	font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
	background-color: #fff;
	text-align:center;
	font-size:16px;
	color: #777; 
}


.featuretext {
	font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
	background-color: #f5f5f5;
	padding: 20px;
    text-align: center;
    height: 310px;
}

.featuretext img {}

.featuretext h3{
	font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
	font-size:1.2em;
    line-height: 1.4;
	color: #333;
	font-weight: bold;
	margin: 0;
    padding-top: 10px;
    text-align: center;
    height: 60px;
}

.featuretext p{
	color: #203D78;
	font-size:1.2rem;
	font-size: 12px;
	text-align: center;
    margin: 0 !important;

}

hr { display: block; height: 0px;
    border: 0; border-top: 6px solid #fcb219;
    margin: 1em 0; padding: 0; }
}

.flex-container {
    margin: 10px;
    max-width: 960px;
}

/* CUSTOM HOMEPAGE WIDGET LAYOUTS */
/*  SECTIONS  ============================================================================= */

.section {
	clear: both;
	padding: 6px;
	margin: 0px;
}

.section_thumbnails {
	clear: both;
	padding: 6px;
	margin: 0px;
}

.section_thumbnails .col{
	margin: 0px;
}


.section_thumbnails h3{
	font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
	display: block;
	margin: 20px 0;
	color: #333;
	font-size: 14px;
	padding-bottom: 5px;
	border-bottom: 1px solid #eee;
}



/*  GROUPING  ============================================================================= */


.group:before,
.group:after {
    content:"";
    display:table;
}
.group:after {
    clear:both;
}
.group {
    zoom:1; /* For IE 6/7 (trigger hasLayout) */
}

.group2 {
text-align:center;
}

/*  GRID COLUMN SETUP   ==================================================================== */

.col {
	display: block;
	float:left;
	margin: 0 0 0 1.6%;
}
.col2 {
	display: -moz-inline-box;
    display:inline-block;
	margin: 1% 0 1% 1.6%;
}
.col:first-child { margin-left: 0; } /* all browsers except IE6 and lower */

.post-thumbnail {
	position: relative;
	float: left;
	width: 70px;
	height: 70px;
	margin-top: 4px;
	border: 1px solid #999;
}

.blog-lists-title {
	position: relative;
	width: 70%;
	display: inline;
	float: left;
	margin-left: 8px;
	font-size: 12px;
	color: #999;
}

.blog-lists-title a{
	color: #333;
}


/*  REMOVE MARGINS AS ALL GO FULL WIDTH AT 480 PIXELS */

@media only screen and (max-width: 480px) {
	.col { 
		margin: 1% 0 1% 0%;
	}
}

/*  GRID OF THREE   ============================================================================= */
	
.span_3_of_3 {
	width: 100%; 
}
.span_2_of_3 {
	width: 66.1%; 
}
.span_1_of_3 {
	width: 32.2%; 
}
/*  GO FULL WIDTH AT LESS THAN 480 PIXELS */

@media only screen and (max-width: 480px) {
	.span_3_of_3 {
		width: 100%; 
	}
	.span_2_of_3 {
		width: 100%; 
	}
	.span_1_of_3 {
		width: 100%;
	}
}

/* of2 */
.span_1_of_2 {
	width: 32.2%; 

}
.span_2_of_2 {
	width: 32.2%; 

}
/*  GO FULL WIDTH AT LESS THAN 480 PIXELS */

@media only screen and (max-width: 480px) {
	.span_1_of_2 {
		width: 100%; 
	}
	.span_2_of_2 {
		width: 100%; 
	}
}/* of 2*/


/*  GRID OF EIGHT   ============================================================================= */
	
.span_8_of_8 {
	width: 100%;
}
.span_7_of_8 {
	width: 87.3%; 
}
.span_6_of_8 {
	width: 74.6%; 
}
.span_5_of_8 {
	width: 61.9%; 
}
.span_4_of_8 {
	width: 49.2%; 
}
.span_3_of_8 {
	width: 36.5%;
}
.span_2_of_8 {
	width: 23.8%; 
}
.span_1_of_8 {
	width: 11.1%; 
}


/*  GO FULL WIDTH AT LESS THAN 480 PIXELS */

@media only screen and (max-width: 480px) {
	.span_8_of_8 {
		width: 100%; 
	}
	.span_7_of_8 {
		width: 100%; 
	}
	.span_6_of_8 {
		width: 100%; 
	}
	.span_5_of_8 {
		width: 100%; 
	}
	.span_4_of_8 {
		width: 100%; 
	}
	.span_3_of_8 {
		width: 100%; 
	}
	.span_2_of_8 {
		width: 100%; 
	}
	.span_1_of_8 {
		width: 100%; 
	}
	.featuretext_top h3{
	font-size:1.2rem;
	font-size:12px;
	padding: 6px;
	}
	.featuretext_top p{
	font-size:1.2rem;
	font-size:12px;
	padding: 6px;
	}
}

.header-image img {
width: 100%;
height: auto;
}

.wc-shortcodes-box.wc-shortcodes-box-secondary * {
    color: #203d78;
}

.wc-shortcodes-one-half, .wc-shortcodes-one-third, .wc-shortcodes-two-third, .wc-shortcodes-three-fourth, .wc-shortcodes-one-fourth, .wc-shortcodes-one-fifth, .wc-shortcodes-two-fifth, .wc-shortcodes-three-fifth, .wc-shortcodes-four-fifth, .wc-shortcodes-one-sixth, .wc-shortcodes-five-sixth {
    box-sizing: border-box;
    float: left;
    margin-bottom: 0;
    margin-left: 2%;
    position: relative;
}

.wc-shortcodes-divider.wc-shortcodes-divider-style-solid {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    border-color: -moz-use-text-color -moz-use-text-color #203d78;
    border-image: none;
    border-style: none none solid;
    border-width: 0 0 4px;
    height: auto;
}

element.style {
    color: #203d78;
    font-weight: inherit;
}


/****** ADDITIONS BY BEN KYLE *******/

.flextext {
    margin: auto;
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    height: 110px;
    text-align: center;
}

@media screen and (width: 480px) {
    .flextext {
        height: 160px;
		position: relative !important;
    }
}

.flextext h3 {
    font-size: 1.3em;
    font-weight: bold;
    line-height: 1.3;
}

@media screen and (min-width: 760px) {
    .flextext h3 {
        font-size: 2em;
        line-height: 1.3;
    }
}

.flextext p {
    font-size: 25.888px;
    font-size: 1.2em;
    color: white;
    display: none;
}

@media screen and (min-width: 480px) {
    .flextext p {
        display: inherit;
    }
}

.coloroverlay {
    background: #213e79;
    opacity: 0.6;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    transition: opacity .15s ease-in-out;
   -moz-transition: opacity .15s ease-in-out;
   -webkit-transition: opacity .15s ease-in-out;    
}

.regionalclinic .coloroverlay {
    background: #000;
    opacity: 0.4;
}

.regionalclinic .coloroverlay:hover {
    opacity: 1;
    transition: opacity .15s ease-in-out;
   -moz-transition: opacity .15s ease-in-out;
   -webkit-transition: opacity .15s ease-in-out;
}

.regionalclinic h4 {
    margin: auto;
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    height: 30px;
    text-align: center;   
    font-size: 1.8em;
    line-height: 1.3;
    padding: 5px;
    color: #fff;
}

.newport h4 {
    height: 60px;
}

.regionalclinic p {
    margin: 0;
}

.regionalclinic .aligncenter {
    margin: 1.5em auto;
    width: 100%;
}

@media screen and (min-width: 480px) {
    .regionalclinic h4 {
        font-size: 1.2em;
    }
    .regionalclinic .aligncenter {
        margin: auto;
        width: auto;
    }
}

@media screen and (min-width: 760px) {
    .regionalclinic h4 {
        font-size: 1.4em;
    }
}

.story .su-note {
    height: auto;
}

@media screen and (min-width: 480px) {
    .story .su-note {
        height: 340px;
    }
}

@media screen and (min-width: 760px) {
    .story .su-note {
        height: 244px;
    }
}

.story {
    padding: 15px;
}

.story img {
    display: block;
    margin: 0 auto;
    padding-bottom: 10px;
    width: 300px;
    height: 210px;
}

.story span {
    display: block;
    text-align: center;
}

.story h4 {
    font-size: 1.2em;
    line-height: 1.4;
}

.page {
    overflow: visible;
}

.page .entry-title {
    text-align: center;
}

.page p {
    margin: 20px auto;
}

.page h1 {
    margin: 0 auto;
    text-align: center;
    max-width: 700px;
}

.page h2 {
    margin: 25px auto 10px auto;
    text-align: center;
    max-width: 700px;
}

.page h3 {
    text-align: center;
}

.page h4 {
    text-align: center;
}

.page h5 {
    text-align: center;
}

.bluebox p {
    max-width: inherit;
    margin: auto;
}

#slider_2146 img {
    border-radius: 50%;
    max-height: 150px;
    width: auto;
    margin: 0 auto;
    text-align: center;
    display: block;
    margin-top: 40px;
}

#slider_2146 h2 {
    font-size: 1.6em;
    line-height: 1.5;
    color: #fcb219;
}

#slider_2146 p {
    font-size: 0.8em;
    max-width: 450px;
}

#slider_2146 .left {
}

#slider_2146 .right {
    padding-top: 15px;
    padding-left: 20px;
}

#slider_2146 .endorse-wrapper {
    max-width: 590px;
    margin: 0 auto;
}

#slider_2146 .right h2 {
    text-align: center;
}

@media screen and (min-width: 760px) {
    #slider_2146 .left {
        float: left;
    }
    
    #slider_2146 .right {
        float: left;
    }
    
    #slider_2146 .right h2 {
        text-align: inherit;
    }
}

.border {
    clear: both;
    border-bottom: 4px solid #fcb219;
}

.secondary-navigation {
width: 100%;
}

.secondary-navigation ul {
    background: #90AFD3;
    padding: 5px;
    padding-left: 15px;
    padding-right: 15px;
    margin: 0 auto;
}

.secondary-navigation li {
    display: inline-block;
}

.secondary-navigation a {
    padding: 0.3em 0.6em 0.3em;
    color: #fff;
    font-size: 0.9em;
}

.secondary-pad a {
    padding: 0.3em 0.9em 0.3em;
}

.secondary-navigation a:hover {
    color: #fcb219;
}


@media screen and (min-width: 980px) {
    .flexslider {
        width: 960px;
        height: 401px;
    }
}

.inline-linkscli {
    background: #213e79;
    width: 101vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding-top: 35px;
    padding-bottom: 35px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.inner-linkcli img {
    max-width: 100%;
}

.inline-imgcli {
    max-height: 119px;
    overflow: hidden;
}

.inline-linkscli h2 {
    font-weight: bold;
    text-align: left;
    max-width: 900px;
    padding-bottom: 15px;
    padding-left: 10%;
    padding-right: 10%;
    margin: 0 auto;
}

.inline-linkscli p {
    margin: 0 !important; 
}

.inline-links {
    background: #213e79;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding-top: 35px;
    padding-bottom: 35px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.inline-links h2 {
    font-weight: bold;
    text-align: left;
    max-width: 900px;
    padding-bottom: 15px;
    padding-left: 10%;
    padding-right: 10%;
    margin: 0 auto;
}

.inline-links p {
    margin: 0 !important; 
}

@media screen and (min-width: 960px) {
    .inline-links h2 {
        padding-left: 0;
        padding-right: 0;
    }
}

.inline-center {
    width: 100%;
    height: 100%;
    text-align: center;
}

.inner-link {
    text-align: left;
}

.inner-link {
    background: #fff;
    display: inline-block;
    width: 200px;
    padding: 10px;
    margin: 0 5px;
    margin-bottom: 30px;
    height: 293px;
    vertical-align: top;
}

@media screen and (min-width: 720px) {
    .inline-link {
        margin-bottom: 0;
    }
}


.inline-img {
    max-height: 80px;
    overflow: hidden;
}

.inner-link img {
    max-width: 200px;
}

.inner-link h3 {
    padding-top: 8px;
}

.inner-link p {
    font-size: 0.9em;
    font-weight: normal;
    color: #213e79;
}

.home .col2 {
    vertical-align: top;
}

.widget_popular_post_widget li {
    line-height: 1.5;
}

.simple-social-icons ul {
    padding-top: 15px !important;
}

.button, input[type="submit"] {
    background-color: #203D78;
    border: none;
    border-radius: 3px;
    color: white !important;
    padding: 15px 32px;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
}

.button:hover {
    color: #fff;
    background-color: #5273a3;
}

.background {
    padding: 5%;
    background: #213e79;
}

.for-clinicians-picker {
    padding: 2%;
    background: #fff;
    border-radius: 3px;
    display: inline-block;
    text-align: center;
}

.for-clinicians-picker h4 {
    padding: 10px;
}

.for-clinicians-picker img {
    display: block;
    margin: 0 auto;
    min-height: 86px;
}

.for-clinicians-picker p {
    font-weight: normal;
    font-size: 16px;
    color: #203d78;
    margin: 0;
    margin-bottom: 20px;
}

.research-picker {
    font-size: 14px;
    line-height: 1.6em;
    padding-bottom: 52px;
}

.research-picker h4 {
    padding: 0;
    margin-bottom: 15px;
}

.research-picker .button {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: 100px;
}

.professional-picker {
    text-align: left;
}

.professional-picker h4 {
    text-align: left;
}

.post-2837 .wc-shortcodes-row {
    display: flex;
}

.padding-top {
    padding-top: 30px;
}

.about-author img {
    float: left;
    max-width: 130px;
    height: auto;
    padding-top: 5px;
}

.about-author h3 {
    text-align: left;
    font-weight: bold;
    color: #5172A5;
}

.about-author p {
    margin: 0;
}

.author-wrap {
    float: left;
    padding-left: 20px;
}

@media screen and (max-width: 991px) {
body .wc-shortcodes-one-half, body .wc-shortcodes-one-third, body .wc-shortcodes-two-third, body .wc-shortcodes-three-fourth, body .wc-shortcodes-one-fourth, body .wc-shortcodes-one-fifth, body .wc-shortcodes-two-fifth, body .wc-shortcodes-three-fifth, body .wc-shortcodes-four-fifth, body .wc-shortcodes-one-sixth, body .wc-shortcodes-five-sixth {
    width: 100%;
    float: none;
    margin-left: 0;
    margin-bottom: 1.5em;
    }}

.contact-form textarea {
    max-height: 200px;
}

.bread_crumb {
    margin:0;
    clear: both;
    height: 20px;
    padding-bottom: 20px;
}
.bread_crumb li {
    font-size:12px;
    color:#fcb219;
    float:left;
    /*margin-right:1em;*/
    list-style: none outside none;
}
.bread_crumb li:after {
    content : '>';
    padding-left:10px;
    margin-right:10px;
}
.bread_crumb li:last-child:after {
    content : '';
}
.bread_crumb li a {
    color:#fcb219;
}
.bread_crumb li.current {
}

.current_page_parent a {
    display: none;
}

.children a {
    display: block;
}