.form-control-plaintext {
    display: block!important;
    width: 100%!important;
    padding: .375rem .5rem!important;
    margin-bottom: 0!important;
    font-size: 1rem!important;
    line-height: 1.5!important;
    color: #212529!important;
    background-color: #f2f2f2!important;
    border: solid #f2f2f2!important;
    border-width: 1px 0!important;
}
.form-group {
    margin-bottom: 1rem!important;
}

.table>thead {
    text-wrap: nowrap;
}

.custom-quill-editor .ql-container {
    height: 400px; 
}

/* Font */

@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,100..900&display=swap');

body {
	font-family: "Inter", sans-serif !important;
	font-optical-sizing: auto;
	font-style: normal;
}


/* Header */

.container-header {
    width: 100%;
    display: flex;
    padding-right: 10px;
    padding-left: 10px;
    margin-right: auto;
    margin-left: auto;
}

@media(max-width:767px) {
    .offcanvas-body .container-header {
    	display: block;
        height: 100px;
	}	
}

.simple-banner {
	position: static;
	background: #40bcf2;
	z-index: 3000;
}

.simple-banner .simple-banner-text {
    font-size: .9em;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    font-weight: 700;
    padding: 10px;
    text-align: center;
}

.simple-banner .simple-banner-text a {
    color: #FFFFFF;
    text-decoration: none;
}

.navbar {
	z-index: 9999;
}

.nav-item {
	padding: 0 10px;
}

@media(max-width:1399px) {
	.nav-item {
		padding: 0;
	}
}

.nav-link:hover {
	background-color: #40bcf2;
	color: #fff;
}

.nav-item.selected a {
	color: #40bcf2 !important;
}

.nav-item.selected a:hover {
	color: #fff !important;
}

.nav-item.highlighted a {
	background-color: #005696;
	color: #fff !important;
}

.nav-item.highlighted a:hover {
	background-color: #7AC14E;
	color: #fff !important;
}

.nav-item a {
	height: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-transform: uppercase;
	color: #005696;
	font-size: 16px;
    font-weight: 700;
    letter-spacing: .5px;
}

@media(max-width:767px) {
    .nav-item a {
    	display: block;
        height: 38px;
        padding: 2%;
	}
	.navbar-brand {
		height: 100px !important;
	}
}

@media(max-width:1399px) {
    .nav-item a {
        font-size: 14px;
        letter-spacing: 0;
	}
}

.dropdown-toggle::after {
	display: none !important;
}

.dropdown-item {
	display: block;
	height: auto !important;
	text-align: left !important;
	font-weight: 600 !important;
	justify-content: initial !important;
}

.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0; /* remove the gap so it doesn't close */
}

.dropdown-menu {
	border: none;
    border-radius: 0;
}

.header-logo-mobile {
	height: 84px;
}

.header-logo-desktop {
	height: 84px;
}

.navbar-toggler {
	border: none;
}

.btn-search {
	vertical-align: middle;
}





/* BODY */

h1 {
	font-weight: 600;
}

h2 {
	font-weight: 600;
	font-size: 1.5rem;
}

p {
	font-weight: 300;
}

.form-label {
	font-weight: 300;
	color: #586276;
	font-size: .9rem;
}

a.card,a.card:hover {
	text-decoration: none;
}

a.card:hover {
	border: solid #40bcf2;
}

.card {
	border: solid #fff;
	-webkit-transition: border .2s ease-in-out;
    -moz-transition: border .2s ease-in-out;
    -o-transition: border .2s ease-in-out;
    -ms-transition: border .2s ease-in-out;
}

.card-title {
	font-size: 2rem;
	font-weight: 700;
}

.list-image {
	min-height: 100%;
	width: 100%;
	max-height: 240px;
	object-fit: cover;
}

@media(max-width:767px) {
	.main-image {
		min-height: 220px !important;
	}
	.card-title {
	font-size: 1.5rem;
	}
}

.main-image {
	background-size: cover;
	background-position: 50% 50%;
	min-height: 33vh;
	position: relative;
}

.org-icon {
	position: absolute;
	left: 10px;
	top: -48px;
	width: 96px;
	height: 96px;
	border-radius: 48px;
	background-size: cover;
	background-position: 50% 50%;
	background-color: #fff;
}


.btn-primary {
	background-color: #40bcf2 !important;
    padding: 10px 60px !important;
    border-radius: 3px !important;
    color: #FFFFFF !important;
    text-transform: uppercase !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
    border: none !important;
}

.btn-primary:hover {
	background-color: #2196F3 !important;
}


/* FILTERS */
.filter-icon {
	width: 120px;
    padding: 0;
    margin-right: 12px;
    color: #40bcf2 !important;
    display: flex;
}

.css-1okebmr-indicatorSeparator {
	display: none !important;
}

.css-tlfecz-indicatorContainer {
	padding: 8px 0 !important;
}

.css-1wa3eu0-placeholder {
	font-size: 1em !important;
}

.react-datepicker-popper {
	z-index: 999 !important;
}

.events-upcoming-select {
	/*z-index: 101 !important;*/
	margin-bottom: 4px;
}

.form-select {
	border: solid #cccccc !important;
	border-radius: 4px !important;
	--bs-form-select-bg-img: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e);

}

/* BADGES CATEGORIES */

/* Match Race */
.text-bg-cat1 {
	color: #2F7F33;
	background-color: #E8F5E9;
}

/* High Performance */
.text-bg-cat2 {
	color: #EE7606;
	background-color: #FFFAEB;
}

/* Superyacht / Maxi */
.text-bg-cat3 {
	color: #8E19D2;
	background-color: #F3E3FD;
}

/* Classics and Meter Boats 12M */
.text-bg-cat4 {
	color: #5e370e;
	background-color: #ae977e;
}

/* Pro Level */
.text-bg-cat5 {
	color: #FF178F;
	background-color: #FFF2F9;
}

/* One Design */
.text-bg-cat6 {
	color: #0DA30A;
	background-color: #E3FDED;
}

/* Offshore */
.text-bg-cat7 {
	color: #1976D2;
	background-color: #E3F2FD;
}

/* DR's Schedule or travel */
.text-bg-cat8 {
	color: #BF0D0D;
	background-color: #FFEAEA;
}

/* Away Events */
.text-bg-cat9 {
	color: #777D88;
	background-color: #EFF1F3;
}

.text-bg-default {
    color: #555555; 
    background-color: #F0F0F0;
}


/* Categories and tags */
.text-bg-light {
	color: #222 !important;
	background-color: #eee !important;
}



/* FOOTER */

.footer_inner {
    background-image: url(images/Footer3.jpg);
    background-position: 0 0;
}

.footer_top_holder {
    display: block;
    background-color: #262626;
    position: relative;
    background-color: transparent;
}

.footer_top, .footer_top.footer_top_full {
    padding-top: 20px;
}

.footer_top.footer_top_full {
    padding: 48px 24px;
}


.footer_top {
    color: #ffffff;
    font-size: 16px;
    text-align: left;
}

.column_inner {
    padding: 0 15px 0 0;
}

.footer_top h5 {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 22px;
    line-height: 1.571428571428571em;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footerlogo {
    padding: 0 0 0 100px;
    position: relative;
}

.footerlogo img {
    left: 0;
    position: absolute;
    top: 0;
    width: 90px;
}

.social-icon {
	display: inline-block;
    background-color: #ffffff;
    border-radius: 18px;
    font-size: 18px;
    padding: 9px;
    list-style: none;
    box-sizing: content-box;
    height: 1em;
    line-height: 1em;
    width: 1em;
    cursor: pointer;
    margin: 0 6px 12px !important;
    -webkit-transition: background-color .2s ease-in-out;
    -moz-transition: background-color .2s ease-in-out;
    -o-transition: background-color .2s ease-in-out;
    -ms-transition: background-color .2s ease-in-out;
}

.social-icon:hover {
	background-color: #40BCF2;
}

.social-icon a {
	display: flex;
	width: 18px;
	height: 18px;
}

.footerbutton {
	background-color: #40BCF2 !important;
    border: 0px !important;
    width: 50% !important;
    padding: 10px 0 !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
    color: #ffffff !important;
    text-transform: uppercase;
    border-radius: 3px !important;
}

.footerbutton:hover, .supportbutton:hover {
	background-color: #2196F3 !important;

}

.supportbutton {
    background-color: #40bcf2 !important;
    padding: 10px 30px !important;
    border-radius: 3px !important;
    color: #FFFFFF !important;
    text-transform: uppercase !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
}

.footer_bottom_holder {
    padding-bottom: 30px;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    background-color: #ffffff;
    display: block;
}

.footer_bottom {
    display: table-cell;
    text-align: center;
    font-size: 12px;
    line-height: 22px;
    height: 53px;
    width: 1%;
    vertical-align: middle;
    padding-top: 30px;
    color: #005696;
}

.footer_bottom_holder a {
	font-weight: 800;
	text-decoration: none;
    cursor: pointer;
    color: #005696;
}

.footer_bottom_holder a:hover {
    color: #40bcf2;
}

.status-online {
	color: #2F7F33;
	background-color: #FFFFFF;
}

.status-draft {
	color: #FFD700;
	background-color: #FFFFFF;
}

.status-archived {
	color: #6c757d;
	background-color: #FFFFFF;
}
.nav-link.active-switch {
    color: #fff;
    background-color: #005696;
}

@media (max-width: 767px) {
    h1 { font-size: 1.75em !important; }
    h2 { font-size: 1.5em !important; } 
}

.grid-cell {
    width: 14.285%;
    position: relative;
    font-size: 0.9 em;
}

.current-day {
    background: #005696 !important;
}

.footer-gradient {
    background: rgb(2,110,208);
    background: linear-gradient(181deg, rgba(2,110,208,1) 0%, rgba(1,56,106,1) 99%);
  }
  
  .footer-cta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    background-size: cover;
    background-position: 50% 50%;
    text-align: center;
    padding: 5%;
    border: solid 1px rgba(255, 255, 255, .5);
  }
  
  .btn-footer {
    width: 100%;
    color: #0063AC;
    text-transform: uppercase;
  }
  
  footer a {
    color: #71CEF5;
    text-decoration: none;
  }
  
  .footer-sub {
    border-top: solid 1px rgba(255, 255, 255, .2);
  }

  .custom-switch {
    z-index: 0 !important;
  }

  .modal {
	z-index: 99999 !important;
  }

  @media (max-width: 767.98px) {
    .grid-cell {
      width: 100% !important;
      display: block;
      margin-bottom: 1rem; 
    }
  }

  .modal-title {
    margin-right: auto;
  }

  .img-sponsor {
	position: absolute;
	height: 24px;
	right: 10px;
	top: -30px;
  }

  .grid-item-sponsor {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #fff;
    margin-top: 4px;
    padding: 2px 6px;
    border-radius: 4px;
  }

  .custom-color-btn {
    background-color: var(--banner-color) !important;
  }

  .bg-racing-cta {
    background-color: #00719c !important;
  }

  .text-racing-cta {
    color: #00719c !important;
  }