/*
Theme Name: VIA Embedded
Theme URI: https://github.com/viaembedded/viaembeddedcom
Author: Gergely Imreh @ VIA
Author URI: http://www.viaembedded.com/
Description: Theme for the VIA Embedded site
Version: 0.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: viaembedded
Tags: blue, white, one-column

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

 VIA Embedded is based on Underscores http://underscores.me/, (C) 2012-2014 Automattic, Inc.

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

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 Reset
2.0 Typography
3.0 Elements
4.0 Forms
5.0 Navigation
	5.1 Links
	5.2 Menus
6.0 Accessibility
7.0 Alignments
8.0 Clearings
9.0 Widgets
10.0 Content
	10.1 Posts and pages
	10.2 Asides
	10.3 Comments
        10.4 Footer elements
        10.5 Headers
11.0 Infinite scroll
12.0 Media
	12.1 Captions
	12.2 Galleries
        12.3 Tables (Tablepress)
13.0 Specific pages
        13.1 Product Page
--------------------------------------------------------------*/


/* =Full-width structure
-------------------------------------------------------------- */

.full { /* #{name}-row get .full to span 100% of the device width */
	width: 100%;
}

.main { /* gives the appearance of a content container while maintaining a full-width design */
	max-width: 1060px;
	margin: 0 auto;
	padding: 0 50px;
}

@media (max-width: 767px) {
    .main {
	padding: 0px 10px;
    }
}

.inner { /* a simple way to style first children of all .main elements */
	padding: 1em 0;
}

.clearfix {
    display: inline-block;
    width: 100%;
}

* { /* keep all site elements their true width. Ex. padding gets subtracted from width */
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	box-sizing: border-box;
}

/*--------------------------------------------------------------
1.0 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 centered 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/ */
	box-sizing: border-box; /* Apply a natural box layout model to the document; see http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */
}
*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #fff; /* Fallback for when there is no custom background color defined. */
}

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

a img {
	border: 0;
}

a sup,
a sub {
    text-decoration: none;
    display: inline-block;
}

/*--------------------------------------------------------------
2.0 Typography
--------------------------------------------------------------*/
@font-face {
    font-family: 'Open Sans';
    src: url('fonts/opensans-regular-webfont.eot');
    src: url('fonts/opensans-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/opensans-regular-webfont.woff2') format('woff2'),
         url('fonts/opensans-regular-webfont.woff') format('woff'),
         url('fonts/opensans-regular-webfont.ttf') format('truetype'),
         url('fonts/opensans-regular-webfont.svg#open_sansregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Open Sans';
    src: url('fonts/opensans-bold-webfont.eot');
    src: url('fonts/opensans-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/opensans-bold-webfont.woff2') format('woff2'),
         url('fonts/opensans-bold-webfont.woff') format('woff'),
         url('fonts/opensans-bold-webfont.ttf') format('truetype'),
         url('fonts/opensans-bold-webfont.svg#open_sansbold') format('svg');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Open Sans';
    src: url('fonts/opensans-italic-webfont.eot');
    src: url('fonts/opensans-italic-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/opensans-italic-webfont.woff2') format('woff2'),
         url('fonts/opensans-italic-webfont.woff') format('woff'),
         url('fonts/opensans-italic-webfont.ttf') format('truetype'),
         url('fonts/opensans-italic-webfont.svg#open_sansitalic') format('svg');
    font-weight: normal;
    font-style: italic;
}
@font-face {
    font-family: 'Roboto';
    src: url('fonts/Roboto-Regular-webfont.eot');
    src: url('fonts/Roboto-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/Roboto-Regular-webfont.woff') format('woff'),
         url('fonts/Roboto-Regular-webfont.ttf') format('truetype'),
         url('fonts/Roboto-Regular-webfont.svg#robotoregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Roboto';
    src: url('fonts/Roboto-Bold-webfont.eot');
    src: url('fonts/Roboto-Bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/Roboto-Bold-webfont.woff') format('woff'),
         url('fonts/Roboto-Bold-webfont.ttf') format('truetype'),
         url('fonts/Roboto-Bold-webfont.svg#robotobold') format('svg');
    font-weight: 700;
    font-style: normal;
}

body,
button,
input,
select,
textarea {
	color: #404040;
	font-family: "Open Sans", "Trebuchet MS", Tahoma, Verdana, Arial, Helvetica, sans-serif;
	font-size: 18px;
	font-size: 1.8rem;
	line-height: 1.4;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-family: Roboto, "Open Sans", "Trebuchet MS", Tahoma, Verdana, Arial, Helvetica, sans-serif;
	color: #403a3a;
}

p {
	margin-bottom: 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-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 1.5rem;
}

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

/*--------------------------------------------------------------
3.0 Elements
--------------------------------------------------------------*/
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

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

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

figure {
	margin: 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

th {
	font-weight: bold;
}

/*--------------------------------------------------------------
4.0 Forms
--------------------------------------------------------------*/
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 */
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	color: rgba(0, 0, 0, .8);
	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.2rem;
	line-height: 1;
	padding: .6em 1em .4em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}

input[type="checkbox"],
input[type="radio"] {
	padding: 0; /* Addresses excess padding in IE8/9 */
}

input[type="search"] {
	-webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
	box-sizing: content-box;
}

input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
	-webkit-appearance: none;
}

form.search-form::before { /* dashicon magnifying glass */
    font-family: dashicons;
    content: "\f179";
    vertical-align: middle;
    font-size: x-large;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
select#lang_choice_1,
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	color: #111;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
	padding: 3px;
}

select#lang_choice_1 {
    font-size: 13px;
}

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

/*--------------------------------------------------------------
5.0 Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
5.1 Links
--------------------------------------------------------------*/
a {
	color: #007AC2;
}

a:visited {
	color: darkblue;
}

a:hover,
a:focus,
a:active {
	color: midnightblue;
}

a.nodecorate {
    text-decoration: none;
}

/*--------------------------------------------------------------
5.2 Menus
--------------------------------------------------------------*/
.main-navigation {
	clear: both;
	display: block;
	float: left;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation li {
	float: left;
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 1.5em;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul a {
    width: 250px;
    margin: 6px 6px 6px 10px;
}

.main-navigation ul ul li {

}

.main-navigation li:hover > a {
}

.main-navigation ul ul :hover > a {
}

.main-navigation ul ul a:hover {
}

.main-navigation ul li:hover > ul {
	left: auto;
}

.main-navigation ul ul li:hover > ul {
	left: 100%;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a {
}

.nav-menu li {
	padding: 5px;
}

/* Small menu */
.menu-toggle {
	display: none;
}

@media screen and (max-width: 767px) {
	/* .menu-toggle, */
	/* .main-navigation.toggled .nav-menu { */
	/* 	display: block; */
	/* } */

	/* .main-navigation ul { */
	/* 	display: none; */
    /* } */


    nav#site-navigation {
	display: block;
	clear: both;
	width: 100%;
    }

    div#breadcrumbs-outer {
	display: none;
    }

    /* Here `!important` is a hack, need to figure out proper priorities */
    body.page-template-default article.page.has-featured-image header.entry-header > img {
	display: none !important;
    }
    body.page-template-default article.page.has-featured-image header.entry-header .entry-title {
	position: relative !important;
	top: inherit !important;
	transform: initial !important;
	max-width: inherit !important;
    }

    div#content-row,
    header.entry-header {
	clear: both;
    }
}

.site-main .comment-navigation,
.site-main .paging-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.paging-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.paging-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/* Navigation menu items, modification */
.page_item {
	background: #FFFFFF;
}

.page_item a {
	color: black;
}


/*--------------------------------------------------------------
6.0 Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.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-size: 1.4rem;
	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 */
}

/*--------------------------------------------------------------
7.0 Alignments
--------------------------------------------------------------*/
.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;
}

/*--------------------------------------------------------------
8.0 Clearings
--------------------------------------------------------------*/
.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;
}

.premargin {
    margin-top: 1.5em;
}

.postmargin {
    margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
9.0 Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets */
.widget select {
	max-width: 100%;
}

/* Search widget */
.widget_search .search-submit {
	display: none;
}

/*--------------------------------------------------------------
10.0 Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
10.1 Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

#page {
	margin: 0 auto;
	max-width: 980px;
	position: relative;
	padding: 0 40px;
}

.entry-title {
    font-size: 2.2em;
    margin-bottom: 0.2em;
}

.entry-meta {
    padding-bottom: 0.25em;
    font-weight: bold;
}

article.category-press .entry-title,
article.category-press-cn .entry-title,
article.category-press-ja .entry-title,
article.category-press-tw .entry-title {
    font-size: 1.6em;
}

article.category-press span.byline,
article.category-press-cn span.byline,
article.category-press-ja span.byline,
article.category-press-tw span.byline {
    display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 0 auto;
	position: relative;
}

article.page .entry-content {
    text-align: justify;
    text-justify: inter-word;
}

article.post .entry-content {
    padding-top: 1em;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

#product-thumb {
    width: 400px;
    float: left;
}
#product-info {
    float: left;
}
#shop-link {
    height: 41px;
    position: relative;
}
#shop-link > a{
    position: absolute;
    right: 20px;
}

#content {
    padding: 0 0 1em 0;
}

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

h2 {
    font-size: 1.5em;
    margin-top: 0.83em;
    margin-bottom: 0.83em;
}

h3 {
    font-size: 1.17em;
    margin-top: 1em;
    margin-bottom: 1em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-left: 0;
    margin-right: 0;
    font-weight: normal;
}

div.entry-content h1,
div.entry-content h2,
div.entry-content h3,
div.entry-content h4,
div.entry-content h5,
div.entry-content h6 {
    font-weight: bold;
}

h1 > a,
h2 > a,
h3 > a,
h4 > a,
h5 > a,
h6 > a {
    text-decoration: none;
}

span.cat-links,
span.tags-links {
    font-style: italic;
}

div.entry-content iframe {
    display: block;
    margin: 0 auto;
}

/*--------------------------------------------------------------
10.2 Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}

/*--------------------------------------------------------------
10.3 Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
10.4 Footer elements
--------------------------------------------------------------*/
.site-info {
    width: 100%;
    font-size: smaller;
    display: table;
}

.site-info div {
    float: none;
    padding: 5px;
    margin: 10px 10px;
    display: table-cell;
    vertical-align:middle;
}

.site-info div.corp-contact {
    vertical-align: top;
}

#footer-row {
    margin-bottom: 0.75em;
}

#footer-banner {
    background: #007AC2;
}

#footer-banner ul{
    display: table;
    margin: 0 auto;
}

#footer-banner ul li {
    display: table-cell;
    float: none;
    text-align: center;
    margin: 0 auto;
    padding: 10px 30px;
    color: white;
    font-size: x-large;
}

#footer-banner ul li a,
#footer-banner ul li a:visited {
    text-decoration: none;
    color: white;
}

#footer-banner ul li a:active,
#footer-banner ul li a:focus,
#footer-banner ul li a:hover {
    text-decoration: none;
    color: black;
}

@media (max-width: 767px) {
    .site-info {
	display: block;
	width: inherit;
	margin: 0 auto;
    }

    .site-info div {
	display: block;
	text-align: center;
    }

    #footer-banner ul li {
	display: table-row;
    }

    #footer-logo {
	display: none;
    }
}

/*--------------------------------------------------------------
10.5 Headers
--------------------------------------------------------------*/

#h-hardware,
#h-software,
#h-expansions,
#h-applications,
#h-solutions {
    margin-top: 45px;
}

#h-hardware:before,
#h-software:before,
#h-expansions:before,
#h-applications:before,
#h-solutions:before {
    width: auto;
    content: " ";
    padding: 60px 41px 30px 25px;
}

#h-hardware:before {
    background: url("images/h-hardware.png") no-repeat center;
}

#h-software:before {
    background: url("images/h-software.png") no-repeat center;
}

#h-expansions:before {
    background: url("images/h-expansions.png") no-repeat center;
}

#h-applications:before {
    background: url("images/h-applications.png") no-repeat center;
}

#h-solutions:before {
    background: url("images/h-solutions.png") no-repeat center;
}


/*--------------------------------------------------------------
11.0 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;
}

/*--------------------------------------------------------------
12.0 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;
}

/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
	max-width: 100%;
}

/*--------------------------------------------------------------
12.1 Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 0 auto;
}

.wp-caption-text {
	text-align: center;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

/*--------------------------------------------------------------
12.2 Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
12.3 Tables (Tablepress)
--------------------------------------------------------------*/

table.tablepress {
    width: 95%;
    margin: 0 auto 1em auto;
    font: 14px/19px "Open Sans", "Trebuchet MS", Tahoma, Verdana, Arial, Helvetica, sans-serif;
    border: none;
}

table.tablepress.centered td {
    text-align: center;
}

table.tablepress thead th {
    background: #403a3a;
    color: white;
    font-weight: normal;
    font-size: larger;
    text-align: center;
    border: none;
    border-left: thin solid white;
    height: 35px;
}

table.tablepress thead th:first-child {
    border-left: thin solid #403a3a;
}

table.tablepress thead th:last-child {
    border-right: thin solid #403a3a;
}

table.tablepress tbody td {
    border: thin solid #403a3a;
    vertical-align: middle;
}

h2.tablepress-table-name {
    padding: 0.5em 0;
    font-size: x-large;
}

table.t-headers tr td[colspan],
table.t-headers tr td[colspan]:hover {
    background-color: #E3E3E3;
}

/* Downloads table */
table.t-downloads {
    margin-bottom: 10px;
}
table.t-downloads .column-2,
table.t-downloads .column-3 {
    width: 170px;
}

table.t-downloads tr td[colspan],
table.t-downloads tr td[colspan]:hover {
    background-color: #E3E3E3;
}

/* Ordering info table */
table.t-ordering .column-1,
table.t-ordering .column-2 {
    width: 200px;
}

/* Data Sheet table */
table.t-datasheet .column-1 {
    font-weight: bold;
    width: 200px;
}
table.t-datasheet tr.row-1 td,
table.t-datasheet tr.row-1:hover td {
    font-weight: bold;
    font-size: x-large;
    color: white;
    background: #007AC2;
}
table.t-datasheet,
table.t-datasheet tr,
table.t-datasheet tbody td {
    border: none;
    font-size: 18px;
    line-height: normal;
}
table.t-datasheet tr {
    border-top: thin solid black;
    border-bottom: thin solid black;
}

table.t-c1-fixwidth .column-1{
    width: 200px;
}

table.twocolumn tbody td {
    width: 50%;
}

table.t-financial-release tr td[colspan],
table.t-financial-release tr td[colspan]:hover {
    background-color: #E3E3E3;
}

table.t-governance {
    border-top: thin solid black;
    font-size: 18px;
}
table.t-governance .column-1 {
    background: #007AC2;
    color: white;
}
table.t-governance .column-2 {
    width: 150px;
    text-align: center;
}

table.t-equal-2 .column-1,
table.t-equal-2 .column-1 {
    width: 50%;
}

@media only screen and (max-width: 797px) {

    table.t-c1-fixwidth .column-1{
	width: initial;
    }

    table.t-ordering .column-1,
    table.t-ordering .column-2 {
	width: initial;
    }
}

/*--------------------------------------------------------------
12.3.1 Custom table modifications
--------------------------------------------------------------*/

.tablepress-id-884 .row-2,
.tablepress-id-884 .row-11,
.tablepress-id-884 .row-15,
.tablepress-id-884 .row-18 {
    background-color: #E3E3E3;
}

/*--------------------------------------------------------------
13.0 Specific pages
--------------------------------------------------------------*/

/*--------------------------------------------------------------
13.1 Product page
--------------------------------------------------------------*/

#product-hightlights-outer {

}

ul#product-highlights {
    list-style-image: url("images/diamond.png");
    line-height: 180%;
    text-align: left;
}

.product-content h1,
.product-content h2,
.product-content h3,
.product-content h4,
.product-content h5,
.product-content h6 {
    color: #007AC2;
    font-weight: bold;
    margin-bottom: 0.2em;
    font-size: 100%;
    font-style: inherit;
}

#product-summary {
    display: table;
    width: 100%;
}

#product-summary > div {
    display: table-cell;
    vertical-align: middle;
    float: none;
}

div#accordion {
    font-size: inherit;
}

span#license-header {
    font-weight: bold;
}

@media (max-width: 899px) {

    #product-summary > div {
	display: table-row;
	float: none;
    }

}


/*------------------
Slider
----------------------*/

/* Prevents slides from flashing */
#slides {
    display:none;
    max-width: 400px;
    margin: 0 auto;
}

/*--------------------------------------------------------------
13.2 Front Page
--------------------------------------------------------------*/

/* Hide title on the front page */
.frontpage header > h1.entry-title {
    display: none;
}

table.frontpage td {
    vertical-align: middle;
}

table#frontpaget1 {
    padding-top: 20px;
}

/*--------------------------------------------------------------
??.? Site Header
--------------------------------------------------------------*/

#head-banner {
    background: #007AC2;
}

#head-banner {
    background: #007AC2 url("images/header.png") no-repeat center;
    height: 98px;
    margin: 0 auto;
    position: relative;
}

/* postioning: http://stackoverflow.com/a/11127437/171237 */
#home-link {
    position: absolute;
    top: 0px;
    right:50%;
    width: 98px;
    height: 98px;
    margin-right: 295px; /* depends on #head-banner background image size */
    background-color: transparent;
    border: none;
}

.home-links {
    display: block;
    position: relative;
    z-index: 10;
}

header#masthead {
    padding: 0.5em 0 0 0;
}

/* Language switcher */

div#language-switcher {
    float: left;
    clear: left;
}

div#language-switcher ul {
    margin: 0;
}

div#language-switcher ul li.lang-item {
    display: inline;
    list-style: none;
    margin-right: 15px;
}

#banner-logo {
    float: right;
}

@media screen and (min-width: 768px) {

    #banner-row {
	height: 98px;
	background: white;
    }

    .banner-section {
	height: 98px;
    }

    #banner-center {
    }

    #banner-logo-outer {
	position: relative;
	height:50px;
    }

    #site-navigation-outer {
    	clear: none;
    	float: none;
    	padding-top: 5px;
    	position: relative;
    	height: 50px;
    	width: 100%
    }
    #site-navigation {
    	width: 100%;
    }

}

/*--------------------------------------------------------------
??.? Yoast Breadcrumbs
--------------------------------------------------------------*/

#breadcrumbs-outer {
    font-size: 14px;
    float: left;
}

p#breadcrumbs {
    margin: 0;
    clear: both;
}

/*--------------------------------------------------------------
??.? Search
--------------------------------------------------------------*/

#search-outer {
    float: right;
}

#search-outer > form > input {
    display: none;
}

/*--------------------------------------------------------------
??.? UberMenu
--------------------------------------------------------------*/

/* Sticky menu and in-site anchors */
a[name] {
    display: block;
    position: relative;
    top: -60px;
    visibility: hidden;
}

/*--------------------------------------------------------------
??.? Page headers
--------------------------------------------------------------*/

body.page-template-default article.page.has-featured-image {
    margin-top: 30px;
}

body.page-template-default article.page.has-featured-image header.entry-header {
    position: relative;
    margin-bottom: 20px;
}

body.page-template-default article.page.has-featured-image header.entry-header > img {
    display: block;
    min-width: 100%;
    max-width: 100%;
    height: auto;
}

body.page-template-default article.page.has-featured-image header.entry-header .entry-title {
    position: absolute;
    top: 50%;
    transform: translate(0, -60%);
    margin: 0;
    max-width: 70%;
}

/*--------------------------------------------------------------
??.? Contact form
--------------------------------------------------------------*/

form.formformat > fieldset {
    margin-bottom: 20px;
    padding-left: 0.75em;
    border: 2px groove;
}

form.formformat > fieldset > legend {
    padding: 0 2px;
    font-weight: bold;
    font-size: large;
}

form.formformat fieldset ol {
    margin: 0;
    padding: 0;
}

form.formformat fieldset li {
    list-style: none;
    padding: 5px;
}

form.formformat fieldset li > label,
form.formformat fieldset li > fieldset > legend {
    font-weight: bold;
}

form.formformat fieldset li > input {
    width: 100%;
    clear: both;
}

form.formformat fieldset li > select {
}

form.formformat fieldset textarea {
    display: block;
    height: 200px;
}

form.formformat fieldset input[type="checkbox"] + label {
    margin: 0px 30px 0 5px;
}

form.formformat em {
    font-weight: bold;
    font-style: normal;
    color: #f00;
    padding-left: 3px;
}

form.formformat fieldset p.parsley-error {
    margin: inherit;
}

.showRow {
    display: table-row;
}
.hidden {
    display: none;
}

p.parsley-success,
input.parsley-success,
select.parsley-success,
textarea.parsley-success {
  color: #468847;
  background-color: #DFF0D8;
  border: 1px solid #D6E9C6;
}

p.parsley-error,
input.parsley-error,
select.parsley-error,
textarea.parsley-error {
  color: #B94A48;
  background-color: #F2DEDE;
  border: 1px solid #EED3D7;
}

.parsley-errors-list {
  margin: 2px 0 3px;
  padding: 0;
  list-style-type: none;
  font-size: 0.9em;
  line-height: 0.9em;
  opacity: 0;
  -moz-opacity: 0;
  -webkit-opacity: 0;

  transition: all .3s ease-in;
  -o-transition: all .3s ease-in;
  -moz-transition: all .3s ease-in;
  -webkit-transition: all .3s ease-in;
}

.parsley-errors-list.filled {
  opacity: 1;
}


/*--------------------------------------------------------------
??.? Responsive Grid
--------------------------------------------------------------*/


/*  SECTIONS  */
.section {
	clear: both;
	padding: 0px;
	margin: 0px;
}

/*  COLUMN SETUP  */
.col {
	display: block;
	float:left;
	margin: 1% 0 1% 1.6%;
}
.col:first-child { margin-left: 0; }

/*  GROUPING  */
.group:before,
.group:after { content:""; display:table; }
.group:after { clear:both;}
.group { zoom:1; /* For IE 6/7 */ }
/*  GRID OF TWO  */
.span_2_of_2 {
	width: 100%;
}
.span_1_of_2 {
	width: 49.2%;
}

/*  GRID OF THREE  */
.span_3_of_3 { width: 100%; }
.span_2_of_3 { width: 66.13%; }
.span_1_of_3 { width: 32.26%; }


.frontpage h1,
.frontpage h2 {
    text-align: center;
}

.frontpage img {
    display:block;
    margin:auto;
}

/*  GO FULL WIDTH AT LESS THAN 790 PIXELS */

@media only screen and (max-width: 797px) {
    .col {
	margin: 1% 0 1% 0%;
    }
    .frontpage img {
	width: 100%;
    }
}

@media only screen and (max-width: 797px) {
    .span_2_of_2, .span_1_of_2 {
	width: 100%;
    }

    .span_3_of_3, .span_2_of_3, .span_1_of_3 {
	width: 100%;
    }
}

/*--------------------------------------------------------------
??.? Contact form
--------------------------------------------------------------*/

div#response {
    padding: 15px 15px 15px 15px;
    background: lightgray;
    margin-top: 15px;
    font-weight: bold;
}

/*--------------------------------------------------------------
??.? Mailing list sign-up
--------------------------------------------------------------*/

div#mc_embed_signup {
    font-size: 18px;
    padding-bottom: 1.5em;
    font-family: "Open Sans", "Trebuchet MS", Tahoma, Verdana, Arial, Helvetica, sans-serif;
}

.mc-field-group.input-group ul li {
    list-style: none;
    display: inline;
    white-space: nowrap;
    padding-right: 10px;
}

div.mc-field-group > label {
    font-weight: bold;
}

.mc-field-group.input-group {
}

.mc-field-group.input-group > ul > li > label{
    padding-left: 10px;
}

/* From: http://cdn-images.mailchimp.com/embedcode/classic-081711.css */
#mc_embed_signup div#mce-responses {
    float:left;
    top:-1.4em;
    padding:0em .5em 0em .5em;
    overflow:hidden;
    width:90%;
    margin: 0 5%;
    clear: both
}

#mc_embed_signup div.response {
    margin:1em 0;
    padding:1em .5em .5em 0;
    font-weight:bold;
    float:left;
    top:-1.5em;
    z-index:1;
    width:80%;
}

#mc_embed_signup #mce-error-response {
    display:none;
}

#mc_embed_signup #mce-success-response {
    color:#529214;
    display:none;
}

#mc_embed_signup label.error {
    display:block;
    float:none;
    width:auto;
    margin-left:1.05em;
    text-align:left;
    padding:.5em 0;
}

div#mc_embed_signup_scroll > div {
    padding-top: 10px;
    width: 95%;
    margin: 0 auto;
}


/* BSP signup form */
div#bspsignup > ul > lh {
    font-weight: bold;
}

div.bspsignup > ul > lh {
    font-weight: bold;
}

div.bspsignup > ul {
    margin: 0.25em 0 0 0.5em;
}
