/*-------global-------*/
body {
    font-family: 'Lato', arial, sans-serif;
    font-style: normal;
    font-weight: 100;
    min-width: 320px;
}

a {
    color: #404E4D;
    font-weight: 300;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h2 {
    font-weight: 300;
}

#fullPage {
    min-width: 320px;
    width: 100%;
}

.max-full {
    color: #FFF;
    font-size: 2em;
    margin: 0 auto;
    max-width: 1120px;
    text-align: center;
}

/*-------navigation-------*/
#menu {
    background: rgba(255, 255, 255, 0.8);
    display: inline-table;
    height: 40px;
    left: 0;
    margin: 0;
    padding: 0;
    position: fixed;
    text-align: center;
    top: 0;
    transition: top 0.4s ease-in-out;
    width: 100%;
    z-index: 70;
}

#menu li {
    display: inline-block;
    margin: 15px;
}

#menu li a {
    color: #3780C8;
    text-decoration: none;
    -webkit-transition: color 0.3s;
    -moz-transition: color 0.3s;
    transition: color 0.3s;
    position: relative;
    margin: 15px 25px;
    outline: none;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 1px rgba(255,255,255,0.3);
    font-size: 1.35em;
}

#menu li a:hover::before, #menu li a:focus::before, #menu li.active a::before {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
}

#menu li a:hover::before, #menu li a:hover::after, #menu li a:focus::before, #menu li a:focus::after, #menu li.active a::before, #menu li.active a::after {
    opacity: 0.7;
}

#menu li a::before {
    -webkit-transform: translateY(-20px);
    -moz-transform: translateY(-20px);
    transform: translateY(-20px);
}

#menu li a::before, #menu li a::after {
    position: absolute;
    width: 100%;
    left: 0;
    top: 50%;
    height: 2px;
    margin-top: -1px;
    background: #5CBB64;
    content: '';
    z-index: -1;
    -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
    -moz-transition: -moz-transform 0.3s, opacity 0.3s;
    transition: transform 0.3s, opacity 0.3s;
    pointer-events: none;
}

#menu li a:hover::after, #menu li a:focus::after, #menu li.active a::after {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

#menu li a:hover::before, #menu li a:hover::after, #menu li a:focus::before, #menu li a:focus::after, #menu li.active a::before, #menu li.active a::after {
    opacity: 0.7;
}

#menu li a::after {
    -webkit-transform: translateY(20px);
    -moz-transform: translateY(20px);
    transform: translateY(20px);
}

#menu li a::before, #menu li a::after {
    position: absolute;
    width: 100%;
    left: 0;
    top: 50%;
    height: 2px;
    margin-top: -1px;
    background: #b4770d;
    content: '';
    z-index: -1;
    -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
    -moz-transition: -moz-transform 0.3s, opacity 0.3s;
    transition: transform 0.3s, opacity 0.3s;
    pointer-events: none;
}

#menu li a::after, #menu li a::before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#menu li a {
    display: block;
}

#menu li.active a {
    color: #4E6172;
    font-weight: 600;
}

#menu.nav-up {
    top: -90px;
}

/*-------sections-------*/

#about h2 {
    color: #84A9C0;
}

#about .fp-tableCell {
    background: #FFF;
}

#about .max-full {
    max-width: 1280px;
    padding-bottom: 100px;
}

.amcharts-chart-div a {
    display: none !important;
}

.ammapObjectList a {
    cursor: pointer;
}

.fourth .ammapObjectList a:hover {
    color: #439775;
}

.amcharts-object-list-ul li a {
    display: inline-block;
    float: left;
    padding: 10px 25px;
}

#education {
    background: #E3EAE9;
}

.heavy {
    font-weight: 300;
}

.home-image {
    width: 100%;
}

.home-image:hover {
    content: url(../css/images/home_hover.jpg) no-repeat;
}

.left {
    background: url(../css/images/home.jpg) no-repeat;
    background-size: contain;
    display: inline-block;
    height: 260px;
    margin: 0 auto;
    max-width: 400px;
    padding: 20px;
    width: 100%;
}

.left:hover {
    background: url(../css/images/home_hover.jpg) no-repeat;
    background-size: contain;
    display: inline-block;
    height: 260px;
    margin: 0 auto;
    max-width: 400px;
    padding: 20px;
    width: 100%;
}

#landing {
    background: #CACCD0;
}

#listdiv {
    float: none !important;
    height: auto !important;
    width: 100% !important;
}

.made {
    bottom: 30px;
    font-size: 1.3em;
    position: absolute;
    right: 20px;
}

#mapdiv {
    margin: 0 0 60px 0 !important;
}

.max-full .tile {
    color: #FFF;
}

#personal {
    background: #84A9C0;
}

.right {
    display: inline-block;
    float: right;
    padding: 0 10px;
    width: 35%;
}

.second.max-full {
    color: #626262;
}

.second img {
    width: 100%;
}

.section .ammapObjectList ul {
    font-size: 18px;
    list-style: none;
    padding: 0;
}

.slide-content {
    margin: 0 auto;
    width: 80%;
}

.tile {
    display: inline-block;
    padding: 15px;
    width: 20%;
}

.tile img {
    opacity: 0.3;
    width: 100%;
}

.tile::before {
    background: rgba(0,0,0,0.4);
    content: "";
    display: block;
    font-weight: 300;
    opacity: 0;
    padding: 5px 0;
    position: relative;
    top: 30px;
    transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
}

.tile:hover img {
    margin-top: -38px;
    opacity: 1;
}

.tile:hover::before {
    opacity: 1;
}

.tile.basketball:hover::before {
    content: "basketball";
}

.tile.coffee:hover::before {
    content: "coffee";
}

.tile.hiking:hover::before {
    content: "hiking";
}

.tile.jesus:hover::before {
    content: "jesus";
}

.tile.traveling:hover::before {
    content: "traveling";
}

.tile.donuts:hover::before {
    content: "donuts";
}

.tile.whiskey:hover::before {
    content: "whiskey";
}

.tile.wife:hover::before {
    content: "wife";
}

.tile .hover-text {
    display: none;
}

#work {
    background: #439775;
}
/*-------footer-------*/
.social-info {
    background: rgba(226, 226, 226, 0.7);
    bottom: 0;
    margin: 0 auto;
    padding: 1em 0;
    position: fixed;
    transition: bottom 0.4s ease-in-out;
    width: 100%;
}

.social-info.nav-up {
    bottom: -110px;
}

.social-info .facebook {
    background-image: url(../css/images/facebook.png);
}

.social-info .facebook:hover {
    background-image: url(../css/images/facebook-hover.png);
}

.social-info .footer-image {
    background-size: 100%;
    display: inline-block;
    height: 50px;
    margin: 0 1em;
    width: 50px;
}

.social-info .github {
    background-image: url(../css/images/github.png);
}

.social-info .github:hover {
    background-image: url(../css/images/github-hover.png);
}

.social-info .instagram {
    background-image: url(../css/images/instagram.png);
}

.social-info .instagram:hover {
    background-image: url(../css/images/instagram-hover.png);
}

.social-info .linkedin {
    background-image: url(../css/images/linkedin.png);
    height: 44px;
}

.social-info .linkedin:hover {
    background-image: url(../css/images/linkedin-hover.png);
}

/**
 * fullPage 2.4.6
 * https://github.com/alvarotrigo/fullPage.js
 * MIT licensed
 *
 * Copyright (C) 2013 alvarotrigo.com - A project by Alvaro Trigo
 */
html, body {
    margin: 0;
    padding: 0;
    overflow:hidden;

    /*Avoid flicker on slides transitions for mobile phones #336 */
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}
#superContainer {
    height: 100%;
    position: relative;

    /* Touch detection for Windows 8 */
    -ms-touch-action: none;

    /* IE 11 on Windows Phone 8.1*/
    touch-action: none;
}
.fp-section {
    position: relative;
    -webkit-box-sizing: border-box; /* Safari<=5 Android<=3 */
    -moz-box-sizing: border-box; /* <=28 */
    box-sizing: border-box;
}
.fp-slide {
    float: left;
}
.fp-slide, .fp-slidesContainer {
    height: 100%;
    display: block;
}
.fp-slides {
    z-index:1;
    height: 100%;
    overflow: hidden;
    position: relative;
    -webkit-transition: all 0.3s ease-out; /* Safari<=6 Android<=4.3 */
    transition: all 0.3s ease-out;
}
.fp-section.fp-table, .fp-slide.fp-table {
    display: table;
    table-layout:fixed;
    width: 100%;
}
.fp-tableCell {
    display: table-cell;
    vertical-align: middle;
    width: 100%;
    height: 100%;
}
.fp-slidesContainer {
    float: left;
    position: relative;
}
.fp-controlArrow {
    position: absolute;
    z-index: 4;
    top: 50%;
    cursor: pointer;
    width: 0;
    height: 0;
    border-style: solid;
    margin-top: -38px;
}
.fp-controlArrow.fp-prev {
    left: 15px;
    width: 0;
    border-width: 38.5px 34px 38.5px 0;
    border-color: transparent #fff transparent transparent;
}
.fp-controlArrow.fp-next {
    right: 15px;
    border-width: 38.5px 0 38.5px 34px;
    border-color: transparent transparent transparent #fff;
}
.fp-scrollable {
    overflow: scroll;

}
.fp-notransition {
    -webkit-transition: none !important;
    transition: none !important;
}
#fp-nav {
    position: fixed;
    z-index: 100;
    margin-top: -32px;
    top: 50%;
    opacity: 1;
}
#fp-nav.right {
    right: 17px;
}
#fp-nav.left {
    left: 17px;
}
.fp-slidesNav{
    position: absolute;
    z-index: 4;
    left: 50%;
    opacity: 1;
}
.fp-slidesNav.bottom {
    bottom: 17px;
}
.fp-slidesNav.top {
    top: 17px;
}
#fp-nav ul,
.fp-slidesNav ul {
  margin: 0;
  padding: 0;
}
#fp-nav ul li,
.fp-slidesNav ul li {
    display: block;
    width: 14px;
    height: 13px;
    margin: 7px;
    position:relative;
}
.fp-slidesNav ul li {
    display: inline-block;
}
#fp-nav ul li a,
.fp-slidesNav ul li a {
    display: block;
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    cursor: pointer;
    text-decoration: none;
}
#fp-nav ul li a.active span,
.fp-slidesNav ul li a.active span {
    background: #333;
}
#fp-nav ul li a span,
.fp-slidesNav ul li a span {
    top: 2px;
    left: 2px;
    width: 8px;
    height: 8px;
    border: 1px solid #000;
    background: rgba(0, 0, 0, 0);
    border-radius: 50%;
    position: absolute;
    z-index: 1;
}
#fp-nav ul li .fp-tooltip {
    position: absolute;
    top: -2px;
    color: #fff;
    font-size: 14px;
    font-family: arial, helvetica, sans-serif;
    white-space: nowrap;
    max-width: 220px;
    overflow: hidden;
    display: block;
    opacity: 0;
    width: 0;
}
#fp-nav ul li:hover .fp-tooltip {
    -webkit-transition: opacity 0.2s ease-in;
    transition: opacity 0.2s ease-in;
    width: auto;
    opacity: 1;
}
#fp-nav ul li .fp-tooltip.right {
    right: 20px;
}
#fp-nav ul li .fp-tooltip.left {
    left: 20px;
}

@media all and (max-width: 690px) {
    .tile {
        min-width: 280px;
    }
}

@media all and (max-width: 630px) {
    body {
        font-weight: 300;
    }

    .heavy {
        font-weight: 400;
    }

    #menu li {
        margin: 10px 0;
    }

    #menu li a {
        font-size: 1em;
        margin: 0;
        padding: 20px;
    }

    #menu li.active a::after {
        position: absolute;
        width: 100%;
        left: 0;
        top: 50%;
        height: 2px;
        margin-top: -1px;
        background: #B4770D;
        content: '';
        z-index: -1;
        -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
        -moz-transition: -moz-transform 0.3s, opacity 0.3s;
        transition: transform 0.3s, opacity 0.3s;
        pointer-events: none;
        -webkit-transform: translateY(20px);
        -moz-transform: translateY(20px);
        transform: translateY(20px);
    }

    #menu li a::before, #menu li a::after {
        display: none;
    }

    .fp-controlArrow.fp-next, .fp-controlArrow.fp-prev {
        display: none;
    }

    .fp-slidesNav.bottom {
        bottom: 75px;
    }

    .left {
        display: block;
        margin: 0 auto;
        width: 70%;
    }

    .made {
        bottom: 0;
        position: relative;
        right: 0;
        top: 5px;
    }

    .right {
        display: block;
        margin: 0 auto;
        width: 70%;
    }

    .social-info {
        text-align: center;
    }

    .tile {
        padding: 5px;
        min-width: 190px;
    }
}
@media all and (max-width: 420px) {
    #listdiv {
        padding: 0;
        width: 100% !important;
    }

    #menu li a {
        padding: 15px 7px;
    }

    .fourth h2, .third h2 {
        font-size: 1em !important;
    }

    .max-full {
        font-size: 1.5em;
        padding: 0 10px;
    }

    .tile {
        padding: 5px;
        min-width: 135px;
    }
}