/*
Theme Name: MFLab Theme
Theme URI: https://www.mflab.mecanica.ufu.br/
Author: Johnatas, Abia
Author URI: https://www.mflab.mecanica.ufu.br/
Description: MFLab theme for wp
Version: 0.1
Text Domain: mflab
*/

body {
    margin: 0;
    padding: 0;
}

header {
    background: transparent !important;
    position: fixed;
    width: 100%;
    top: 0;
    border-bottom: 1px solid transparent;
    z-index: 9000;
}

header.header-fixed {
    background: #fff !important;
    border-bottom: 3px solid #00509e;
}

header.header-fixed-contrast {
    background: #c0f !important;
    border-bottom: 3px solid #00509e;
}

.navbar-nav .active > .nav-link {
    font-weight: 700;
}

.acs-wrapper {
    background: #00509e;
}

.lang-toggle {
    margin-right: 5px;
    cursor: pointer;
}

.accessibility {
    list-style: none;
    text-align: right;
    margin-bottom: 0;
    padding-left: 0;
}

.accessibility > li {
    display: inline-block;
    padding: 5px 10px;
    font-size: 12px;
    text-transform: uppercase;
}

.accessibility > li > a,
.accessibility > li > a:hover,
.accessibility > li > a:focus
{
    color: #fff;
}

.navbar {
    padding-bottom: 0;
}

.mflab-logo {
    width: 151px;
    height: 120px;
}

.menu-top {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 70%;
}

.menu-top .btn-group {
    margin-right: 0px;
}

.menu-top .btn-group > .btn {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    font-family: 'Roboto', sans-serif;
}

.menu-top .form-inline {
    padding-top: 30px;
}

.nav-mflab {
    padding-top: 90px;
}

.nav-mflab a {
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding-left: 20px;
    padding-right: 20px;
}

.header-fixed .nav-item.active a {
    background: #00509e;
    color: #fff;
}

.header-fixed .nav-mflab a {
    color: #333;
}

.header-fixed .navbar-toggler {
    background-color: #343a40 !important;
    border-color: #343a40 !important;
}

.header-fixed .navbar-toggler-icon {
    width: auto;
    height: auto;
}

.top-search-input.active {
    border-top-color: #6c757d;
    border-left-color: #6c757d;
    border-bottom-color: #6c757d;
}

.nav-item.active a {
    font-weight: 700;
}

.vidcall {
    width: 100%;
    height: 100vh;
    position: relative;
    z-index: -110;
}

.bg_video {
    position: fixed;
    top: 50%; 
    left: 50%;
    z-index: -99;
    min-width: 130%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
}

.vidcall h1 {
    font-family: 'Poppins', sans-serif;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    font-weight: 700;
    line-height: 55px;
    width: 40%;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 2px 2px rgba(0,0,0,0.1);
}

.vidcall h1 > small {
    display: block;
    font-size: 22px;
    text-align: center;
}

.presentation {
    padding-top: 80px;
    padding-bottom: 100px;
    background: #f3f3f3;
}

.presentation h3 {
    font-family: 'Roboto', sans-serif;
}

.areas {
    background: #fff;
    padding: 80px 0;
}

.area {
    margin: 15px 0;
    padding: 20px;
    border: 1px solid rgba(0,0,0,.1); 
    height: 300px;
}

.area:hover, .area:focus {
    border-radius: 10px;
    -webkit-box-shadow: 0px 0px 7px 5px rgba(0,0,0,0.1);
    -moz-box-shadow: 0px 0px 7px 5px rgba(0,0,0,0.1);
    box-shadow: 0px 0px 7px 5px rgba(0,0,0,0.1);
}

.area-icon {
    width: 100%;
    height: 65px;
    text-align: center;
}

.area h4 {
    font-family: 'Poppins', sans-serif;
    margin: 20px 0;
    font-size: 18px;
    text-align: center;
    font-weight: 700;
    color: #00509e;
}

.area p {
    text-align: justify;
    color: #555;
    font-family: 'Open Sans', sans-serif;
}

.pps {
    padding: 100px 0;
    background: #f3f3f3;
}

.pps h2 {
    font-family: 'Roboto', sans-serif;
    border-bottom: 2px solid #00509e;
    margin-bottom: 20px;
    font-size: 22px;
    padding-bottom: 10px;
}

.pps h2 > span {
    background: #00509e;
    color: #fff;
    padding: 10px 20px;
}

.pps img {
    margin-bottom: 20px;
}

.pps p {
    text-align: justify;
    font-family: 'Open Sans', sans-serif;
}

.pps a {
    font-family: 'Open Sans', sans-serif;
    color: #333;
}

.pps a:hover, 
.pps a:focus {
    color: #00509e;
    text-decoration: none;
}

.pps ul {
    list-style: none;
}

.pps ul > li {
    border-top: 2px solid rgba(0,0,0,.1);
    padding: 10px 0;
}

.pps ul > li:first-of-type {
    border-top: 2px solid transparent;
}

/* internas */



/*-------- história ---------*/

.resumee-history {
    padding-top: 250px;
    padding-bottom: 80px;
    background: #f3f3f3;
}

.resumee-history h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 28px;
}

.resumee-history p {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    text-align: justify;
}

.timeline-wrapper {
    padding: 100px 0;
}

.timeline-wrapper h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 28px;
    margin-bottom: 50px;
}

.timeline {
    position: relative;
    padding: 50px 0;
}

.timeline::before {
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    width: 4px;
    background: rgba(0,0,0,.2);
}

.timeline-element {
    display: -ms-flexbox;
    display: flex;
    position: relative;
    z-index: 1;
    margin-bottom: 2em;
}

.timeline-element:nth-child(even) {
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
}

.timeline-year {
    width: 80px;
    height: 80px;
    -ms-flex-order: 1;
    order: 1;
    margin-left: calc(1%);
    will-change: transform;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    background: #00509e;
    border-radius: 50%;
}

.timeline-element:nth-child(even) > .timeline-year {
    margin-left: 0;
    margin-right: calc(1%);
}

.timeline-year h4 {
    text-align: center;
    margin: 0;
    color: #fff;
    font-family: 'Roboto', sans-serif;
}

.timeline-event {
    padding: 30px 20px;
    background: #f3f3f3;
    width: 45%;
    position: relative;
    border-radius: 15px;
    -webkit-transition: background-color 2s ease-out;
    -moz-transition: background-color 2s ease-out;
    -o-transition: background-color 2s ease-out;
    transition: background-color 2s ease-out;
}

.timeline-event::before {
    content: '';
    position: absolute;
    top: 24px;
    right: auto;
    left: 100%;
    width: 0;
    height: 0;
    border: 7px solid transparent;
    border-left-color: #00509e;
}

.timeline-element:nth-child(even) > .timeline-event::before {
    left: auto;
    right: 100%;
    border-left-color: transparent;
    border-right-color: #00509e;
}

.timeline-event p {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    text-align: justify;
    color: #333;
    margin-bottom: 0;
}

.timeline-event:hover,
.timeline-event:focus {
    background: #00509e;
}

.timeline-event:hover p,
.timeline-event:focus p {
    color: #fff;
}

/*---------- equipe -----------*/

.team-wrapper {
    background: #fff;
    padding: 80px 0;
    margin-top: 200px;  
}

.team-member {
    margin: 15px 0;
    padding: 20px;    
    border: 1px solid rgba(0,0,0,.1);
    text-align: center;   
}

.team-member:hover, 
.team-member:focus {
    border-radius: 10px;
    -webkit-box-shadow: 0px 0px 7px 5px rgba(0,0,0,0.1);
    -moz-box-shadow: 0px 0px 7px 5px rgba(0,0,0,0.1);
    box-shadow: 0px 0px 7px 5px rgba(0,0,0,0.1);
}

.team-member-img {
    width: 100%;
    height: 100%;
    margin: 10px 0;    
}

.rounded-circle {
    width: 120px;
    height:120px
}

.team-member h4 {
    font-family: 'Poppins', sans-serif;
    margin: 20px 0;
    font-size: 18px;
    text-align: center;
    font-weight: 400;
    color: #00509e;
}

.team-member p {
    text-align: justify;
    color: #555;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
}
  
/*--------- contato ------------*/

.map-wrapper {
    padding-top: 170px;
}

.contato {
    padding-top: 40px;
    padding-bottom: 100px;
    background: #f3f3f3;
}

.google-maps {
    position: relative;
    height: 450px;
    overflow: hidden;
}

.scrolloff {
    pointer-events: none;
}

.google-maps iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
}

.contato address {
    border-left: 3px solid #00509e;
    padding-left: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-family: 'Open Sans', sans-serif;
}

.contact-link {
    text-align: right;
    margin-bottom: 0;
}

.contact-link > a { 
    color: #333;
    font-family: 'Open Sans', sans-serif;
}

.contato-form {
    padding-top: 50px;
    padding-bottom: 100px;
    position: relative;
}

.contato-form .form-group {
    position: relative;
    margin-bottom: 20px;
}

.contato-form  .form-group > input,
.contato-form  .form-group > textarea {
    position: relative;
    display: block;
    width: 100%;
    background: #f3f3f3;
    border-radius: 31px;
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    color: #333;
    line-height: 1.2;
    outline: none;
    border: none;
    height: 62px;
    padding: 0 35px 0 35px;
}

.contato-form  .form-group > textarea {
    height: auto;
}

.doIt {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    min-width: 150px;
    height: 62px;
    background-color: transparent;
    border-radius: 31px;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    color: #fff;
    line-height: 1.2;
    text-transform: uppercase;
    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    -moz-transition: all 0.4s;
    transition: all 0.4s;
    position: relative;
    z-index: 1;
}

.doIt::before {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    top: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    border-radius: 31px;
    background-color: #00509e;
    pointer-events: none;
    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    -moz-transition: all 0.4s;
    transition: all 0.4s;
}

.doIt:hover:before {
    background-color: #00509e;
    width: calc(100% + 20px);
}

.form-group {
    position: relative;
}

.form-control-error {
    background: #fb434a;
    padding: 5px 8px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    position: absolute;
    right: 0;
    bottom: 37px;
    margin-bottom: 8px;
    max-width: 230px;
    font-size: 80%;
    z-index: 1;
}

.form-control-error:after {
    width: 0px;
    height: 0px;
    content: '';
    display: block;
    border-style: solid;
    border-width: 5px 5px 0;
    border-color: #fb434a transparent transparent;
    position: absolute;
    right: 20px;
    bottom: -4px;
    margin-left: -5px;
}

.form-control-error ul {
    list-style: none;
    color: #ffffff;
    padding: 0px;
    margin: 0px;
}

.form-control-error-list ul {
    list-style: none;
    color: #fb434a;
    padding: 0px;
    margin: 5px 0px 0px 0px;
    font-size: 80%;
    font-weight: 400;
}

.has-danger .select2-selection--single, .has-danger .select2-selection--multiple {
    border-color: #fb434a !important;
}

/* pesquisa /eventos*/

/*----------- imprensa ------------*/


.publication-wrapper {
    margin-top: 300px;
}

.publication-wrapper h2  {
    font-family: 'Poppins', sans-serif;
    border-bottom: 2px solid #00509e;
    margin-bottom: 20px;
    font-size: 22px;
    padding-bottom: 10px;
    text-align: right !important;
    font-weight: 500;
    margin-top: 0;
    box-sizing: border-box;
}

.project {
    
}

.project > h4 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 18px;
    text-align: justify;
}

.proj-content {
    padding-left: 20px;
}

.proj-content p,
.proj-content li {
    font-family: 'Open Sans', sans-serif;
    text-align: justify;
}

.proj-content ul {
    padding-left: 0;
}

.proj-more {
    display: none;
}

.keep-reading {
    color:  #00509e;
    text-decoration: underline;
    cursor: pointer;
}

.publication-wrapper ul {
    margin-bottom: 60px;    
}

.publication-wrapper ul > li {
    border-bottom:  2px solid rgba(0,0,0,.1);
    padding: 10px 0;
}

.seminarios {
    padding-bottom: 50px;
}

.seminario {
    margin-top: 30px;
    padding-top: 20px;
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;
    border-right: 3px solid rgba(0,0,0,.9);
}

.seminario:hover, 
.seminario:focus {
    background: #f3f3f3;
}

.seminario > h5 {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    text-align: justify;
}

.seminario > p {
    font-family: 'Open Sans', sans-serif;
    text-align: justify;
    position: relative;
}

.seminario > p > span.time {
    display: block;
    position: absolute;
    right: 5px;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    color: #333;
    font-weight: 700;
}

.evento {
    margin-top: 40px;
}

.evt-img {
    text-align: center;
    margin-bottom: 20px;
}

.evento > h5 {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    text-align: center;
}

/*------------- acessibilidade e contrastre---------*/

.highcontrast .acs-wrapper,
.highcontrast .btn {
    background-color: black !important;
} 

.highcontrast .btn {
    border-color: white !important;
}

.highcontrast .header-fixed {
    background: black !important;
    border-color: white !important;
    border-bottom: 1px solid transparent;
    border-color: transparent !important;
    color: white !important;
}

.highcontrast .nav-item > a {
    color: white !important;
}

.highcontrast .nav-item.active > a {
    background: #fff !important;
    color: #000 !important;
}

.highcontrast .presentation,
.highcontrast .presentation *,
.highcontrast .areas,
.highcontrast .areas *,
.highcontrast .pps,
.highcontrast .resumee-history, 
.highcontrast .resumee-history *,
.highcontrast .timeline-wrapper, 
.highcontrast .contato,
.highcontrast .contato *,
.highcontrast .contato-form {
    background-color: black !important;
    color: white !important;
}

.highcontrast .area {
    border-color: #fff !important;
}

.highcontrast .pps h2 {
    border-color: #fff !important;
}

.highcontrast .pps h2 > span {
    background: #fff !important;
    color: #000 !important;
}

.highcontrast .pps a {
    color: #fff !important;
}

.highcontrast .pps ul > li {
    border-color: #fff;
}

.highcontrast .pps ul > li:first-of-type {
    border-color: transparent !important;
}

.highcontrast .timeline::before {
    background: #fff !important;
}

.highcontrast .timeline-event {
   -webkit-transition: none;
    -moz-transition: none;
    -o-transition: none;
    transition: none;
}

.highcontrast .timeline-event:focus,
.highcontrast .timeline-event:hover {
    background: #fff;
}

.highcontrast .timeline-event:hover p,
.highcontrast .timeline-event:focus p {
    color: #000;
}

.highcontrast .timeline-event::before {
    border-left-color: #fff;
}

.highcontrast .timeline-element:nth-child(even) > .timeline-event::before {
    border-right-color: #fff;
}

.highcontrast .timeline-year {
    background: #fff;
}

.highcontrast .timeline-year > h4 {
    color: #000;
}

.highcontrast .doIt {
    border-color: transparent !important;
}

.embed-container { 
    position: relative; 
    padding-bottom: 56.25%; 
    height: 0; 
    overflow: hidden; 
    max-width: 100%; 
} 

.embed-container iframe, 
.embed-container object, 
.embed-container embed { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
}


/*------------- general content ---------*/

.content-wrapper {
    padding-top: 200px;
}

.page-title {
    font-family: 'Open Sans', sans-serif;
    text-align: center;
    padding-bottom: 50px;
}

/*------------- responsive configs ---------*/

@media (max-width: 400px) {
    
    
    .mflab-logo, 
    .mflab-logo-fixed {
        width: 76px;
        height: 60px;
    }
    
    .accessibility > li {
        font-size: 10px;
    }
    
    .navbar-brand {
        width: 150px;
        height: auto;
    }

    .menu-top {
        display: none;
    }

    .navbar-toggler-icon {
        color: #fff;
    }

    #menu {
        background-color: #fff;
        border: 1px solid rgba(0,0,0,.1);
        border-top: 3px solid #0011ad;
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
        padding-left: 15px; 
        padding-top: 10px;
        margin-bottom: 15px;
    }

    .nav-mflab {
        padding-top: 0px;
    }

    .nav-mflab a {
        color: #333;
        font-size: 16px;
    }

    .nav-item {
        border-bottom: 1px solid rgba(0,0,0,.1);
        margin-top: 7px;
        padding-left: 10px;
    }

    .header-fixed .nav-item.active a {
        background: transparent;
        color: #00509e;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        padding-left: 0px;
        padding-right: 0px;
    }

    .form-mobile {
        margin-top: 10px;
    }

    .vidcall h1 {
        font-size: 25px;
        line-height: 30px;
    }

    .vidcall h1 > small {
        font-size: 18px;
    }
    
    .presentation {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    
    .presentation h3 {
        font-size: 18px;
    }
    
    .areas {
        padding: 40px 0;
    }
    
    .pps {
        padding-top: 60px;
        padding-bottom: 40px;
    }
    
    .pps h2 {
        font-size: 18px;
    }
    
    .team {
        margin-bottom: 40px;
    }
        
    .resumee-history {
        padding-top: 150px;
        padding-bottom: 40px;
    }
    
    .timeline-wrapper {
        padding: 40px 0;
    }
    
    .publication-wrapper {
        margin-top: 150px;
    }
    
    .team-wrapper {
        margin-top: 50px;
    }
    
    .map-wrapper {
        padding-top: 105px;
    }
    
    .contato {
        padding-bottom: 40px;
    }
}