/* 
--------------------------------------------------------------------------------
  GENERALS
--------------------------------------------------------------------------------
*/
:root {
    --text-color: #000;
    --link-color: #000;
    --link-color-1: #0E0E2C;
    --link-alt-color: #333333;
    --image-alt-color: #3333333d;
    --border-container-color: rgba(0, 0, 0, 0.52);
}

/* Fonts */
@font-face {
    font-family: 'MabryPro';
    font-weight: 400;
    src: url(../fonts/MabryPro.otf);
}

@font-face {
    font-family: 'MabryPro';
    font-weight: 700;
    src: url(../fonts/MabryProBold.otf);
}

body {
    font-family: 'MabryPro', sans-serif;
    font-size: 1.5rem;
}

a {
    color: var(--link-color, #000);
}

a:hover {
    color: var(--link-alt-color, #333333);
}

/* 
--------------------------------------------------------------------------------
  LAYOUT
--------------------------------------------------------------------------------
*/
.container-xxl,
.container-fluid {
    --bs-gutter-x: 2rem;
}


/* 
--------------------------------------------------------------------------------
  HEADER
--------------------------------------------------------------------------------
*/
/* Header */
#header {
    background-color: #fff;
}

/* Header top */
#header-top {
    --bs-gutter-y: 1.5rem;
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.52);
    padding-top: var(--bs-gutter-y, 1.5rem);
    padding-bottom: var(--bs-gutter-y, 1.5rem);
    width: 100%;
    position: relative;
    z-index: 9999;
}

.header-top-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Search */
.search-form {
    position: relative;
    width: 505px;
    margin: 0 2rem;
}

.search-form::before {
    content: "";
    background: url(../images/search.svg) no-repeat 0 50%;
    display: block;
    width: 24px;
    height: 24px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.search-form > label {
    width: 100%;
}

.search-form .form-input {
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.52);
    border-radius: 0;
    color: #000;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1rem;
    padding: 10px 0;
    text-indent: 2rem;
}

.search-form .form-input::placeholder {
    color: rgba(0, 0, 0, 0.52);
}

.search-form .form-input:focus {
    box-shadow: none;
    /* border: none; */
}

/* Navbar */
.navbar {
    padding-top: 0;
    padding-bottom: 0;
}

.nav-item {
    padding: 0 .40625rem; /* 2rem between nav-items text */
}

.nav-link {
    border: 1.5px solid transparent;
    border-radius: 9999px;
    color: #0E0E2C;
    font-size: 2rem;
    line-height: 1.40625;
    padding-top: 0;
    padding-bottom: 0;
}

.navbar-light .navbar-nav .nav-link {
    color: #0E0E2C;
}

.nav-link.active {
    border-color: #000000;
    color: #0E0E2C;
}

.nav-link:hover,
.nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
    color: #3333333d;
}

.nav-link.active:hover,
.nav-link.active:focus,
.navbar-light .navbar-nav .nav-link.active:hover,
.navbar-light .navbar-nav .nav-link.active:focus {
    border-color: #3333333d;
}

/* Header bottom */
#header-bottom {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

#header-bottom .navbar-expand {
    justify-content: center;
}

/* Header fixed */
.fixed-header #header-top {
    position: fixed;
}

.header-top-navbar {
    display: none;
}

.fixed-header .header-top-navbar {
    display: flex;
}

.fixed-header #main {
    padding-top: 85px;
}

/* 
--------------------------------------------------------------------------------
  NEWS ITEM (SIMPLE STYLE)
--------------------------------------------------------------------------------
*/
.news-image-link  {
    display: block;
    color: var(--image-alt-color,#3333333d);
    text-decoration: none;
    line-height: 1;
    width: 100%;
    padding-top: 80%; /* 400x320 Aspect Radio */
    background-size: 105%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    max-width: 100%;
    transition: background-size 1s ease-out 100ms;
}

.news-image-link:hover  {
    background-size: contain;
}

.news-image-link.image-left {
    background-position: left;
}

/* .news-image-link:hover  {
    animation: myanim 3s ease-in;
}

@keyframes myanim {
    from, to {
        background-size: contain;
    }
} */

.news-video-link {
    display: block;
    width: 100%;
    padding-top: 80%;
    position: relative;
    background: #000;
}

.news-video {
    display: block;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.news-channel-link {
    color: rgba(0, 0, 0, 0.52);
    display: inline-block;
    font-size: 0.875rem;
    line-height: 1.4;
    text-decoration: none;
    margin-top: 1rem;
}

.news-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
}

.news-title a {
    color: var(--text-color,#000);
    text-decoration: none;
    display: block;
    overflow: hidden;
}

/* 
--------------------------------------------------------------------------------
  NEWS ITEM (EXTENDED STYLE)
--------------------------------------------------------------------------------
*/
.news-item-extended {
    border-top: 1px solid rgba(0, 0, 0, 0.52);
    padding: 93px 0 108px 0;
}

.news-item-extended .news-channel-link {
    margin-top: 0;
    margin-bottom: 1.4375rem;
}

.news-item-extended .news-title {
    font-size: 3rem;
    margin-bottom: 2.125rem;
}

.news-item-extended .news-image-link {
    margin-top: 0.65rem;
    padding-top: 66.85%; /* 362x242 Aspect Ratio */
}

.news-item-extended .news-image-link:hover {
    background-size: contain;
}

/* 
--------------------------------------------------------------------------------
  NEWS (FOOTER)
--------------------------------------------------------------------------------
*/
#news-footer {
    text-align: center;
    padding: 6.25rem 0 5.125rem 0;
    border-top: 1px solid var(--border-container-color, rgba(0, 0, 0, 0.52));
}

.news-more-link {
    color: #0E0E2C;
    font-size: 2.05rem;
    line-height: 1.4;
    text-align: center;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.news-more-link::after {
    content: ' ↓';
    width: 2rem;
    height: 2rem;
    display: inline-block;
}

.loadersmall::after {
    border: 5px solid #f3f3f3;
      border-top-width: 5px;
      border-top-style: solid;
      border-top-color: rgb(243, 243, 243);
    -webkit-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
    border-top: 5px solid #555;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    display: inline-block;
    content: '';
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 
--------------------------------------------------------------------------------
  USER OPTIONS
--------------------------------------------------------------------------------
*/
.user-options-offcanvas {
    width: 37%;
}

.user-options-offcanvas .offcanvas-header {
    justify-content: end;
}

.user-options-offcanvas .offcanvas-body {
    text-align: center;
    padding: 0 6.25rem;
}

.user-options-offcanvas .picture {
    position: relative;
    margin-bottom: 2.25rem;
}

.user-options-offcanvas .edit-link {
    position: absolute;
    bottom: 0;
    left: 50%;
    font-size: 14.52px;
    border: 1px solid #000;
    border-radius: 20.41px;
    line-height: 1.4;
    letter-spacing: -0.02em;
    text-decoration: none;
    padding: 0 5px;
    background-color: #fff;
}

.user-options-offcanvas .name {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 4.25rem;
}

.user-options-offcanvas .description {
    font-size: 2.5rem;
    line-height: 1.4;
    margin-bottom: 5rem;
}

.dropdown-category-options .dropdown-toggle {
    text-decoration: none;
    border: 1px solid #000000;
    border-radius: 56px;
    padding: 0 10px;
    display: inline-block;
    line-height: 1.25;
    text-transform: lowercase;
}

.dropdown-category-options .dropdown-toggle::after {
    content: "↓";
    border: none;
    vertical-align: baseline;
    margin-left: 0;
}

.dropdown-category-options .dropdown-menu {
    font-size: 2rem;
    padding: 3rem;
    background: #FFFFFF;
    border: 1px solid #000000;
    border-radius: 13px;
    width: 100%;
}

.row-user-options {
    align-items: center;
}

.row-user-options h3 {
    text-transform: lowercase;
    border: 1px solid transparent;
    border-radius: 9999px;
    padding: 0 10px;
    display: inline-block;
}

.row-user-options.active h3 {
    border-color: #000;
}

.form-check-input:checked {
    background-color: #31D0AA;
    border-color: #31D0AA;
}

.form-check-input:focus {
    border-color: #31D0AA;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(49, 208, 170, .25);
}

.form-switch .form-check-input:focus:not(:checked) {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba(49,208,170,.5)'/%3e%3c/svg%3e");
}

.form-switch {
    padding-left: 0;
}

.form-switch .form-check-input {
    width: 72px;
    height: 40px;
    margin: 0;
}

.simple-check[type="radio"],
.simple-check[type="checkbox"] {
    background-image: url(../images/unchecked.svg);
    background-color: transparent;
    border-color: transparent;
    width: 1.125rem;
    height: 1.125rem;
    margin-top: 0;
    vertical-align: baseline;
    border-radius: 0;
}

.simple-check:checked[type="radio"],
.simple-check:checked[type="checkbox"] {
    background-image: url(../images/checked.svg);
    background-color: transparent;
    border-color: transparent;
}

.simple-check:focus[type="radio"],
.simple-check:focus[type="checkbox"] {
    box-shadow: none;
}

/* Row languages */
.row-languages {
    /* display: inline-flex; */
    margin: 0 auto;
    max-width: 80%;
    font-size: 1.5rem;
    line-height: 1;
    text-align: left;
}

/* Dropdown languages */
.dropdown-languages .dropdown-toggle {
    background: none;
    border: none;
    font-weight: 700;
}

.dropdown-languages .dropdown-toggle::after {
    display: none;
}

.dropdown-languages .dropdown-toggle::before {
    display: inline-block;
    content: '✓';
    margin-right: 0.375rem;
}

.dropdown-languages .dropdown-menu {
    border: 1px solid var(--text-color, #000);
    border-radius: 13px;
    font-size: 1.5rem;
    padding: 0;
}

.dropdown-languages .dropdown-menu li + li {
    border-top: 1px solid var(--text-color, #000);
}

.dropdown-languages .dropdown-menu li:first-child .dropdown-item {
    border-radius: 13px 13px 0 0;
}

.dropdown-languages .dropdown-menu li:last-child .dropdown-item {
    border-radius: 0 0 13px 13px;
}

.dropdown-languages .dropdown-item {
    padding: 1.5rem;
    font-weight: 700;
    color: var(--link-color-1, #0E0E2C);
}

.dropdown-languages .dropdown-item:focus, 
.dropdown-languages .dropdown-item:hover {
    background-color: #fff;
    color: var(--image-alt-color);
}

/* Extra css main menu */
.order-6 {
    order: 6;
}

.order-7 {
    order: 7;
}

.order-8 {
    order: 8;
}

.order-9 {
    order: 9;
}

/* 
--------------------------------------------------------------------------------
  LINKS LIBRARY
--------------------------------------------------------------------------------
*/
.main-links {
    display: flex;
    flex-wrap: nowrap;
    height: 100vh;
    max-height: 100vh;
    overflow-x: auto;
    overflow-y: hidden;
}

#header-links {
    width: 80px;
}

#category-sidebar {
    background-color: #F7F7F7;
    border: 1px solid #000;
    border-style: none solid;
    width: 232px;
    overflow-y: auto;
    padding: 1.875rem 1rem;
}

.links-category-list {
    list-style: none outside none;
    padding-left: 0;
    font-family: 'Courier';
    font-style: normal;
    font-weight: 400;
}

.links-category-list > li + li {
    margin-top: 1rem;
}

.links-category-link {
    color: #1F1F1F;
    font-size: 1.125rem;
    line-height: 1.38;
    background: #FFFFFF;
    border: 1px solid #1F1F1F;
    border-radius: 15px;
    padding: 0 0.5rem;
    letter-spacing: -0.2px;
    text-decoration: none;
    display: block;
    width: fit-content;
}

.links-category-link.active {
    color: #fff;
    background: #1F1F1F;
}

.links-category-link:hover {
    color: #9235F9;
    border-color: #9235F9;
}

.links-category-link-collapse::after {
    content: "↑";
}

.links-category-link-collapse.collapsed::after {
    content: "↓";
}

.links-subcategory-list {
    list-style: none outside none;
    padding-left: 0;
    font-size: 1rem;
    margin-top: 1.125rem;
}

.links-subcategory-list > li + li {
    margin-top: 10px;
}

.links-subcategory-link {
    color: rgba(14, 14, 44, 0.63);
    font-size: 1rem;
    line-height: 1.23;
    padding: 0 0 0 0.875rem;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    max-width: fit-content;
}

.links-subcategory-link:hover {
    color: #0E0E2C;
}

.links-subcategory-link.active {
    color: #0E0E2C;
}

.links-subcategory-link.active::before {
    content: "→";
    float: right;
    margin-left: 5px;
}

#links-sidebar {
    background-color: #ECECEC;
    border-right: 1px solid #000;
    width: 210px;
    padding: 1.875rem 1rem;
}

.links-subtitle {
    font-family: 'Courier';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 2.25;
    color: rgba(0, 0, 0, 0.52);
    text-transform: uppercase;
}

.links-list {
    list-style: none outside none;
    padding-left: 0;
    font-size: 0.875rem;
}

.links-list li {
    position: relative;
    display: flex;
    align-items: center;
}

.links-list li + li {
    margin-top: 10px;
}

.links-list img {
    margin-right: 0.5rem;
}

.links-list a.link {
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.37;
    vertical-align: middle;
    color: rgba(14, 14, 44, 0.63);
    font-family: 'Courier';
    font-style: normal;
    font-weight: 400;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.links-list a:hover {
    color: #0E0E2C;
}

.links-list a.active {
    color: #0E0E2C;
    text-decoration: underline;
}

.save-link .icon {
    background: url(../images/favorite.svg);
    background-size: contain;
    display: block;
    width: .75rem;
    height: .75rem;
}

.save-link[data-saved="1"] .icon,
.save-link[data-saved="0"]:hover .icon {
    background-image: url(../images/favorite_fill.svg);
}

.links-list .save-link {
    background: linear-gradient(270deg, #ECECEC 37.8%, rgba(236, 236, 236, 0.00) 93.34%);
    padding: 0 .3125rem 0 1rem;
    position: absolute;
    right: 0;
    visibility: hidden;
}

.links-list li:hover .save-link,
.links-list .save-link[data-saved="1"] {
    visibility: visible;
}

.links-list li.show-edit {
    margin-left: -28px;
}

.links-list .post-edit-link {
    font-size: 14px;
    background: rgba(255, 255, 255, 0.8);
    padding: 2px 4px;
    border-radius: 5px;
    text-decoration: none;
    margin-right: 10px;
    visibility: hidden;
}

.links-list li:hover .post-edit-link {
    visibility: visible;
}

#links-content {
    width: 100%;
}

.links-content-bar {
    padding: 0.75rem 0.875rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.links-content-bar .link-url {
    flex-grow: 1;
    width: auto;
    color: rgba(0, 0, 0, 0.52);
    font-family: Courier;
    font-size: .75rem;
    font-weight: 400;
    letter-spacing: .0225rem;
    line-height: 1.5;
    border: 1px solid #000;
    border-radius: 3px;
    background-color: #F6F6F6;
    padding: .375rem .4375rem;
}

.link-actions-list {
    list-style: none outside none;
    padding-left: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0;
    align-items: center;
}

.link-actions-item {
    font-family: Courier;
    font-size: 1rem;
    padding: 0 .5rem;
}

.link-actions-item a {
    text-decoration: none;
}

.links-content-page {
    background-color: #DEDEDE;
    border-top: 1px solid #000;
    height: 100%;
    overflow-y: auto;
}

.progress {
    background-color: #DEDEDE;
}

.progress-bar {
    background-color: #000;
}

.links-content-page .iframe-content {
    height: 100%;
}

.links-content-page .external-content {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
}