/* =====================================
Template Name: VCARD PPV 
Author Name: Paul Palomino
Version: 1.0
========================================*/ 


/*===========================
	Main Container
=============================*/ 

body {
    background-color: #f5f5f5;
    font-family: 'Arial', sans-serif;
}

.container {
    max-width: 56%;
}

.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    overflow: hidden;
}

.header-bg {
    position: relative;
    width: 100%;
    height: 200px;
    background-color: #343a40;
    overflow: hidden;
}

.header-bg picture,
.header-bg img {
    width: 100%;
    height: 100%;
	background-size: cover;
	object-position: center;
    display: block;
}

.profile-img {
    position: absolute;
    top: 100px;
    left: 20px;
    width: 180px;
    height: 180px;
    cursor: pointer;
}

.profile-img img {
    width: 100%;
    height: 100%;
    border: 4px solid #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.menu-icon {
    position: absolute;
    top: 215px; /* Ajusta según sea necesario */
    right: 20px;
    display: flex; /* Asegura que los botones estén en línea */
    gap: 8px; /* Espaciado entre botones */
}

.menu-icon button {
    width: 36px; /* Ancho y alto iguales para un botón redondo */
    height: 36px;
    border-radius: 50%; /* Hace los botones redondos */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Sombra para el botón */
    border: none; /* Opcional: Remover el borde */
    background-color: #e4e4e4; /* Ajustar según el tema de Bootstrap */
    color: #444444;
    cursor: pointer;
    transition: box-shadow 0.3s ease; /* Transición suave */
}

.menu-icon button i {
    font-size: 1.1em;
}

.menu-icon button:hover {
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); /* Sombra al hacer hover */
}

.verified-check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	background-color: #e3f2fd; /* Color de fondo celeste claro */
	border: 2px solid #29b6f6; /* Borde celeste */
	border-radius: 50%; /* Hacerlo circular */
	color: #29b6f6; /* Color del icono */
	font-weight: 900;
	font-size: 16px; /* Tamaño del icono */
	margin-left: 8px; /* Espacio entre el texto y el icono */
            position: relative;
            top: -8px; /* Ajuste vertical para alineación */	
}
.verified-container {
	display: flex;
	align-items: center;
}

.verified-icon {
    color: #007bff;
    font-size: 1.2em;
}

.info-section {
    padding-top: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.text-left {
    flex: 1;
}

.text-left h1 {
    font-size: 1.5em;
    font-weight: bold;
}

.text-left p {
    font-size: 1em;
}

.btn-section {
    display: flex;
    align-items: center;
}

.btn-section button {
    margin-left: 10px;
}

.tags {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
}

.tags .badge {
    padding: 10px 15px; /* Ajustado para mayor espacio */
    background-color: #e4e4e4;
    font-size: 80% !important;
    color: #444444;
    margin: 5px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Sombra para el botón */
}

/*===========================
   Carousel Section
=============================*/ 

#carousel {
	background: transparent;
    text-align: center !important;
    margin: 10px 20px 10px 20px;
}

#carousel .single-item {
	margin-top: 3;
	margin: 20px 5px 5px 5px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
	-webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	-moz-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    color: inherit;
    width: 90%;
}

#carousel .single-item:hover,
#carousel .single-item:focus {
    transform: translateY(-5px); /* Elevar el cuadro al pasar el mouse */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Sombra más pronunciada */
    background-color: #eeeeee; /* Color de fondo al pasar el mouse */
}

#carousel .item-info {
	padding: 25px 15px 5px 15px;
	position: relative;
}

#carousel img {
    width: 54px;
    height: 54px;
    margin-bottom: 10px;
}

#carousel .item-info p.title {
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    margin-bottom: 3px !important;
    max-width: 99%; /* Asegura que no se desborde */  
}

#carousel .item-info p.detail {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 99%; /* Asegura que no se desborde */
}

#carousel .owl-theme .owl-nav {
	margin: 0;
}

#carousel .owl-dots {
	position: absolute;
	bottom: -55px;
	left: 50%;
	margin-left: -25px;
}

#carousel .owl-dot {
	display: inline-block;
}

#carousel .owl-dot span {
	width: 12px;
	height: 12px;
	background: #353535;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	transition: all 0.3s ease;
	position: relative;
}

#carousel .owl-dot.active span {
	position: relative;
	width: 8px;
	height: 8px;
	top: -2px;
}

#carousel .owl-dot span::before {
	position: absolute;
	width: 100%;
	height: 100%;
	border: 1px solid;
}

/*===========================
	Social Network
=============================*/ 

.contact-info {
    margin-top: 16px;
}

.info-item {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease; /* Transiciones suaves */
	height: 70px; /* Ajustar si es necesario para mayor tamaño */
    color: inherit;
}

.info-item:hover,
.info-item:focus {
    transform: translateY(-5px); /* Elevar el cuadro al pasar el mouse */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Sombra más pronunciada */
    background-color: #eeeeee; /* Color de fondo al pasar el mouse */
}

.info-item .text-right  {
    margin-left: 10px;
    font-size: 1.25em; /* Ajustar tamaño del texto ">" */
    flex-shrink: 0; /* No permite que el contenedor se reduzca */
}

.info-item .text-right i  {
    color: #AAAAAA; /* #778899; */
}

.info-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.info-text {
    text-align: left;
    margin-left: 14px !important;
    flex: 1; /* Permite que el contenedor de texto crezca y se ajuste */
    overflow: hidden;    
}

.info-item img {
    margin-left: 7px;
}

.info-item i {
    margin-right: 10px;
    color: #333;
}

.social-title {
    font-weight: bold;
    color: #444444; /* Gris oscuro */
}

.social-detail {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 90%; /* Asegura que no se desborde */
}

a {
    text-decoration: none !important;
    color: inherit;
}

a:hover {
    text-decoration: underline;
}

.btn-section-mobile {
    display: none;
}

.modal-content {
	background: none;
	border: none;
}
.modal-body {
	position: relative;
	padding: 0;
}
.modal-body img {
	width: 100%;
	height: auto;
	display: block;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Sombra elegante para la imagen */
}
.modal .close {
	position: absolute;
	top: 10px;
	right: 15px;
	color: white;
	opacity: 1;
	font-size: 2.7rem;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9); /* Sombra elegante para el botón */
}
.modal-backdrop {
	background-color: rgba(0, 0, 0, 0.9); /* Fondo más oscuro */
}

.loader-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    background-color: white;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.loader {
    --d: 24.6px;
    width: 4.5px;
    height: 4.5px;
    border-radius: 50%;
    color: #474bff;
    box-shadow: calc(1*var(--d))      calc(0*var(--d))     0 0,
           calc(0.707*var(--d))  calc(0.707*var(--d)) 0 1.1px,
           calc(0*var(--d))      calc(1*var(--d))     0 2.2px,
           calc(-0.707*var(--d)) calc(0.707*var(--d)) 0 3.4px,
           calc(-1*var(--d))     calc(0*var(--d))     0 4.5px,
           calc(-0.707*var(--d)) calc(-0.707*var(--d))0 5.6px,
           calc(0*var(--d))      calc(-1*var(--d))    0 6.7px;
    animation: spin 1s infinite steps(8);
 }
 
 @keyframes spin {
    100% {
       transform: rotate(1turn);
    }
}

.hidden {
    display: none;
}

@media (max-width: 1200px) {
    .container {
        max-width: 66%;
    }

}

@media (max-width: 1024px) {
    .container {
        max-width: 76%;
    }

    #carousel img {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 768px) {

    .container {
        max-width: 98%;
    }

    .card-body {
        text-align: center;
    }

    .header-bg {
        height: 150px;
    }

    .profile-img {
        width: 120px;
        height: 120px;        
        /* Mantener si se desea centrar en móvil
        top: 100px;
        left: 50%;
        transform: translateX(-50%);
        */
    }
   
    .info-section {
        padding-top: 80px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .text-left, .tags {
        text-align: center;
    }

    .btn-section {
        display: none;
    }

    .btn-section-mobile {
        display: block;
    }

    .menu-icon {
        top: 170px;
    }
 
    #carousel .owl-dots {
        margin-left: -80px;
        bottom: -40px;
    }

    #carousel .item-info h2 {
        font-size: 15px;
    }

    #carousel .img {
        width: 48px;
        height: 48px;
        margin-bottom: 10px;
    }
}

@media (max-width: 420px) {

    #carousel .info-logo {
        width: 46px;
        height: 46px;
        margin-bottom: 10px;
    }

    #carousel .owl-dots{
        display:none;
    }
}