/*
 * CSS santanacaio.com
 * Developed by Caio Santana
 * All rights reserved.
*/

/* HTML resets*/
button {
    border: none;
    outline: none;
    background-color: unset;
}
body {
    font-family: 'Nunito Sans', sans-serif;
    color: #1E1E1E;
    background-color: #ffffff;
    transition: background-color .5s;
    -webkit-font-smoothing: antialiased;
}
hr {
    background: linear-gradient(to right, #DF0CCA, #21B0FA);
    background: -webkit-linear-gradient(to right, #DF0CCA, #21B0FA);
    background: -o-linear-gradient(to right, #DF0CCA, #21B0FA);
    background: -moz-linear-gradient(to right, #DF0CCA, #21B0FA);
}
h2 {
    font-size: 30px;
    font-weight: 600;
    line-height: 41px;
}
p, span, h4 {
    font-size: 20px;
    line-height: 27px;
}

a, a:link, a:visited {
    text-decoration: none;
    color: #1E1E1E;
    outline: none;
}
a:hover {
    text-decoration: none;
}
.pl-0 {
    padding-left: 0;
}
.mg-b1 {
    margin-bottom: 1em;
}
.mg-b15 {
    margin-bottom: 1.5em;
}
.mg-b2 {
    margin-bottom: 2em;
}
.mt-05 {
    margin-top: .5em;
}
.mt-1 {
    margin-top: 1em;
}
.sec-header {
    margin-top: 30px;
    margin-bottom: 75px;
}
.sec-header h1 {
    text-transform: uppercase;
    font-size: 21px;
    font-weight: 300;
    text-align: center;
    line-height: 33px;
    margin-top: 0;
    margin-bottom: 0;
}
.sec-header h2 {
    text-align: center;
    font-size: 48px;
    line-height: 48px;
    font-weight: bold;
}
.sec-header hr {
    height: 1px;
    margin-top: 10px;
}
hr.hr-about {
    width: 91px;
}
hr.hr-portfolio {
    width: 120px;
}
/* Bootstrap resets */
.row {
    margin-right: 0;
    margin-left: 0;
}
.btn-default {
    color: #333;
    background-color: rgba(255, 255, 255, 0);
    border-color: #000;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}
.btn-default:hover {
    color: #03A9F4;
    background-color: rgba(255, 255, 255, 0);
    border-color: #03A9F4;
}
.jumbotron small {
    color: #999;
}

/* Resets/Globais */
figure {
    margin-bottom: 2em;
}
ul {
    list-style: none;
    padding-left: 0;
}
.txt-left {
    text-align: left;
}
.txt-right {
    text-align: right;
}
.margin_1 {
    float: left;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
}
.margin_2 {
    float: left;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
}
.profile-pic {
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
    background-color: #f1f1f1;
    border-radius: 100%;
    border: 1px solid #ddd;
    padding: 1px;
    height: 180px;
    width: 180px;
    margin-bottom: 10px;
}
.mgtop-2 {
    margin-top: 2em;
}
.mgtop-4 {
    margin-top: 4em;
}
.mgtop-6 {
    margin-top: 6em !important;
}
.mgright-20 {
    margin-right: 20%;
}
.mgleft-20 {
    margin-left: 20%;
}
.padright-10 {
    padding-right: 10%;
    padding-top: 7.5%;
}
.padright-20 {
    padding-right: 20%;
}
.padleft-20 {
    padding-left: 20%;
}
.social-bar a, .social-bar a:visited{
    color: #1E1E1E;
}
.social-bar a:hover {
    color: #21B0FA;
    transition: all .3s;
    background-color: #1E1E1E;
}

/* Portfolio Tabs */
.nav-tabs {
    margin-bottom: 1em;
}
.nav-tabs>li>a {
    font-size: 18px;
}

.nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover {
    color: #21B0FA;
    font-weight: 600;
}
.tab-content {
    margin-top: 1em;
}

/* Hover soom */
.hover-area div {
	position: relative;
	float: left;
}
.hover-zoom figure {
	overflow: hidden;
}
.hover-zoom figure img {
	-webkit-transform: scale(1);
	transform: scale(1);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
.hover-zoom figure:hover img {
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
}

/* Styles */
.btn-logo, .bnt-menu {
    z-index: 1;
}
/*.btn-logo, .btn-menu {
    z-index: 998;
}*/
.btn-logo {
    margin-top: 16px;
    left: 24px;
    position: fixed;
}
.btn-logo img {
    -webkit-transition: all 0.5s;
    transition: all 0.5s; 
}
.btn-logo img:hover {
    opacity: 0.75;
    -webkit-transition: all 0.5s;
    transition: all 0.5s; 
}
.btn-menu {
    margin-top: 26px;
    right: 24px;
    position: fixed;
}
.show-mobo {
    display: none;
}
.intro {
    background-color: #ddf3ff;
}
.grey-intro {
    background-color: #f7f7f7 !important;
}
.intro h1 {
    font-size: 62px;
    line-height: 64px;
    font-weight: bold;
}
.header-nav {
    margin-top: 26px;
}
.header-nav a, .header-nav a:visited, .header-nav span {
    font-size: 20px;
    color: #777;
}
.header-nav a.active {
    color: #21B0FA;
    font-weight: 600;
}
/* Flag size */
.header-nav img {
    max-width: 24px;
}
a.disable {
    color: #757575;
    cursor: default;
} 
a.bold {
    font-weight: bold;
} 
.disable img {
    filter: grayscale(1);
}
.disable img:hover {
    filter: grayscale(0);
    cursor: pointer;
    transition: all .3s;
}
.hero {
    padding-top: 30px;
    padding-bottom: 172px;
}
hr.two {
    height: 2px;
    display: inline-block;
    width: 310px;
}
.main-menu {
    margin-top: -77px;
    background-color: #ffffff;
    -webkit-box-shadow: 0px 3px 6px 1px rgba(0,0,0,0.2);
        -moz-box-shadow: 0px 3px 6px 1px rgba(0,0,0,0.2);
        box-shadow: 0px 3px 6px 1px rgba(0,0,0,0.2);
}
.arrow::after {
    content: "⟶";
    color: #757575;
    font-weight: 400;
    margin-left: 10px;
    transition: .3s;
    position: absolute;
}
.arrow:hover::after {
    margin-left: 15px;
}
.item {
    padding-top: 40px;
    padding-bottom: 40px;
}
div.black {
    background-color: #1E1E1E;
}
p.gray {
    color: #757575;
}
p.white {
    color: #ffffff;
}
p.blue {
    color: #21B0FA;
}
span.white{
    color: #ffffff;
}
.contact {
    padding-top: 90px;
    padding-bottom: 90px;
}
.contact a {
    display: inline-block;
    margin: 0 10px;
    padding: 16px 20px;
    background-color: #ffffff;
    -webkit-box-shadow: 0px 3px 6px 1px rgba(0,0,0,0.2);
        -moz-box-shadow: 0px 3px 6px 1px rgba(0,0,0,0.2);
        box-shadow: 0px 3px 6px 1px rgba(0,0,0,0.2);
}
.contact i {
    /*background: -webkit-linear-gradient(#21B0FA, #DF0CCA);
    background: linear-gradient(to right, #21B0FA 0%, #DF0CCA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;*/
}
footer.main-footer {
    padding-top: 45px;
    padding-bottom: 45px;
    background-color: #1E1E1E;
    color: #ffffff;
}
footer.main-footer a {
    color: #757575;
    font-size: 20px;
    line-height: 27px;
    margin: 0 16px;
    font-weight: 300;
}

/* Sobre / About
.about {
    
}
 */

/* Portfolio */
.portfolio {
    padding-bottom: 2em;
}
.portfolio li {
    margin-bottom: 4em;
}
.portfolio-item {
    background-color: #FFF;
}
/* 
.portfolio-item a {
    font-size: 20px;
    line-height: 27px;
}
.portfolio a:hover {
    color: #21B0FA;
    cursor: pointer;
    transition: color .3s;
}*/
.btn:hover {
    color: #FFF;
    transition: all .3s;
    background-color: #1E1E1E;
}
.btn-site {
    background-color: #FFF;
    border: 1px solid #1E1E1E;
    color: #1E1E1E;
    font-size: 18px;
    font-weight: 600;
}
.btn-site a, a:visited {
    color: #1E1E1E;
}
.portfolio-item i {
    font-size: 16px;
    margin-right: 4px;
}
.portfolio-item hr {
    height: 1px;
    text-align: left;
    margin-top: 0px;
    margin-bottom: 2em;
    margin-left: 0;
}
.grayimg {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    -webkit-transition: all 0.8s;
    transition: all 0.8s;
}

.portfolio-item img {
    -webkit-transition: all 0.8s;
    transition: all 0.8s;
}
.portfolio-item img:hover {
    -webkit-filter: none;
    filter: none;
}
.portfolio-item h4 {
    margin-bottom: 0.25em;
    text-transform: uppercase;
}
.portfolio-item p {
    margin-bottom: 2em;
}
.side-item {
    margin-top: 2em;
}
.portfolio-detail .breadcrumb {
    background-color: #ddf3ff;
}
.portfolio-detail .grey-bread {
    background-color: #f7f7f7 !important;
}
.portfolio-detail .breadcrumb li {
    font-size: 18px;
    line-height: 24px;
}
.breadcrumb-item a, .breadcrumb-item a:visited {
    color: #1E1E1E;
}
.breadcrumb-item a:hover{
    color: #21B0FA;
    transition: color .3s;
}
.portfolio-detail h2 {
    margin-bottom: 5px;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 400;
    line-height: 27px;
}
.portfolio-detail h3 {
    font-size: 24px;
    font-weight: 400;
    line-height: 36px;
    margin-top: 1em;
    margin-bottom: 0.5em;
}
.portfolio-detail hr {
    text-align: left;
    height: 1px;
    margin-left: 0;
    margin-top: 0;
    margin-bottom: 0;
}
.portfolio-detail a {
    color: #21B0FA;
}
.tags {
    margin-top: 2em;
    margin-bottom: 2em;
}
.badge {
    margin: 4px 2px;
}
/*
.portfolio-detail img {
    margin-top: 2em;
    -webkit-box-shadow: 0px 3px 6px 1px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 3px 6px 1px rgba(0,0,0,0.2);
    box-shadow: 0px 3px 6px 1px rgba(0,0,0,0.2);
}*/
.pdf-frame {
    margin-top: 2em;
}
.porfolio-block {
    margin-top: 4em;
    margin-bottom: 2em;
}
p.description {
    margin-top: 8px;
    font-size: 16px;
}
.portfolio-highlight {
    background-color: #1e1e1e;
    color: #fff;
    padding: 2em 3em;
}
.portfolio-highlight p {
    color: #fff;
    margin-bottom: 2em;
}
.portfolio-caption span {
    margin-top: 10px;
    font-size: 12px;
    line-height: 14px;
    text-align: center;
    max-width: 70%;
}
/* CASES */
div.case-hero {
    background-color: #f2f2f2;
    width: 100%;
    height: 340px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    margin-top: 2em;
    padding-top: 11%;
}
.case h1{
    font-family: 'Nunito Sans', sans-serif;
    font-size: 28px;
    line-height: 36px;
    font-weight: 600;
    margin-top: 1em;
    margin-bottom: 1em;
}
.case a, p {
    color: #1E1E1E;
    font-size: 18px;
}
.case a:hover {
    color: #21B0FA;
    transition: color .3s;
}
.case span {
    display: block;
    margin-top: 1em;;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 400;
    line-height: 27px;
    color: #757575;
}
.case a {
    font-size: 18px;
}
.bg-case-neo {
    background-image: url(../images/portfolio/bg-case-neogrid.png);
}
.bg-case-portal {
    background-image: url(../images/portfolio/bg-case-portal.jpg);
}
.bg-agro-banrisul {
    background-image: url(../images/portfolio/bg-agro-banrisul.png);
}
.bg-unicred-open {
    background-image: url(../images/portfolio/unicred/bg-unicred-open.png);
}
.bg-cresol-card {
    background-image: url(../images/portfolio/cresol/bg-cresol-card.png);
}
.bg-marsello-hero {
    background-image: url(../images/portfolio/tohtml/marsello/bg-marsello.png);
}
.bg-bra-gov {
    background-image: url(../images/portfolio/email/bg-mail-gov.png);
}
.cases time {
    padding: 1.5em;
}
.cases footer {
    background-color: #ffffff;
}
.case-post {
    background-color: #FFF;
    padding: 1.5em;
}
.case-post h3 {
    margin-top: 2.5em;
}
.case-post a{
    color: #337ab7;
}
.case-post p {
    font-size: 16px;
    color: #555;
}

/* About */
.mg-b1 {
    margin-bottom: 1em !important;
}
.insta {
    background-color: #f7f7f7;
    margin-bottom: 2em;
}
.insta .badge {
    background-color: #21B0FA;
    font-size: 16px;
}
.insta .badge a {
    color: #fff;
}
.insta img {
    padding-top: 2em;
}
.pad-insta {
    padding-top: 1em;
    padding-left: 2em;
    padding-bottom: 1em;
}

/* Portfolio NEW */
.zero-spc {
    margin: 0;
    padding: 0;
}
.pt-cover {
    background-color: red;
}

/* Overlay menu */
.fade-in {
    animation: fadeinn .3s;
}
.sidenav {
    padding-top: 10%;
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-x: hidden; 
    font-size: 30px;
    font-weight: 300;
}
.sidenav a {
    padding: 10px;
    text-decoration: none;
    color: #757575;
    display: block;
    text-align: center;
}
.sidenav a:hover {
    color: #f2f2f2;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}
.sidenav a:hover, .offcanvas a:focus{
    color: #f1f1f1;
}
.side-social a {
    display: inline-block;
    margin: 0 4px;
    padding: 8px 10px;
    -webkit-box-shadow: 0px 3px 6px 1px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 3px 6px 1px rgba(0,0,0,0.2);
    box-shadow: 0px 3px 6px 1px rgba(0,0,0,0.2);
}
.closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    margin-left: 50px;
}
a.closebtn {
    font-size: 48px !important;
}

@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}

#main {
    transition: margin-left .5s;
    -webkit-transition: margin-left .5s;
    padding: 16px;
}

/* Menu effects 
@keyframes grow {
    100% {
        height: 100%;
        width: 100%;
    }
}
@keyframes fadeIn {
    100% {
        opacity: 1;
    }
}
@keyframes slideUp {
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}
*/ 
@keyframes fadeinn {
    from { opacity: 0; }
    to   { opacity: 1; }
} 


/* MY TIMELINE 
.my-timeline {

}*/
.events {
    list-style: none;
    padding: 20px 0 20px;
    position: relative;
}
.events:before {
    top: 0;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 3px;
    background-color: #eeeeee;
    left: 50%;
    margin-left: -1.5px;
}
.events li {
    margin-bottom: 20px;
    position: relative;
}
.events li:before, .events li:after {
    content: " ";
    display: table;
}
.events li:after {
    clear: both;
}
.event-box {
    width: 46%;
    float: left;
    border: 1px solid #d4d4d4;
    border-radius: 2px;
    padding: 20px;
    position: relative;
    -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
}
.event-box span {
    font-size: 2em;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5em;
}
.event-box:before { /* flecha ao lado da caixa */
    position: absolute;
    top: 26px;
    right: -15px;
    display: inline-block;
    border-top: 15px solid transparent;
    border-left: 15px solid #ccc;
    border-right: 0 solid #ccc;
    border-bottom: 15px solid transparent;
    content: " ";
}
.event-box:after { /* preenche de branco a flecha ao lado da caixa */
    position: absolute;
    top: 27px;
    right: -14px;
    display: inline-block;
    border-top: 14px solid transparent;
    border-left: 14px solid #fff;
    border-right: 0 solid #fff;
    border-bottom: 14px solid transparent;
    content: " ";
}
.event-date {
    color: #333;
    width: 50px;
    line-height: 50px;
    text-align: center;
    position: absolute;
    top: 16px;
    left: 50%;
    margin-left: -25px;
    background-color: #F1F1F1; /* Deve ser igual ao BG do body */
    z-index: 100;
}
.event-date h4 {
    font-size: 1.4em;
}
.event-date span {
    font-weight: 300;
    font-size: 0.8em;
}
li.item-right > .event-box {
    float: right;
}
li.item-right > .event-box:before {
    border-left-width: 0;
    border-right-width: 15px;
    left: -15px;
    right: auto;
}
li.item-right > .event-box:after{
    border-left-width: 0;
    border-right-width: 14px;
    left: -14px;
    right: auto;
}

/* BLOG */
.post-card {
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    background-color: #FFF;
}
.post-card a {
    color: #404040;
}
.post-card a:hover {
    text-decoration: none;
}
.post-card:hover {
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}
.post-container {
    padding: 2px 16px;
}
.post-container p{
    color: #888;
}


/* BLOG post*/
.bg-post {
    background-color: #FFF;
    padding: 1.5em;
}
.bg-post a{
    color: #0CE4D8;
}
.bg-post p {
    font-size: 16px;
    color: #555;
}
.breadcrumbs {
    padding: 8px 0;
    margin-bottom: 20px;
    list-style: none;
    font-size: 1em;
    text-transform: uppercase;
}
.breadcrumbs li{
    display: inline-block;
}
.breadcrumbs>li+li:before {
    padding: 0 5px;
    color: #ccc;
    content: "/\00a0";
}
.breadcrumbs>.active {
    color: #777;
}
.breadcrumbs a:hover{
    text-decoration: none;
}
.autor {
    background-color: #ffffff;
    margin-top: 20px;
    padding: 10px;
    color: #404040;
    /*
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    */
}
.autor-info h2 {
    margin-top: 0;
    margin-bottom: .75em;
}
.autor-info h3 {
    margin-top: 0;
}
.autor-info p {
    padding: 0 10%;
}
.autor-pic {
    border-radius: 100%;
    height: 120px;
    width: 120px;
}

/* CSS Responsive 
@media (min-width: 1200px){
    .container-small {
        max-width: 1170px;
        width: 90%;
    }
}
*/
@media (max-width: 992px){
    .event-box:before, .event-box:after {
        display: none;
    }
    .event-date {
        background-color: transparent;
    }
    .event-date h4 {
        font-size: 1.2em;
    }
    .event-date span {
        font-size: 0.8em;
        font-weight: 400;
    }
    .portfolio-caption {
        max-width: 100%;
    }
}

@media (max-width: 767px){
    .events:before {
        left: 1em;
    }
    .portfolio-caption {
        max-width: 100%;
    }
}

@media only screen and (min-width : 320px) and (max-width : 767px) {
    
    /*.container-mobo {
        width: 170px;
    }*/
    .btn-logo, .btn-menu {
        position: absolute;
    }  
    .header-nav {
        margin-top: 14px;
    }
    .txt-left, .txt-right {
        text-align: center;
    }
    .hide-mobo {
        display: none;
    }
    .show-mobo {
        display: block;
    }
    .mgtop-1 {
        margin-top: 1em;
    }
    hr {
        margin-top: 16px;
        margin-bottom: 16px;
    }
    hr.two {
        width: 260px;
        max-width: 260px;
    }
    .mt-2 {
        margin-top: 2em;
    }
    .sidenav {
        padding-top: 20%;
    }
    .hero {
        padding-top: 0;
        padding-bottom: 120px;
    }
    .intro h1 {
        font-size: 52px;
        line-height: 54px;
        margin-top: 1em;
    }
    .item {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .contact {
        padding-top: 44px;
        padding-bottom: 45px;
    }
    .contact div {
        text-align: center;
    }
    .main-footer div {
        text-align: center;
    }
    .main-footer span, .main-footer a {
        display: block;
    }
    .portfolio-caption {
        max-width: 100%;
    }
}

@media only screen and (max-width : 319px){
    .mgtop-1 {
        margin-top: 1em;
    }
    .portfolio-caption {
        max-width: 100%;
    }
}


