/*
Theme Name: Infraca
Text Domain: infraca
*/

.tc {text-align: center;}
.container {    max-width: 1170px;     margin: auto;     padding: 0 15px;}
#primary2     {width: 100%; float: left;}
.homeproduction {margin: 60px auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    grid-auto-rows: 300px;}
.homeproduction a {    text-decoration: none;    color: #fafafa;}
.homeproduction a:hover {    color: #ddd;}
.grid4-h {min-height: 55px;}
.footer-link {margin-right: 20px;}
.rpwe-block ul{display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px;}

.servicio-block {background-color: #f6f6f6;     margin: 60px 0;}
.servicio {display:grid; grid-template-columns:1fr 1fr;    }
.servicio1 {padding: 30px 50px 30px 0;}
.servicio1 h2 {text-transform: uppercase; text-align: center;    color: #009ee0;}
.servicio1 h2 a {color: #009ee0;}
.servicio1 h3 a {text-transform: uppercase; color: #4a4a4a;}

.servicio2 {display: grid;    grid-template-columns: 1fr 1fr;     gap: 15px;    margin-top: 30px;}

.homeslogan {  display: grid;    grid-template-columns: 300px 1fr;    gap: 50px;    margin: 60px auto;    }
.homeslogan1 {border-right: 2px solid #b1b1b1;}
.homeslogan1 h2 {    font-size: 28px;}

div#n2-ss-2 .n2-ss-layers-container {    width: 1170px!important;    margin: auto!important;}
.blockh1-container {    background: #f6f6f6; margin-bottom: 30px;}
.blockh1 {width: 1170px;margin: 0 auto; padding: 20px 0;}

.plashka {color: white;
    font-size: 16px;
    text-decoration: none;
    background-color: #009ee0;
    padding: 10px 10px 10px 20px;
    display: block;
    margin-bottom: 10px;}

.main-navigation a:hover {color: #00a8e3; -webkit-transition: .2s ease-out;    -moz-transition: .2s ease-out;    transition: .2s ease-out;}

.home #breadcrumb-div {display: none;}
#breadcrumb-div {    margin-top: 5px;    font-size: 13px;}
#breadcrumb-div a{    color: #181818; font-weight: 300;}
.breadcrumb_last {    font-weight: 300;}
.single .breadcrumb_last {}
#breadcrumbs {padding: 0px;}

.head1 {    padding: 10px;    font-size: 14px;}
.head1 a {color: #181818;    margin-left: 10px; font-weight: 300;}
#prehead {background: #f6f6f6;   }
.prehead1 {    width: 1170px;
    margin: 0 auto;
    display: grid;
	grid-template-columns: 1fr 220px;}

.zapros {
    text-align: center;
    background: #00a8e4;
    padding: 5px;
    display: block;
	color: white;
	font-size:14px;
    }
.zapros-mobile {display:none;}

.site-title img {height: 63px;}
.headright {margin-right: 30px;     float: right;}
.shop-content {    width: 73%;    float: right;}
.ds-attributes {margin-top: 20px;}
.archive .products {}
.sidebar-object {    width: 25%;    float: left;    margin-right: 2%;}
.dsp {    font-size: 0.9em;}
.category-news .hentry {    min-height: 220px;}
.size-thumb-news {width: 250px; float: left; margin: 0 1em 1em 0;}
article .entry-title {margin: 0 0 0.67em 0; line-height: 1.5;}
.page-title {margin: 0; line-height: 1;}

.category-high-speed-doors h2 {font-size: 22px;}

.podcategory-grid {display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    grid-auto-rows: 300px;
    margin-bottom: 30px;}
.podcategory-grid-acs {display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    grid-auto-rows: 200px;
    margin-bottom: 30px;}
.podcategory-grid-doors {display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    grid-auto-rows: 300px;
    margin-bottom: 30px;}
.podcategory-grid-doors2 {display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 30px;}
.podcategory-grid-doors2in1 {display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    grid-auto-rows: 300px;
    margin-bottom: 30px;}
.podcategory-grid-doors2in2 {display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    grid-auto-rows: 300px;
    margin-bottom: 30px;}   
.podcategory-grid-project {display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
    grid-auto-rows: 200px;
    margin-bottom: 30px;}
.grid4 {display: grid;    grid-template-columns: 1fr 1fr 1fr 1fr;  gap: 20px;    margin-bottom: 30px;}  
.grid2 {display: grid;    grid-template-columns: 1fr 1fr;  gap: 20px;    margin-bottom: 30px;}
 
.podcategory .entry-header {    padding: 10px 10px 10px 20px;        background-color: #009ee0;     color: white;}
.podcategory .entry-title, .podcategory .hentry {margin: 0;}
.podcategory h2 {font-weight: 400;}
.podcategory .categorydesc {font-size: 0.8em;}
.podcategory a {color: white;}
.podcategory a:hover {color: #ddd;}
.podcategory {display: grid;    grid-template-rows: 1fr min-content;}
.podcategory h2 {font-size: 1.3em;}
.podcategory img {    width: 100%;}

.doci .entry-header {position: relative; bottom: 71px; padding: 5px 0 0 10px; background: rgba(0, 109, 172, 0.5);
height: 40px;}
.doci a {color: white;}
.docia:hover {color: #ddd;}
.doci {margin: 0 0 1.5em 1.3%; width: 32%; float: left;}
.doci h2 {font-size: 1em;}

.widget-title {    color: white;
    font-size: 16px;
    text-decoration: none;
    background-color: #009ee0;
    padding: 10px 10px 10px 20px;
    display: block;
    margin-bottom: 10px;}

.production {display: grid;    grid-template-columns: 1fr 1fr;    gap: 40px; grid-auto-rows: 300px;}
.production a {text-decoration: none; color: #fafafa;}
.production a:hover {color: #ddd;}
.prodtitle {background: rgba(0, 109, 172, 0.8); padding: 0.5em; line-height: 1;     min-height: 100px;}
.prodh {font-size: 1.3em; line-height: 1.5;}
.prodd {font-size: 0.8em;}
.prod {    display: grid;    grid-template-rows: 1fr auto;}
.prod1 {    background: url(/wp-content/uploads/2020/06/sliding-cold-room-door-comercial-002-infraca-3-1.jpg);    background-size: cover;}
.prod2 {    background: url(/wp-content/uploads/2020/06/dver11.jpg);    background-size: cover;}
.prod3 {    background: url(/wp-content/uploads/2016/02/hi-speed-doors.jpg);    background-size: cover;}
.prod4 {    background: url(/wp-content/uploads/2016/02/docks.jpg);    background-size: cover;}
.prod5 {    background: url(/wp-content/uploads/2016/02/acs.jpg);    background-size: cover;}

.flag {padding-left: 7px; height: 14px;}
.flag2 {padding-left: 7px; height: 15px!important;}
.flag3 {padding-left: 7px; height: 20px!important;}
.flags {    margin-top: 20px; text-align: right;}
.rpwe-time {color: #58595B!important; font-size: 14px!important; float: left; margin-right: 10px;}
.rpwe-block h3 {font-size: 14px!important; font-weight: bold;}
.rpwe-title a {color: rgb(88, 89, 91);}
.mc1 ul {    margin: 0 0 20px 30px;
    padding: 0;
    line-height: 1.5;}
.mc1 li a {text-decoration: none; color: rgb(64, 64, 64); padding-left: 5px; font-size: 14px;}
.mc1 li a:active {	text-decoration: underline;}
.mc1 a:hover {text-decoration: underline;}
.mch {color: white;
    font-size: 16px;
    text-decoration: none;
    background-color: #009ee0;
    padding: 10px 10px 10px 20px;
    display: block;
    margin-bottom: 10px;}

.hd {clear:both;}
.hd1 {width: 50%;float: left; margin-bottom: 20px;}
.hd1 ul {list-style: none; margin: 0; padding: 0;}
.hd1 li a {text-decoration: none; color: rgb(64, 64, 64); border-left: 1px solid black; padding-left: 5px; font-size: 0.8em;}
.hd1 a:hover {text-decoration: underline;}
.hd1 img {width: 210px;}
.hdt {text-decoration: none; font-weight: bold; font-style: italic; font-size: 1em; float: right; padding-right: 12px; color: rgb(64, 64, 64);     text-align: right;}
.homeside1 {width: 48%; margin-right: 4%; float: left;}
.homeside2 {width: 48%;float: left;}

#secondary {    width: 24%;
    float: right;
    margin-left: 4%;}
#primary {width: 72%; float: left;}

body {  background: #fff;
	margin: 0;
}
.site-content, .site-header {
max-width: 1170px;
margin: 0 auto;
background: #fff;
}

.site-content {padding: 0;}

.site-footer {padding: 30px; text-align: center;}

.site-branding {    margin: 15px 0; display: grid;       grid-template-columns: 185px 1fr 220px;    column-gap: 10px;}
.site-title {float: left;}



/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Asides
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	font-family: font-family: 'Open Sans', sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}


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

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

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

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

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

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

b,
strong {	font-weight: bold;}

dfn {
	font-style: italic;
}

h1 {
	font-size: 30px;
	margin: 0;
	line-height: 1;
}

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

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: 1em 40px;
}

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

pre {
	overflow: auto;
}

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

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

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

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

input {
	line-height: normal;
}

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

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

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

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

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

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table { border: 1px solid;
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {	
	padding: 5px;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #404040;
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

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: 0.9375rem;
	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: 0.9375rem;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*: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;
}


blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

hr {
	background-color: #A8A8A8;
	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. */
}

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

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	 border: none;
    background: #00a8e4;
    box-shadow: none;
    color: white;
    font-size: 14px;
    line-height: 1;
    padding: .6em 1em .4em;
    text-shadow: none;
}

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="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
}

select {
	border: 1px solid #ccc;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"] {
	padding: 3px;
}

textarea {
	padding-left: 3px;
	width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: royalblue;
	text-decoration: none;
}

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

a:focus {
	outline: thin dotted;
}

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

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
	clear: both;
	display: block;
	float: left;
	width: 100%;
	height: 45px;
	margin-top: 20px;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
	float: right;
    max-width: 700px;
}

.main-navigation li {
	float: left;
	position: relative;
	padding-right: 37px;
}

.main-navigation a {
	display: block;
	text-decoration: none;
	color: #606060;
	text-transform: uppercase;
    font-size: 15px;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	left: -999em;
	z-index: 99999;
	background: #fff;
    padding: 10px;
    border: 1px solid #dedede;
}

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

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul ul li {padding: 5px;

}

.main-navigation li:hover > a,
.main-navigation li.focus > a {
}

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

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {
}

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

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

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current-menu-ancestor > a { color: #00a8e3;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (max-width: 1024px){
.site-content {padding: 15px;}
.site-branding {padding: 0 15px;}
}

@media screen and (max-width: 980px){
.site {width: 100%;}
.prehead1 {    width: 100%;}
.head1 {display: none;}
}

@media screen and (max-width: 860px){
#head1, #head2 {display: none;}
.homeside1, .homeside2 {width: 100%; margin-right: 0;}
#secondary {	display: none;	}
#primary     {width: 100%;}
}



.menu-toggle {display: none;	}
.main-navigation ul {	display: block;	}
.flags-mobile {display: none;}
.forclients-mobile {display: none;}

@media screen and (max-width: 768px) {
    .grid2, .grid4, .podcategory-grid-doors, .podcategory-grid-doors2in2, .podcategory-grid-project, .podcategory-grid-doors2 {grid-template-columns: 100%;}
	.container {max-width: 100%; }
	.menu-item-31	{	display: none;	}
	.menu-toggle {display: block;}
	.main-navigation ul {	display: none;	}
	.main-navigation li {    width: 100%;    border-right: none;     z-index: 9999;     padding-right: 0;}
	.main-navigation ul ul {position: initial; left: 0;     padding-left: 10px;}
	.main-navigation.toggled ul {    display: inline-block;    background: #fff;     z-index: 99999;     box-shadow: none;}
	#primary-menu a {background-color: #ffffff;     padding: 5px 5px 5px 10px;}
	#primary-menu {box-shadow: 0 0 10px rgba(0,0,0,0.5);}
	table {		overflow-x: auto;		display: block;	}
	.production, .homeproduction {grid-template-columns: 1fr;}
	.site-branding {    grid-template-columns: 1fr 62px;}
	.main-navigation ul ul li {    padding: 0;}
	.flags {display: none;}
	.flags-mobile {display: none;}
	.forclients-mobile {    display: block;    padding: 5px;    font-size: 14px;    text-align: center;}
	.podcategory-grid, .homeslogan, .servicio, .rpwe-block ul, .servicio2, .podcategory-grid-acs {    grid-template-columns: 100%;}
	.site-content, .site-header, .blockh1, .homeslogan, .servicio {width: 100%;}
	.blockh1 {padding: 15px;}
	.blockh1-container {    margin-bottom: 0;}
	div#n2-ss-2 .n2-ss-layers-container {width: 100%!important;}
	.servicio1 {        padding: 0 15px; margin-bottom: 30px;}
	.servicio {min-height: 820px;}
	.zapros-mobile {
    text-align: center;
    background: #00a8e4;
    padding: 10px 0;
    display: block;
	color: white;
	font-size:14px;    }
	.servicio-block {margin: 0;}
	.prehead1 {grid-template-columns: 110px 1fr;}
}

@media screen and (max-width: 350px){
	.servicio {min-height: 890px;}
}

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

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

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

/*--------------------------------------------------------------
# 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: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: 0.875rem;
	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. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 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-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# 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;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

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

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

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## 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: 0;
}

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

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

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

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-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;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .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%;
}

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

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

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

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

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