/*
Theme Name: Blain
Theme URI: http://inkhive.com/product/blain/
Author: Rohit Tripathi
Author URI: http://inkhive.com
Description: Blain is a Minimal Responsive theme with Plenty of premium features including Numbered page navigation, Responsive Slider, Customizable Header & Footer, 4 Page Layouts, Custom Widgets & User Friendly Time Display. Blain also has a powerful admin options panel, which lets you modify your site to a great extent. Theme has been already translated into many popular languages inlcuding Russian, Arabic, French, Spanish, Portuguese, German and more.
Version: 9.2.1
License: GNU General Public License
License URI: license.txt
Text Domain: blain
Domain Path: /languages/
Tags: light, custom-background, two-columns, right-sidebar, flexible-width, custom-menu, sticky-post, theme-options, threaded-comments, translation-ready, gray, left-sidebar, custom-menu, editor-style, featured-images, full-width-template, sticky-post, theme-options, threaded-comments
Blain is based on Underscores http://underscores.me/, (C) 2012-2013 Automattic, Inc.
Blain WordPress Theme, Copyright 2013 Rohit Tripathi.
Blain WordPress Theme is distributed under the terms of the GNU GPL v3.
*/
/* =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;
}
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 {
    word-wrap: break-word;
    -ms-word-wrap: break-word;
}
article, aside, details, figcaption, figure, footer, header, main, nav, section {
    display: block;
}
ol, ul {
    list-style: none;
}
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: #404040;
    font-family: sans-serif;
    font-size: 20px;
    font-size: 2rem;
    line-height: 1.5;
}
/* Headings */
h1, h2, h3, h4, h5, h6 {
    clear: both;
}
hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
}
/* Text elements */
p {
    margin-bottom: 1.5em;
}
#main ul, ol {
    margin: 0 0 1.5em 1em;
}
#breadcrumbs {
    margin: 0 0 15px 0;
}
ul {
    list-style: disc;
}
ol {
    list-style: decimal;
}
li > ul, li > ol {
    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: italic;
}
blockquote {
    margin: 0 1.5em;
}
address {
    margin: 0 0 1.5em;
}
pre {
    background: #eee;
    font-family: "Courier 10 Pitch", Courier, monospace;
    font-size: 15px;
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
}
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;
}
img {
    height: auto; /* Make sure images are scaled correctly. */
    max-width: 100%; /* Adhere to container width. */
}
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 */
}
button, html input[type="button"], input[type="reset"], input[type="submit"] {
    border: none;
    background: #71a84f;
    color: white;
    cursor: pointer;
    -webkit-appearance: button;
    font-size: 20px;
    line-height: 1;
    padding: .6em 1em;
}
::-webkit-input-placeholder {
 color: white;
}

:-moz-placeholder { /* Firefox 18- */
 color: white;
}

::-moz-placeholder {  /* Firefox 19+ */
 color: white;
}

:-ms-input-placeholder {
 color: white;
}
button:hover, html input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover {
    background-color: #003764;/*box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 15px 17px rgba(255, 255, 255, 0.4), inset 0 -5px 12px rgba(0, 0, 0, 0.02);*/
}
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 {
    border-color: #aaa #bbb #bbb #bbb;
}
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 */
    -webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
    -moz-box-sizing: content-box;
    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"], input[type="date"], input[type="url"], input[type="password"], input[type="search"], input[type="tel"], textarea {
    color: white;
    border: none;
    border-radius: 3px;
    background: none;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="date"]:focus, input[type="url"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="tel"]:focus, textarea:focus {
    color: #111;
}
input[type="text"], input[type="email"], input[type="date"], input[type="url"], input[type="password"], input[type="tel"], input[type="search"] {
    padding: 3px;
    margin-top: 5px;
    margin-bottom: 5px;
    width: 100%;
    background-color: white;
    color: #58595b;
}
select {
    width: 100%;
    margin-top: 5px !important;
    margin-bottom: 5px !important;
}
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: 100%;
    max-height: 100px;
}
/* Alignment */
.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}
.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}
.aligncenter {
    clear: both;
    display: block;
    margin: 0 auto;
}
/* Text meant only for screen readers */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
}
.screen-reader-text:hover, .screen-reader-text:active, .screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar */
}
/* Clearing */
.clear:before, .clear:after, .entry-content:before, .entry-content:after, .comment-content:before, .comment-content:after, .site-header:before, .site-header:after, .site-content:before, .site-content:after, .site-footer:before, .site-footer:after {
    content: '';
    display: table;
}
.clear:after, .entry-content:after, .comment-content:after, .site-header:after, .site-content:after, .site-footer:after {
    clear: both;
}
/* =Content
----------------------------------------------- */
.sticky {
}
.hentry {
    margin: 0 0 1.5em;
}
.byline, .updated {
    display: none;
}
.single .byline, .group-blog .byline {
    display: inline;
}
.page-content, .entry-content, .entry-summary {
    margin: 1.5em 0 0;
}
.page-links {
    clear: both;
    margin: 0 0 1.5em;
}
/* =Asides
----------------------------------------------- */
.blog .format-aside .entry-title, .archive .format-aside .entry-title {
    display: none;
}
/* =Media
----------------------------------------------- */
.page-content img.wp-smiley, .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;
    margin-bottom: 1.5em;
    max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
    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;
}
.site-main .gallery {
    margin-bottom: 1.5em;
}
.gallery-caption {
    font-size: small;
}
.site-main .gallery a img {
    border: none;
    height: auto;
    max-width: 90%;
}
.site-main .gallery dd {
    margin: 0;
}
.site-main .gallery-columns-4 .gallery-item {
}
.site-main .gallery-columns-4 .gallery-item img {
}
/* Make sure embeds and iframes fit their containers */
embed, iframe, object {
    max-width: 100%;
}
/* =Navigation
----------------------------------------------- */
.site-main [class*="navigation"] {
    margin: 0 0 1.5em;
    overflow: hidden;
}
[class*="navigation"] .nav-previous {
    float: left;
    width: 50%;
}
[class*="navigation"] .nav-next {
    float: right;
    text-align: right;
    width: 50%;
}
/* =Comments
----------------------------------------------- */
.comment-content a {
    word-wrap: break-word;
}
.bypostauthor {
}
/* =Widgets
----------------------------------------------- */
.widget {
    margin: 0 0 30px;
}
/* Make sure select elements fit in widgets */
.widget select {
    max-width: 100%;
}
/* Search widget */
.widget_search .search-submit {
    display: none;
}
/* =Infinite Scroll
----------------------------------------------- */
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .paging-navigation, /* Older / Newer Posts Navigation (always hidden) */ .infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
    display: none;
}
/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */
.infinity-end.neverending .site-footer {
    display: block;
}
/* Slide in Sidebar */
/* adjust body when menu is open */
body.slide-active {
    overflow-x: hidden
}
/*first child of #page-content so it doesn't shift around*/
.no-margin-top {
    margin-top: 0px!important
}
/*wrap the entire page content but not nav inside this div if not a fixed top, don't add any top padding */
#page-content {
    position: relative;
    padding-top: 70px;
    left: 0;
}
#page-content.slide-active {
    padding-top: 0
}
/* put toggle bars on the left :: not using button */
#slide-nav .navbar-toggle {
    cursor: pointer;
    position: relative;
    line-height: 0;
    float: right;
    margin: 0;
    width: 45px;
    /*height: 65px;*/
    padding: 14px 0 0 0;
    border: 0;
    background: transparent;
}
/* icon bar prettyup - optional */
#slide-nav .navbar-toggle > .icon-bar {
    width: 100%;
    display: block;
    height: 5px;
    margin: 6px 0 0 0;
}
#slide-nav .navbar-toggle.slide-active .icon-bar {
}
.navbar-header {
    position: relative
}
/* un fix the navbar when active so that all the menu items are accessible */
.navbar.navbar-fixed-top.slide-active {
    position: relative
}
#mobile-search {
    display: inline-block;
    float: right;
    position: absolute;
    right: 90px;
    top: 6px;
    z-index: 2000;
}
#mobile-search .caret {
    display: none;
}
#mobile-search .fa-search {
    font-size: 32px;
}

@media (min-width:768px) and (max-width:1479px) {
.navbar-brand {
    width: 220px !important;
    padding-top: 4px !important;
}
}
#nav-section {
    position: fixed;
    z-index: 100;
    width: 100%;
    background-color: white;
    height: 103px;
    border-bottom: 10px solid #71a84f;
}

@media (min-width:992px) {
}

@media (min-width:1480px) {
#nav-section {
    height: 134px;
}
}

@media (max-width:767px) {
.navbar-default .navbar-nav > li > a {
    color: white !important;
    border-bottom: none !important;
    text-align: left !important;
}
.navbar-default .navbar-nav > .dropdown > a .caret {
    border-top-color: #fff !important;
    border-bottom-color: #fff !important;
    display: inline-block !important;
    display: none;
}
.navbar-ex1-collapse .navbar-right {
    display: none !important;
}
.nav-wrapper .social-links {
    display: none;
}
.navbar-brand {
    /*float:right !important;*/
    position: relative !important;
    width: 180px !important;
    margin-bottom: 15px !important;
}
.navbar-collapse {
    background-color: rgba(113,168,79,.9);
}
#slide-nav .container {
    margin: 0;
    padding: 0!important;
}
#slide-nav .navbar-header {
    margin: 0 auto;
    padding: 0 15px;
}
#slide-nav .navbar.slide-active {
    /*position: absolute;
	    width: 80%;
	    top: -1px;*/
    z-index: 1000;
}
#slide-nav #slidemenu {
    background: #f7f7f7;
    left: -100%;
    width: 80%;
    min-width: 0;
    position: absolute;
    padding-left: 0;
    z-index: 2;
    top: -8px;
    margin: 0;
}
#slide-nav #slidemenu .navbar-nav {
    min-width: 0;
    width: 100%;
    margin: 0;
}
#slide-nav #slidemenu .navbar-nav .dropdown-menu li a {
    min-width: 0;
    width: 80%;
    white-space: normal;
    padding-top: 15px;
}
#slide-nav {
    border-top: 0
}
#slide-nav.navbar-inverse #slidemenu {
    background: #333
}
/* this is behind the navigation but the navigation is not inside it so that the navigation is accessible and scrolls*/
#slide-nav #navbar-height-col {
    position: fixed;
    top: 0;
    height: 100%;
    width: 80%;
    left: -80%;
    background: #eee;
}
#slide-nav.navbar-inverse #navbar-height-col {
    background: #333;
    z-index: 1;
    border: 0;
}
#slide-nav .navbar-form {
    width: 100%;
    margin: 8px 0;
    text-align: center;
    overflow: hidden;/*fast clearfixer*/
}
#slide-nav .navbar-form .form-control {
    text-align: center
}
#slide-nav .navbar-form .btn {
    width: 100%
}
}
@media (max-width:356px) {
	.navbar-brand {
    /*float:right !important;*/
    position: relative !important;
    width: 108px !important;
    margin-bottom: 15px !important;
		margin-top: 12px;
}
}
@media (min-width:768px) {
#page-content {
    left: 0!important
}
.navbar.navbar-fixed-top.slide-active {
    position: fixed
}
.navbar-header {
    left: 0!important
}
#mobile-search {
    display: none;
}
}
.homepage #primary {
/*padding-top:103px !important;*/
}
.carousel-caption h3 {
    font-weight: 400;
    text-align: left;
    font-size: 18px;
}

@media (min-width:768px) {
.carousel-caption h3 {
    font-size: 22px;
}
}

@media (min-width:992px) {
.carousel-caption h3 {
    font-size: 30px;
}
}
.wpcf7-text, .wpcf7-textarea, .wpcf7-date {
    border: 1px solid #ddd !important;
    background-color: white;
}

@media (max-width:767px) {
#carousel1 {
    margin-top: 103px !important;
    height: 200px;
}
#carousel1 .item>img {
    height: 200px;
}
}
.landing-page {
    padding-top: 80px !important;
}
.landing-page a {
    padding-bottom: 20px;
}

@media screen and (-webkit-min-device-pixel-ratio:0) and (min-width:768px) {
/* Safari only override */
	::i-block-chrome, .navbar-brand {
 bottom: -40px;
}
	::i-block-chrome, .dropdown-menu {
 width:auto !important;
}
}

@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:portrait) {
.navbar-brand {
    bottom: -40px;
}
.dropdown-menu {
    width: auto !important;
}
}

@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:landscape) {
.navbar-brand {
    bottom: -40px;
}
.dropdown-menu {
    width: auto !important;
}
}
#logorow div {
    margin-top: 50px;
}
select.wpcf7-select{
	padding: 3px;
margin-top: 5px !important;
margin-bottom: 10px !important;
width: 100%;
background-color: white;
color: #58595b;
border: 1px solid #ddd !important;
border-radius: 3px;
}