@import url('https://fonts.googleapis.com/css2?family=Bai+Jamjuree:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
    --primaryColor: #fff;
    --secondaryColor: #5bc2e7;
    --backgroundColor: #000;
    --primaryFont: "Inter";
    --headingFont: "Bai Jamjuree";
}

/* FONT SIZES
------------------------------------------------------*/

*, html, body, .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;
}

#layout {
    height: 100%;
    padding: 0;
    margin: 0;
    background-color: transparent;
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

#layout #header {
    order: 0;
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: auto;
    align-self: left;
}

#layout #main {
    order: 1;
    flex-grow: 10;
}

#layout #disclaimer {
	order: 2;
	flex-grow: 0;
}

#layout #footer {
    order: 3;
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: auto;
    align-self: center;
}

.flex-centered {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	flex-wrap: wrap;
}

.flex-centered > [class*='col-'] {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

#layout .flex-centered .col-sm-12 {
    flex-grow: 12;
}

#layout .flex-centered .col-sm-8 {
    flex-grow: 8;
}

#layout .flex-centered .col-sm-7 {
    flex-grow: 7;
}

#layout .flex-centered .col-sm-6 {
    flex-grow: 6;
}

#layout .flex-centered .col-sm-5 {
    flex-grow: 5;
}

#layout .flex-centered .col-sm-4 {
    flex-grow: 4;
}

/* FONT SIZES
------------------------------------------------------*/


_:-ms-lang(x), input.form-control {
    display: inline-block;
}

::selection {
    background: var(--secondaryColor);
    color: var(--backgroundColor);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var( --headingFont), sans-serif;
    text-wrap: balance;
}


html, body {
    font-size: 16px;
    background: var(--backgroundColor);
    color: var(--primaryColor);
}

h1 {
    font-size: 2.3rem;
}

h2 {
    font-size: 1.6rem;
}

h3,
h4 {
    font-size: 1rem;
}

p {
	margin-bottom: 1em;
}

p:last-child {
	margin-bottom: 0;
}


/* EV2 REQUIRED STYLES
------------------------------------------------------*/

div.ip-group-container div.ip-element label.errorFieldLabel,
div.ip-group-container div.ip-element label.emptyFieldLabel {
	color: #a94442;
}


/* Main Styles
------------------------------------------------------*/

body {
	background: var(--backgroundColor);
	background-image: url('https://blackhattrainings.informatech.com/eventAssets/btrain_spring_2025_241024191416/files/bhst25/bhst_2025_bg-top.jpg');
	background-repeat: no-repeat;
	background-position: center top;
	background-size: 100% auto;
}

@media screen and (max-width: 767px) {
	body {
		background-size: auto auto;
	}
}


a, a:active, a:visited, a:hover {
    color: var(--secondaryColor);
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    width: auto;
}

/* Header
------------------------------------------------------*/

.page-banner img {
    max-width:  390px;
    width: 100%;
    height: auto;
	-webkit-filter: drop-shadow(0 0 6px rgba(0, 0, 0, 1));
    filter: drop-shadow(0 0 6px rgba(0, 0, 0, 1));
}

.page-banner h1,
.date-info {
    margin: 2rem 0;
}

@media screen and (max-width: 767px) {
	.page-banner h1 {
		text-align: center;
	}

	.page-banner img {
		margin-left: auto;
		margin-right: auto;
	}

	.page-banner h1,
	.date-info {
		margin-top: 1rem;
		margin-bottom: 0;
	}

}

.date-info {
    padding: 0;
    list-style: none;
}

.date-info li {
    width: 100%;
    font-size: .85rem;
    line-height: 1.3em;
    text-transform: uppercase;
    text-align: center;
    text-shadow: 0 0 9px rgb(0,0,0,1);
}

.date-info li:first-child {
    font-size: 1.85rem;
    font-weight: 600;
    margin-bottom: .2em;
}

/* content
------------------------------------------------------*/

#main {
	margin-top: 3rem;
}

.login-box h1:first-child {
	margin-top: 0;
}


@media screen and (max-width: 767px) {
	.index_registrations_index .login-box,
	.index_registrations_blackhat .login-box {
		text-align: center;
	}
}


.intro-wrap {
    padding: 0 50px 0 0;
}

aside h2 {
	margin-bottom: 1rem;
}

aside h2:first-child {
	margin-top: 0;
}

aside p {
    font-weight: 300;
}

aside a {
	font-weight: 400;
}

@media screen and (max-width: 767px) {
	aside {
		text-align: center;
	}
}

@media screen and (max-width: 991px) {
	aside {
		border-top: 1px solid var(--primaryColor);
		margin-top: 2rem;
		padding-top: 2rem;
	}
}


.intro-wrap h1,
.intro-wrap p {
    color: var(--primaryColor);
}

.intro-wrap p {
    text-wrap: pretty;
}

.full-row {
    width: 100%;
}


h2 a {
	font-size: 14px;
	font-weight: 400;
	padding: 6px 12px;
	border: 1px solid transparent;
    border-radius: 4px;
}

h2 a:hover {
	text-decoration: none;
	background-color: #e6e6e6;
}

.btn,
.ip-buttonBar a.btn,
h2 a,
h2 a:active,
h2 a:hover,
h2 a:visited {
    background: var(--secondaryColor);
    color: var(--backgroundColor);
    transition: all ease 0.3s;
    border: 1px solid var(--secondaryColor);
}

.ip-buttonBar {
	margin-top: 2rem;
}

.index_registrations_index .ip-buttonBar,
.index_registrations_blackhat .ip-buttonBar {
	margin-top: 0;
}

@media screen and (max-width: 767px) {
    .index_registrations_index .ip-buttonBar,
    .index_registrations_blackhat .ip-buttonBar {
        text-align: center;
    }
}

@media screen and (width > 1199px) {
    .ip-buttonBar {
        text-align: right;
    }

    body:not(.index_registrations_review) .ip-buttonBar {
        margin-right: 15px;
    }

    .index_registrations_index .ip-buttonBar,
    .index_registrations_blackhat .ip-buttonBar {
        text-align: left;
    }
}

.index_registrations_index .login-box .requiredSymbol,
.index_registrations_blackhat .login-box .requiredSymbol,
.buttons.chargesButtonsHeader,
.chargeButtons,
.index_registrations_index .btn-cancel {
    display: none;
}

.requiredSymbol {
    line-height: 1.1;
}

#BHiBTA36 {
    width: 60%;
}

@media screen and (max-width: 767px) {
	div[unique_id="BHiBTA36"] {
		width: 100%;
	}
	
	#BHiBTA36 {
		width: 100%;
		max-width: 400px;
		margin-left: auto;
		margin-right: auto;
	}
}

@media screen and ( width > 768px ) {
    .flex-centred {
        display: flex;
        align-items: center;
    }
}


form input,
form select {
    margin-bottom: 10px;
}

.iti__selected-dial-code,
#ip-financialSummary-Container,
.well {
    color: var(--backgroundColor);
    margin-top: 15px;
}

.iti__country-name,
.iti__dial-code {
    color: var(--backgroundColor);
}

.index_registrations_review .financialSummary {
    color: var(--primaryColor);
}

.index_registrations_payment .financialSummary {
    color: var(--backgroundColor);
}

.iti__selected-dial-code {
    margin-top: 0;
}


table.reportTable td, table.reportTable th, 
.groupFinancialSummary th,
.groupFinancialSummary .subtotalRow.balanceDueRow, 
.groupFinancialSummary .even.chargeRow, 
.groupFinancialSummary .odd.chargeRow {
    color: #000;
}

.chargesSubtotalLabel, 
.paymentsSubtotalLabel, 
.groupFinancialSummary .groupFinancialSummary tr, 
.groupFinancialSummary td.chargesSubtotalAmount.financialAmount, 
.groupFinancialSummary td.paymentsSubtotalAmount.financialAmount, 
.groupFinancialSummary tr  {
    color: white;
}



.odd_hover, 
.even_hover {
    background-color: white;
}

/* FOOTER */

#footer {
	margin-top: 3rem;
}

#footer img.footer-logo {
	width: 100%;
    max-width: 160px;
    margin: 7px 0;
    height: auto;
	-webkit-filter: drop-shadow(0 0 3px rgba(0, 0, 0, 1));
    filter: drop-shadow(0 0 3px rgba(0, 0, 0, 1));
}

#footer .flex-centered .pull-right {
	margin-right: auto;
	text-align: left;
}

#footer ul {
    list-style: none;
    margin: 10px 0 0 0;
    padding: 0;
}

@media screen and (min-width: 768px) and (min-width: 992px) {
    #footer ul {
        float: right;
    }
}

#footer ul li {
    float: left;
    padding: 2px 5px;
    font-size: 0.8rem;
}

#footer ul li:last-child {
    clear: both;
}

#footer ul li a {
    color: var(--primaryColor);
    text-decoration: underline;
    font-weight: normal;
}

#footer ul li a:hover {
    text-decoration: none;
}

#footer img.footer-logo,
#footer ul {
	margin-top: 1rem;
	margin-bottom: 2rem;
}


@media screen and (max-width: 767px) {
	#footer {
		margin-top: 2rem;
		padding: 0 15px;
	}

	#footer .footer {
		border-top: 1px solid var(--primaryColor);
		padding-top: 2rem;
	}

	#footer .flex-centered .pull-right {
		margin-left: auto;
		margin-right: auto;
		text-align: center;
	}
	
	.footer-logo {
		margin: 0 auto;
	}

	#footer img.footer-logo {
		margin-top: 0;
		margin-bottom: 0;
	}
	
	#footer ul li {
		float: none;
		display: inline-block;
	}
	
	#footer ul li:last-of-type {
		display: block;
	}
}