@import 'https://fonts.googleapis.com/css?family=Raleway:400,600';

 /*=====================================================================================================
                                       0 - REGRAS GERAIS DO SITE 
======================================================================================================= */

.main-container .col-sm-6:nth-child(2n+1){ clear: left; } /*  Bootstrap Clearfix */
html {
    font-size:16px;
    font-family: Georgia, Arial,  sans-serif, "Helvetica Neue";
}
body {
    font-size: 0.8750em;
    font-family: Georgia, Arial,  sans-serif, "Helvetica Neue";
}
a {
    color: #6e403e;
    text-decoration: none;
}
ul {
    list-style-type: none;
}
h2, h3 {
    color: #4a136c;
}

/*=====================================================================================================
                                        1 - TOPO DO SITE 
======================================================================================================= */
.header-main {
    background: #0b3665;
    background: linear-gradient(#0b3665,#1c4f88);
}
.header-main .info {
     background: url(/sites/portal.ufba.br/themes/portal_ufba/images/bg_topo.gif);
     background-position: left;
    background-repeat: no-repeat;
}
ul.acessibilidade {
	list-style-type:none;
	float: right;
	margin-top:12px;
    border-bottom: 1px dotted #fff;
    padding-bottom: 2px;
	padding-left:0;
}
ul.acessibilidade li {
	display:inline;
    margin-left: 15px
}
ul.acessibilidade li:first-child {
    margin-left: 0
}
ul.acessibilidade li a {
	color:#fff;
    text-transform: uppercase;
    font-size: 10px;
}
ul.midias-sociais {
	list-style-type:none;
	float: right;
	margin-top:-8px;
	padding-left:0;
}
ul.midias-sociais li {
	display:inline;
}
.search .form-search {
    width: 80%;
    float: right;
}
.search .form-control {
    border-radius:0;
}
.search .btn-secondary {
    color: #fff;
    background: linear-gradient(to bottom, #36689d 0%,#0c3867 100%);
    border: 1px solid #17487e;
}
.search .btn-secondary:hover {
	background-color: #0a3665;
}
.search .form-control {
    border: 1px solid #184a81;
}


/****** HIGH CONTRAST ******/
.highcontrast {
  background: black !important;
  color: white !important;
  border-color: white !important;
}
.highcontrast *,
.highcontrast *:before,
.highcontrast *:after {
  background-color: black !important;
  color: white !important;
  border-color: white !important;
}
.highcontrast #header {
  background: black;
  background-image: none !important;
}
.highcontrast #navbar,
.highcontrast #navbar *,
.highcontrast #page-header .menu * {
  background: #eee !important;
  color: black !important;
}
.highcontrast .header-main .info {
    background: none;
}
.highcontrast .region-sidebar-first .block-title,
.highcontrast #header .header-top .shortcuts li span {
  background: #333 !important;
}
.highcontrast .region-content a {
  color: #fff333 !important;
  text-decoration: underline !important;
}
.highcontrast .no-contrast,
.highcontrast .no-contrast * {
  background-color: #ccc !important;
  color: black !important;
  border-color: black !important;
}
.highcontrast #page-header .block-menu .block-title {
  /*background: black url(../images/destaque-arrow.png) no-repeat right bottom;*/
  background: black;
}
.highcontrast #page-header .block-menu .menu,
.highcontrast #page-header .block-menu .menu li,
.highcontrast #page-header .block-menu .menu li a {
  background-color: #ccc !important;
}
.highcontrast #page-header .block-menu .menu > li:last-child {
  border-right: none !important;
}
.highcontrast .contextual-links-wrapper {
  background-color: #ccc !important;
}
.highcontrast .contextual-links-wrapper * {
  background-color: #ccc !important;
}
.highcontrast .slider-principal, .highcontrast .header-main, .highcontrast  .catalogo-servicos, .highcontrast .central-servicos  {
	background-color:#000 !important;
	background-image: none !important;
}
.highcontrast .rodape {
    background: #000;
}
.highcontrast .rodape footer {
    background: none;
    }


/*=====================================================================================================
                                          2 - NAVEGACAO DO SITE 
======================================================================================================= */

@media (min-width: 768px) {
.navbar {
	border:none;
	min-height:30px;
	margin-bottom:10px;
	font-size:19px;
}
.nav>li>a {
    padding: 10px 20px;
    color:#fff;
}
.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover {
    color: #efefef;
    background-color: transparent;
}
.navbar-default {
    background-color: transparent;
    border-color: none;
}
.navbar-default .navbar-nav>li>a {
    color: #fff;
}
.navbar-nav>li>a {
    padding-top: 8px; 
    padding-bottom: 8px; 
}
.navbar-nav > li > a:hover {
    color: #fff !important;
    }
.dropdown-menu > li > a:focus, .dropdown-menu > li > a:hover {
    background-color: inherit;
}
.dropdown-menu > li > a {
    font-size: 14px;
    display: block;
    padding: 6px 10px;
}
.dropdown-menu{
    border:0;
    }
.navbar-nav>li:nth-child(1) {
    background: #1A4087;
}
.navbar-nav>li:nth-child(1) .dropdown-menu>li {
    border-bottom:1px solid #1A4087;
}
.navbar-nav>li:nth-child(2) {
    background: #919D00;
}
.navbar-nav>li:nth-child(2) .dropdown-menu>li {
    border-bottom:1px solid #919D00;
}
.navbar-nav>li:nth-child(3) {
    background: #B89C00;
}
.navbar-nav>li:nth-child(3) .dropdown-menu>li {
    border-bottom:1px solid #B89C00;
}
.navbar-nav>li:nth-child(4) {
    background: #CB6D00;
}
.navbar-nav>li:nth-child(4) .dropdown-menu>li {
    border-bottom:1px solid #CB6D00;
}
.navbar-nav>li:nth-child(5) {
    background: #6E4646;
}
.navbar-nav>li:nth-child(5) .dropdown-menu>li {
    border-bottom:1px solid #6E4646;
}
div.navbar-collapse.collapse{
	float:left;	
}

div.navbar-collapse.collapse.in {
	float:none;	
}
div.navbar-collapse.collapse.in ul.nav li.dropdown:hover > ul.dropdown-menu {
	display:inherit;
}
.nav .dropdown-menu {
    margin-top: 0;
}
.dropdown-menu>.active>a, .dropdown-menu>.active>a:focus, .dropdown-menu>.active>a:hover {
    color: inherit;
    background-color: transparent;
}
}
/*=====================================================================================================
                                         3 - PAGINA INICIAL DO SITE 
======================================================================================================= */

/*------------------------------------------- 3.1 REGIAO SLIDER ------------------------------------------- */
.slider-principal {
    background: #fff;
    margin: 10px 0;
}
.views-slideshow-cycle-main-frame-row, .views-slideshow-cycle-main-frame {
width: 100% !important;
}

/*------------------------------------------- 3.1 REGIAO highlight - Easybreadcrumb ------------------------------------------- */


@media screen and (min-width: 768px) {
    .container .jumbotron, .container-fluid .jumbotron {
        padding-right: 30px;
        padding-left: 30px;
    }

    .container .jumbotron, .container-fluid .jumbotron {
        border-radius: 3px;
    }
}
@media screen and (min-width: 768px) {

    .jumbotron {
        padding-top: 5px;
        padding-bottom: 5px;
    }
}
.jumbotron {
    padding-top: 5px;
    padding-bottom: 5px;
    margin-bottom: 10px;
    color: inherit;
    background-color: #fbfbfb;
}
.easy-breadcrumb a {
    font-size: 1em !important;
}
/*------------------------------------------- 3.2 REGIAO BLOCO 01 ------------------------------------------- */
.bloco1-principal {
	background:#fff;
	position:relative;
}
.flexslider {
    margin: 0 0 10px;
    border-radius: 0 0 4px 4px;
    }
.flex-control-paging {
    display: none;
}
.flex-caption {
    position: absolute;
    background: rgba(68, 68, 68, 0.78);
    bottom: 0;
    padding:10px;
}
.flex-caption a {
    color:#fff;
    font: 18px georgia, arial;
    font-style: italic;
}
.flex-direction-nav a {
    display: block;
    width: 40px;
    height: 40px;
    margin: -20px 0 0;
    position: absolute;
    top: 50%;
    z-index: 10;
    overflow: hidden;
    opacity: 0;
    cursor: pointer;
    color: rgba(0, 0, 0, 0.8);
    text-shadow: none;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    color: #fff;
    background-color: #000;
    border-radius: 50%;
    text-align: center;
}
.flex-direction-nav a:before {
    font-family: "flexslider-icon";
    font-size: 20px;
    display: inline-block;
    content: '\f001';
    color: #FFF;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
    line-height: 40px;
}
.flex-direction-nav .flex-next {
    right: -50px;
    text-align: center;
}
.front .view-noticias {
    background: #cfd5da;
    height: 330px;
    border-radius: 0 0 4px 4px;
}
.front .view-noticias .view-header p {
    color: #1E5D98;
    font-size: 20px;
    border-bottom: 3px solid #1E5D98;
    margin: 10px;
    font-style: italic;
}
.front .view-noticias ul {
    list-style-type: square;
    margin-bottom: 5px;
}
.front .view-noticias ul li {
    margin-bottom: 8px;
    color: #1e5d98;
}
.front .view-noticias ul li a {
    color: #0F2236;
}

.front .view-noticias .view-footer p {
    text-align: right;
    margin-right: 10px;
}
.front .view-noticias .view-footer p a {
    text-decoration: underline;
    -webkit-text-decoration: underline dotted #1b5388;
    text-decoration: underline dotted #1b5388;
    color: #1b5388;
    margin: 5px 10px;
    display: block;
}
.view-view-videos {
    background:#444;
    height: 330px;
    border-radius: 4px;
}
.views-field-field-videos-link {
    padding: 20px 0;
    background: #000;
}
.view-view-videos .views-field-title {
    padding: 35px 10px;
}
.view-view-videos .views-field-title span {
    font-size: 17px;
    color: white;
    font-style: italic;
}
/*--CSS para colocar as colunas com a mesma altura--*/
.row.is-flex {
    display: flex;
    flex-wrap: wrap;
}
.row.is-flex > [class*='col-'] {
    display: flex;
    flex-direction: column;
}
.row.is-flex {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.row.is-flex > [class*='col-'] {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

/*------------------------------------------- 3.3 REGIAO BLOCO 02 -------------------------------------------*/
.bloco2-principal {
	background:#fff;
}
.jcarousel-skin-tango {
    margin: 20px 0;
    text-align: center;
}

.jcarousel-skin-tango .jcarousel-container {
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border: none;
    border-radius: 5px;
    background: #ededed;
    margin: auto;
}

.jcarousel-skin-tango .jcarousel-container-horizontal {
  margin-bottom: 4px;
  padding: 7px 61px;
  width: 100% !important;
  height: 76px;
}

.jcarousel-skin-tango .jcarousel-clip-horizontal { 
  overflow: hidden;
  width: 100%;
}

.jcarousel-skin-tango .jcarousel-next, .jcarousel-skin-tango .jcarousel-prev {
    margin-top: -33px;
}

.jcarousel-skin-tango .jcarousel-item {
    background: #ffffff;
    border: 0;
    height: 60px;
    list-style: none outside none;
    overflow: hidden;
    padding: 0;
    width: 161px!important;
    text-align: center;
    border-radius: 4px;
}

.jcarousel-skin-tango {
    margin-bottom: 20px;
    text-align: center;
}
.jcarousel-skin-tango .jcarousel-prev {
    display: block;
    width: 34px;
    height: 46px;
    background-image: url(/sites/cpd.ufba.br/themes/sti_ufba/images/arrow_left2.png);
}
.jcarousel-skin-tango .jcarousel-next {
    display: block;
    width: 34px;
    height: 46px;
    background-image: url(/sites/cpd.ufba.br/themes/sti_ufba/images/arrow_right2.png);
}
.jcarousel-skin-tango .jcarousel-next, .jcarousel-skin-tango .jcarousel-prev {
    margin-top: -41px;
}
.jcarousel-skin-tango .jcarousel-next-horizontal {
    background-position: 0;
}
.jcarousel-skin-tango .jcarousel-next-horizontal:hover {
    background-position: 0;
}
.block-quicktabs {
    margin-bottom: 10px;
}
.quicktabs_main.quicktabs-style-nostyle {
    clear: both;
    background: #cae1f3;
    padding: 13px 5px;
    min-height: 160px;
    border-radius: 0 0 4px 4px;
    }
ul.quicktabs-tabs.quicktabs-style-nostyle {
    background: #fff;
    font: bold 13px/1.5em "Georgia",Arial, "Helvetica Neue", helvetica, Arial, sans-serif;
    padding: 3px 0px 3px;
    height: 20px;
    margin: 0 0 10px 0;
}
ul.quicktabs-tabs.quicktabs-style-nostyle li {
    margin: 0;
    padding: 0;
    display: block;
    float: left;
    padding: 8px 20px 7px !important;
    list-style-type: none;
    background: none;
}
ul.quicktabs-tabs.quicktabs-style-nostyle li.active {
    background: #cae1f3;
}
ul.quicktabs-tabs.quicktabs-style-nostyle li a:link, ul.quicktabs-tabs.quicktabs-style-nostyle li a:visited {
    color: #4b79ad !important;
    margin: 0;
}
.estudantes-tabs, .corpofuncional-tabs {
    list-style-type: none;
}
.estudantes-tabs li, .corpofuncional-tabs li {
    margin: 6px 0;
}
.view-tvufba ul {
    list-style-type: none;
}
.view-tvufba ul img {
    padding: 10px;
    background: white;
}
.view-tvufba ul img:hover {
      background: #999;
}
/*------------------------------------------- 3.4 REGIAO CONTEUDO -------------------------------------------*/
.main-container {
	background:#fff;
}
.main-container .main-titulo {
    background: #ab3a34;
}
.main-container h1.page-header {
    padding-bottom: 9px;
	background: #0b3665;
    padding: 20px;
    border-bottom: none;
    color: white;
	font-size:1.8em;
    margin-top: 0;
	margin-bottom:0;
}
.main-container li {
    margin: 7px 0;
}
.main-container p {
    font-size: 1.2em;
}
.main-container a {
    font-size:1.1em;
}
.main-container div.alert-danger.messages  {
    display: none
}

/*=====================================================================================================
                                         4 - PAGINAS INTERNAS DO SITE 
======================================================================================================= */

.main-container .block-system {
	padding: 10px 20px;
	margin-bottom: 15px;
	background-color: #efefef;
	border: none;
	border-radius: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
}
.main-container .block-views {
    padding: 10px 20px;
    background-color: #efefef;
}
.main-container ul {
    padding-left: 15px;
}
.node-page li,
.main-container .view li {
    margin: 10px 0;
    border-bottom: 1px dotted #ccc;
    padding: 5px;
}
.main-container .view li.views-row-odd {
    background: #fff;
}
.node-noticia-imagem {
	margin-top:15px;
}
.submitted {
	font-size: .9em;
	margin-bottom: 15px;
	display: block;
	font-style: italic;
	color: #ce553b;
}
.submitted:after {
	clear:both;
}
.text-destaque {
     font-size: 18px;
    font-weight: bold;
    color: #fff;   
}
.text-azul {
 color: #02ccff;   
}

.well {
    padding: 10px 20px;
    margin-bottom: 15px;
    background-color: #fff;
    border: none;
    border-radius: 0px;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-left: 5px solid #4a136c;
}
.views-field-field-arquivo ul {
    padding: 0;
    margin-bottom: 10px;
    float: left;
    width: 100%;
}
.views-field-field-arquivo li {
    background: #f2f2f2;
    list-style: none;
    margin: 0 5px 20px 0;
    padding: 3px;
    width: 32%;
    float: left;
}
/*------------------------------------------- CURSOS -------------------------------------------*/
.view-cursos caption {
    padding-top: 8px;
    padding-bottom: 8px;
    color: #000;
    text-align: center;
    font-size: 20px;
}
.view-cursos .table > tbody > tr > td,
.view-cursos .table > tbody > tr > th, 
.view-cursos .table > tfoot > tr > td, 
.view-cursos .table > tfoot > tr > th,
.view-cursos .table > thead > tr > td,
.view-cursos .table > thead > tr > th {
    padding: 3px 8px;
} 
#block-quicktabs-cursos-quicktabs .block-views {
    background: none;
}
/*------------------------------------------- ACESSO À INFORMAÇÃO -------------------------------------------*/
.page-node-12567 td {
    padding: 10px;
}
/*------------------------------------------- ACESSO À INFORMAÇÃO/FAQ -------------------------------------------*/
.view-faq .views-row-odd {
    background: #daeeff;
    padding: 10px;
}
.view-faq .views-row-even {
    padding: 10px;
    background: #fff;
}
.view-faq .views-field-body {
    padding-left: 15px;
}
/*------------------------------------------- LICITAÇÕES -------------------------------------------*/
.view-licitacoes {
    font-size: 1em;
}
.view-licitacoes ul {
    padding-left: 0;
}
.view-licitacoes p {
    font-size: 1em;
}
.view-licitacoes .views-exposed-widgets {
    background: #fff;
    padding: 10px 20px;
}
.view-licitacoes caption {
    font-size: 20px;
    color: #333;
    text-align: center;
}
/*------------------------------------------- ESTRUTURA -------------------------------------------*/


/*=====================================================================================================
                                         5 - RODAPE DO SITE 
======================================================================================================= */
.rodape {
	background: #0b3564;
    background: linear-gradient(#0b3564,#13447a);
	}
.rodape footer {
    background: url(/sites/portal.ufba.br/themes/portal_ufba/images/bg_footer_logo.gif);
    background-position: right;
    background-repeat: no-repeat;
    min-height: 126px;
}
.rodape h2 {
    color: white;
    font-size: 1.5em;
}
.rodape ul {
	list-style-type:none;
    padding-left: 0;
}
.rodape .menu-icones {
    margin-top: 30px;
}
.rodape ul li {
	display:inline;	
}
.rodape ul li a {
	text-decoration:none;
	color:#fff;
	margin: 15px 10px 3px 0;
    font-size: 13px;
}
.rodape ul.menu-icones li a {
    margin: 15px 5px 3px 0;
}
.rodape ul li a:hover {
	text-decoration: underline;
}
/*=====================================================================================================
                                         6 - MEDIA BREAKPOINTS DO SITE 
======================================================================================================= */

@media (max-width: 767px)  {
	.slideshow a.btn {
	margin-left:0 !important;
	}
	ul.acessibilidade {
	display: none !important;
	}
	.search .form-search {
	width: 100% !important;
	}
	.navbar-btn {
	width: 100% !important;
	text-align: center;
	}
	.img-responsive {
	width: 100% !important;
	height: auto!important;
	}
	.slideshow {
	text-align: center;
	}
    .navbar-nav>li:nth-child(1), .navbar-nav>li:nth-child(2), .navbar-nav>li:nth-child(3), .navbar-nav>li:nth-child(4), .navbar-nav>li:nth-child(5) {
    background: #777;
    }
    .dropdown-menu > li > a {
        color:#fff !important;
    }
    ul.quicktabs-tabs.quicktabs-style-nostyle {
        height: auto;
        margin-bottom: 0;
        padding: 3px 0 0 0;
    }
    ul.quicktabs-tabs.quicktabs-style-nostyle li {
        float:none;
        display: block;
        background: #f2f9ff;
    }
}
@media (min-width: 768px) {
   .main-container h1.page-header {
        padding: 8px 10px;
    }
    .navbar-nav {
        margin: 20px 0 10px 0;
    }
    .navbar-nav>li {
        width: 208px;
        margin-right: 25px;
    }
    .navbar-nav>li.last {
        margin-right:0 ;
    }

    /*OnHover*/
.dropdown-menu {
    border-radius: 0;
}
ul.nav li.dropdown:hover > ul.dropdown-menu {
    display: block; 
    width: inherit;   
}
ul.nav li.dropdown> ul.dropdown-menu > li > a {
    color:#fff;
}
ul.nav li:nth-child(1).dropdown:hover > ul.dropdown-menu {
    background: #0b2c6b;
}
ul.nav li:nth-child(1).dropdown:hover > ul.dropdown-menu li:hover {
    background: #395B99;
}
ul.nav li:nth-child(2).dropdown:hover > ul.dropdown-menu {
    background: #848f00;
}
ul.nav li:nth-child(2).dropdown:hover > ul.dropdown-menu li:hover {
    background: #969E3B;
}
ul.nav li:nth-child(3).dropdown:hover > ul.dropdown-menu {
    background: #a78e00;
}
ul.nav li:nth-child(3).dropdown:hover > ul.dropdown-menu li:hover {
    background: #CBB439;
}
ul.nav li:nth-child(4).dropdown:hover > ul.dropdown-menu {
    background: #b56100;
}
ul.nav li:nth-child(4).dropdown:hover > ul.dropdown-menu li:hover {
    background: #C68436;
}
ul.nav li:nth-child(5).dropdown:hover > ul.dropdown-menu {
    background: #613838;
}
ul.nav li:nth-child(5).dropdown:hover > ul.dropdown-menu li:hover {
    background: #8A5E5E;
}


/****  hack  ****/


#block-views-noticias-block.col-md-4 {
    padding-left: 0px !important;
}
#block-views-videos-block.col-md-3 {
    padding-left: 0px !important;
}

}
@media (max-width: 768px) {
    .main-container h1.page-header {
    font-size: 24px;
    }
}
