/*accessability*/
:focus {
 border: 2px dotted #FFF;    
}

body *,
body :after,
body :before {
    -webkit-transition: all 200ms ease;
    -moz-transition: all 200ms ease;
    -ms-transition: all 200ms ease;
    -o-transition: all 200ms ease;
    transition: all 200ms ease;
}

/*Centralize stuff on the page*/
section.container.margin-section {
    margin-left: auto;
    margin-right: auto;
}

/*max-width for the page*/
.container {
    max-width: 1200px;
}

h1,
h2,
h3 {
    font-family: 'Vidaloka', serif;
}

p {
    font-size: 18px;
    line-height: 24px;
    font-family: 'Karla', sans-serif;
}

.home-title {
    font-size: 40px;
}

h2 {
    font-weight: 400;
    font-size: 54px;
    line-height: 72px;
}

h3 {
    font-weight: 400;
    font-size: 24px;
    line-height: 40px;
}

/*Position correction for title*/

.bring-text-front {
    z-index: 9999;
    position: relative;
}


/*sections*/

.offgrid {
    margin-top: -40px;
}

.first-section {
    color: #FE5A70;
    font-family: 'Vidaloka', serif;
    font-size: 64px;
    font-weight: 400;
    line-height: 72px;
    height: auto;
    max-height: 600px;
    padding: 10% 5%;
}

/*Each case study case -- internal pages*/
.first-section--casestudy {
    height:500px;
    margin: auto;
    width: 100%;
    position: relative;
}
.first-section--casestudy h1 {    
    position: relative;
    top: 3em;
    margin: auto;
    font-size: 4em;
}

.back {
    height: 30px;
    position: absolute;
    top: 20px;
}

/*background for each internalpage*/
.fc-rebrand {
    background-image: url(../internalpages/bundles/rebrand/header.jpg);
    background-size: cover;
}

.glic {
    background-image: url(../internalpages/bundles/glic/header.jpg);
    background-size: cover;
    color:#FFF;
}

.investordash {
    background-image: url(../internalpages/bundles/investordashboard/header.jpg);
    background-size: cover;
}

.infographics {
    background-image: url(../internalpages/bundles/info/header.jpg);
    background-size: cover;
    color:#FFF;
}

.natura-modal {
    background-image: url(../internalpages/bundles/natura-product-screen/header.jpg);
    background-size: cover;
    color:#FFF;
}

.brakeassist {
    background-image: url(../internalpages/bundles/brake-assist/header.jpg);
    background-size: cover;
}

.up2u {
    background-image: url(../internalpages/bundles/up2u/header.jpg);
    background-size: cover;
}

.ibrasil {
    background-image: url(../internalpages/bundles/ibrasil/header.jpg);
    background-size: cover;
    color: #FFF;
}

.sou {
    background-image: url(../internalpages/bundles/sou/header.jpg);
    background-size: cover;
}

.sms {
    background-image: url(../internalpages/bundles/sms/header.jpg);
    background-size: cover;
    color: #FFF;
}

.zencap {
    background-image: url(../internalpages/bundles/zencap-redesign/header.jpg);
    background-size: cover;
    color: #FFF;
}

.internal-portfolio {
    background-color: #011536;
    padding-top: 3em;
    padding-bottom: 3em;
    color: #FE5A70;
}

.portfolio-display-internal:hover {
    opacity: 0.9;
    border: 8px solid #FE5A70;
    padding: 4px;
    background-color: #FFF;
}

.margin-section {
    margin: 48px 0;
}

.max-img {
    max-width: 240px;
}

.add-margin-24 {
    margin-bottom: 24px;
}

.middle-top {
    position: relative;
    display: block;
    top: 13.3em;
    margin: 0 auto;   
}

/*Change background color - first section*/

.color-change-3x {
    -webkit-animation: color-change-3x 8s linear infinite alternate both;
    animation: color-change-3x 8s linear infinite alternate both;
}

@-webkit-keyframes color-change-3x {
    0% {
        background: #EAEDD3;
    }
    50% {
        background: #a5eaee;
    }
    100% {
        background: #b4ece8;
    }
}

@keyframes color-change-3x {
    0% {
        background: #EAEDD3;
    }
    50% {
        background: #a5eaee;
    }
    100% {
        background: #b4ece8;
    }
}


/*End of - Change background color - first section*/

.last-section {
    color: #FFF;
    background-color: #3E4542;
    font-weight: 400;
    padding: 10% 4%;
    
}

.last-section p {
    font-size: 20px;
    line-height: 32px;
}

.last-section p.small {
    font-size: 16px;
    line-height: 40px;
}

.img-circle {
    border-radius: 100%;
    margin-left: auto;
	margin-right: auto;
	display: block;
    border: 2px solid #FE5A70;
}


/*Title changing*/

.Iam {
    padding: 0m 2em;
}

.Iam p {
    font-family: 'Vidaloka', serif;
    font-size: 42px;
    line-height: 56px;
    font-weight: 400;
    height: 36px;
    float: left;
    margin-right: 0.3em;
}


/*controls position*/

.Iam b {
    float: left;
    overflow: hidden;
    position: relative;
    height: 56px;
    top: 0;
}

.Iam .innerIam {
    display: inline-block;
    position: relative;
    white-space: nowrap;
    top: 0;
    left: 0;
    /*End of title changing*/
    /*animation*/
    -webkit-animation: move 5s;
    -moz-animation: move 5s;
    -ms-animation: move 5s;
    -o-animation: move 5s;
    animation: move 7s;
    /*animation-iteration-count*/
    -webkit-animation-iteration-count: -moz-animation-iteration-count:infinite;
    -ms-animation-iteration-count: infinite;
    -o-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    /*animation-delay*/
    -webkit-animation-delay: 2s;
    -moz-animation-delay: 2s;
    -ms-animation-delay: 2s;
    -o-animation-delay: 2s;
    animation-delay: 2s;
}

@keyframes move {
    0% {
        top: 0px;
    }
    20% {
        top: -56px;
    }
    40% {
        top: -112px;
    }
    60% {
        top: -168px;
    }
}

@-webkit-keyframes move {
    0% {
        top: 0px;
    }
    20% {
        top: -56px;
    }
    40% {
        top: -112px;
    }
    60% {
        top: -168px;
    }
}

@-moz-keyframes move {
    0% {
        top: 0px;
    }
    20% {
        top: -56px;
    }
    40% {
        top: -112px;
    }
    60% {
        top: -168px;
    }
}

@-o-keyframes move {
    0% {
        top: 0px;
    }
    20% {
        top: -56px;
    }
    40% {
        top: -112px;
    }
    60% {
        top: -168px;
    }
}

@keyframes move {
    0% {
        top: 0px;
    }
    20% {
        top: -56px;
    }
    40% {
        top: -112px;
    }
    60% {
        top: -168px;
    }
}


/*zigzag section end*/

.first-section img.section-end {
    margin-top: 20px;
}

.section-end {
    margin-top: 20px;
    margin-bottom: 40px;
}


/*Individual parts*/

.portfolio-display {
    border-left: 1px solid #FFF;
    border-bottom: 1px solid #FFF;
}

.portfolio-display:hover {
    opacity: 0.9;
    border: 16px solid #FE5A70;
    padding: 10px;
    background-color: #FFF;
}

.fade-portfolio {
    opacity: 0.5;
}


/*images*/

.img-responsive {
    width: 100%;
}


/*mouse behaviors*/

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: line-through #FE5A70;
    color: #FE5A70;
}


/*appears expanded image*/

.foo img:last-child {
    display: none
}

.foo:hover img:first-child {
    display: none;
}

.foo:hover img:last-child {
    display: inline-block
}


/*eliminate space between cols*/

.no-gutters {
    margin-right: 0;
    margin-left: 0;
    >.col,
    >[class*="col-"] {
        padding-right: 0;
        padding-left: 0;
    }
}


/*Media query mobile*/

@media only screen and (max-width: 768px) {
    /*Title changing*/
    .Iam p {
        font-size: 36px;
    }
    /*zigzag section end*/
    .first-section img.section-end {
        margin-top: 10px;
    }
    .add-margin {
        margin: 16px 0;
    }
    /*Hide elemento from desktop*/
.add-margin-24-mobile {
    margin-bottom: 24px;
}
}