/*!
    
 =========================================================
 * WebEngine CMS
 * https://webenginecms.org/
 =========================================================
 * Licensed under the MIT license
 * http://opensource.org/licenses/MIT
 =========================================================
 
*/
.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
    border-top: none !important;
}

a:focus, a:hover {
    color: inherit !important;
    text-decoration: none !important;
}

.form-control {
	background: #111f20;
	border: 1px solid #20393a;
	color: #6c8989;
}
.form-control:focus {
	border: 1px solid #1c919d;
}

/* http://stackoverflow.com/questions/19562903/remove-padding-from-columns-in-bootstrap-3 */
.nopadding {
   padding: 0 !important;
   margin: 0 !important;
}

/* http://stackoverflow.com/questions/20547819/vertical-align-with-bootstrap-3 */
.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

.thumbnail {
    background-color: #142526;
    border: 1px solid #20393a;
}
a.thumbnail:hover,
a.thumbnail:focus,
a.thumbnail.active {
  border-color: #133538;
}

.btn-primary {
    color: #1c919d;
    background-color: transparent;
    border-color: #1c919d;
    -moz-transition: all .1s ease-in;
    -o-transition: all .1s ease-in;
    -webkit-transition: all .1s ease-in;
    transition: all .1s ease-in;
    -moz-border-radius: 0px;
    border-radius: 0px;
}
.btn-primary:active, .btn-primary:focus, .btn-primary:hover {
    color: #ffffffba !important;
    background-color: #1c919d !important;
    border-color: #1c919d !important;
}

.form-horizontal .control-label {
	text-align: left !important;
}

.table-bordered {
    border: 1px solid #20393a;
}

.table-bordered>tbody>tr>td, .table-bordered>tbody>tr>th, .table-bordered>tfoot>tr>td, .table-bordered>tfoot>tr>th, .table-bordered>thead>tr>td, .table-bordered>thead>tr>th {
    border: 1px solid #20393a;
}

.table-striped>tbody>tr:nth-of-type(odd) {
    background-color: #142526;
}

.table-hover>tbody>tr:hover {
    background-color: #1d3536;
}

.alert-danger {
	color: #ffe2e2;
	background-color: #502c2c;
	border-color: #724a4a;
}

.alert-success {
	color: #d5ffd6;
	background-color: #406830;
	border-color: #82af70;
}

.table>thead>tr>th {
    vertical-align: bottom;
    border-bottom: 2px solid #2b4748;
}

.help-block {
    color: #6c8989;
}

/* ========================================
   AtlansDesign System - Custom Styles
   ======================================== */

/* Header Text */
.header-text {
    text-align: center;
    margin-top: 20px;
    padding: 0 20px;
}

.header-text h2 {
    color: #ffda8a;
    font-size: 28px;
    margin: 10px 0;
    font-weight: 700;
}

.header-text p {
    color: #97b7b7;
    font-size: 16px;
    margin: 5px 0;
}

/* Features Section */
.atlans-features {
    padding: 40px 0;
}

.atlans-features .row {
    display: flex;
    flex-wrap: wrap;
}

.feature-box {
    text-align: center;
    padding: 30px 20px;
    background: rgba(22, 32, 32, 0.5);
    border-radius: 8px;
    margin-bottom: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.feature-box h4 {
    color: #97b7b7;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-box p {
    color: #6c8989;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Social Icons in Footer */
.footer-social {
    text-align: center;
    margin: 30px 0;
}

.footer-social h4 {
    color: #97b7b7;
    margin-bottom: 20px;
    font-weight: 700;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    font-size: 24px;
    text-decoration: none;
    transition: transform 0.3s;
}

.social-icon:hover {
    transform: scale(1.1);
    color: white !important;
}

/* Navigation Custom */
.navbar-custom {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 15px 0;
}

.navbar-custom a {
    padding: 10px 20px;
    border-radius: 4px;
    transition: all 0.3s;
    color: #6c8989;
}

.navbar-custom a:hover {
    background: rgba(255, 218, 138, 0.1);
    color: #ffda8a;
}

.navbar-custom i {
    margin-right: 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .header-text h2 {
        font-size: 22px;
    }
    
    .header-text p {
        font-size: 14px;
    }
    
    .feature-box {
        margin-bottom: 15px;
    }
    
    .feature-icon {
        font-size: 36px;
    }
}

/* ========================================
   Rankings System
   ======================================== */

.atlans-rankings-widget {
    background: rgba(22, 32, 32, 0.7);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.atlans-rankings-widget h3 {
    color: #ffda8a;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

.rankings-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ranking-item a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: rgba(32, 57, 58, 0.6);
    border-radius: 5px;
    color: #97b7b7;
    text-decoration: none;
    transition: all 0.3s;
}

.ranking-item a:hover {
    background: rgba(108, 137, 137, 0.3);
    color: #ffda8a;
    transform: translateX(5px);
}

.ranking-item i {
    margin-right: 10px;
    font-size: 18px;
}

.atlans-rankings-grid {
    padding: 40px 0;
}

.ranking-card {
    background: rgba(22, 32, 32, 0.7);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    margin-bottom: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.ranking-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.ranking-card a {
    text-decoration: none;
    color: inherit;
}

.ranking-card .ranking-icon {
    font-size: 48px;
    color: #ffda8a;
    margin-bottom: 15px;
}

.ranking-card h4 {
    color: #97b7b7;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.ranking-card .view-more {
    color: #6c8989;
    font-size: 14px;
    transition: color 0.3s;
}

.ranking-card:hover .view-more {
    color: #ffda8a;
}

/* ========================================
   Info Cards System
   ======================================== */

.atlans-infocards {
    background-size: cover;
    background-position: center;
    padding: 60px 0;
    position: relative;
}

.atlans-infocards::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(22, 32, 32, 0.8);
}

.atlans-infocards .container-fluid {
    position: relative;
    z-index: 1;
}

.info-card {
    background: rgba(22, 32, 32, 0.9);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    text-align: center;
    transition: transform 0.3s;
    border: 1px solid rgba(108, 137, 137, 0.3);
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: #ffda8a;
}

.info-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 5px;
}

.info-card .card-content h3 {
    color: #ffda8a;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.info-card .card-content p {
    color: #97b7b7;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .ranking-card {
        padding: 20px;
    }
    
    .ranking-card .ranking-icon {
        font-size: 36px;
    }
    
    .info-card {
        padding: 15px;
    }
    
    .info-card .card-content h3 {
        font-size: 20px;
    }
}

/* ========================================
   Home Content - Features & Sections
   ======================================== */

.atlans-features-home {
    margin-bottom: 30px;
}

.atlans-section-title {
    color: #ffda8a;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #20393a;
}

.atlans-section-title i {
    margin-right: 10px;
}

/* Features dentro del contenedor */
.atlans-features-home .feature-box {
    background: rgba(22, 32, 32, 0.7);
    border: 1px solid rgba(108, 137, 137, 0.2);
}

/* InfoCards dentro del contenedor */
#content .atlans-infocards {
    margin: 0 -15px 30px -15px;
    border-radius: 0;
}

#content .atlans-infocards .info-card {
    border: 1px solid rgba(108, 137, 137, 0.2);
}

/* Rankings dentro del contenedor */
#content .atlans-rankings-widget {
    margin-bottom: 20px;
}

#content .ranking-card {
    border: 1px solid rgba(108, 137, 137, 0.2);
}

/* Ajustar ancho de features en home */
@media (min-width: 768px) {
    .atlans-features-home .col-md-4 {
        width: 33.333%;
    }
}

/* ========================================
   Home Layout - News Block
   ======================================== */

.home-news-block {
    margin-bottom: 30px;
}

.home-news-block-header {
    background: rgba(22, 32, 32, 0.7);
    padding: 15px 20px;
    margin-bottom: 0;
    border-radius: 8px 8px 0 0;
    border-bottom: 2px solid #20393a;
}

.home-news-block-header h2 {
    color: #ffda8a;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.home-news-block-header a {
    color: #97b7b7;
    font-size: 14px;
    transition: color 0.3s;
}

.home-news-block-header a:hover {
    color: #ffda8a;
}

.home-news-block-body {
    background: rgba(22, 32, 32, 0.5);
    padding: 20px;
    border-radius: 0 0 8px 8px;
}

.home-news-block-article {
    padding: 15px 0;
    border-bottom: 1px solid rgba(108, 137, 137, 0.2);
}

.home-news-block-article:last-child {
    border-bottom: none;
}

.home-news-block-article-type {
    color: #6c8989;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.home-news-block-article-title a {
    color: #97b7b7;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.home-news-block-article-title a:hover {
    color: #ffda8a;
}

.home-news-block-article-date {
    color: #6c8989;
    font-size: 14px;
}

/* Features y InfoCards en home */
.atlans-features-home {
    margin-bottom: 30px;
}

.atlans-features-home .feature-box {
    margin-bottom: 20px;
}

#content .atlans-infocards {
    margin: 0 0 30px 0;
    border-radius: 8px;
}

/* Título de sección para InfoCards */
.section-title-container {
    text-align: center;
    margin: 40px 0 30px 0;
}

.section-title {
    color: #ffda8a;
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    padding: 0 0 15px 0;
    border-bottom: 3px solid rgba(255, 218, 138, 0.3);
    display: inline-block;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.section-title i {
    margin-right: 10px;
    color: #97b7b7;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 24px;
        letter-spacing: 1px;
    }
}

