body {
    background: #fff;
    color: #666666;
    font-family: 'Ubuntu', sans-serif;
}

a {
    color: #7f1416;
    transition: 0.5s;
}

a:hover,
a:active,
a:focus {
    color: #2e2e2e;
    outline: none;
    text-decoration: none;
}

p {
    padding: 0;
    margin: 0 0 30px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 400;
    margin: 0 0 20px 0;
    padding: 0;
}

hr {
    border: 1px solid #;
    margin: 0;
}

/* Back to top button */

.back-to-top {
    position: fixed;
    display: none;
    background: #18d26e;
    color: #fff;
    width: 44px;
    height: 44px;
    text-align: center;
    line-height: 1;
    font-size: 16px;
    border-radius: 50%;
    right: 15px;
    bottom: 15px;
    transition: background 0.5s;
    z-index: 11;
}

.back-to-top i {
    padding-top: 12px;
    color: #fff;
}

/* Prelaoder */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    overflow: hidden;
    background: #fff;
}

#preloader:before {
    content: "";
    position: fixed;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    border: 4px dotted #f2f2f2;
    border-top: 4px dotted #9FB0B7;
    border-radius: 50%;
    width: 60px;
    height: 60px;
        -webkit-animation: animate-preloader 1s linear infinite;
    animation: animate-preloader 1s linear infinite;
}

@-webkit-keyframes animate-preloader {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes animate-preloader {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

#header {
    padding: 7px 0;
    height: 37px;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    transition: all 0.5s;
    z-index: 997;
    background-color: rgba(159, 176, 183, 0.64);
}

#header.header-scrolled {
    transition: all 0.5s;
}

#header #logo {
    float: center;
}

#header #logo h1 {
    font-size: 34px;
    margin: 0;
    padding: 0;
    line-height: 1;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 700;
    letter-spacing: 3px;
}

#header .logo {
    position: absolute;
    top: calc(200% - -100px) ;
    width: 360px;
    left: calc(50% - 180px);
}

.logo-menu {
    height: 115px;
    padding-left: 35px;
    margin-bottom: 25px;
}

#header #logo img {
    margin: 0;
/*    filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.69))*/
}

@media (max-width: 768px) {
    #header {
        background: none;
    }
    
    #header .logo {
/*        top: calc(300% - 0px) ;*/
/*        left: calc(50% - 170px);*/
    }

    #header #logo img {
        transform: scale(0.7);
        position: absolute;
        top: calc(200% - -60px) ;
        left: calc(50% - 180px);
    }
}

@media (max-width: 992px) {
    #header {
        background: none;
    }
}

/*---------------
# Institucional
---------------*/

#intro {
    display: table;
    width: 100%;
    height: 100vh;
    background: #000;
}

#intro .carousel-item {
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#intro .carousel-item::before {
    content: '';
/*    background-color: #9FB0B7;*/
    background: linear-gradient(rgba(159, 176, 183, 0.2), rgba(159, 176, 183, 0));
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
}

#intro .carousel-container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
}

#intro .carousel-background img {
    max-width: 100%;
}

#intro .carousel-content {
    text-align: center;
    width: 80%;
    max-width: 630px;
}

#intro h2 {
    color: #fff;
    font-size: 30px;
    margin: 175px 0 0 0;
    font-weight: 700;
}

#intro h5 {
/*    text-transform: uppercase;*/
    color: rgba(255, 255, 255, 0.56);
    font-size: 14px;
}

#intro p {
    width: 80%;
    margin: 0 auto 30px auto;
    color: #fff;
}

#intro .carousel-fade {
    overflow: hidden;
}

#intro .carousel-fade .carousel-inner .carousel-item {
    transition-property: opacity;
}

#intro .carousel-fade .carousel-inner .carousel-item,
#intro .carousel-fade .carousel-inner .active.carousel-item-left,
#intro .carousel-fade .carousel-inner .active.carousel-item-right {
    opacity: 0;
}

#intro .carousel-fade .carousel-inner .active,
#intro .carousel-fade .carousel-inner .carousel-item-next.carousel-item-left,
#intro .carousel-fade .carousel-inner .carousel-item-prev.carousel-item-right {
    opacity: 1;
    transition: 0.5s;
}

#intro .carousel-fade .carousel-inner .carousel-item-next,
#intro .carousel-fade .carousel-inner .carousel-item-prev,
#intro .carousel-fade .carousel-inner .active.carousel-item-left,
#intro .carousel-fade .carousel-inner .active.carousel-item-right {
    left: 0;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

#intro .carousel-control-prev,
#intro .carousel-control-next {
    width: 10%;
}

#intro .carousel-control-next-icon,
#intro .carousel-control-prev-icon {
    background: none;
    font-size: 32px;
    line-height: 1;
}

#intro .carousel-indicators li {
    cursor: pointer;
}

#intro .btn-get-started {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 8px 32px;
    border-radius: 50px;
    transition: 0.5s;
    margin: 10px;
    color: #fff;
    background: #18d26e;
}

#intro .btn-get-started:hover {
    background: #fff;
    color: #18d26e;
}

/*--------------------------------------------------------------
# Menu
--------------------------------------------------------------*/

/* Nav Menu Essentials */

.nav-menu,
.nav-menu * {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-menu ul {
    position: absolute;
    display: none;
    top: 100%;
    left: 0;
    z-index: 99;
}

.nav-menu li {
    position: relative;
    white-space: nowrap;
}

.nav-menu > li {
    float: left;
}

.nav-menu li:hover > ul,
.nav-menu li.sfHover > ul {
    display: block;
}

.nav-menu ul ul {
    top: 0;
    left: 100%;
}

.nav-menu ul li {
    min-width: 180px;
}

.nav-menu i {
    font-size: 17px;
    
}

/* Nav Menu Arrows */

.sf-arrows .sf-with-ul {
    padding-right: 30px;
}

.sf-arrows .sf-with-ul:after {
    content: "\f107";
    position: absolute;
    right: 15px;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
}

.sf-arrows ul .sf-with-ul:after {
    content: "\f105";
}

/* Nav Meu Container */

#nav-menu-container {
    float: center;
    margin: 0;
}

/* Nav Meu Styling */

.nav-menu a {
    padding: 0 8px 10px 8px;
    text-decoration: none;
    display: inline-block;
    color: #fff;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    outline: none;
    transition: all 0.2s;
}

.nav-menu li:hover > a,
.nav-menu > .menu-active > a {
    color: #626e72;
    transform: scale(1.15);
}

.nav-menu > li {
    margin-left: 10px;
    color: rgba(255, 255, 255, 0.77);
}

.nav-menu .atendimento {
    font-size: 13px;
    margin-top: 2px;
    text-transform: uppercase;
    font-weight: 00;
    color: #fff;
}

.nav-menu ul {
    margin: 4px 0 0 0;
    padding: 10px;
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
    background: #fff;
}

.nav-menu ul li {
    transition: 0.3s;
}

.nav-menu ul li a {
    padding: 10px;
    color: #333;
    transition: 0.3s;
    display: block;
    font-size: 13px;
    text-transform: none;
}

.nav-menu ul li:hover > a {
    color: #6E3584;
}

.nav-menu ul ul {
    margin: 0;
}

/* Mobile Nav Toggle */

#mobile-nav-toggle {
    position: fixed;
    right: 0;
    top: 0;
    z-index: 999;
    margin: 16px 16px 0 0;
    border: 0;
    background: none;
    font-size: 24px;
    display: none;
    transition: all 0.4s;
    outline: none;
    cursor: pointer;
}

#mobile-nav-toggle i {
    color: #fff;
}

/* Mobile Nav Styling */

#mobile-nav {
    position: fixed;
    top: 0;
    padding-top: 18px;
    bottom: 0;
    z-index: 998;
    background: rgba(255, 255, 255, 0.90);
    left: -300px;
    width: 300px;
    overflow-y: auto;
    transition: 0.4s;
}

#mobile-nav ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

#mobile-nav ul li {
    position: relative;
}

#mobile-nav ul li a {
    color: #60808d;
    font-size: 16px;
    overflow: hidden;
    padding: 10px 22px 10px 15px;
    position: relative;
    text-decoration: none;
    width: 100%;
    display: block;
    display: -webkit-inline-box;
    outline: none;
    font-weight: 400;
    font-family: 'Ubuntu', sans-serif;
}

#mobile-nav ul li span {
    margin-left: 10px;
}

#mobile-nav ul li a:hover {
    color: #9FB0B7;
}

#mobile-nav ul li li {
    padding-left: 30px;
}

#mobile-nav ul .menu-has-children i {
    position: absolute;
    right: 0;
    z-index: 99;
    padding: 15px;
    cursor: pointer;
    color: #fff;
}

#mobile-nav ul .menu-has-children i.fa-chevron-up {
    color: #E2007A;
}

#mobile-nav ul .menu-has-children li a {
    text-transform: none;
}

#mobile-nav ul .menu-item-active {
    color: #18d26e;
}

#mobile-body-overly {
    width: 100%;
    height: 100%;
    z-index: 997;
    top: 0;
    left: 0;
    position: fixed;
    background: rgba(0, 0, 0, 0.7);
    display: none;
}

/* Mobile Nav body classes */

body.mobile-nav-active {
    overflow: hidden;
}

body.mobile-nav-active #mobile-nav {
    left: 0;
}

body.mobile-nav-active #mobile-nav-toggle {
    color: #fff;
}


/*Responsive*/

@media (min-width: 768px) {

    #contact .contact-address,
    #contact .contact-phone,
    #contact .contact-email {
        padding: 0 0 10px 0;
    }
}

@media (min-width: 992px) {
    #testimonials .testimonial-item p {
        width: 80%;
    }
}

@media (min-width: 1024px) {
    #header #logo {
        padding-left: 60px;
    }

    #intro p {
        width: 60%;
    }

    #intro .carousel-control-prev,
    #intro .carousel-control-next {
        width: 5%;
    }

    #nav-menu-container {
/*        padding-right: 60px;*/
    }
}

@media (max-width: 992px) {
    .back-to-top {
        bottom: 15px;
    }

    #header #logo h1 {
        font-size: 28px;
    }

    #intro h2 {
        font-size: 28px;
    }

    #nav-menu-container {
        display: none;
    }

    #mobile-nav-toggle {
        display: inline;
    }
}

/*MODAL*/
.modal-title {
    line-height: 100%;
}

.modal-body {
    font-size: 23px;
    padding: 0;
    
}

.modal-body p {
    font-size: 16px;
    text-align: justify;
    margin-bottom: 18px;
    font-weight: 300;
    text-indent: 30px;
}

.modal span {
    font-weight: 700;
}

.modal .texto {
    padding: 0 30px;
}

.modal-body .btn {
    margin: 15px;  
}

.modal-body .thumbs {
    padding: 10px;
}

.modal-body .thumbs img {
    border: 1px solid rgba(226, 0, 122, 0.53);
    margin-bottom: 20px;
    border-radius: 5px;
}

.modal-body figcaption {
    font-size: 14px;
    color: #aaa;
}

.modal .logo {
    width: 280px;
    position: relative;
    padding: 10px 0;
    left: calc(50% - 140px);
    border: 1px s:olid red;
}

.modal .contatos {
    padding: 20px;
}

.modal .fones {
    text-align: center;
}

.modal .contatos p {
    text-align: center;
    padding-bottom: 10px;
}

.modal .contatos h5 {
    text-align: center;
    padding-bottom: 10px;
}

.modal .fones a {
    color: #626e72;
    transition: all 0.3s;
    font-size: 20px;
}

.modal .fones i {
    color: #626e72;
    transition: all 0.3s;
    font-size: 70px;
    padding-bottom: 10px;
}

.modal .fones i:hover {
    color: #9FB0B7;
    transform: scale(1.1);
}

.modal .fones p {
    font-size: 13px;
}

.modal li {
    font-size: 16px;
    color: #666;
    font-weight: 300;
}

@media (max-width: 768px) {
    .modal .contatos p {
        font-size: 15px;
    }

    .modal .contatos h5 {
        font-size: 20px;
    }

    .modal .fones a {
        color: #6E3584;
        transition: all 0.3s;
        font-size: 16px;
    }

    .modal .fones i {
        transition: all 0.3s;
        font-size: 50px;
    }

    .modal .fones p {
        font-size: 13px;
        padding: 0;
        margin: 0;
    }

}

.mediatom {
    position: fixed;
    text-align: center;
    font-size: 9px;
    color: #fff;
    padding: 0 20px 20px 0;
    bottom: 0;
    right: 0;
    z-index: 9
}

.mediatom img {
    width: 34px;
    transition: all 0.3s;
}

.mediatom img:hover {
    transform: scale(1.5);
}

@media (max-width: 768px) {
    .mediatom img {
        width: 30px;
    }
}

.scroll-anchor {
    position: absolute;
    top: -50px;
}
