/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */
@import url('https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');

body {
    background-color: #F3F3F3;
    color: #1A1A1A;
}

a {
    text-decoration: none;
    color: #1A1A1A;
}

a:hover {
    color: #009952;
}

main > .container {
  padding: 15px 0;
}

.menu_topo {
    width: 100%;
    position: relative;
    /* height: 78px;*/
    display: flex;
    /* align-items: center; */
    justify-content: center;
}

.content-topo {
    width: 100%;
    height: 100%;
}

.content-topo .acessibilidade{
    /*display: flex;*/
    align-items: center;
    justify-content: center;
    height: 100%;
    padding-top: 8px;
}

.content-topo .acessibilidade a, .navbar-nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    margin-right: 10px;            
}

.content-topo .acessibilidade h5, .navbar-nav li  {
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    margin-right: 30px;
    font-size: 10pt;
    margin-bottom: 0;
}

.content-topo .logos {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;

}

.content-topo .logos img {
    margin-right: 20px;
}

.content-topo .logos-social-media img {
    color: #fff;
    width: 25px;
}

.content-topo .logos .logos-social-media img:first-child, .content-topo .logos .logos-social-media i:first-child {
    margin-right: 5px;
}


img.logo-diariooficial, img.logo-ouvidoria, img.logo-informacao {
    height: 45px;
    padding-right: 15px;
}

img.logo-informacao{
    border-right: 1px solid #fff;
}

li.nav-item a.nav-link {
	color: #fff !important; 
}

.navbar {
	height: 100px;
}

.logo {
	position: absolute;
	/*max-width: 125px;*/
	/*top: -58px;*/
	top: 10px;
}

@media (min-width: 991.98px) {
	ul.navbar-nav {
		padding-left: 240px; /*padding para o logo*/
		text-align: center;
	}
}


@media (min-width: 577px) and (max-width: 991px)
{
	.navbar-expand-sm .navbar-toggler {
		display: block; 
	}
}


/* Menu toggle (celular) */
@media (max-width: 991.98px) {
	
  .offcanvas-collapse {
    position: fixed;
    top: 100px; /* Height of navbar */
    bottom: 0;
    left: 100%;
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    overflow-y: auto;
    visibility: hidden;
    background-color: #343a40;
    transition: transform .3s ease-in-out, visibility .3s ease-in-out;
  }
  .offcanvas-collapse.open {
    visibility: visible;
    transform: translateX(-100%);
  }
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  color: rgba(255, 255, 255, .75);
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.nav-underline .nav-link {
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-size: .875rem;
  color: #6c757d;
}

.nav-underline .nav-link:hover {
  color: #007bff;
}

.nav-underline .active {
  font-weight: 500;
  color: #343a40;
}

.text-white-50 { color: rgba(255, 255, 255, .5); }



/* Modal */
.modal-header .btn-close {
	margin-right: 1rem !important;
}





.form-control-borderless {
    border: none;
}

.form-control-borderless:hover, .form-control-borderless:active, .form-control-borderless:focus {
    border: none;
    outline: none;
    box-shadow: none;
}





.title-item h1 {
    color: gray;
    padding-top: 20px;
    font-size: 1.7em;
    font-weight: 700;
    font-family: Roboto-Black,sans-serif;
    line-height: 1;
    text-transform: uppercase;
}

span.word {
    font-size: 1.7em;
    font-weight: 300;
    font-family: Roboto Light,sans-serif;
}

.title-item h1:after {
content: "";
position: relative;
width: 65px;
border-bottom: 3px solid #009952;
display: block;
}

.img-background img {
    width: 100%;
    opacity: .2 !important;
}



/* Abas */
main .nav-tabs {
    border-bottom: 1px solid #CCC;
}

main li.nav-item a.nav-link {
	color: #1A1A1A !important;
}

main .nav-tabs .nav-link.active {
	background-color: #F3F3F3;
	color: #1A1A1A;
	border-color: #CCC #CCC #F3F3F3;
}

main .nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover {
    border-color: #CCC #CCC #CCC;
}


.box-list {
    padding-top: 20px;
    padding-bottom:20px;
}

.box-list:after {
    box-shadow: 105px 0px 37px 54px #ffffffa3;
    bottom: 0;
    content: "";
    display: block;
    height: 70px;
    position: absolute;
    right: 78px;
    top: 337px;
}

.box-list {
    display: block;
}

a.link-item {
    display: contents;
    text-decoration: none;
}

.box-item {
    display: flex;
    color: white;
    margin-right: 10px;
    text-align: center;
    margin-bottom: 15px;
    padding: 5px 5px 5px 5px;
    background-color: #E6E6E6;
    max-width: 11.44%;
    border: 1px solid #E6E6E6;
    min-height: 100px;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

.box-item:hover {
    border: 1px solid #009952;
    -webkit-transition: .3s ease-out;
    -moz-transition: .3s ease-out;
    -o-transition: .3s ease-out;
    transition: .3s ease-out;
}

.box-item img {
    width: 40px;
    height: auto;
}

.box-item i {
    color: #009952;
}

.box-item p {
    color: #777;
    font-size: .85em;
    margin-bottom: 0px;
    font-weight: bold;
}

.box-item:hover p {
    color: #222;
}

section.noticias .col-7 .card {
	height: 100%;
}

@-moz-document url-prefix() {
	section.noticias .col-5 ul li a {
		position: relative;
		top: -25px;
	}
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
	.row > .link-item { width: 12.5%; } 
	.row > .link-item > .box-item { width: 95% !important; max-width: 95% !important; }
}

section.noticias h5.card-title {
    text-align: center;
}

section.noticias ul li {
  color: #ccc;
  margin-top: 20px;
}

section.noticias ul li a {
  color: #1A1A1A;
}

section.noticias ul li a:hover {
  color: #009952;
}

section.contato div.col{
    text-align: center;
}






a.external-link:after {
    margin-left: 5px;
    content: "\f1b3";
    font-size: 75%;
	
	display: inline-block;
    font-family: bootstrap-icons !important;
    font-style: normal;
    font-weight: normal !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: text-bottom;
    -webkit-font-smoothing: antialiased;
	
	box-sizing: border-box;
}

input[type="checkbox"] + label  {
	padding: 0 15px 0 5px;
}

input[type="radio"] {
	margin: 0 4px 0 15px;
}

input[type="radio"]:first-child {
	margin: 0 4px 0 5px;
}






section.pre-footer {
    background-color: #00A859;
    color: #fff;
}

section.pre-footer div.col {
    text-align: center;

}

section.pre-footer a {
    color: #fff;
}

section.pre-footer a:hover {
    color: #1A1A1A;
}


footer {
    background-color: #009952;
    text-align: center;
    color: #fff;
}


@media only screen and (mix-width: 577px) and (max-width: 776px) {
	.box-item {
		max-width: 25%;
	}
}


@media only screen and (max-width: 576px) {
	.box-item {
		max-width: 31% !important;
	}
}

@media only screen and (max-width: 376px) {
	.box-item {
		max-width: 46% !important;
	}
}

@media only screen and (max-width: 991px) {
	.logo {
		/*max-width: 80px;*/
		/*top: 0;*/
		top: 18px;
	}
	
	ul.navbar-nav {
		/*padding-left: 120px; /*padding para o logo*/
	}

}

/* Ajustes de migração da versão do Bootstrap */

h3 { 
    margin-top: 20px;
    margin-bottom: 10px;
}

.form-group {
    margin-bottom: 15px;
}

.accordion-button:not(.collapsed) {
    color: #000;
    background-color: lightgray;
}