@import url(https://fonts.googleapis.com/css2?family=Aleo:ital,wght@0,500;1,500&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap);

:root {
    --primaryColor: #002244;
    --secondaryColor: #1c93ea;
    --accentColor: #28b4ff;
    --color-white: #fff;
    --color-gray: #ccc;
    --color-dark-gray: #666;
    --color-black: #000;
	--reverseColor: var(--color-white);
	--textColor: #333;
	--backgroundColor: #002863;
	--backgroundColor2: var(--secondaryColor);
    --lpBackground: linear-gradient(to top right, var(--backgroundColor2), var(--backgroundColor));
    --insideBackground: var(--lpBackground);
    --primaryFont: "Open Sans";
    --secondaryFont: "Aleo";
   
    
}

html, body, .ui-widget, .ui-widget input, p, label { font-family: var(--primaryFont), sans-serif; }

/* Not ideal, due to limitations of Bootstrap */
body { overflow-x: hidden; }


/* GRID
------------------------------------------------------*/

body {
    height: 100vh;
    padding: 0;
    margin: 0;
}

#flex {
    height: 100%;
    padding: 0;
    margin: 0;
    background-color: transparent;
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

#flex .page-banner {
    order: 0;
    flex-grow: 10;
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

#flex header {
    order: 0;
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: auto;
    align-self: left;
}

#flex main {
    order: 1;
    flex-grow: 10;
}

#flex footer {
    order: 2;
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: auto;
    align-self: center;
}

.heightadjust,
.heightmatch {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	flex-wrap: wrap;
}

/* Match heights and center content */
.heightadjust > [class*='col-'] {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/* Match heights WITHOUT centering content */
.heightmatch > [class*='col-'] {
	display: flex;
	flex-direction: column;
}



/* FONT SIZES
------------------------------------------------------*/

_:-ms-lang(x), input.form-control {
    display: inline-block;
}

html, body { 
	font-size: 17px;
}

@media screen and (max-width: 767px) {
    html, body {
        font-size: 16px;
    }
}

h1, h2, h3 {
    font-family: var(--secondaryFont), var(--primaryFont), serif;
    font-weight: 500;
}

.inside-page main h1, .inside-page main h2, .inside-page main h3, .ip-sectionTitle {
    font-family: var(--primaryFont), sans-serif;
    font-weight: 700;
    color: var(--primaryColor);
}

h1 {
    font-size: 2.2rem;
}

.inside-page main h1,
.complete-profile h3 {
	font-size: 1.5rem;
}

h2 {
    font-size: 1.25rem;
}

h3,
.ip-sectionTitle {
    font-size: 1.12rem;
}

h4,
p,
.ui-widget {
    font-size: 1rem;
}

.complete-profile {
	margin-top: 2rem;
}

.ip-element h3:first-child {
	margin-top: 0;
}



/* THEME STYLES */

body {
    background-color: var(--backgroundColor);
    color: var(--textColor);
}

.page-banner { 
	background-color: var(--backgroundColor); 
	background-image: var(--lpBackground); 
  	background-repeat: no-repeat;
  	background-attachment: fixed;
	clear: both; 
	padding: 0;
	margin: 0;
}


h1:first-child, h2:first-child, h3:first-child, h4:first-child {
	margin-top: 0;
}

h1:last-child, h2:last-child, h3:last-child, h4:last-child, p:last-child {
	margin-bottom: 0;
}

span.nowrap {
	white-space: nowrap;
}

.text-center img {
	margin-right: auto;
	margin-left: auto;
}

a {
 color: var(--secondaryColor);
}

a:focus,
a:hover,
a:active {
 color: var(--primaryColor);
}

/* BUTTONS */

.ip-buttonBar {
	font-size: 0.85rem;
	margin-top: 2rem;
	margin-bottom: 2rem;
	text-align: right;
}

.landing-page .ip-buttonBar {
	margin-top: unset;
	margin-bottom: unset;
	text-align: unset;
}

.btn,
.btn-default,
.btn-submit,
.btn-cancel,
.btn-processing,
h2 > a {
    border: none;
    width: fit-content !important;
    max-width: 80%;
    white-space: normal;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 400;
    padding: .636em 1.5em;
    transition: all ease-in 0.3s;
    text-transform: uppercase;
    text-decoration: none;
}

.btn,
.btn-default,
.btn-submit,
h2 > a {
    color: var(--reverseColor);
    background-color: var(--backgroundColor);
    border-radius: 2em;
    transition: all ease-in 0.3s;
}

.btn:focus,
.btn-default:focus,
.btn-submit:focus,
h2 > a:focus,
.btn:hover,
.btn-default:hover,
.btn-submit:hover,
h2 > a:hover {
	color: var(--reverseColor);
	background-color: var(--backgroundColor);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
	filter: brightness(0.85);
	outline: unset;
	outline-offset: unset;
	text-decoration: none;
}

.btn:focus *,
.btn-default:focus *,
.btn-submit:focus *,
h2 > a:focus *,
.btn:hover *,
.btn-default:hover *,
.btn-submit:hover *,
h2 > a:hover * {
	filter: brightness(1.176); /* Counteract darkening on child text - 1 ÷ parent brightness */
}

.btn-cancel {
    color: var(--textColor);
    background-color: var(--reverseColor);
    font-weight: bold;
}

.btn-cancel:focus,
.btn-cancel:hover {
    color: var(--textColor);
    background-color: var(--reverseColor);
    text-decoration: underline;
    box-shadow: unset;
    filter: unset;
	outline: unset;
	outline-offset: unset;
}

.btn-processing,
.btn-processing:focus,
.btn-processing:hover,
.btn-processing:active {
    color: var(--color-dark-gray);
    background-color: var(--color-gray);
    box-shadow: unset;
    filter: unset;
	outline: unset;
	outline-offset: unset;
}

/* HEADER */

header {
	width: 100%;
	padding: 2rem 0;
	color: var(--reverseColor);
}

header .event-logo-lockup,
header img.event-logo {
	width: 100%;
	max-width: 486px;
	margin: 0 auto;
}

header .event-logo-lockup {
	container-type: inline-size;
}

header h3 {
	font-size: 1.89rem;
	line-height: 1.1;
	border-top: 2px solid var(--reverseColor);
	padding-top: 0.529em;
	margin-top: 0.529em;
	margin-bottom: 0;
}

header h3 .event-locale {
	display: block;
	font-family: var(--primaryFont), sans-serif;
	font-size: 1.667rem;
	font-weight: 400;
}

/* Keep logo lockup text ratio to logo resizing. */
@media screen and (max-width: 520px) {
	header .event-logo-lockup h3 {
		border-top-width: 1.5px;
		font-size: clamp(1.3rem, 6.3cqw, 1.89rem);
	}
	
	header .event-logo-lockup h3 .event-locale {
		font-size: clamp(1.1466rem, 5.5567cqw, 1.667rem);
	}
}


/* MAIN */

main {
	width: 100%;
	padding: 2rem 0;
}


/* LOGIN and HELPBOX BOX OVERRIDES */

.login-box,
.help-box {
	display: flex;
	flex-direction: column;
	flex: 1;
	color: var(--reverseColor);
	width: 100%;
	text-align: center;
	padding: 2rem;
}

.login-box {
	background-color: var(--primaryColor);
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
	border-radius: 2rem;
}

.help-box {
	background-color: transparent;
	padding-left: 0;
	padding-right: 0;
}

.login-box .email_form1 {
	padding: 0;
}

.login-box label,
.login-box .IP_PageBuilder_Registration .ip-elementEmpty:first-of-type,
.notRequiredSymbolClass {
    display: none;
    margin-left: auto;
    margin-right: auto;
}

.login-box h1,
.help-box h2 {
	font-size: 1.3rem;
	font-family: var(--primaryFont), serif;
    font-weight: 700;
    text-transform: uppercase;
}

.login-box p {
	margin-bottom: 10px;
}


.login-box .btn {
    color: var(--backgroundColor);
    background-color: var(--reverseColor);
}

.help-box a:not(.btn),
.help-box a:not(.btn):focus,
.help-box a:not(.btn):hover,
.help-box a:not(.btn):active {
	color: var(--accentColor);
}

/* FOOTER */
footer {
	width: 100%;
	background-color: #454955;
	color: var(--reverseColor);
	border-top: none;
	font-size: 0.7778rem;
	padding: 2rem 0;
	margin: 0;
}

footer .heightadjust .pull-right {
	margin-left: auto;
	text-align: right;
}

footer img.informa-logo {
	width: 100%;
	max-width: 176px;
}

footer a,
footer a:focus,
footer a:hover {
	color: var(--reverseColor);
    text-decoration: none;
    font-weight: normal;
}

footer a:focus,
footer a:hover {
    text-decoration: underline;
}

footer ul {
    list-style: none;
    margin: 10px 0 0 0;
    padding: 0;
}


footer ul li {
    display: inline-block;
    padding: .5em 1.5em;
}

@media screen and (min-width: 768px) {
	footer ul li:first-child {
		padding-left: 0;
	}
	
	footer ul li:nth-last-child(2) {
		padding-right: 0;
	}
}

footer ul li:not(:first-child):last-child {
    clear: both;
    display: block;
    margin-top: 1.2em;
    padding-top: 1.2em;
    padding-left: 0;
    padding-right: 0;
    border-top: 1px solid var(--reverseColor);
}

@media screen and (max-width: 767px) {
	footer .heightadjust .pull-right {
		margin-right: auto;
		text-align: center;
	}
	
	footer img.informa-logo {
		margin: 0 auto;
	}

	footer ul {
		margin-top: 1.2em;
		padding-top: 1.2em;
		border-top: 1px solid var(--reverseColor);	
	}

}

/* WIDGET */

.ui-widget-header {
	color: var(--primaryColor);
}

.ui-widget #otpContainer {
	margin-top: 1rem;
}

.ui-widget .ip-buttonBar {
	margin-top: 1rem;
	margin-bottom: 0;
}


/* INSIDE PAGES */

.inside-page main .main-outer {
	background-color: #00307f;
	padding: 4.444rem;
	border-radius: 3rem;
}

.inside-page main .main-content {
	background-color: var(--reverseColor);
	border-radius: 1.5rem;
	padding: 2rem;
}

