/**
 * @file
 * Subtheme specific CSS.
 */

 @import url("https://use.typekit.net/sui2abr.css");
 
 body {
	 font-family: myriad-pro, sans-serif;
 }
 
.h1, h1 {
	font-size: 2rem;
	text-transform: uppercase;
	font-weight: 700 !important;
	letter-spacing: 2px;
 }
 
.not-front.h1, h1 {
	  margin-top: 50px;
  }

.h2, h2 {
    font-size: 1.8rem;
	font-weight: 600;
	letter-spacing: 1.5px;
	margin-top: 1em;
	color: #153F43;
}

h2 a {
	text-decoration: none;
}

.content h2, .block-content-basic h2, .views-element-container h2 {
	margin-top: 2em;
	text-transform: uppercase;
}

.content h2:after, .block-content-basic h2:after, .views-element-container h2:after {
	content: '';
	display: block;
	width: 2em;
	height: 0px;
	border-bottom: 3px solid #143f43;
	padding-top: .3em;
	margin-bottom: 1em;
}

.h3, h3 {
    font-size: 1.5rem;
	text-transform: none;
	font-weight: 500;
	letter-spacing: .5px;
	margin-top: 1.5em;
	/*text-transform: none;*/
}

.h4, h4 {
    font-size: 1.1rem;
	font-weight: 500;
	letter-spacing: .5px;
	margin-top: 1.5em;
	/*text-transform: none;*/
}

#navbar-main img {
	max-height: 125px;
}

#navbar-top .mb-3 {
	margin-top: 1em;
}

/* Menu */


.navbar-collapse .nav-link {
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 1px;
	font-size: 1.1em;
}

li.dropdown:last-child .dropdown-menu { /* Prevents last menu item from going off-screen */
  right: 0;
  left: auto;
}

.dropdown-item a {
	text-decoration: none;
}

.dropdown-item a:hover {
	text-decoration: underline;
}

.site-footer {
	margin-top: 5em;
	overflow: hidden;
}

.site-footer a {
	color: #fff;
}

.site-footer a:hover {
	color: #fff;
	text-decoration: underline;
}

.site-footer .block {
	border: 0;
	margin: 0;
}

.media-contacts {
	float: right;
	padding-left: 10px;
	margin-left: 10px;
	border-left: 2px dashed #153F43;
}

.media-contacts h3 {
	font-size: 1em;
	text-transform: uppercase;
	font-weight: 600;
	color: #153F43;
}

.region-featured-top {
	background: #143f43 url("../images/shield-800x600.png") top right no-repeat;
	min-height: 400px;
	margin-bottom: 2em;
	padding: 2em 0;
}

.region-featured-top #block-igco-featured {
	background-image: url("../images/splash2.jpg");
	background-repeat: no-repeat;
	background-position: top left 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.region-featured-top #block-igco-featured div.content div.text-formatted {
	background-color: rgba(20, 63, 67, 0.5);
	padding: 1em;
}

.featured-image h1 {
	color: #fff;
	font-size: xxx-large;
	text-transform: uppercase;
	text-align: center;
	font-weight: bold;
	margin: 0;
}

.featured-image p {
	color: #fff;
	font-size: x-large;
	text-align: center;
	font-weight: 500;
}
	
.navbar-light .navbar-nav .nav-link {
	color: #143f43;
}

.navbar-light .navbar-nav .active>.nav-link, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show>.nav-link {
	text-decoration: underline;
	color: #143f43;
}

.dropdown-item.active, .dropdown-item:active {
	background-color: #cfebf1 !important;
}

.navbar-light .navbar-nav a:active, .link:active {
	color: #106c80;
}

.dropdown-menu li.active>a {
	color: #106c80 !important;
}

.navbar-light .navbar-nav a:hover, .link:hover {
	color: #106c80;
}

/* Bootstrap grid CTA (call to action) */

 .bs_grid .cta {
	border-left: 3px solid #0f9d90;
	border-bottom: 3px solid #143f43;
	margin: 1rem;
	padding: 0 2rem;
}

/* About IGCO */

.about-igco .col {
	margin: 0;
	border: 0;
}

.about-igco .col:first-child  {
	background-color: #f8f9fa;
	padding: 4rem;
	font-size: x-large;
	min-width: 22rem;
	max-width: 50%;
}

.about-igco h2 {
	margin:0;
}

.about-igco img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.featured {
	font-size: x-large;
	color: #153F43;
}

#block-abouttheigco h2 {
	margin: 15px 0;
}

/* Contact info */

#block-contactinfo h2 {
	text-align: right;
	font-size: 2em;
	border: 0;
}

#block-contactinfo h2:after {
	content: none;
}

#block-contactinfo h2 i {
	font-size: 2em;
}

#block-contactinfo p {
	font-size: 4em;
	text-align: right;
}

#block-contactinfo a {
	text-decoration: none;
}

div.contact-info {
	border-top: 10px solid #19b9e5;
	background-color: #eee;
	margin-bottom: 2em;
	padding: 10px 25px;
}

.contact-info h2 {
	margin: .5em 0 1em 0;
}

.contact-info h3 {
	margin-top: 0;
}

.contact-info h4 {
	font-size: 1.2em;
	font-weight: 200;
}

.info-box {
	height: 100%;
	padding: 1.5em;
	margin: 1em;
}

.col-first, .col-second {
	margin-bottom: .2em;
}

.tip {
    color: #333;
    background-color: #d1ecf1;
    border: 1px solid #bee5eb;
	border-left: #19b9e5 10px solid;
	padding: 0 1em .5em 1em;
	border-radius: .5em;
}
	
.alert-secondary {
    background: #eee;
}

.alert-secondary h2 {
	margin-top: 1em;
}

.dropdown-item a {
	display: block;
}

/* Secondary menu */
.region-secondary-menu .nav-link {
	margin: .5em;
	min-width: 20rem;
}

.region-secondary-menu .form-control {
	margin: .5em;
}

/* Search */

.search-block-form input.form-search {
  width: 300px;
  max-width: 100%;
  margin-right: 1em;
}

/* Bullet lists */

ul.quick-links li a {
	text-decoration: none;
	font-weight: 500;
	font-size: 1.2em;
	display: block;
	margin-right: 2em;
	padding: .5em;
	border-bottom: 2px solid #eee;
}

ul.quick-links li a:hover {
	background-color: #eee;
}

ul.quick-links li::marker {
  content: "» "; /* Add a custom character or emoji */
  color: #143f43;    /* Change the color of the bullet */
  font-size: 1.5em; /* Adjust the size of the bullet */
  font-weight: 800;
  line-height: 1.5em;
}

/* News */



/* Cards */

.card-body a {
	text-decoration: none;
}

.card {
	transition: transform 0.3s ease;
	border: 0;
	margin: 0 .5em;
}

.card:hover {
      transform: scale(1.1);
	  z-index: 1;
    }

.who-we-regulate {
	margin-bottom: 1em;
}
	
.who-we-regulate img {
	margin: auto;
	max-height: 120px;
}

.who-we-regulate .card {
	padding-top: 2em;
	border: 2px solid #f8f9fa;
}

.who-we-regulate .card:hover, .card.gambling-support:hover {
	transform: none;
}

.who-we-regulate h3.card-title, .card-body h3 {
	text-align: left;
}

.gambling-support {
	background: url("/sites/default/files/inline-images/bcrg_0.jpg") no-repeat center;
	background-size: cover;
	padding: 2em;
}

.gambling-support div {
	background-color: rgba(20, 63, 67, 0.5);
	border-radius: 1em;
	padding: 3em;
}

h3.card-title, .card-body h3 {
	font-weight: 400;
	color: #143f43;
    font-size: 1.5em;
    line-height: 1.5em;
	margin: 0;
	text-align: center;
}

/* Button stuff */

.btn.active {
	background-color: #0c8b7f;
}

/* Tables (2026-01-09 needs override due to known Drupal/CKEditor issue) */

table tr th, table tr th a, table tr th a:hover, table tr th a:focus {
	background-color: #f8f9fa !important;
}

table tr td, table tr td a, table tr td a:hover, table tr td a:focus {
	background-color: #fff !important;
	border-bottom: 1px solid #f8f9fa !important;
}

table tr td:hover, table tr td:focus {
	background-color: #f8f9fa !important;
}

/* Image fix */
.node .field--type-image {
	margin: 1em;
}