/*
Theme Name: wp-bootstrap
Theme URI: http://320press.com/wpbs
Description: A simple responsive theme based on the Bootstrap framework. Includes multiple page templates, two different sidebars and a theme options panel.
Version: 2.3.1
Author: 320press
Author URI: http://320press.com
Tags: black, white, one-column, two-columns, flexible-width, custom-background, custom-colors, custom-menu, full-width-template, theme-options
License: GNU General Public License v2.0 & Apache License 2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html http://www.apache.org/licenses/LICENSE-2.0
*/

/* micro clearfix: http://nicolasgallagher.com/micro-clearfix-hack/ */
/* For modern browsers */
.clearfix:before,
.clearfix:after {
    content:"";
    display:table;
}

.clearfix:after {
    clear:both;
}

/* For IE 6/7 (trigger hasLayout) */
.clearfix {
    zoom:1;
}

/* wp-specific classes */
.wp-caption{
	
}

.wp-caption-text{
	
}

.sticky{
	
}

.gallery-caption{
	
}

h1, h2, h3 { line-height: 27px; margin-top: 0; } 
h3 { font-size: 16px; line-height: 20px; }
h3 a { color: #ef047f;}

h6 {
    clear: none;
    display: inline;
    font-family: 'Open Sans',sans-serif !important;
    font-size: 13px;
    line-height: 20px;
}

/* popup */

#ac-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .6);
    z-index: 1001;
}
#popup {
    background: #7285BB;
    box-shadow: #64686e 0px 0px 3px 3px;
    -moz-box-shadow: #64686e 0px 0px 3px 3px;
    -webkit-box-shadow: #64686e 0px 0px 3px 3px;
    position:absolute;
	top:50%;
	left:50%;
	width:500px;  /* adjust as per your needs */
	height:400px;   /* adjust as per your needs */
	margin-left:-250px;   /* negative half of width above */
	margin-top:-200px;   /* negative half of height above */
}
#popup .top h3 { font-size: 24px; }
#popup .top input { float: right; }
#popup .top { background: #FFFFFF; padding: 40px 50px 20px 50px; } 
#popup form {  padding: 30px 50px; }
#popup form input { width: 100%; height: 45px; margin-bottom: 20px; padding: 0; text-indent: 15px; border-radius: 0; border: none; }
#popup form button { width: 100%; height: 45px; text-align: center; background: #EF047F; border: none; color: #FFFFFF;  }

.signup { background: #7285BB; padding: 18px 22px; margin-bottom: 20px;  } 
.signup p, .signup h4  { color: #FFFFFF; }
.signup form { display: flex; margin-bottom: 0; }
.signup form div { flex-basis: 1; flex-grow: 1;  }
.signup input { text-indent: 15px; width: 95%; }
.signup input, .signup button { height: 40px; border: none; border-radius: 0; margin-right: 10px; padding: 0; }
.signup button { background: #EF047F; color: #FFFFFF; width: 100%; }
.signup h4 { margin-bottom: 10px; }

@media only screen and (max-width: 768px) {
#popup { top: 10%; left: 0; width: 90vw; height: auto; margin-left: 5vw; margin-top: 0; } 
#popup .top { padding: 40px 30px 20px 30px; } 
#popup form {  padding: 30px 30px; }
.signup form { flex-direction: column; }
.signup input, .signup button { width: 100%; margin-bottom: 10px; }
.author-related { width: 100%; margin-top: 30px; }
#main article footer { margin-left: 0; }
}
/* layout */

body{
	padding-top: 0 15px 0 15px;
	background: #EAEAEA;
	font-size: 14px;
}
#page { background: #FFFFFF;}

/* Admin Top Navigation fixes */

body.admin-bar .navbar-fixed-top{ 
	top: 28px; 
}

.navbar .brand{
	color: #000;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 30px rgba(255, 255, 255, 0.125);
	font-weight: bold !important;
}

.nav-container{
	padding-left: 0;
	padding-right: 0;
}

#inner-header{
	width: 100%;
}

input, textarea, select, .uneditable-input {
	margin-bottom: 0;
}
.table th { color: #EF047F; }
.event img.alignleft { margin-right: 25px; padding: 10px; }
.event th { font-weight: normal; font-size: 14px; letter-spacing:0.06em; color: #FFFFFF; background: #777777; padding: 10px; }
table.table.table-bordered.event, table.table.table-bordered.event th { border-radius: 0 !important; }

.navbar-form, .navbar-search { margin: 0 0 9px; }
.nav-collapse .icon-home { float: left; margin: 14px 0 0 14px; }

#inner-header .masthead-inner { background: #FFFFFF; margin: 0 0 10px 0; padding:20px 0 0 0;}

.navbar { background: none; }
.navbar-fixed-top .navbar-inner, .navbar-static-top .navbar-inner { box-shadow: none; background: none; border-bottom: none; }
.nav-container { background: #EAEAEA; padding: 0;}
.navbar-inner .container-fluid { padding: 0 }
.navbar .nav > li > a { padding: 10px 10px; }

#menu-item-41045 > a { display: none; visibility: hidden; }

.post_content ul li { margin-bottom: 10px; }

#search-header { width: 220px; float: right; }
input, textarea, .uneditable-input { width: 169px; }
#search-header .btn { border: none; overflow:hidden; width: 40px; height: 30px; text-indent: 60px; background: #EF047F; background-image: url(images/search.png); background-repeat: no-repeat; background-position: center; } 
#logo { margin-right: 10px; }

#content{ padding: 20px 0 0; }
.more-link{ white-space: nowrap; }
.hot-pink { color: #EF047F; }

.loadmore { width: 100%; margin: 15px 0 5px 0; }
.loadmore .btn.collapsed { display: block; visibility: visible; margin-bottom: 15px;}
.loadmore .btn { display: none; visibility: hidden; width: 40%; margin: 0 auto; }

.category-frontpage .more-link { margin-top: 25px; padding: 0; display: block; text-align: right;}
.category-frontpage .more-link i { margin: 2px 10px 0 5px; }
.archive.category-frontpage .more-link {
    background: none;
    display: inline;
    margin: 0;
    padding: 0;
    text-align: left;
}
.adcode  { margin-bottom: 10px; }

.footer-links{
	float: right;
	margin-bottom: 18px;
}

.footer-links .menu{
	list-style-type: none;
	margin-left: 0;
}

.footer-links .menu li{
	float: left;
	margin-left: 10px;
}
#inner-footer { background: #EAEAEA; margin-top: 15px; padding: 30px 30px 15px 30px; color: #666666; }
#inner-footer .widget { border-right: 1px solid #C8C8C8; }
#inner-footer .widget:last-child { border: none;}
#inner-footer .widget img { margin-bottom: 15px; }
.navbar-inner { background: none; }
#inner-footer .textwidget { width: 91%; }
#inner-footer ul { margin-left: 16px; }
#inner-footer .widgettitle { color: #666666; font-size: 18px; margin-top: 3px;}
#inner-footer a, #foot-note a { color: #666666; }
#foot-note { font-size: 11px; color: #666666; margin-top: 10px;}

.navbar .nav > .active > a, .navbar .nav > .active > a:hover, .navbar .nav > .active > a:focus, .current-post-parent { 
	background: url(images/nav.png);
	background-position: bottom center;
	background-repeat: no-repeat;
	box-shadow: none;
}
.slides h2 {
    display: none;
    visibility: hidden;
}

/* post styling */

#main p.meta{
	font-size: 11px;
	color: #474747;
}
#main p.meta .category a { background: #006699; color: #FFFFFF; text-transform: uppercase; font-size: 10px; padding: 3px 6px; -moz-border-radius: 3px;
border-radius: 3px;}

#main article{
	margin-bottom: 12px;
	border-bottom: 1px solid #eeeeee;
	padding: 0 0 5px;
}

#main article footer{
	border-top: none;
	margin-top: 0;
	padding-top: 0;
	position: relative;
	min-height: 20px;
	margin-left: 118px;
}

#main article footer a.edit-post{
	position: absolute;
	right: 0;
	top: 0;
	display: none;
}

.post:hover a.edit-post{
	display: inline;
}
.pubdate { font-size: 11px; margin-bottom: 0; float: left; }
.pubupdate { float: right; font-size: 10px; margin-top: -14px; }
.comment-count { float: right; font-size: 10px; }
.well .comment-count { margin-top: -18px;}
.single-title { width: 90%; }
.page-header { border-bottom: 1px solid #E2E2E2; margin: 0 0 15px 0; }
.page-header .photo { border: 1px solid #E2E2E2; float: left; padding: 3px; margin: 0 15px 10px 0; }
.author-meta img { float: left; margin: 5px 12px 0 0; width: 50px; height: 50px;}

.main-image { float: right; margin: 0 0 25px 25px; }
.main-image.full { float: none; margin: 0 0 20px 0; }
.main-image .caption { font-size: 11px; color: #666; margin-bottom: 15px; }
.main-image.thumbnail .caption { max-width: 210px; clear: left; padding-left: 0; }
.main-image.thumbnail { box-shadow: none; -moz-box-shadow: none; -webkit-box-shadow: none; }
.main-image.medium img { margin-right: 0; }
.main-image.medium .caption { max-width: 300px; clear: left;}
.main-image.none {
    display: none;
    visibility: hidden;
}

.category-the-deep-end .main-image.medium img { border: none; }


.archive.category-the-deep-end .main-image.medium { float: left; margin-left: 0; }
.archive.category-the-deep-end img { border: none; }
.archive.category-the-deep-end .post_content, .home .category-the-deep-end .post_content { width: 100%; margin-left: 0;}

.archive.category-the-deep-end .page-header { height: 40px; }

.attachment-thumbnail.wp-post-image { float: left; width: 100px; margin: 5px 15px 0 0; border: 1px solid #F2F2F2; }
.attachment-medium.wp-post-image { float: left; margin: 5px 15px 10px 0; border: 1px solid #F2F2F2; }
.single-post .post .attachment-thumbnail.wp-post-image {margin: 0; }
.thumbnail { border: none; }
.label, .badge { text-shadow: none; background-color: #E2E2E2; font-size: 11px; padding: 3px 6px; font-weight: normal; color: #006699;  }

.author-related { width: 220px; float: right; margin: 60px 0 20px 25px; border-bottom: 1px solid #E2E2E2; padding-bottom: 8px; clear: right; }
.author-related ul { list-style: none; list-style-type: none; margin:0; padding: 10px 0 0 0; border-top: 1px solid #E2E2E2; }
.author-related li { margin-bottom: 10px; }

.post_content h2 { font-size: 16px; line-height: 22px; }

.comment h2 { font-size: 20px; line-height: 25px; margin-bottom: 5px; }

.alert p { color: #484848; }
.alert .btn { margin-bottom: 5px; }

.well { background: #EAEAEA; padding: 10px 10px 10px 12px; margin-bottom: 15px; -webkit-border-radius: 0px; -moz-border-radius: 0px;
	border-radius: 0px; box-shadow: none;  }
.well h2 a { color: #EC047F; }
.well h2 { margin-bottom: 5px; font-size: 20px; line-height: 25px;}
.well .pubdate { float: none; font-size: 13px; }

.pagination ul { width: 100%; -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none;  }
.pagination .next { float: none; }
.pagination { margin: 0; padding: 10px 0;}

.imgSet { margin-left: 117px; }

.news-footer img { border: 1px solid #E2E2E2; margin-bottom: 10px;}
.news-footer p { background: #EAEAEA; padding: 12px;}

.jumbotron { text-align: center; }
.jumbotron h1 { font-size: 40px; color: #09BEFF; margin-bottom: 15px; }
.jumbotron h3 { font-size: 22px; margin-bottom: 12px; }
.jumbotron .lead { font-size: 16px; margin-bottom: 10px; }

.event h3 { font-size: 24px; margin-bottom: 10px;}
.event h4 { font-size: 19px; line-height: 22px; margin: 0 10%; color: #09BEFF; margin-bottom: 10px; }


@media (min-width: 769px) {
	.event-grid {
	display: grid;
	grid-gap: 10px;
	grid-template-columns: minmax(200px, 1fr) 250px;
	grid-auto-rows: minmax(100px, auto);	
}

/* Tabs */

.nav { margin-bottom: 0; }
#id-commented #IDWidget6 .idw-big { padding: 0px !important; width: 100% !important;}

#idc-container div.idc-text_noresize, #idc-container textarea.idc-text_noresize { font-size: 15px; }
#idc-container div { font-size: 14px;}

.idw-container { padding: 0 !important;}
.idw-container strong { font-weight: normal !important; }
.idw-container p { padding: 10px !important; font-size: 12px !important; }
.tab-content { border-left: 1px solid #DDDDDD;  border-right: 1px solid #DDDDDD; margin-bottom: 15px; }
.tab-content ul { list-style: none; list-style-type: none; margin: 0; } 
.tab-content li, .idw-big { border-bottom: 1px solid #DDDDDD; padding: 10px; }
.tab-content time { display: block; font-size: 10px; margin-top: 5px;  }
.tab-content a { color: #EF047F; }

#idc-container div { line-height: 20px !important; } 

.idw-container h2 { display: none; visibility: hidden; }
.idw-container div { float: none; padding: 0; width: 100% !important;}
.idw-footer { display: none; visibility: hidden; }
#IDWidget6 .idw-big a { padding: 10px; font-size: 13px !important; }

#myTabContent .idw-avatar, #myTabContent .idw-small-t, #myTabContent .idw-small { display: none !important; visibility: hidden !important; }
#myTabContent .idw-container .idw-big { border: none; padding: 10px 10px 0 !important;}
#myTabContent .idw-container .idw-big a { font-weight: normal !important; font-size: 13px !important;}
#myTabContent .idw-container p { font-size: 13px !important; }
#myTabContent .idw-container div { float: none; width: auto !important; }
#myTabContent .idw-container .idw-time { font-size: 10px !important;}
#myTabContent .idw-info { background: #F2F2F2; padding: 2px 6px; display: inline-block; }
#myTabContent .idw-container .idw-c { float: left; width: 94%; border-bottom: 1px solid #E2E2E2; padding-bottom: 2px; }
#myTabContent .idw-c-m { margin-left: 5px; }
#myTabContent .idw-container .idw-c .idw-c-h { border: none; }
#myTabContent .idw-c .idw-c-m .idw-time { margin-top: 10px !important; display: block; font-size: 11px !important; }

.tab-content img { width: 60px !important; height: 60px; border: 1px solid #E2E2E2; margin-bottom: 2px !important; } 

.tagcloud { border-bottom: 3px solid #E2E2E2; }
.tagcloud .show { text-align: right; margin-bottom: 0; }
.tagcloud .icon-chevron-down { background-color: #E2E2E2; border: 3px solid #E2E2E2; margin-left: 6px;}

.tag-archive-page .label-important[href], .tag-archive-page .label-warning[href], .tag-archive-page .label-info[href], .tag-archive-page .label-success[href] { background: #E2E2E2; color:#006699;}
.tag-archive-page a { margin-bottom: 2px; }
.tag-archive-page .show { display: none; visibility: hidden; }

.widget_reallysimpletwitterwidget { background: #EAEAEA; padding: 10px; }
.widget_reallysimpletwitterwidget li { border-bottom: 1px solid #E2E2E2; padding: 5px 0;}
.widget_reallysimpletwitterwidget li:last-child { border: none; }
.twitter-timestamp { display: block; font-size: 10px;} 
.widget_reallysimpletwitterwidget ul { list-style: none; list-style-type: none; background: #FFFFFF; padding: 0px 5px 5px 5px; margin: 5px 0 0 0;}
.rstw_link_user { text-align: right; margin-top: 8px; }
.widget_reallysimpletwitterwidget p { width: 90%; }
.widget_reallysimpletwitterwidget h4 { margin-bottom: 5px; }

.share-tweet { font-size: 10px; display: none;}
.share-tweet i { margin-top: 0; margin-left: 3px; }
.share-tweet a { background-color: #E2E2E2; margin-right: 5px; padding: 2px 4px 2px 5px; color: #FFFFFF; }
.share-tweet a:hover { color: #FFFFFF; background-color: #006699; text-decoration: none; }

.widget_reallysimpletwitterwidget li:hover .share-tweet { display: block; }

#fathoms { margin-bottom: 20px; }
#fathoms h2 { font-size: 1.4em;}
#fathoms h4 { font-size: 1.1em; }

/* Shared Post Format styling */
article.format-quote footer.entry-meta,
article.format-link footer.entry-meta,
article.format-status footer.entry-meta {
	font-size: 11px;
	font-size: 0.785714286rem;
	line-height: 2.181818182;
}
.social-links { border-bottom: 1px solid #E2E2E2; padding: 0 0 5px 0; }
.social-links h5 { float: left; margin: 0; padding: 0;}
.fb-like { float: right; }
.tw-like { float: right; width: 95px;}

/* Carousel */

.list_carousel { margin: 0 0 30px 0; width: 100%; border-bottom: 3px solid #E2E2E2; }
.list_carousel .content { float: left; }
.list_carousel h5 { margin-top: 0; width: 95%; }
.clearfix {	float: none; clear: both; }
.list_carousel .prev, .list_carousel .next { background-color: #E2E2E2; width: 20px; height: 20px; text-align: center; }
.prev {	float: left; }
.next {	float: right; }	
.list_carousel img { width: 100px; height: 100px; border: 1px solid #E2E2E2; }
.caroufredsel_wrapper { margin-bottom: 15px !important; }
.home #prev1 {  margin-left: 15px; margin-top: -126px; position: relative; }
.home #next1 {  margin-right: 15px; margin-top: -126px; position: relative; }
#flexslider .content { float: left; }
/* =Aside post format
-------------------------------------------------------------- */
#main article.format-aside {
	padding: 0;
}

article.format-aside h1 {
	margin-bottom: 24px;
	margin-bottom: 1.714285714rem;
}
article.format-aside h1 a {
	text-decoration: none;
}
article.format-aside h1 a:hover {
}
article.format-aside .aside {
	padding: 24px 24px 0;
	padding: 1.714285714rem;
	border-left: 22px solid;
}
article.format-aside p {
	font-size: 13px;
	font-size: 0.928571429rem;
	line-height: 1.846153846;
}
article.format-aside blockquote:last-child,
article.format-aside p:last-child {
	margin-bottom: 0;
}
article.format-aside footer.aside {
	padding: 24px 24px 0;
	padding: 1.714285714rem;
	border-left: 22px solid;
}
blockquote p { font-size: 13px; line-height: 1.3; margin-bottom: 10px; }
blockquote { font-style: italic; }
/* Image posts */
article.format-image footer h1 {
	font-size: 13px;
	font-size: 0.928571429rem;
	line-height: 1.846153846;
	font-weight: normal;
}
article.format-image footer h2 {
	font-size: 11px;
	font-size: 0.785714286rem;
	line-height: 2.181818182;
}
article.format-image footer a h2 {
	font-weight: normal;
}

/* Link posts */
article.format-link header {
	padding: 0 10px;
	padding: 0 0.714285714rem;
	float: right;
	font-size: 11px;
	font-size: 0.785714286rem;
	line-height: 2.181818182;
	font-weight: bold;
	font-style: italic;
	text-transform: uppercase;
	color: #848484;
	background-color: #ebebeb;
	border-radius: 3px;
}
article.format-link .entry-content {
	max-width: 80%;
	float: left;
}
article.format-link .entry-content a {
	font-size: 22px;
	font-size: 1.571428571rem;
	line-height: 1.090909091;
	text-decoration: none;
}

article.format-link footer.entry-meta { 
	clear: both;
}

/* Quote posts */
article.format-quote .entry-content p {
	margin: 0;
	padding-bottom: 24px;
	padding-bottom: 1.714285714rem;
}
article.format-quote .entry-content blockquote {
	display: block;
	padding: 24px 24px 0;
	padding: 1.714285714rem 1.714285714rem 0;
	font-size: 15px;
	font-size: 1.071428571rem;
	line-height: 1.6;
	font-style: normal;
}

article.format-quote .entry-content blockquote p:before {
	content: "\201C  ";
	font-size: 2rem;
}

article.format-quote .entry-content blockquote p:after {
	content: " \201D ";
	font-size: 2rem;
}

/* Status posts */
.format-status .entry-header {
	margin-bottom: 24px;
	margin-bottom: 1.714285714rem;
}
.format-status .entry-header header {
	display: inline-block;
}
.format-status .entry-header h1 {
	font-size: 15px;
	font-size: 1.071428571rem;
	font-weight: normal;
	line-height: 1.6;
	margin: 0;
}
.format-status .entry-header h2 {
	font-size: 12px;
	font-size: 0.857142857rem;
	font-weight: normal;
	line-height: 2;
	margin: 0;
}
.format-status .entry-header header a {
	color: #757575;
}
.format-status .entry-header header a:hover {
	color: #21759b;
}
.format-status .entry-header img {
	float: left;
	margin-right: 21px;
	margin-right: 1.5rem;
}

p.tags{
	line-height: 20px;
	font-size: 12px;
}

div[id*='attachment_']{
	max-width: 100%;
	height: 100%;
}

#main .hero-unit img{
	margin-bottom: 1em;
}

#main article img{
	height: auto;
	max-width: 100%;
	margin-bottom: 10px;
}

img.alignleft{
	margin-right: 10px;
	float: left;
}

img.alignright{
	margin-left: 10px;
	float: right;
}

img.aligncenter{
	display: block;
	margin: 0 auto;
}

.post header img{
	margin-bottom: 18px;
}

.archive #main .post h3{
	line-height: 24px;
	margin-bottom: 10px;
}
.archive_title span { color: #7288C3; }
.archive #main .post h3 a { color: #EF047F; }


video {
	max-width: 100%;
	height: auto;
}

.video-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}

.video-container iframe,  
.video-container object,  
.video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.video-wrapper {
	width: 630px;
	max-width: 100%;
	margin-bottom: 18px;
}

/* page styling */

#featured-carousel .item{
	width: 970px;
	height: 600px;
}

.carousel-caption p{
	display: none;
}

.page-template-page-homepage-php .hero-unit,
.blog .hero-unit{
	padding: 1em;
}

.hero-unit h1 {
	font-size: 3em;
}

/* comments */



#comments{
	line-height: 24px;
	margin-bottom: 18px;
}

ol.commentlist,
ol.commentlist ul.children{
	list-style-type: none;
	margin-left: 0;
}

.comment .vcard > div{
	margin-top: 8px;
	padding: 0 10px;
}

ol.commentlist time{
	font-size: .8em;
	color: #eeeeee;
}

ol.commentlist div.comment-author{
	position: relative;
}

ol.commentlist a.comment-edit-link{
	color: #ffffff;
	text-decoration: none;
	padding-left: 5px;
}

ol.commentlist span.edit-comment{
	position: absolute;
	right: 0;
	top: 8px;
}

ol.commentlist li.bypostauthor{
	background-color: #dddddd;
}

ol.commentlist ul.children li{
	background-color: #cccccc;
}

ol.commentlist ul.children li ul.children li{
	background-color: #bbbbbb;
}

ol.commentlist ul.children li ul.children li ul.children li{
	background-color: #aaaaaa;
}

ol.commentlist article{
	border-bottom: none !important;
}

a.comment-reply-link{
	position: absolute;
	right: 0;
	bottom: 0;
}

#comment-nav ul{
	list-style-type: none;
	margin: 0;
}

#comment-form-elements{
	list-style-type: none;
	margin: 0;
}

.comment .vcard .avatar{
	padding-right: 0;
}

.comment .vcard .comment-text{
	margin-left: 0;
}

img.avatar{
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #dedede;
	border-right: 1px solid #dedede;
	border-left: 1px solid #ddd;
	
}

ol.commentlist li{
	padding-right: 10px;
	background-color: #F0F0F0;
}

#pings{
	margin-bottom: 9px;
}

ol.pinglist{
	list-style-type: none;
	margin: 0 0 9px 0;
}

#comment{
	width: 270px;
}

ol.commentlist #respond{
	padding: 5px 10px;
}

/* specific post-type styles */

/* image attachment */

.attachment #main .post_content img{
	max-width: 100%;
}

.ie8 #main .media-grid img{
	max-height: none !important;
	max-width: none !important;
}

.attachment-img{
	margin-bottom: 18px;
}

.metadata p.alert-message{
	margin-right: 0;
	margin-bottom: 18px;
}

#gallery-nav{
	list-style-type: none;
	margin-left: 0;
}

li.next a, li.previous a{
	position: relative;
}

#commented-out li.next a:hover:before{
	content: "\2190";
	position: absolute;
	display: block;
	top: 42%;
	left: 0;
	background-color: #BFBFBF;
	color: #444;
	width: 20px;
	height: 20px;
	padding-left: 5px;
	text-decoration: none;
	box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);
}

li.previous a:hover:before{
	content: "\2192";
	position: absolute;
	display: block;
	top: 42%;
	right: 0;
	background-color: #BFBFBF;
	color: #444;
	width: 20px;
	height: 20px;
	padding-left: 5px;
	text-decoration: none;
	box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);
}


/* widget styles */

.widget{
	margin-bottom: 18px;
}

.widgettitle{ margin: 0 0 9px 0; }

#tag-cloud{
	margin-bottom: 18px;
	line-height: 160%;
}

.widget_links_widget { margin-bottom: 18px;}

.select input{ position:absolute; left:-9999px; }
.select .icon-chevron-down { float: right; margin: 10px; }
.toggle + label {
	z-index: 2;
	width: 98%;;
	height: 35px;
	display: block;
	background: #FFFFFF;
	line-height: 35px;
	text-indent: 10px;
	position: relative;
	-webkit-transition: all 200ms linear;
	-moz-transition: all 200ms linear;
	-ms-transition: all 200ms linear;
	-o-transition: all 200ms linear;
	transition: all 200ms linear;
}
.toggle + label::before {
	background: #427586;
	height: 24px;
	width: 24px;
	position: absolute;
	right: 5px;
	top: 9px;
	cursor:pointer;
}
.toggle + label::after {
	background: #2d94b6;
	height: 12px;
	width: 12px;
	position: absolute;
	right: 11px;
	top: 15px;
	-webkit-transform: rotate(45deg);
	-webkit-transition: all 200ms linear;
	-moz-transition: all 200ms linear;
	-ms-transition: all 200ms linear;
	-o-transition: all 200ms linear;
	transition: all 200ms linear;
}

.select ul {
	margin: -5px 0 0 0;
	list-style: none;
	padding: 0;
	max-height: 0px;
	overflow: hidden;
	position: relative;	
	-webkit-transition: all 700ms linear;
	-moz-transition: all 700ms linear;
	-ms-transition: all 700ms linear;
	-o-transition: all 700ms linear;
	transition: all 700ms linear;
	background:#FFFFFF;	
	width: 98%;
}
.select li { text-indent: 12px; line-height: 24px; }
.toggle:checked ~ ul {
	max-height: 1000px;
	padding: 10px 0;
	margin-bottom: 10px;
	border: 1px solid #E2E2E2;
}
.select label {
	display: block;
	cursor: pointer;
	border: 1px solid #E2E2E2;
	box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.44);
	-webkit-transition: all 200ms linear;
	-moz-transition: all 200ms linear;
	-ms-transition: all 200ms linear;
	-o-transition: all 200ms linear;
	transition: all 200ms linear;
}
.select label:hover {
	background: rgb(193, 217, 226);
}
.select ul li:nth-last-child(1) label{
	border-radius: 0 0 5px 5px;
}
.select label:active {
	background: rgb(151, 196, 213);
	outline: none;
}
.select input:checked + label {
	background: #FFFFFF;
	text-indent: 10px;
}

/* for some reason the bs version currently available for download doesn't have this style */
.label{
	text-transform: uppercase;
}

/* override standard link hover for the tag cloud widget */
#tag-cloud a:hover {
	text-decoration: none;
}
.tags a:hover{ text-decoration: underline;}

#tag-cloud a{
	white-space: pre;
	text-transform: uppercase;
}
.label-important[href], .badge-important[href] { background-color: #006699; color: #FFFFFF;}

/* change default form padding for search */

.widget_search form { padding-left: 0; }
.widget_search input { width: 121px; }
#search { border: 1px solid #E2E2E2; }

.widget_skyscraper_widget { border: 1px solid #E2E2E2; padding: 10px 0 10px 0; text-align: center; }

/* calendar widget */

#calendar_wrap{
	border: 1px solid #ddd;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	padding: 5px;
}

#wp-calendar{
	width: 100%;
	
}

#wp-calendar caption{
	font-weight: bold;
	padding: 8px;
}

#wp-calendar tr{
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
}

#wp-calendar tr:last-child{
	border-bottom: none;
}

#wp-calendar td{
	text-align: center;
	padding: 8px 0;
}

blockquote.pull-left{
	padding-right: 15px;
}
    
@media (min-width: 769px) {
    #mobile-advert{ display: none; visibility: hidden; }
    }
    
@media (max-width: 768px) {
    #leaderboard-advert { display: none; visibility: hidden; }
    #logo { display: block; text-align: center; margin: 0 0 10px 0;}
    #inner-header .masthead-inner { padding-top: 10px; }
    #inner-footer .widget { border: none; }
    .pubdate { float: none;}
    #mobile-advert{ display: block; visibility: visible; text-align: center;}
}

@media only screen and (min-width: 768px) {
	.carousel-caption p{
		display: block;
	}
}
	
@media (max-width: 769px) {
	#main article footer { margin-left: 0; }
	body { background: #FFFFFF; }
}


/* iPads (portrait) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) {
.fluid-sidebar, #search-header, .conhome-btn, #menu-item-3881, #menu-item-3878, #menu-item-3876, .btn.btn-navbar { display: none; visibility: hidden; }
#main { width: 100%; }
.navbar .nav > li > a { float: left; }
.nav-collapse .nav > li > a, .nav-collapse .dropdown-menu a { font-weight: normal; }
.navbar .nav > li > a { padding: 4px 9px 12px; margin: 0;}
.nav-collapse .icon-home {
    float: left;
    margin: 8px 0 0px 14px;
}
.nav-collapse.collapse { height: 20px;}
.nav-collapse, .nav-collapse.collapse { overflow: visible; }
.btn.btn-navbar.collapsed, .btn.btn-navbar { height: 1px; overflow: hidden; padding: 0;}
.btn.btn-navbar .icon-bar {display: none; visibility: hidden; }
.navbar-fixed-top { margin-bottom: 4px; margin-top: -15px; } 
}


@media only screen and (min-width: 980px) {
	body{
		padding-top: 60px;
	}
	
	.container-fluid{
		max-width: 970px;
		margin: 0 auto;
		padding-left: 15px;
		padding-right: 15px;
	}
	
	#inner-footer{
		
	}
	
	#content{
		padding-left: 0;
		padding-right: 0;
	}
	
	.topbar-inner{
		padding: 0;
	}
	
	.topbar form.pull-right {
		float: right;
	}
	
	.navbar-form, .navbar-search {
		margin-top: 6px;
		margin-bottom: 0;
	}
	
	.navbar-search{
		padding-left: 0;
	}
	
	.sidebar{
		margin-top: 0 !important;
	}
	
	#azk54483 {
    height: 95px;
    overflow: hidden;
    width: 728px;
}
	
	.widget_search input{
		width: 230px;
	}
	
	.blog .hero-unit{
		margin-top: 10px;
	}
	
	.page-template-page-homepage-php .hero-unit,
	.blog .hero-unit{
		padding: 60px;
	}
	
	.hero-unit h1 {
		font-size: 60px;
	}
	
	/* hide edit comment button and show on hover on desktop version */
	.edit-comment{
		display: none;
	}
	
	.vcard:hover .edit-comment{
		display: inline-block;
	}
	
	.widget_search input{
		width: 209px;
	}
	
	.comment .vcard .comment-text{
		padding-left: 0;
		padding-right: 0;
	}
}


@-moz-document url-prefix() { 
  .main-image.medium img {
     max-width: 300px !important;
  }
}


/* Smartphones (portrait and landscape) ----------- */
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) {
/* Styles */
body { background: #FFFFFF; padding: 0 15px; }
.masthead-inner .brand img { width: 100%; } 
#inner-header .masthead-inner { padding-top: 10px; text-align: center; } 
#inner-header .adcode, .conhome-btn, #search-header, .author-related, #azk54483, #leaderboard-advert, .shields, .nav-collapse .home { display: none; visibility: hidden; }
#content { padding-top: 0 !important; }
.navbar-fixed-top { margin: 0 -10px 0 -10px; }
.single-title { width: 100%; }
.pubupdate { float: none; margin: 0; clear: both;  }
.main-image { float: none; margin: 0 0 15px 0; clear: both; width: 100%; }
.main-image { float: none; }
.nav-container { background: none; }
.navbar { margin-top: -45px; }
.navbar .btn-navbar { background: #006699; -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0; margin-top: -5px;}
.navbar .btn-navbar:hover, .navbar .btn-navbar:focus, .navbar .btn-navbar:active, .navbar .btn-navbar.active, .navbar .btn-navbar.disabled, .navbar .btn-navbar[disabled] { background: #006699;}
.mobile-banner { margin-left: -15px; width: 100%; text-align: center; }
.list_carousel img { width: 50px !important; height: 50px; }
.navbar-inner { padding: 0; }
#logo img { width: 230px; }
#logo { float: left; }
.navbar .nav > li > a { margin: 0 5px 0 8px; padding: 10px 0; border-bottom: 1px solid #E2E2E2; }
.author-related { float: none; clear: both; margin: 0 0 15px 0; width: auto;}
#inner-header { border-bottom: 3px solid #EEEEEE; margin-bottom: 10px; }
.navbar .nav > .active > a, .navbar .nav > .active > a:hover, .navbar .nav > .active > a:focus, .current-post-parent { background: none; }
.nav-collapse { margin: 0 5px 0 5px; background: #EAEAEA; border-top: 5px solid #FFFFFF;}
.nav-collapse .nav > li { width: 50%; float: left;} 
.imgSet { margin-left: 0px; }
#inner-footer .widget { border-right: none; border-bottom: 1px solid #C8C8C8; padding-bottom: 10px; }
.main-image.medium img { clear: both; margin-right: 15px; }
.attachment-thumbnail.wp-post-image { float: left; width: 80px; width: 80px; }
#menu-item-41045 > a { display: block; visibility: visible; }
}

