/*
Theme Name: Sistema Famato
Theme URI: #
Author: ETIC
Version: 1.2
Text Domain: sistema-famato
*/
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

a {
    text-decoration: none;
    color: inherit;
}

.wp-block-image.sf-image-full img,
.wp-block-image.size-large img {
    width: 100%;
    object-fit: contain;
    object-position: center;
    height: 100%;
}

h1 {
    font-size: 1.5rem;
}

body {
    font-family: "Ubuntu", sans-serif;
}

.container {
    width: 90%;
    margin: 0 auto;
}

.ui-autocomplete {
    background: #fff;
    padding: 3px;
    width: fit-content;
    max-height: 180px;
    box-shadow: 0 2px 5px #666;
}

.ui-autocomplete .ui-menu-item {
    list-style: none;
}

.ui-autocomplete .ui-menu-item-wrapper {
    position: unset;
    padding: .25rem .5rem;
    display: block;
}

.ui-helper-hidden-accessible {
    display: none;
}

.ui-autocomplete .ui-menu-item.ui-state-focus {
    background: #ddd;
    border-radius: 2px;
    cursor: pointer;
}

.sf-warning {
    color: #14521D;
    font-weight: bold;
}

#sf-menu-desktop {
    display: none;
}

#sf-menu-mobile {
    width: 100%;
    box-shadow: 5px 0 5px #7b7b7b;
    position: relative;
}

#sf-menu-mobile .container {
    display: flex;
    padding: 0.5rem 0;
    justify-content: space-between;
    align-items: center;
}

#sf-menu-mobile .container .logo {
    object-position: center;
    object-fit: contain;
}

#sf-menu-mobile .container .logo img {
    height: 80px !important;
}

#sf-menu-mobile .sf-menu-mobile-triggers {
    display: flex;
    flex-direction: row-reverse;
}

#sf-menu-mobile .sf-menu-mobile-triggers .search-trigger {
    margin-right: 1rem;
}

#sf-search-panel {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: #042609;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

#sf-search-panel #sf-search-panel-close {
    fill: white;
    position: absolute;
    top: 2rem;
    right: 2rem;
}

#sf-search-panel form {
    display: inline-flex;
}

#sf-search-panel input {
    background: transparent;
    color: white;
    border: 0 solid white;
    border-bottom-width: 1px;
    padding: 1rem;
    outline: none;
    font-size: 1.2rem;
}

#sf-search-panel input::placeholder {
    color: white;
}

#sf-search-panel button {
    background-color: #042609;
    color: white;
    cursor: pointer;
    padding: 1rem;
    border: 0 solid white;
    border-bottom-width: 1px;
    border-left: 1px none;
    display: inline-flex;
}

#sf-main-menu-mobile {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100%;
    background: white;
    z-index: 1000;
    justify-content: flex-start;
    flex-direction: column;
    font-size: 1.4rem;
    overflow: scroll;
}

#sf-main-menu-mobile  #sf-main-menu-mobile-close {
    fill: #042609;
    position: absolute;
    top: 2rem;
    right: 2rem;
}

#sf-main-menu-mobile a {
    text-decoration: none;
    color: inherit;
}

#sf-main-menu-mobile ul {
    list-style: none;
    padding: 0;
}

#sf-main-menu-mobile .container > ul.menu > li {
    padding: 0.3rem 0;
    color: #042609;
    font-weight: 600;
}

#sf-main-menu-mobile ul .menu-item a:not(:only-child) {
    background-image: url("assets/images/arrow-down-s-line.svg");
    background-repeat: no-repeat;
    background-position: center right;
    padding-right: 2rem;
}

#sf-main-menu-mobile ul.sub-menu {
    padding: 0.5rem 0.4rem;
}

#sf-main-menu-mobile ul.sub-menu > li {
    margin: 0.3rem;
    font-weight: 400;
}

#sf-main-menu-mobile .current-menu-item {
    position: relative;
}

#sf-main-menu-mobile .current-menu-item a {
    padding-left: 0.5rem;
}

#sf-main-menu-mobile .current-menu-item::before {
    background-image: url("assets/images/arrow-right-line.svg");
    background-repeat: no-repeat;
    background-position: center;
    content: '';
    width: 20px;
    height: 100%;
    position: absolute;
    top: 0;
    left: -1rem;
}

.sf-menu-mobile-top-bar {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    justify-content: space-between;
}

.logos img {
    margin: 0.2rem;
}

#sf-menu-desktop .container {
    display: flex;
}

#sf-menu-desktop .container .logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

#sf-menu-desktop .container .logo img {
    height: 100px !important;
}

#sf-menu-desktop .container div:last-child .search-trigger {
    margin-right: 1rem;
}

#sf-menu-desktop .menus {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#sf-menu-desktop .menus .sub-menu {
    display: none;
}

#sf-menu-desktop .menus,
#sf-menu-desktop .menus .menu {
    width: 100%;
}

#sf-menu-desktop .menus #menu-top {
    margin-top: 1rem;
}

#sf-menu-desktop .menus #menu-top .menu {
    margin: 0;
}

#sf-menu-desktop .menus .menu {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

#sf-menu-desktop .menus .menu a {
    text-decoration: none;
    color: inherit;
    font-size: 1rem;
}

#sf-menu-desktop > .container > .menus > .menu {
    margin: 1rem 0 0 0;
}

#sf-menu-desktop > .container > .menus > .menu > .menu-item {
    padding: 0 0 1rem;
}

#sf-menu-desktop > .container > .menus > .menu > .menu-item > a {
    display: block;
    padding: 0.5rem 1rem;
}

#sf-menu-desktop > .container > .menus > .menu > .menu-item:hover > a,
#sf-menu-desktop > .container > .menus > .menu > .current-menu-item > a {
    background-color: #61B459;
    color: #fff;
}

#sf-menu-desktop .menus .menu-item {
    color: #042609;
    padding: 0.5rem 1rem;
    position: relative;
}

#sf-menu-desktop .menus > .menu > .menu-item a:not(:only-child) {
    background-image: url("assets/images/arrow-down-s-line.svg");
    background-repeat: no-repeat;
    background-position: center right;
    padding-right: 1.6rem !important;
}

#sf-menu-desktop .menus > .menu > .menu-item:hover a:not(:only-child) {
    background-image: url("assets/images/arrow-down-s-line-white.svg");
}

#sf-menu-desktop .menus #menu-top,
#sf-menu-desktop .menus #menu-top form {
    display: flex;
    justify-content: space-between;
}

#sf-menu-desktop .menus #menu-top .menu-item {
    font-weight: 600;
    font-size: 1.3rem;
}

#sf-menu-desktop .menus .menu-item .sub-menu {
    position: absolute;
    list-style: none;
    padding: 1rem 0;
    flex-direction: column;
    width: 300px;
    top: 3rem;
    left: 0;
    z-index: 1000;
    background-color: rgba(255,255,255,0.9);
    box-shadow: inset 0 20px 5px -20px rgba(123,123,123,1);
}

#sf-menu-desktop .menus .menu-item:hover .sub-menu {
    display: flex;
}

#sf-menu-desktop .menus .menu-item:hover .sub-menu .menu-item {
    padding: 0;
}

#sf-menu-desktop .menus .menu-item:hover .sub-menu .menu-item a {
    width: 100%;
    display: block;
    padding: 0.5rem 1rem;
}

#sf-menu-desktop .menus .menu-item:hover .sub-menu .menu-item:hover {
    background-color: rgba(247, 247, 247, 0.9);
    color: #147B2B;
    position: relative;
}

#sf-menu-desktop .menus .menu-item:hover .sub-menu .menu-item:hover::before {
    background-image: url("assets/images/arrow-right-line.svg");
    background-repeat: no-repeat;
    background-position: center;
    content: '';
    width: 20px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0.5rem;
}

#sf-menu-desktop .menus .menu-item:hover .sub-menu .menu-item:hover a {
    padding-left: 2rem;
}

#sf-menu-desktop .menus .menu-item:hover .sub-menu .menu-item:hover a {
    text-decoration: underline;
}

#sf-menu-desktop input#s {
    background-color: #F7F7F7;
    border: 1px solid #D9D9D9;
    color: #042609;
    padding: 0.5rem;
    outline: none;
}

#sf-menu-desktop input#s::placeholder {
    color: #042609;
    font-style: italic;
}

#sf-menu-desktop button#searchsubmit {
    background-color: #042609;
    color: white;
    padding: 0 0.5rem;
    border: 1px solid #D9D9D9;
    border-left: none;
    cursor: pointer;
}

#main-menu > li > a {
    font-size: 0.9rem !important;
    padding: 0.5rem 0.5rem !important;
}

.page-header img,
.home-page-header img {
    width: 100%;
    object-position: top center;
    object-fit: cover;
    height: 100%;
}

.page-header,
.page-header img {
    height: 272px;
}

.home-page-header {
    height: 515px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.home-page-header #img-fes-desktop {
    display: none;
}

.home-page-header #img-fes-mobile {
    display: block;
}

.sf-slider .slick-prev {
    left: 15px;
}

.sf-slider .slick-next {
    right: 15px;
}

.sf-slider .slick-next,
.sf-slider .slick-prev {
    z-index: 900;
}

.sf-slider .slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: flex;
    width: 29px;
    align-items: center;
    justify-content: center;
    padding: 5px;
    height: 29px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    position: relative;
    background: transparent;
}

.sf-slider li.slick-active button {
    border: 1px solid #61B459;
    border-radius: 100%;
}

.sf-slider .slick-dots li button:before {
    font-family: 'slick';
    font-size: 15px;
    position: absolute;
    top: 5px;
    left: 3px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    content: '•';
    justify-content: center;
    text-align: center;
    opacity: .25;
    color: black;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.sf-slider .slick-dots li.slick-active button:before {
    opacity: .75;
    color: #61B459;
}

.sf-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.sf-titulo {
    color: #042609;
    border-bottom: 8px solid;
    border-image-source: linear-gradient(to right, #147b2b 0 95px, transparent 95px 100%);
    border-image-slice: 1;
    padding-bottom: 0.3rem;
    margin-bottom: 2rem;
    border-top-width: 0;
    border-left-width: 0;
    text-transform: uppercase;
}

.sf-subtitulo {
    color: #14521d;
    font-size: 1.5rem;
    font-weight: 600;
}

.sf-botao:hover a {
    background-color: #147b2b !important;
}

.content p,
.content ul,
.content ol {
    line-height: 2rem;
    font-size: 1.2rem;
    color: #383838;
    margin-bottom: 1rem;
}

.content ul,
.content ol {
    padding-left: 1.2rem;
}

/**
 * Footer
 */
footer .newsletter {
    background-color: #147B2B;
    min-height: 100px;
    display: flex;
    align-items: center;
    margin-top: 2rem;
    padding: 1rem 0;
}

footer .menus {
    display: flex;
    flex-direction: column-reverse;
    border-bottom: 1px solid #D9D9D9;
}

footer .menus ul {
    text-align: center;
    list-style: none;
    padding: 0;
}

footer a {
    text-decoration: none;
}

footer .menus ul li {
    padding: 0.3rem 0;
}

footer .menus ul li a {
    color: #14521D;
    font-weight: 600;
}

footer #menu-social {
    justify-content: center;
    display: flex;
    padding: 1rem 0 0.7rem;
}

footer #menu-social a {
    margin: 0 0.5rem;
}

footer #information {
    text-align: center;
    padding-bottom: 1rem;
}

footer #information img {
    margin: 1rem 0;
}

footer #information > div:last-child > div:first-child {
    margin: 1rem 0;
}

footer #information div p,
footer #information div a {
    margin-top: 0.5rem;
}

footer #information div a {
    color: inherit;
}

footer #information div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer #copyright {
    background-color: #042609;
    color: white;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.7rem;
}

.contact-cards {
    display: grid;
    grid-template-columns: 100%;
    grid-gap: 2rem 4%;
}

.contact-cards .contact-card {
    padding: 1rem;
    box-shadow: 0 0 2px 1px rgb(0 0 0 / 6%);
}

.contact-cards .contact-card .telephone,
.contact-cards .contact-card .email {
    background-position: left center;
    background-repeat: no-repeat;
    padding-left: 1.5rem;
    overflow-wrap: anywhere;
}

.contact-cards .contact-card .telephone {
    background-image: url("assets/images/phone-fill.svg");
}

.contact-cards .contact-card .email {
    background-image: url("assets/images/mail-fill.svg");
}

.contact-map {
    width: 100%;
    height: 300px;
    margin: 2rem 0 -35px;
}

#sf-post-blocks {
    display: grid;
    grid-template-columns: 100%;
    grid-gap: 1rem;
}

#sf-post-blocks .sf-post-block:first-child {
    grid-row-start: 1;
    grid-row-end: 3;
    max-height: calc(600px + 1rem);
    height: 300px;
}

#sf-post-blocks .sf-post-block:not(:first-child) {
    height: 300px;
}

#sf-post-blocks .sf-post-block {
    position: relative;
    overflow: hidden;
}

#sf-post-blocks .sf-post-block .sf-post-block-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#sf-post-blocks .sf-post-block img {
    min-width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: 0.5s all ease;
}

#sf-post-blocks .sf-post-block:hover {
    cursor: pointer;
}

#sf-post-blocks .sf-post-block:hover img {
    transform: scale(1.2);
}

#sf-post-blocks .sf-post-block .sf-post-block-overlay .sf-post-block-category {
    width: fit-content;
    padding: 0.3rem 0.5rem;
    color: white;
    margin-top: 1rem;
}

#sf-post-blocks .sf-post-block .sf-post-block-overlay .sf-post-block-category > a {
    color: inherit;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 500;
}

#sf-post-blocks .sf-post-block .sf-post-block-overlay > div:last-child {
    padding: 1rem;
}

#sf-post-blocks .sf-post-block .sf-post-block-overlay .sf-post-block-title {
    padding: 0.3rem 0.5rem;
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 2rem;
    -webkit-box-decoration-break: clone;
    -ms-box-decoration-break: clone;
    -o-box-decoration-break: clone;
    box-decoration-break: clone;
    text-decoration: none;
}

#sf-post-blocks .sf-post-block .sf-post-block-overlay .sf-post-block-date {
    margin-top: 1rem;
    color: white;
    padding: 0.3rem 0.5rem;
    display: flex;
    align-items: center;
    width: fit-content;
}

#sf-post-blocks .sf-post-block .sf-post-block-overlay .sf-post-block-category,
#sf-post-blocks .sf-post-block .sf-post-block-overlay .sf-post-block-title,
#sf-post-blocks .sf-post-block .sf-post-block-overlay .sf-post-block-date {
    background-color: rgb(4, 38, 9);
    transition: 0.2s all ease;
}

#sf-post-blocks .sf-post-block .sf-post-block-overlay .sf-post-block-category:hover,
#sf-post-blocks .sf-post-block .sf-post-block-overlay .sf-post-block-title:hover,
#sf-post-blocks .sf-post-block .sf-post-block-overlay .sf-post-block-date:hover {
    background-color: rgb(20, 123, 43);
}

.sf-search-bar-courses,
.sf-fm-filter-vtn {
    background-color: #147B2B;
}

#sf-event-list .sf-event-list-item {
    display: grid;
    grid-template-columns: 100%;
    grid-gap: 1rem;
    margin: 1rem 0;
    box-shadow: 0 0 2px 1px rgb(0 0 0 / 6%);
}

#sf-event-list .sf-event-list-item-image {
    height: 200px;
}

#sf-event-list .sf-event-list-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.sf-event-list-item-information {
    font-size: 1.2rem;
    line-height: 1.5rem;
    padding: 1rem 2rem 0;
    color: #383838;
}

.sf-event-list-item-information h3 {
    text-transform: uppercase;
    margin: 0 0 1rem 0;
    color: #14521D;
    font-size: 1.5rem;
}

#sf-event-list .sf-event-list-item-information p {
    margin: 0 0 1rem;
}

#sf-event-list .sf-event-list-item-information div {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

#sf-event-list .sf-event-list-item-read-more {
    display: flex;
    justify-content: flex-end;
    padding: 0 1rem 1rem 0;
}

#sf-event-list .sf-event-list-item-read-more a {
    display: flex;
    text-decoration: none;
    align-items: center;
    cursor: pointer;
}

#sf-event-list .sf-event-list-item-read-more .sf-event-list-item-read-more-text {
    background-color: rgb(4, 38, 9);
    border: 1px solid rgb(4, 38, 9);
    color: white;
    display: flex;
    padding: 1rem 2rem;
    text-decoration: none;
    align-items: center;
    cursor: pointer;
    height: 3rem;
    transition: 0.2s all ease;
}

#sf-event-list .sf-event-list-item-read-more a:hover .sf-event-list-item-read-more-text {
    background-color: #147B2B;
    border-color: #147B2B;
}

#sf-event-list .sf-event-list-item-read-more .sf-event-list-item-read-more-icon {
    background-color: white;
    border: 1px solid rgb(4, 38, 9);
    color: rgb(4, 38, 9);
    height: 3rem;
    display: flex;
    align-items: center;
    width: 3rem;
    justify-content: center;
    fill: rgb(4, 38, 9);
}

#sf-event-list .sf-event-list-item-read-more a:hover .sf-event-list-item-read-more-icon {
    border-color: #147B2B;
    fill: #147B2B;
}

#sf-article {
    overflow-wrap: break-word;
}

#sf-article .entry-header {
    display: flex;
    flex-direction: column;
}

#sf-article .entry-header a {
    text-decoration: none;
    color: inherit;
}

#sf-article-header-image {
    width: 100%;
    height: 500px;
}

#sf-article-header-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.sf-article-header-image-caption {
    text-align: left;
    font-size: 1rem !important;
    font-style: italic;
    font-weight: 500;
    margin: 0;
}

#sf-article .entry-header .post-image-full,
#sf-article .entry-header .post-image-original {
    align-self: center;
}

#sf-article .entry-header .post-image-full {
    width: 100%;
}

#sf-article .entry-header .sf-article-date {
    background-image: url("assets/images/calendar-fill.svg");
    background-repeat: no-repeat;
    background-position: center left;
    padding-left: 1.5rem;
    background-size: 20px 20px;
    margin-bottom: 0;
    font-size: 1rem;
}

#sf-article .entry-header .sf-article-author {
    color: #54595F;
    margin-bottom: 1rem;
}

.sf-post-list {
    display: grid;
    grid-template-columns: 100%;
    grid-gap: 3rem;
    margin-bottom: 2rem;
}

.sf-post-list-item {
    display: grid;
    grid-template-columns: 20% 79%;
    grid-gap: 1%;
}

.sf-post-list-item a {
    text-decoration: none;
    color: inherit;
}

.sf-post-list-item-image {
    height: 180px;
}

.sf-post-list-item .sf-post-list-item-image img {
    align-self: center;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: top center;
}

.sf-post-list-item-content {
    align-self: center;
}

.sf-post-list-item-category {
    color: rgba(97, 180, 89, 1);
}

.sf-post-list-item-excerpt {
    color: rgba(56, 56, 56, 1);
    line-height: 1.5rem;
    text-align: justify;
}

.sf-post-list-item .sf-post-list-item-date {
    background-image: url("assets/images/calendar-fill.svg");
    background-repeat: no-repeat;
    background-position: center left;
    padding-left: 1.5rem;
    background-size: 20px 20px;
    margin-bottom: 0;
    font-size: 1rem;
}

.sf-post-list-item .sf-post-list-item-title {
    color: #042609;
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 1rem;
}

.sf-post-list-item .sf-post-list-item-author {
    color: #54595F;
    margin-bottom: 1rem;
}

.sf-post-list-item .sf-post-list-item-read-more {
    display: flex;
    margin-top: 1rem;
}

.sf-post-list-item .sf-post-list-item-read-more a {
    display: flex;
    text-decoration: none;
    align-items: center;
    cursor: pointer;
}

.sf-post-list-item .sf-post-list-item-read-more .sf-post-list-item-read-more-text {
    background-color: rgb(4, 38, 9);
    border: 1px solid rgb(4, 38, 9);
    color: white;
    display: flex;
    padding: 1rem 2rem;
    text-decoration: none;
    align-items: center;
    cursor: pointer;
    height: 3rem;
    transition: 0.2s all ease;
}

.sf-post-list-item .sf-post-list-item-read-more a:hover .sf-post-list-item-read-more-text {
    background-color: #147B2B;
    border-color: #147B2B;
}

.sf-post-list-item .sf-post-list-item-read-more .sf-post-list-item-read-more-icon {
    background-color: white;
    border: 1px solid rgb(4, 38, 9);
    color: rgb(4, 38, 9);
    height: 3rem;
    display: flex;
    align-items: center;
    width: 3rem;
    justify-content: center;
    fill: rgb(4, 38, 9);
}

.sf-post-list-item .sf-post-list-item-read-more a:hover .sf-post-list-item-read-more-icon {
    border-color: #147B2B;
    fill: #147B2B;
}

.sf-button {
    display: flex;
}

.sf-button-end {
    justify-content: flex-end;
}

.sf-button a,
.sf-button button {
    display: flex;
    text-decoration: none;
    align-items: center;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    outline: none;
}

.sf-button .sf-button-text {
    background-color: rgb(4, 38, 9);
    border: 1px solid rgb(4, 38, 9);
    color: white;
    display: flex;
    padding: 1rem 2rem;
    text-decoration: none;
    align-items: center;
    cursor: pointer;
    height: 3rem;
    transition: 0.2s all ease;
}

.sf-button a:hover .sf-button-text,
.sf-button-active a .sf-button-text,
.sf-button button:hover .sf-button-text,
.sf-button-active button .sf-button-text {
    background-color: #147B2B;
    border-color: #147B2B;
}

.sf-button .sf-button-icon {
    background-color: white;
    border: 1px solid rgb(4, 38, 9);
    color: rgb(4, 38, 9);
    height: 3rem;
    display: flex;
    align-items: center;
    width: 3rem;
    justify-content: center;
    fill: rgb(4, 38, 9);
}

.sf-button a:hover .sf-button-icon,
.sf-button-active a .sf-button-icon,
.sf-button button:hover .sf-button-icon,
.sf-button-active button .sf-button-icon {
    border-color: #147B2B;
    fill: #147B2B;
}

.sf-section-with-two-banners {
    display: grid;
    grid-template-columns: 100%;
    grid-gap: 1rem;
    margin: 1rem 0;
}

.sf-section-with-one-banner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0;
}

#sf-cards-courses-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#sf-cards-courses-header .sf-cards-courses-controls {
    display: flex;
    justify-content: space-between;
    width: 6rem;
}

#sf-cards-courses-header .sf-cards-courses-controls-prev,
#sf-cards-courses-header .sf-cards-courses-controls-next {
    border-radius: 100%;
    border: 0;
    background-color: rgb(4, 38, 9);
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 2px 1px rgb(4 38 9);
    outline: none;
    padding: 0;
}

.cards-courses {
    display: grid;
    width: 90%;
    gap: 2rem 0;
    grid-template-columns: 100%;
    grid-auto-flow: row;
    margin: 0 auto;
}

.cards-courses .pagination-wrapper {
    grid-column-start: 1;
    grid-column-end: 1;
}

.card-course-wrapper {
    padding: 1rem;
}

.card-course {
    display: flex;
    flex-direction: column;
    border: 1px solid #f5f5f5;
    box-shadow: 4px 4px 10px #f5f5f5;
    background-color: white;
}

.card-course-content {
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
}

.card-course-image {
    overflow: hidden;
    min-height: 298px;
}

.card-course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    max-height: 298px;
}

.card-course-content h3 {
    background-color: #147B2B;
    text-align: center;
    color: white;
    border-radius: 20px;
    font-family: 'Ubuntu', sans-serif;
    font-size: 15px;
    padding: 0.25rem 0;
    font-weight: 500;
    margin: 1rem 0;
}

.card-course-content h2 {
    font-size: 15px;
    text-transform: uppercase;
    font-family: 'Ubuntu', sans-serif;
    text-align: center;
    color: #042609;
    font-weight: 600;
    min-height: 100px;
}

.card-course-content a {
    color: inherit;
    text-decoration: none;
}

.card-course-content > a {
    border: 1px solid #2d2c2c;
    padding: 0.5rem 1.5rem;
    border-radius: 40px;
    margin: 0 auto;
    color: #2d2c2c;
}

.card-course-content > a:hover {
    border: 1px solid #147B2B;
    background-color: #147B2B;
    color: white;
}

.card-course-info {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    background-color: #D9D9D9;
    color: #042609;
    font-size: 14px;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 400;
    margin-top: 2rem;
}

h4.advgb-accordion-header-title a {
    text-decoration: none;
}

.pagination-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-wrapper .pagination {
    display: flex;
    flex-wrap: wrap;
}

.pagination-wrapper .pagination .page-numbers {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    background-color: white;
    border: 2px solid #14521D;
    color: #14521D;
    margin: 0.5rem 0.3rem 0;
    box-sizing: border-box;
    text-decoration: none;
}

.pagination-wrapper .pagination a.page-numbers {
    text-decoration: none;
}

.pagination-wrapper .pagination a.page-numbers:hover,
.pagination-wrapper .pagination span.page-numbers {
    background-color: #14521D;
    color: white;
}

.input-reset {
    display: none;
}

.sf-accordion-header {
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
    margin-bottom: 0;
    padding: 0.5rem;
}

.sf-accordion-header.ui-state-active {
    background-color: #147B2B;
    border-color: #147B2B;
}

.sf-accordion-content.ui-helper-reset {
    padding: 0 0.5rem;
}

#sf-sn-courses-list #sidebar-courses label {
    border-color: #d6d6d6;
}

#sf-sn-courses-list #sidebar-courses h2,
#sf-sn-courses-list #sidebar-courses .sidebar-courses-pillar-active {
    background-color: #147B2B;
}

.sf-fm-representations-count-wrapper {
    display: grid;
    grid-template-columns: 100%;
    grid-gap: 1rem 2%;
}

.sf-fm-representations-count {
    justify-self: center;
    display: flex;
    flex-direction: column;
    border: 1px solid #14521D;
    align-items: center;
    width: 100%;
    padding: 2rem 0 3rem;
    height: 100%;
}

.sf-fm-representations-count h2,
.sf-fm-representations-count p {
    margin: 0;
    font-weight: bold;
    color: #14521d;
}

.sf-fm-representations-count h2 {
    font-size: 3rem;
}

.sf-fm-representations-count p {
    font-size: 2rem;
    text-transform: uppercase;
}

.sf-fm-representations-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sf-fm-representations-buttons-up,
.sf-fm-representations-buttons-down {
    fill: #042609;
    cursor: pointer;
    background-color: transparent;
    border: none;
    outline: none;
}

.sf-fm-representations-buttons-up {
    display: none;
}

.sf-fm-representations-entities-wrapper {
    display: none;
}

.sf-fm-representations-entities {
    display: grid;
    grid-template-columns: 54% 23% 23%;
    margin-bottom: 2rem;
}

.sf-fm-representations-entities h2 {
    margin: 0;
    font-size: 1rem;
    text-align: center;
    padding: 0.5rem;
    background: #147B2B;
    color: white;
    font-weight: 400;
}

.sf-fm-representations-entities p {
    margin: 0;
    line-height: 1rem;
    font-size: 0.8rem;
    padding: 0.5rem;
    text-align: center;
    border: 1px solid #ccc;
}

#regioes-famato {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    margin: 3rem 0;
}

#regioes-famato > div:first-child {
    display: flex;
    flex-direction: column;
}

#regioes-famato > div > p {
    margin-top: 3rem;
    font-weight: 500;
    color: #042609;
    text-align: center;
}

#regioes-famato #lista {
    width: 100%;
}

#regioes-famato #lista #contadores {
    border-bottom: 2px solid #f7f7f7;
    padding: 1rem;
}

#regioes-famato #lista #contadores p {
    margin: 0;
    font-weight: 500;
    color: #042609;
}

#regioes-famato #lista #lista-municipios {
    padding: 1rem;
}

#regioes-famato #lista ul {
    list-style: none;
    padding-left: 1rem;
}

#regioes-famato #lista #lista-municipios > li {
    font-style: italic;
    color: #042609;
}
#regioes-famato #lista #lista-municipios > li,
#regioes-famato #lista #lista-municipios > li > ul > li {
    margin-bottom: 0.3rem;
}

#regioes-famato #lista #lista-municipios > li > ul > li:first-child {
    font-weight: bold;
    color: #3a3a3a;
    font-style: normal;
}

#regioes-famato .regioes-print {
    display: flex;
    align-items: center;
    fill: #147B2B;
    color: #147B2B;
    text-decoration: none;
    font-weight: 500;
    margin: 1rem 0;
}

#sf-fm-filter-regions {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
}

#sf-fm-filter-regions label {
    color: #14521D;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

#sf-fm-filter-regions-select {
    width: 40%;
    padding: 0.3rem;
    border: 1px solid #a2a2a2;
    outline: none;
}

.entry-header-group {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.entry-header-selo {
    margin-bottom: 1rem;
}

.entry-header-info {
    width: 100%;
    padding-bottom: 1rem;
}

.footer-selo {
    width: 40%;
}

@media screen and (min-width: 480px) {
    .sf-fm-representations-count-wrapper {
        grid-template-columns: 32% 32% 32%;
    }

    #regioes-famato {
        flex-direction: row;
    }

    #regioes-famato > div > p {
        text-align: left;
    }

    #regioes-famato #lista {
        width: 25%;
    }

    footer .menus {
        flex-direction: row;
        margin: 0 auto;
        justify-content: space-between;
        align-items: center;
    }

    footer .menus ul {
        display: flex;
    }

    footer .menus ul li {
        padding: 0;
    }

    footer .menus ul li:not(:last-child) {
        padding-right: 1rem;
    }

    footer #information {
        display: grid;
        gap: 2rem 2.3%;
        grid-template-columns: 23% 8% 31% 31%;
        margin: 0 auto;
        align-items: center;
    }

    .footer-selo {
        width: 100%;
    }

    footer #information div:not(footer #information > div:last-child) {
        display: inline-flex;
        flex-direction: row;
        align-items: center;
    }

    footer #information div a {
        margin-top: 0;
    }

    footer #information > div:last-child > div:first-child {
        margin: 0;
    }

    footer #information .icons {
        min-width: 24px;
        min-height: 24px;
        margin: 0.5rem;
    }

    footer #copyright {
        text-align: left;
    }

    .contact-cards {
        display: grid;
        grid-template-columns: 49% 49%;
        grid-gap: 2rem 2%;
    }

    #sf-post-blocks {
        grid-template-columns: 50% 49%;
        grid-gap: 1rem 1%;
    }

    #sf-post-blocks .sf-post-block:first-child {
        grid-row-start: 1;
        grid-row-end: 3;
        max-height: calc(600px + 1rem);
        min-height: 300px;
        height: unset;
    }

    #sf-post-blocks > div:last-child {
        grid-column-end: 3;
    }

    #sf-event-list .sf-event-list-item {
        grid-template-columns: 20% 79%;
        grid-gap: 1rem 1%;
    }

    #sf-event-list .sf-event-list-item-image {
        grid-row-start: 1;
        grid-row-end: 3;
        height: unset;
    }

    #sf-event-list .sf-event-list-item-information p {
        margin: 0;
    }

    #sf-event-list .sf-event-list-item-information div {
        flex-direction: row;
    }

    .sf-section-with-two-banners {
        grid-template-columns: 49% 49%;
        grid-gap: 2%;
    }

    .home-page-header {
        height: 394px;
    }
    
    .home-page-header #img-fes-desktop {
        height: 394px;
        display: block;
    }

    .home-page-header #img-fes-mobile {
        display: none;
    }
}

@media screen and (min-width: 850px) {
    .sf-fm-representations-buttons-up {
        display: block;
    }

    .sf-fm-representations-buttons-down {
        display: none;
    }

    .sf-fm-representations-entities-wrapper {
        display: block;
    }

    .cards-courses {
        width: 100%;
        gap: 2rem 3.5%;
        grid-template-columns: 31% 31% 31%;
    }

    .cards-courses .pagination-wrapper {
        grid-column-end: 4;
    }

    #sf-menu-mobile {
        display: none;
    }

    #sf-menu-desktop {
        display: flex;
    }

    .contact-cards {
        grid-template-columns: 32% 32% 32%;
    }
    
    .entry-header-group {
        flex-direction: row;
    }

    .entry-header-selo {
        margin-bottom: 0px;
    }
}

@media screen and (min-width: 1400px) {
    .container {
        width: 70%;
    }

    .contact-cards {
        grid-template-columns: 22.5% 22.5% 22.5% 22.5%;
        grid-gap: 2rem 2%;
    }
}
