/*
Theme Name: USBCompany.co.uk
Theme URI: http://underscores.me/
Author: Maciej Bis
Author URI: http://maciejbis.net
Description: Description
Version: 1.0-wpcom
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: usb
Tags:

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.

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


/******CUSTOM CSS**************/
body > div.mfp-wrap.mfp-gallery.mfp-close-btn-in.mfp-ready > div > div.mfp-content > div > figure > img {
	width: 500px!important;
}

/******END CUSTOM CSS**************/


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

/*--------------------------------------------------------------
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-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

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

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

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

/* USB Company mobile enquiry forms: persistent labels and comfortable touch targets. */
@media screen and (max-width: 767px) {
#gform_1 .gfield,
#gform_2 .gfield,
#gform_3 .gfield,
#gform_6 .gfield {
    float: none;
    clear: both;
    width: 100%;
    max-width: 100%;
}
#gform_1 .gfield_label,
#gform_2 .gfield_label,
#gform_3 .gfield_label,
#gform_6 .gfield_label {
    display: block !important;
    margin-bottom: 6px;
}
#gform_1 input[type="text"],
#gform_1 input[type="email"],
#gform_1 input[type="tel"],
#gform_1 input[type="number"],
#gform_1 input[type="file"],
#gform_1 select,
#gform_1 textarea,
#gform_2 input[type="text"],
#gform_2 input[type="email"],
#gform_2 input[type="tel"],
#gform_2 input[type="number"],
#gform_2 input[type="file"],
#gform_2 select,
#gform_2 textarea,
#gform_3 input[type="text"],
#gform_3 input[type="email"],
#gform_3 input[type="tel"],
#gform_3 input[type="number"],
#gform_3 input[type="file"],
#gform_3 select,
#gform_3 textarea,
#gform_6 input[type="text"],
#gform_6 input[type="email"],
#gform_6 input[type="tel"],
#gform_6 input[type="number"],
#gform_6 input[type="file"],
#gform_6 select,
#gform_6 textarea {
    font-size: 16px;
    min-height: 44px;
    max-width: 100%;
}
#gform_1 input[type="submit"],
#gform_1 button[type="submit"],
#gform_2 input[type="submit"],
#gform_2 button[type="submit"],
#gform_3 input[type="submit"],
#gform_3 button[type="submit"],
#gform_6 input[type="submit"],
#gform_6 button[type="submit"] {
    min-height: 44px;
}
}

/* Persistent enquiry labels, keyboard focus and readable validation feedback. */
#gform_1 .gfield:not(.gform_validation_container) > .gfield_label,
#gform_2 .gfield:not(.gform_validation_container) > .gfield_label,
#gform_3 .gfield:not(.gform_validation_container) > .gfield_label,
#gform_6 .gfield:not(.gform_validation_container) > .gfield_label {
    display: block !important;
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}
#gform_1 input:focus,
#gform_1 select:focus,
#gform_1 textarea:focus,
#gform_1 button:focus,
#gform_2 input:focus,
#gform_2 select:focus,
#gform_2 textarea:focus,
#gform_2 button:focus,
#gform_3 input:focus,
#gform_3 select:focus,
#gform_3 textarea:focus,
#gform_3 button:focus,
#gform_6 input:focus,
#gform_6 select:focus,
#gform_6 textarea:focus,
#gform_6 button:focus {
    outline: 2px solid #005a7a;
    outline-offset: 2px;
}
#gform_wrapper_1 .validation_error,
#gform_wrapper_2 .validation_error,
#gform_wrapper_3 .validation_error,
#gform_wrapper_6 .validation_error {
    color: #7f1d1d;
    background: #fff1f2;
    border-left: 4px solid #b91c1c;
    padding: 12px;
    margin-bottom: 16px;
}
#gform_1 .validation_message,
#gform_2 .validation_message,
#gform_3 .validation_message,
#gform_6 .validation_message {
    color: #9b1c1c;
    font-weight: 600;
    margin-top: 4px;
}
