/*
Theme Name: Gridalicious
Theme URI: https://catchthemes.com/themes/gridalicious
Author: Catch Themes
Author URI: https://catchthemes.com/
Description: Gridalicious is a Simple, Clean, Grid Base Responsive WordPress Theme which automatically adapts to the screen's size, ensuring that your content is always displayed beautifully no matter what device visitors are using. It is based in HTML5, CSS3 and WordPress Theme Customizer for real time customization. This theme is translation ready and also currently translated in French and German language. Check out Theme Instructions at https://catchthemes.com/theme-instructions/gridalicious/, Support at https://catchthemes.com/support/ and Demo at https://catchthemes.com/demo/gridalicious/
Version: 2.2
Requires at least: 5.6
Tested up to: 5.9
Requires PHP: 5.6
License: GNU General Public License, version 3 (GPLv3)
License URI: http://www.gnu.org/licenses/gpl-3.0.txt
Text Domain: gridalicious
Domain Path: /languages/
Tags: blog, grid-layout, one-column, two-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-logo, custom-header, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, front-page-post-form, post-formats, sticky-post, theme-options, threaded-comments, translation-ready, footer-widgets, full-width-template, news, portfolio

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. Reset
2. Typography
3. Elements
4. Padding/Margin
5. Forms
6. Navigation
7. Accessibility
8. Alignments
9. Clearings
10. Header Area
11. Featured Grid Content Area
12. Promotion Area
13. Featured Content Area
14. Content
15. Widgets
16. Comments
17. Media
18. Captions
19. Galleries
20. Footer
21. Extra Elements
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1. 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/ */
}

*,
*:before,
*:after { /* apply a natural box layout model to all elements; see http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */
	-webkit-box-sizing: border-box; /* Not needed for modern webkit but still used by Blackberry Browser 7.0; see http://caniuse.com/#search=box-sizing */
	-moz-box-sizing:    border-box; /* 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:focus {
	outline: thin dotted;
}

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

a img {
	border: 0;
}

.entry-content a:not(.more-link):not(.button):not(.wp-block-button__link),
.entry-summary a:not(.more-link):not(.button):not(.wp-block-button__link),
.ew-about a:not(.more-link):not(.button),
.widget_text a:not(.more-link):not(.button),
.comment-content a {
    text-decoration: underline;
}

.entry-content a:not(.more-link):not(.button):hover,
.entry-content a:not(.more-link):not(.button):focus,
.entry-summary a:not(.more-link):not(.button):hover,
.entry-summary a:not(.more-link):not(.button):focus,
.ew-about a:not(.more-link):not(.button):hover,
.ew-about a:not(.more-link):not(.button):focus,
.widget_text a:not(.more-link):not(.button):hover,
.widget_text a:not(.more-link):not(.button):focus,
.comment-content a:hover,
.comment-content a:focus {
    text-decoration: none;
}

/*--------------------------------------------------------------
2. Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #404040;
	font-family: sans-serif;
	font-size: 15px;
	line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	line-height: 1.2;
}

h1 {
	font-size: 30px;
}

h2 {
	font-size: 28px;
}

h3 {
	font-size: 24px;
}

h4 {
	font-size: 20px;
}

h5 {
	font-size: 18px;
}

h6 {
	font-size: 16px;
}

b,
strong {
	font-weight: bold;
}

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

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

.site-title {
    font-size: 40px;
}

.entry-title,
#featured-grid-content .entry-title,
#promotion-message h2,
#featured-content #featured-heading {
	font-size: 30px;
}

.has-post-thumbnail.excerpt-image-left .entry-title,
.has-post-thumbnail.excerpt-image-right .entry-title,
#featured-content .entry-title,
#scrollup:before {
	font-size: 26px;
}

.comments-title,
#search-toggle,
#header-toggle,
.genericon.genericon-menu,
.widget_gridalicious_social_icons .genericon {
    font-size: 20px;
}

.entry-meta span a:before {
    font-size: 16px;
}

.widget-title {
	line-height: 1.4;
}

.sidebar-header-right .widget-title,
.site-main #infinite-handle span button {
    font-size: 16px;
}

.gridalicious-nav-menu .sub-menu a,
.gridalicious-nav-menu .children a,
.sidebar-header-right .widget_nav_menu .sub-menu a,
#breadcrumb-list .wrapper {
	font-size: 14px;
}

#nav-below .wp-pagenavi a,
#nav-below .wp-pagenavi span,
.page-links span {
	font-size: 14px;
	line-height: 30px;
}

#breadcrumb-list .wrapper,
.entry-meta,
.site-description {
	font-size: 13px;
}

.widget_calendar #wp-calendar caption {
	font-size: 11px;
	font-weight: 500;
}

/*--------------------------------------------------------------
3. Elements
--------------------------------------------------------------*/
body {
    background-color: #FFF;
}

.site {
	width: 100%;
}

.wrapper {
	width: 1200px;
	margin: 0 auto;
}
a {
	color: #21759b;
    text-decoration: none;
}

a:hover,
a:focus,
a:active {
	color: #404040;
	outline: none;
	text-decoration: underline;
}

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

ol,
ul {
	margin: 0;
	padding: 0;
}

ul {
	list-style: none;
}

ol {
	list-style: none;
}

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 {
	border-top: 1px solid #eee;
	border-left: 1px solid #eee;
	font-weight: bold;
	margin: 0 0 2em;
	width: 100%;
}

th {
	border-bottom: 1px solid #eee;
    border-right: 1px solid #eee;
	color: #666;
	font-weight: 700;
	padding: 8px;
	text-transform: uppercase;
}

td {
	border-bottom: 1px solid #eee;
    border-right: 1px solid #eee;
	padding: 8px;
}

blockquote:before {
	content: "\201C";
	display: block;
	font-size: 30px;
	height: 0;
	left: -20px;
	position: relative;
	top: -10px;
}

.entry-content img.logo-area {
width: 40%;
    margin: 0 auto;
    display: flex

}

.entry-content ol,
.entry-content ul,
.sidebar ol,
.sidebar ul,
#supplementary ol,
#supplementary ul {
    margin-bottom: 20px;
    margin-left: 15px;
}

.entry-content ol > li,
.sidebar ol > li,
#supplementary ol > li {
	list-style-type: decimal;
}

.entry-content ul > li,
.sidebar ul > li,
#supplementary ul > li {
    list-style-type: disc;
}

.entry-content ol ol,
.entry-content ul ul {
	margin-bottom: 0;
}

.entry-content code {
	background-color: #333;
	color: #ddd;
}

.displayblock,
#heading,
#primary,
#secondary,
#comments,
.gridalicious-nav-menu a,
.sidebar-header-right .widget_nav_menu a {
	display: block;
}

.displaynone {
	display:  none;
}

.sticky {
	display: block;
}

/* Genericons */
.genericon:before,
.posted-on a:before,
.byline a:before,
.cat-links span + a:before,
.tags-links span + a:before,
.comments-link a:before,
.edit-link a:before {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
    display: inline-block;
	line-height: 1;
	font-family: 'Genericons';
    text-decoration: inherit;
    vertical-align: text-bottom;
}

#search-toggle:before {
    content: "\f400";
}

#scrollup:before {
	content: '\f432';
}

.entry-meta .posted-on a:before {
	content: "\f307";
}

.entry-meta .author a:before {
	content: "\f304";
}

.edit-link a:before {
	content: "\f411";
}

.cat-links span + a:before {
	content: "\f301";
}

.tags-links span + a:before {
	content: "\f302";
}

.entry-meta .comments-link a:before {
	content: "\f300";
}


/*--------------------------------------------------------------
4. Padding/Margin
--------------------------------------------------------------*/

.site {
	margin: 0 auto;
	padding-top: 44px;
}

.disable-primary-menu .site {
	padding-top: 0;
}

blockquote {
	margin: 20px 40px;
}

.admin-bar .nav-primary {
	margin-top: 32px;
}

#featured-content .entry-container,
#featured-grid-content .more {
	margin-top: 20px;
}

#search-toggle:before {
    margin-top: 12px;
}

#promotion-message .right a,
#scrollup:before {
	margin-top: 7px;
}

#feature-heading {
    margin: 0 20px;
}

.hentry,
.widget,
.page-links {
	margin: 0 0 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 15px;
}

#colophon {
	margin-top: 50px;
}

.entry-meta .posted-on,
.entry-meta .byline,
.entry-meta .comments-link,
.entry-meta .cat-links {
	margin-right: 10px;
}

.entry-title,
p,
.hentry .featured-image,
.has-post-thumbnail.excerpt-image-left .featured-image,
.has-post-thumbnail.excerpt-image-right .featured-image {
	margin-bottom: 20px;
}

#featured-content .entry-title {
	margin-bottom: 12px;
}

#promotion-message h2 {
	margin-bottom: 5px;
}

#supplementary .widget ul {
    margin-left: 15px;
}

#featured-content .entry-title,
#featured-content .entry-content {
	margin-top: 0;
}

.site-title,
.site-description,
.page-header .page-title,
#featured-content p,
.sidebar-header-right .widget:last-child {
	margin-bottom: 0;
}

.page-content,
.entry-content,
.entry-summary,
#promotion-message p {
	margin: 0;
}

#site-branding,
#promotion-message .section,
#promotion-message .wrapper,
#featured-content .wrapper,
#featured-content .featured-heading-wrap,
#content .wrapper,
.hentry,
.no-results,
.not-found,
.error-404 .widget,
.sidebar,
#comments,
#nav-below,
#infinite-handle,
#supplementary .widget,
#site-generator {
	padding: 20px;
}

#promotion-message .right a {
	padding: 10px 25px;
}

#masthead {
	padding: 20px 0;
}

.wrapper {
	padding: 0 20px;
}

.page-header {
	padding: 20px 20px 0 20px;
}

#feature-heading {
    padding: 20px 0 0;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	padding: 9px 15px;
}

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

.nav-footer {
    padding-top: 40px;
}

#site-generator {
    padding-top: 30px;
}

#featured-content,
#supplementary ,
#site-generator.two #footer-right-content {
	padding-top: 20px;
}

.logo-right #site-header {
	padding-right: 10px;
}

#site-generator {
    padding-bottom: 40px;
}

.sidebar-primary .widget,
.archive-post-wrap {
	padding-bottom: 20px;
}

.page-header .page-title {
    padding-bottom: 10px;
}

#breadcrumb-list .wrapper {
    padding-left: 35px;
}

.logo-left #site-header {
	padding-left: 10px;
}

#promotion-message .right {
	padding-top: 0;
}

.blog #main .hentry,
.archive #main .hentry,
#featured-content .wrapper {
	padding-bottom: 0;
}

#featured-content,
.nav-header-right .wrapper,
#header-featured-image .wrapper {
	padding: 0;
}

/*--------------------------------------------------------------
5. 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 */
	-webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
	-moz-box-sizing:    content-box;
	box-sizing:         content-box;
}

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

button::-moz-focus-inner,
input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
	border: 0;
	padding: 0;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-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;
}

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

/*--------------------------------------------------------------
6. Navigation
--------------------------------------------------------------*/
/* Page/Post/Content menu */
.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,
.nav-previous {
	float: left;
	width: 50%;
}

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

/* Menu Global */
.gridalicious-nav-menu li,
.sidebar-header-right .widget_nav_menu li {
    display: inline-block;
	float: left;
    text-align: left;
}

.gridalicious-nav-menu a,
.sidebar-header-right .widget_nav_menu a {
	color: #666;
    padding: 10px 20px;
}

.gridalicious-nav-menu li a:hover,
.gridalicious-nav-menu li a:focus,
.sidebar-header-right .widget_nav_menu li a:hover,
.sidebar-header-right .widget_nav_menu li a:focus {
	color: #21759b;
	text-decoration: none;
}

.gridalicious-nav-menu li:hover > a,
.sidebar-header-right .widget_nav_menu li:hover > a {
	color: #21759b;
}

.gridalicious-nav-menu .current-menu-item > a,
.gridalicious-nav-menu .current-menu-ancestor > a,
.gridalicious-nav-menu .current_page_item > a,
.gridalicious-nav-menu .current_page_ancestor > a,
.sidebar-header-right .widget_nav_menu .current-menu-item > a,
.sidebar-header-right .widget_nav_menu .current-menu-ancestor > a {
	color: #21759b;
}

.gridalicious-nav-menu .sub-menu,
.gridalicious-nav-menu .children,
.sidebar-header-right .widget_nav_menu .sub-menu {
	left: -9999px;
	margin: 0;
	opacity: 0;
	position: absolute;
	-webkit-transition: opacity .4s ease-in-out;
	-moz-transition:    opacity .4s ease-in-out;
	-ms-transition:     opacity .4s ease-in-out;
	-o-transition:      opacity .4s ease-in-out;
	transition:         opacity .4s ease-in-out;
	width: 250px;
	z-index: 200;
}

.sidebar-header-right .widget_nav_menu .sub-menu {
	border-top: 1px solid #eee;
}

.gridalicious-nav-menu .sub-menu a,
.gridalicious-nav-menu .children a,
.sidebar-header-right .widget_nav_menu .sub-menu a {
	background-color: #fff;
	border: 1px solid #eee;
	position: relative;
	width: 250px;
}

.gridalicious-nav-menu .sub-menu a,
.gridalicious-nav-menu .children a,
.sidebar-header-right .widget_nav_menu .sub-menu a {
	border-top: none;
}

.gridalicious-nav-menu .sub-menu li a:hover,
.gridalicious-nav-menu .sub-menu li a:focus,
.gridalicious-nav-menu .children li a:hover,
.gridalicious-nav-menu .children li a:focus,
.sidebar-header-right .widget_nav_menu .sub-menu li a:hover,
.sidebar-header-right .widget_nav_menu .sub-menu li a:focus {
	color: #21759b;
}

.gridalicious-nav-menu .sub-menu .sub-menu,
.gridalicious-nav-menu .children .children,
.sidebar-header-right .widget_nav_menu .sub-menu .sub-menu {
	border-top: 1px solid #eee;
	margin: -43px 0 0 249px;
}

.gridalicious-nav-menu .menu-item:hover,
.gridalicious-nav-menu .page_item:hover,
.sidebar-header-right .widget_nav_menu .menu-item:hover {
	position: static;
}

.gridalicious-nav-menu .menu-item:hover > .sub-menu,
.gridalicious-nav-menu .menu-item.focus > .sub-menu,
.gridalicious-nav-menu .page_item:hover > .children,
.gridalicious-nav-menu .page_item.focus > .children,
.sidebar-header-right .widget_nav_menu .menu-item:hover > .sub-menu,
.sidebar-header-right .widget_nav_menu .menu-item.focus > .sub-menu {
	left: auto;
	opacity: 1;
}

/* Primary Menu */
.nav-primary {
	background: #444;
	background: rgba(0,0,0,0.6);
	top: 0;
	width: 100%;
	z-index: 198;
	-webkit-box-sizing: border-box;
	/* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;
	/* Firefox, other Gecko */
	box-sizing: border-box;
	/* Opera/IE 8+ */
}

.nav-primary,
.nav-primary.search-enabled {
	position:  fixed;
}

.nav-primary .menu a {
	color: #fff;
}

.nav-primary .menu li a:hover,
.nav-primary .menu li a:focus {
	color: #ddd;
	text-decoration: none;
}

.nav-primary .menu li:hover > a,
.nav-primary .menu ul :hover > a,
.nav-primary .menu a:focus {
	color: #ddd;
}

.nav-primary .menu .current-menu-item > a,
.nav-primary .menu .current-menu-ancestor > a,
.nav-primary .menu .current_page_item > a,
.nav-primary .menu .current_page_ancestor > a{
	color: #ddd;
}

.nav-primary .menu .sub-menu li a:hover,
.nav-primary .menu .sub-menu li a:focus,
.nav-primary .menu .children li a:hover,
.nav-primary .menu .children li a:focus {
	color: #ddd;
}

.nav-primary .menu .sub-menu,
.nav-primary .menu .children {
	left: -9999px;
	margin: 0;
	opacity: 0;
	position: absolute;
	-webkit-transition: opacity .4s ease-in-out;
	-moz-transition:    opacity .4s ease-in-out;
	-ms-transition:     opacity .4s ease-in-out;
	-o-transition:      opacity .4s ease-in-out;
	transition:         opacity .4s ease-in-out;
	width: 250px;
	z-index: 200;
}

.nav-primary .menu .sub-menu a,
.nav-primary .menu .children a,
#search-container {
	background: #444;
	background: rgba(0,0,0,0.6);
	border: none;
}

.nav-primary .menu .sub-menu .sub-menu,
.nav-primary .menu .children .children {
	border: none;
	margin: -42px 0 0 250px;
}

.nav-primary .menu .sub-menu .sub-menu a,
.nav-primary .menu .children .children a {
	border: none;
}
.nav-primary #search-container {
    background: transparent;
}
.nav-primary .search-form {
    padding: 0 20px 10px;
}
.nav-primary #search-toggle {
	color: #fff
}
.nav-primary #search-toggle:hover {
	color: #ddd
}
.nav-primary #search-toggle:before {
	font-size: 22px;
}
.nav-primary #search-container {
	position: static;
}

.nav-primary.search-enabled .menu {
	float: left;
}

#search-toggle {
    background-color: transparent;
    color: #666;
    cursor: pointer;
    float: right;
    height: 42px;
    margin-right: 20px;
    text-align: center;
    width: 42px;
}

#search-toggle:hover {
	background-color: transparent;
    color: #000;
}

#search-container {
    bottom: -56px;
    clear: both;
    left: 0;
    position: absolute;
    width: 100%;
    z-index: 999;
}

.nav-primary .search-submit {
	display: none;
}

.nav-primary .search-field {
	border-color: #eee;
	-webkit-box-sizing: border-box; /* Not needed for modern webkit but still used by Blackberry Browser 7.0; see http://caniuse.com/#search=box-sizing */
	-moz-box-sizing:    border-box; /* Still needed for Firefox 28; see http://caniuse.com/#search=box-sizing */
	box-sizing:         border-box;
	width:  100%;
}

.nav-primary .search-field:focus {
	border-color: #666;
	color: #000;
}

/* Header Right Menu */
.nav-header-right .wrapper {
	float: right;
	margin-right: -18px;
	width: auto;
}

.sidebar-header-right .widget_nav_menu {
	clear: right;
	margin-right: -18px;
    position: relative;
    z-index: 199;
}
.sidebar-header-right .menu .sub-menu a,
.sidebar-header-right .menu .sub-menu a {
	background-color: #eee;
}

/* Secondary Menu */
.nav-secondary {
    position: relative;
    z-index: 197;
}

.nav-secondary .wrapper {
	background-color: #333;
}

.nav-secondary .menu .sub-menu a,
.nav-secondary .menu .children a,
.nav-secondary .menu .sub-menu .sub-menu,
.nav-secondary .menu .children .children {
	background-color: #333;
	border-color: #444;
}

.nav-secondary .menu .sub-menu .sub-menu,
.nav-secondary .menu .children .children  {
    margin: -45px 0 0 249px;
}

/* Seconday & Footer Menu */
.nav-secondary a,
.nav-footer a {
	color: #ccc;
}
.nav-secondary li:hover > a,
.nav-secondary li a:hover,
.nav-secondary li a:focus,
.nav-secondary .current-menu-item > a,
.nav-secondary .current-menu-ancestor > a,
.nav-secondary .sub-menu li a:hover,
.nav-secondary .sub-menu li a:focus,
.nav-footer ul.menu li.current-menu-item a,
.nav-footer ul.menu li a:hover {
	color: #fff;
}


/* Footer Menu  */
.nav-footer {
    background-color: #222;
}

.nav-footer .menu {
    list-style: none;
    text-align: center;
}
.nav-footer .menu li {
	float: none;
	line-height: 1.2;
}
.nav-footer .menu li a {
    border-right: 1px solid #ccc;
    padding-bottom: 0;
    padding-top: 0;
}
.nav-footer .menu li:last-child a {
	border-right: none;
}

/* WP Page Navi */
#nav-below .wp-pagenavi,
.page-links {
	clear: both;
	float: right;
}

#nav-below a:hover {
	text-decoration: none;
}

#nav-below .wp-pagenavi a,
#nav-below .wp-pagenavi span,
.page-links span {
	border: none;
	float: left;
	height: 28px;
	color: #21759b;
	text-align: center;
	display: block;
	padding: 0 10px;
	text-decoration: none;
}

.page-links span {
	margin-left:  10px;
}

.page-links span,
.page-links a:hover span {
	background-color: #000;
	color: #fff;
}

.page-links a span {
	background-color: #f2f2f2;
	color: #404040;
}

.page-links span.pages {
	background-color: transparent;
	color: #404040;
	margin-left: 0;
	padding: 0;
}

#nav-below .wp-pagenavi a,
#nav-below .wp-pagenavi span {
	background-color: #f2f2f2;
	margin: 0 0 0 10px;
}

#nav-below .wp-pagenavi span.pages {
	color: #404040;
	background-color: transparent;
	padding: 2px 0 0 0;
}

#nav-below .wp-pagenavi a:hover,
#nav-below #wp_page_numbers ul li a:hover {
	background-color: #222;
	color: #fff;
}

#nav-below .wp-pagenavi span.current {
	background-color: #222;
	color: #fff;
	font-weight: normal;
}

/* Jetpack Infinite Scroll */
#infinite-handle span {
	background-color: transparent;
    display: block;
    text-align: center;
    width: 100%;
}

.site-main #infinite-handle span button {
	background-color: #f2f2f2;
    border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
    color: #21759b;
    padding: 14px 28px;
    text-shadow: none;
}

.site-main #infinite-handle span button:hover,
.site-main #infinite-handle span button:focus {
	background-color: #222;
    color: #fff;
    text-decoration: none;
}

/*--------------------------------------------------------------
7. Accessibility
--------------------------------------------------------------*/
/* Assistive text */
.assistive-text {
	position: absolute !important;
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
}

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

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

/*--------------------------------------------------------------
9. Clearings
--------------------------------------------------------------*/
.clear:after,
.hentry:after,
.archive-post-wrap:after,
.wrapper:after,
.gridalicious-nav-menu:after,
.featured-content-wrap:after,
#content_sidebar_wrap:after,
.widget:after,
.widget-wrap:after,
#nav-below:after,
.page-links:after,
#site-generator:after {
	content: "\0020";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

/*--------------------------------------------------------------
10. Header Area
--------------------------------------------------------------*/
#site-branding,
#site-logo,
#site-header {
	display: inline-block;
	float: left;
}

#site-branding,
#site-logo {
	max-width: 100%;
}

#site-logo a {
    display: block;
    line-height: 0;
}

#site-header.logo-enable.logo-left {
    padding-left: 10px;
}

#site-header.logo-enable.logo-right {
    padding-right: 10px;
}

.site-title {
    font-weight: bold;
}

.site-title a {
	color: #404040;
}

.site-title a:hover {
	color: #21759b;
	text-decoration: none;
}

.site-description {
	font-style: italic;
}

.sidebar-header-right,
.sidebar-header-right .widget-wrap {
	float: right;
}

#header-featured-image {
	clear: both;
	display: block;
	line-height: 0;
	width: 100%;
	text-align: center;
}

/*--------------------------------------------------------------
11. Featured Grid Content Area
--------------------------------------------------------------*/
#featured-grid-content .wrapper {
	padding: 0;
    position: relative;
    background-color: #333;
}

#featured-grid-content .wrapper,
#promotion-message .wrapper,
#featured-content .wrapper,
#content .wrapper {
	border-bottom: 1px solid #eee;
}

#featured-grid-content .grid-box {
    background-color: #333;
    overflow: hidden;
    display: block;
    line-height: 0;
    position: relative;
    -webkit-perspective: 1000;
    -moz-perspective: 1000;
    -ms-perspective: 1000;
    perspective: 1000;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    height: auto;
    float: left;
    width: 400px;
}

#featured-grid-content img {
    max-width: 100%;
    width: auto;
    height: auto;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    -webkit-transition: -webkit-transform .2s linear;
    -moz-transition: transform .2s linear;
    -ms-transition: -ms-transform .2s linear;
    -o-transition: transform .2s linear;
    transition: transform .2s linear;
}

#featured-grid-content .caption {
	background: #303030;
	background: rgba(48,48,48,0.9);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    line-height: normal;
    opacity: 0;
    text-align: center;
    -webkit-transition: all .2s 0 linear;
    -moz-transition: all .2s 0 linear;
    -ms-transition: all .2s 0 linear;
    -o-transition: all .2s 0 linear;
    transition: all .2s 0 linear;
}

#featured-grid-content .caption>.vcenter {
    display: block;
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-55%) scale(1.2);
    -ms-transform: translateY(-55%) scale(1.2);
    transform: translateY(-55%) scale(1.2);
    -webkit-transition: all .2s 0 linear;
    -moz-transition: all .2s 0 linear;
    -ms-transition: all .2s 0 linear;
    -o-transition: all .2s 0 linear;
    transition: all .2s 0 linear;
}

#featured-grid-content .entry-title {
	color: #fefefe;
    display: block;
    position: relative;
}

#featured-grid-content .entry-title:after {
    content: "";
    height: 1px;
    background: #fff;
    width: 50px;
    position: absolute;
    top: 125%;
    left: 50%;
    margin-left: -25px;
}

#featured-grid-content .more {
	color: #fefefe;
    display: block;
    text-transform: capitalize;
}

#featured-grid-content .grid-box:hover img {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

#featured-grid-content .grid-box.first {
	width: 800px;
}

#featured-grid-content .grid-box:hover .caption {
    box-shadow: inset 0 0 50px 0 rgba(0,0,0,.1);
    opacity: 1;
}

#featured-grid-content .grid-box:hover .caption>.vcenter {
    -webkit-transform: translateY(-50%) scale(1);
    -ms-transform: translateY(-50%) scale(1);
    transform: translateY(-50%) scale(1);
}

#featured-grid-content .first-cols {
	clear: both;
}

#featured-grid-content.layout-two .grid-box {
	width: 50%;
}

#featured-grid-content.layout-two .first-cols {
	clear: none;
}

#featured-grid-content.layout-two .grid-box:nth-child(2n+1) {
	clear: both;
}

#featured-grid-content.layout-one .grid-box,
#featured-grid-content.layout-one .grid-box.first {
	width: 100%;
}


/*--------------------------------------------------------------
12. Promotion Area
--------------------------------------------------------------*/
#promotion-message .wrapper,
#content .wrapper {
	background-color: #fff;
}

#promotion-message .left,
#promotion-message .right {
	display: block;
    max-width: 100%;
    text-align: center;
    width: 100%;
}

#promotion-message .right a {
    background-color: #f2f2f2;
	border: 2px solid #eee;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	color: #666;
	display: inline-block;
}

#promotion-message .right a:hover {
	border-color: #666;
	color: #000;
	text-decoration: none;
}

/*--------------------------------------------------------------
13. Featured Content Area
--------------------------------------------------------------*/
#featured-content .wrapper {
	background-color: #f2f2f2;
}

#featured-content .featured-heading-wrap {
	text-align: center;
}

#featured-content.border-top {
	border-top: 1px solid #eee;
	border-bottom: none;
}

#feature-heading {
    border-bottom: 1px solid #eee;
}

#featured-content .entry-title a {
	color: #404040;
}

#featured-content .entry-title a:hover {
	color: #21759b;
}

#featured-content .featured-content-image {
	display: block;
	line-height: 0;
}

#featured-content .hentry {
	border: none;
	float: left;
}

#featured-content.layout-four .hentry {
	width: 290px;
}

#featured-content.layout-three .hentry {
	width: 386px;
}

#featured-content.layout-four .hentry:nth-child(4n+1),
#featured-content.layout-three .hentry:nth-child(3n+1) {
	clear: both;
}

#featured-content figure a {
    display: block;
    line-height: 0;
}

.one-column .layout-four .featured-content-wrap {
    margin-left: -2%;
    width: 102%;
}
.one-column #featured-content.layout-four .hentry {
    margin-left: 2%;
    padding-left: 2%;
    padding-right: 2%;
    width: 23%;
}

/*--------------------------------------------------------------
14. Content
--------------------------------------------------------------*/
#main {
	float: left;
	width: 820px;
}

.sidebar-primary {
	float: right;
	width: 340px;
}

.sidebar-primary figure a {
    display: block;
    line-height: 0;
}

.sidebar-primary .search-field {
	width: 100%;
	box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing:    border-box;
}

.archive-post-wrap,
.page-header .page-title {
    border-bottom: 1px solid #eee;
}

.entry-title,
.entry-title a {
	color: #404040;
}

.entry-title a:hover {
	color: #21759b;
}

.entry-title a:hover,
.entry-meta a:hover {
	text-decoration: none;
}

.blog .format-aside .entry-title,
.archive .format-aside .entry-title,
.byline,
.updated:not(.published) {
	display: none;
}

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


/* Two Columns (Content Right, Left Sidebar) */
.content-right #main {
	float: right;
}

.content-right .sidebar-primary {
	float: left;
}

/* One Column (No Sidebar, Content Width) */
.no-sidebar.content-width #main {
    display: block;
    float: none;
    margin: 50px auto 0;
    width: 820px;
    
}

/* One Column (No Sidebar) */
.no-sidebar.one-column .wrapper {
    width: 800px;
}

.no-sidebar.one-column #featured-grid-content .grid-box.first {
    width: 800px;
}

.no-sidebar.one-column #featured-grid-content .grid-box {
	width: 400px;
}

.no-sidebar.one-column #main {
	width: 100%;
}

.no-sidebar.one-column #featured-content.layout-three .hentry,
.no-sidebar.one-column #supplementary.three .widget-area {
    width: 33.33%;
}

.no-sidebar.one-column .has-post-thumbnail.excerpt-image-left .featured-image,
.no-sidebar.one-column .has-post-thumbnail.excerpt-image-right .featured-image {
	width: 250px;
}
.no-sidebar.one-column .has-post-thumbnail.excerpt-image-left .entry-container,
.no-sidebar.one-column .has-post-thumbnail.excerpt-image-right .entry-container {
	width: 440px;
}

/* Layout Options with Featured Image on Left */
.has-post-thumbnail.excerpt-image-left .featured-image,
.has-post-thumbnail.excerpt-image-right .entry-container {
	display: inline;
	float: left;
}
.has-post-thumbnail.excerpt-image-right .featured-image,
.has-post-thumbnail.excerpt-image-left .entry-container {
	display: inline;
	float: right;
}

.has-post-thumbnail.excerpt-image-left .featured-image,
.has-post-thumbnail.excerpt-image-right .featured-image {
	width: 260px;
}

.has-post-thumbnail.excerpt-image-left .entry-container,
.has-post-thumbnail.excerpt-image-right .entry-container {
	width: 481px;
}

/* One Column (No Sidebar, Full Width) */
.no-sidebar.full-width #main {
    width: 100%;
}

.no-sidebar.full-width .has-post-thumbnail.excerpt-image-left .featured-image,
.no-sidebar.full-width .has-post-thumbnail.excerpt-image-right .featured-image {
	width: 400px;
}
.no-sidebar.full-width .has-post-thumbnail.excerpt-image-left .entry-container,
.no-sidebar.full-width .has-post-thumbnail.excerpt-image-right .entry-container {
	width: 680px;
}

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

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

/* Calender widget */
.widget_calendar #wp-calendar {
	width: 100%;
	text-align: center;
}

.widget_calendar #wp-calendar caption,
.widget_calendar #wp-calendar td,
.widget_calendar #wp-calendar th {
	text-align: center;
}

.widget_calendar #wp-calendar caption {
	padding: 5px 0 3px 0;
	text-transform: uppercase;
}

.widget_calendar #wp-calendar th {
	background: #f2f2f2;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
	font-weight: bold;
}

.widget_calendar #wp-calendar tfoot td {
	background: #f2f2f2;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
}

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

.bypostauthor {
	display: block;
}

#respond form label {
	display: block;
}

.comments-title {
	margin-bottom: 20px;
}

.comment-body {
    border-bottom: 4px double #eee;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.comment-body .comment-meta,
.sidebar-primary .featured-image {
	margin-bottom:  20px;
}

.comment-body .comment-author img {
    float: left;
    line-height: 0;
    margin-right: 10px;
    padding: 0;
}

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

.hentry .featured-image a {
    display: block;
    line-height: 0;
}

/*--------------------------------------------------------------
18. Captions
--------------------------------------------------------------*/
caption {
	font-weight: bold;
}

.wp-caption {
	background-color:  #f3f3f3;
	border: 1px solid #ddd;
	margin-bottom: 15px;
	max-width: 100%;
	padding: 5px 5px 0;
}

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

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

.wp-caption .wp-caption-text {
	margin: 8px 0;
}

/*--------------------------------------------------------------
19. Galleries
--------------------------------------------------------------*/
#main .gallery {
	margin-bottom: 1.5em;
}

#main .gallery img {
    border: 1px solid #eee;
    padding: 5px;
}

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

/*--------------------------------------------------------------
20. Footer
--------------------------------------------------------------*/

#colophon {
	border-top: 2px solid #222;
}

#supplementary {
	background-color: #333;
    color: #bbb;
    height: 1%;
    overflow: hidden;
}

#supplementary a {
	color: #ccc;
}

#supplementary a:hover {
	color: #fff;
}

#supplementary .widget-area {
	float: left;
	width: 100%;
}

#supplementary.two .widget-area {
	width: 580px;
}

#supplementary.three .widget-area {
	width: 386px;
}

#supplementary.four .widget-area {
	width: 290px;
}

#supplementary .widget-title,
#supplementary .widget-title a {
    color: #ddd;
}

#site-generator {
    background-color: #222;
    color: #aaa;
}

#site-generator a {
    color: #ccc;
}
#site-generator a:hover {
    color: #fff;
    text-decoration: none;
}

#footer-left-content,
#footer-right-content {
	clear: both;
	display: block;
	text-align: center;
	width: 100%;
}


/*--------------------------------------------------------------
11. Extra Elements
--------------------------------------------------------------*/
/* Gridalicious Scrollup */
#scrollup {
    background-color: #666;
    border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
    -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 	0 2px 6px rgba(0, 0, 0, 0.5);
	box-shadow: 		0 2px 6px rgba(0, 0, 0, 0.5);
    color: #eee;
    cursor: pointer;
    display: none;
    height: 40px;
    position: fixed;
    bottom: 20px;
	right: 20px;
    text-align: center;
	text-decoration: none;
    width: 40px;
    z-index: 9999;
}

#scrollup:hover {
	background-color: #000;
    color: #fff;
    text-decoration: none;
}

/* Gridalicious breadcrumb */
#breadcrumb-list .wrapper {
    background-color: #f2f2f2;
    font-size: 13px;
}

#breadcrumb-list span {
	background-color: transparent;
    color: #666;
	display: block;
   	float: left;
   	font-style: italic;
}

#breadcrumb-list span.sep {
       float: right;
       margin-left: 0;
       padding: 0 0 0 5px;
}

#breadcrumb-list span.sep,
#breadcrumb-list span.archive-text,
#breadcrumb-list span.search-text,
#breadcrumb-list span.tag-text,
#breadcrumb-list span.author-text {
       border: none;
}

#breadcrumb-list a,
#breadcrumb-list a span {
	color: #21759b;
	display: inline-block;
	padding: 7px 5px 5px;
}

#breadcrumb-list a:hover,
#breadcrumb-list a:hover span {
	color: #404040;
	text-decoration: none;
}

#breadcrumb-list .breadcrumb-current {
	padding: 7px 5px 5px;
}

/* Social Icons */
.widget_gridalicious_social_icons .widget-wrap {
	margin-left: -5px;
}

.site .widget_gridalicious_social_icons .genericon {
	background-color: #eee;
	border: 1px solid #ccc;
	border-radius: 20px;
	-moz-border-radius:	20px;
	-webkit-border-radius:	20px;
	box-sizing: content-box;
    -webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
	-moz-box-sizing:    content-box;
	color: #404040;
	margin: 0 0 5px 5px;
	padding: 6px;
}

.site .widget_gridalicious_social_icons .genericon:before {
	font-size: 20px;
}

.site .widget_gridalicious_social_icons .genericon:hover {
	background-color: #000;
	border-color: #000;
    color: #fff;
}

.site .widget_gridalicious_social_icons a:hover {
	text-decoration: none;
}

.site .widget_gridalicious_social_icons .genericon-facebook-alt:hover {
	background-color: #3b5998;
	border-color: #3b5998;
}

.site .widget_gridalicious_social_icons .genericon-twitter:hover {
	background-color: #00aced;
	border-color: #00aced;
}

.site .widget_gridalicious_social_icons .genericon-googleplus-alt:hover {
	background-color: #dd4b39;
	border-color: #dd4b39;
}

.site .widget_gridalicious_social_icons .genericon-mail:hover {
	background-color: #1d62f0;
	border-color: #1d62f0;
}

.site .widget_gridalicious_social_icons .genericon-feed:hover {
	background-color: #dc622c;
	border-color: #dc622c;
}

.site .widget_gridalicious_social_icons .genericon-wordpress:hover {
	background-color: #21759b;
	border-color: #21759b;
}

.site .widget_gridalicious_social_icons a.genericon-github:hover {
	background-color: #4183c4;
	border-color: #4183c4;
}

.site .widget_gridalicious_social_icons .genericon-linkedin:hover {
	background-color: #007bb6;
	border-color: #007bb6;
}

.site .widget_gridalicious_social_icons .genericon-pinterest:hover {
	background-color: #cb2027;
	border-color: #cb2027;
}

.site .widget_gridalicious_social_icons .genericon-flickr:hover {
	background-color: #ff0084;
	border-color: #ff0084;
}

.site .widget_gridalicious_social_icons .genericon-vimeo:hover {
	background-color: #aad450;
	border-color: #aad450;
}

.site .widget_gridalicious_social_icons .genericon-youtube:hover {
	background-color: #bb0000;
	border-color: #bb0000;
}

.site .widget_gridalicious_social_icons .genericon-tumblr:hover {
	background-color: #32506d;
	border-color: #32506d;
}

.site .widget_gridalicious_social_icons .genericon-instagram:hover {
	background-color: #517fa4;
	border-color: #517fa4;
}

.site .widget_gridalicious_social_icons .genericon-codepen:hover {
	background-color: #000;
	border-color: #000;
}

.site .widget_gridalicious_social_icons .genericon-path:hover {
	background-color: #ff442c;
	border-color: #ff442c;
}

.site .widget_gridalicious_social_icons .genericon-dribbble:hover {
	background-color: #ea4c89;
	border-color: #ea4c89;
}

.site .widget_gridalicious_social_icons .genericon-skype:hover {
	background-color: #12a5f4;
	border-color: #12a5f4;
}

.site .widget_gridalicious_social_icons .genericon-digg:hover {
	background-color: #333;
	border-color: #333;
}

.site .widget_gridalicious_social_icons .genericon-reddit:hover {
	background-color: #ff4500;
	border-color: #ff4500;
}

.site .widget_gridalicious_social_icons .genericon-stumbleupon:hover {
	background-color: #eb4924;
	border-color: #eb4924;
}

.site .widget_gridalicious_social_icons .genericon-pocket:hover {
	background-color: #f13753;
	border-color: #f13753;
}

.site .widget_gridalicious_social_icons .genericon-dropbox:hover {
	background-color: #2281cf;
	border-color: #2281cf;
}

.site .widget_gridalicious_social_icons .genericon-spotify:hover {
	background-color: #81b900;
	border-color: #73a500;
}

.site .widget_gridalicious_social_icons .genericon-polldaddy:hover {
	background-color: #bc0b0b;
	border-color: #bc0b0b;
}

.site .widget_gridalicious_social_icons .genericon-foursquare:hover {
	background-color: #f94877;
	border-color: #f94877;
}

.site .widget_gridalicious_social_icons .genericon-twitch:hover {
	background-color: #6441a5;
	border-color: #6441a5;
}

.site .widget_gridalicious_social_icons a.genericon-cloud:hover {
	background-color: #00aced;
	border-color: #00aced;
}

.site .widget_gridalicious_social_icons a.genericon-website:hover,
.site .widget_gridalicious_social_icons a.genericon-cart:hover,
.site .widget_gridalicious_social_icons a.genericon-phone:hover,
.site .widget_gridalicious_social_icons a.genericon-handset:hover {
	background-color: #42b41e;
	border-color: #42b41e;
}

.site .widget_gridalicious_social_icons a.genericon-link:hover {
	background-color: #2e6da4;
	border-color: #2e6da4;
}

.site .widget_gridalicious_social_icons a.custom-icon {
	border: none;
	background: transparent;
	padding: 0;
}

.site .widget_gridalicious_social_icons .icon-hover,
.site .widget_gridalicious_social_icons .has-hover:hover .icon-static {
	display: none;
}

.site .widget_gridalicious_social_icons .has-hover:hover .icon-hover {
	display: inline-block;
	text-decoration: none;
	border: none;
}



/*
 Theme Name:   Gridalicious Child
 Description:  Gridaliciousの子テーマ
 Author:       あなたの名前
 Template:     gridalicious
 Version:      1.0.0
*/

@import url("assets/gridalicious/style.css");

/* 子テーマのカスタムスタイルはここに追加します */




/* common */
body {
    padding: 0;
    margin: 0;
    font-family: "m-plus-rounded-2p", sans-serif;
    font-weight: 400;
    font-style: normal;
}
img {
    width: 100%;
    height: auto;
}
a {
    text-decoration: none;
}
a:hover {
    transition: all 0.6s;
}

/* content */
.content {
    width: 90%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}
.sectionBg {
    padding: 30px 0;
}
.image_bottom {
    margin-top: -30px;
    padding-bottom: 30px;
    position: relative;
}
@media (min-width: 576px) {
    .content {
        max-width: 540px;
        width: 100%;
    }
    .sectionBg {
        padding: 40px 0;
    }
    .image_bottom {
        margin-top: -30px;
        padding-bottom: 40px;
    }
}

@media (min-width: 768px) {
    .content {
        max-width: 720px;
    }
    .sectionBg {
        padding: 60px 0;
    }
    .image_bottom {
        margin-top: -50px;
        padding-bottom: 60px;
    }
}

@media (min-width: 992px) {
    .content {
        max-width: 960px;
    }
    .sectionBg {
        padding: 80px 0;
    }
    .image_bottom {
        margin-top: -50px;
        padding-bottom: 80px;
    }
}

@media (min-width: 1200px) {
    .content {
        max-width: 1140px;
    }
    .sectionBg {
        padding: 100px 0;
    }
    .image_bottom {
        margin-top: -100px;
        padding-bottom: 100px;
    }
}


/* styles.css */
.header {
    background-color: white;
}
.header-content {
    padding-left: 30px;
    max-width: 1480px;
    margin: 0 auto;
}
.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header-img img {
    max-height: 50px;
}
.header-nav {
    position: relative;
}
.header-nav nav {
    display: flex;
}
.header-nav nav ul {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
}
.header-nav nav ul li {
    list-style: none;
    margin-right: 20px;
}
.header-nav nav ul li a {
    color: black;
    font-weight: 700;
    font-size: clamp(0.875rem, 0.652rem + 0.46vw, 1rem);
}
.header-nav nav ul li:nth-child(4),
.header-nav nav ul li:nth-child(5) {
    margin: 0;
}
.header-nav nav ul li a.header-btn-orange {
    background-color: #FFA920;
    color: white;
    padding: 20px;
    display: block;
}
.header-nav nav ul li a.header-btn-yellow {
    margin: 0;
    background-color: #F4EB0E;
    padding: 20px;
    display: block;
}

/* ハンバーガーメニュー用のCSS */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}
.hamburger .line {
    width: 35px;
    height: 2px;
    background-color: black;
    margin: 4px 0;
    transition: 0.4s;
    z-index: 9999;
    position: relative;
}
.hamburger.active .line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 5px);
}
.hamburger.active .line:nth-child(2) {
    opacity: 0;
}
.hamburger.active .line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -5px);
    top: -6px;
}

@media (max-width: 767px) {
    .header-content {
        padding: 15px;
    }
    .header-nav nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateY(-100%);
        transition: transform 0.5s ease;
        z-index: 1000;
    }
    .header-nav nav ul {
        flex-direction: column;
        align-items: center;
    }
    .header-nav nav ul li {
        margin: 20px 0;
        width: 100%;
        text-align: center;
    }
    .header-nav nav ul li a {
        font-size: 20px;
    }
    .header-nav nav ul li a.header-btn-yellow {
        left: 0%;
    }
    .header-nav nav ul li a.header-btn-orange {
        right: 0%;
    }
    .hamburger {
        display: flex;
    }
    .header-nav.open nav {
        transform: translateY(0);
    }
    .header-nav nav ul li:nth-child(4){
        margin: 0;
        position: absolute;
        bottom: 0;
        width: 50%;
        left: 0;
    }
    .header-nav nav ul li:nth-child(5) {
        margin: 0;
        position: absolute;
        bottom: 0;
        width: 50%;
        right: 0;
    }
    .header-nav nav ul li:nth-child(4) a,
    .header-nav nav ul li:nth-child(5) a {
        font-size: 14px;
    }
}
.mainVisual {
    background-image: url(assets/images/main.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 70vh;
    text-align: center;
    padding-top: 100px;
    position: relative;
    margin-bottom: 60px;
}
.mainVisual span {
    color: white;
    font-size: clamp(1.125rem, 0.456rem + 1.39vw, 1.5rem);
    font-weight: 700
}
.mainVisual h1 {
    color: #284081;
    font-size: clamp(2rem, 0.216rem + 3.71vw, 3rem);
    font-weight: 900;
    margin-top: 0;
}
.btn_area {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}
.btn_area a.btn {
    border-radius: 9999px;
    color: black;
    font-weight: bold;
    padding: 15px;
    max-width: 300px;
    width: 100%;
    display: block;
    text-align: center;
}
.btn_area a.btn-yellow {
    background-color: #F4EB0E;
    border: 1px solid #F4EB0E;
}
.btn_area a.btn-yellow:hover {
    background-color: white;
    border: 1px solid black;
}
.btn_area a.btn-blue_bg {
    color: #284081;
    border: 1px solid #284081;
}
.btn_area a.btn-blue_bg:hover {
    color: white;
    background-color: #284081;
}
.title_area {
    text-align: center;
    padding-bottom: 30px;
}
.title_area h2 {
    font-size: 24px;
    font-weight: 900;
    margin-top: 50px;
}
.title_area h2 span {
    color: #284081;
}
.feature_wrap {

}
.feature_wrap .feature_flex {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}
.feature_wrap .feature_flex .feature_box {

}
.feature_wrap .feature_flex .feature_box .feature_text {
    padding: 0 15px;
}
.feature_wrap .feature_flex .feature_box .feature_text h3 {
    font-size: 16px;
}
.feature_wrap .feature_flex .feature_box .feature_text p {
    font-size: 14px;
}
@media screen and (max-width: 768px) {
    .feature_wrap .feature_flex {
        grid-template-columns: auto;
    }
}
  
@media screen and (max-width: 468px) {
    .title_area {
        font-size: 18px;
    }
    .mainVisual {
        padding-top: 20px;
        margin-bottom: 50px;
    }
    .mainVisual h1 {
        font-size: 24px;
    }
    .main-content {
        padding: 0 15px;
    }
}
  


/* flow */
.flow_wrap {
    border: 1px solid;
    border-radius: 20px;
    padding: 50px 50px 20px;
    background-color: #EDF4F7;
}
.flow_wrap .flow_flex {
    display: flex;
    flex-wrap: wrap;
    gap: 36px;
}
.flow_wrap .flow_flex .flow_box {
    width: calc(25% - 27px);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.flow_wrap .flow_flex .flow_box p {
    font-size: 14px;
    line-height: 24px;
}
.flow_wrap .flow_flex .flow_box img {
    object-fit: contain;
}
.flow_wrap .flow_flex .flow_box img:nth-child(1) {
    width: 130px;
    height: 136px;
}
.flow_wrap .flow_flex .flow_box img:nth-child(2) {
    width: 126px;
    height: 100px;
}
.flow_wrap .flow_flex .flow_box img:nth-child(3) {
    width: 160px;
    height: 134px;
}
.flow_wrap .flow_flex .flow_box img:nth-child(4) {
    width: 137px;
    height: 142px;
}

@media screen and (max-width: 768px) {
    .flow_wrap .flow_flex .flow_box {
        width: calc(50% - 27px);
    }
}
  
@media screen and (max-width: 468px) {
    .flow_wrap .flow_flex .flow_box {
        width: 100%;
    }
    .flow_wrap {
        padding: 50px 20px 20px;
    }
}
  
/* faq */
.faq_wrap {

}
.faq_wrap .faq_flex {
    display: flex;
    flex-wrap: wrap;
    gap: 36px;
}
.faq_wrap .faq_flex .faq_box {
    width: calc(50% - 18px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, .16);
    padding: 40px 35px;
    height: fit-content;
    color: #284081;
    border-radius: 10px;
}
.quetion p {
    position: relative;
    padding-left: 40px;
    font-size: 18px;
    font-weight: bold;
}
.anser p {
    position: relative;
    padding-left: 40px;
}
.faq_wrap .faq_flex .faq_box p::before {
    position: absolute;
    content: "";
    left: 0;
    background-repeat: no-repeat;
    background-size: contain;
    width: 25px;
    height: 25px;
}
.anser p::before {
    background-image: url(assets/images/anser.png);
}
.quetion p::before {
    background-image: url(assets/images/quetion.png);
}
@media screen and (max-width: 768px) {
    .faq_wrap .faq_flex .faq_box {
        width: 100%;
        padding: 20px;
    }
    .anser p {
        font-size: 14px;
    }
}
  
@media screen and (max-width: 468px) {
    .quetion p {
        font-size: 16px;
    }
}
/**/
.yellow_bg {
    background-color: #FBF9ED;
}
.yellow_bg .title_area {
    text-align: left;
}
.trlink {
    cursor: pointer;
}
table.news {
    width: 100%;

}
table.news tr {
    border-bottom: 1px solid #ECEBE3;
    padding: 15px 0;
    display: flex;
}
table.news tr:first-child {
    border-top: 1px solid #ECEBE3;
}
table.news th {
    color: #908F89;
    font-size: 14px;
    font-weight: 400;
    width: 15%;
    text-align: left;
    border: none;
    padding: 0;
}
table.news td {
    font-size: 14px;
    font-weight: bold;
    border: none;
    padding: 0;
}
@media screen and (max-width: 468px) {
    table.news tr {
        display: grid;
    }
    table.news th {
        width: 100%;
    }
}
.blue_bg {
    background-color: #EDEFF5;
    position: relative;
    padding-bottom: 300px;
}
.blue_bg::before {
    position: absolute;
    content: "";
    background-image: url(assets/images/town_bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
    width: 100%;
    min-height: 266px;
    bottom: -2px;
    max-width: 1480px;
    margin: 0 auto;
    left: 0;
    right: 0;
}
.img_area {
    position: relative;
}
.img_area::before {
    position: absolute;
    content: "";
    background-image: url(assets/images/town_bg_white.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
    width: 100%;
    min-height: 236px;
    top: -2px;
    max-width: 1480px;
    margin: 0 auto;
    left: 0;
    right: 0;
    z-index: -1;
}
/* about */
.about_wrap {

}
.about_wrap .about_flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    text-align: center;
}
.about_wrap .about_flex .about_text {

}
.about_wrap .about_flex .about_text h3 {
    font-size: 24px;
}
.about_wrap .about_flex .about_text h3 span {
    color: #30865D;
}
.about_wrap .about_flex img {
    
}

@media screen and (max-width: 768px) {
    .about_wrap .about_flex {
        grid-template-columns: auto;
        gap: 20px;
    }
    .about_wrap .about_flex .about_text {
        order: 2;
    }
}
  
@media screen and (max-width: 468px) {
    .blue_bg::before {
        min-height: 76px;
    }
    .blue_bg {
        padding-bottom: 120px;
    }
}
  

footer {
    background-image: url(assets/images/town_bg_yellow.png);
    background-repeat: no-repeat;
    background-size: contain;
    min-height: 220px;
    margin-top: 100px;
    position: relative;
    background-position: center;
}
footer small {
    position: absolute;
    content: "";
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
}
@media screen and (max-width: 768px) {
    footer {
        background-size: cover;
        min-height: 142px;
        background-position: top;
    }
    footer small {
        bottom: 20px;
        text-align: center;
    }
    .img_area::before {
        min-height: 72px;
    }
}
  
@media screen and (max-width: 468px) {

}

.cta_area {
    max-width: 486px;
    margin: 0 auto;
    box-shadow: 0 3px 6px rgba(0, 0, 0, .16);
    background-color: white;
    border-radius: 25px;
    text-align: left;
    padding-bottom: 20px;
}
.cta_area .btn_area {
    margin-top: 0;
    position: relative;
}
.cta_area h2 {
    text-align: center;
    color: white;
    background-color: #284081;
    padding: 0 20px;
    border-radius: 25px 25px 0 0;
    font-size: 1.5em;
    font-weight: 600;
}
.cta_text {
    display: flex;
    gap: 20px;
    padding: 0 20px;
}
.cta_text .text-area {
    margin-left: auto;
    width: 67%;
    position: relative;
}
.cta_text img {
    object-fit: contain;
    position: absolute;
    width: 142px;
    margin-top: 40px;
    z-index: 0;
}
.cta_text .text-area h3 {
    margin: 0;
    font-size: 20px;
    margin-bottom: 15px;
}
.cta_text .text-area p {
    font-size: 14px;
}

.pc_br {
    display: block;
}
.sp_br {
    display: none;
}
@media screen and (max-width: 468px) {
    .pc_br {
        display: none;
    }
    .sp_br {
        display: block;
    }
    .cta_area h2 {
        font-size: 18px;
        padding: 10px;
    }
    .cta_text .text-area {
        width: 100%;
    }
    .cta_text .text-area p {
        width: 72%;
        margin-left: auto;
        font-size: 12px;
    }
    .cta_text img {
        width: 100px;
        margin-top: 70px;
    }
}

h1,h2,h3,h4,h5 {
    font-weight: 700;
    line-height: 1.4;
}
.image_bottom .title_area {
    text-align: center;
    padding-bottom: 30px;
    margin-top: -150px;
}