/*
 * ts1 (Indigo Sol / Tres Soles) - Joomla 6 port of the Joomla 1.5 template (blue variation).
 */

html {
    height: 100%;
    margin-bottom: 1px;
}

form {
    margin: 0;
    padding: 0;
}

body {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 1em;
    line-height: 1.3em;
    margin: 0;
    color: #333;
}

img {
    border: 0 none;
}

td img,
td a img {
    vertical-align: top;
}

a:link,
a:visited {
    color: #00f;
    text-decoration: none;
    font-weight: normal;
}

a:hover {
    color: #0b3768;
    text-decoration: underline;
}

p {
    margin: 5px 0;
}

.visually-hidden,
.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.clr {
    clear: both;
}

/* ---------- page frame ---------- */
#page_bg {
    background: #808090;
    padding: 10px 0;
    margin-bottom: 1px;
}

div.center {
    text-align: center;
}

div#wrapper {
    margin-left: auto;
    margin-right: auto;
    min-width: 750px;
    max-width: 1200px;
    background: #fce5b0 url(../images/blue/ts_shadow_l.png) 0 0 repeat-y;
    text-align: left;
}

div#wrapper_r {
    background: url(../images/blue/ts_shadow_r.png) 100% 0 repeat-y;
}

div#header {
    background: url(../images/blue/ts_header_t.png) 0 0 repeat-x;
}

div#header_l {
    position: relative;
    overflow: hidden;
    background: url(../images/blue/ts_header_t_l.png) 0 0 no-repeat;
}

div#header_r {
    height: 90px;
    padding-left: 370px;
    padding-right: 30px;
    padding-top: 25px;
    overflow: hidden;
    text-align: left;
    background: url(../images/blue/ts_header_t_r.png) 100% 0 no-repeat;
}

div#logo {
    position: absolute;
    left: 0;
    top: 0;
    width: 968px;
    max-width: calc(100% - 60px);
    height: 92px;
    background: url(../images/ts_tres_soles_logo.png) center no-repeat;
    overflow: hidden;
    margin-left: 30px;
    margin-right: 30px;
    margin-top: 21px;
}

div#tabarea {
    background: #fce5b0 url(../images/ts_header_b.png) 0 0 repeat-x;
    margin: 0 11px;
}

div#tabarea_l {
    background: url(../images/ts_header_l_b.png) 0 0 no-repeat;
    padding-left: 32px;
}

div#tabarea_r {
    height: 42px;
    background: url(../images/ts_header_r_b.png) 100% 0 no-repeat;
    padding-right: 1px;
}

div#footer {
    background: #f7f7f7 url(../images/blue/ts_footer_b.png) 0 100% repeat-x;
}

div#footer_l {
    background: url(../images/blue/ts_footer_b_l.png) 0 0 no-repeat;
}

div#footer_r {
    background: url(../images/blue/ts_footer_b_r.png) 100% 0 no-repeat;
    padding-top: 10px;
    height: 47px;
    overflow: hidden;
    font-size: .9em;
    color: #aaa;
}

div#footer_r a:link,
div#footer_r a:visited {
    color: #999;
}

div#footerspacer {
    height: 10px;
}

#syndicate {
    float: left;
    padding-left: 25px;
}

#power_by {
    float: right;
    padding-right: 25px;
    color: #333;
}

/* ---------- horizontal pill menu ---------- */
table.pill {
    border-collapse: collapse;
    border-spacing: 0;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

td.pill_l {
    background: url(../images/ts_menu_cap_l.png) no-repeat;
    width: 20px;
    height: 32px;
    padding: 0;
}

td.pill_m {
    background: url(../images/ts_menu_normal_bg.png) repeat-x;
    padding: 0;
    margin: 0;
    width: auto;
}

td.pill_r {
    background: url(../images/ts_menu_cap_r.png) no-repeat;
    width: 19px;
    height: 32px;
    padding: 0;
}

#pillmenu {
    white-space: nowrap;
    height: 32px;
    float: left;
}

#pillmenu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#pillmenu li {
    float: left;
    background: url(../images/ts_menu_separator.png) top right no-repeat;
    margin: 0;
    padding: 0;
}

#pillmenu a,
#pillmenu span.nav-header,
#pillmenu span.separator {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: bold;
    float: left;
    display: block;
    height: 24px;
    line-height: 24px;
    padding: 0 20px;
    color: #fff;
    text-decoration: none;
}

#pillmenu a:link,
#pillmenu a:visited {
    color: #fff;
}

#pillmenu a:hover {
    color: #fcbf49;
}

#pillmenu li.active > a {
    margin-top: 2px;
    height: 21px;
    line-height: 21px;
    background: url(../images/blue/mw_menu_active_bg.png) repeat-x;
    color: #fff;
}

/* ---------- language switcher / pathway ---------- */
#search {
    float: right;
    width: 320px;
    margin-top: -20px;
    margin-right: 30px;
    height: 40px;
    overflow: hidden;
    text-align: right;
}

#search ul,
.mod-languages ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#search li {
    display: inline-block;
    margin: 0 0 0 4px;
    background: none;
}

#search li a,
#search li.lang-active a {
    background: none;
    padding: 0;
}

#search img {
    vertical-align: middle;
}

#pathway {
    padding: 0 10px 8px;
    width: auto;
    margin-top: -2px;
    margin-right: 250px;
    text-align: left;
}

#pathway ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

#pathway li {
    display: inline;
}

#pathway li + li::before {
    content: " \00bb  ";
}

/* ---------- white content box ---------- */
#whitebox {
    margin: 0 21px;
    background: #fff;
    width: auto;
}

#whitebox div {
    text-align: left;
}

#whitebox_t {
    background: #fff url(../images/ts_content_t.png) 0 0 repeat-x;
}

#whitebox_tl {
    background: url(../images/ts_content_t_l.png) 0 0 no-repeat;
}

#whitebox_tr {
    height: 10px;
    overflow: hidden;
    background: url(../images/ts_content_t_r.png) 100% 0 no-repeat;
}

#whitebox_m {
    border-left: 1px solid #008;
    border-right: 1px solid #008;
    width: auto;
    padding: 1px 8px;
}

#whitebox_b {
    margin-top: -5px;
    background: url(../images/ts_content_b.png) 0 100% repeat-x;
}

#whitebox_bl {
    background: url(../images/ts_content_b_l.png) 0 100% no-repeat;
}

#whitebox_br {
    height: 13px;
    background: url(../images/ts_content_b_r.png) 100% 100% no-repeat;
}

#area {
    padding: 0;
}

#area::after {
    content: "";
    display: block;
    clear: both;
}

#leftcolumn {
    padding: 0;
    margin: 0;
    width: 25%;
    float: left;
}

#maincolumn,
#maincolumn_full {
    min-height: 1px;
}

#maincolumn {
    margin-left: 25%;
    padding-left: 15px;
}

#maincolumn_full {
    margin-left: 0;
    padding: 0;
}

.maincontent {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.maincontent main {
    flex: 1 1 auto;
    min-width: 0;
}

#rightcolumn {
    flex: 0 0 170px;
    width: 170px;
    border-left: 1px solid #ddd;
    padding-left: 10px;
}

div#maindivider {
    border-top: 1px solid #ddd;
    margin-bottom: 10px;
    overflow: hidden;
    height: 1px;
}

.user1user2 {
    display: flex;
    gap: 20px;
}

.user1user2 > div {
    flex: 1 1 0;
}

/* ---------- headings ---------- */
h1 {
    padding: 0;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 1.3em;
    font-weight: bold;
    color: #666;
    text-align: left;
}

h2 {
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.4em;
    font-weight: normal;
    color: #000;
    text-align: left;
}

.page-header h1,
.page-header h2,
.item-title,
.contentheading {
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.8em;
    font-weight: bold;
    color: #000;
    text-align: left;
    line-height: 1em;
    margin: .5em 0;
}

.item-title a:link,
.item-title a:visited {
    color: #000;
}

h3 {
    margin: 0 0 10px;
    font-weight: bold;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 1.5em;
    color: #00f;
    text-align: left;
}

h4 {
    font-family: Arial, Helvetica, sans-serif;
    color: #333;
}

h5 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 1.4em;
    color: #000;
    margin: 1.4em 0 .7em;
}

h6 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 1.2em;
    color: #333;
    margin: 1.4em 0 .7em;
}

/* ---------- modules ---------- */
div.module,
div.moduletable {
    margin-bottom: 25px;
}

div.module_menu {
    margin: 0 0 15px;
    padding: 0;
    font-size: 12px;
    background: url(../images/blue/ts_box_br.png) 100% 100% no-repeat;
}

div.module_menu > div {
    background: url(../images/blue/ts_box_bl.png) 0 100% no-repeat;
}

div.module_menu > div > div {
    background: url(../images/blue/ts_box_tr.png) 100% 0 no-repeat;
}

div.module_menu > div > div > div {
    background: url(../images/blue/ts_box_tl.png) 0 0 no-repeat;
    padding: 30px 10px 15px;
    width: auto;
}

div.module_menu h3 {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 12px;
    font-weight: bold;
    color: #eee;
    margin: -23px -4px 5px -5px;
    padding-left: 10px;
    padding-bottom: 2px;
}

div.module_menu ul {
    margin: 10px 0;
    padding-left: 20px;
}

div.module_menu ul ul {
    margin: 6px 0 12px;
    list-style: circle;
}

div.module_menu .mod-menu__toggle-sub {
    display: none;
}

div.module_menu ul.mod-menu__sub {
    display: block;
    visibility: visible;
    font-size: inherit;
    list-style: circle;
    padding-left: 20px;
}

div.module_menu ul li a:link,
div.module_menu ul li a:visited {
    font-weight: bold;
}

#leftcolumn div.module {
    padding: 0 10px;
}

/* ---------- content ---------- */
.item-content,
.com-content-article__body {
    margin-bottom: 15px;
}

.article-info,
dl.article-info {
    margin: 0 0 8px;
    padding: 0;
    font-size: .9em;
    color: #999;
}

.article-info dt {
    display: none;
}

.article-info dd {
    display: inline;
    margin: 0 10px 0 0;
}

.icon-fw,
[class^="icon-"] {
    display: none;
}

.readmore a,
a.readon {
    display: inline-block;
    margin-top: 10px;
    padding-right: 20px;
    line-height: 14px;
    background: url(../images/ts_menu_separator.png) top right no-repeat;
}

.blog-items .blog-item {
    margin-bottom: 20px;
}

table {
    border-collapse: collapse;
}

.contentpaneopen,
.contentpane {
    width: 100%;
}

.com-content-category table.category,
table.category {
    width: 100%;
}

table.category th,
table.category td {
    text-align: left;
    padding: 4px;
}

table.category th {
    background: #efefef;
    color: #333;
}

ul.pagination,
.pagination ul {
    margin: 10px 0;
    padding: 0;
    list-style: none;
}

.pagination li {
    display: inline-block;
    margin-right: 4px;
}

.pagination a,
.pagination span {
    padding: 2px 6px;
}

.pager.pagenav {
    list-style: none;
    padding: 0;
}

.pager.pagenav li {
    display: inline-block;
    margin-right: 10px;
}

/* ---------- forms ---------- */
fieldset {
    border: 1px solid #ccc;
    margin-top: 15px;
    padding: 15px;
}

legend {
    margin: 0;
    padding: 0 5px;
    font-weight: bold;
    color: #00f;
}

input,
select,
textarea {
    font-family: inherit;
    font-size: 1em;
}

input.form-control,
select.form-select,
textarea.form-control,
.controls input[type="text"],
.controls input[type="email"],
.controls input[type="password"],
.controls textarea {
    border: 1px solid #ccc;
    padding: 3px;
    max-width: 100%;
}

.btn,
button,
input.button {
    cursor: pointer;
    border: 1px solid #008;
    background: #00f;
    color: #fff;
    padding: 3px 10px;
}

.invalid,
.form-control-danger {
    border-color: #f00;
}

label.invalid {
    color: #f00;
}

.control-group {
    margin: 8px 0;
}

.control-label {
    display: block;
}

/* ---------- galleries ---------- */
div.gallery {
    border: 1px solid #000080;
    padding: 10px;
    margin: 10px 0;
    text-align: center;
    background: #fff;
}

div.gallery a.jcepopup {
    display: inline-block;
}

div.gallery img {
    margin: 2px;
    border: 1px solid #ccc;
}

/* ---------- messages ---------- */
#system-message-container {
    margin-bottom: 10px;
}

.offline #whitebox_m {
    padding: 20px;
}

.mod-languages .lang-inline li {
    display: inline-block;
}

.moduletable .mod-articlesnews,
.mod-articlesnews {
    list-style: disc;
}

/* ---------- small screens ---------- */
@media (max-width: 700px) {
    div#wrapper {
        min-width: 0;
    }

    div#header_r {
        padding-left: 30px;
    }

    #leftcolumn {
        float: none;
        width: 100%;
        max-width: 359px;
    }

    #maincolumn {
        margin-left: 0;
        padding-left: 0;
    }

    .maincontent {
        flex-direction: column;
    }

    #rightcolumn {
        flex-basis: auto;
        width: 100%;
        border-left: 0;
        padding-left: 0;
    }

    #search {
        float: none;
        width: auto;
        margin: 0 10px 5px;
    }

    #pathway {
        margin-right: 10px;
    }

    div#footer_r {
        height: auto;
        overflow: visible;
    }
}
