html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 127px;
    background-color: #ddd;
    color: #fff;
}

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

h2 {
    text-shadow: 1px 1px 1px rgba(50,50,50,1);
}

p {
    font-family: sans-serif;
    font-weight: 300;
}

section {
    padding: 50px 0;
}

.text-muted {
    color: #ccc;
}

/* Background carousel */

.carousel {
    z-index: -99;
}

.carousel .item {
    position: fixed; 
    width: 100%; height: 100%;
    -webkit-transition: opacity 1s;
    -moz-transition: opacity 1s;
    -ms-transition: opacity 1s;
    -o-transition: opacity 1s;
    transition: opacity 1s;
    opacity: 0.9;
    background-position: center center;
    background-size: cover;
    -moz-background-size: cover;
}

.carousel .item:nth-child(1) {
    background-image: url("../img/bg1.jpg");  
}

.carousel .item:nth-child(2) {
    background-image: url("../img/bg2.jpg");
}

.carousel .item:nth-child(3) {
    background-image: url("../img/bg3.jpg");
}

.carousel .item:nth-child(4) {
    background-image: url("../img/bg4.jpg");
}

.carousel .item:nth-child(5) {
    background-image: url("../img/bg5.jpg");
}

.carousel .item:nth-child(6) {
    background-image: url("../img/bg6.jpg");
}

.carousel .item:nth-child(7) {
    background-image: url("../img/bg7.jpg");
}

.carousel .item:nth-child(8) {
    background-image: url("../img/bg8.jpg");
}

.carousel .item:nth-child(9) {
    background-image: url("../img/bg9.jpg");
}

.carousel .item:after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: radial-gradient(rgba(0,0,0,0),#000);
  opacity: .6;
}

.carousel .active.left {
    left:0;
    opacity:0;
    z-index:2;
}

.draggable:hover {
    cursor: move;
}

.sombra {
    filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=12, OffY=12,
Color='#444')";
    filter: url(#drop-shadow);
    -webkit-filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.2));
    filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.2));
}

/* Main Section */

section#main {
    margin-top: 20px;
    height: 100vh;
}

@media (max-width: 768px) {
    section#main .row:nth-child(1) {
        margin-top: 50px;
    }
}

@media (min-width: 769px) {
    section#main .row:nth-child(3) {
        padding-top: 20px;
    }

    section#main .row:nth-child(5) {
        margin-bottom: -20px;
    }
}

@media (max-width: 992px) {
    section#main .row:nth-child(1) {
        padding-top: 30px;
    }

    section#main .row:nth-child(4) {
        padding-top: 20px;
    }
}

section#main #logo {
    height: 200px;
}

section#main #typed,
section#main #typed-strings p {
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    font-size: 2em;
    font-weight: 400;
}

section#main #blank {
    opacity: 0;
} 

section#main #typed a,
section#main #typed-strings p a {
    color: #fff;
    text-decoration: underline;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    transition: all 0.2s linear;
}

section#main #typed a:hover,
section#main #typed-strings p a:hover {
    color: #cf8729;
}

.typed-cursor{
    opacity: 1;
    color: #fff;
    font-size: 2em;
    -webkit-animation: blink 0.7s infinite;
    -moz-animation: blink 0.7s infinite;
    animation: blink 0.7s infinite;
}
@keyframes blink{
    0% { opacity:1; }
    50% { opacity:0; }
    100% { opacity:1; }
}
@-webkit-keyframes blink{
    0% { opacity:1; }
    50% { opacity:0; }
    100% { opacity:1; }
}
@-moz-keyframes blink{
    0% { opacity:1; }
    50% { opacity:0; }
    100% { opacity:1; }
}

section#main .icons {
    height: 100px;
    z-index: 99;
}

section#main #icon-mar {
    height: 106.5px;
    left: 12px;
    top: -30px;
}

@media (max-width: 1024px) {
    section#main .icons {
        height: 85px;
    }

    section#main .icons#icon-mar {
        height: 90px;
        left: 15px;
        top: -26px;
    }
}

@media (max-width: 992px) {
    section#main .icons {
        height: 75px;
    }

    section#main .icons#icon-mar {
        height: 80px;
        left: 30px;
        top: -23px;
    }
}

@media (max-width: 768px) {
    section#main .icons {
        height: 50px;
        margin-top: 20px;
    }

    section#main .icons#icon-mar {
        height: 53px;
        left: 3px;
        top: -15px;
        margin-top: 0px;
    }
}

section#main a i {
    font-size: 3em;
    color: #fff;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    transition: all 0.2s linear;
}

section#main a i:hover,
section#main a i:active,
section#main a i:focus {
    color: #cf8729;
}

/* About */

section#about-us {
    background-color: rgba(0,0,0,0.5);
    padding-top: 25px;
}

section#about-us .container:nth-child(1) {
    padding-bottom: 50px;
}

section#about-us p:nth-child(1) {
    margin-top: 50px;
}

section#about-us a {
    text-decoration: none;
    color: #fff;
}

section#about-us button {
    margin-top: 50px;
    background-color: #cf8729;
    box-shadow: 1px 1px 1px rgba(50,50,50,0.5);
    -webkit-transition: all 0.25s linear;
    -moz-transition: all 0.25s linear;
    -o-transition: all 0.25s linear;
    transition: all 0.25s linear;
}

section#about-us button .text-muted {
    -webkit-transition: all 0.25s linear;
    -moz-transition: all 0.25s linear;
    -o-transition: all 0.25s linear;
    transition: all 0.25s linear;
}

section#about-us button:hover {
    background-color: #a0641c;
}

section#about-us button:hover .text-muted {
    color: #444;
}

/* Galeria */

.galleria {
    height: 500px;
}

.galleria-theme-classic {
    background: rgba(0,0,0,0.75);
}

section#galeria {
    background-color: rgba(0,0,0,0.5);
}

section#galeria .row:nth-child(1) {
    padding-bottom: 30px;
}

section#galeria #links img {
    margin-bottom: 30px;
    box-shadow: 1px 1px 1px rgba(50,50,50,0.5);
    -webkit-transition: all 0.25s linear;
    -moz-transition: all 0.25s linear;
    -o-transition: all 0.25s linear;
    transition: all 0.25s linear;
}

section#galeria #links img:hover {
    opacity: 0.8;
    -ms-transform: scale(0.96); /* IE 9 */
    -webkit-transform: scale(0.96); /* Safari */
    transform: scale(0.96); /* Standard syntax */
}

/* Contactos */

section#contactos {
    background-color: rgba(0,0,0,0.5);
    min-height: 650px;
    min-height: 82vh;
    padding-top: 50px;
}

section#contactos h2 {
    margin-bottom: 30px;
}

#contactos-info a {
    color: #fff;
}

a#telefone {
    font-weight: 300;
    text-decoration: none;
}

.form-control {
    font-weight: 300;
    margin-top: -10px; 
}

textarea.form-control {
    height: 100px;
}

.floating-label-form-group {
    position: relative;
    margin-bottom: 0;
    /*padding-bottom: .5em;*/
    border-bottom: 1px solid #eee;
}

.floating-label-form-group input,
.floating-label-form-group textarea {
    z-index: 1;
    position: relative;
    padding-right: 0;
    padding-left: 0;
    border: 0;
    border-radius: 0;
    font-size: 1.2em;
    background: 0 0;
    box-shadow: none!important;
    resize: none;
    color: #fff;
}

.floating-label-form-group label {
    display: block;
    z-index: 0;
    position: relative;
    top: 2em;
    margin: 0;
    font-size: .85em;
    line-height: 1.764705882em;
    vertical-align: middle;
    vertical-align: baseline;
    opacity: 0;
    -webkit-transition: top .3s ease,opacity .3s ease;
    -moz-transition: top .3s ease,opacity .3s ease;
    -ms-transition: top .3s ease,opacity .3s ease;
    transition: top .3s ease,opacity .3s ease;
}

.floating-label-form-group::not(:first-child) {
    padding-left: 14px;
    border-left: 1px solid #eee;
}

.floating-label-form-group-with-value label {
    top: 0;
    opacity: 1;
}

.floating-label-form-group-with-focus label {
    color: #00adef;
}

/*form .row:first-child .floating-label-form-group {
    border-top: 1px solid #eee;
}*/

.btn-success {
    background-color: transparent;
    border-color: #fff;
}

.btn-success:hover,
.btn-success:active,
.btn-success:focus {
    background-color: #222;
    border-color: #fff;
}

/* Footer */

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: 127px;
    /*background-color: rgba(255,255,255,0.2);*/
    background-color: rgba(0,0,0,0.5);
    overflow: hidden;
}

.footer img {
    left: 0;
    bottom: 0;
    position: absolute;
    width: 100%;
    opacity: 0.9;
}

.footer p {
    /*color: #cf8629;*/
    color: #fff;
    text-shadow: 1px 1px 1px rgba(50,50,50,1);
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

@media (max-width: 1024px) {
    body {
        margin-bottom: 100px;
    }

    .footer {
        height: 100px;
    }

    .footer img {
        width: auto;
        height: 100px;
        max-width: none;
    }
}

.footer .container {
    bottom: 0;
    position: absolute;
    width: 100%;
    padding-bottom: 5px;
}

@media (max-width: 768px) {
    .footer .container {
        width: 50%;
        right: 20px;
        text-align: right;
    }
}

/* remover cor do autofill do chrome */

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
    -webkit-text-fill-color: #fff;
}