@media screen and (min-width: 1000px) and (max-width: 1119px) { 

    .banner .center .titulo {
        margin-left: 30px;
    }

    .containerdepartamento {
        width: 1000px !important;
    }
}

@media all and (min-width: 999px) {
    .banner {
    width: 100%;
    height: 170px;
    background: url(../images/banner-page.jpg);
}

.banner .center{
    width: 1056px;
    height: 100%;
    display: flex;
    align-items: center;
    margin: 0 auto;
}

 .banner .center .titulo{
    font-size: 1.625rem;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    text-shadow: 1px 1px #d5d5cc;
}


.containerdepartamento {
    width: 1120px;
    margin: 0 auto;
    /*padding: 50px 0;*/
    padding: 0 30px 30px 30px;
    background: #fff;
}

.fundo header .centro .menu > ul > li:nth-child(3) {
    background: #90aa44;
    color: #fff;
}

.containerdepartamento .left {
    float: left;
    width: calc(100% - 325px);
}

.containerdepartamento .left div.title {
    width: 100%;
    color: #363b34;
    font-size: 1.875rem;
    text-transform: uppercase;
    font-weight: 900;
    font-family: 'Roboto';
    float: left;
    padding-left: 48px;
    position: relative;
}

.containerdepartamento .left div.title:after {
    width: 40PX;
    height: 4px;
    background: rgb(251, 182, 19);
    position: absolute;
    left: 0;
    top: calc(50% - 2px);
}

/**
    =========CSS DA LISTAGEM DE TODOS==============
 */

.containerdepartamento .left ul.unidades {
    padding-left: 0;
    margin-top: 20px;
    display: block;
}

.containerdepartamento .left ul {
    width: 100%;
    float: left;
    padding-left: 30px;
    display: none;
}

.containerdepartamento .left ul.ativo {
    display: block;
}



.containerdepartamento .left ul .card  {
    width: 100%;
    background-color: rgb(253, 253, 253);
    /*float: left;*/
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 6px 0 0 rgba(0, 0, 0, .01), 0 15px 32px 0 rgba(0, 0, 0, .06);
    border: 1px solid rgb(236, 236, 236);
    margin-top: 15px;
}

.containerdepartamento .left ul  .competencia {
    width: 100%;
    /*float: left;*/
    color: #5c5c5c;
    font-size: 1.25rem;
}

.containerdepartamento .left ul  .competencia ol li span  { 
    font-family: 'Oswald' !important;
    }

.containerdepartamento .left ul  .competencia p {
    margin: 0;
    }



.containerdepartamento .left ul .card  .img {
    width: 200px;
    height: 245px;
    float: left;
    overflow: hidden;
}

.containerdepartamento .left ul .card  .img.ativo {
    display: block;
}

.containerdepartamento .left ul .card  .informacoes {
    /*width: calc(100% - 200px);*/
    padding-left: 15px;
    display: flex;
    flex-direction: row;
    /*float: left;
    display: flex;
    flex-direction: column;*/
}

.containerdepartamento .left ul .card  .texto {
    padding: 0 30px 0 0 !important;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.containerdepartamento .left ul .card .texto h3 {
    padding: 20px 0;
    border: 0;
    color: #363b34;
    padding: 0;
    margin: 0 0 14px 0;
   font-size: 1.5rem;
}

.containerdepartamento .left ul .card .texto .field_item_institucional {
    width: 100%;
    color: #5c5c5c ;
    font-size: 1.25rem;
}
.containerdepartamento .left ul .card .texto .field_item_institucional strong {
    color: #363b34;
}




.containerdepartamento .left ul .card  .informacoes.full {
    width: 100%;
}

.containerdepartamento .left ul .card  .informacoes h3.nome {
    width: 100%;
    font-size: 1.25rem;
    font-family: "Swis721 BT", serif;
    color: RGB(77, 77, 76);
    padding-bottom: 10px;
    border-bottom: 1px solid rgb(236, 236, 236);
    margin-bottom: 15px;
    word-wrap: break-word;
}

.containerdepartamento .left ul .card  .informacoes p {
    width: 100%;
    color: RGB(77, 77, 76);
    margin-bottom: 5px;
    word-wrap: break-word;
}

.containerdepartamento .left ul .card  .btns {
    width: 100%;
    float: left;
    margin-top: 15px;
}

.containerdepartamento .left ul .card  .btns  .button {
    width: 203px;
    height: 35px;
    float: left;
    color: #fff;
    background: #363b34;
    border: 1px solid transparent;
    margin-right: 14px;
    font-size: 0.8125rem;
    border-radius: 3px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    text-align: center;
    vertical-align: center;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
}

.containerdepartamento .left ul .card  .btns  .button:hover {
        background: #90aa44;
}




.containerdepartamento .left ul [departamentos-container] {
    display: none;

    }

.containerdepartamento .left ul [departamentos-container]  > .icon-up-arrow {
    width: 100%;
    display: flex;
    flex-direction: row;
    text-align: center;
    justify-content: center;
    margin-bottom: 6px;
    align-items: center;
    height: 45px

}

.containerdepartamento .left ul .card  .btns button.btn_subordinados {
    display: none;
}

.containerdepartamento .left ul .card  .btns button.btn_subordinados.show {
    display: block;
}

.containerdepartamento .left ul .card  .btns button:hover {
    background: transparent;
    border-color: #363b34;
    color: #363b34;
    transition: 0.3s;
}

.containerdepartamento .left ul .card  .btns button:active {
    border-color: #363b34;
    color: #363b34;
    transition: 0.3s;
}

.containerdepartamento .left ul .card  .btns button.ativo {
    border-color: rgb(251, 182, 19);
    color: rgb(251, 182, 19);
    background: transparent;
    transition: 0.3s;
}

.containerdepartamento .left ul .card article {
    width: 100%;
    float: left;
    margin-top: 30px;
}

.containerdepartamento .left ul .card article p.title {
    width: 100%;
    font-size: 1.25rem;
    font-family: "Swis721 BT", serif;
    color: RGB(77, 77, 76);
    padding-bottom: 10px;
    margin-bottom: 15px;
    word-wrap: break-word;
    font-weight: bold;
}

/**
   ================ CSS ERRO ===============
 */
.containerdepartamento .left h3.error {
    width: 100%;
    float: left;
    margin-top: 30px;
    color: RGB(77, 77, 76);
}

.containerdepartamento .sidebar {
    width: 300px;
    float: right;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    padding-bottom: 20px;
    font-weight: bold;
    margin-top: 40px;
}

.containerdepartamento .sidebar .titulo {
    width: 100%;
    float: left;
    color: #fff;
    padding: 10px 30px;
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 1.375rem;
    background-color: #363b34;
}

.containerdepartamento .sidebar .categoria {
    width: 100%;
    float: left;
    padding: 10px 30px;
    font-size: 1.25rem;
    color: #363b34;
}

.containerdepartamento .sidebar .categoria:hover {
    color: #90aa44;
}

}


/*MOBILE*/

@media all and (max-width: 999px) {

    .banner {
    height: 170px;
    background: url(../images/banner-page.jpg);
    margin: 0 10px;
}

.banner .center{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    margin: 0 auto;
}

 .banner .center .titulo{
    font-size: 1.625rem;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    text-shadow: 1px 1px #d5d5cc;
    margin-left: 30px;
}


.containerdepartamento {
    width: 100%;
    margin: 0 auto;
    /*padding: 50px 0;*/
    padding: 0 30px 30px 30px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fundo header .centro .menu > ul > li:nth-child(3) {
    background: #90aa44;
    color: #fff;
}

.containerdepartamento .left {
    float: left;
    width: 100%;
}

.containerdepartamento .left div.title {
    width: 100%;
    color: #363b34;
    font-size: 1.875rem;
    text-transform: uppercase;
    font-weight: 900;
    font-family: 'Roboto';
    float: left;
    padding-left: 48px;
    position: relative;
}

.containerdepartamento .left div.title:after {
    width: 40PX;
    height: 4px;
    background: rgb(251, 182, 19);
    position: absolute;
    left: 0;
    top: calc(50% - 2px);
}

/**
    =========CSS DA LISTAGEM DE TODOS==============
 */

.containerdepartamento .left ul.unidades {
    padding-left: 0;
    margin-top: 20px;
    display: block;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.containerdepartamento .left ul {
    width: 100%;
    float: left;
    padding-left: 30px;
    display: none;
}

.containerdepartamento .left ul.ativo {
    display: block;
}



.containerdepartamento .left ul .card  {
    background-color: rgb(253, 253, 253);
    float: left;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 6px 0 0 rgba(0, 0, 0, .01), 0 15px 32px 0 rgba(0, 0, 0, .06);
    border: 1px solid rgb(236, 236, 236);
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center
}

.containerdepartamento .left ul  .competencia {
    width: 100%;
    float: left;
    color: #5c5c5c;
}

.containerdepartamento .left ul  .competencia ol li span  { 
    font-family: 'Oswald' !important;
    }

.containerdepartamento .left ul  .competencia p {
    margin: 0;
    }

.containerdepartamento .left ul .card  .img {
    width: 200px;
    height: 245px;
    float: left;
    overflow: hidden;
}

.containerdepartamento .left ul .card  .img.ativo {
    display: block;
}

.containerdepartamento .left ul .card  .informacoes {
    padding-left: 15px;
    float: left;
    display: flex;
    flex-direction: column;
}

.containerdepartamento .left ul .card  .texto {
    padding: 0 30px 0 0 !important;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.containerdepartamento .left ul .card .texto h3 {
    border: 0;
    color: #363b34;
}

.containerdepartamento .left ul .card .texto .field_item_institucional {
    width: 100%;
    color: #5c5c5c ;
    font-size: 1rem;
}
.containerdepartamento .left ul .card .texto .field_item_institucional strong {
    color: #363b34;
}




.containerdepartamento .left ul .card  .informacoes.full {
    width: 100%;
}

.containerdepartamento .left ul .card  .informacoes h3.nome {
    width: 100%;
    font-size: 1.25rem;
    font-family: "Swis721 BT", serif;
    color: RGB(77, 77, 76);
    padding-bottom: 10px;
    border-bottom: 1px solid rgb(236, 236, 236);
    margin-bottom: 15px;
    word-wrap: break-word;
}

.containerdepartamento .left ul .card  .informacoes p {
    width: 100%;
    color: RGB(77, 77, 76);
    margin-bottom: 5px;
    word-wrap: break-word;
}

.containerdepartamento .left ul .card  .btns {
    width: 100%;
    float: left;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: center
}

.containerdepartamento .left ul .card  .btns  .button {
    width: 203px;
    height: 35px;
    float: left;
    color: #fff;
    background: #363b34;
    border: 1px solid transparent;
    margin-right: 14px;
    font-size: 0.6875rem;
    border-radius: 3px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    text-align: center;
    vertical-align: center;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}


.containerdepartamento .left ul [departamentos-container] {
    display: none;

    }

.containerdepartamento .left ul [departamentos-container]  > .icon-up-arrow {
   width: 100%;
    display: flex;
    flex-direction: row;
    text-align: center;
    justify-content: center;
    margin-top: -18px;
    margin-bottom: 6px;
    align-items: center;
    height: 45px

}

.containerdepartamento .left ul .card  .btns button.btn_subordinados {
    display: none;
}

.containerdepartamento .left ul .card  .btns button.btn_subordinados.show {
    display: block;
}

.containerdepartamento .left ul .card  .btns button:hover {
    background: transparent;
    border-color: #363b34;
    color: #363b34;
    transition: 0.3s;
}

.containerdepartamento .left ul .card  .btns button:active {
    border-color: #363b34;
    color: #363b34;
    transition: 0.3s;
}

.containerdepartamento .left ul .card  .btns button.ativo {
    border-color: rgb(251, 182, 19);
    color: rgb(251, 182, 19);
    background: transparent;
    transition: 0.3s;
}

.containerdepartamento .left ul .card article {
    width: 100%;
    float: left;
    margin-top: 30px;
}

.containerdepartamento .left ul .card article p.title {
    width: 100%;
    font-size: 1.25rem;
    font-family: "Swis721 BT", serif;
    color: RGB(77, 77, 76);
    padding-bottom: 10px;
    margin-bottom: 15px;
    word-wrap: break-word;
    font-weight: bold;
}

/**
   ================ CSS ERRO ===============
 */
.containerdepartamento .left h3.error {
    width: 100%;
    float: left;
    margin-top: 30px;
    color: RGB(77, 77, 76);
}

.containerdepartamento .sidebar {
    width: 300px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    padding-bottom: 20px;
    font-weight: bold;
    margin-top: 40px;
}

.containerdepartamento .sidebar .titulo {
    width: 100%;
    float: left;
    color: #fff;
    padding: 10px 30px;
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 1.375rem;
    background-color: #363b34;
}

.containerdepartamento .sidebar .categoria {
    width: 100%;
    float: left;
    padding: 10px 30px;
    font-size: 1.063rem;
    color: #363b34;
}

.containerdepartamento .sidebar .categoria:hover {
    color: #90aa44;
}

@media all and (max-width: 420px) {
    .containerdepartamento .sidebar {
        width: 100%;
    }
}

   
}

