 /* var */
 :root {
    --brand-primary-100: #005746;

    --brand-secondary-100: #009640;

    --neutral-0: #FFFFFF;
    --neutral-10: #F5F8FA;
    --neutral-20: #E4ECF2;
    --neutral-25: #CCD7E0;
    --neutral-30: #B4C1CC;
    --neutral-40: #A1B1BF;
    --neutral-50: #8597A6;
    --neutral-60: #738899;
    --neutral-70: #607180;
    --neutral-80: #434F59;
    --neutral-90: #4a4a4a; 
    --neutral-100: #262D33;

    --neutral-grey-10: #fbfbfb;

    --main-text: var(--neutral-90);

    --rounded: .6rem;
}

.wrapper-body {
    min-height: auto;
}

/* Footer */
.footer {

    .footer-bottom {
        background-color: #6a6a69;
        padding: 50px 0 20px;
        font-family: Muli;
        color: #fff;
    }

    .footer-bottom a {
        color: #fff;
    }

    .footer-bottom a:not(.btn):hover {
        text-decoration: none;
        border-bottom: 1.5px solid #fff;
    }

    .footer-bottom svg {
        width: 16px;
        height: 16px;
    }

    .footer-bottom ul {
        padding-left: 0;
    }

    .footer-bottom nav li {
        margin-bottom: 10px;
    }

    .footer-bottom nav li:after,
    .footer-bottom .footer__contacto .footer__title:after,
    .footer-bottom .footer__info .menu-item {
        content: ">";
        color: #ffffff;
        font-family: Muli;
        margin-left: 4px;
    }

    .footer-bottom nav li a {
        margin-left: 0;
    } 

    .footer__title,
    .footer__title a,
    .footer__info .menu-item a,
    .footer__info .menu-item {
        margin-bottom: 15px;
        font-family: "Merriweather Sans", sans-serif;
        font-size: 24px;
        font-weight: bold;
    }

    .footer__contacto li {
        margin-bottom: 20px;
        display: flex;
        gap: 8px;
    }

    .footer__redes {
        display: flex;
        gap: 20px;
    }

    .footer-bottom .footer__redes > a:not(.btn):hover {
        border-bottom: none;
    }
    
    .footer__redes img {
        width: 32px;
    }

    .footer__redes,
    .footer__contacto,
    .footer__info,
    .footer__nosotros {
        margin-bottom: 30px;
    }
}

/* Text */
.titular {
    margin-bottom: 15px;
}

.main-title {
    margin: 0;
    font-size: 64px;
    font-weight: 900;
    line-height: 0.95;
    color: var(--brand-primary-100);
}

.main-title--brand-secondary {
    color: var(--brand-secondary-100);
    
}

.main-text {
    font-size: 16px;
    line-height: 1.38;
    color: var(--main-text);
}

/* Header navbar */
body h1.siteTitle,
body .navbar-static-top.navbar-inverse .navbar-brand a h1.siteTitle,
body .navbar-static-top.navbar-inverse .navbar-brand a h1.siteTitle > span,
body .navbar-static-top .navbar-brand .siteTitle {
    font-size: 2.3rem;
}

@media (max-width: 1200px) {
    .navbar-static-top .navbar-brand {
        height: auto;
    }

    .navbar-inverse .navbar-nav > li.weblink.is-active > a:before {
        display: none;
    }

    body .nav > li.mobile-only {
        display: block;
    }
}

body {
    
    .navbar-nav {
        margin-right: 0;
        margin-left: 0;
    }
}

body .navbar-static-top.navbar .menu-bar > .navbar-nav > li > a {
    padding: 0;
    margin-right: 24px;
    margin-bottom: 16px;
    font-family: Arial;
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--neutral-70);
}

body .navbar-inverse .navbar-nav > li.weblink > a:hover,
body .navbar-inverse.navbar .menu-bar > .navbar-nav > li > a:hover {
    background-color: transparent;
    color: var(--brand-secondary-100);
}

body  .navbar-static-top.navbar .menu-bar > .navbar-nav > li > a:hover,
body  .navbar-static-top.navbar .menu-bar > .navbar-nav > li > a:focus {
    text-decoration: none;
}

body  .navbar-inverse .navbar-nav > li.weblink > a:focus {
    background-color: transparent;
    color: var(--brand-secondary-100);
    border: none !important;
    outline: none;
}

/* class is-active to item selected */
.navbar-inverse .navbar-nav > li.weblink.is-active > a {
    color: var(--brand-secondary-100);
}

.navbar-inverse .navbar-nav > li.weblink.is-active > a:before {
    content: "●";
    color: var(--brand-secondary-100);
    font-size: 10px;
    position: absolute;
    left: 50%;
    top: -15px;
}

.nav > li.weblink ~ li.divider-vertical {
    display: none;
}

.nav > li.mobile-only {
    display: none;
}

.navbar-inverse .navbar-toggle {
    position: absolute;
    float: none;
    top: 0;
    right: 10px;
    margin-right: 8px;
    border-radius: .6rem;
}

.navbar-fixed-right {
    position: absolute;
    top: 8px;
    right: 30px;
    display: flex;
    gap: 24px;
    
    .dropdown a {
        color: var(--main-text);
    }
    
    .dropdown a:hover {
        color: var(--brand-secondary-100);
    }

    .dropdown-search {
        left: auto;
        right: 0;
    }

    .dropdown-menu {
        padding: 0;
        border-radius: 6px;
        overflow: hidden;
        
        .divider {
            display: none;
        }
    }

    .dropdown-menu > li > a {
        padding: 1rem .5rem ;
        margin: 0;
    }

    .dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover {
        border: none;
        background-color: var(--neutral-10);
    }
}

.navbar-fixed-right > li {
    list-style: none;
}

.navbar-fixed-right input.form-control {
    border: none;
}

@media (max-width: 1200px) {
    .navbar-fixed-right {
        display: none;
    }
}

@media (min-width: 1200px) {
    .navbar-right {
        padding-top: 1rem;
    }
}

body .navbar-inverse .navbar-nav > .open > a,
body .navbar-inverse .navbar-nav > li > a:focus,
body .navbar-inverse .navbar-nav > .open > a:focus,
body .navbar-inverse .navbar-nav > .open .dropdown-menu > .active > a:focus {
    background-color: var(--neutral-0);
    border: none !important;
    text-decoration: none;
    outline: none;

}

body .dropdown-menu>.active>a,
body .dropdown-menu>.active>a:focus,
body .dropdown-menu>.active>a:hover {
    padding: 1rem .5rem ;
    border: none;
    color: var(--brand-secondary-100);
    background-color: var(--neutral-10);
}

body .navbar-inverse .navbar-nav .open {

    .dropdown-menu {
        padding: 0;
        border-radius: 6px;
        border: 1px solid #ccc;
        background-color: transparent;
        overflow: hidden;
        
        .divider {
            display: none;
        }
    }

    .dropdown-menu > li > a {
        padding: 1rem .5rem ;
        margin: 0;
    }

    .dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover {
        border: none;
        background-color: var(--neutral-10);
        text-decoration: none;
    }
}

/*.toolbar-actions,*/
.dropdown-search {

    .input-group {
        min-width: 260px;
        padding: 0;
        border-radius: 6px;
        overflow: hidden;
    
        .input-group-btn > .btn {
            border-color: transparent;
        }
    }
}

@media (min-width: 1200px) {

    .container.relative {
        position: relative;
    }
}

/* Filters */
#entitylist-filters {
    margin-left: 0;
    margin-bottom: 2rem;
    
    .entitylist-filter-option-group > .entitylist-filter-option-group-label.h4 {
        font-size: 1.4rem;
        font-weight: 600;
    }

    .input-group {

        .form-control {
            border-radius: 0 var(--rounded) var(--rounded) 0;
        }

        .input-group-addon {
            border-top-left-radius: var(--rounded);
            border-bottom-left-radius: var(--rounded);
        }
    }
}

.input-group.input-append {

    .input-group-addon {
        border-top-right-radius: var(--rounded);
        border-bottom-right-radius: var(--rounded);
    }
}

/* Input search */
.input-group {

    .form-control {
        border-radius: var(--rounded);
    }

    .input-group-addon {
        background-color: var(--brand-secondary-100);
        border-color: var(--brand-secondary-100);
        color: var(--neutral-0);
    }
}

.control > .form-control {
    border-radius: var(--rounded);
}
    
/* Table */
table th,
table td,
table a {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.4rem;
}

table .btn-xs,
table .btn-group-xs>.btn {
    padding: 6px 12px;
    font-size: 1.4rem;
    line-height: 1;
}

table .dropdown-menu {
    padding: 0;   
    border-radius: var(--rounded);
    overflow: hidden;
}

table .dropdown-menu a {
    padding-top: 8px;
    padding-bottom: 8px;
    margin-left: 0 !important;   
}

table .dropdown-menu>li>a:focus,
table .dropdown-menu>li>a:hover {
    padding: 8px 20px;
    border: none;
}

.table>thead>tr>th, .table>thead>tr>td, .table>tbody>tr>th, .table>tbody>tr>td, .table>tfoot>tr>th, .table>tfoot>tr>td {
    padding: 8px 6px;
    vertical-align: middle;
}

.table>thead>tr>th>a {
    color: var(--brand-secondary-100);
    font-weight: 600;
}

.table>thead>tr>th {
    color: var(--brand-secondary-100);
    font-family: Verdana;
    font-weight: 600;
    font-size: 14px; 
    word-break: normal;
}

@media screen and (max-width: 767px) {
    
    .table-responsive {
        border: none;
    }
}

body .table-striped > tbody > tr:nth-of-type(odd) {
    background-color: var(--neutral-grey-10);
}

.entitylist {
    border: none;

    .panel {
        border: none;
    }
}

body {
    
    .crmEntityFormView, .entitylist, .modal-content, .popover-content {
    
        border: none;
    }
    
    .crmEntityFormView .actions {
        border: none;
    }
}

/* Paginator */
body .view-pagination {
    text-align: end;

    .pagination {
        white-space: nowrap;
    }

    .pagination a {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .pagination a:hover, .pagination .pagination a:focus, .pagination a:hover, .pagination a:focus {
        color: var(--brand-primary-100);
    }

    .pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover {
        background-color: var(--brand-primary-100) !important;
        color: var(--neutral-0);
    }
}

.form-control:focus {
    border-color: var(--brand-secondary-100) !important;
}

a:hover, a:focus, a:hover, a:focus {
    color: var(--brand-primary-100);
}

.panel-body {
    padding-left: 0;
    padding-right: 0;
}

/* container width for screens smaller than 760px */ 
@media (max-width: 768px) {
    
    .container {
        width: calc(100vw - 28px);
    }
}

@media (max-width: 767px) {
    .pagination {
        overflow:initial;
        white-space: nowrap;
        width: 100%;
    }

    .pagination>li>a, .pagination>li>span {
        float: left; 
    }
}

/* button base */
body .btn {
    white-space: nowrap;
    border-radius: var(--rounded);
}

.btn-info {
    font-family: Arial;
    font-size: 14px;
    font-weight: 600;
}

/* Flex class */
.container-flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

.gap-1 {
    gap: 1rem;
}

/* Title section - border   */
.title-section {
    padding: 1rem 0;
    border: 2px solid #009640;
    border-radius: .6rem;
    text-align: center;
}

/* Responsive */
@media (max-width: 600px) {
    
    .columnBlockLayout {
        margin-top: 10px !important;
    }

    #entitylist-filters {
        display: flex;
        flex-wrap: wrap;
    }

    #entitylist-filters > li {
        flex-basis: 50%;

        .entitylist-filter-option-text {
            width: auto;
        }
    }

    .input-group {
        margin-bottom: 1rem;
    }
}

.nav-brand-icon {
    display: flex;
    align-items: center;
    
    .siteTitle {
        margin: 0;
    }
}


@media (max-width: 564px) {

    .nav-brand-icon {
        flex-direction: column;
        align-items: start;
    }

    .nav-brand-icon img {
        margin-left: 0 !important;
    }
}

@media (max-width: 490px) {

    .navbar-inverse .navbar-toggle {
        top: 0;
        right: -13px;
    }

    #entitylist-filters > li {
        flex-basis: 100%;
    }

    .input-group {
        width: 100%;
        margin-bottom: 1rem;
    }

    .pull-right,
    .pull-left {
        width: 100%;
    }

    .pull-right a,
    .pull-right button,
    .pull-left a,
    .pull-left button,
    .actions > input,
    .form-action-container-left > input {
        width: 100%;
    }
}