/* Fonts */
@font-face {
    font-family: heineken;
    src: url("/assets/fonts/HEINEKEN Core.otf");
}

body {
    font-family: heineken;
    font-weight: 400;
}

/* External pages */
.external-pages a {
    color: black;
}

.external-pages nav a {
    color: #2d2d2d;
}

.external-pages input {
    font-size: larger;
}

.external-pages a:hover {
    color: #484848;
    text-decoration: none;
}

.external-pages .btn-primary {
    color: #ffffff;
    background-color: #1a8334;
    border-color: #20a341;
    font-size: larger;
}

.external-pages .btn-primary:hover, .external-pages .btn-primary:focus, .external-pages .btn-primary:active {
    color: #ffffff;
    background-color: #21a03d !important;
    border-color: #20a341 !important;
    box-shadow: none;
}

.external-pages .form-control:focus {
    border-color: #20a341 !important;
    box-shadow: none;
}

.external-pages button[type=submit] {
    width: 100%;
}

/* Header */
.content {
    max-width: 1400px;
    min-width: 800px;
    height: 680px;
}

header {
    max-width: 1400px;
    min-width: 800px;
}

header > div {
    border-bottom: solid 1px #cecece;
}

.logo-image {
    width: auto;
    height: 60px;
}

.leave-icon, .menu-icon, #save-presentation img, .presentation-new, .summary-icon, .language-icon {
    width: 27px;
    height: 27px;
    align-self: flex-end;
}

.leave-icon, #save-presentation, .summary-icon {
    padding-top: 1px;
}

.language-icon {
    width: auto;
}

.header-user {
    font-size: 20px;
    font-weight: bold;
    white-space: nowrap;
    height: 22px;
    align-self: flex-end;
}

.header-menu {
    position: absolute;
    width: 330px;
    max-height: 800px;
    overflow-y: auto;
    right: 15px;
    display: none;
    background-color: #20a341;
    color: white;
    z-index: 2;
    list-style: none;
    padding-left: 30px;
}

.sublist {
    list-style: none;
}

.sublist > li {
    margin-bottom: 10px;
}

.sublist > li:before {
    content: "> ";
    font-weight: bold;
}

.menu-second-level li a {
    color: #dddddd;
}

.menu-second-level li.selected a {
    font-weight: bold;
    color: white;
}

.menu-second-level > li {
    margin-top: 10px;
}

.header-menu span {
    font-weight: bold;
    cursor: pointer;
}

.menu-second-level {
    list-style: none;
    display: none;
    padding-left: 30px;
}

.open-brand-selector-popup {
    position: absolute;
    top: 65px;
    z-index: 1;
}

.open-brand-selector-popup {
    box-shadow: 2px 2px 3px 1px #676767;
    background-color: white;
    border-radius: 4px;
    height: 35px;
    width: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 2px;
}

.header-menu a, .header-menu a:hover {
    color: white;
}

.presentation-title {
    width: 400px;
    font-size: large;
    color: #3fa536;
    font-weight: bold;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    align-self: flex-end;
}

.percent-bar {
    background-color: #3fa536;
    width: 70%;
    height: 5px;
    position: relative;
}

.percent-bar .bar {
    background-color: #0a5110;
    height: 5px;
}

.percent-bar .percent {
    position: absolute;
    right: 0;
    top: -25px;
    color: #3fa536;
    font-size: 18px;
}


/* Lateral menu */

.lateral-menu {
    border-right: solid 1px #cecece;
    margin-top: 15px;
}

.lateral-menu > div {
    margin-right: 15px;
}

.lateral-menu-icon img {
    height: 40px;
    width: 40px;
    cursor: pointer;
    border-radius: 30px;
    margin: 10px 5px 0 5px;
    filter: invert(0.5);
}

.separator {
    border-bottom: solid 1px #bcbcbc;
}

.menu-favorite {
    width: 30px;
    height: 30px;
    border: 2px solid #a9a9a9;
    border-radius: 15px;
}

.menu-favorite.active {
    background-color: #7ab801;
}

#save-presentation svg, .presentation-new img {
    width: 25px;
    height: 25px;
}

.lateral-menu svg path {
    fill: #7ab801;
}

.menu-loading {
    background-image: url("/assets/images/icons/loading.svg");
    background-size: cover;
    width: 35px;
    height: 27px;
    -webkit-animation:spin 4s linear infinite;
    animation:spin 4s linear infinite;
}

@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }

.lateral-menu-icon.active img {
    background-color: #7ab801;
    filter: none;
}

.submenu-lateral {
    position: absolute;
    overflow-y: auto;
    display: none;
    background-color: #20a341;
    color: white;
    z-index: 2;
    left: 60px;
    top: 28px;
    list-style: none;
    padding-left: 25px;
}

.submenu-lateral.last {
    top: -173px;
}

.submenu-lateral > li:before {
    content: "> ";
    font-weight: bold;
}

.submenu-lateral span {
    font-weight: bold;
    font-size: 16px;
}

.submenu-lateral ul {
    list-style: none;
}

.submenu-lateral li {
    margin-top: 10px;
    white-space: nowrap;
    margin-right: 10px;
}

.submenu-lateral li > a {
    color: #dddddd;
}

.submenu-lateral li.selected > a {
    font-weight: bold;
    color: white;
}

.submenu-lateral a, .submenu-lateral a:hover {
    color: white;
}

/* Popup Brand Selector */

.brand-selector-popup, .summary-data-popup, .save-presentation-popup, .brand-carousel-popup, .show-image-popup, .offer-text-popup, .show-preview-popup {
    position: fixed;
    z-index: 100;
    top: 2%;
    left: 2%;
    width: 96%;
    height: 96%;
    background-color: #dcdcdcd1;
}

.close-brand-selector-popup, .close-summary-data-popup, .close-save-presentation-popup, .close-brand-carousel-popup, .close-show-image-popup, .close-offer-text-popup, .close-preview-image-popup {
    width: 45px;
    height: 45px;
    position: absolute;
    top: 25px;
    right: 25px;
    z-index: 10;
}

.brand-icon-popup {
    background-color: white;
    border-radius: 15px;
    box-shadow: 7px 7px 18px 6px #636363;
    padding: 10px;
    width: 150px;
    height: 150px;
    display: flex;
    justify-content: center;
}

.brand-icon-popup.active {
    background-color: #7ab801;
}

.brand-icon-popup img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Carrousel */

.brand-carousel-popup {
    background-color: #e6e6e6c7;
    display: none;
}

.brand-carousel-popup .carousel {
    max-width: 1024px;
    width: 90%;
    height: 576px;
}

.brand-carousel-popup .carousel img {
    width: 100%;
}

.type-5 .brand-carousel-popup .carousel img,
.type-11 .brand-carousel-popup .carousel img
{
    display: block;
    height: 100%;
    width: auto;
    margin-left: auto;
    margin-right: auto;
}

.brand-carousel-popup .carousel iframe,
.brand-carousel-popup .carousel-item,
.brand-carousel-popup .carousel video {
    width: 100%;
    height: 100%;
    overflow: auto;
}

.brand-carousel-popup .carousel img {
    object-fit: cover;
}

.brand-carousel-popup .carousel-control-next {
    right: -5%;
    width: 5%

}

.brand-carousel-popup .carousel-control-prev {
    left: -5%;
    width: 5%
}

.brand-carousel-popup .carousel-control-prev-icon,
.brand-carousel-popup .carousel-control-next-icon {
    filter: invert(1);
}

/* Pagination buttons*/
.page-link {
    color: black;
    background-color: #ffffff;
}

.page-item.active .page-link {
    color: white;
    background-color: #20a341;
    border-color: #20a341;
}

.page-link:focus {
    box-shadow: 0 0 0 2px #20a3417a;
}

.page-link:hover {
    color: #797979;
}

/* Menu actions */

.data-send-button, .send-presentation-form {
    border: 1px solid black;
    padding: 5px 8px 5px 8px;
    text-align: center;
    font-size: 20px;
    background-color: #7ab801;
    font-weight: bold;
    color: white;
}

.data-send-button.transparent {
    opacity: 0.3;
    filter: grayscale(1)
}

.summary-data-popup, .save-presentation-popup, .offer-text-popup {
    background-color: #ffffff;
    display: none;
}

.save-presentation-popup-header, .offer-text-popup-header {
    font-size: x-large;
    font-weight: bold;
}

.save-presentation-popup input,
.save-presentation-popup select {
    overflow: visible;
    border: 1px solid black;
    padding: 6px 7px 6px 7px;
    font-size: 17px;
    background-color: rgba(255, 253, 174, 0);
    width: 100%;
    height: auto;
}


.summary-data-popup input, .presentation-list-filters input, .offer-text-popup select, .presentation-list-filters select {
    overflow: visible;
    border: 1px solid black;
    padding: 6px 7px 6px 7px;
    font-size: 17px;
    background-color: rgba(255,253,174,0);
    height: 38px;
    width: 250px;
}
.save-presentation-popup input[type='file'] {
    height: auto;
}
.offer-text-popup select {
    width: 100%;
}

.save-presentation-popup .required {
    position: absolute;
    top: 11px;
    left: -14px;
    color: red;
}

.save-presentation-popup select option:first-of-type {
    color: #787c81;
}

.save-presentation-popup select:focus-visible, .save-presentation-popup select:focus {
    outline-width: 0px;
}

.summary-data-popup input:focus, .save-presentation-popup input:focus, .presentation-list-filters input:focus {
    border: 1px solid black;
    outline: 0;
}

.presentation-list-filters input {
    font-size: 15px;
    height: 38px;
    padding: 6px 8px 6px 8px;
    max-width: 200px;
    background-color: #fff;
}

.presentation-list-filters input[type=submit], .upload-pdf-form button[type=submit] {
    border: 1px solid black;
    padding: 5px 8px 5px 8px;
    text-align: center;
    font-size: 13px;
    background-color: #7ab801;
    font-weight: bold;
    color: white;
    height: 38px;
    width: 80px;
    border-radius: 0px;
}

.presentation-list-filters a {
    color: #0b541c;
    font-size: 17px;
    text-decoration: underline;
}

.offer-attachment-pdf {
    display: flex;
    flex-direction: column;
}

/* PDF file list */
.upload-pdf-form label, .upload-pdf-form a {
    display: none !important;
}

.upload-pdf-form input[type=file] {
    font-size: 14px;
}

#offer_attachment_pdf {
    display: flex;
}

.upload-pdf-form ul {
    color: red;
    padding-left: 0;
    list-style-type: none;
    margin-bottom: -6px;
    font-size: 14px;
    max-width: 340px;
}

.upload-pdf-form .vich-file {
    padding: 7px 7px 7px 0;
}

.select2-container {
    overflow: visible;
    border: 1px solid black;
    padding: 6px 8px 6px 8px;
    font-size: 19px !important;
    background-color: rgba(255,253,174,0);
    height: 42px;
}

.select2-selection {
    border: none !important;
}

.select2-selection__rendered {
    padding: 0;
}

.save-presentation-popup .label strong {
    color: #3fa536;
    font-weight: bold;
}

.save-presentation-popup a {
    color: black;
}

.select2-search__field:focus-visible, .select2-container .selection {
    outline: none;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #4BA535DA !important;
}

.main-content-container.offer-attachment:after {
    background-image: url("/assets/images/nube.png");
    content: '';
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: -1;
    opacity: 0.1;
}

.border-primary {
    border-color: #4BA535DA;
    border-width: 2px;
}

img.square {
    overflow: hidden;
    aspect-ratio: 1 / 1;
    width: 100%;
    max-height: 100%;
    object-fit: contain!important;
}

.overflow-y-scroll {
    overflow-y: scroll;
}

.w-70 {
    width: 70%;
}
