:root {
    --c-pink: #f0587d;
    --c-white: #FFF;
    --c-purple: #55489d;
    --c-silver: #999999;
    --c-orange: #eb6e5a;
}

body {
    font-family: 'allerregular', sans-serif;
    font-size: 16px;
}

.main-content p{
    padding:0;
}

.p-0{
    padding:0;
}

.m-0{
    padding:0;
}

/* =Main Header*/

.main-header {
    background-image: url('../images/banner.jpg');
    background-color: var(--c-orange);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    display: block;
    height: 350px;
    margin-bottom: 32px
}

/* = Page*/
.page-header {
    margin-bottom: 32px;
}

.page-header h1 {
    margin: 0;
    font-weight: 600;
    color: var(--c-purple);
}

.page-header p {
    color: var(--c-silver);
}

.page-content {
    display: flex;
}

/* = Sidebar*/

.sidebar {
    border: 1px solid #EDEDED;
    padding: 16px;
    border-radius: 5px;
    margin-bottom: 32px;
}

.sidebar header {
    margin-bottom: 16px;
    border-bottom: 1px solid #EDEDED
}

.sidebar header::after {
    display: none;
}

.sidebar header img {
    opacity: 0.3;
    margin-bottom: 8px;
}

.sidebar header strong {
    color: var(--c-purple);
    margin-bottom: 8px;
    display: block;
    font-size: 19px;
}

.sidebar header p {
    color: var(--c-silver);
    font-size: 16px;
    margin-bottom: 16px;
}

.sidebar ul{
    list-style: none;
    padding: 0;
}

.sidebar ul li a{
    text-decoration: none;
    color:#6d6e70;
    font-family: 'allerregular', sans-serif;
    font-size:16px;
    padding: 3px 0px;
    display: block;
}


.menu {
    margin-bottom: 16px;
}

.menu-item {
    border-bottom: 1px solid #EDEDED;
    margin-bottom: 16px;
    overflow: hidden;
    position: relative;
    background-color: #FFF;
}

.menu-item header {
    border: none;
    margin: 0;
    font-weight: 600;
    padding: 8px 0;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}


.menu-item header::after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid black;
    position: static;
    transition: linear 300ms;
    opacity: 20%;
}

.menu-item ul {
    opacity: 0;
    transition: 300ms ease;
    position: absolute;
    top: -50px;
}

.menu-item.opened ul {
    position: relative;
    top: 0;
    opacity: 1;
}

.menu-item.opened header::after {
    transform: rotate(180deg)
}

.list-content {
    width: 100%;

}

.list-content header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.list-content header p {
    color: var(--c-silver);
}

.list-content header::after {
    display: none;
}

.list-content .search-bar .input-group{
    padding: 0px 15px;
    border-radius: 25px;
    border: 1px solid var(--c-silver);
    font-family: 'allerregular', sans-serif;
    font-size: 14px;
    width: 250px;
    background: #EEE;
    display: flex;
}
.list-content .search-bar input[type="search"] {
    padding: 8px 15px;
    border:none;
    font-family: 'allerregular', sans-serif;
    width: 250px;
    background-color: #EEE;
}

.list-content .search-bar button{
    padding: 0;
    border:none;
}

.locais {
    margin-top: 32px;
}
.locais .col-12{
    padding:4px;
}
.local-item {
    border: 1px solid #EDEDED;
    padding: 8px;
    border-radius: 10px
}

.local-item .local-category {
    background: var(--c-purple);
    color: #FFF;
    display: inline-block;
    line-height: 12px;
    padding: 3px 5px;
    margin-bottom: 8px;
    font-size: 11px;
}

.local-item .local-category.centro-medico {
    background-color: #2384C5;
}

.local-item .local-category.uti {
    background-color: #FFCB03;
    color:rgba(0,0,0,0.5);
}

.local-item .local-category.imagem {
    background-color: #36B4AF;
}

.local-item .local-category.nuclear {
    background-color:#9FE0D0;
    color:rgba(0,0,0,0.5);
}

.local-item .local-category.terapia {
    background-color: #F05B7E;
}

.local-item .local-category.oncologia {
    background-color: #E36A51;
}

.local-item .local-category.cirurgia {
    background-color: #C7C7C7;
    color:rgba(0,0,0,0.5);
}

.local-item .local-category.emergencia {
    background-color: #F05B5D;
}

.local-item .local-category.servicos {
    background-color: #DBDB8D;
    color:rgba(0,0,0,0.5);
}

.local-item .local-category.recepcao {
    background-color: #C9B8FF;
    color:rgba(0,0,0,0.5);
}

.local-item .local-title {
    color: #666;
    font-size: 14px;
    font-weight: 600;
}

.local-item .local-text {
    font-size: 13px;
    color: var(--c-silver);
}

.local-instructions {
    border-top: 1px solid #EDEDED;
    padding-top: 8px;
    margin-top: 8px;
}

.local-instructions p {
    display: flex;
    flex-direction: column;
    font-size: 13px;
    color: var(--c-silver);
    height: 0;
    overflow: hidden;
    line-height: 18px;
}

.local-instructions p span.step{
    display: inline-block;
    padding-left: 16px;
    line-height: 18px;
    background:url(../images/turn_right.svg) no-repeat left center;
}

.local-instructions p span.step:last-child{
    background:url(../images/where_to_vote.svg) no-repeat left center;
}

.local-instructions header {
    color: var(--c-purple);
    font-size: 12px;
    cursor: pointer;
    padding:8px 0;
}
.local-instructions header::after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid black;
    position: static;
    transition: linear 300ms;
    opacity:0.2;
}

.local-instructions header div {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 4px;
}

.local-instructions.opened p {
    height: auto;
    font-size:11px;
    line-height:16px;
}

.local-instructions.opened header::after {
    transform: rotate(180deg)
}