/* Page structure */
html {
    height: 100%;
}
body {
    min-height: 100%;
    position: relative;
}
.content {
    padding: 60px 0;
}
.content-block {
    padding: 20px 0 40px;
}
/* END Page structure */

/* Header */
nav {
    font-size: 16px;
    padding: 10px 0;
}
.navbar-inverse .navbar-nav > li > a {
    color: #fff;
}
.navbar-inverse .navbar-nav > li > a:focus, 
.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-brand:hover,
.navbar-inverse .navbar-nav > li > .active {
    color: #ff5325;
}
.navbar-inverse .navbar-brand {
    color: #fff;
    font-family: 'Bree Serif', serif;
    font-size: 24px;
    margin-top: -2px;
}
/* END Header */

/* Form */
textarea.form-control {
    height: 100px;
}
.btn-primary {
    background: #333;
    border-color: #333;
}
.btn-primary:focus,
.btn-primary:active,
.btn-primary:hover {
    background: #ff5325;
    border-color: #ff5325;
}
/*.ng-invalid.ng-dirty {*/
    /*border-color: #ff0000;*/
/*}*/
.err-txt {
    color: #ff0000;
    font-size: 12px;
}
.error-block,
.success-block {
    -webkit-border-radius:2px;
    -moz-border-radius:2px;
    border-radius:2px;
    margin:20px 0 0;
    padding:15px;
}
.success-block {
    background:#d5fada;
    
}
.error-block {
    background-color: #ffcdbe;
}
/* END Form */

/* About block */
.about-block {
    background: #fff;
    padding-top: 70px;
}
.about-block .img {
     text-align: center;
}
.about-block img {
    border: 8px solid #eee;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    display: inline-block;      
}
.about-block h1 {
    font-size: 40px;
}
.about-block,
.about-block p {
    font-size: 18px;
}
/* END About block */

/* Work list */
.work-block {
    margin-bottom: 0;
    text-align: center;
}
.work-lst {
    list-style: none;
    margin: 0;
    padding: 0;
}
.work-lst li {
    margin: 20px 0 0;
}
.work-lst .wrap {
    background: #fff;
    -webkit-box-shadow: 0 0 5px #bbb;
    -moz-box-shadow: 0 0 5px #bbb;
    box-shadow: 0 0 5px #bbb;
    padding-bottom: 10px;
    text-align: center;
}
.work-lst .wrap:hover {
    -webkit-box-shadow: 0 0 5px #999;
    -moz-box-shadow: 0 0 5px #999;
    box-shadow: 0 0 5px #999;
}
.work-lst a {
    color: #333;
}
.work-lst a:focus,
.work-lst a:hover {
    text-decoration: none;
}
.work-lst .img {
    border-bottom: 1px solid #eee;
    overflow: hidden;
}
.work-lst img {
    -webkit-transition: transform 0.25s ease 0s;
    -moz-transition: transform 0.25s ease 0s;
    transition: transform 0.25s ease 0s;
}
.work-lst .wrap:hover img {
    transform: scale(1.2);
}
.work-lst h3 {
    font-size: 20px;
}
.work-lst p {
    color: #999;
    font-size: 16px;
}
.work-lst h3,
.work-lst p {
    padding: 0 20px;
}
.btn-more {
    font-size: 18px;
    margin-top: 20px;
    padding: 20px 0;
    width: 100%;
}
/* END Work list */

/* Work showcase */
.showcase-block {
    padding: 40px 0 60px;
}
.showcase-block .desktop {
    border: 1px solid #ddd;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    padding: 3px;
}
.showcase-block .mobile-only {
    text-align: center;
}

.showcase-block .mobile-only img {
    border: 1px solid #ccc;
    max-width: 100%;
}

.showcase-block .img-group {
    display: none;
}
.showcase-block .h4 {
    color: #999;
    margin: -5px 0 20px;
}
.showcase-block .btn {
    font-size: 18px;
    margin-top: 20px;
    padding: 15px 30px;
}
.showcase-block .btn-primary {
    background: #ff5325;
    border-color: #ff5325;
}
.showcase-block .btn-primary:hover {
    background: #333;
    border-color: #333;
}
.showcase-block .btn-default {
    background: #efefef;
}
.showcase-block .btn-default:hover {
    background: #ddd;
    border-color: #ddd;
}
/* END Work showcase */

/* Footer */
footer {
    background: #333;
    color: #fff;
    padding: 20px 0;
}
footer .copy {
    color: #999;
    overflow: hidden;
    padding: 12px 0 0;
}
footer .copy a {
    color: #999;
}
footer .copy a:hover {
    color: #ff5325;
}
.soc-links {
    font-size: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.soc-links li {
    float: left;
}
.soc-links a {
    background: #ff5325;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    color: #333;
    display: block;
    height: 44px;
    margin-left: 10px;
    padding-top: 10px;
    text-align: center;
    -webkit-transition: background 0.15s ease 0s, color 0.15s ease 0s;
    -moz-transition: background 0.15s ease 0s, color 0.15s ease 0s;
    transition: background 0.15s ease 0s, color 0.15s ease 0s;
    width: 44px;
}
.soc-links a:hover {
    background: transparent;
    border: 1px solid #ff5325;
    color: #ff5325;
}
.soc-links .fa {
    font-size: 22px;
}
.soc-links a span {
    display: block;
    text-indent: -1000px;
}
/* END Footer */


/*** Animations ***/

/* Work list animations */
.work-lst li.ng-enter,
.work-lst li.ng-leave,
.work-lst li.ng-move {
    -webkit-transition: 0.5s linear all;
    -moz-transition: 0.5s linear all;
    -o-transition: 0.5s linear all;
    transition: 0.5s linear all;
}
.work-lst li.ng-enter,
.work-lst li.ng-move {
    height: 0;
    opacity: 0;
    overflow: hidden;
}
.work-lst li.ng-move.ng-move-active,
.work-lst li.ng-enter.ng-enter-active {
    height: 120px;
    opacity: 1;
}
.work-lst li.ng-leave {
    opacity: 1;
    overflow: hidden;
}
.work-lst li.ng-leave.ng-leave-active {
    height: 0;
    opacity: 0;
    padding-bottom: 0;
    padding-top: 0;
}
/* END Work list animations */

/* View animations */
.view-container {
    position: relative;
}
.view-frame.ng-enter, .view-frame.ng-leave {
    background: white;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}
.view-frame.ng-enter {
    -webkit-animation: 0.5s fade-in;
    -moz-animation: 0.5s fade-in;
    -o-animation: 0.5s fade-in;
    animation: 0.5s fade-in;
    z-index: 100;
}
.view-frame.ng-leave {
    -webkit-animation: 0.5s fade-out;
    -moz-animation: 0.5s fade-out;
    -o-animation: 0.5s fade-out;
    animation: 0.5s fade-out;
    z-index:99;
}
@keyframes fade-in {
    from { 
        opacity: 0; 
    }
    to { 
        opacity: 1; 
    }
}
@-moz-keyframes fade-in {
    from { 
        opacity: 0; 
    }
    to { 
        opacity: 1; 
    }
}
@-webkit-keyframes fade-in {
    from { 
        opacity: 0; 
    }
    to { 
        opacity: 1; 
    }
}

@keyframes fade-out {
    from { 
        opacity: 1; 
    }
    to { 
        opacity: 0; 
    }
}
@-moz-keyframes fade-out {
    from { 
        opacity: 1; 
    }
    to { 
        opacity: 0; 
    }
}
@-webkit-keyframes fade-out {
    from { 
        opacity: 1; 
    }
    to { 
        opacity: 0; 
    }
}
/* END View animations */

/*** END Animations ***/


@media (min-width: 600px){
    .content {
        padding: 70px 0 85px;
    }
    
    .showcase-block .img-group {
        display: block;
        margin: 30px auto 0;
        width: 360px;
    }
    .showcase-block .desktop {
        background: url("../images/macbook.png") 0 0 no-repeat;
        border: none;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
        height: 321px;
        margin: 0 auto;
        padding: 20px 0 0 65px;
        width: 532px;
    }
    .showcase-block .tablet {
        background: url("../images/tablet.png") 0 0 no-repeat;
        float: left;
        height: 386px;
        padding: 35px 0 0 55px;
        width: 316px;
    }
    .showcase-block .mobile {
        background: url("../images/iphone.png") 0 0 no-repeat;
        float: left;
        height: 260px;
        margin: 90px 0 0 -100px;
        padding: 45px 0 0 25px;
        width: 143px;
    }
    
    .showcase-block .mobile-only img {
        max-width: 375px;
    }
    
    footer {
        bottom: 0;
        height: 85px;
        left: 0;
        margin: 0;
        position: absolute;
        width: 100%;
    }
    .soc-block,
    .soc-block .soc-links {
        float: right;
    }
}
