/*
Theme Name: Oi
Theme URI: http://bcorp.com
Description: A responsive theme built on the BCorp framework.
Version: 1.1
Author: Tim Brattberg
Author URI: http://bcorp.com
Tags: bcorp, responsive
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
*/

/* Box Sizing */
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/*! normalize.css v2.1.0 | MIT License | git.io/normalize */

article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary {
    display: block;
}

audio,canvas,video {
    display: inline-block;
}

audio:not([controls]) {
    display: none;
    height: 0;
}

[hidden] {
    display: none;
}

html {
    font-family: sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}


a:focus {
    outline: thin dotted;
}

a:active,a:hover {
    outline: 0;
}

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

abbr[title] {
    border-bottom: 1px dotted;
}

b,strong {
    font-weight: bold;
}

dfn {
    font-style: italic;
}

hr {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    height: 0;
}

mark {
    background: #ff0;
    color: #000;
}

code,kbd,pre,samp {
    font-family: monospace, serif;
    font-size: 1em;
}

pre {
    white-space: pre-wrap;
}

q {
    quotes: "\201C" "\201D" "\2018" "\2019";
}

small {
    font-size: 80%;
}

sub,sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

img {
    border: 0;
}

svg:not(:root) {
    overflow: hidden;
}

figure {
    margin: 0;
}

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

legend {
    border: 0; /* 1 */
    padding: 0; /* 2 */
}

button,input,select,textarea {
    font-family: inherit; /* 1 */
    font-size: 100%; /* 2 */
    margin: 0; /* 3 */
}

button,input {
    line-height: normal;
}

button,select {
    text-transform: none;
}

button,html input[type="button"],input[type="reset"],input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

button[disabled],html input[disabled] {
    cursor: default;
}

input[type="checkbox"],input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

input[type="search"] {
    -webkit-appearance: textfield;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

button::-moz-focus-inner,input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
    vertical-align: top; 
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/*! normalize.css v2.1.0 | MIT License | git.io/normalize */



/* 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{
	
}

/* layout */

body{
	padding: 0 24px 0 24px;
}

.navbar .brand{
	color: #000 !important;
	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;
}

.navbar-form, .navbar-search {
	margin: 0 0 9px;
}

.navbar-search{
	padding-left: 0;
}

#s{
	width: 100px;
}

.more-link{
	white-space: nowrap;
}

.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;
}

/* post styling */

#main p.meta{
	font-style: italic;
	color: #808080;
}

#main article{
	margin-bottom: 16px;
	padding: 0;
}



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

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

.post:hover a.edit-post{
	display: inline;
}

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

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


#main article img{
	height: auto;
	max-width: 100%;
}

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: 0px;
}

.archive #main .post h3{
	line-height: 24px;
	margin-bottom: 10px;
}

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;
}

/* 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: 8px;
	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;
}

#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: 5;
}

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;
}

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-bottom: 9px;
}

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

/* 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,
.tags a:hover{
	color: #ffffff;
	text-decoration: none;
}

#tag-cloud a{
	white-space: pre;
	text-transform: uppercase;
}

/* change default form padding for search */

.widget_search form{
	padding-left: 0;
}

.widget_search input{
	width: 121px;
}

/* 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 only screen and (min-width: 768px) {
	.carousel-caption p{
		display: block;
	}
}

@media only screen and (min-width: 980px) {
	body{
	
	}

	#inner-footer{
		padding: 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;
	}
	
	.widget_search input{
		width: 230px;
	}
	

	
	/* hide edit comment button and show on hover on desktop version */
	.edit-comment{
		display: none;
	}
	
	.vcard:hover .edit-comment{
		display: inline-block;
	}
	
	#s{
		width: 210px;
		margin-bottom: 6px;
	}
	
	.widget_search input{
		width: 209px;
	}
	
	.comment .vcard .comment-text{
		padding-left: 0;
		padding-right: 0;
	}
}

/* 
Make the Facebook Like box responsive (fluid width)
https://developers.facebook.com/docs/reference/plugins/like-box/ 
*/

/* 
This element holds injected scripts inside iframes that in 
some cases may stretch layouts. So, we're just hiding it. 
*/

#fb-root {
    display: none;
}

/* To fill the container and nothing else */

.fb_iframe_widget, .fb_iframe_widget span, .fb_iframe_widget span iframe[style] {
    width: 100% !important;
}

a {
	color:#fc3300;
	text-decoration:none;
}

a:hover {
	color:#aa3300;
}

a:active {
  color: #fc3300;
}

#category_box article {
	background-color: #FFF;
	border-bottom: 1px solid #fc3300;
}

#advert {
	overflow:hidden;
	height:90px;
}

.b-1, .b-2 {
	overflow:hidden !important;
}

.widget_recent_entries {
	background-color: #FFFFFF;
	-webkit-box-shadow: 1px 1px 1px 1px #fc3300;
	box-shadow: 1px 1px 1px 1px #fc3300;
	margin-top: 0px;
	padding: 8px;	
}

.widget_facebook-like-box {
	padding:0px;
	background-color: #FFFFFF;
	height:558px;
}

.twitter-timeline {
	padding:0px;
	background-color: #FFFFFF;
	height:500px;
}

.entry-heading {
	padding-left:0px;
	margin-left: 0px;
}

.entry-content, .entry-title, .entry-info, .tags, .meta {
	padding-left: 8px;
	padding-right: 8px;
}

.entry-title {
	padding-top: 0px;
	margin-top: 2px;
}

body {
  background-color: #FAFAFA;
}

/* carouFredSel styling on front page */
.list_carousel {
	margin: 0px 0 16px 120px;
	width: 360px;
	height: 210px;
		background-color: #fff;
}
.list_carousel ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: block;
}
.list_carousel li {
	font-size: 14px;
	color: #999;
	text-align: left;

	border: 0px solid #999;
	width: 232px;
	height: 200px;
	padding: 0;
	margin: 5px 5px 5px 5px;
	display: block;
	float: left;
}

.list_carousel {
	height: 230px;
}

.list_carousel.responsive {
	width: auto;
	margin-left: 0;
	-webkit-box-shadow: 1px 1px 1px 1px #fc3300;
	box-shadow: 1px 1px 1px 1px #fc3300;
}

.latest_prev {
	float: left;
	margin-left: 10px;
}
.latest_next {
	float: right;
	margin-right: 10px;
}
.latest_pager {
	float: right;
	text-align: center;
	margin-right: 10px;
}
.latest_pager a {
	margin: 0 5px;
	text-decoration: none;
}
.latest_pager a.selected {
	text-decoration: underline;
}


/* New Scaling for Front Page */

#front_main:after {
  /* Or @extend clearfix */
  content: "";
  display: table;
  clear: both;
}

#left1-3 {
	width: 33.33%;
	float: left;
}

#right2-3 {
	width: 66.66%;
	float: right;
	padding-left: 16px;

}

#category_box {
	background: #FFF;
	width: 100%;
	margin: 0px 0px 16px 0px;
	padding: 0px;
	-webkit-box-shadow: 1px 1px 1px 1px #fc3300;
	box-shadow: 1px 1px 1px 1px #fc3300;
}

#left1-2 {
	width: 50%;
	float: left;
}

#right1-2 {
	width: 50%;
	float: right;
	padding-left: 16px;
}


nav, nav ul ul, .postformat, .page-header, .widget-title, .category-header {
	background: #fc3300 url(assets/img/menu.png) top left repeat-x;
}


nav {
	display: block;
	margin: 0 -2px 0 0;
	font-size: 14px;
	position: relative;
	padding: 0 30px;
}
nav a {
	color: #fff;
	text-decoration: none;
}
nav a:hover {
	border-bottom: 1px dashed #ee0;
	color: #ee0;
}
nav ul {
	list-style: none;
	margin: 0px 0px;
	padding: 9px 0 0 0;
	display: inline-block;
}
nav ul li {
	float: left;
	position: relative;
	margin: 0 20px 5px 0;
}
nav ul ul {
	display: none;
	position: absolute;
	top: 21px;
	left: 0px;
	float: left;
	width: 180px;
	z-index: 99999;
}
nav ul ul li {
	min-width: 180px;
	padding: 0px 0 10px 0;
}
nav ul ul li a {
	margin: 10px;
}
nav ul ul ul {
	left: 100%;
	top: 0;
}
nav ul li:hover > ul {
	display: block;
}
nav ul li.current_page_item > a, nav ul li.current-menu-ancestor > a, nav ul li.current-menu-item > a, nav ul li.current-menu-parent > a {
	border-bottom: 1px dashed #CCC;
	color:#CCC;
}


/* --- --- [ nav-below ] --- --- */
#nav-below {
	margin: 0px -2px 16px 0px;

}
#nav-below a {
	color: #FFF;
	text-decoration: none;
}
#nav-below a:hover {
	border-bottom:  1px dashed #FFF;
}
#nav-below .nav-previous {
	margin-left: 16px;
	padding: 9px 0;
}

#nav-below .nav-next {
	margin-right: 10px;
	padding: 9px 0;
}

#nav-below .nav-page {
	padding: 9px;
	display:inline;
}

#page {
	margin: 0 auto 0 auto;
	background: #FAFAFA;
	max-width: 970px;
}

#main:after {
  /* Or @extend clearfix */
  content: "";
  display: table;
  clear: both;
  margin: 16px 16px 0px 16px;
  padding: 16px 16px 0px 16px;
}

#content {
	width: 66.66%;
	float: left;
	padding: 10px 8px 10px 0px;
}

#sidebar1 {
	width: 33.33%;
	float: right;
	padding: 10px 0px 0px 8px;
}

#oi_masthead {
	margin: 8px 0 8px 0;
}

#oi_masthead h1 {
	color:#fc3300;
	float:left;
	font-size: 24px;
	margin: 24px 4px 0 16px;
}

#oilogo {
	float: left;
}

#oisearch, #oisocial {
	float: right;
	margin: 30px 0 5px 5px;
}

#oisearch {
	margin-right: 3px;
}

#oisocial {
	padding-top: 2px;
}

#oisearch input {
	height:30px;
}

#oisearch .add-on {
	height: 30px;
}

#oisearch fieldset {
	margin: 0;
	border:none;
	padding: 0;

}

#oisearch button {
	color:#fc3300;
}

@media only screen and (max-width: 1024px) {
	body {
		padding:0 2px 0 2px;
	}
}

@media only screen and (max-width: 767px) {
	#oieverywhere {
		display: none;
	}
	#left1-3 {
		min-width:100%;
	}
	#right2-3 {
		min-width:100%;
		padding-left: 0px;
	}
}

@media only screen and (max-width: 539px) {
	#oisearch, #sidebar1 {
		display: none;
	}
	#left1-3, #left1-2, #content {
		min-width:100%;
	}
	#right2-3, #right1-2 {
		min-width:100%;
		padding-left: 0px;
	}
}


.fleft {
	float: left;
}

.front_thumb {
	float:left;
	padding: 5px 5px 0 5px;
}

.fright {
	float: right;
}

.comment {
	margin-bottom:20px;
}

.format-icon {
	padding:3px 0 0 3px;
}


.depth-1 .col1 {
	width: 13%;
}

.depth-1 .col2 {
	width: 85%;
	margin-right: 0px;
}

.depth-2 .col1 {
	width: 16%;
}

.depth-2 .col2 {
	width: 82%;
	margin-right: 0px;
}

.depth-3 .col1 {
	width: 19%;
}

.depth-3 .col2 {
	width: 79%;
}

.depth-4 .col1 {
	width: 22%;
}

.depth-4 .col2 {
	width: 76%;
}

.depth-5 .col1 {
	width: 25%;
}

.depth-5 .col2 {
	width: 73%;
}

/*
 * ---------- Custom Styles Here ---------- 
 */

#page {
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif
}

h1, h2, h3, h4, h5, h6 {
	margin:0px 0;
	color: #666;
}


h3.entry-title {
	line-height: 125%;
}

p {
	font-size: 14px;
	line-height:25px;
	margin-bottom: 10px;
}

h1 {
	font-size:24px;
}

h2 {
	font-size:22px;
}

h3 {
	font-size:20px;
}

h4 {
	font-size:18px;
}

h5 {
	font-size:16px;
}

h6 {
	font-size:14px;
}

.page-header {
	position: relative;
	margin:  0 -2px 16px 0;
	padding: 0px 0px 0px 16px;
}

.page-header h2 {
	color:#FFF;
}

.category-header {
	padding: 0 0 0 16px;
}

.category-header h2 {
	color:#FFF;
	margin-bottom:0px;
}

.page-title h2 {
	margin-top:0px;
}

.widget-title {
	position: relative;
}
.widget-title h3 {
	color: #fff;
	padding: 4px 0 3px 20px;
	font-size: 20px;
}
.widget-title h3 a {
	color: #fff;
	border-bottom: 1px dashed #fff;
	text-decoration: none;
}
.widget-title h3 a:hover {
	color: #fff;
	border-bottom: 1px solid #fff;
	text-decoration: none;
}


/* B Tabs Widget */
#tabs li.bTabs { float: left; display:inline; color: #ffffff; margin:8px 4px 8px 4px; cursor: pointer; font-size: 12px; }
#tabs li.bTabs a {	color:#fff; display: block;float: left;padding: 3px 3px 2px 3px; text-transform:uppercase;  text-decoration:none;}
#tabs li.bTabs a.selected { background:#fff; color: #555; text-decoration:none; }
#tabs li.bTabs a:hover { background:#eee; color: #555; text-decoration:none; }

#tabs .inside li { border:1px solid #fc3300; border-width:0 0 1px 0; padding:5px 5px 0px 5px; list-style-type:none;}
#tabs article { padding: 5px 5px 0px 5px; margin-bottom: 0px; }
#tabs #tab-tags { padding:10px; }
#tabs ul, ol { margin: 0; }

.clear {
	clear: both;
}


/* --- --- --- [ Comments form ] --- --- --- */

#respond {
	padding-left:20px;
	padding-right:20px;
}

#respond .btn {
	color: #fc3300;
}

#respond .page-title a {
	color:orange;
}

#respond .required {
	color: #ff4b33;
	font-weight: bold;
}
#respond label {
	color: #666;
	font-size: 14px;
	font-weight: bold;
}
#respond input {
	margin: 0;
	width: 98%;
	padding: 5px;
	height:30px;
}
#respond textarea {
	width: 98%;
}
#respond .form-submit {
	margin: 12px 0;
}
#respond .form-submit input {
	font-size: 14px;
	width: auto;
}
#respond .must-log-in {margin-left:30px;}

#submit {
	font-family: 'Oswald', sans-serif;
	color: #fff;
	font-size: 10px;
	padding: 2px 10px;
	cursor: pointer;
}
#submit:hover {
	border: 1px solid #95a1aa;
	background: #fff url(http://oivietnam.com/wp-content/themes/oi/images/entry-meta.png);
	color: #666;
}
.comment-notes {
	margin-bottom: 10px;
	color: #999;
	font-size: 12px;
}
.nocomments {
	margin-left: 40px;
	font-size: 12px;
}

.col1 {
	width: 8%;
}
.col2 {
	width: 90%;
	border: 1px solid #c5d1d9;
}

.comment-list ol, ul {
list-style: none;
padding:0px;
margin-left:0px;
}

.comments .entry-title {
	margin-top: 0px;
	margin-bottom: 0px;
	padding: 7px 0px 6px 16px;
	border-bottom: 1px solid #c5d1d9;
	background: transparent url(assets/img/entry-header.png) top left repeat-x;
	
}

.comments .entry-meta {
	background: transparent url(assets/img/entry-meta.png) center left repeat-x;
	padding: 6px 10px;
	border-top:  1px solid #c5d1d9;
}

/* --- --- [ meta icons ] --- --- */
.date-i, .comment-i, .author-i, .edit-i, .reply-i {
	font-size: 11px;
	margin-right:  20px;
	color: #666;
}
.date-i {
	background: transparent url(assets/icons/date.png) left top no-repeat;
	padding-left: 25px;
}
.comment-i {
	background: transparent url(assets/icons/comments.png) left top no-repeat;
	padding-left: 25px;
}
.author-i {
	background: transparent url(assets/icons/author.png) left top no-repeat;
	padding-left: 20px;
}
.edit-i, .reply-i {
	background: transparent url(assets/icons/edit.png) left top no-repeat;
	padding-left: 20px;
}
.edit-i .reply-i a {
	text-decoration: none;
}
.comment-i a, .author-i a, .date-i .reply-i a {
	color: #666;
	text-decoration: none;
}