/*
Theme Name:     Underscores Bootstrap child theme
Description:    Custom theme for Underscore Bootstrap theme by Zava Design
Author: 		Dave Rooney || Zava Design
Author URI: 	http://zavadesign.com
Template:       underscores-bootstrap
Version:        1.0
*/

/* ============= Custom CSS ============= */

body {
	color: #444;
}
/* header */
header .custom-logo {
	max-width: 300px;
	padding: 10px 0;
}
a {
	color: #444;
}
.bold {
	font-weight: 500;
}
.text-link {
	color: #007bff;
	text-decoration: underline;
}
.content-area {
	padding-left: 0;
	padding-right: 0;
}
.table b {
	text-transform: uppercase;
}


/* Badge */
.badge-Encerrado {
    color: #fff;
    background-color: #dc3545;
}
.badge-Aberto {
    color: #fff;
    background-color: #28a745;
}

/* Ubermenu */
.ubermenu .ubermenu-submenu .ubermenu-column {
	padding: 0 5px;
}
.ubermenu .ubermenu-content-align-center>.ubermenu-image {
	float: left !important;
}
.ubermenu .ubermenu-item-layout-image_left>.ubermenu-image {
	vertical-align: middle;
}
.ubermenu .ubermenu-item-layout-image_left>.ubermenu-target-text {
	line-height: 15px !important;
	padding-left: 0 !important;
	display: inline-block !important;
	vertical-align: sub;
}
.ubermenu .ubermenu-item-layout-image_left.fiscal>.ubermenu-target-text {
	display: block !important;
}
.receita {
	background: #8aba33 !important;
	border-bottom: 5px solid #6e9329 !important;
}
.despesa {
	background: #d8313e !important;
	border-bottom: 5px solid #ad2932 !important;
}
.fiscal {
	background: #5675b7 !important;
	border-bottom: 5px solid #446093 !important;
}
.gestao {
    background-color: #666 !important;
    border-color: 5px solid #444 !important;
}
.pesquisa {
	background-color: #eee !important;
	border-bottom: 5px solid #bebebe !important;
}

/* Wpdm downloads plugin */
.wpdm-all-packages-table {
	border-top: none !important;
    border-bottom: none !important;
    font-size: inherit !important;
}
.wpdm-all-packages-table > tbody > tr > td:nth-child(2),
.wpdm-all-packages-table > tbody > tr > td:nth-child(3) {
	display: none !important;
}
.wpdm-all-packages-table .__dt_file_count,
.wpdm-all-packages-table .__dt_download_count {
	display: none !important;
}
.wpdm-all-packages-table.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: transparent !important;
}
.wpdm-all-packages-table .wpdm-download-link {
	font-family: inherit !important;
	font-size: 13px  !important;
    padding: 7.5px 10px  !important;
    border-radius: 0  !important;
    text-transform: inherit !important;
}

.ubermenu-active .receita,
.ubermenu-active .despesa,
.ubermenu-active .gestao,
.ubermenu-active .faq,
.ubermenu-active .pesquisa {
	border-bottom: transparent !important;
}

.w3eden .container-fluid {
	padding: 0;
}

.ubermenu-active>.ubermenu-submenu {
	padding: 15px !important;
	border-top: solid 7px #bebebe !important;
}

.ubermenu-active:nth-child(1)>.ubermenu-submenu {
	border-top-color: #6e9329 !important;
}

.ubermenu-active:nth-child(2)>.ubermenu-submenu {
	border-top-color: #ad2932 !important;
}

.ubermenu-active:nth-child(3)>.ubermenu-submenu {
	border-top-color: #446093 !important;
}

.ubermenu-active:nth-child(4) >.ubermenu-submenu {
	border-top-color:  #444 !important;
}
.ubermenu-main .ubermenu-submenu * {
	font-size: 14px;
}
.ubermenu-main .ubermenu-submenu .ubermenu-target {
	font-weight: normal;
}

.ubermenu-skin-grey-white.ubermenu-responsive-toggle,
.ubermenu-skin-grey-white.ubermenu-responsive-toggle:hover {
	background: #ddd !important;
}

/* CSS App */
.header-widget-1 {
	float: right;
}
#secondary-menu {
	float: right;
	margin-bottom: 20px !important;
}
.table-info {
	margin-bottom: 10px;
    padding: 10px;
    font-size: 12px;
    background-color: #e1e1e1;
}
.table-diarios th {
	border-top: 0;
}

.employee-info b {
	width: 150px;
	display: inline-block;
}

header.entry-header {
	background: #f2f2f2;
	padding: 25px 0;
}

h1.entry-title {
	color: #444; 
	font-size: 28px;
	font-weight: 700;
	border-bottom: solid 5px;
	padding-bottom: 25px;
	margin-bottom: 15px;
}
.page-licitacoes h1.entry-title,
.page-contratos h1.entry-title,
.page-diarias h1.entry-title,
.page-remuneracao h1.entry-title {
	color: #d8313e;
}

.page-receitas-da-empresa h1.entry-title,
.single-receitas h1.entry-title {
	color: #8aba33 !important;
}

.page-despesas-da-empresa h1.entry-title,
.page-despesas-sc h1.entry-title,
.single-cpt_despesa h1.entry-title {
	color: #d8313e !important;
}

.page-responsabilidade-fiscal h1.entry-title {
	color: #5675b7 !important;
}

header.entry-header p {
	max-width: 750px;
	margin-bottom: 0;
}

.section-title {
    border-bottom: 2px solid #999;
    color: #999;
    margin-top: 20px;
    font-size: 20px;
    font-weight: bold;
    padding-bottom: 6px;
    text-transform: none;
}
.section-title.text-danger {
	border-color: #dc3545;
}


.page-responsabilidade-fiscal .section-title {
	color: #5675b7;
	border-color: #5675b7;
}

.page-despesas-da-empresa .section-title,
.single-cpt_despesa .section-title,
.page-contratos .section-title,
.page-licitacoes .section-title {
	color: #d8313e;
	border-color: #d8313e;
}
.page-licitacoes .table-sm td{
padding: .7rem 5px;
    font-size: 0.85em;
    border-bottom: solid 1px #ccc;
}
.page-licitacoes .table-sm td b{
	font-weight: 600;
}

.page-receitas-da-empresa .section-title,
.single-receitas .section-title {
	color: #8aba33;
	border-color: #8aba33;
}

/* Pag Contato */
.block {
	padding: 20px;
	background: #f9f9f9;
}
.page-search h1.entry-title,
.page-mapa-do-site h1.entry-title,
.page-sobre-o-portal h1.entry-title,
.page-legislacao h1.entry-title,
.page-fale-conosco h1.entry-title {
	color: #12844c;
}
.page-fale-conosco header.entry-header {
	padding: 25px 0 0 0;
}
.contato-bloco-h-3 {
	min-height: 300px;
	text-align: center;
	margin-bottom: 30px;
    padding: 10px 15px 30px 15px;
    border-bottom: 1px solid #e1e1e1;
}
.contato-bloco-h-3 h3 {
	font-size: 22px;
}


/* Form */
.btn {
	border-radius: 0;
	border: solid 1px transparent;
}
.form-control {
	border-radius: 0;
	font-size: 14px;
	border: 2px solid rgba(0,0,0,.15);
}

/* Table */
.table-sm td, .table-sm th {
    padding: .3rem 12px;
    font-size: 0.9em;
    vertical-align: middle;
}
.table-wrapper {
	border: 1px solid #bebebe;
}

.table-wrapper .table-header {
	padding: 15px;
}
.table-wrapper .table {
	margin-bottom: 0;
}
.table-wrapper .table th {
	background: #f2f2f2;
	border-top: 1px solid #bebebe;
	border-bottom: 1px solid #bebebe;
}

.table-wrapper-desp {
	padding: 15px;
    border: solid 1px #d8313e;
    border-top-width: 6px;
}
.table-wrapper-desp table > tbody > tr:first-child > th {
	border: none;
}
h3 {

    margin: 0 0 25px 0;
    color: #bebebe;
    font-size: 42px;
    font-size: 2em;
    text-transform: uppercase;
}

.card-filter {
    background-color: #f2f2f2;
    border: 1px solid #bebebe;
    border-radius: 0;
}

.card-filter .card-header {
	background: transparent;
	padding: 10px 15px 0;
	font-weight: 700;
	border-bottom: none;
}
.card-filter .card-body {
	padding: 1em;
}

/* Download manager */
.wpdm-all-packages-table thead {
	display: none;
}
.w3eden .table > tbody > tr:first-child > td {
	border: none;
}

.wpdm-download-link {
	background: #76bc58 !important;
	border-color: #76bc58 !important;
	color: #fff !important;
	padding: 7px 15px;
	display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
}
.wpdm-download-link:before {
	display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
	content: "\f0ed";
	padding-right: 7px;
}
.__dt_col.__dt_col_1 {
	width: 150px;
}

/* FAQ */
.ufaq-faq-div {
	margin: 8px 0;
	padding: 8px 0;
	border-bottom: 1px solid #e1e1e1
}
.ufaq-faq-title h4 {
    display: block;
    color: #666;
    font-weight: bold;
    font-size: 1.125em;
}
.ewd-ufaq-post-margin-symbol span {
    font-size: 18px;
    color: #12844c;
}

/* Homepage Cards */
.lead {
	color: #888;
	font-size: 17px;
}
.page-principal article {
	background-color: #f2f2f2;
	margin: 0;
	padding: 15px 0 30px 0;

}
.cards .card {
	border-color: #eaeaea;
	border-radius: 0;
}
.cards .card h3 {
	font-size: 19px;
}
.cards .card ul {
    margin: 5px 0 0;
    padding: 0 0 0 8px;
    list-style: none; 
}
.cards .card ul > li {
	margin-bottom: 8px;
}

.block-icon {
	width: 200px;
	height: 250px;
	line-height: 250px;
	background: #8aba33;
	position: relative;
	z-index: 0;
}

.block-icon img {
	width: 48px;
	vertical-align: middle;
}

.block-icon:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #6e9329;
    transform: scaleY(0);
    transform-origin: 50% 100%;
    transition: transform .2s ease-out;
}
.block-icon:hover:before {
    transform: scaleX(1);
}
.helper {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

/* Cores */
.card-despesa .block-icon {
	background-color: #d8313e;
}
	
.card-despesa .block-icon:before {
	background-color: #ad2932 ;
}

.card-fiscal .block-icon {
	background-color: #5675b7;
}
	
.card-fiscal .block-icon:before {
	background-color: #446093 ;
}

.card-gestao .block-icon {
	background-color: #666;
}
	
.card-gestao .block-icon:before {
	background-color: #222 ;
}

/* Search result */
.text-success {
	color: #12844c !important;
}
.section-title.text-success {
    border-bottom: 4px solid #12844c;
}

/* Pagina sobre */
.sobre-card {
	text-align: center;
	padding: 20px;
}
.sobre-card i {
	font-size: 30px;
	color: #12844c;
}
.card-titulo {
	margin: 16px 0 14px;
    color: #12844c;
        font-size: 1.275em;
    font-weight: 400;
}
.card-texto {
	font-size: 15px;
}

/* Sitemap page */
.sitemap-menu ul {
	list-style: none;
	padding: 5px 0;

}
.sitemap-menu .menu-header {
	margin-bottom: 20px;
}
.sitemap-menu .menu-header > a {
	margin: 0 0 10px;
    padding-bottom: 5px;
    border-bottom: 2px solid #666;
    color: #666;
    font-size: 18px;
    font-size: 1.285em;
    display: block;
}
.sitemap-menu .text-success > a { color: #8aba33; border-color: #8aba33; }
.sitemap-menu .text-danger > a { color: #dc3545; border-color: #dc3545; }
.sitemap-menu .text-info > a { color: #5675b7; border-color: #5675b7; }
.sitemap-menu ul.sub-menu > li {
	padding: 5px 0;


}


.search-form .input-group {
	width: 500px;
}
.search-form .input-group > .form-control {
    height: 48px;
    line-height: 48px;
    padding-left: 10px;
    width: 100%;
    display: block;
}
.search-form .input-group > .input-group-btn .btn {
    height: 100%;
    top: 0;
    right: 0;
    position: absolute;
    background: #12844c;
    color: #fff;
    font-weight: 500;
    padding: 0 22px;
}

.result {
	margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e1e1e1;
    overflow-wrap: break-word;
}
.result:last-of-type {
	border-bottom: none;
}
.result h3 {
	color: #000;
    margin: 0 0 10px;
    display: inline-block;
    font-size: 18px;
    font-size: 1.125em;
}
.result h3 a {
	color: #000;
}
.result p {
	margin-bottom: .5rem;
}


/** Footer Menu */
.site-footer-widgets {
	background-color: #e1e1e1;
	padding: 15px 0 30px 0;
}
.footer-area {
	color: #444;
}
.footer-area h2.widget-title {
	    margin: 30px 0 0;
    padding: 0 0 4px 8px;
    border-bottom: 1px solid #12844c;
    color: #12844c;
    font-size: 18px;

}
.footer-area ul.menu {
    margin: 16px 0 0;
    padding: 0 0 0 8px;
    list-style: none;
}
.footer-area ul.menu li.subtitulo {
    font-weight: 700;
}
.footer-area ul.menu li {
	margin-bottom: 8px;
}


.site-footer {
	padding: 20px 0;
	background-color: #252525;
	color: #ccc;
	font-size: 14px;
}
.site-footer a {
	color: #ccc;	
}
.site-info .governo .logo {
    width: 75px;
    height: 62px;
    margin: 0 auto;
    display: block;
    background: url(img/logo-sc.png) no-repeat;
}

.copyright {
	padding: 10px 0 20px;
	font-size: 14px;
	background-color: #161616;
}

/* Legislacao */
.legislacao-historico-grupo {
    margin-bottom: 50px;
}
.legislacao-historico-ano {
    border: 2px solid #e1e1e1;
    color: #ccc;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
	padding: 35px 0px;
}
.legislacao-historico-ano:before {
    content: "";
    width: 33px;
    top: 49px;
    right: -18px;
    position: absolute;
    border-bottom: 2px solid #e1e1e1;
}
.legislacao-historico-items {
    position: relative;
	padding-left: 25px;
}
.legislacao-historico-items:before {
    content: "";
    top: 0;
    bottom: 0;
    left: 1px;
    width: 2px;
    position: absolute;
    background-color: #e1e1e1;
}
.legislacao-historico-item {
    margin: 0;
    padding: 20px 0 15px 0;
    position: relative;
}
.legislacao-historico-item:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    border-bottom: 1px solid #e1e1e1;
}
.legislacao-historico-item:last-child:before {
    border-bottom: 0;
}
.legislacao-historico-items h4 {
	margin: 0 0 15px;
	font-size: 1em;
	font-weight: 700;
}
.legislacao-historico-items .conteudo {
	padding-right: 190px;
	position: relative;
}
.legislacao-historico-item .historico-item-link {
    top: -15px;
    right: 20px;
    padding: 10px 28px;
    display: block;
    position: absolute;
    background-color: #f2f2f2;
    color: #666;
    font-size: 14px;
    font-size: .875em;
}

/* Despesa/Receita */
.row-total td {
	padding: 24px 12px;
}
.row-total .total {
	font-size: 20px;
	position: relative;
}

.row-total .total b {
	color: #bebebe;
	font-size: 40px;
	vertical-align: top;
}
.row-total .total span{
	display: inline-block;
    min-width: 130px;
    font-size: 28px;
    padding-top: 5px;
	color: #d8313e;

}
.row-total .total span:after {
	content: 'Despesa total';
	position: absolute;
	right: 0px;
	top: 35px;
	color: #666;
	font-size: 14px;
}

.page-receitas-da-empresa .row-total .total span {
	color: #8aba33;
}
.page-receitas-da-empresa .row-total .total span:after {
	content: 'Receita total';
}


.wpdm-link-tpl .media {
	display: block;
}
.wpdm-link-tpl .media .wpdm-download-link{
	float: right;
    margin-top: -25px;
    padding: 10px 20px;
    border-radius: 0;
    letter-spacing: normal;
    text-transform: initial;
}
.w3eden .wpdm_icon {
    box-shadow: none;
    min-width: 32px;
}
.w3eden .wpdm-link-tpl img.wpdm_icon {
    width: 32px !important;
    }
#wp-accessibility{
	margin-bottom: 5px;
}
.a11y-toolbar {
	position: inherit;
    display: flex;
    align-content: center;
    justify-content: flex-end;
    align-items: center;
}
.a11y-toolbar ul li {
    display: inline-block;
}
.accessibility-text{
    text-align: right;
    position: absolute;
    right: 106px;
    top: 14px;
}

.list-group-item {
    padding: 0.4rem 0.8rem;
}
.list-group-item  a{
    font-size: 90%;
}