/*
Theme Name: InfinitoDesign

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
11.0 - Infinite scroll
12.0 - Media
	12.1 - Captions
	12.2 - Galleries
13.0 - Skeleton
--------------------------------------------------------------*/

/*--------------------------------------------------------------
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: Verdana, "Helvetica Neue", "Helvetica", sans-serif;
	font-size: 16px;
	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/ */
}

*,
*:before,
*:after { /* apply a natural box layout model to all elements; see http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */ /* Not needed for modern webkit but still used by Blackberry Browser 7.0; see http://caniuse.com/#search=box-sizing */ /* Still needed for Firefox 28; see http://caniuse.com/#search=box-sizing */
	box-sizing:         border-box;
}

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 {
	outline: 0;
	text-decoration: none;
}
a:focus {
	outline: 0;
}

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

a img {
	border: 0;
}

/*--------------------------------------------------------------
2.0 Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #666;
	/*font-family: 'Libre Baskerville', Adobe Garamond, Times New Roman, sans-serif;*/
	font-size: 16px;
	letter-spacing: -0.025em;
	line-height: 1.25;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	margin-bottom: 0.5em;
}

h1 { font-size: 36px; line-height: 40px; }
h2 { font-size: 32px; line-height: 36px; }
h3 { font-size: 28px; line-height: 32px; }
h4 { font-size: 24px; line-height: 28px; }
h5 { font-size: 20px; line-height: 24px; }
h6 { font-size: 16px; line-height: 19px; }

p {
	margin-bottom: 1.5em;
	letter-spacing: 1.5px;
	line-height: 1.4;
	font-size: 16px;
	text-shadow: 0px 0px;
}

b,
strong {
	font-weight: bold;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 0 .5em;
	font-size: 24px;
	font-style: italic;
	letter-spacing: 0;
	color: #333;
}

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

.default-color {
	color: #fc5253
}
/*--------------------------------------------------------------
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: #fc5253;
	border-radius: 3px;
	background: #fc5253;
	box-shadow: none;
	color: #FFF;
	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: 1.6em 2em 1.4em;
	text-shadow: none;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #fc5253;
}

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

button.toggle-menu {
	/*font-family: 'Oswald', "Helvetica Neue", "Helvetica", "Arial", "sans-serif";*/
	background: none;
	color: #33384a;
	border: none;
	text-transform: uppercase;
	font-size: 15px;
	letter-spacing: 0.085em;
}
button.toggle-menu .fa {
	font-size: 18px;
}

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 */ /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
	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="url"],
input[type="password"],
input[type="search"],
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;
	width: 100%;
}

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

a:visited {
	color: #33384a;
}

a:hover,
a:focus,
a:active {
	color: #33384a;
}

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

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

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

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

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

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

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

.comment-navigation .nav-previous,
.paging-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
	border-right: 1px solid #dadada;
	padding: 40px 20px;
	font-size: 22px;
}

.comment-navigation .nav-next,
.paging-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
	padding: 40px 20px;
	font-size: 22px;
}

 a span.meta-nav {
	color: #fc5253;
}

.home-navigation-container {
    color: #fff;
    position: fixed;
    right: 0;
}

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

/*--------------------------------------------------------------
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;
}
.widget-area {
	padding-top: 50px;
	font-size: 13px;
	border-top: 1px solid #dadada;
}
.widget-title {
	color: #33384a;
	font-size: 26px;
}

/*--------------------------------------------------------------
10.0 Content
--------------------------------------------------------------*/

.site-header {
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 9;
}
.site-branding {
	max-width: 300px;
	margin-top: 30px;
	margin-left: 20px;
	float: left;
}
.home-branding {
	margin-left: 6%;
}
.home-branding a, .home-navigation-container button.toggle-menu {
	color: #fff;
}
.navigation-container {
	float: right;
	width: auto;
	margin-right: 10px;
	margin-top: 20px;
	text-align: right;
}
.home-navigation-container {
	color: #fff;
}
#home-hero {
	height: 700px;
	width: 100%;
}
@media only screen and (min-width: 1280px) and (max-width: 1799px) {
	#home-hero {
		background-position: 50% -70px !important;
	}
}

@media only screen and (min-width: 1800px) {
	#home-hero {
		background-position: 50% -120px !important;
	}
}
.hero-bg {
 background-size: cover !important;
	background-color: #333333 !important;
	background-attachment: fixed !important;
}
.hero-container {
	height: 700px;
	width: 100%;
	display: table;
}
.hero-text {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	color: #fff;
}
.hero-text h2 {
	font-size: 60px;
	line-height: 82px;
	font-weight: 800;
	/* font-style: italic;*/
	margin-bottom: 0.35em;
	padding: 0 20px;
}
.hero-text h3 {
	/*font-family: 'Raleway', "Helvetica Neue", Helvetica, Arial, sans-serif;*/
	font-size: 18px;
	line-height: 22px;
	font-weight: 900;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	padding: 0 20px;
}
#home-stickies {
	width: 100%;
	position: relative;
	overflow: auto;
}
#home-stickies a {
	color: #f1f1f1;
}
#home-stickies .top-left {
	width: 60%;
	float: left;
	overflow: auto;
	background: #333;
}
#home-stickies .top-right {
	width: 40%;
	float: left;
	overflow: auto;
	background: #333;
}
#home-stickies .bottom {
	width: 100%;
	background: #333;
}
#home-stickies .top-section {
	overflow: auto;
}
.square-box {
    position: relative;
    overflow: hidden;
    background: #333;
	/* width: 35%;  */
	width: 20%;
	float: left;
}
.square-box:before {
    content: "";
    display: block;
    padding-top: 100%;
}
.square-content {
    position:  absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    color: white;
	background-size: cover !important;
}
.square-content div {
   display: table;
   width: 100%;
   height: 100%;
}
.square-content span {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    color: white;
}
.large-square {
	width: 65%;
}
.full-square {
	width: 100%;
}
.bottom-square {
	width: 20%;
}
.top-left-square {
	float: right;
}
.top-bottom-left-square {
	float: right;
}
.top-left-square-large {
	float: left;
	padding-top: 5.01%;
}
.top-right-square:before {
	padding-top: 40%;
}
.top-bottom-right-square:before {
	padding-top: 117.5%;
}
.top-bottom-left-square:before {
	padding-top: 53.85%;
}
.site-description-square {
	background: #fc5253;
	font-size: 1.5vw;
	font-weight: 700;
	padding: 20px;
}
.sq-4 img {
	width: 100% !important;
	height: auto !important;
}
.site-footer {
	padding: 50px 0;
	color: #ccc;
}
.site-footer .fa {
	font-size: 24px;
	margin-right: 10px;
}
.social-media-icons {
  color: #ccc;
  float: left;
  margin: 0;
  text-align: left;
}
.social-media-icons li {
  font-size: 24px; !important;
  color: #ccc;
  display: inline-block;
  float:left !important;
  margin: 0;
  text-align: left;
  list-style: none outside none;
  line-height: 0px !important;
}

.social-media-icons li a {
  font-size: 24px; !important;
  color: #ccc;
  padding: 0 7px;
  line-height: 0px !important;
  display: inline-block !important;
  -webkit-transition: background-color 500ms ease-out 1s;
  transition: background-color 500ms ease-out 1s;
}

.social-media-icons a:hover { color: #000; }

.social { margin: 1rem 0; }

.site-info { text-align:right; }
/*--------------------------------------------------------------
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;
}

.default-page, .single-blog-post {
	padding-top: 140px;
}

.entry-title, .page-title {
	color: #33384a;
	font-size: 4vw;
	line-height: 5.5vw;
   position: relative;
}
.entry-title:after, .page-title:after {
	border: 4px solid;
	border-color: #fc5253;
    content: " ";
    display: block;
    margin: 30px 0 35px;
    width: 100px;
}
img.single-thumb {
	margin: 0 auto 50px;
	display: block;
}
.single-blog-post .entry-content, .comments-area, .single-blog-post .entry-footer, .entry-content {
	max-width: 100%;
	margin-right: 0px !important;
  margin-left: 0px !important;
	margin: 0 auto 1.5em;
	background-color: rgba(255, 255, 255, 0.85) !important;
  padding: 3% !important;
	/*font-family: "Times New Roman" !important;*/

}
.entry-footer {display:none;}
.single-blog-post .entry-header {
	padding-bottom: 30px;
	border-bottom: 1px solid #dadada;
	margin-bottom: 30px;
}
.blog-archive {
	padding-top: 120px;
	line-height: 1;
}
.blog-archive .entry-title {
	font-size: 20px;
	font-size: 1.5vw;
	line-height: 25px;
	line-height: 1.75vw;
	font-weight: 700;
	word-break: break-word;
}
.blog-archive .entry-content {
	margin-bottom: 0;
}

.blog-archive .entry-title:after {
	margin: 15px auto 20px;
	border-width: 2px;
}
.blog-archive article {
	border-top: 1px solid #dadada;
	padding: 10px 0;
	margin-bottom: 0;
	text-align: center;
}
.blog-archive .attachment-post-thumbnail {
	height: auto;
	width: auto;
}

/*
.blog-archive article:nth-child(2n) {
	background: #E1EBF2;
}
*/
.entry-meta {
	font-style: italic;
	font-size: 15px;
	display:none; /* mod.*/
}
.post-navigation-container {
	border-top: 1px solid #dadada;
	border-bottom: 1px solid #dadada;
	margin-bottom: 30px;
}
.works-page {
	padding-top: 100px;
}
.works-page img {
	display: block;
	-webkit-transform: scale(1);
	transform: scale(1);
	-webkit-transition: ease-in-out 0.3s;
	transition: ease-in-out 0.3s;
}
.works-page h4 {
	font-weight: 700;
	color: #33384a;
	margin-bottom: 5px;
}
.works-page img:hover {
	-webkit-transform: scale(1.025);
	transform: scale(1.025);
	-webkit-transition: ease-in-out 0.3s;
	transition: ease-in-out 0.3s;
}
.line {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: #ccc -moz-use-text-color -moz-use-text-color;
    -o-border-image: none;
       border-image: none;
    border-right: medium none;
    border-style: solid none none;
    border-width: 1px medium medium;
    margin: 20px 0 10px;
    width: 15%;
}
p.works-meta, p.works-meta a {
	font-style: italic;
	color: #b3b3b3;
	font-size: 14px;
}
.single-work-header {
	margin-bottom: 0 !important;
}
/*--------------------------------------------------------------
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;
}
#comments input {
    width: 100%;
}
#comments {
    padding-top: 20px;
}
#comments img.avatar {
    border-radius: 100px;
}
.comment-form-author, .comment-form-email, .comment-form-url {
    float: left;
    font-size: 15px;
    font-weight: 500;
    width: 33.2833%;
}
.comment-form-author, .comment-form-email {
    padding-right: 0.5em;
}
.form-allowed-tags {
    display: none;
}
#reply-title {
	color: #33384a;
	font-size: 32px;
}
.comment-form-comment {
    font-size: 15px;
}
.comment-notes {
    font-size: 13px;
    font-style: italic;
}
#comments {
    padding-top: 20px;
	margin-bottom: 60px;
}
#commentform {
    margin-bottom: 40px;
}
h2.comments-title {
    font-size: 20px;
}
ol.comment-list {
    border-bottom: 1px dotted #999;
    list-style: none outside none;
    margin: 0 0 30px;
    padding-bottom: 30px;
}

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

/**** contact form *****/

#contactForm ul {
  list-style: none outside none;
}

ul.contact-form {
	font-size: 18px;
	margin: 0 0 20px;
}
ul.contact-form li {
	list-style: none;
	display: inline-block;
}
ul.contact-form input {
	border-radius: 4px;
	width:100%;
}
li.contact-name {
	width: 49%;
	margin-bottom: 20px;
	}

li.contact-email {
	width: 49%;
	margin-bottom: 20px;
}
li.contact-comments {
	width: 98.5%;
}
li.contact-comments textarea {
	padding: 8px 15px;
	border-radius: 4px;
}

 input[type="submit"].contact-submit {
	border-radius: 2px;
	margin-top: 20px;
	color: #fff;
	font-weight: 500;
	text-transform: uppercase;
	font-size: 13px;
}

/* Common style */
figure.effect-chico {
	position: absolute;
	top: 0;
	overflow: hidden;
	width: 100%;
	height: 100%;
	background: #fc5253;
	text-align: center;
	cursor: pointer;
}

.grid figure img {
	position: relative;
	display: block;
	min-height: 100%;
	max-width: 100%;
	opacity: 0.8;
}

.grid figure figcaption {
	padding: 2em;
	color: #fff;
	text-transform: uppercase;
	font-size: 1.25em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.grid figure figcaption::before,
.grid figure figcaption::after {
	pointer-events: none;
}

.grid figure figcaption,
.grid figure figcaption > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure figcaption > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

.grid figure h2 {
	word-spacing: -0.15em;
	font-weight: 300;
}

.grid figure h2 span {
	font-weight: 800;
}

.grid figure h2,
.grid figure p {
	margin: 0;
}

.grid figure p {
	letter-spacing: 1px;
	font-size: 68.5%;
}

figure.effect-chico img {
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	transition: opacity 0.35s, transform 0.35s, -webkit-transform 0.35s;
	-webkit-transform: scale(1);
	transform: scale(1);
	width: auto;
	max-width: none;
	height: 100%;
	margin: 0 auto;
}

figure.effect-chico:hover img {
	opacity: 0.5;
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
}

figure.effect-chico figcaption {
	padding: 2em;
}

figure.effect-chico figcaption::before {
	position: absolute;
	top: 30px;
	right: 30px;
	bottom: 30px;
	left: 30px;
	border: 1px solid #fff;
	content: '';
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
}

figure.effect-chico figcaption::before,
figure.effect-chico p {
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	transition: opacity 0.35s, transform 0.35s, -webkit-transform 0.35s;
}

figure.effect-chico h2 {
	padding: 20% 0 20px 0;
}

figure.effect-chico p {
	margin: 0 auto;
	padding: 30px;
	font-size: 20px;
	font-size: 1.5vw;
	-webkit-transform: scale(1.5);
	transform: scale(1.5);
	position: absolute;
	top: 32%;
	left: 0;
	width: 100%;
	line-height: 1.2;
}

figure.effect-chico:hover figcaption::before,
figure.effect-chico:hover p {
	opacity: 1;
	-webkit-transform: scale(1);
	transform: scale(1);
}

@media screen and (max-width: 50em) {
	.content {
		padding: 0 10px;
		text-align: center;
	}
	.grid figure {
		display: inline-block;
		float: none;
		margin: 10px auto;
		width: 100%;
	}
}

/*--------------------------------------------------------------
13.0 Skeleton
--------------------------------------------------------------*/
*, *:after, *:before {
	box-sizing: border-box;
}

body {
	margin: 0px;
}

[class*='col-'] {
	float: left;
	padding-right: 20px; /* column-space */
}

.grid {
	width: 100%;
	max-width: 1140px;
	min-width: 755px;
	margin: 0 auto;
	overflow: hidden;
}

.grid:after {
	content: "";
	display: table;
	clear: both;
}

.grid-pad {
	padding-top: 20px;
	padding-left: 20px; /* grid-space to left */
	padding-right: 0px; /* grid-space to right: (grid-space-left - column-space) e.g. 20px-20px=0 */
}

.push-right {
	float: right;
}

/* Content Columns */

.col-1-1 {
	width: 100%;
}
.col-2-3, .col-8-12 {
	width: 66.66%;
}

.col-1-2, .col-6-12 {
	width: 50%;
}

.col-1-3, .col-4-12 {
	width: 33.33%;
}

.col-1-4, .col-3-12 {
	width: 25%;
}

.col-1-5 {
	width: 20%;
}

.col-1-6, .col-2-12 {
	width: 16.667%;
}

.col-1-7 {
	width: 14.28%;
}

.col-1-8 {
	width: 12.5%;
}

.col-1-9 {
	width: 11.1%;
}

.col-1-10 {
	width: 10%;
}

.col-1-11 {
	width: 9.09%;
}

.col-1-12 {
	width: 8.33%
}

/* Layout Columns */

.col-11-12 {
	width: 91.66%
}

.col-10-12 {
	width: 83.333%;
}

.col-9-12 {
	width: 75%;
}

.col-5-12 {
	width: 41.66%;
}

.col-7-12 {
	width: 58.33%
}



/* Pushing blocks */

.push-2-3, .push-8-12 {
	margin-left: 66.66%;
}

.push-1-2, .push-6-12 {
	margin-left: 50%;
}

.push-1-3, .push-4-12 {
	margin-left: 33.33%;
}

.push-1-4, .push-3-12 {
	margin-left: 25%;
}

.push-1-5 {
	margin-left: 20%;
}

.push-1-6, .push-2-12 {
	margin-left: 16.667%;
}

.push-1-7 {
	margin-left: 14.28%;
}

.push-1-8 {
	margin-left: 12.5%;
}

.push-1-9 {
	margin-left: 11.1%;
}

.push-1-10 {
	margin-left: 10%;
}

.push-1-11 {
	margin-left: 9.09%;
}

.push-1-12 {
	margin-left: 8.33%
}


@media handheld, only screen and (max-width: 767px) {
	.grid {
		width: 100%;
		min-width: 0;
		margin-left: 0px;
		margin-right: 0px;
		padding-left: 20px; /* grid-space to left */
		padding-right: 10px; /* grid-space to right: (grid-space-left - column-space) e.g. 20px-10px=10px */
	}

	[class*='col-'] {
		width: auto;
		float: none;
		margin-left: 0px;
		margin-right: 0px;
		margin-top: 10px;
		margin-bottom: 10px;
		padding-left: 0px;
		padding-right: 10px; /* column-space */
	}


	/* Mobile Layout */

	[class*='mobile-col-'] {
		float: left;
		margin-left: 0px;
		margin-right: 0px;
		margin-top: 0px;
		margin-bottom: 10px;
		padding-left: 0px;
		padding-right: 10px; /* column-space */
		padding-bottom: 0px;
	}

	.mobile-col-1-1 {
		width: 100%;
	}
	.mobile-col-2-3, .mobile-col-8-12 {
		width: 66.66%;
	}

	.mobile-col-1-2, .mobile-col-6-12 {
		width: 50%;
	}

	.mobile-col-1-3, .mobile-col-4-12 {
		width: 33.33%;
	}

	.mobile-col-1-4, .mobile-col-3-12 {
		width: 25%;
	}

	.mobile-col-1-5 {
		width: 20%;
	}

	.mobile-col-1-6, .mobile-col-2-12 {
		width: 16.667%;
	}

	.mobile-col-1-7 {
		width: 14.28%;
	}

	.mobile-col-1-8 {
		width: 12.5%;
	}

	.mobile-col-1-9 {
		width: 11.1%;
	}

	.mobile-col-1-10 {
		width: 10%;
	}

	.mobile-col-1-11 {
		width: 9.09%;
	}

	.mobile-col-1-12 {
		width: 8.33%
	}

	/* Layout Columns */

	.mobile-col-11-12 {
		width: 91.66%
	}

	.mobile-col-10-12 {
		width: 83.333%;
	}

	.mobile-col-9-12 {
		width: 75%;
	}

	.mobile-col-5-12 {
		width: 41.66%;
	}

	.mobile-col-7-12 {
		width: 58.33%
	}

	.hide-on-mobile {
		display: none !important;
		width: 0;
		height: 0;
	}
	#home-stickies .top-left, #home-stickies .top-right, .square-box {
		width: 100%;
	}
	figure.effect-chico p {
		font-size: 24px;
	}
	.site-footer, .site-info, .social-media-icons, .social-media-icons li a { text-align:left; }
	.site-info { padding-top: 2.25em; }
	.site-description-square { font-size: 15px; line-height: 22px; }
	.blog-archive .entry-title { font-size: 22px; line-height: 26px; }
	.site-branding { margin-left: 0; max-width: 75%; }
	.navigation-container button { padding: 1.6em 5px 1.4em; }

	.hero-text h2 {
	font-size: 40px;
	line-height: 41px;
	}

	.hero-bg {
 background-size: auto !important;
	background-color: #333333 !important;
	background-attachment: scroll !important;
	}

}
/* update */
#home-stickies .top-left {
    width: 100%;
}
/* modificato sopra, era 35% -> cerca: .square-box */

/* ver. mobile */
@media handheld, only screen and (max-width: 767px)
{
	.hero-bg {
		background-size: cover !important;
	}
}

/* elimino thumbs all'interno dell'articolo */
img.single-thumb.wp-post-image {
    display: none;
}

/* Menu colors */

.cbp-spmenu h3 {
    background: #F4CB78 !important;
}
.cbp-spmenu {
    background: #F4CB78 !important;
}
.cbp-spmenu a {
    /*font-family: 'Oswald', "Helvetica Neue", Helvetica, Arial, sans-serif;*/
    color: #000000 !important;
}
.cbp-spmenu a:hover {
    background: rgba(155,189,211,0.80) !important;
    color: #fff !important;
}

/* 1 line home */

#home-stickies .square-box:nth-child(-n + 5) figure.effect-chico img {
    opacity: 0.5;
}
#home-stickies .square-box:nth-child(-n + 5) figure figcaption > p {
    opacity: 1;
    top: 50%;
    -webkit-transform: translateY(-50%) scale(0.95);
            transform: translateY(-50%) scale(0.95);
}
#home-stickies .square-box figure:hover figcaption > p {
	  top: 50%;
    -webkit-transform: translateY(-50%) scale(0.90);
            transform: translateY(-50%) scale(0.90);
}


/* 2 line home */
figure.effect-chico {
    background: #FFFFFF !important;
	color: black !important;
}

/* black square inside */
figure.effect-chico figcaption::before {
    border: 1px solid #000 !important;
}

/*@font-face {
    font-family: Bodoni;
    src: url(BodoniXT.ttf);
    font-weight: bold;
}*/
body, button, input, select, textarea {
    /* font-family: Bodoni !important; */
		/*font-family: "Helvetica Neue", "Helvetica" !important;*/

}
.cbp-spmenu a {
    /*font-family: "Times New Roman" !important;*/
}

/* Menu button restyle */
button.toggle-menu.menu-right.push-body.jPushMenuBtn {
    background-image: url('http://reggiadicolorno.it/wp-content/uploads/2016/01/giglio-farnesiano1.png');
    background-repeat: no-repeat;
    background-size: contain;
	background-position: center;
    background-position-x: 0px;
    width: 100px;
    height: 100px;
}
.fa-navicon:before, .fa-reorder:before, .fa-bars:before {
    content: "" !important;
}
span.hide-on-mobile {
    display: none;
}

/* LOGO */
.site-branding.home-branding  {

	display:none;
}

.site-branding {
    max-width: 150px !important;
}



.grid.grid-pad.wow.animated.fadeIn.animated {
    display: none;
}
div#secondary {
    display: none;
}


/* Text on main page  */
.hero-text {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    color: #fff;
    position: absolute;
    left: 20%;
    width: 60%;
    top: 1.5%;
}

/* semi-transparent boxon main page */
.fancy {
    position: absolute;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
            transform: translate(-50%, 0);
    background-color: rgba(255, 255, 255, 0.5);
    padding: 23px;
    white-space: inherit;
    text-overflow: ellipsis;
    overflow: hidden;
    display: block;
    color: black;
}
@media screen and (min-width: 768px) {
	.fancy {
		top:15%;
	}
}

@media screen and (min-width:501px) and (max-width: 767px) {
	.fancy {
    top: 5%;
}
}
@media screen and (max-width: 500px) {
	.fancy {
    top: 7.5%;
}
}

/* body > div.fancy > p */
	.pop_up {
    height: 100% !important;
    overflow: hidden;
    margin-bottom: 0;
    padding: 15px;
}

	.pop_up p {

		margin:0;
	}

a.mylink {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-indent: -9999px;
}
#close_fancy {
cursor: pointer;
    position: absolute;
    z-index: 99;
    height: 20px;
    width: 20px;
    text-align: center;
    line-height: 20px;
    top: 5px;
    right: 5px;
    color: #FFFFFF;
    font-size: 12px;
    text-shadow: 1px 1px 1px rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.73);
    border-radius: 30px 30px;
}

/* section? background */
.hero-bg {
    background-color: #FFFFFF !important;
}

/* transparent msg "libri dei visitatori"*/
#gwolle_gb .admin-entry {

    background-color: rgba(255, 255, 255, 0.51) !important;
    background-image: none !important;
}
/* img user padding */
#gwolle_gb .gb-entry .gb-author-info, #gwolle_gb .gb-entry .gb-entry-content {
    padding-left: 25px;
	padding-right: 10px;
}

/* footer */

.menu {

	list-style:none;
}

.my_footer_columns {
    width: 100%;
    margin-top: 1%;
	margin-bottom: 5%;
	float: left !important;
}
#foot_menu > div {
    font-size: 20px;
}
#foot_menu, .faceb, .instag {
    width: 33%;
    float: left;
}
.faceb {
    width: 306px;
    float: right;
    position:relative;
}
.instag, .faceb {
    border: 3px solid #517FA4;
    border-style: double;
    height: 495px;
    background-color: white;
	/* 	overflow: auto; */
}
.fb-page.fb_iframe_widget {
    position: absolute;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
            transform: translate(-50%, 0);
}
@media screen and (min-width:621px) and (max-width: 1000px) {
	#foot_menu, .faceb{
		width: 45%;
		float: left;
		margin-top: 5%;
	}
	#foot_menu {
		margin-right: 20%;
	}
	.faceb{
		float: right;
	}
	.instag {
		 width: 45%;
		 margin-top:5%;
	}
}
@media screen and (max-width: 620px) {
	#foot_menu, .faceb, .instag {
    width: 90%;
    float: left;
		margin-top:100px;
		margin-left:0;
	}
}

footer#colophon {
    background-color: #9BBDD3;
}
.grid-pad {
    padding-top: 0px !important;

}
footer#colophon {
    background-color: rgba(190, 212, 226, 0.5);
    margin-top: 18%;
		position:relative;
}
#foot_low {
    background-color: rgb(190, 212, 226);
    margin-bottom: -50px;
    height: 100%;
    position: relative;
}
.site-info {
    position: relative;
    text-align: center;
    width: 100%;
    padding-top: 50px;
		padding-bottom: 5px;
    color: black;
}
.foot-i a:hover, .foot-i a:active, .foot-i a:focus {
    color: red !important;
}
#foot_low > .socials {
    color: black;
    position: absolute;
    left: 35px;
    top: 15px;
		z-index: 1;
}
.social-media-icons li a {
    color: #000000;
}
.social-media-icons a:hover {
    color: #FFF;
}
.foot-i {
    display: inline-block;
    margin-right: 10px;
}
/* setting background to home page, making transparent layer above */
div#page {
    background-color: rgba(255, 255, 255, 0);
}
body.home.page {
    background-image: url("http://reggiadicolorno.it/wp-content/uploads/2016/12/sfondo-home.png");
    background-attachment: fixed;
    background-position: center;
	background-repeat: repeat;
}
/* end home backg */

body {
	color:black !important;
}

/* background settings pages */

/* storia, informazioni, prenotazioni visite, libro visitatori, eventi news, galleria foto, news/eventi interni, cartolina,   */
.postid-73, .page-id-14, .page-id-691, .page-id-16, .page-id-696, .page-id-18, .page-id-698, .category-eventi#id_170, .page-id-22, .page-id-702, .single.single-post, .page-id-708, .woocommerce.woocommerce-page   {
	background-repeat: repeat;
	background-size: 5%;
	background-attachment: fixed;
	background-position: center;
}


.woocommerce.woocommerce-page:after {
    background-image: url("http://reggiadicolorno.it/wp-content/uploads/2016/12/sfondo-pag-interna-shop-13.png") !important;
    opacity: 0.5;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: -1;
    content: "";
}

@media screen and (max-width: 800px) {
.postid-73, .page-id-14, .page-id-16, .page-id-18, .category-eventi#id_170, .page-id-22, .single.single-post, .page-id-203, .woocommerce.woocommerce-page  {
	background-size: 18%;

	}
}

/* tutti matti per colorno, festival serassi, riarredo, */
.postid-81, .postid-83, .postid-729, .postid-730, .postid-731  {
	    background-color: rgba(244, 203, 120, 0.8);
}
/* giardino, visitare reggia */
.postid-77, .postid-725, .postid-75, .postid-735, .page-id-20  {
		background-size: 100% !important;
}




/*  Cartolina */

	/*		section#our_cart_page {
				margin-top: 0px;
				padding: 20px;
				font-family:Times New Roman;
				position:relative;
			}


	#cart_forma {
		display:none;

	} */



		/*
			#form_right label {
				float: left;
				width: 20%;
			}

			#form_right {
				padding-left: 10px;
			}
			#txt {
				width:90%;
				margin-left: 5%;
				height:350px;
				background-color: #FFD47C;
				margin-bottom: 7px;
			}

			#table_cartolina {
				background-color: #ffd47c;
				width:800px;
				position: relative;
				margin-left: auto;
				margin-right: auto;

			}

			#btn_email {
			    position: absolute;
					width: 180px;
					height: 50px;
					top: 100%;
					left: 300px;
					color: black;
					border-color: black;
					transition-duration: 0.1s;
					transform: scale(0.99);

			}


			#btn_email:hover{
				  background-color: #9BBDD3;
				  transition-duration: 0.1s;
				      transform: scale(1);
			}


			#form_right input {
				background-color: #FFD47C;
				margin-left: -5px;
			}

			#form_right input[type="text"], #form_right input[type="email"] {
				float: right;
				width: 70%;
				margin-right: 5px !important;

			}
			*/


/* woocommerce */
.woocommerce div#page section#content div#container div#content {
    margin: 180px 7% 10px 7%;
}
body.single-product > div#page > section#content > div#container > div#content {
    background-color: rgba(255, 255, 255, 0.65);
	border: 20px solid rgba(255,255,255,0.15);
}
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {

    background-color: rgba(255, 255, 255, 0.65) !important;
	padding: 10px;
	text-align: center;

}
.woocommerce ul.products li.product .button {
	background-color: #AAC4D2;
}

/* ceceppa flying flags*/


ul.cml_flags, ul.cml_widget_flag {
    font-size: 0;
    position: fixed;
		z-index: 10;
    top: 0;
    right: 0;
}

/* ceceppa inside articles */

.entry-content > ul.cml_flags.cml_flags_on_top {
    position: absolute;
}
.pop_up  ul.cml_flags.cml_flags_on_top {
	display:none;
}


.entry-content {
    position: relative;
		// font-size: 130%;
}


/* all events */
.page-template-_tpl_tutti_eventi .thumbnail-image {
    width: 30%;
		height: 200px;
		max-height: 200px;
    float: left;
    margin-right: 15px;
		overflow: hidden;
}
.page-template-_tpl_tutti_eventi header.entry-header, .page-template-_tpl_tutti_eventi .post > div > div > div > p, .page-template-_tpl_tutti_eventi .post > div > div > div > p + a {
    width: 65%;
    float: right;
}
.page-template-_tpl_tutti_eventi .post > div > div > div > p + a { /* btn */
	text-transform: uppercase;
	padding: 10px;
	width: 25%;
	margin-right: 20%;
	background-color: #ffffff;
	color: #b0cbdc;
	box-shadow: 0 0 0px 1px #b0cbdc;
	font-size: 12px;
}
.page-template-_tpl_tutti_eventi .post > div > div > div > p + a:hover {
		color: #65aedb;
		box-shadow: 0 0 0px 1px #65aedb;
}
/* woocommerce */
.woocommerce .page-description {
    font-size: 19px;
}
.woocommerce ul.products li.product h3 {
		font-size:1.3em;
}
/* hide articles bottom navigation */
.single-blog-post .post-navigation-container {
    display: none;
}
/* attivita didattiche */
.attivita-didattiche .thumbnail-image {
    width: 30%;
    float: left;
    margin-right: 15px;
}
.attivita-didattiche .thumbnail-image ~ * {
    width: 60%;
    float: right;
		text-align:center;
}
.attivita-didattiche h1.entry-title {
    font-size: 46px;
    font-size: 2.5vw;
    line-height: 50px;
    line-height: 2.75vw;
    font-weight: 700;
}
.attivita-didattiche h1.entry-title::after {
	margin:30px auto 35px;
}
.attivita-didattiche .entry-content {
    background-color: rgba(225, 235, 242, 0.35) !important;
}

/* override some default properties */
.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
    position: static;
    color: black;
    padding: 0;
		color: #5B5B5B;
		font-size: smaller;
		text-transform: none;
}



/* fix background:cover; bug on Safari, Chrome (not working?) */
/*
html{
 height:100%;
 min-height:100%;
 }
body{
 min-height:100%;
 }
 */

 /* color */
.single-blog-post .category-attivita-didattiche {
    background-color: rgb(255,236,150);
    box-shadow: 0 -9999px 0 9999px rgb(255,236,147), 0 9999px 0 9999px rgb(255,236,150);
}
.single-blog-post .category-eventi::before {
	  content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-image: url('http://reggiadicolorno.it/wp-content/uploads/2016/05/sfondo-pagine-eventi-sola-unita-2.png');
    background-size: 7%;
}
.single-blog-post .category-eventi h1.entry-title {
    z-index: 1;
    position: relative;
}


/* 31.05 iphone background cover work around */

.page-id-20::before,
.postid-77::before,
.postid-75::before,
.postid-85::before, .postid-730::before,
.page-id-622::before, .page-id-685::before, /* it / en */
.page-id-592::before, .page-id-700::before
{
	  background-position: 50%;
    background-size: cover;
    height: 100%;
    width: 100%;
		top:0;
		left:0;
    position: fixed;
    content: '';
}


/* newsletter */
.page-id-20::before {
    background-image: url('http://reggiadicolorno.it/wp-content/uploads/2016/05/arazzo.jpg');
}

.newsletter-td-submit {
    padding-top: 3em;
}

.newsletter-td-submit input[type="submit"] {
	font-size: 2.2rem;
	line-height: 1;
	padding: 1em 1.5em;
}

/* giardino */
.postid-77::before {
	background-image:url('http://reggiadicolorno.it/wp-content/uploads/2016/01/Giardini-Reggia-Colorno-MG_4550_1_2.jpg');
}
/* visitare la reggia */
.postid-75::before {
	background-image:url('http://reggiadicolorno.it/wp-content/uploads/2016/02/Ingresso.jpg');
}
/* riarredo */
.postid-85::before, .postid-730::before  {
	background-image:url('http://reggiadicolorno.it/wp-content/uploads/2016/05/sala-g-01.jpg');
}
/* attivita didattiche */
.page-id-622::before, .page-id-685::before  { /* it | en */
	background-image:url('http://reggiadicolorno.it/wp-content/uploads/2016/04/infilata.png');
	box-shadow: inset 9999px 9999px 0px 0px rgba(255,255,255,0.3);
}
/* sposarsi alla reggia */
.page-id-592::before, .page-id-700::before {
	background-image:url('http://reggiadicolorno.it/wp-content/uploads/2016/04/sala-grande.jpg');
	box-shadow: inset 9999px 9999px 0px 0px rgba(255,255,255,0.3);
}

/* cartolina styles */

form.cartolina {
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -ms-flex-wrap:wrap;
      flex-wrap:wrap;
  -ms-flex-pack:distribute;
      justify-content:space-around;
  -ms-flex-line-pack: stretch;
      align-content: stretch;
	border-radius:3px;
	border: 0.5px solid white;
	box-shadow: 0 0 2px 0px grey;
}
figure.immagine {
  margin: 1rem 0;
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -ms-flex-line-pack:center;
      align-content:center;
  -webkit-box-align:center;
      -ms-flex-align:center;
          align-items:center;
  -webkit-box-pack:center;
      -ms-flex-pack:center;
          justify-content:center;
}
figure.immagine img {
  width:100%;
  height:auto;
}
div.fields-section {
  font-size:0;
}
div.fields-section h4 {
  font-size: 1.8rem;
	margin: 1rem 0;
	font-weight: bold;
}
div.fields-section label {
  font-size: 1.6rem;
}
form.cartolina textarea {
  min-height:80px;
  -ms-flex-preferred-size:98%;
      flex-basis:98%;
	padding: 1rem;
}

form.cartolina, form.cartolina input, form.cartolina textarea {
  background-color:#ffd47c;
}
input[type="text"],
input[type="password"],
input[type="email"] {
	padding:0 0.5rem;
}
input[type="button"] {
  margin:1rem 0;
  padding: 1rem 2rem;
	border-color: black;
	color: black;
}
input[type="button"]:hover {
	border-color: black;
	-webkit-transform: scale(1.1);
	        transform: scale(1.1);
}
input[type="button"]:active {
	border-color: black;
	-webkit-transform: scale(0.98);
	        transform: scale(0.98);
}

/* "old" cartolina styles */

div#gallery {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-direction: row;
	flex-direction: row;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}


#title_our_page {
	padding-top:140px;
}


#gallery img {
	width: 250px;
	height: 250px;
	-o-object-fit: contain;
	   object-fit: contain;
	-webkit-transform: scale(0.97);
	        transform: scale(0.97);
	-webkit-transition-duration: 0.7s;
	        transition-duration: 0.7s;

}
#gallery img:hover {
	-webkit-transform: scale(1);
	        transform: scale(1);
	-webkit-transition-duration: 0.7s;
	        transition-duration: 0.7s;
}

p#title_gal {
	text-align: center;
	font-size: 56px;
}

/* cartolina: responsive part */

@media only screen and (max-width:719px) {
  form.cartolina {
    width:80%;
    margin-left:10%;
  }

  figure.immagine {
    -ms-flex-preferred-size: 98%;
        flex-basis: 98%;
  }
  div.fields-section {
    -ms-flex-preferred-size:98%;
        flex-basis:98%;
    text-align:center;
  }
}
@media only screen and (min-width:720px) and (max-width:950px) {
  form.cartolina {
    width:67.5%;
    margin-left:16.25%;
  }

  figure.immagine {
    -ms-flex-preferred-size: 63.5%;
        flex-basis: 63.5%;
  }
  div.fields-section {
    -ms-flex-preferred-size:34.5%;
        flex-basis:34.5%;
    text-align:center;
  }
}

@media only screen and (min-width:951px) {
   form.cartolina {
    width:65%;
    margin-left:17.5%;
  }

  figure.immagine {
    -ms-flex-preferred-size: 69%;
        flex-basis: 69%;
  }
  div.fields-section {
    -ms-flex-preferred-size:29%;
        flex-basis:29%;
    text-align:center;
  }
}
@media only screen and (max-width:1280px) {
		div.fields-section label {
    font-size: 1.4rem;
	}
	div.fields-section h4 {
    font-size: 1.6rem;
	}
}
@media only screen and (min-width:1920px) and (max-width:2559px){
  form.cartolina {
    width:60%;
    margin-left:20%;
  }
}
@media only screen and (min-width:2560px) {
  form.cartolina {
    width:50%;
    margin-left:20%;
  }
}
/* FONT */
.body.home.page.page-template-_tpl_page-home * {
    font-family: "Times New Roman";
}
}
