@charset "UTF-8";
/* CSS Document */

/*DEFINICIÓN DE TIPOGRAFÍAS DE GEELY*/
@font-face {
    font-family: NeoSansPro-Bold_0;
    src: url(fonts/NeoSansPro-Bold_0.ttf);
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: NeoSansPro-Light;
    src: url(fonts/NeoSansPro-Light.ttf);
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: NeoSansPro-Medium;
    src: url(fonts/NeoSansPro-Medium.ttf);
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: NeoSansPro-Regular_0;
    src: url(fonts/NeoSansPro-Regular_0.ttf);
    font-weight: normal;
    font-style: normal;
}

/*CSS GLOBAL*/

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

}

html, body, #app {
    padding: 0;
    margin: 0;
    width: 100%;
    min-height: 100%;
    height: auto;
}

html {

    font-family: NeoSansPro-Regular_0, Arial, sans-serif;
}

.navbar-laravel {
    width: 100%;
    margin: 0;
    padding: 0.5% 0;
    height: 58px;
    z-index: 100;
    background-color: #FFFFFF;
}

@media (min-width: 768px) {
    .navbar-laravel {
        height: 70px;
    }
}

.navbar-laravel .container {
    max-width: none;
}

.navbar-laravel .container .navbarSupportedContent {
    margin-right: 2%;
}

.navbar-toggler {
    padding: 0.15rem 0.55rem;
    margin-right: 2%;
}

.navbar-nav {
    /*padding-left: 5%;*/
    font-family: NeoSansPro-Regular_0, Arial, sans-serif;
    font-weight: bold;
}

.nav-link {
    padding: 0;
}

.navbar-light .navbar-nav .nav-link {
    width: auto !important;
}

#navbarDropdown {
    min-width: 180px;
}

.dropdown-menu {
    position: absolute;
    z-index: 9999;
}

@media (min-width: 768px) {
    .nav-link {
        display: block;
        padding: .5rem 1rem;
    }
}

.geelylogo {
    width: auto !important;
    margin-top: 1%;
    margin-left: 9%;
    max-height: 22px;
}

@media (min-width: 1200px) {
    .geelylogo {
        margin-top: 15px;
        margin-left: 45px;
        max-height: 35px;
    }
}

main {
    height: -moz-calc(100% - 58px);
    height: -webkit-calc(100% - 58px);
    height: calc(100% - 58px);
    background-color: #fff;

}

@media (min-width: 768px) {
    main {
        height: -moz-calc(100% - 70px);
        height: -webkit-calc(100% - 70px);
        height: calc(100% - 70px);
    }

}

.container {
    padding-right: 1%;
    padding-left: 1%;

}

.card {
    border: none;
}

.card-header {
    display: none;
}

.login-card{
    border-radius: 0;
    width: 50%;
    height: 100%;
    right: 0;
    position: absolute;
}

.logo-container{
display: flex;
    justify-content: center;
}

.login-logo img{
    width: 95%;
    max-width: 300px;
}

.input-login-container{
    display: flex;
    justify-content: left;
    margin: 25px auto 0 auto;
    max-width: 360px;
    flex-direction: column;
    align-items: flex-start;
}

.input-login-container label{
    color: #002C5F;
    font-size: 16px;
    font-weight: 300;
}

.input-login-container input{
    border-radius: 25px;
    background: #F4F4F4;
    border: none
}

.login-button-container{
    display: flex;
    flex-direction: column;
    margin: 0 auto 35px auto;
    max-width: 360px;
}

.login-button-container button{
    border-radius: 25px;
    width: 150px;
    padding: 6px 12px;
    margin: 0 auto;
}

.login-button-container a{
    text-align: right;
}

.carousel-model-title, .card-title {
    font-family: NeoSansPro-Regular_0, Arial, sans-serif;
    font-weight: bold;
    text-align: left;
}




.carousel-item img {
    width: 80% !important;
    margin-left: 10%;
    margin-bottom: 0;
}

.carousel-caption {
    position: relative;
    width: 80%;
    margin-left: 10%;
    right: auto;
    left: auto;
    padding-top: 0px;
    padding-bottom: 0px;
    margin-top: -40px;
}

.carousel-caption .row {
    width: 80%;
    margin-left: 10%;
}

.carousel-control-next-icon, .carousel-control-prev-icon {
    width: 25px;
    height: 50px;
    background-size: 100% 100%;

}

.carousel-control-next, .carousel-control-prev {
    opacity: 0.9;
}

.carousel-control-next {
    right: -45px;
}

.carousel-control-prev {
    left: -45px;
}

.carousel-control-next-icon {
    background-image: url(flecha-hacia-dcha.svg)
}

.carousel-control-prev-icon {
    background-image: url(flecha-hacia-izq.svg)
}

.card-img-top {
    width: 100%;
    height: auto !important;
}

.reports-header {
    display: inline-block !important;
}

.navbar-light .navbar-nav .nav-link {
    line-height: 30px;
}

@media (min-width: 576px) {
}

@media (min-width: 768px) {
}

@media (min-width: 992px) {
}

@media (min-width: 1200px) {
}

.version-view-title{
    padding: 46px 0 0 24px;
}

table.version-table{
    margin: 0 auto;
    border: 1px solid gray;
    width: 100%;
}

.version-table tr{
    border-bottom: 1px solid gray;
}

.version-table td, .version-table th{
    border-right: 1px solid gray;
    padding: 4px 12px;
}

/* NEW MENU */

.car-grid-item {
    cursor: pointer; /* Pointer cursor */
    transition: opacity 0.3s; /* Smooth transition for opacity */
    margin-bottom: 20px; /* Space between items */
}

.car-grid-item:hover .intermediate-car-grid {
    box-shadow: 0 4px 6px 8px rgba(0, 0, 0, 0.1);
}

.intermediate-car-grid {
    background-color: #F4F4F4; /* Light background color */
    border-radius: 15px; /* Rounded corners */
    padding: 20px; /* Padding inside the item */
    transition: box-shadow 0.3s ease-in-out; /* Smooth transition for hover effect */
    text-align: center; /* Center-align content */
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center-align content vertically */
}

.card-title {
    font-size: 18px; /* Larger font size */
    font-weight: bold; /* Bold text */
    color: #002c5f; /* Dark blue color */
    margin-bottom: 10px; /* Space below the title */
}

.card-img-top {
    width: 100%; /* Full width */
    height: auto; /* Maintain aspect ratio */
    margin: auto; /* Center the image vertically */
    border-radius: 10px; /* Rounded corners for image */
}

.menu-container {
    z-index: 999;
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 10px;
    background-color: #EBEBEB;
    border-radius: 48px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);

    /*background: {{$instanceSettings['primary_color']}};*/
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.menu-container.hidden {
    transform: translateX(-50%) translateY(100%);
    opacity: 0;
}

.menu-container.open {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.menu {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-item {
    margin: 0 10px;
    text-align: center;
}

.menu-item a {
    text-decoration: none;
    color: #4a4a4a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: color 0.3s;
}

.menu-item a .icon-wrapper {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.menu-item a img {
    width: 24px;
    height: 24px;
    transition: fill 0.3s;
}

.menu-item a span {
    margin-top: 5px;
    font-size: 14px;
}

.menu-item.active a .icon-wrapper,
.menu-item a:hover .icon-wrapper,
.menu-item a .icon-wrapper.active{
    background-color: #002C5F;
}

.menu-item.active a img,
.menu-item a:hover img,
.menu-item a .icon-wrapper.active img {
    filter: brightness(0) invert(10);
}
.selection-toggle {
    display: flex;
    justify-content: flex-end; /* Align to the right */
    align-items: center;
    border-radius: 50px;
    background-color: #EBEBEB;
    padding: 5px;
    width: fit-content;
    margin: 20px;
    z-index: 1000; /* Ensure it stays on top */
    text-center: right;
}

.selection-toggle-container {
    margin: 25px auto 0 auto;
    display: flex;
    justify-content: flex-end; /* Align to the right */
    width: 100%; /* Full width container */
    max-width: 1200px;
}

.selection-toggle {
    display: flex;
    align-items: center;
    border-radius: 50px;
    background-color: #EBEBEB;
    padding: 5px;
    width: fit-content; /* Fit content */
    z-index: 1000; /* Ensure it stays on top */
}

.toggle-option {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.toggle-option.active {
    color: white;
}

.toggle-option.active svg path {
    stroke: white;
}

.toggle-option span {
    margin-right: 5px;
}

.toggle-option img, .toggle-option svg {
    width: 20px;
    height: 20px;
}

.toggle-option:not(.active):hover {
    background-color: #d1d1d1;
}

.toggle-option.active img {
    filter: brightness(0) invert(10);
}

/* Documentation and Catalogue */

.doc-toggle-header {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.doc-toggle-container {
    display: flex;
    background-color: #EBEBEB;
    border-radius: 50px;
    padding: 2px;
    width: fit-content;
    margin: 12px 0;
}

.doc-toggle-option {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    color: #002C5F;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
    font-size: 16px;
}

.doc-toggle-option.active {
    background-color: #002C5F;
    color: white;
}

.doc-toggle-option:hover {
    background-color: #002C5F;
    color: white;
    text-decoration: none;
}

/* Document and Catalogue items restyle */

.grid-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start; /* Ensures items are aligned from left to right */
}

.grid-item {
    position: relative;
    flex: 1 1 calc(25% - 20px); /* Ensure items take up 25% of the container width minus gap */
    max-width: calc(25% - 20px); /* Maximum width to ensure proper alignment */
    background: #f9f9f9;
    border-radius: 10px;
    padding: 15px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s;
    box-sizing: border-box; /* Ensures padding is included in the width calculation */
}

.grid-item:hover {
    transform: scale(1.05);
}

.grid-item-title, .gallery-item-title {
    font-size: 18px;
    font-weight: bold;
    color: #002C5F;
    margin-bottom: 5px;
    width: 100%;
    line-height: 1.5em; /* Set line height */
    height: 3em; /* Fix height to exactly two lines */
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal; /* Allows wrapping */
    word-wrap: break-word;
}

.grid-item-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.grid-item-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.grid-item-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.grid-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}

.no-pdfs {
    width: 100%;
    text-align: center;
    font-size: 18px;
    color: #666;
    padding: 20px;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .grid-item {
        flex: 1 1 calc(33.333% - 20px); /* 3 items per row */
        max-width: calc(33.333% - 20px);
    }
}

@media (max-width: 900px) {
    .grid-item {
        flex: 1 1 calc(50% - 20px); /* 2 items per row */
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 600px) {
    .grid-item {
        flex: 1 1 calc(100% - 20px); /* 1 item per row */
        max-width: calc(100% - 20px);
    }
}

/* Carousel code */

/* Container for carousel and thumbnails */
.container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.carousel-menu-container.fixed-menu {
    position: fixed;
    bottom: 10px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    padding: 10px 0;
    display: flex;
    justify-content: center;
}

.carousel-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.carousel-menu-item {
    margin: 0 10px;
}

.carousel-menu-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
}

.carousel-thumbnails-container {
    overflow-x: auto;
    white-space: nowrap;
    margin-top: 20px;
    padding: 10px 0;
}

.carousel-thumbnails-wrapper {
    display: flex;
    justify-content: flex-star;
    align-items: center;
}


.carousel-thumbnail {
    width: 218px;
    height: 100px;
    margin: 0 5px;
    cursor: pointer;
    object-fit: contain;
    border-radius: 5px;
    transition: border 0.3s;
}

.carousel-thumbnail.active {
    border: 2px solid #002C5F;
}

.carousel-thumbnail:hover {
    border: 2px solid #002C5F;
}

.carousel-container {
    background-color: #F4F4F4;
    border-radius: 12px;
    padding: 20px;
}

.carousel-container .carousel-model-title {
    font-family: Montserrat;
    font-size: 24px;
    font-weight: 600;
    text-align: left;
    padding-left: 24px;
}

.carousel-container .carousel-control-next-icon,
.carousel-container .carousel-control-prev-icon {
    width: 40px;
    height: 40px;
    padding: 20px;
    border-radius: 100%;
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
}

.carousel-container .carousel-control-next-icon {
    background-image: url("/svg/icons/rightarrow.svg");
}

.carousel-container .carousel-control-prev-icon {
    background-image: url("/svg/icons/leftarrow.svg");
}

/* Centering and sizing the carousel images */
.carousel-inner {
    text-align: center;
}

.carousel-inner img {
    max-height: 500px;
    width: auto;
    display: inline-block;
    margin: 0 auto;
}

/* Share buttons */

.carousel-item .icon-container {
    position: absolute;
    top: 10px;
    right: 120px;
    display: flex;
    gap: 8px;
}

.car-grid-item .icon-container {
     display: flex;
     justify-content: flex-end; /* Aligns the icons to the right */
     gap: 8px;
 }

.icon-button {
    width: 40px;
    height: 40px;
    background-color: #f8f8f8;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.icon-button img {
    width: 20px !important;
    height: 20px !important;
}

.icon-button:hover {
    background-color: #e0e0e0;
    cursor: pointer;
}

.icons-and-title-container {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
    justify-content: space-between;
}
