/*
Theme Name: SMI 2025
Theme URI: http://wordpress.org
Author: SMI.
Author URI: http://wordpress.org
Description: Custom Wordpress Theme for SMI
Version: 1.0
License: GNU General Public License
*/

/* ADDED BY LUIS SANCHEZ */

.spacer-bar {
  height: 20px;   /* adjust the gap */
  background: transparent;  /* invisible */
}

.top-grey-bar {
  background-color: #444;   /* grey background */
  font-size: 0.75rem;       /* smaller font */
}

.top-grey-bar a {
  color: #fff;
  text-decoration: none;
}

.top-grey-bar a:hover {
  text-decoration: underline;
}

.top-grey-bar .btn {
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 4px;
}

/* Aqua blue highlight */
.highlight-blue {
  color: #00ffff; /* aqua */
  font-weight: 600;
}

.top-grey-bar .row .col {
  padding-left: 20px;   /* adjust as needed */
  padding-right: 20px;
}

.top-grey-bar .btn-outline-light {
  background-color: transparent !important;
  border: 1px solid #fff;
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 4px;
}

.top-grey-bar .btn-outline-light:hover {
  background-color: rgba(255,255,255,0.1); /* slight hover effect */
  color: #fff;
}


/* END ADDING NEW STYLES 08/18/2025 */

.lato-regular {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.lato-regular-italic {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.lato-bold {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.lato-bold-italic {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: italic;
}


html{
	font-size:18px;
}

:root {
  --font-lato: "Lato", sans-serif;
  --clr-white: #fff;
  --clr-black: #000;
  --clr-grey: #23272c;
  --clr-blue: #2fbdf2;
  --clr-gold: #ceb881;
  --clr-brown: #1b0c05;
  --clr-shade: #e8e8e8;
}
body{
	font-size:1em;
	line-height:1.4;
	font-family:var(--font-lato);
	font-weight:400;
	background:var(--clr-white);
	color:var(--clr-black);
}
img{
	max-width:100%;
	height:auto;
}
figure img{
	vertical-align:top;
}
a{
	text-decoration:none;
}
h1,h2,h3,h4,
.h1,.h2,.h3,.h4{
	font-weight:700;
}
.site-wrapper{
    margin-left:-.5px;
}

/*-------------------------------
-- HEADER
-------------------------------*/
.site-header{	
	z-index:9;
	width:100%;
	top:0;
	left:0;
	position:relative;
	background-color:var(--clr-black);
}
.site-logo img{
	width:100%;
	max-width:480px;
}
.top-bar{
    font-size:.95rem;
}
.navbar{
	border-top:1px solid rgba(160,160,160,.3);
}
.navbar-toggler{
    transform:translateY(-5px);
}
.navbar-nav > li{
    padding-bottom:1em;
}
.navbar-dark .navbar-nav .nav-link{
    color:var(--clr-white);
}
.navbar-dark .navbar-nav .nav-link.active{
    color:var(--clr-blue);
}
.mega-menu{
    top:100%;
    left:0;
    background:rgba(0,0,0,.5);
    min-height:calc(90vh - 175px);
}
.mega-menu.no-preview{
    min-height:0;
}
.link-list{
	font-size:.9em;
}
.link-list ul{
    padding-left:0;
}
.link-list ul > li:not(:last-child){
    border-bottom:1px solid rgba(255,255,255,.3);
}
.link-list ul > li a{
    color:var(--clr-white);
    display:block;
    padding:.25em 0;
    font-size:.9rem;
}
.link-list ul > li a:hover{
    color:var(--clr-blue);
}
.link-preview{
    background-color:var(--clr-grey);
}
.link-preview h4{
    color:var(--clr-blue);
}
.mm-items .dropdown-item.active, 
.mm-items .dropdown-item:active,
.mm-items .dropdown-item:focus, 
.mm-items .dropdown-item:hover{
    background:transparent;
}
.navbar-nav  > .dropdown > a{
    display:inline-block;
}
.navbar-nav  > .dropdown > span{
    display:inline-block;
    color:#fff;
    margin-left:1em;
    padding-left:1em;
    padding-right:1em;
}

.navbar-nav  > .dropdown > span:after{
    content:none;
}
.social-links{
    position:static;
    top:100%;
}
.social-links > div{
    background:rgba(0,0,0,.25);
}
.social-links a{
    font-size:1.25em;
    color:var(--clr-white);
}

.link-preview{
    position:relative;
}
.loading-ol{
    position:absolute;
    z-index:9;
    top:0;
    bottom:0;
    left:0;
    right:0;
    background-color:rgba(0,0,0,.7);
    padding:4em;
}
.top-spacing{
    height:150px;
    max-height:50vh;
}
/*-------------------------------
-- HOMEPAGE

.site-wrapper > section:not(.section-hero){
    font-size:1.111rem;
}
-------------------------------*/
.section-hero .slide-content{
    padding-top:40px;
	padding-bottom:20px;
}
.slide-bg{
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    right:0;
    z-index:-1;
    background-color:var(--clr-black);
}
.slide-bg img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.section_home-latest{
    background-image:url(images/latest-bg.jpeg);
    background-size:cover;
    background-position:50% 82%;
}
.section_home-latest figure{
    overflow:hidden;
}
.section_home-latest figure img{
    max-width:160px;
}

.section_home-intro{
    background-color:var(--clr-shade);
}
.link-arrow{
    font-size:.9em;
    display:inline-block;
    line-height:1;
}
.link-arrow i{
    font-size:2em;
    font-weight:700;
    line-height:0;
    vertical-align:middle;
    color:var(--clr-blue);
    position:relative;
    left:0;
}
.link-arrow:hover i{
    left:5px;
}
.bg-cover{
    background-size:cover;
    background-position:center center;
}
.bg-grey33{
    position:relative;
}
.bg-grey33:before{
    content:'';
    display:block;
    position:absolute;
    width:42%;
    left:0;
    top:0;
    bottom:0;
    background:var(--clr-shade);
    z-index:-1;
}
.btn-video{
    color:var(--clr-white);
}
.btn-video i{
    margin-left:.5em;
}
.btn-video:hover{
    color:var(--clr-blue);
}

.location-img{
    position:relative;
    margin:0;
}
.location-img figcaption{
    position:absolute;
    padding:10px;
    width:100%;
    bottom:0;
    left:0;
}
.location-img figcaption p{
    margin:0;
    font-size:.8em;
}
.section_home-location .divider{
    height:120%;
    width:1px;
    background:var(--clr-white);
    position:absolute;
    left:0;
    top:-15%;
}

.video-img{
    position:relative;
    overflow:hidden;
}
.video-img a:hover img{
    transform:scale(1.1);
}
.section_home-video .liner,
.section_home-careers .liner{
    position:absolute;
}
.ltop,.lbottom{
    width:95%;
    height:1px;
}
.lleft,.lright{
    width:1px;
    height:95%;
}
.ltop,.lleft,.lright{
    top:2.5%;
}
.lbottom{
    bottom:2.5%;
}
.ltop,.lleft,.lbottom{
    left:2.5%;
}
.lright{
    right:2.5%;
}
.lleft{
    background: rgb(255,255,255);
    background: -moz-linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(170,172,175,1) 100%);
    background: -webkit-linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(170,172,175,1) 100%);
    background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(170,172,175,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#aaacaf",GradientType=1);
}
.ltop{
    background: rgb(170,172,175);
    background: -moz-linear-gradient(90deg, rgba(170,172,175,1) 0%, rgba(35,31,32,1) 100%);
    background: -webkit-linear-gradient(90deg, rgba(170,172,175,1) 0%, rgba(35,31,32,1) 100%);
    background: linear-gradient(90deg, rgba(170,172,175,1) 0%, rgba(35,31,32,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#aaacaf",endColorstr="#231f20",GradientType=1);
}
.lright{
    background: rgb(113,114,117);
    background: -moz-linear-gradient(0deg, rgba(113,114,117,1) 0%, rgba(35,31,32,1) 100%);
    background: -webkit-linear-gradient(0deg, rgba(113,114,117,1) 0%, rgba(35,31,32,1) 100%);
    background: linear-gradient(0deg, rgba(113,114,117,1) 0%, rgba(35,31,32,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#717275",endColorstr="#231f20",GradientType=1);
}
.lbottom{
    background: rgb(255,255,255);
    background: -moz-linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(113,114,117,1) 100%);
    background: -webkit-linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(113,114,117,1) 100%);
    background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(113,114,117,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#717275",GradientType=1);
}
.img-layer{
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    width:90%;
    z-index:-1;
    background-size:cover;
    background-position:center;
    transform:skew(20deg);
    overflow:hidden;
    transform-origin:top left;
}
.img-layer img{
    position:relative;
    display:block;
    width:100%;
    height:100%;
    transform:skew(-20deg) scale(1.3);
    object-fit:cover;
}
.bg-layer{
    position:absolute;
    top:0;
    left:0;
    bottom:0;
    width:95%;
    z-index:-1;
    background:rgba(0,0,0,.7);
    transform:skew(20deg);
    overflow:hidden;
    transform-origin:bottom right;
}

.section_home-careers .liner{
	background:var(--clr-white);
}
.item-anchor{
    position:relative;
    top:-4em;
}
.ilinks a:hover img{
    box-shadow:0 2px 30px #999;
    z-index:9;
    position:relative;
}

/*-------------------------------
-- MARKET
-------------------------------*/
.market .section-main{
    position:relative;
}
.market .section-main:after{
    content:'';
    display:block;
    position:absolute;
    width:100%;
    bottom:0;
    left:0;
    background:#d7d3d3;
    z-index:-1;
    height:12.5%;
}
.block-full{
    background:#eeeaea;
    position:relative;
}
.block-item-dark:before,
.block-item-dark:after,
.block-full:before,
.block-full:after{
    content:'';
    display:block;
    position:absolute;
    width:2000px;
    top:0;
    bottom:-10%;
    background:inherit;
    z-index:-1;
}
.block-item-dark:before,
.block-item-dark:after{
    bottom:50%;
    background:#4c4849;
    z-index:0;
}
.block-item-dark:before,
.block-full:before{
    right:50%;
}
.block-item-dark:after,
.block-full:after{
    left:50%;
}
.block-full figure{
    position:relative;
    z-index:9;
}
.block-item-dark article{
    background:#4c4849;
    position:relative;
    z-index:8;
}
.block-item-dark article:before,
.block-item-dark article:after{
    content:'';
    display:block;
    position:absolute;
    width:2000px;
    top:0;
    bottom:0;
    background:inherit;
    z-index:0;
}
.block-item-dark article:before{
    right:100%;
}
.block-item-dark article:after{
    left:100%;
}
.bg-gray .block-item-dark:before, 
.bg-gray .block-item-dark:after,
.bg-gray .block-item-dark article{
	background-color:#d6d3d3;
}

/*-------------------------------
-- CAP
-------------------------------*/
.section_dark-blue,
.article_dark-blue{
    color:#fff;
    background-color:#333540;
}
.section_dark-grey,
.article_dark-grey{
    color:#fff;
    background-color:#4c4849;
}
.section_light,
.article_light{
    color:#333;
    background-color:#fff;
}
.col-imgs{
    position:relative;
    z-index:9;
}
.col-text article[class*="article_"]{
    position:relative;
}
.col-text article[class*="article_"]:before,
.col-text article[class*="article_"]:after{
    content:'';
    display:block;
    position:absolute;
    width:2000px;
    top:0;
    bottom:0;
    background:inherit;
}
.col-text article[class*="article_"]:before{    
    right:100%;
}
.col-text article[class*="article_"]:after{
    left:100%;
}

.mtop-1{
    margin-top:2em;
}
.mtop-n1{
    margin-top:-2em;
}
.mbot-1{
    margin-bottom:2em;
}
.mbot-n1{
    margin-bottom:-2em;
}

/*-------------------------------
-- RESOURCES
-------------------------------*/
.section-resources:before{
    content:'';
    display:block;
    position:absolute;
    top:0;
    left:0;
    right:0;
    background:#fff;
    height:2em;
}
.resource-item i{
    display:inline-block;
    transform:scale(2);
    color:var(--clr-blue);
}
.section-bar{
    background:var(--clr-blue);;
}

.section_dark{
    color:#fff;
    background:#35353d;
}
.section_grey{
    background:#e7e7e9;
}
.carousel-control-next, 
.carousel-control-prev,
.carousel-control-next:hover, 
.carousel-control-prev:hover{
    color:#c8ac62;
}
.carousel-control-next-icon{
    background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23c8ac62'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")
}
.carousel-control-prev-icon{
    background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23c8ac62'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e")
}
/*-------------------------------
-- CONTACT
-------------------------------*/
.contact-form .form-control,
.contact-form .input-group-text{
    border-color:#666;
}
.custom-file-button{
    position:relative;
}
.custom-file-button .wpcf7-form-control-wrap{
    width:100%;
}
.custom-file-button label{
    position:absolute;
    top:0.25em;
    right:0.25em;
    z-index:2222;
    background-color:#fff;
    line-height:1.5em;
    font-size:0.75em;
}
.custom-file-button input[type=file] {
  margin-left: 0 !important;
}

.custom-file-button input[type=file]::-webkit-file-upload-button {
  display: none;
}

.custom-file-button input[type=file]::file-selector-button {
  display: none;
}

.custom-file-button:hover label {
  background-color:var(--clr-blue);
    color:#fff;
  cursor: pointer;
}

/*-------------------------------
-- ABOUT
-------------------------------*/
.sec_dark{
    color:#fff;
    background-color:#525055;
}
.sec-bar{
    color:#fff;
    z-index:3;
}
.sec_light .sec-bar{
    background:#35353d;
}
.sec_dark .sec-bar{
    background-color:var(--clr-blue);
}
.section-partners .sec-bar{
    background:#2d4674;
}
.img-asbg{}
.img-asbg img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.sec_img-right .img-asbg{
    right:0;
}
.sec_img-left .img-asbg{
    left:0;
}
.sec_light{
    overflow:hidden;
}
.sec_light article{
    background:#fff;
    position:relative;
    z-index:1;
}
.accordion-header i{
    font-weight:900;
    color:var(--clr-blue);
    display:inline-block;
    font-size: 1.5em;
    line-height: 0;
    vertical-align: middle;
    margin-left: .2em;
}
.box_read-more .btn.collapsed .isopen{display:none;}
.box_read-more .btn:not(.collapsed) .isclose{display:none;}
.partner-item{
    max-width:220px;
}

/*-------------------------------
-- EXTRA
-------------------------------*/
.modal-dialog {
	max-width: 960px;
	margin: 80px auto 30px;
}

.modal-body {
	position:relative;
	padding:0px;
}
.btn-close {
	position:absolute;
	right:-30px;
	top:0;
}
#btn-totop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    z-index:99;
}
.pagination a,
.pagination span{
    display:inline-block;
    padding:0 .5em;
}
.post-item{
    height:100%;
    border-bottom:1px solid #ccc;
}
.post-item figure{
    overflow:hidden;
    padding-bottom:56.5%;
}
.post-item img{
    height:100%;
    object-fit:cover;
}
a, a img, a i{	
	-webkit-transition: 0.6s;
	-moz-transition: 0.6s;
	-o-transition: 0.6s;
	transition: 0.6s;
}



/*-------------------------------
-- FOOTER
-------------------------------*/
.site-footer{
	background-color:var(--clr-brown);
	font-size:.9rem;
}
.fwidget ul{
    padding:0;
}
.fwidget ul > li{
    list-style:none;
    padding:.25em 0;
}
.fwidget a{
    color:var(--clr-white);
}
.fwidget a:hover,
.flinks a:hover{
    color:var(--clr-blue);
}
.fwtitle-icon{
    position:relative;
    padding-right:60px;
}
.fwtitle-icon i,
.link-icon i{
    position:absolute;
    right:0;
    height:30px;
    top:50%;
    transform:translateY(-50%);
    display:block;
    width:40px;
    text-align:center;
    font-size:1.4em;
}
.fwtitle-icon img{
    height:30px;
    vertical-align:top;
}
.link-icon{
    position:relative;
    padding-right:60px;
    display:block;
}
.site-footer .btn-link{
	text-decoration:none;
	color:var(--clr-white);
}

@media (min-width: 767px){
	.slide-logos img{max-width:200px;}
	
}
@media (min-width: 992px){
    .img-asbg{
        position:absolute;
        top:0;
        bottom:0;
        width:50%;
    }
}
@media (min-width: 1200px){
	.site-header{position:absolute;background-color:transparent;}
	.navbar{border-top:none;}
	.dropdown:hover>.dropdown-menu{display: block;}
	.dropdown>.dropdown-toggle:active{pointer-events: none;}
	.social-links{position:absolute;margin-top:40px;}
	.social-links a{font-size:2.25em;}
	.section-hero .slide-content{padding-top:150px;min-height:95vh;}
	.link-list{font-size:1em;}	
	.bg-layer{width:63%;}
	.img-layer{width:53%;}
	.location-img figcaption p {font-size:1em;}
	.slide-text .h2{font-size:2.125rem;}
	
	body.onpreview .link-preview{position:fixed;}
    body.onpreview .link-list{display:none;}
    body.onpreview .mega-menu{min-height:0;}
    .mega-menu{padding-top:0;padding-bottom:0;border:none;}
}
@media (max-width: 768px){
	.col-text article[class*="article_"]:before, .col-text article[class*="article_"]:after{top:-30vw;}
	.img-layer{background-color:#000;}
	.img-layer img{opacity:.75;}
}