/*
Theme Name: ggstyle
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ggstyle
Tags:

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

ggstyle is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/

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

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

body {
    margin: 0;
}

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

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

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

[hidden],
template {
    display: none;
}

a {
    background-color: transparent;
}

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

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

:active,
:focus {
    outline: none;
}

b,
strong {
    font-weight: bold;
}

dfn {
    font-style: italic;
}

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

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

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

img {
    border: 0;
}

svg:not(:root) {
    overflow: hidden;
}

figure {
    margin: 1em 40px;
}

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

pre {
    overflow: auto;
}

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

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

button {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

button[disabled],
html input[disabled] {
    cursor: default;
}

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

input {
    line-height: normal;
}

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

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

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

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

legend {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
}

optgroup {
    font-weight: bold;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

td,
th {
    padding: 0;
}

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

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

p {
    margin: 0 0 1.5em;
}
p:last-child {
    margin-bottom: 0;
}

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

blockquote {
    margin: 0 1.5em;
}

address {
    margin: 0 0 1.5em;
}

pre {
    background: #eee;
    font-family: "Courier 10 Pitch", Courier, monospace;
    font-size: 15px;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
}

code,
kbd,
tt,
var {
    font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
    font-size: 15px;
    font-size: 0.9375rem;
}

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

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

big {
    font-size: 125%;
}

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

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
    -webkit-box-sizing: inherit;
            box-sizing: inherit;
}

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

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

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

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

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

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

li > ul,
li > ol {
    margin-bottom: 0;
    margin-left: 1.5em;
}

dt {
    font-weight: bold;
}

dd {
    margin: 0 1.5em 1.5em;
}

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

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

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    border: 1px solid;
    border-color: #ccc #ccc #bbb;
    -webkit-border-radius: 3px;
            border-radius: 3px;
    background: #e6e6e6;
    -webkit-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);
            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);
    font-size: 12px;
    font-size: 0.75rem;
    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;
    -webkit-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);
            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;
    -webkit-box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
            box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}

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

select {
    border: 1px solid #ccc;
}

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

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

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

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
    color: #406AB1;
}

a:hover,
a:focus,
a:active {
    color: #0054A4;
}

a:focus {
    outline: thin dotted;
}

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

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
    border-bottom: 10px solid #00AEEF;
    clear: both;
    display: block;
    position: relative;
    width: 100%;
    z-index: 9999;
}

.menu-primary-container {
    margin: 0 auto;
    max-width: 1000px;
}
.menu-primary-container:before, .menu-primary-container:after {clear: both; content: ''; display: table;}

.main-navigation .menu {
    background: #00AEEF;
    -webkit-border-radius: 20px 20px 0 0;
            border-radius: 20px 20px 0 0;
    float: right;
    padding: 0 12px;
    position: relative;
}

.main-navigation .menu:before {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: -41px;
    border-color: transparent #00AEEF #00AEEF transparent;
    border-width: 23px;
    border-style: solid;
}

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

.main-navigation li {
    display: inline-block;
    padding: 0 12px;
    position: relative;
}

.main-navigation a {
    border-bottom: 5px solid transparent;
    color: white;
    display: block;
    padding: 16px 0 6px;
    text-decoration: none;
    text-transform: uppercase;
}

.main-navigation ul ul {
    -webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
            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 li.focus > a {
    border-bottom: 5px solid white;    
}

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

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

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

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

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current-menu-ancestor > a {
    border-bottom: 5px solid white;

}

.nav-header {
    display: none;
    padding: 16px;
    position: relative;
}
.nav-logo {
    margin: 0 auto;
    max-width: 80%;
}
.nav-close {
    color: white;
    cursor: pointer;
    position: absolute;
    top: 8px; right: 8px;
    height: 20px;
    width: 20px;
}

/* Small menu. */
.menu-toggle {
    background-color: transparent;
    border: none;
    -webkit-box-shadow: none;
            box-shadow: none;
    color: inherit;
    cursor: pointer;
    display: none;
    font: inherit;
    margin: 0;
    overflow: visible;
    padding: 20px 15px 15px;
    text-shadow: none;
    text-transform: none;
    -webkit-transition-duration: 0.15s;
            transition-duration: 0.15s;
    transition-property: opacity, -webkit-filter;
    transition-property: opacity, filter, -webkit-filter;
    -webkit-transition-property: opacity, -webkit-filter;
    transition-property: opacity, filter;
    -webkit-transition-timing-function: linear;
            transition-timing-function: linear;
}
.menu-toggle:active,
.menu-toggle:hover {
    border: none;
    -webkit-box-shadow: none;
            box-shadow: none;
}
.menu-toggle-box {
    width: 40px;
    height: 24px;
    display: inline-block;
    position: relative;
}
.menu-toggle-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
    -webkit-transition-duration: 0.1s;
            transition-duration: 0.1s;
    -webkit-transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
            transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.menu-toggle.toggled .menu-toggle-inner {
-webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition-delay: 0.14s;
            transition-delay: 0.14s;
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
            transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}
.menu-toggle-inner,
.menu-toggle-inner::before,
.menu-toggle-inner::after {
    width: 40px;
    height: 4px;
    background-color: white;
    -webkit-border-radius: 4px;
            border-radius: 4px;
    position: absolute;
    transition-property: -webkit-transform;
    -webkit-transition-property: -webkit-transform;
    transition-property: transform;
    transition-property: transform, -webkit-transform;
    -webkit-transition-duration: 0.15s;
            transition-duration: 0.15s;
    -webkit-transition-timing-function: ease;
            transition-timing-function: ease;
}
.menu-toggle-inner::before,
.menu-toggle-inner::after {
    content: "";
    display: block;
}
.menu-toggle-inner::before {
    -webkit-transition: top 0.1s 0.14s ease, opacity 0.1s ease;
    transition: top 0.1s 0.14s ease, opacity 0.1s ease;
    top: -10px;
}
.menu-toggle.toggled .menu-toggle-inner::before {
    top: 0;
    opacity: 0;
    -webkit-transition: top 0.1s ease, opacity 0.1s 0.14s ease;
    transition: top 0.1s ease, opacity 0.1s 0.14s ease;
}
.menu-toggle-inner::after {
    bottom: -10px;
    
    transition: bottom 0.1s 0.14s ease, -webkit-transform 0.1s cubic-bezier(0.55, 0.055, 0.675, 0.19);
    -webkit-transition: bottom 0.1s 0.14s ease, -webkit-transform 0.1s cubic-bezier(0.55, 0.055, 0.675, 0.19);
    transition: bottom 0.1s 0.14s ease, transform 0.1s cubic-bezier(0.55, 0.055, 0.675, 0.19);
    transition: bottom 0.1s 0.14s ease, transform 0.1s cubic-bezier(0.55, 0.055, 0.675, 0.19), -webkit-transform 0.1s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.menu-toggle.toggled .menu-toggle-inner::after {
    bottom: 0;
    -webkit-transform: rotate(-90deg);
        transform: rotate(-90deg);
    transition: bottom 0.1s ease, -webkit-transform 0.1s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition-property: bottom, transform, -webkit-transform;
    -webkit-transition-duration: 0.1s, 0.1s, 0.1s;
            transition-duration: 0.1s, 0.1s, 0.1s;
    -webkit-transition-timing-function: ease, cubic-bezier(0.215, 0.61, 0.355, 1), cubic-bezier(0.215, 0.61, 0.355, 1);
            transition-timing-function: ease, cubic-bezier(0.215, 0.61, 0.355, 1), cubic-bezier(0.215, 0.61, 0.355, 1);
    -webkit-transition-delay: initial, 0.14s, 0.14s;
            transition-delay: initial, 0.14s, 0.14s;
    -webkit-transition: bottom 0.1s ease, -webkit-transform 0.1s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition: bottom 0.1s ease, transform 0.1s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition: bottom 0.1s ease, transform 0.1s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1), -webkit-transform 0.1s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1);
}


.main-navigation.toggled ul {
    display: block;
}

@media screen and (max-width: 768px) {
    .nav-header {
        display: block;
    }
    .menu-toggle {
        background: #00AEEF;
    -webkit-border-radius: 20px 20px 0 0;
            border-radius: 20px 20px 0 0;
        display: inline-block;
        padding: 16px 24px 6px;
        position: relative;
    }
    .menu-toggle .corner-thing {
        content: '';
        display: block;
        position: absolute;
        bottom: 0;
        left: -41px;
        border-color: transparent #00AEEF #00AEEF transparent;
        border-width: 23px;
        border-style: solid;
    }
    .main-navigation {
        text-align: right;
        padding: 0 32px;
    }
    .main-navigation .menu {
        background: rgba(0, 0, 0, 0.95);
        bottom: 0;
        left: -200px; 
        padding: 64px 8px;
        position: fixed;
        top: 0;
        -webkit-transition: left 0.3s ease;
        transition: left 0.3s ease;
        text-align: center;
        width: 200px;
        z-index: 9999;
    }
    .main-navigation.toggled .menu {
        left: 0;
    }
    .main-navigation .menu:before {
        content: none;
    } 
    .main-navigation li {
        display: block;
    } 
}

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

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

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

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

.screen-reader-text:focus {
    background-color: #f1f1f1;
    -webkit-border-radius: 3px;
            border-radius: 3px;
    -webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
            box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
    outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}

.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
    content: "";
    display: table;
    table-layout: fixed;
}

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

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

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

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

.hentry {
    margin: 0 0 1.5em;
}

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

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

.page-content,
.entry-content,
.entry-summary {
    margin: 1.5em 0 0;
}

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

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

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

.bypostauthor {
    display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
    display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
    display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.gallery-caption {
    display: block;
}

/*--------------------------------------------------------------
# Custom CSS
--------------------------------------------------------------*/
.container {
    margin: 0 auto;
    max-width: 1000px;
    position: relative;
}
.container:before, .container:after {clear: both; content: ''; display: table;}

.cols {
    margin: 0 -8px -16px;
}
.cols:before, .cols:after {clear: both; content: ''; display: table;}

[class*='col-'] {
    float: left;
    margin-bottom: 16px;
    padding: 0 8px;
}

.col-2 {
    width: 50%;
}

.btn {
    background: #00AEEF;
    color: white;
    display: inline-block;
    margin: 32px 0;
    padding: 12px 20px;
    text-align: center;
    text-decoration: none;
}

.site-header {}

.site-branding {
    float: left;
    margin: 32px 0 -16px;
}

.site-title {
    margin: 0;
}

.site-title a,
.site-title img {
    display: block;
}

.site-contact {
    background: #0054A4;
    -webkit-border-radius: 0 0 16px 16px;
            border-radius: 0 0 16px 16px;
    float: right;
}

.site-contact a {
    color: white;
    display: block;
    font-size: 24px;
    padding: 12px 12px 4px;
    text-decoration: none;
}

.site-contact img {
    display: inline-block;
    margin: 0 8px 0 0;
    vertical-align: sub;
    width: 28px;
}

.site-banner {
    position: relative;
    overflow: hidden;
}

.banner-img {
    display: block;
    max-width: none;
    position: relative;
    right: -50%;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
}

.banner-title {
    color: white;
    font-size: 30px;
    font-weight: bold;
    margin: 0 auto;
    max-width: 1000px;
    position: absolute;
    top: 50%; right: 0; left: 0;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
}

.widget-area {
    color: white;
    font-size: 14px;
    float: left;
    margin-bottom: 32px;
    width: 23%;
}

.widget-products {
    border-bottom: 2px solid white;
    background: #0054A4;
    padding: 15px 20px;
}

.widget-news {
    background: #808080;
    -webkit-border-radius: 0 0 20px 0;
            border-radius: 0 0 20px 0;
    padding: 20px;
}

.widget-news h3 {
    letter-spacing: 1px;
    margin: 0;
    text-transform: uppercase;
}

.widget-products a,
.widget-news a {
    color: white;
    display: block;
    -webkit-transition: color 0.3s ease;
    transition: color 0.3s ease;
    text-decoration: none;
}
.widget-products a:hover,
.widget-news a:hover {
    color: #00AEEF;
}

.dotted-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.dotted-item {
    border-bottom: 2px dotted white;
    padding: 10px 0;
}
.dotted-item:last-child {
    border-bottom: none;
}

.dotted-item.current a:before {
    content: '>';
    display: inline-block;
    margin-right: 6px;
}
.widget-news a::after {
    content: '\00BB';
    float: right;
}

.site-main {
    float: right;
    margin-bottom: 32px;
    padding: 32px 0 32px 32px;
    width: 77%;
}
.archive .site-main {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-flow: wrap;
        -ms-flex-flow: wrap;
            flex-flow: wrap;
    padding-right: 0;            
}

.page-header {
    width: 100%;
}

.archive .posts {}

.archive .products {
    text-align: center;
    margin: 0 32px 32px 0;
    width: 31.33%;
    width: -webkit-calc(33.33% - 32px);
    width: calc(33.33% - 32px);
}

.archive .products a,
.archive .products img {
    display: block;
    margin: 0 auto;
    padding-top: 5px;
}

/* Featured Image */
.entry-img {
    margin: -32px 0 32px -32px;
    max-width: none;
    }
    
    /* was 
        
    -webkit-border-radius: 0 0 20px 0;
            border-radius: 0 0 20px 0;    
        
    width: -webkit-calc(100% + 32px);
    width: calc(100% + 32px);
    */


.archive .entry-img {
    margin: 0 auto;
    max-width: 100%;
    width: auto;
    padding-top: 5px;
}

.entry-title,
.page-title {
    color: #0054A4;
    font-size: 30px;
}
.entry-title a,
.page-title a {
    text-decoration: none;
}
.archive .entry-title,
.blog .entry-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    text-align: center;
}
.blog .entry-title {
    text-align: left;
}
.archive .entry-title a {
    background: #00AEEF;
    color: white; 
    display: block;  
    padding: 16px;
}

.entry-content {
    margin: 0;
}

.single.has-thumbnail .entry-content {
    float: left;
    width: 60%;
}

.single.has-thumbnail .entry-gallery {
    float: right;
    text-align: center;
    width: 40%;
}


.entry-footer {
    clear: both;
}

.sponsors {
    background: #E6E6E6;
    padding: 32px 0;
}

.pre-footer {
    background: #0054A4;
    color: white;
    font-size: 13px;    
    padding: 32px 0;
}

.site-slogan {}

.site-details {
    text-align: right;
}

.site-footer {
    background: #333333;
    color: white;
    font-size: 13px;
    padding: 32px 0;
}

.site-footer a {
    color: white;
}

/*--------------------------------------------------------------
# Slider
--------------------------------------------------------------*/
.slick-slider {
    background: url('img/ajax-loader.gif') no-repeat center rgba(255, 255, 255, 0.65);
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    display: block;
    height: 200px;
    padding: 0 32px;
    position: relative;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    -webkit-touch-callout: none;
    -ms-touch-action: pan-y;
        touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
    -webkit-transition: all 0.3s ease;
            transition: all 0.3s ease;
}
.slick-initialized {
    background: none;
    height: auto;
}

.slick-list {
    display: block;
    margin: 0;
    overflow: hidden;
    padding: 0;
    position: relative;
}
.slick-list:focus {
    outline: none;
}
.slick-list.dragging {
    cursor: hand;
    cursor: pointer;
}

.slick-slider .slick-track,
.slick-slider .slick-list {
    -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
}

.slick-track {
    position: relative;
    top: 0;
    left: 0;
    display: block;
}
.slick-track:before,
.slick-track:after {
    content: '';
    display: table;
}
.slick-track:after {
    clear: both;
}
.slick-loading .slick-track {
    visibility: hidden;
}

.slick-slide,
.slide {
    display: none;
    float: left;
    height: 100%;
    min-height: 1px;
}
[dir='rtl'] .slick-slide {
    float: right;
}
.slick-slide img {
    display: block;
    padding: 0 8px;
}
.slick-slide.slick-loading img {
    display: none;
}
.slick-slide.dragging img {
    pointer-events: none;
}
.slick-initialized .slick-slide {
    display: block;
}
.slick-loading .slick-slide {
    visibility: hidden;
}
.slick-vertical .slick-slide {
    border: 1px solid transparent;
    display: block;
    height: auto;
}
.slick-arrow.slick-hidden {
    display: none;
}

/* Slider */
.slick-loading .slick-list {
    background: #fff url('img/ajax-loader.gif') center center no-repeat;
}

/* Icons */
@font-face {
    font-family: 'slick';
    font-weight: normal;
    font-style: normal;
    src: url('./fonts/slick.eot');
    src: url('./fonts/slick.eot?#iefix') format('embedded-opentype'), 
         url('./fonts/slick.woff') format('woff'), 
         url('./fonts/slick.ttf') format('truetype'), 
         url('./fonts/slick.svg#slick') format('svg');
}
/* Arrows */
.slick-prev,
.slick-next {
    background: transparent;
    border: none;
    -webkit-border-radius: 0;
            border-radius: 0;
    -webkit-box-shadow: none;
            box-shadow: none;
    color: transparent;
    cursor: pointer;
    display: block;
    font-size: 0;
    height: 20px;
    line-height: 0;
    outline: none;
    padding: 0;
    position: absolute;
    text-shadow: none;
    top: 50%;
    -webkit-transform: translate(0, -50%);
            transform: translate(0, -50%);    
    width: 20px;
    z-index: 999;
}
.slick-prev:hover,
.slick-prev:focus,
.slick-next:hover,
.slick-next:focus {
    background: transparent;
    -webkit-box-shadow: none;
            box-shadow: none;
    color: transparent;
    outline: none;
}
.slick-prev:hover:before,
.slick-prev:focus:before,
.slick-next:hover:before,
.slick-next:focus:before {
    opacity: 1;
}
.slick-prev.slick-disabled:before,
.slick-next.slick-disabled:before {
    opacity: .25;
}

.slick-prev:before,
.slick-next:before {
    color: white;
    font-family: 'slick';
    font-size: 20px;
    line-height: 1;
    opacity: .75;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.slick-prev {
    left: 6px;
}
[dir='rtl'] .slick-prev {
    right: 6px;
    left: auto;
}
.slick-prev:before {
    content: '←';
}
[dir='rtl'] .slick-prev:before {
    content: '→';
}

.slick-next {
    right: 6px;
}
[dir='rtl'] .slick-next {
    right: auto;
    left: 6px;
}
.slick-next:before {
    content: '→';
}
[dir='rtl'] .slick-next:before {
    content: '←';
}

/* Dots */
.slick-dotted.slick-slider {
    margin-bottom: 30px;
}

.slick-dots {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    text-align: center;
    top: 100%;
    width: 100%;
}
.slick-dots li {
    cursor: pointer;
    display: inline-block;
    height: 20px;
    margin: 0 5px;
    padding: 0;
    position: relative;
    width: 20px;
}
.slick-dots li button {
    background: transparent;
    border: 0;
    color: transparent;
    cursor: pointer;
    display: block;
    font-size: 0;
    height: 20px;
    line-height: 0;
    outline: none;
    padding: 5px;
    width: 20px;
}
.slick-dots li button:hover,
.slick-dots li button:focus {
    outline: none;
}
.slick-dots li button:hover:before,
.slick-dots li button:focus:before {
    opacity: 1;
}
.slick-dots li button:before {
    color: black;
    content: '•';
    font-family: 'slick';
    font-size: 6px;
    height: 20px;
    left: 0;
    line-height: 20px;
    opacity: .25;
    position: absolute;
    text-align: center;
    top: 0;
    width: 20px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.slick-dots li.slick-active button:before {
    opacity: .75;
    color: black;
}


.brands-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.brand-item {}

.brand-item a {
    color: #808080;
    display: block;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
}


@media screen and (max-width: 1064px) {
    .container,
    .main-navigation,
    .banner-title {
        max-width: none;
        padding: 0 32px;
    }
}

@media screen and (max-width: 768px) {
    .site-branding {}

    .content-area .container {
        padding: 0;
    }

    .site-main {
        padding: 32px;
    }

    .archive .products {
        width: -webkit-calc(50% - 32px);
        width: calc(50% - 32px);
    }
}

@media screen and (max-width: 640px) {
    .container,
    .main-navigation,
    .banner-title {
        max-width: none;
        padding: 0 16px;
    }

    .widget-area {
        width: 31%;
    }

    .site-main {
        padding: 16px;
        width: 69%;
    }

    .archive .products {
        margin: 0 16px 32px 0;
        width: -webkit-calc(50% - 16px);
        width: calc(50% - 16px);
    }

    .entry-img {
        margin: -16px 0 32px -16px;
    }

    .single.has-thumbnail .entry-content,
    .single.has-thumbnail .entry-gallery {
        float: none;
        width: auto;
    }
}

@media screen and (max-width: 520px) {
    .site-slogan,
    .site-details {
        float: none;
        margin: 0 auto 16px;
        width: auto;
    }
}

@media screen and (max-width: 470px) {
    .site-header {
        position: relative;
    }
    .site-branding {
        margin: 24px 0;
        max-width: 50%;
    }

    .site-contact {
        -webkit-border-radius: 0;
                border-radius: 0;
        clear: both;
        float: none;
        margin: 0 -16px;
        width: auto;
    }
    .site-contact a {
        padding: 12px;
        text-align: center;
    }

    .main-navigation {
        border: none;
        padding: 0;
        position: absolute;
        top: 0; right: 0;
    }

    .menu-toggle {
        background: none;
        padding: 20px;
    }
    .menu-toggle .corner-thing {
        display: none;
    }
    .menu-toggle-inner, .menu-toggle-inner::before, .menu-toggle-inner::after {
        background: #406AB1;
    }

    .site-banner {
        text-align: center;
    }

    .content-area .container {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-flow: wrap;
            -ms-flex-flow: wrap;
                flex-flow: wrap;
    }

    .widget-area {
        -webkit-box-ordinal-group: 3;
        -webkit-order: 2;
            -ms-flex-order: 2;
                order: 2;
        float: none;
        width: 100%;
    }

    .site-main {
        -webkit-box-ordinal-group: 2;
        -webkit-order: 1;
            -ms-flex-order: 1;
                order: 1;
        float: none;
        width: 100%;
    }

    .sponsors {
        display: none;
    }
}
