html {
    background-color: #000
}

body {
    background: url(../img/background.png) fixed top no-repeat
}

#loading {
    position: fixed;
    left: 0px;
    top: 0px;
    background: #000 url(../img/spinner.svg) no-repeat center;
    padding: 0.3em;
    font-weight: bold;
    width: 100%;
    height: 100%;
    text-align: center;
    z-index: 9999
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Teko", Arial, serif
}

a,
a:focus {
    color: #287CC7;
    text-decoration: none;
    text-shadow: 1px 1px 1px #999;
}

a:hover {
    text-decoration: none;
    color: #DB3D3E;
}

.nav a {
    color: #fff
}

.nav a:hover {
    color: #99b
}

.no-touch .nav a {
    -moz-transition: all, linear, .5s;
    -o-transition: all, linear, .5s;
    -webkit-transition: all, linear, .5s;
    transition: all, linear, .5s
}

.nav>li {
    display: inline-block !important;
    border-top: inherit !important;
    padding-top: 12px
}

a.navbar-brand {
    font-family: "Press Start 2P", cursive;
    font-size: 1em;
    color: #fff
}

.navbar-nav>li>a:hover {
    background: #99b
}

.navbar-toggle .icon-bar {
    background: #fff
}

/*.navbar-toggle .icon-bar:last-of-type::after{color:#fff;font-weight:500;content:'menu';text-transform:uppercase;position:absolute;top:28px;right:2px}*/
.navbar-collapse {
    -webkit-box-shadow: none !important;
    box-shadow: none !important
}

.navbar-brand {
    padding: 28px 15px !important
}

#main-menu {
    font-family: "Teko", Arial, serif;
    font-size: 2em;
    background: transparent
}

#main-menu>li>a:hover {
    background: none;
    color: #99b
}

#main-menu>li.active a {
    background: none;
    color: #DB3E3E;
    text-shadow: 2px 2px 4px #000
}

p.logo-title {
    font-family: "Press Start 2P", cursive;
    font-size: 0.6em;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.5px
}

#intro {
    margin: 2em 0
}

/* .profile-img {
   -moz-border-radius: 10%;
    -webkit-border-radius: 10%;
    border-radius: 10%
} */

button#dropdownMenu1,
button#dropdownMenu2 {
    color: #fff;
    background: #bbc;
    font-size: 1.2rem;
    text-transform: capitalize;
    border-bottom: 4px #99b solid;
    border-radius: 0;
    margin: 6px 0
}

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

ul.aboutme li span.title {
    display: inline-block;
    padding: 0.2em 0.2em;
    font-weight: bold;
    color: #DB3E3E;
    margin-right: 0.3em
}

ul.aboutme li span.title i.fa {
    width: 16px;
    text-align: center
}

ul.aboutme li.highlight span.title:hover {
    color: inherit
}

ul.aboutme li span.value {
    font-style: italic
}

#main .container {
    background: url(../img/cardboard-paper.png);
}

#main .container #projectdetail {
    padding: 2em 0
}

a.caption-link.docs-creator {
    display: inline
}

p.disclaimer {
    background-color: #004A90;
    width: 100%;
    font-size: smaller;
    font-style: italic;
    color: #DFDFDF;
    text-align: center;
    padding: 0.5rem 1rem
}

p.description {
    font-size: small;
    background: lightsteelblue;
    width: 100%;
    padding: 0.5rem 1rem
}

span.title {
    font-size: small
}

.project-lists {
    overflow: hidden
}

.project-lists h2 {
    margin-top: 0
}

.each-project {
    text-align: center;
    margin: 1em 0;
    float: left;
    display: inline
}

.each-project a {
    position: relative;
    display: block;
    overflow: hidden
}

.each-project .project-thumb {
    min-height: 180px
}

.each-project .mask {
    display: none
}

.no-touch .each-project .mask {
    display: block;
    position: absolute;
    left: 100%;
    top: 0;
    background: rgba(0, 74, 144, 0.85);
    width: 100%;
    height: 100%;
    text-align: center;
    -moz-transition: left, .3s;
    -o-transition: left, .3s;
    -webkit-transition: left, .3s;
    transition: left, .3s
}

.each-project .mask .tc {
    width: 100%;
    height: 100%;
    display: table
}

.each-project .mask .tc .info {
    display: table-cell;
    vertical-align: middle;
    text-align: center
}

.each-project .mask .tc .info .title {
    padding: 0.25em;
    vertical-align: middle;
    text-align: center;
    color: #fff;
    font-size: 1.5em;
    line-height: 1.2em;
    margin: 0
}

.each-project:hover .mask {
    left: 0
}

.masonry-brick {
    display: none
}

.masonry-brick.loaded {
    display: block
}

#filtergroup {
    text-align: center;
    margin-top: 2em
}

#filtergroup b {
    font-size: 1.3em;
    font-family: "Teko", Arial, serif;
    position: relative;
    top: 2px
}

#filtergroup .buttongroup {
    display: inline-block;
    margin: 12px 5px
}

#filtergroup label {
    cursor: pointer;
    margin-bottom: 1em;
    display: inline-block;
    line-height: 1.5em
}

#filtergroup label input[type="checkbox"] {
    position: absolute;
    top: -999px
}

#filtergroup label input[type="checkbox"]:checked+span.title {
    background: rgba(0, 74, 144, 0.85);
    color: #fff
}

#filtergroup label span.title {
    background: #99b;
    padding: 0.4em 0.8em;
    color: #fff;
    font-size: small
}

#filtergroup label span.title:hover {
    background: #004A90
}

#projectslider .project-img {
    min-height: 300px
}

#project-navigation {
    padding-top: 1em;
    float: right
}

#project-navigation .nav>li {
    display: inline-block;
    float: none !important
}

#project-navigation .nav a {
    color: #DB3E3E
}

#project-navigation .nav a:hover {
    background: #DB3E3E;
    color: #fff
}

.no-touch #project-navigation .nav a {
    -moz-transition: all, linear, .5s;
    -o-transition: all, linear, .5s;
    -webkit-transition: all, linear, .5s;
    transition: all, linear, .5s
}

.skills button {
    margin-right: 0.5em;
    margin-bottom: 0.5em;
    color: #fff;
    background: rgba(0, 74, 144, 0.65);
    border: 0 none;
    cursor: default
}

.skills button:hover {
    color: #fff;
    background: #004A90
}

.morecontent span {
    display: none
}

.morelink {
    display: block
}

#footer {
    margin: 2em 0;
    color: #fff
}

#footer #copyright {
    display: table-cell
}

#footer #copyright p {
    margin: 12px 0 0 0
}

#footer #footer-menu a {
    margin-left: 0.5em
}

#contact-intro,
#contact-methods {
    margin: 2em 0
}

#contact-methods .box {
    text-align: center;
    font-family: "Teko", Arial, serif;
    font-size: 1.5em;
    background-color: #F4F4F4;
    -moz-box-shadow: 0 4px 0px #bbc, 0 0 20px #DFDFDF inset;
    -webkit-box-shadow: 0 4px 0px #bbc, 0 0 20px #DFDFDF inset;
    box-shadow: 0 4px 0px #bbc, 0 0 20px #DFDFDF inset;
    padding: 10px;
    position: relative
}

#contact-methods .box:hover {
    background-color: #DB3E3E;
    color: #fff;
    -moz-box-shadow: 0 4px #99b;
    -webkit-box-shadow: 0 4px #99b;
    box-shadow: 0 4px #99b;
    -moz-transition: all, linear, .5s;
    -o-transition: all, linear, .5s;
    -webkit-transition: all, linear, .5s;
    transition: all, linear, .5s
}

#contact-methods .box:hover a {
    color: #fff
}

#map_canvas {
    width: 100%;
    height: 250px;
    border: 5px solid #999;
    margin-bottom: 20px
}

.spinner {
    display: block;
    background: url(../img/spinner.svg) no-repeat center;
    width: 100%;
    height: 100%;
    z-index: 9999
}

.page.ng-enter,
.page.ng-leave {
    -moz-transition: all, ease, .5s;
    -o-transition: all, ease, .5s;
    -webkit-transition: all, ease, .5s;
    transition: all, ease, .5s
}

.page.ng-enter {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 20px
}

.page.ng-enter-active {
    opacity: 1;
    left: 0
}

.page.ng-leave {
    left: 0;
    opacity: 1;
    position: absolute;
    top: 0
}

.page.ng-leave-active {
    opacity: 0;
    left: -20px
}

.skills-bar {
    list-style: none;
    padding-left: 0;
    margin-left: 0
}

.skills-bar li {
    margin-bottom: 10px;
    position: relative;
    background: #bbc
}

.skills-bar span.title {
    display: block;
    background: #DB3E3E;
    color: #fff;
    padding: 0.2em 0.5em;
    width: 45%;
}

.skills-bar span.value {
    position: absolute;
    right: 5px;
    top: 4px;
    color: #fff;
}

.open>.dropdown-menu {
    margin-left: 15px;
}

.dropdown-menu {
    top: inherit !important;
}

@media (min-width: 769px) {
    body {
        padding-top: 22px
    }

    .container {
        max-width: 850px
    }

    .profile-img {
        margin: 20px auto
    }
}

@media (max-width: 425px) {
    .profile-img {
        width: 50%;
    }

    .about-me {
        margin-top: 15px;
    }

    img.img-responsive.profile-img {
        margin-bottom: 30px !important;
    }

    code.title {
        display: visible
    }

    button.navbar-toggle {
        margin-top: 21px;
    }

    .nav>li>a {
        padding: 8px 31px;
        ;
    }
}