/**
 * Header Banner
 */
.header-banner.jumbotron {
    margin-top:-120px;
    height:400px;
}
.header-banner.jumbotron .projects-filter {
    display: block;
    position: relative;
    float: right;
    top: 20px;
}

.header-banner .btn-all,
.header-banner .btn-web,
.header-banner .btn-mobile,
.header-banner .btn-hardware {
    display: block;
    position: relative;
    width:50px;
    height:50px;
    border-radius:50px;
    border-color:#eaeaea;
}
.header-banner .btn-all span,
.header-banner .btn-web span,
.header-banner .btn-mobile span,
.header-banner .btn-hardware span {
    display: block;
    position: relative;
    color: #999999;
}
.header-banner .btn-all span {
    right: 1px;
    top: 2px;
}
.header-banner .btn-web span {
    right: 2px;
    top: 4px;
}
.header-banner .btn-mobile span {
    top: 4px;
}
.header-banner .btn-hardware span {
    top: 3px;
    right: 2px;
}

.header-banner .btn-all:hover,
.header-banner .btn-web:hover,
.header-banner .btn-mobile:hover,
.header-banner .btn-hardware:hover {
    top:-15px;
    width:100px;
    height:100px;
    border-radius:100px;
    border-color:#fafafa;

    animation-name: bounceHorizontally;
    animation-duration: .75s;
    animation-fill-mode: forwards;

    -webkit-animation-name: bounceHorizontally;
    -webkit-animation-duration: .75s;
    -webkit-animation-fill-mode: forwards;

    -ms-animation-name: bounceHorizontally;
    -ms-animation-duration: .75s;
    -ms-animation-fill-mode: forwards;

    -moz-animation-name: bounceHorizontally;
    -moz-animation-duration: .75s;
    -moz-animation-fill-mode: forwards;

    -webkit-backface-visibility: visible!important;
}
.header-banner .btn-all:hover span,
.header-banner .btn-web:hover span,
.header-banner .btn-mobile:hover span,
.header-banner .btn-hardware:hover span {
    font-size: 40px;
    color: #222222;
}
.header-banner .btn-all:hover span {
    top: 20px;
    right: 1px;
}
.header-banner .btn-web:hover span {
    top: 20px;
    right: 1px;
}
.header-banner .btn-mobile:hover span {
    top: 20px;
    right: 0px;
}
.header-banner .btn-hardware:hover span {
    top: 20px;
    right: 0px;
}

.header-banner .btn-all.selected,
.header-banner .btn-web.selected,
.header-banner .btn-mobile.selected,
.header-banner .btn-hardware.selected {
    top: -25px;
    width:110px;
    height:110px;
    border-radius:110px;
    background-color:#333333;
    border-color: #111111;

    animation-name: flipHorizontally;
    animation-duration: .75s;
    animation-fill-mode: forwards;

    -webkit-animation-name: flipHorizontally;
    -webkit-animation-duration: .75s;
    -webkit-animation-fill-mode: forwards;

    -ms-animation-name: flipHorizontally;
    -ms-animation-duration: .75s;
    -ms-animation-fill-mode: forwards;

    -moz-animation-name: flipHorizontally;
    -moz-animation-duration: .75s;
    -moz-animation-fill-mode: forwards;
    -webkit-backface-visibility: visible!important;

    backface-visibility: visible!important
}
.header-banner .btn-all.selected span,
.header-banner .btn-web.selected span,
.header-banner .btn-mobile.selected span,
.header-banner .btn-hardware.selected span {
    font-size: 47px;
    color:#ffffff;
}
.header-banner .btn-all.selected span {
    top: 20px;
    right: 0px;   
}
.header-banner .btn-web.selected span {
    top: 20px;
    right: 1px;
}
.header-banner .btn-mobile.selected span {
    top: 20px;
    right: 0px;
}
.header-banner .btn-hardware.selected span {
    top: 20px;
    right: 0px;
}

@media(max-width: 767px) {
    .header-banner.jumbotron .projects-filter {
        top: 45px;
    }

    .header-banner .btn-all.selected,
    .header-banner .btn-web.selected,
    .header-banner .btn-mobile.selected,
    .header-banner .btn-hardware.selected {
        top: -15px;
        width:75px;
        height:75px;
        border-radius:75px;
        background-color:#333333;
        border-color: #111111;

        animation-name: flipHorizontallyMobile;
        animation-duration: .75s;
        animation-fill-mode: forwards;

        -webkit-animation-name: flipHorizontallyMobile;
        -webkit-animation-duration: .75s;
        -webkit-animation-fill-mode: forwards;

        -ms-animation-name: flipHorizontallyMobile;
        -ms-animation-duration: .75s;
        -ms-animation-fill-mode: forwards;

        -moz-animation-name: flipHorizontallyMobile;
        -moz-animation-duration: .75s;
        -moz-animation-fill-mode: forwards;
        -webkit-backface-visibility: visible!important;

        backface-visibility: visible!important
    }
    .header-banner .btn-all.selected span,
    .header-banner .btn-web.selected span,
    .header-banner .btn-mobile.selected span,
    .header-banner .btn-hardware.selected span {
        font-size: 37px;
        color:#ffffff;
    }
    .header-banner .btn-all.selected span {
        top: 11px;
        right: 0px;   
    }
    .header-banner .btn-web.selected span {
        top: 11px;
        right: 1px;
    }
    .header-banner .btn-mobile.selected span {
        top: 11px;
        right: 0px;
    }
    .header-banner .btn-hardware.selected span {
        top: 11px;
        right: 0px;
    }
}

/**
 * Projects
 */
.projects .type-title {
    display: block;
    position: relative;
    top: 13px;
    margin-bottom: 40px;
}
.projects .type-title h3 {
    font-weight: 600;
}
.projects h3 span {
    display: inline-block;
    position: relative;
    top: 5px;
    margin-right: 25px;
    margin-bottom: 30px;
    font-size: 35px;
}

.proj-type-mobile.show,
.proj-type-web.show,
.proj-type-hardware.show {
    display: block;
    position: relative;
    left: 0px;
    top: 0px;
    overflow-y: auto;
    margin-bottom: 30px;
    padding: 25px;
    background-color: #ffffff;
    border: 1px solid #999999;
    border-radius: 5px;

    animation-name: appearFromRight;
    animation-duration: .75s;
    animation-fill-mode: forwards;

    -webkit-animation-name: appearFromRight;
    -webkit-animation-duration: .75s;
    -webkit-animation-fill-mode: forwards;

    -ms-animation-name: appearFromRight;
    -ms-animation-duration: .75s;
    -ms-animation-fill-mode: forwards;

    -moz-animation-name: appearFromRight;
    -moz-animation-duration: .75s;
    -moz-animation-fill-mode: forwards;
    -webkit-backface-visibility: visible!important;

    backface-visibility: visible!important
}
.proj-title,
.proj-idea,
.proj-link,
.proj-role
.proj-about {
    display: block;
    position: relative;
    left: 0px;
    top: 0px;
}
.proj-title {
    font-weight: 600;
    font-size: 1.3em;
    color:#333333;
}
.proj-idea,
.proj-role {
    font-weight: 400;
    font-size: 1em;
    color: #333333;
}
.proj-link {
    overflow-x: hidden;
    font-weight: 500;
    font-size: 1em;
    color:#258ce4;
}
.proj-about {
    height: auto;
    overflow-y: auto;
    margin-top: 10px;
    margin-bottom: 15px;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-right: 10px;
    font-weight: 400;
    font-size: 1em;
    color: #333333;
    background-color: #ffffff;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
}
.proj-idea span,
.proj-role span,
.proj-about span {
    display: inline-block;
    position: relative;
    width: 10%;
    height: 100%;
    min-width: 90px;
    font-weight: 500;
    font-size: 1.1em;
    color: #111111;
}
.proj-idea p,
.proj-role p {
    display: inline-block;
    position: relative;
    width: 70%;
}
.proj-images {
    display: block;
    left: 0px;
    top: 0px;
    width: 280px;
    height: auto;
    margin: auto;
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #333333;
    border-radius: 0px;
}
.proj-images img {
    display: block;
    position: relative;
    left: 0px;
    top: 0px;
    width: 100%;
    height: auto;
    margin-bottom:5px;
    cursor: pointer;
}
.proj-year {
    display: block;
    position: relative;
    top: -20px;
    left: 12px;
    width: 40px;
    height: 40px;
    padding-top: 14px;
    padding-left: 7px;
    font-size: 0.8em;
    font-weight: 400;
    background-color: #333333;
    border: 1px solid #111111;
    border-radius: 10%;
    color: #ffffff;
}
.proj-year-connector {
    display: block;
    position: relative;
    left: 42px;
    top: -34px;
    width: 10px;
    height: 0px;
    margin-bottom: -60px;
    z-index: -1;

    background: -moz-linear-gradient(top, rgba(19,19,19,1) 0%, rgba(28,28,28,0.82) 30%, rgba(43,43,43,0.7) 51%, rgba(17,17,17,0.57) 74%, rgba(62,62,62,0.45) 94%, rgba(76,76,76,0.02) 100%);
    background: -webkit-linear-gradient(top, rgba(19,19,19,1) 0%,rgba(28,28,28,0.82) 30%,rgba(43,43,43,0.7) 51%,rgba(17,17,17,0.57) 74%,rgba(62,62,62,0.45) 94%,rgba(76,76,76,0.02) 100%);
    background: linear-gradient(to bottom, rgba(19,19,19,1) 0%,rgba(28,28,28,0.82) 30%,rgba(43,43,43,0.7) 51%,rgba(17,17,17,0.57) 74%,rgba(62,62,62,0.45) 94%,rgba(76,76,76,0.02) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#131313', endColorstr='#054c4c4c',GradientType=0 ); /* IE6-9 */
}
.btn-proj-images,
.btn-proj-images:hover {
    display: block;
    width: 280px;
    margin: auto;
    color: #ffffff;
    font-size: 26px;
    text-align: center;
    cursor: pointer;
}
.btn-proj-images {
    background-color: #333333;
    border: 1px solid #222222;
}
.btn-proj-images:hover {
    background-color: #111111;
    border: 1px solid #000000;
}
.btn-proj-images-up {
    padding-top: 13px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.btn-proj-images-down {
    padding-bottom: 13px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
#projects_modal .modal-body {
    padding: 15px;
}
#projects_modal .modal-body .expanded-img {
    display: block;
    position: relative;
    left: 0px;
    top: 0px;
    width: auto;
    max-width: 100%;
    margin: auto;
    height: auto;
    max-height: 500px;
    border-radius: 5px;
}
#projects_modal .modal-body button.close {
    display: block;
    position: relative;
    float: right;
    right: 0px;
    top: -8px;
    z-index: 10;
    width: 50px;
    height: 50px;
    font-size: 42px;
    background-color: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 50px;
    opacity: 1;
}
#projects_modal .modal-body button.close span {
    display: block;
    position:relative;
    left:0px;
    top:-5px;
}

@media(max-width:767px) {

    .proj-about {
        max-height: 100vh;
    }
    .proj-type-mobile.show,
    .proj-type-web.show,
    .proj-type-hardware.show {
        max-height: 2000px;
    }

    .proj-year {
        font-size: 11px;
    }

    .proj-idea p, 
    .proj-role p, 
    .proj-about p {
        width: 100%;
    }

    .proj-images {
        margin-top: 15px;
    }
    .btn-proj-images-up {
        margin-top: 15px;
        margin-bottom: -15px;
    }
    .btn-proj-images-down {
        margin-bottom: 15px;
    }

}