/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

::-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,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

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

textarea {
    resize: vertical;
}

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

img {
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   Fonts
   ========================================================================== */

/* GOLD ==> #87774F */

#video {
    position: fixed;
    top: 50%;
    left: 50%;
    max-width: initial;
    min-width: 100%;
    min-height: 100%;
    height: auto;
    width: auto;
    z-index: -100;
    transform: translateX(-50%) translateY(-50%);
}

body {
    font-family: 'Muli', sans-serif;
    overflow-x: hidden;
    font-weight: 400;
    background: #000000;

    -webkit-font-smoothing: antialiased;
    -webkit-overflow-scrolling: touch;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Muli', sans-serif;
    font-weight: 400;
}

h2, h3, h4 {
    color: #87774F;
    text-transform: uppercase;
}

.site-wrapper {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

.site-wrapper.nav-is-active,
body.nav-is-active {
    overflow-y: hidden;
}

p {
    font-size: 1em;
    line-height: 1.3750em;
    margin: 0 0 1.3750em 0;
}

a {
    color: #87774F;
    text-decoration: none;
    -webkit-transition: all 400ms linear;
    transition: all 400ms linear;
}

a:hover {
    opacity: 0.5;
}


/* ==========================================================================
   Layout
   ========================================================================== */

.fullpage,
.site-wrapper {
    opacity: 0;

    -webkit-transition: all 400ms linear;
        transition: all 400ms linear;
}

.fullpage.triggered,
.site-wrapper.triggered {
    opacity: 1;
}

.wrapper {
    max-width: 90%;
    margin: 0 5%;
    min-height: 100%;
    position: relative;
}

@media only screen and (min-width: 600px) {
    .wrapper {
        max-width: 1140px;
        margin: 0 auto;
        padding: 0 30px;
    }
}

.row {
    overflow: hidden;
}

.main,
.aside {
    padding-bottom: 90px;
}

.asideAd {
    display: block;
    margin-bottom: 30px;
}

.sidebar-widget > * {
    display: block;
    margin-bottom: 60px;
}

@media only screen and (min-width: 600px) {
    .main {
        float: left;
        width: 66%;
        margin-right: 6%;
    }

    .aside {
        float: left;
        width: 28%;
        padding-top: 70px;
    }
}

hr {
    height: 4px;
    margin: 0 0 30px;
    padding: 0;
    background: transparent;
    border: 0;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
}

.section {
    background-position: center center;
    background-repeat: none;
    background-size: cover;
}

.section_welcome { background-image: url('/wp-content/uploads/2016/10/AKMA-Entrance.jpg'); }
.section_donate { background-image: url('/wp-content/uploads/2016/10/MJS8416-e1477296387122.jpg'); }
.section_volunteer { background-image: url('/wp-content/uploads/2016/10/MJS8409-e1477296415272.jpg'); }
.section_visit { background-image: url('/wp-content/uploads/2016/11/MJS0466.jpg'); }
.section_events { background-image: url('/wp-content/uploads/2016/10/AKMA-Library.jpg'); }


/* ==========================================================================
   Header
   ========================================================================== */

.header {
    padding: 15px 0;
    background: rgba(0,0,0,0.9);
    border-bottom: 3px solid #87774F;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
}

@media only screen and (min-width: 600px) {
    .header {
        padding: 30px 0;
    }
}

.logo {
    width: 160px;
    height: auto;
    margin-top: 5px;
}

@media only screen and (min-width: 600px) {
    .logo {
        float: left;
        width: 180px;
    }
}

.scroll {
    padding: 0;
    position: fixed;
    width: 60px;
    height: 50px;
    bottom: 0;
    left: 50%;
    margin-left: -30px;

    font-size: 14px;
    text-align: center;
    color: #87774F;

    background: rgba(0,0,0,0.9);
    border-top: 3px solid #87774F;
    z-index: 997;
    cursor: pointer;

    -webkit-transform: translateY(200px);
        transform: translateY(200px);
    -webkit-transition: all 400ms linear;
        transition: all 400ms linear;
}

.scroll.triggered {
    -webkit-transform: translateY(0);
        transform: translateY(0);
}

.scroll > svg {
    display: block;
    width: 35px;
    height: auto;
    margin: 0 auto;
}

.scroll > svg path {
    color: #87774F;
    fill: #87774F;
    border-color: #87774F;
}

.hamburger {
    float: right;
    vertical-align: middle;
    color: #87774F;
    padding: 8px 0;

    -webkit-transform: translateY(-80px);
        transform: translateY(-80px);
    -webkit-transition: all 400ms linear;
        transition: all 400ms linear;
}

.hamburger.triggered {
    -webkit-transform: translateY(0);
        transform: translateY(0);
}

.hamburger:focus,
.hamburger:active {
    outline: 0;
}

.hamburger-inner,
.hamburger-inner:before,
.hamburger-inner:after {
    width: 30px;
    height: 2px;
    background-color: #87774F;
}

.hamburger.is-active {
    color: #87774F;
}

.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner:before,
.hamburger.is-active .hamburger-inner:after {
    background-color: #87774F;
}

.hamburger-box {
    vertical-align: bottom;
    padding-left: 5px;
}

/* ==========================================================================
   Nav
   ========================================================================== */

.navigation {
    position: fixed;
    top: -100%;
    right: 0;
    bottom: 100%;
    left: 0;
    visibility: hidden;
    z-index: 998;
    background-color: rgba(0,0,0,0.95);
    opacity: 0;
    padding: 1.3750em 0;
    overflow-y: scroll;

    -webkit-transition: all 400ms ease-in;

    transition: all 400ms ease-in;
}

.navigation.is-active {
    top: 0;
    bottom: 0;
    visibility: visible;
    opacity: 1;

    -webkit-overflow-scrolling: touch;
}

.navigation-links {
    padding: 120px 0;
    list-style: none;
    text-align: center;
}

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

.navigation-links a {
    display: block;
    font-size: 39px;
    margin-bottom: 15px;

    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
}


/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
    position: relative;
    height: 100vh;
}

.hero-bd {
    position: absolute;
    top: 40%;
    margin-bottom: 0;
    line-height: 1;

    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}

.hero-bd span {
    color: #ffffff;
    background: rgba(0,0,0,0.9);
    padding: 10px;
    font-size: 21px;
    margin-bottom: 4px;
    display: inline-block;
}

.hero-bd .gold {
    color: #87774F;
    font-weight: 700;
}

.hero-bd .gold_small {
    font-size: 17px;
}

@media only screen and (min-width: 600px) {
    .hero-bd {
        top: 50%;
    }

    .hero-bd span {
        padding: 20px;
        font-size: 39px;
    }

    .hero-bd .gold_small {
        font-size: 27px;
    }
}



/* ==========================================================================
   Page Styles
   ========================================================================== */

.page-wrapper {
  background: #ffffff;
}

.pageImg {
  width: 100%;
  height: 350px;

  border-bottom: 3px solid #87774F;

  background-color: #000000;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 50%;
}

.pageTitle {
  position: absolute;
  left: 0;
  bottom: 7%;

  color: #ffffff;
  background: rgba(0,0,0,0.9);

  border-left: 3px solid #87774F;

  padding: 10px 20px;
  font-size: 27px;
  display: inline-block;
}

@media only screen and (min-width: 600px) {
    .pageTitle {
      left: 30px;
      font-size: 33px;
    }
}

.pageCrumbs {
  padding: 30px 0;
  line-height: 1;
  font-size: 13px;
}

.date {
    padding-left: 15px;
    border-left: 3px solid #87774F;
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 10px;
    display: block;
}

.category .wp-post-image,
.archive .wp-post-image,
.page-template-template-art .wp-post-image {
    float: left;
    margin-right: 30px;
    padding: 5px;
    border: 1px solid #eaeaea;
}

.push {
    padding-bottom: 30px;
}

/* fluid 5 columns */
.grid-sizer,
.grid-item { width: 25%; }
/* 2 columns */
.grid-item_wide { width: 50%; }

.grid-item > img {
    max-width: 100%;
    height: auto;
}


/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    padding: 60px 0;
    color: #ffffff;
    background-color: #000000;
    border-top: 3px solid #87774F;
}

.footer .social a {
    margin-right: 15px;
}

.col {
    padding-bottom: 30px;
}

@media only screen and (min-width: 600px) {
    .col {
        float: left;
        width: 30%;
    }

    .col + .col {
        margin-left: 3.333%
    }
}

.footerLogos > img {
    width: 120px;
    height: auto;
    margin: 15px;
}


/* ==========================================================================
   Permanent Collection
   ========================================================================== */

.grid-item > img {
    cursor: pointer;
    -webkit-transition: all 400ms linear;
    transition: all 400ms linear;
}

.grid-item > img:hover {
    opacity: 0.5;
}

.detailsModal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(0,0,0,0.95);
    padding: 0;
    overflow: hidden;

    -webkit-overflow-scrolling: touch;
}

.detailsModal-bd {
    top: 10%;
    right: 5%;
    bottom: 10%;
    left: 5%;
    position: absolute;
    padding: 30px;
    border-top: 3px solid #87774F;
    background-color: #000000;
    color: #ffffff;
}

.detailsModal-bd-bd {
    max-height: 80%;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
}

@media only screen and (min-width: 600px) {
    .detailsModal-bd {
        top: 50%;
        right: auto;
        bottom: auto;
        left: 50%;

        transform: translate(-50%,-50%);
        -webkit-transform: translate(-50%,-50%);
    }

    .detailsModal-bd-bd {
        max-height: 200px;
    }
}

.detailsModal-bd-hd {
    font-size: 110%;
    font-weight: bold;
    padding-bottom: 15px;
}

.detailsModal-close {
    position: absolute;
    top: -45px;
    right: 0;
    font-size: 200%;
    cursor: pointer;
}


/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-block;
    font-size: 1em;
    line-height: 1.3750em;
    padding: 1.3750em 2.75em;
    font-weight: 500;
    background-color: #87774F;
    color: #ffffff;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 30px;
    text-align: center;
    border: 0;

    -webkit-transition: all 400ms linear;

    transition: all 400ms linear;
}

.btn:hover {
    opacity: 0.5;
}

@media only screen and (min-width: 660px) {
    .blocks {
        font-size: 0;
    }

    .blocks > * {
        display: inline-block;
        width: 48%;
        font-size: initial;
    }

    .blocks > * + * {
        margin-left: 4%;
    }
}


/* ==========================================================================
   Forms
   ========================================================================== */

form input[type="text"],
form input[type="email"],
textarea {
    display: block;
    width: 100%;
    padding: 15px 0;
    border: 0;
    border-bottom: 1px dotted #222222;
    margin: 5px 0 15px;
    border-radius: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form textarea:focus {
    outline: 0;
    border-bottom-style: solid;
}

form td {
    padding-bottom: 15px;
}


/* ==========================================================================
   Calendar
   ========================================================================== */

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

.calendar > li {
    display: block;
    padding: 15px;
    border-bottom: 1px solid #ccc;
    overflow: hidden;
}

.calendar > li:nth-child(even) {
    background: #fafafa;
    border-bottom: 1px solid #ccc;
}

.calendar-event-date {
    float: left;
    background-color: #87774F;
    color: #ffffff;
    padding: 10px;
    line-height: 1;
    margin-right: 30px;
}

.calendar-event-date-month {
    padding-right: 5px;
}

.calendar-event-bd {
    overflow: hidden;
}

.calendar-event-bd > span {
    display: block;
}

.calendar-event-bd-hd {
    font-style: italic;
}

.calendar-event-bd-bd > span {
    display: block;
}


/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 480px) {
}

@media only screen and (min-width: 660px) {
}

@media only screen and (min-width: 840px) {
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.desktopOnly {
    display: none;
}

@media only screen and (min-width: 600px) {
    .desktopOnly {
        display: block;
    }
}

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


/* ==========================================================================
   Loader
   ========================================================================== */

.loading,
.loading:before,
.loading:after {
  background: #87774F;
  -webkit-animation: load1 1s infinite ease-in-out;
  animation: load1 1s infinite ease-in-out;
  width: 1em;
  height: 4em;
}

.loading:before,
.loading:after {
  position: absolute;
  top: 0;
  content: '';
}

.loading:before {
  left: -1.5em;
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.loading {
  color: #87774F;
  margin: 88px auto;
  position: fixed;
  font-size: 11px;
  top: 50%;
  left: 50%;
  margin-top: -20px;
  margin-left: -6px;

  text-indent: -9999px;

  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

.loading:after {
  left: 1.5em;
}

@-webkit-keyframes load1 {
  0%,
  80%,
  100% {
    box-shadow: 0 0;
    height: 4em;
  }
  40% {
    box-shadow: 0 -2em;
    height: 5em;
  }
}

@keyframes load1 {
  0%,
  80%,
  100% {
    box-shadow: 0 0;
    height: 4em;
  }
  40% {
    box-shadow: 0 -2em;
    height: 5em;
  }
}


/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        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) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]: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;
    }

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

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