/********** Template CSS **********/
:root {
    --primary: #0161a1;
    --light: #F8F8F8;
    --dark: #252525;
}


body {
    position: relative; /* establecer posición relativa para que el pseudo-elemento se posicione correctamente */
    background-color: #e0e0e0;
}
  
  body::before {
    content: ""; /* establecer contenido vacío para el pseudo-elemento */
    background-image: url("../img/secomar-bg1.PNG");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-attachment: fixed;
    position: absolute; /* establecer posición absoluta para que el pseudo-elemento cubra todo el body */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.07; /* valor de opacidad de la imagen */
    z-index: -1; /* establecer un z-index negativo para que el pseudo-elemento esté detrás del contenido del body */
}

h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 600 !important;
}

h3,
h4,
.h3,
.h4,
.fw-medium {
    font-weight: 500 !important;
}

h5,
h6,
.h5,
.h6,
.fw-normal {
    font-weight: 400 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 15px;
    bottom: 60px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
   /*hay que cambiar el color al borde del spinner*/
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
    
}




/*** Button ***/
.btn.btn.btn-primary {
    font-weight: 500;
    transition: .5s;
    background-color: var(--primary);
    border-color: var(--primary);
}


.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
    
}

.btn.btn-primary:hover{
   background-color: #015085 !important;
   border-color: rgb(255, 187, 0) !important;
   box-shadow:  1px 1px 10px 2px rgba(0,0,0, 0.5) !important;
}


.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn-outline-body {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-body:hover {
    color: #FFFFFF !important;
    background: var(--primary);
    border-color: var(--primary);
}


/*** TopBar ***/
#tp-contact a:hover{
    color: #acacac !important;
    text-decoration: underline !important;
}
#tp-info a:hover{
    color: #acacac !important;
    text-decoration: underline !important;
}


/*** Navbar ***/
.fa{
    color: rgb(32, 122, 211) !important;
    
}

.navbar {
    background: linear-gradient( rgba(255, 187, 0, 0.164), #005c9946);
  }

.navbar a h1{
    color: #004775 !important;
}

.navbar p{
    font-size: small; 
    color: #555555 !important;
}

.navbar .navbar-brand, a img{
     width: 100PX;
}

@media (max-width:355px){
    .navbar .navbar-brand, a img{
        margin-right: 160px;
    }
}

#logo-group img{
    width: 4.5rem;
  
}
#logos img{
    width: 2.8rem;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 30px 0;
    color: var(--dark);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .navbar-nav, .btn.btn-primary.active{
    color: rgb(255, 187, 0) !important;
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (max-width: 575px) {
    .navbar p {
        font-size: 11px;
    }
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.header-carousel{
    /*box-shadow:  1px 1px 10px 2px rgba(0,0,0, 0.5) !important;*/
}

#carousel-img-2{
    margin-bottom: 250px;
}

.header-carousel .owl-carousel-item {
    max-height: 1300px;
}

.owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .5);
    
}

@media (max-width:420px) {

    .header-carousel .owl-dots{
        flex-direction: row !important;
        align-items: end !important;
    }

    .header-carousel h1{
        font-size: larger;
        transition: 0.5s;
    }


    .header-carousel .owl-dot{
        width: 25px !important;
        height: 25px !important;
    }

    .header-carousel .owl-dots .owl-dot.active {
        width: 35px !important;
        height: 35px !important;
    }
}


@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
    }
}

.header-carousel .owl-dots {
    position: absolute;
    width: 60px;
    height: 100%;
    top: 0;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dots .owl-dot {
    position: relative;
    width: 45px;
    height: 45px;
    margin: 5px 0;
    background: var(--dark);
    transition: .5s;
}

.header-carousel .owl-dots .owl-dot.active {
    width: 60px;
    height: 60px;
}

.header-carousel .owl-dots .owl-dot img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 2px;
    transition: .5s;
    opacity: .3;
}

.header-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}

.page-header-about {
    background: linear-gradient(rgba(0, 0, 0, .2), rgba(0,0,0, 0.6)), url(../img/banner-about.png) center center no-repeat;
    background-size: cover;
    padding-top: 10% !important;
    height: 550px;
}


.page-header-service {
    background: linear-gradient(rgba(0, 0, 0, .2), rgba(0,0,0, 0.6)), url(../img/banner-services.png) center center no-repeat;
    background-size:cover;
    padding-top: 10% !important;
    height: 550px;
}
@media (max-width:1440px) {
    .page-header-service .container{    
        margin-left: 20px;
    }
}
@media (min-width:1439px) {
    .page-header-service .container{
        margin-left: 100px;
    }
}


.page-header-blog{
    background: linear-gradient(rgba(0, 0, 0, .2), rgba(0,0,0, 0.6)), url(../img/banner-blog.png) center center no-repeat;
    background-size: cover;
    padding-top: 10% !important;
    height: 500px;
}

.page-header-contact{
    background: linear-gradient(rgba(0, 0, 0, .2), rgba(0,0,0, 0.6)), url(../img/banner-contact.png) center center no-repeat;
    background-size:cover;
    padding-top: 10% !important;
    height: 550px;
    
}


.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
}


/*** Facts ***/
.fact-item .fact-icon {
    width: 120px;
    height: 120px;
    margin-top: -60px;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 120px;
    transition: .5s;
}

.fact-item:hover .fact-icon {
    background: var(--dark);
}

.fact-item .fact-icon i {
    color: var(--primary);
    transition: .5;
}

.fact-item:hover .fact-icon i {
    color: #FFFFFF;
}




/*** Section Title ***/
.section-title {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
}


/*** Facts ***/
.fact-item .fact-icon {
    width: 120px;
    height: 120px;
    margin-top: -60px;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 120px;
    transition: .5s;
    
}

.fact-item .fact-icon img{
    
    width: 60%;
}

.fact-item:hover .fact-icon {
    background: var(--dark);
}

.fact-item .fact-icon i {
    color: var(--primary);
    transition: .5;
}

.fact-item:hover .fact-icon i {
    color: #FFFFFF;
}


/*** About & Feature ***/
.about-img,
.feature-img {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.col-lg-6 p{
    text-align: justify !important;
    color: #555555 !important;
}

.about-img img,
.feature-img img {
    position: absolute;
    width: 100%;
    height: 80%;
    object-fit: cover;
    box-shadow:  1px 1px 10px 2px rgba(0,0,0, 0.5) !important;
}

#about-img-2{
    margin: 0 0 0 10%;
}

#mision img{
    box-shadow:  1px 1px 10px 2px rgba(0,0,0, 0.5) !important;
}

#mision p{
    margin-top: 5% !important;   
}

.about-img img:last-child,
.feature-img img:last-child {
    margin: 24% 0 0 0;
}

.d-flex{
    border-color:rgb(255, 187, 0) !important;
}

.about-img::before,
.feature-img::before {
    position: absolute;
    content: "";
    width: 80%;
    height: 80%;
    top: 10%;
    left: 20%;
    border: 5px solid var(--primary);
    z-index: -1;
    margin: 0 0 0 -25%;
}


/*** Service ***/

.modal{
    text-align: justify;
}

.modal-content {
    border-radius: 40px 15px;
  }

.modal-footer .btn-secondary {
    background: none;
    border: none;
    margin-right: 25px;
    color:#1f1f1f;
}


.modal-footer .btn-secondary:hover {
    background-color: #007bff;
    color: #ffffff;
    border-radius: 5px;
}

.modal-header button.close {
    background: none;
    border: none;
    font-size: x-large;
    transition: 0.2s;
    margin-right: 15px;
}

.modal-header{
    border-radius: 40px 15px 40px 15px;
    background: linear-gradient( rgba(255, 187, 0, 0.185), #0161a18c);
}

.modal-footer{
    border-radius: 40px 15px 40px 15px;
    background: linear-gradient( rgba(197, 197, 197, 0.589), #0161a1a6);
    height: 65px;
}

.modal-header button.close:hover {
    background-color: rgb(248, 97, 97);
    color: #ffffff;
    border-radius: 5px;
}

.service-item .service-text img{
    width: 25%;
}

.service-item .bg-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.service-item .service-text {
    background: var(--light);
    transition: .5s;
}

.service-item:hover .service-text {
    background: rgba(0, 0, 0, 0.4);
}

.service-item * {
    transition: .5;
}

.service-item:hover * {
    color: #FFFFFF;
}

.service-item .btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    transition: .5s;
}

.service-item:hover .btn {
    width: 140px;
}

.container-xxl .container .btn{
    margin-top: 20px;
}


/*** Accordion Service ***/

.accordion .accordion-header .nav-link{
    background: var(--primary);
    color: #ffffff !important;
    font-size:x-large;
    text-align: justify !important;
}

.accordion .accordion-item .accordion-body p{
    text-align: justify !important;
}

.accordion .accordion-header .nav-link.collapsed{
    background: var(--light);
    color: #004775 !important;
    
}



/*** Project ***/


.project .nav .nav-link{
    padding: 0 !important;
    margin-bottom: 0 !important;
}

.project .container .tab-pane{
    text-align: justify;
    font-size: small;
}

.project .nav .nav-link {
    background: var(--light);
    transition: .5s;
}

.project .nav .nav-link.active {
    background: var(--primary);
}

.project .nav .nav-link.active h5 {
    color: #FFFFFF !important;
}

.project .container .tab-pane, p{
    margin-bottom: 3px !important;
}

/*** Team ***/
.team-item span{
    color: rgb(211 126 0) !important;
}

.team-items {
    margin: -.75rem;
}

.team-item {
    padding: .75rem;
}

.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s;
    z-index: -1;
}

.team-item:hover::after {
    height: 100%;
    background: var(--primary);
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    bottom: -20px;
    left: 0;
}

.team-item .team-social .btn {
    display: inline-flex;
    margin: 0 2px;
    color: var(--primary);
    background: var(--light);
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Appointment ***/


.form-control, 
.form-select{
    border: none;

}

.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;

}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Testimonial ***/
.testimonial-carousel span{
    color: rgb(211 126 0) !important;
}

.testimonial-carousel p{
    color: #555555;
}

.testimonial-carousel {
    display: flex !important;
    flex-direction: column-reverse;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.testimonial-carousel .owl-dots .owl-dot {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 5px;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot::after {
    position: absolute;
    width: 40px;
    height: 40px;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px;
    transition: .5s;
    opacity: 0;
}

.testimonial-carousel .owl-dots .owl-dot.active::after {
    opacity: 1;
}

.testimonial-carousel .owl-dots .owl-dot img {
    opacity: .4;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}


/*** Footer ***/

.footer{
    background-color:#012841 !important;
    box-shadow:  0px -15px 10px -12px rgba(0,0,0, 0.6) !important;
}


.footer p a{
    color:#acacac !important;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #acacac;
    font-weight: normal;
    text-transform: capitalize;
    transition: .2s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 0.5px;
    box-shadow: none;
}

.footer .form-control {
    border-color: #acacac;
}

.footer .copyright{
    padding: 10px 0;
    font-size: 12px;
    border-top: 1px solid rgba(256, 256, 256, .1);
    color: #acacac;
    box-shadow:  0px -15px 10px -15px rgba(0,0,0, 0.5) !important;
}

.footer .copyright a {
    text-align: left;
    color: #acacac !important;
    text-decoration: underline;
    transition: .1s;
}

.footer .copyright a:hover {
    color: var(--light) !important;
    letter-spacing: 1px;
}


.footer .footer-logos #logo-group img{
    width: 5.5rem;
}
.footer .footer-logos #logos a{
    transition: all 0.2s ease-in-out;
    display: inline-block;
    width: 33%; 
    margin: 0 15px; 
    text-align: center;
    width: 2.5rem;
}

.footer .footer-logos #logos a:hover{
    transform: translateY(-5px);
}



@media (max-width: 1400px) {
    .footer a {
        font-size: smaller;
    }
}

/* Blog */
.pagination {
    display: flex;
    justify-content: center;
  }
  
  .page-item {
    margin: 0 5px;
  }
  
  .page-link {
    display: block;
    padding: 0.5rem 1rem;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    color: #333;
    text-decoration: none;
  }
  
  .page-link:hover,
  .page-link:focus {
    background-color: #e0e0e0;
  }
  
  .page-link.active {
    background-color: #007bff;
    border-color: #007bff;
    color: #fff;
  }

#blog {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    }
    .card:hover{
        box-shadow:  1px 1px 10px 2px rgba(0,0,0, 0.5);
        transform: translateY(-5px);
    }
    .card{
        transition: .5s;
        min-height: 600px;
        max-height: 600px;
    }
@media (max-width:420px){
    .card p, .card-footer{
        font-size: small;
    }
    .card h2{
        font-size: 20px;
    }
    .card{
        min-height: 500px;
        max-height: 500px;
    }
}

/* Blog View*/
#blog-view p{
    color: #444444 !important;
}

#blog-view{
    text-align: justify;
    width: 50%;
    transition: 0.5s;
}
#blog-view img{
    box-shadow: 1px 1px 10px 2px rgba(0,0,0, 0.5);
}
#blog-view a{
    transition: .1s;
}
#blog-view a:hover{
    letter-spacing: 2px;
    text-decoration: underline;
}
@media (max-width:1200px) {
    #blog-view{
        width: 75%;
        transition: 0.5s;
    }
}
@media (max-width:640px) {
    #blog-view h1{
        font-size: 23px;
        transition: 0.5s;
    }
    #blog-view{
        font-size: small;
        transition: 0.5s;
    }
    #blog-view img{
        min-height: 180px ;
        transition: 0.5s;
    }
    
}


/*Blog Comments*/


.comment-section {
    margin-bottom: 40px;
    background-color: #f5f5f5;
    
  }
  
  .comment-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
  }
  
  .comment-section form label {
    display: block;
    margin-bottom: 10px;
    font-size: 18px;
  }
  
  .comment-section form input,
  .comment-section form textarea {
    display: block;
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 18px;
  }
  
  .comment-section form input[type="submit"] {
    background-color: var(--primary);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
  }
  
  .comment-section form input[type="submit"]:hover {
    background-color: #015085;
  }
  
  .comments {
    border-top: 1px solid #ccc;
    margin-top: 40px;
    padding-top: 40px;
  }
  
  .comments h3 {
    font-size: 24px;
    margin-bottom: 20px;
  }
  
  .comments ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .comments li {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ccc;
  }
  
  .comments li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }
  
  .comments p {
    font-size: 18px;
    margin-bottom: 10px;
  }
  
  .comments small {
    color: #666;
    font-size: 14px;
  }


  /*Pruebas blog*/
  .comments-section {
    padding: 20px;
    border: 1px solid #ccc;
    margin-bottom: 20px;
  }
  
  .add-comment-section {
    padding: 20px;
    border: 1px solid #ccc;
    margin-bottom: 20px;
  }
  
  form div {
    margin-bottom: 10px;
  }
  
  label {
    display: block;
    margin-bottom: 5px;
  }
  
  input[type="text"],
  input[type="email"],
  textarea {
    width: 100%;
    padding: 10px;
    border-radius: 3px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    resize: vertical;
  }
  
  button[type="submit"] {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 3px;
    cursor: pointer;
  }




.comments-section {
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    font-family: Arial, sans-serif;
    font-size: 14px;
  }
  
  .comments-section h2 {
    margin-top: 0;
    font-weight: bold;
  }
  
  .comment {
    margin: 20px 0;
    padding: 20px;
    background-color: #f5f5f5;
  }
  
  .comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
  }
  
  .comment-username {
    margin: 0;
    font-weight: bold;
    color: #333;
  }
  
  .comment-date {
    font-size: 14px;
    color: #666;
  }
  
  .comment-text {
    margin: 10px 0;
    line-height: 1.5;
  }
  
  .comment-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #ccc;
    padding-top: 10px;
  }
  
  .comment-reply-link {
    color: #337ab7;
    text-decoration: none;
  }
  
  .comment-reply-link:hover {
    text-decoration: underline;
  }
  
  .comment-reactions {
    display: flex;
    align-items: center;
  }
  
  .comment-like-button{
    border: none;
    background-color: transparent;
    font-size: 20px;
    cursor: pointer;
    margin-right: 5px;
  }
  
  .comment-likes-count{
    margin-left: 5px;
    font-size: 14px;
    color: #666;
  }
  
  .comment-like-button:hover {
    color: #337ab7;
  }
  
  .comment-like-button {
  transition: transform 0.2s ease-in-out;
}

.comment-like-button:hover {
  transform: scale(1.5) rotate(-45deg);
}

.comment-like-button:active {
  animation-name: like-animation;
  animation-duration: 0.3s;
  animation-delay: 0.5s;
}

@keyframes like-animation {
  0% { transform: scale(1) rotate(0deg); }
  100% { transform: scale(2) rotate(-45deg); }
}

.comment-form {
    transition:  2s ease;
  }
  
  .comment-form.show {
    
    transition:  2s ease;
  }


/*Terminos y condiciones*/
#terminos, li{
    color: #555555 !important;
    transition: 0.5s;
}

@media (max-width:420px) {
    #terminos li{
        font-size: small;
    }
}
