@import"http://fonts.googleapis.com/css?family=RobotoDraft:400,300";

html {
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    background: #fafafa;
    font-family: "RobotoDraft", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    color: #777;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    position: relative;
}

footer, header, section {
    display: block;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}


h1 {
    font-size: 34px;
    font-weight: 400;
    line-height: 40px;
    margin-bottom: 30px;
}

h1.title {
    color: #03a9f4;
}

h2 {
    font-size: 2.3em;
    font-weight: 400;
    color: #3f3f3f;
    margin: 1em auto;
}

strong {
    font-weight: bold;
}

p {
    text-align: justify;
}

a {
    background: transparent;
    color: #02a8f3;
    text-decoration: none;
}

a:active, a:hover {
    outline: 0;
}
img {
    border: 0;
    max-width: 100%;
}

section {
    padding: 0 0 0px;
}

.container-fluid {
    padding-left: 0px;
    padding-right: 0px;
}

.section-wrapper {
    margin: 0 auto;
}

header, section, footer {
    padding-left: 10%;
    padding-right: 10%;
}
.row{
    margin-left: 0px;
    margin-right: 0px;
}
.col-md-12,.col-md-6 {
    padding-right: 0px;
    padding-left: 0px;
}
.col-md-5{
    padding-right: 15px;
}

.col-md-7{
    padding-left: 15px;
}
.portfolio-opened .col-md-5{
    padding-right: 15px;
    padding-left: 0px;
}

.portfolio-opened .col-md-7{
    padding-right: 0px;
    padding-left: 15px;
}

iframe.youtube{
    max-width: 100%;
}

/* Navbar */

.navbar>.container-fluid .navbar-brand {
    margin-left: 0px;
}
.navbar-default {
    background: transparent;
    border: 0;
    position: absolute;
    bottom: 30%;
    width: 100%;
}
.navbar-default .navbar-collapse {
    padding-left: 0px;
    padding-right: 0px;
}
.navbar-default.navbar-fixed-top {
    position: fixed;
    z-index: 999;
    bottom: auto;
    padding-left: 10%;
    padding-right: 10%;
}
.navbar-default.navbar-fixed-top .navbar-brand {
    padding: 10px 0px;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
.navbar-default .navbar-nav>li>a {
    color: white;
    font-weight: 100;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover {
    color: #FFF;
    background-color: rgba(255, 255, 255, 0.19);
}
.navbar-default .navbar-nav>li>a:focus, .navbar-default .navbar-nav>li>a:hover {
    color: white;
    -webkit-transform: scale(1.1);
    -moz-transform:scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}
.navbar-default .navbar-brand h1 {
    color: white;
    line-height: 16px;
    position: static;
    float: left;
}
.navbar-default .navbar-brand h1 p {
    font-size: 11px;
}
.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
    background-color: rgba(255, 255, 255, 0.31);
}
.navbar-right {
    margin-right: 0px;
}
#shownavbar {
    bottom: 50px;
    position: absolute;
}
.navbar-brand h1.in-navbar {
    -webkit-transition: all .2s cubic-bezier(.4, 0, .2, 1);
    font-size: 18px;
    bottom: auto;
}
.navbar-brand h1.in-navbar p {
    -webkit-transition: all .2s cubic-bezier(.4, 0, .2, 1);
    margin: 2px 0px;
    font-size":13px;
}
.navbar{
    margin-bottom:0px;
}
.navbar-default .navbar-toggle {
    border-color: rgba(255, 255, 255, 0.28);
    margin-right: 0px;
    border-radius: 2px; 
}
.navbar-default .navbar-toggle .icon-bar {
    background-color: #FFF;
}
.navbar-toggle .icon-bar+.icon-bar {
    margin-top: 5px;
}
.navbar-toggle .icon-bar{
    height: 1px;
}
.navbar-default .navbar-collapse, .navbar-default .navbar-form{
    border: 0;
    box-shadow: 0 0 0 0;
}
.navbar-default .navbar-nav>li>a{
    text-align: center;
}

/* Header */

header {
    background-color: #03a9f4;
    background: url(../images/bg.jpg);
    background-size: cover;
    position: relative;
}
header .section-wrapper {
    position: relative;
    padding-bottom: 35%
}
header h1 {
    bottom: 35%;
    color: #fff;
    font-size: 4em;
    height: 1em;
    left: 0;
    line-height: 1;
    margin: auto;
    position: absolute;
    text-align: left;
    width: auto;
    font-weight: 100;
}
.profile-photo{
    width: 100px;
    height: 100px;
    position: absolute;
    right: 0;
    bottom: -50px;
    left: 0;
    margin-left: 10%;
    z-index: 10;

}

.profile-photo img{
    max-width: 100%;
    border-radius: 50%;

    -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .26);
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .26);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .26);

    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
.profile-photo img:hover{
   -moz-box-shadow: 0 8px 17px 0 rgba(0, 0, 0, .2);
    -webkit-box-shadow: 0 8px 17px 0 rgba(0, 0, 0, .2);
    box-shadow: 0 8px 17px 0 rgba(0, 0, 0, .2);
}
nav .profile-photo{
    width: 55px;
    top: auto;
    margin: -5px 10px 0px 0px;
    right: auto;
    left: auto;
    position: static;
    height: 55px;
    float: left;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
nav .profile-photo img{
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

header p{
    font-size: 18pt;
    margin: 11px 4px;
}

#home{
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#about-me .button-resume{
  background: #03A9F4;
  padding: 17px 17px 17px 17px;
  border-radius: 6px;
  border: 2px solid rgb(255, 255, 255);
  -webkit-transition: all .2s linear;
  -moz-transition: all .2s linear;
  -o-transition: all .2s linear;
  transition: all .2s linear;
  color: #FAFAFA;
  font-size: 1.429em;
   outline: none;

}
#about-me .button-resume:hover {
    border: 2px solid #FFFFFF;
    background-color: #33B9F6;
    -webkit-transition: all .2s linear;
    -moz-transition: all .2s linear;
    -o-transition: all .2s linear;
    transition: all .2s linear;
    text-decoration: none;
    color: white;
    -moz-box-shadow: 0 0px 30px 0 rgba(0, 0, 0, .19);
    -webkit-box-shadow: 0 0px 30px 0 rgba(0, 0, 0, .19);
    box-shadow: 0 0px 30px 0 rgba(0, 0, 0, .19);
}

/* Intro */

.intro {
    padding-top: 80px;
    position: relative;
}

.intro p.text {
    color: #6c6c6c;
    font-size: 1.429em;
    font-weight: 400;
    line-height: 1.8;
}

/* Close button */
.paper-button:before, .paper-button:after {
    background: no-repeat 50% 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    -moz-box-shadow: 0 2px 10px 0 rgba(0, 0, 0, .16);
    -webkit-box-shadow: 0 2px 10px 0 rgba(0, 0, 0, .16);
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, .16);
    content: "";
    height: 50px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    -moz-transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -moz-transition: all .28s cubic-bezier(.4, 0, .2, 1);
    -webkit-transition: all .28s cubic-bezier(.4, 0, .2, 1);
    transition: all .28s cubic-bezier(.4, 0, .2, 1);
    width: 50px;
}
.paper-button:before {
    -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .26);
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .26);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .26);
}
.paper-button:hover:before {
    -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .26);
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .26);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .26);
}
.paper-button:hover:after {
    -moz-box-shadow: 0 8px 17px 0 rgba(0, 0, 0, .2);
    -webkit-box-shadow: 0 8px 17px 0 rgba(0, 0, 0, .2);
    box-shadow: 0 8px 17px 0 rgba(0, 0, 0, .2);
}
.btn-next {
    background: #fff;
    color: #000;
    display: block;
    left: 0;
    pointer-events: all;
    position: absolute;
    right: 30px;
    z-index: 1;
}
.btn-next:before {
    background: #fff;
}
.btn-back:after {
    background: url("../images/arrow-down.png") no-repeat 50% 50%;
    -webkit-background-size: 100%;
    background-size: 100%;
    opacity: .5;
    
}
.btn-next:after {
    background: url("../images/close.png") no-repeat 50% 50%;
    -webkit-background-size: 100%;
    background-size: 100%;
    opacity: .5;
    
}
.btn-next:hover:after {
    opacity: 1;
}
.btn-next span {
    display: block;
    width: 0;
    height: 0;
    overflow: hidden;
}

.btn-back{
    top: 0px;
    left: auto;
    right: -15px;
}

.btn-next.btn-back:after {

}
.close{
    opacity: 1;
    height: 50px;
    width: 50px;
}
.close:focus, .close:hover{
    opacity: 1;
}
.modal-header .close{
    margin-top: 0px;
}
.portfolio-opened  .btn-back:after {
    background: url("../images/arrow-left.png") no-repeat 50% 50%;
    -webkit-background-size: 100%;
    background-size: 100%;
    opacity: .5;
    
}
.portfolio-opened .btn-back{
    position: relative;
    left: 15px;
    right: auto;
    float: left;
}
.portfolio-opened  .back-button{
    height: 50px;
}
.portfolio-opened  .back-button p{
    padding: 11px 0px 0 80px;
    font-size: 13pt;
}
.portfolio-opened  .back-button a{
    color: #777;
}

/* Portfolio */

.portfolios {
    margin: 0 auto;
    padding-top: 60px;
    position: relative;
}
.portfolio-tile {

    -moz-transition: all .2s cubic-bezier(.4, 0, .2, 1);
    -webkit-transition: all .2s cubic-bezier(.4, 0, .2, 1);
    transition: all .2s cubic-bezier(.4, 0, .2, 1);
}
.portfolio-tile-wrapper {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: 2px solid #fff;
}
.portfolio-tile>a {
    color: #fff;
    display: block;
    overflow: hidden;
    padding-bottom: 50%;
    position: relative;
    -moz-transition: all .2s;
    -webkit-transition: all .2s;
    transition: all .2s;

}
.portfolio-tile:hover {
    -moz-box-shadow: 0 17px 50px 0 rgba(0, 0, 0, .19);
    -webkit-box-shadow: 0 17px 50px 0 rgba(0, 0, 0, .19);
    box-shadow: 0 17px 50px 0 rgba(0, 0, 0, .19);
    position: relative;
    z-index: 100;
}
.portfolio-tile:hover a {
    -moz-box-shadow: 0 12px 15px 0 rgba(0, 0, 0, .24);
    -webkit-box-shadow: 0 12px 15px 0 rgba(0, 0, 0, .24);
    box-shadow: 0 12px 15px 0 rgba(0, 0, 0, .24);
}

.portfolio-tile .bg {
    display: block;
    height: 100%;
    position: absolute;
    -moz-transition: -moz-transform .2s cubic-bezier(.4, 0, .2, 1);
    -webkit-transition: -webkit-transform .2s cubic-bezier(.4, 0, .2, 1);
    transition: transform .2s cubic-bezier(.4, 0, .2, 1);
    width: 100%;
    z-index: 1;
}
.portfolio-tile .bg img{
    width: 100%;
}
.portfolio-tile.span-6 .bg {
    -webkit-background-size: 70%;
    background-size: 70%}
.portfolio-tile .cover {
    -webkit-background-size: cover;
    background-size: cover;
}
.portfolio-tile .title {
    bottom: 1em;
    color: #fff;
    display: block;
    font-size: 1.329em;
    font-weight: 400;
    left: 0;
    line-height: 1.3em;
    margin: 0 auto;
    padding: 0 1.5em;
    position: absolute;
    right: 0;
    text-align: left;
    z-index: 10;
    text-shadow: 1px 1px 2px rgb(147, 147, 147);
}
div.portfolio-tile-wrapper.col-md-6 div.portfolio-tile a.paper{
    background-color: transparent;
    padding-bottom: 49.6%;
}
div.portfolio-tile-wrapper.col-md-6 .portfolio-tile .bg{
   
}

.portfolios.section-wrapper .col-md-6, .portfolios.section-wrapper .col-md-3{
    padding: 0px;
    cursor: pointer;
}

.col-md-3 .portfolio-tile>a {
    padding-bottom: 100%;
}

/* Modal */

.modal.fade:not(.in) .modal-dialog {
    -webkit-transform: translate3d(-25%, 0, 0);
    transform: translate3d(-25%, 0, 0);
}

.modal-content {
    box-shadow: 0 15px 20px rgba(0, 0, 0, 0.22), 0 19px 60px rgba(0, 0, 0, 0.3);
    border-radius: 2px;
    border: none;
    padding: 24px;
}
.modal-content .modal-header {
    border-bottom: none;
    padding: 0px;
    padding-bottom: 0;
}
.modal-content .modal-body {
    padding: 24px;
    overflow: auto;

}
.modal-content .modal-footer {
    border-top: none;
    padding: 24px;
}
.modal-content .modal-footer button {
    margin: 0;
    padding-left: 16px;
    padding-right: 16px;
    width: auto;
}
.modal-content .modal-footer button.pull-left {
    padding-left: 5px;
    padding-right: 5px;
    position: relative;
    left: -5px;
}
.modal-content .modal-footer button + button {
    margin-bottom: 16px;
}
.modal-content .modal-body + .modal-footer {
    padding-top: 0;
}
.modal-backdrop {
    background: rgba(0, 0, 0, 0.3);
}

.modal-lg {
    width: 90%;
    margin: 65px auto;
}
.modal h1.modal-project, .portfolio-opened h1.modal-project{
    line-height: 25px;
}
.modal h1 a.link, .portfolio-opened h1 a.link{
    font-size: 13px;
    color: rgb(165, 165, 165);
    margin-left: 2px;
}
.modal h1 a.link-title, .portfolio-opened h1 a.link-title{
    color: #777;
}

.modal h1 span, .portfolio-opened h1 span{
    font-size: 13px;
    color: rgb(165, 165, 165);
    margin-left: 2px;
}
.modal h2, .portfolio-opened h2{
    margin: 1em auto 10px auto;
    font-size: 2em;
}

/* Contact */
#contact{
    padding-top: 60px;
    position: relative;
}
#contact-form  label{
    text-align: left;
    color: #3A4145;

}
#contact-form .form-control{
    border: 1px solid rgba(204, 204, 204, 0.22);
    border-radius: 0px;
    box-shadow: 0 0 0 ;
    font-weight: 100;
}
#contact-form .btn-default{
    font-weight: 100;
    background: #03A9F4;
    border-radius: 6px;
    border: 2px solid rgb(255, 255, 255);
    -webkit-transition: all .2s linear;
    -moz-transition: all .2s linear;
    -o-transition: all .2s linear;
    transition: all .2s linear;
    color: #FAFAFA;
    outline: none;
}
.email-thanks{
    display: none;
    color: rgb(35, 124, 15);
    border: 1px solid rgba(204, 204, 204, 0.22);
    background: white;
    padding: 10px;
    margin-top: 15px;
}
#social {
    text-align: center;
    margin-top: 5px;
}
#social img{
    margin-bottom: 3px;
    width: 110px;
}
#social img:hover {
    -webkit-box-shadow: 0 17px 50px 0 rgba(0, 0, 0, .19);
    box-shadow: 0 17px 50px 0 rgba(0, 0, 0, .19);
    position: relative;
    z-index: 100;
}

.tab-content .tab-pane h1{
    margin: 0px 0 2px;
    font-size: 28px;
}
.tab-content .tab-pane img{
    margin-bottom: 10px;  
}
.tab-content .tab-pane p{
    
}
.tab-content .tab-pane p.subtitle{
    font-size: 13px;
    color: rgb(165, 165, 165);
    margin-left: 2px;
    
}   
footer{
    margin-top: 60px;
    padding: 25px 0;
    background: #F4F4F4;
    
} 
footer div{
    padding-left: 10%;
    padding-right: 10%;
    color: #3A4145;
    font-weight: 100;
}
/* buttons */

#contact-form button.btn.btn-default:hover{
  border: 2px solid #FFFFFF;
  background-color: #33B9F6;
  -webkit-transition: all .2s linear;
  -moz-transition: all .2s linear;
  -o-transition: all .2s linear;
  transition: all .2s linear;
  text-decoration: none;
  color: white;
  -moz-box-shadow: 0 0px 30px 0 rgba(0, 0, 0, .19);
  -webkit-box-shadow: 0 0px 30px 0 rgba(0, 0, 0, .19);
  box-shadow: 0 0px 30px 0 rgba(0, 0, 0, .19);
}

@media (max-width: 480px) { 
    header, section, footer {
        padding-left: 5%;
        padding-right: 5%;
    }

    p{
        text-align: justify;
    }
    .container-fluid{
        padding-right: 0px;
        padding-left: 0px;
    }
    .navbar-default .navbar-toggle {
        border-color: rgba(255, 255, 255, 0.28);
        margin-right: 0px;
        border-radius: 2px; 
    }
    .navbar-default .navbar-toggle .icon-bar {
        background-color: #FFF;
    }
    .navbar-toggle .icon-bar+.icon-bar {
        margin-top: 5px;
    }
    .navbar-toggle .icon-bar{
        height: 1px;
    }
    .navbar-default .navbar-collapse, .navbar-default .navbar-form{
        border: 0;
        box-shadow: 0 0 0 0;
    }
    .navbar-default .navbar-nav>li>a{
        text-align: center;
    }
    .navbar-default.navbar-fixed-top .navbar-brand{
        transition: none;
    }
    .navbar.navbar-default button{
        display: none;
    }

    .navbar.navbar-default.navbar-fixed-top button{
        display: block;
    }
    .navbar-nav{
        overflow: hidden;
    }
    header h1{
        font-size: 18pt;

    }
    header p {
        font-size: 11pt;
    }
    .profile-photo {
        width: 40px;
        height: 40px;
        position: absolute;
        right: 0;
        top: -9px;
        left: 0;
        margin-left: 5%;
    }

    .intro {
        padding-top: 70px;
    }
    header{
        background: none
    }
    header .section-wrapper{
        padding-bottom:0;
    }
    h1{
        font-size: 28px;
        margin-bottom: 5px;
    }
    h1.title{
        text-align: center;
    }
    .intro p{
        font-size: 14pt;
    }

    #social img {
        width: 90px;
    }
    .submit-button{
        text-align: center;
    }
    button.button-cv, button.button-linkedin{
        margin: 10px 0 10px 0;
        height: 55px;
    }


}
@media (min-width: 480px) and (max-width: 768px) { 
    .navbar.navbar-default button{
        display: none;
    }

    .navbar.navbar-default.navbar-fixed-top button{
        display: block;
    }
    .navbar-nav{
        overflow: hidden;
    }
    header h1{
        font-size: 3em;
    }
    header p {
        font-size: 15pt;
        margin: 8px 3px;
    }
    .intro{
        padding-top: 30px;
    }

    .profile-photo{
        width: 50px;
        height: 50px;
        bottom: -25px;
    }
    button.button-cv,button.button-linkedin{
        margin: 10px 0 10px 0;
        height: 55px;
    }
}
@media (min-width: 768px) and (max-width: 940px) {
    button.button-cv,button.button-linkedin{
        margin: 10px 0 10px 0;
        height: 55px;
    }

}
@media (min-width: 940px) {
    .modal-dialog {
        margin: 65px auto;
    }
    body.modal-open ul.nav.navbar-nav.navbar-right{
    margin-right: 14px;
    }
    body.modal-open .navbar-header{
        margin-left: -2px;
    }
    .col-md-3.linkedin{
        padding-right: 0px;
        
    }
    .col-md-3.linkedin p{
        float: right;
        margin-top: 2px;
        
    }

}