@charset"UTF-8";

/*------------------------------------------------------------------
Theme Name: ACAY
Theme URI: http://www.acaymission.com
Author: Andreas Walch
Author URI: https://www.facebook.com/andreas.walch.56
Description: Responsive theme for ACAY
Version: 1
License: (c) Andreas Walch
License URI:
Tags:
Text Domain: ACAY

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

/*------------------------------------------------------------------
[Table of contents]

1.          Basic Styles
2.          Body
3.          Header
3.1.        Header narrow width
3.1.1.      Tools Navigation / nav#tools
3.1.2.      Main Navigation / nav#main
3.2.        Header maximal width / (min-width: 1000px)
3.2.1.      Tools Navigation / nav#tools
3.2.2.      Main Navigation / nav#main
3.2.2.1.    Sub navigation / .nav#main ul ul
4.          Content
4.1         Columns
4.1.1.      Two columns / .columns-2
4.1.2.      Three columns / .columns-3
4.1.3.      Four columns / .columns-4
4.1.4.      Responsive columns
4.1.5.      Text columns
4.1.6.      Responsive text columns
4.2.        Boxes / .boxes-wrapper
4.3.        Input Elements
4.3.1.      Button / .button
4.3.2.      Input
4.4.        Single Entry
4.5.        Posts / .recent-posts
4.6.        Posts Archive / .posts-archive
4.7.        Search / .search-form
4.8.        Gallery / [id^=bwg]
4.8.1.      Gallery Navigation & Buttons
4.8.2.      Homepage Slideshow / .homepage-album-slider [id^=bwg]
4.9.        Table
4.10.       Lists
4.11.       Tagline Box / .tagline-box
5.          Footer
5.1.        Footer Main Navigation / .footer-container footer .menu
5.2.        Footer Colophon Area / .footer-container footer .colophon
6.          Helper Classes
7.          Print styles
-------------------------------------------------------------------*/

/* [1. Basic Styles]
-------------------------------------------------------------------*/
html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 62.5%;
    background: white;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
img,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

a,
a:visited {
    text-decoration: none;
    color: rgb(250,111,30);
}

a:hover {
    border-bottom: 2px solid rgb(250,110,30);
}

h1,
h2,
h3,
h4 {
    /*font-family: Arvo;*/
    font-weight: normal;
    letter-spacing: -0.05rem;
}

h1 {
    font-size: 3.2rem;
    line-height: 4rem;
    margin: 2rem 0 1rem;
}

h2 {
    font-size: 2.4rem;
    line-height: 3rem;
}

h3 {
    font-size: 2rem;
    line-height: 2.6rem;
}

.border-bottom {
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 1rem;
}

.paragraph {
    margin: 1.6rem 0;
}

.font-size-l {
    font-size: 1.8rem;
    line-height: 2.8rem;
}

.font-size-xl {
    font-size: 2rem;
    line-height: 3rem;
}

.font-size-xxl {
    font-size: 2.4rem;
    line-height: 3.2rem;
}


/* [2. Body ]
-------------------------------------------------------------------*/
body {
    font: 1.6em PT Sans, Helvetica, Helvetica Neue, Arial;
    line-height: 26px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.wrapper {
    width: 94%;
    margin: 0 3%;
    position: relative;
}

/* =Note: Increase padding for 1000px and above */
@media all and (min-width: 1000px) {
    .wrapper {
        width: 84%;
        margin: 0 8%;
    }
}

/* [3. Header ]
-------------------------------------------------------------------*/

/* [3.1. Header narrow width ]
-------------------------------------------------------------------*/
.header-container .wrapper {
    position: relative;
}

.header-container #logo {
    background: url(img/acay_logo.gif) no-repeat;
    background-size: 100% 100%;
    width: 120px;
    height: 120px;
    float: left;
    margin-right: 1rem;
    border: none !important;
    outline: none;
}

.header-container .title {
    font-size: 3rem;
    margin: 3rem 0 0rem;
    font-family: PT Sans;
    line-height: 3rem;
}

/* =Note: Custom style for French translation */
:lang(fr-FR) .header-container .title {
    font-size: 4.5rem;
    padding-bottom: 0.2rem;
}

.header-container .sub-title {
    font-weight: normal;
    font-size: 1.8rem;
    margin: 0 0 1.4rem 0;
    font-family: PT Sans;
    letter-spacing: 0;
    color: rgba(0,0,0,0.4);
}

.header-container .donate.button {
    font-size: 1.6rem;
    text-transform: uppercase;
    padding: 5px 14px;
    float: left;
    margin: 10px 0;
}

.header-container .ZeGiveBtn_btnContainer {
    float: left;
    padding-bottom: 10px;
}

.header-container .ZeGiveBtn_btn {
    float: left;
}

.header-container .in-header.widget-area .widget-title {
    display: none;
}

.header-container nav a {
    color: rgb(0,0,0);
}

/* [3.1.1. Tools navigation / nav#tools ]
-------------------------------------------------------------------*/
.header-container nav#tools {
    margin-top: 15px;
}

.header-container nav#tools:after {
    content: "";
    clear: both;
    display: table;
}

.header-container nav#tools ul {
    margin: 0px;
    padding: 0px;
}

.header-container nav#tools li {
    float: right;
    padding: 5px 10px;
}

.header-container nav#tools a:hover,
.header-container nav#tools li.current-lang a {
    border-bottom: 2px solid rgba(0,0,0,0.6);
}

/* [3.1.2. Main navigation / nav#main ]
-------------------------------------------------------------------*/
.header-container nav#main {
    background: rgb(120, 200, 40);
    float: left;
    width: 100%;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 3rem;
}

.header-container nav#main #main-nav-drawer {
    display: block;
    height: 5rem;
    background: rgb(250,111,30);
    position: relative;
    cursor: pointer;
}

.header-container nav#main #main-nav-drawer:after {
    color: white;
    font-family: FontAwesome;
    content: "\f0c9";
    font-size: 3.2rem;
    display: block;
    line-height: 0;
    position: absolute;
    top: 50%;
    right: 1.5rem;
}

.header-container #main-nav-drawer + div {
    display: none;
}

.header-container nav#main ul {
    margin: 0;
    padding: 0;
}

.header-container nav#main ul a {
    border: none;
    border-top: 0.2rem solid rgba(0,0,0,0.1);
    display: block;
    color: white;
    font-size: 1.7rem;
    line-height: 4.5rem;
    padding-left: 2rem;
    font-weight: bold;
}

.header-container nav#main ul a:hover,
.header-container nav#main ul li.current-menu-item > a,
.header-container nav#main ul li.current-menu-parent > a {
    background: rgba(0,0,0,0.06);
}

.header-container nav#main > div > ul > li > a {
    text-transform: uppercase;
}

.header-container nav#main > div > ul:first-child > li:first-child > a {
    border-top: none;
}

.header-container nav#main ul ul a {
    padding-left: 4rem;
}

/* [3.2. Header maximal width / (min-width: 1000px) ]
-------------------------------------------------------------------*/
@media only screen and (min-width: 1000px) {

    .header-container {
        border-bottom: 40px solid rgb(250,110,30);
    }

    .header-container .donate {
        position: absolute;
        right: 0px;
        top: 5rem;
        font-weight: bold;
    }

    .header-container .ZeGiveBtn_btnContainer {
        position: absolute !important;
        right: 0px;
        top: 5rem;
        right: 0;
    }

    .header-container #logo {
        margin-right: 0rem;
    }

    .header-container .title {
        margin-top: 5rem;
    }


/* [3.2.1. Tools navigation / nav#tools ]
-------------------------------------------------------------------*/
    .header-container nav#tools {
        margin: 0;
    }

    .header-container nav#tools:after {
        clear: none;
    }

/* [3.2.2. Main navigation / .nav#main ]
-------------------------------------------------------------------*/
    .header-container nav#main {
        position: absolute;
        left: 0px;
        bottom: -40px;
        right: 0px;
        height: 40px;
        background: rgb(250,111,30);
        overflow: visible;
        margin-bottom: 0;
    }

    .header-container nav#main #main-nav-drawer {
        display: none;
    }

    .header-container #main-nav-drawer + div  {
        display: block !important;
    }

    .header-container nav#main > div > ul {
        margin: 0px;
        padding: 0px;
    }

    .header-container nav#main > div > ul > li {
        position: relative;
        float: left;
        margin-right: 1.5%;
    }

     .header-container nav#main ul li a {
        font-size: 1.6rem;
        border: none;
        line-height: auto;
     }

    .header-container nav#main > div > ul > li > a {
        color: rgba(255,255,255,1);
        line-height: 20px;
        height: 20px;
        padding: 10px 10px;
        display: inline-block;
        position: relative;
        background: none !important;
    }

    /* =Note: Current nav item and hover marker */
    .header-container nav#main > div > ul > li > a:before,
    .header-container nav#main > div > ul > li > a:before {
        content: " ";
        position: absolute;
        opacity: 0;
        top: -4px;
        left: 0px;
        right: 0px;
        height: 4px;
        background: rgb(120,200,40);
        -webkit-transition: all 200ms ease;
        -moz-transition: all 200ms ease;
        -ms-transition: all 200ms ease;
        -o-transition: all 200ms ease;
        transition: all 200ms ease;
    }

    .header-container nav#main > div > ul > li.current-menu-item > a:before,
    .header-container nav#main > div > ul > li.current-menu-parent > a:before,
    .header-container nav#main > div > ul > li:hover > a:before {
        opacity:  1;
    }

/* [3.2.2.1. Sub navigation / .nav#main ul ul ]
-------------------------------------------------------------------*/
    nav#main > div > ul > li:hover > ul{
        opacity: 1;
        visibility: visible;
        z-index: 200;
    }

    nav#main ul ul {
        opacity: 0;
        display: block;
        visibility: hidden;
        -webkit-transition: opacity 200ms ease;
        -moz-transition: opacity 200ms ease;
        -ms-transition: opacity 200ms ease;
        -o-transition: opacity 200ms ease;
        transition: opacity 200ms ease;
        position: absolute;
        top: 100%;
        left: 0px;
        /*border: 2px solid rgb(120,200,40);*/
        border-top: 0px;
        box-shadow: 0px 3px 10px rgba(0,0,0,0.2);
        background: rgb(120,200,40);
        margin: 0px;
        padding: 0px;
    }

    .header-container nav#main ul ul li a {
        padding: 5px 20px;
        display: block;
        white-space: nowrap;
        color: white;
        line-height: 2.6rem;
    }

    nav#main ul ul li a:hover,
    nav#main ul ul li.current-menu-item a {
        /* =Note: White bg
        color: rgb(120,200,40);
        background: white;*/
        background: rgba(0,0,0,0.1);
    }
}

/* [4. Content ]
-------------------------------------------------------------------*/
.page {
    padding: 2rem 0 4rem;
}

.main {
}

.main article h1 {
    font-size: 3.2rem;
}

.main aside {
    color: white;
    padding: 0px 5% 10px;
}

/* =Note: Text coloring */
span.orange,
div.orange,
strong.orange,
b.orange,
h1.orange,
h2.orange,
h3.orange {
    color: rgb(250,111,30);
}

span.green,
div.green,
strong.green,
b.green,
h1.green,
h2.green,
h3.green {
    color: rgb(120,200,40);
}

/* =Note: Content background color definitions */

.light-grey.container {
    background: rgb(245,245,245);
}

.light-green.container {
    background: rgb(243,255,232);
}

.light-orange.container {
    background: rgb(255,240,232);
}

.green.container {
    background: rgb(120,200,40);
    color: white !important;
}

.spotlight {
    background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 37%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0.4) 63%, rgba(255,255,255,0) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(255,255,255,0)), color-stop(37%,rgba(255,255,255,0.4)), color-stop(50%,rgba(255,255,255,0.5)), color-stop(63%,rgba(255,255,255,0.4)), color-stop(100%,rgba(255,255,255,0))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,0.4) 37%,rgba(255,255,255,0.5) 50%,rgba(255,255,255,0.4) 63%,rgba(255,255,255,0) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,0.4) 37%,rgba(255,255,255,0.5) 50%,rgba(255,255,255,0.4) 63%,rgba(255,255,255,0) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,0.4) 37%,rgba(255,255,255,0.5) 50%,rgba(255,255,255,0.4) 63%,rgba(255,255,255,0) 100%); /* IE10+ */
    background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(255,255,255,0.4) 37%,rgba(255,255,255,0.5) 50%,rgba(255,255,255,0.4) 63%,rgba(255,255,255,0) 100%); /* W3C */
}

.green-spotlight {
    color: white !important;
    background: rgb(61,153,22); /* Old browsers */
    background: -moz-linear-gradient(left, rgba(61,153,22,1) 3%, rgba(120,200,40,1) 30%, rgba(120,200,40,1) 70%, rgba(61,153,22,1) 98%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(3%,rgba(61,153,22,1)), color-stop(30%,rgba(120,200,40,1)), color-stop(70%,rgba(120,200,40,1)), color-stop(98%,rgba(61,153,22,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left, rgba(61,153,22,1) 3%,rgba(120,200,40,1) 30%,rgba(120,200,40,1) 70%,rgba(61,153,22,1) 98%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(left, rgba(61,153,22,1) 3%,rgba(120,200,40,1) 30%,rgba(120,200,40,1) 70%,rgba(61,153,22,1) 98%); /* Opera 11.10+ */
    background: -ms-linear-gradient(left, rgba(61,153,22,1) 3%,rgba(120,200,40,1) 30%,rgba(120,200,40,1) 70%,rgba(61,153,22,1) 98%); /* IE10+ */
    background: linear-gradient(to right, rgba(61,153,22,1) 3%,rgba(120,200,40,1) 30%,rgba(120,200,40,1) 70%,rgba(61,153,22,1) 98%); /* W3C */
}

.container {
    position: relative;
}

.container.light-grey.arrow-down:after {
    content: "";
    position: absolute;
    display: block;
    left: 50%;
    margin-left: -4rem;
    width: 0px;
    height: 0px;
    z-index: 3;
    border: 4rem solid transparent;
    border-top-color: rgb(245,245,245);
}

/* [4.1 Columns ]
-------------------------------------------------------------------*/
/* [4.1.1. Two columns / .columns-2]
-------------------------------------------------------------------*/
.columns-2:after {
    content: "";
    clear: both;
    display: table;
}

.columns-2 > .column {
    float: left;
    width: 49%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    margin-right: 2%;
}

.columns-2 > [class*="column"]:nth-child(even) {
    margin-right: 0%;
}

/* [4.1.2. Three columns / .columns-3]
-------------------------------------------------------------------*/
.columns-3:after {
    content: "";
    clear: both;
    display: table;
}

.columns-3 > .column,
.columns-3 > .columns-2 {
    float: left;
    width: 32%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    margin-right: 2%;
}

.columns-3 > .columns-2 {
    width: 66%;
}

.columns-3 > .columns-2:after,
.columns-3 > .columns-3:after{
    display: none;
}

.columns-3 > .columns-2 + .column,
.columns-3 > .column + .columns-2 {
    margin-right: 0%;
}

/* =Note: For multiple rows remove the margin from every third item */
.columns-3 > [class*="column"]:nth-child(3n+0) {
    margin-right: 0%;
}

/* [4.1.3. Four columns / .columns-4]
-------------------------------------------------------------------*/
.columns-4:after {
    content: "";
    clear: both;
    display: table;
}

.columns-4 > .column,
.columns-4 > .columns-2,
.columns-4 > .columns-3 {
    float: left;
    width: 23.5%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    margin-right: 2%;
}

.columns-4 > .columns-2 {
    width: 49%;
}

.columns-4 > .columns-3 {
    width: 74.5%;
}

.columns-4 > .columns-2 + .column + .column,
.columns-4 > .column + .columns-2 + .column,
.columns-4 > .column + .column + .columns-2,
.columns-4 > .columns-3 + .column,
.columns-4 > .column + .columns-3 {
    margin-right: 0%;
}

.columns-4 > [class*="column"]:nth-child(4n+0) {
    margin-right: 0%;
}

/* [4.1.4. Responsive columns ]
-------------------------------------------------------------------*/
/* =Note: 1000px - 700px shrink to two columns */
@media all and (max-width: 1000px) and (min-width: 700px) {

    .columns-3 > .column,
    .columns-4 > .column{
        width: 49%;
    }

    /* =Note: If a column-2 or column-3 item occurs, make it 100% wide */
    .columns-3 > .columns-2,
    .columns-3 > .column:last-child,
    .columns-4 > .columns-2,
    .columns-4 > .columns-3 {
        width: 100%;
        margin-right: 0%;
    }

    .columns-3 > [class*="column"]:nth-child(2n+0),
    .columns-4 > [class*="column"]:nth-child(2n+0) {
        margin-right: 0%;
    }
}

/* =Note: For screens <= 700px */
@media all and (max-width: 700px) {
    .column,
    .columns-3 > .columns-2,
    .columns-4 > .columns-2,
    .columns-4 > .columns-3 {
        width: 100% !important;
        margin-right: 0% !important;
    }
}

/* [4.1.5. Text columns ]
-------------------------------------------------------------------*/
.text-columns-2,
.text-columns-3,
.text-columns-4 {
    -webkit-column-gap: 3rem;
    -moz-column-gap: 3rem;
    column-gap: 3rem;
}

.text-columns-2 {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
}

.text-columns-3 {
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
}

.text-columns-4 {
    -webkit-column-count: 4;
    -moz-column-count: 4;
    column-count: 4;
}

/* [4.1.6. Responsive text columns ]
-------------------------------------------------------------------*/
/* =Note: 1000px - 700px shrink to two columns */
@media all and (max-width: 1000px) and (min-width: 700px) {
    .text-columns-3,
    .text-columns-4 {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }
}

/* =Note: For screens <= 700px make one column*/
@media all and (max-width: 700px) {
    .text-columns-2,
    .text-columns-3,
    .text-columns-4 {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }
}

/* [4.2. Boxes / .boxes-wrapper ]
-------------------------------------------------------------------*/
.boxes-wrapper br {
    display: none;
}

.boxes-wrapper .box {
    position: relative;
    margin-bottom: 2.5rem;
    padding: 1rem 2rem;
    box-sizing: border-box;
    overflow: hidden;
}

.boxes-wrapper .box img {
    margin-left: -4rem;
    margin-right: -4rem;
    margin-top: -1rem;
    width: calc(100% + 4rem);
    height: auto;
}

/* =Note: Custom style for the last box */
@media only screen and (min-width: 700px) {
    /* =Note: If there is only one box in the last row, set the width of it to 100% */
    .boxes-wrapper .box:nth-child(2n+1):last-child {
        width: 100%;
        margin-right: 0%;
    }

    /* =Note: Move the image in the last box to the left */
    .boxes-wrapper .box:nth-child(2n+1):last-child img {
        position: absolute;
        margin: 0;
        right: 50%;
        top: 0px;
        width: auto;
        min-width: 50%;
        height: 100%;
    }

    /* =Note: Move the content of the last box to the right */
    .boxes-wrapper .box:nth-child(2n+1):last-child img + * {
        margin-left: calc(50% + 3rem);
    }
}
@media only screen and (min-width: 1200px) {
    /* =Note: Change the sizing of the image to expand horizontaly */
    .boxes-wrapper .box:nth-child(2n+1):last-child img {
        width: 50%;
        height: auto;
        position: absolute; /* =Note: Vertical align middle */
        top: 50%;
        -webkit-transform: translateY(-50%) ;
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
        -webkit-transform-style: preserve-3d;
        -moz-transform-style: preserve-3d;
        transform-style: preserve-3d;
    }
}

/* [4.3. Input Elements]
-------------------------------------------------------------------*/
/* [4.3.1. Button / .button ]
-------------------------------------------------------------------*/
/* =Note: Orange button */
body a.button.orange,
body a.button,
body button.orange,
body button,
input[type=submit].orange,
input[type=submit],
.posts-nav a:last-child {
    border: 2px solid rgb(250,110,30);
    border-radius: 4px;
    padding: 2px 10px;
    color: rgb(250,110,30);
    font-size: 1.6rem;
    vertical-align: middle;
    display: inline-block;
    -webkit-transition: all 100ms ease;
    -moz-transition: all 100ms ease;
    -ms-transition: all 100ms ease;
    -o-transition: all 100ms ease;
    transition: all 100ms ease;
    background: transparent;
    font-family: PT Sans, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body a.button.orange:hover,
body a.button:hover,
body button:hover,
body button.orange:hover,
.posts-nav a:last-child:hover,
input[type=submit]:hover,
input[type=submit].orange:hover,

body a.button.orange:active,
body a.button:active,
body button:active,
body button.orange:active,
.posts-nav a:last-child:active,
input[type=submit]:active,
input[type=submit].orange:active,

body a.button.orange.active,
body a.button.active,
body button.active,
body button.orange.active,
input[type=submit].active,
input[type=submit].orange.active {
    border-color: rgb(250,110,30) !important;
    background: rgb(250,110,30);
    color: white;
}

/* =Note: Green button */
body a.button.green,
body button.green {
    border-color: rgb(120,200,40);
    color: rgb(120,200,40);
}

body a.button.green:hover,
body button.green:hover,

body a.button.green:active,
body button.green:active,

body a.button.green.active,
body button.green.active {
    border-color: rgb(120,200,40) !important;
    background: rgb(120,200,40);
    color: white;
}

/* =Note: White button */
body a.button.white,
body button.white {
    border-color: white;
    color: white;
}

body a.button.white:hover,
body button.white:hover,

body a.button.white:active,
body button.white:active,

body a.button.white.active,
body button.white.active {
    background: white;
    border-color: white !important;
    color: black;
}

/* =Note: Black button */
body a.button.black,
body button.black {
    border-color: black;
    color: black;
}

body a.button.black:hover,
body button.black:hover,

body a.button.black:active,
body button.black:active,

body a.button.black.active,
body button.black.active {
    background: black;
    border-color: black !important;
    color: white;
}

/* =Note: XL Button */
body a.button.xl,
body button.xl {
    font-size: 1.8rem;
    padding: 1rem 2.3rem;
}

/* =Note: Up Button */
a.button.up {
    position: absolute;
    right: 0px;
    bottom: 0px;
    line-height: 10px;
    padding: 5px;
}

a.button.up:after {
    content: "\f106";
    font-family: FontAwesome;
}

/* [4.3.2. Input / input[type=text] ]
-------------------------------------------------------------------*/
input[type=text],
input[type=search],
input[type=password],
textarea {
    border: 2px solid rgba(0,0,0,0.2);
    font-family;
    font-family: PT Sans, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    outline: none;
    padding: 5px;
    font-size: 1.6rem;
    -webkit-transition: all 100ms ease;
    -moz-transition: all 100ms ease;
    -ms-transition: all 100ms ease;
    -o-transition: all 100ms ease;
    transition: all 100ms ease;
}

input[type=text]:active,
input[type=search]:active,
input[type=password]:active,
textarea:active {
    border: 2px solid rgba(0,0,0,0.4)
}

/* [4.4. Single Entry ]
-------------------------------------------------------------------*/
.single .entry-content .entry-thumbnail img {
    display: inline-block;
    width: 100%;
    height: auto;
    box-sizing: border-box;
}

/* =Note: Apply image padding only above 700px */
@media all and (min-width:700px) {
    .single .entry-content .entry-thumbnail img {
        margin-left: 2rem;
        width: calc(100% - 2rem);
        margin-top: 2rem;
    }
}

.entry-date {
    color: rgba(0,0,0,0.5);
}

.posts-nav {
    margin: 3rem 0 5rem 0;
}


/* [4.5. Posts / .recent-posts ]
-------------------------------------------------------------------*/
.posts {
    margin: 0px;
    padding: 0px;
}

.posts li {
    list-style: none;
}

.posts .entry-title {
    margin-bottom: 0.5rem;
}

.posts .entry-date {
    font-size: 1.4rem;
}

.posts .entry-date:before {
    content: '\f073';
    font-family: FontAwesome;
    padding-right: 0.7rem;
    opacity: 0.5;
}

.recent-posts .entry-thumbnail img {
    width: 100%;
    height: auto;
}

.posts .entry-thumbnail {
    border-bottom: none;
}

.posts .entry-content {
    color: rgba(0,0,0,0.8);
    border-width: 0px;
    line-height: 2.2rem;
}

.posts .entry-content:hover {
    color: rgb(250,110,30);
}

.posts .entry-content p {
    margin-top: 0.5rem;
}

/* [4.6. Posts Archive & Search results / .posts-archive / .search-results]
-------------------------------------------------------------------*/
.posts-archive article,
.search-results article {
    border-bottom: 2px solid rgba(0,0,0,0.05);
    padding: 0px;
}

.posts-archive article .posts-content,
.search-results article .posts-content {
    padding: 0;
}

.posts-archive .entry-thumbnail,
.search-results .entry-thumbnail {
    display: block;
    margin-top: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    overflow: hidden;
}

.posts-archive .entry-thumbnail img,
.search-results .entry-thumbnail img {
    height: auto;
    width: 100%;
    max-width: 30rem;
}

@media all and (min-width:1000px) {
    .search-results .entry-thumbnail img {
        max-width: 16rem;
    }

    .search-results .entry-thumbnail {
        text-align: right;
    }
}

.posts-archive .entry-content,
.search-results .entry-content {
    font-size: 1.4rem;
    line-height: 2rem;
}

.posts-archive .entry-content p,
.search-results .entry-content p {
    margin-bottom: 2rem;
}

/* [4.7. Search / .search-form ]
-------------------------------------------------------------------*/
.search-form .screen-reader-text {
    visibility: hidden;
    height: 0px;
    width: 0px;
    display: block;
}

header .search-form .screen-reader-text {
    display: none;
}

header .search-form input[type=search] {
    float: none;
    margin: 1.2rem 0;
    display: block;
    width: 100%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.search-form input[type=submit] {
    padding: .5rem 1rem;
    margin-left: .5rem;
}

header .search-form input[type=submit] {
    display:none;
}

/* =Note: Search for displays wider then 1000px */
@media all and (min-width:1000px) {
    header .search-form {
        position: absolute;
        bottom: -36px;
        z-index: 1;
        right: 0px;
    }

    header .search-form .screen-reader-text {
        display: block;
        width: 0px;
        height: 0px;
        font-size: 0px;
        visibility: visible;
    }

    header .search-form .screen-reader-text:after {
        content: '\f002';
        font-family: FontAwesome;
        color: white;
        display: block;
        font-size: 2rem;
        line-height: 3rem;
        text-align: center;
        display: block;
        position: absolute;
        left: -28px;
        bottom: 0px;
        width: 30px;
        height: 30px;
        cursor: pointer;
    }

    header .search-form .search-input-wrapper {
        display: none;
    }

    header .search-form input[type=search] {
        border: none;
        margin: 0;
        width: 140px;
        display: none;
    }
}

/* =Note: Search for displays wider then 1000px */
@media all and (min-width:1100px) {
    header .search-form input[type=search] {
        width: 200px;
    }
}

/* [4.8. Gallery / [id^=bwg] ]
-------------------------------------------------------------------*/
/* =Note: Overwriting the predefined styles */

[id^=bwg] a {
    border-bottom: none;
}

[id^=bwg] [class^=bwg_album_thumbnails],
[id^=bwg] [class^=bwg_standart_thumbnails] {
    width: auto !important;
    display: block !important;
    width: auto !important;
    max-width: auto !important;
    text-align: left !important;
}

[id^=bwg] [class^=bwg_album_thumbnails] > a,
[id^=bwg] [class^=bwg_standart_thumbnails] > a {
    margin: 0 1% !important;
}

/* =Note: Remove margin-left for the first child and the first after every 4th */
[id^=bwg] [class^=bwg_album_thumbnails] input + a,
[id^=bwg] [class^=bwg_standart_thumbnails] input + a,
[id^=bwg] [class^=bwg_album_thumbnails] > a:nth-child(4n+3),
[id^=bwg] [class^=bwg_standart_thumbnails] > a:nth-child(4n+3) {
    margin-left: 0 !important;
}

/* =Note: Remove margin-right for every 4th first child */
[id^=bwg] [class^=bwg_album_thumbnails] > a:nth-child(4n+2),
[id^=bwg] [class^=bwg_standart_thumbnails] > a:nth-child(4n+2) {
    margin-right: 0 !important;
}

[id^=bwg] [class^=bwg_album_thumbnails] > a > [class^=bwg_album_thumb],
[id^=bwg] [class^=bwg_standart_thumbnails] > a > [class^=bwg_standart_thumb] {
    display: inline-block !important;
    width: 23.5% !important;
    overflow: hidden;
    position: relative !important;
    display: inline-block !important;
}

/* =Note: Define aspect ratio of 4:6 for the wrapper, start */
[id^=bwg] [class^=bwg_album_thumbnails] > a > [class^=bwg_album_thumb]:after,
[id^=bwg] [class^=bwg_standart_thumbnails] > a > [class^=bwg_standart_thumb]:after {
    padding-top: 66%;
    display: block;
    content: "";
}

[id^=bwg] [class^=bwg_album_thumbnails] > a > [class^=bwg_album_thumb] > [class^=bwg_album_thumb_spun1],
[id^=bwg]  [class^=bwg_standart_thumbnails] > a > [class^=bwg_standart_thumb] > [class^=bwg_standart_thumb_spun1] {
    position: absolute;
    top: 0; bottom: 0; right: 0; left: 0;
}
/* =Note: aspect ratio end */

[id^=bwg] [class^=bwg_album_thumb_spun],
[id^=bwg] [class^=bwg_standart_thumb_spun] {
    margin: 0px !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    position: absolute !important;
    -webkit-transform: scale(1) !important;
    -moz-transform: scale(1) !important;
    -ms-transform: scale(1) !important;
    -o-transform: scale(1) !important;
    transform: scale(1) !important;
}

[id^=bwg] [class^=bwg_album_thumb_spun] img,
[id^=bwg] [class^=bwg_standart_thumb_spun] img {
    display: inline-block !important;
    width: auto !important;
    height: 101% !important;
    margin: 0 !important;
    position: relative !important; /* =Note: Vertical align middle */
    top: 50% !important;
    -webkit-transform: translateY(-50%) !important;
    -ms-transform: translateY(-50%) !important;
    transform: translateY(-50%) !important;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

/* =Note: Start: Hover for gallery images */
[id^=bwg] [class^=bwg_standart_thumb_spun1]:after {
    color: white;
    font-family: FontAwesome;
    content: "\f065";
    font-size: 3rem;
    display: block;
    line-height: 6rem;
    height: 6rem;
    width: 6rem;
    border-radius: 10rem;
    visibility: hidden;
    opacity: 0;
    background: rgba(0,0,0,0.6);
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -2.5rem;
    margin-top: -2.5rem;
    -webkit-transition: all 200ms ease-in-out;
    -moz-transition: all 200ms ease-in-out;
    -ms-transition: all 200ms ease-in-out;
    -o-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
}

[id^=bwg] a > [class^=bwg_standart_thumb]:hover [class^=bwg_standart_thumb_spun1]:after {
    visibility: visible;
    opacity: 1;
}
/* =Note: End: Hover for gallery images */

[id^=bwg] [class^=bwg_title_spun1] {
    left: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    display: block !important;
    position: absolute;
    height: 100% !important;
    width: 100% !important;
    background: rgba(0,0,0,0.6);
    -webkit-transition: all 200ms ease-in-out;
    -moz-transition: all 200ms ease-in-out;
    -ms-transition: all 200ms ease-in-out;
    -o-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
}

[id^=bwg] [class^=bwg_title_spun2] {
    background: none;
    line-height: 2.6rem;
    vertical-align: middle !important;
    display: block !important;
    color: white !important;
    font-family: PT Sans, Arial, Helvetica !important;
    font-size: 2.2rem !important;
    text-align: center;
    font-weight: normal !important;
    padding: 0px !important;
    height: auto !important;
    position: relative; /* =Note: Vertical align middle */
    top: 50% !important;
    -webkit-transform: translateY(-50%) !important;
    -ms-transform: translateY(-50%) !important;
    transform: translateY(-50%) !important;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

/* [4.8.1. Gallery Navigation & Buttons ]
-------------------------------------------------------------------*/
[id^=bwg] [id^=gal_front_form] > div { /* =Note: Form background */
    text-align: left !important;
}

[id^=bwg] [id^=bwg] [class^=tablenav-pages] {
    height: auto !important;
}

[id^=bwg] [id^=bwg] [class^=bwg_back],
[id^=bwg] [class^=pagination-links] .first-page,
[id^=bwg] [class^=pagination-links] .prev-page,
[id^=bwg] [class^=pagination-links] .next-page,
[id^=bwg] [class^=pagination-links] .last-page {
    font-family: PT Sans, Arial, Helvetica !important;
    font-size: 1.6rem !important;
    border: 2px solid black !important;
    border-radius: 4px !important;
    padding: 5px 10px !important;
    color: black !important;
    display: inline-block !important;
    font-weight: normal !important;
    line-height: normal !important
}

/* =Note: Album Title */
[id^=bwg] [id^=bwg] div[class^=bwg_back] {
    border: none !important;
    padding: 0px! important;
    font-size: 2.4rem !important;
    line-height: 3rem !important;
    padding-bottom: 2rem !important;
    cursor: default !important;
    display: block !important;
}

/* =Note: Album Title wider then 1000px */
@media all and (min-width:1000px) {
    [id^=bwg] [id^=bwg] a[class^=bwg_back] + div[class^=bwg_back] {
        margin-top: -44px !important;
        text-align: center !important;
    }
}

[id^=bwg] a[class^=bwg_back] {
    margin-bottom: 1rem;
}

[id^=bwg] [class^=pagination-links] .first-page,
[id^=bwg] [class^=pagination-links] .prev-page,
[id^=bwg] [class^=pagination-links] .next-page,
[id^=bwg] [class^=pagination-links] .last-page {
    font-size: 2rem !important;
    line-height: 1.5rem !important;
}

[id^=bwg] [class^=pagination-links] .disabled {
    opacity: 0.25 !important;
}

[id^=bwg] [class^=pagination-links] [class^=paging-input]{
    font-family: PT Sans, Arial, Helvetica !important;
    font-size: 1.6rem !important;
    color: black !important;
    font-weight: normal !important;
    padding: 0 1rem;
}

[id^=bwg] a[id^=spider_popup],
.spider_popup_close_fullscreen {
    border-bottom: none !important;
}

.spider_popup_close_fullscreen .fa {
    font-size: 1.6rem !important;
}

/* [4.8.2. Homepage Slideshow / .homepage-album-slider [id^=bwg] ]
-------------------------------------------------------------------*/
@media all and (max-width:700px){
    .homepage-album-slider [id^=bwg] {
        display: none;
    }
}

.homepage-album-slider {
    background: rgba(0,0,0,0.25) !important;
    color: white;
    text-align: center;
    padding: 1px 0 10px 0 !important;
    margin:0 !important;
}

/* =Note: Hide album title on homepage*/
.homepage-album-slider [id^=bwg] [id^=bwg] div[class^=bwg_back]{
    display: none !important;
}

/* =Note: Loading style */
.homepage-album-slider [id^=bwg] [id^=ajax_loading] > div {
    background-color: transparent !important;
    opacity: 1 !important;
    margin-top: -2rem !important
}

.homepage-album-slider [id^=bwg] [id^=ajax_loading] [id^=loading_div] {
    background: transparent !important;
    border-radius: 5px;
    padding: 1rem !important;
}

.homepage-album-slider [id^=bwg] [id^=ajax_loading] [id^=loading_div] img {
    width: 5rem !important;
    height: 5rem !important;
}

.homepage-album-slider [id^=bwg] [class^=bwg_album_thumbnails],
.homepage-album-slider [id^=bwg] [class^=bwg_standart_thumbnails] {
    text-align: center;
}

.homepage-album-slider [id^=bwg] [class^=bwg_standart_thumb_spun2] {
    background: black !important;
}

.homepage-album-slider div#bwg_container1_0 div#bwg_container2_0 [id^=gal_front_form] a[class^=bwg_back],
.homepage-album-slider [id^=bwg] [class^=pagination-links] .first-page,
.homepage-album-slider [id^=bwg] [class^=pagination-links] .prev-page,
.homepage-album-slider [id^=bwg] [class^=pagination-links] .next-page,
.homepage-album-slider [id^=bwg] [class^=pagination-links] .last-page {
    border: 2px solid white !important;
    border-radius: 4px !important;
    padding: 5px 10px !important;
    color: white !important;
    background: none !important;
}

.homepage-album-slider [id^=bwg] [class^=pagination-links] [class^=paging-input]{
    color: white !important;
}

.homepage-album-slider [id^=bwg] a[class^=bwg_back] {
    margin: 0 1rem 1rem;
    position: absolute;
    top: -51px;
}

.homepage-album-slider [id^=bwg] [class^=bwg_album_thumbnails] > a,
.homepage-album-slider [id^=bwg] [class^=bwg_standart_thumbnails] > a {
    margin: 0 !important;
}

.homepage-album-slider [id^=bwg] [class^=bwg_album_thumbnails] > a > [class^=bwg_album_thumb],
.homepage-album-slider [id^=bwg] [class^=bwg_standart_thumbnails] > a > [class^=bwg_standart_thumb] {
    display: inline-block !important;
    width: 25% !important;
}

/* [4.9. Table ]
-------------------------------------------------------------------*/
table {
	border-bottom: 1px solid #ededed;
	border-collapse: collapse;
	border-spacing: 0;
	font-size: 14px;
	line-height: 2;
	margin: 0 0 20px;
	width: 100%;
}

th,
td {
	font-weight: normal;
	text-align: left;
}

th {
	font-weight: bold;
	text-transform: uppercase;
}

td {
	border-top: 1px solid #ededed;
	padding: 6px 10px 6px 0;
}

/* [4.10. Lists ]
-------------------------------------------------------------------*/
ul.circle,
ul.square,
ul.check {
    list-style-type: none;
    padding-left: 3rem;
    margin-left: 2rem;
}

ul.check {
    padding-left: 4rem;
}

ul.circle li,
ul.square li,
ul.check li {
    text-indent: -3rem;
    padding: 0.4rem 0;
}

ul.check li {
    text-indent: -4rem;
}

ul.orange li:before {
    color: rgb(250,110,30);
}

ul.green li:before {
    color: rgb(120,200,40);
}

ul.circle li:before,
ul.square li:before,
ul.check li:before {
    font-family: FontAwesome;
    width: 3rem;
    float: left;
    font-size: 1.1rem;
}

ul.circle li:before {
    content: "\f111";
}

ul.square li:before {
    content: "\f0c8";
}

ul.check li:before {
    content: "\f00c";
    font-size: 3rem;
    width: 4rem;
}

/* [4.11. Tagline Box / .tagline-box ]
-------------------------------------------------------------------*/
.tagline-box {
    border: 3px solid rgb(210,210,210);
    padding: 2.8rem;
    margin: 1.6rem 0;
}

.tagline-box.orange {
    border-color: rgb(250,110,30);
    color: inherit;
}

.tagline-box.green {
    border-color: rgb(120,200,40);
    color: inherit;
}

.tagline-box.grey {
    border-color: rgb(210,210,210);
}

.tagline-box .tagline-title {
    margin: 0px;
}

.tagline-box .tagline-link {
    display: block !important;
    text-align: center;
    font-size: 1.8rem !important;
    margin: 1rem 0;
    font-weight: bold;
}

@media all and (min-width:700px){
    .tagline-box .tagline-link {
        float: right;
        margin: 0 0 0 2rem;
        font-size: inherit !important;
    }
}

.tagline-box .tagline-content {
    margin-top: .4rem;
}


/* [5. Footer ]
-------------------------------------------------------------------*/
.footer-container,
.main aside {
    background: rgba(0, 0, 0, 0.7);
}

.footer-container {
    font-size: 1.6rem;
    color: rgba(255,255,255,0.5);
}

.footer-container a {
    color: rgba(255,255,255,0.5);
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

.footer-container a:hover {
    border-bottom: 1px solid rgba(255,255,255,0.5);
    color: rgba(255,255,255,0.7);
}

.footer-container footer {
    padding-top: 4rem;
}

.footer-container footer:after {
    content: "";
    clear: both;
    display: block;
    visibility: hidden;
}

.footer-container footer h3 {
    font-size: 1.6rem;
    margin: 0px;
}

.footer-container footer ul {
    padding: 0px;
    margin: 0px;
}

.footer-container footer li {
    list-style: none;
}

.footer-container .highlight {
    color: rgba(255,255,255,0.8);
}

/* =Note: Footer Contact */
.footer-container .contact-item {
    margin: 0 0 1.6rem 3.4rem;
}

.footer-container .contact-icon {
    float: left;
    display: block;
    font-size: 1.8rem;
    margin: 0.6rem 0 0 0;
    text-align: center;
    width: 2rem;
}

/* [5.1. Footer Main Navigation / .footer-container footer .menu ]
-------------------------------------------------------------------*/
.footer-container footer .menu a {
    border-bottom: none;
}

/* =Note: First level nav items */
.footer-container footer .footer-main-nav > div > ul {
    padding: 0px !important;
    margin: 0px;
}

.footer-container footer .footer-main-nav > div > ul > li {
    /*display: table;*/
    display: inline-block;
    width: 100%;
}

.footer-container footer .footer-main-nav > div > ul > li > a {
    text-transform: uppercase;
}

/* =Note: Second level nav items */
.footer-container footer .footer-main-nav .menu ul {
    padding-left: 20px;
    margin: 0rem 0px 1rem;
}

.footer-container footer .footer-main-nav .menu li {
    list-style: none;
    margin: .4rem 0 .4rem;
}

/* [5.2. Footer Colophon Area / .footer-container footer .colophon]
-------------------------------------------------------------------*/
.footer-container footer .colophon {
    background: rgba(0,0,0,0.3);
    padding-top: 2rem;
    padding-bottom: 2rem;
    margin-top: 2rem;
}

@media all and (max-width:1000px){
    .footer-container footer .colophon {
        text-align: center;
    }
}


.footer-container footer .colophon .widget-container{
    display: inline-block;
}

/* =Note: Footer Social Navigation */
.footer-container footer .colophon .widget_nav_menu {
    margin-top: 2rem;
}

@media all and (min-width:1000px){
    .footer-container footer .colophon .widget_nav_menu,
    .footer-container footer .menu-social-navigation-container .fa  {
        float: right;
        margin: 0;
    }
}

.footer-container footer .menu-social-navigation-container .fa {
    font-size: 2.4rem;
    margin-left: 2.4rem;
}

.footer-container footer .menu-social-navigation-container .icon-only a {
    height: 3rem;
    width: 3rem;
    margin-left: -2.5rem;
    vertical-align: text-top;
}


/* [6. Helper Classes ]
-------------------------------------------------------------------*/
.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

.icon-only a:hover {
    border-bottom: none !important;
}

.icon-only a {
    text-indent: -9999px;
    overflow: hidden;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: -20px;
    border: 0px;
}

.spacer-horizontal,
.spacer {
    display: inline-block;
    width: 1.5rem;
}

.spacer-vertical {
    display: block;
    height: 2.6rem;
}

.left {
    float: left;
}

.right {
    float: right;
}

.auto-width {
    width: 100% !important;
    height: auto !important;
}

/* [7. Print styles ]
-------------------------------------------------------------------*/
@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}