/* START CUSTOM STYLES */

html {
	font-size: 62.5%;
}
body {
    margin: 0;
    position: relative;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.65;
    color: #464646;
    /*padding-top: 140px; */
    padding-top: 96px;
    padding-bottom: 40px;
}

h1,
h2,
h3 {
    font-weight: 800 !important;
    color: #4a78b4;
    line-height: 1.15;
    text-transform: uppercase;
    margin-top: 40px;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif !important;
}
h1 {
    font-size: 4rem;
    color: #925db1;
}
h2 {
    font-size: 3rem;
}
h3 {
    font-size: 2.5rem;
}
strong {
	font-weight: 800;
}
hr {
	margin-top: 3em;
	margin-bottom: 3em;
	border-top: 2px solid #d7d7d7;
}

.navbar-inverse {
	background: #143c71;
}
.navbar-brand {
	height: auto;
	padding: 0;
	margin-left: 0 !important;
}
.navbar .container {
	display: flex;
	align-items: center;
	height: 96px;
}
.navbar .navbar-collapse {
	margin-left: auto;
}
.navbar .nav a {
	font-weight: 600;
	background: none !important;
	position: relative;
	padding-left: 0;
	padding-right: 0;
	margin: 0 15px; 
}

.navbar .nav a:after {
    content: '';
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 8px;
    height: 2px;
    background: white;
    transition: right .3s ease;
}
.navbar .nav a:hover:after {
	right: 0;
}

.hero {
	position: relative;
	height: 370px;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 20px;
	background-size: cover;
	background-position: center center; 
}

.hero:after {
	z-index: 0;
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
}

.hero h2 {
	font-size: 6.5rem;
	margin: 0;
	color: white;
	position: relative;
	z-index: 1;
}

.myButton {
	font-weight: 600;
    display: inline-block;
    color: #4a78b4;
    padding: 0;
    background: none;
    transition: all .3s ease;
    border: 0;
    border-bottom: 2px solid #4a78b4;
}
.myButton:hover {
	border-color: transparent;
	background: none !important;
}

.form-all {
	width: 100% !important;
	position: relative;
	z-index: 0;
	padding: 0 !important;
}

.jotform-form {
	padding: 0 !important;
}

/* Tooltip */

.form-description {
	background: white !important;
	border-radius: 0 !important;
	box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.1) !important;
}
.form-description-content {
	padding: 15px 20px !important;
}

/* Infobox */

body div.form-header-group {
	margin: 0 0 40px !important;
	padding: 40px !important;
	background: #925db1 !important;
}

.form-header-group * {
	color: white !important;
}

.form-header-group .form-header,
.form-header-group .form-header input,
.form-header-group h3,
.form-header-group .form-subHeader {
    font-family: 'Montserrat', sans-serif !important;
}

.form-header-group .form-header,
.form-header-group .form-header input {
    font-size: 2.5rem !important;
}

.form-header-group .form-header,
.form-header-group h3 + * {
	margin-top: 20px !important;
}

.form-header-group h3 {
	margin-bottom: 0 !important;
}

.form-header-group .form-subHeader {
	font-size: 1.6rem !important;
	line-height: 1.65 !important;
}

.form-header-group a {
	text-decoration: none !important;
	border-bottom: 2px solid white;
    transition: all .3s ease;
}
.form-header-group a:hover {
	border-color: transparent;
}

/* Radio / Checks */

.form-line {;
	background: transparent !important;
}

.form-radio-item {
	min-width: 145px;
	padding-right: 60px;
	width: auto !important;
	margin-top: 10px !important;
}

.form-label, label {
	font-family: 'Montserrat', sans-serif !important;
	font-size: 1.6rem;
}

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    width: 30px;
    margin: 0;
    padding: 0;
    opacity: 0;
    position: absolute !important;
}
input[type="checkbox"] + label,
input[type="radio"] + label {
    position: relative;
    min-height: 30px;
    line-height: 30px;
    cursor: pointer;
    padding: 0 0 0 45px;
}
input[type="checkbox"] + label:before,
input[type="checkbox"] + label:after,
input[type="radio"] + label:before,
input[type="radio"] + label:after {
    position: absolute;
    content: '';
    transition: all .3s ease;
}

input[type="checkbox"] + label:before,
input[type="radio"] + label:before {
    width: 30px;
    height: 30px;
    border: 2px solid #d7d7d7;
    border-radius: 50%;
    left: 0;
    top: 0;
}
input[type="checkbox"]:checked + label:before,
input[type="radio"]:checked + label:before {
    border-color: #4a78b4 !important;
}
input[type="checkbox"]:checked + label:after,
input[type="radio"]:checked + label:after,
input[type="checkbox"] + label:hover:after,
input[type="radio"] + label:hover:after {
    opacity: 1;
}

/* checkbox checked icon */

input[type=checkbox] + label:after {
    font-family: Font Awesome\ 5 Pro;
    content: "\f00c";
    font-weight: 400;
    left: 8px;
    top: 15px;
    opacity: 0;
    line-height: 0;
    color: #d7d7d7;
}
input[type=checkbox]:checked + label:after {
    color: #4a78b4 !important;
}

/* radio checked icon */

input[type=radio] + label:before,
input[type=radio] + label:after {
    border-radius: 50%;
}
input[type=radio] + label:after {
    width: 30px;
    height: 30px;
    position: absolute;
    left: 0;
    top: 0;
    transform: scale(.25);
    opacity: 0;
    background: #d7d7d7;
}
input[type=radio]:checked + label:after {
    background: #4a78b4 !important;
}


@media (max-width: 767px) {
	body {
		font-size: 1.4rem !important;
		padding-top: 76px;
		padding-bottom: 20px;
	}
	h1, h2, h3 {
		margin-top: 30px;
	}
	h1 {
		font-size: 2.6rem;
	}
	h2, h3 {
		font-size: 2.2rem;
	}
	hr {
		margin-top: 2em;
		margin-bottom: 2em;
	}

	.navbar-brand img {
		height: 46px;
	}
	.navbar .container {
		display: block;
		height: auto;
	}
	.navbar-header {
		width: 100%;
		margin: 0 !important;
		padding: 15px 0;
	}
	.navbar-toggle {
		margin-right: 0;
		border: 0;
		background: none !important;
	}
	.navbar-toggle .icon-bar {
		position: relative;
	}
	.navbar-toggle[aria-expanded="true"] .icon-bar {
		height: 3px;
	}
	.navbar-toggle[aria-expanded="true"] .icon-bar:nth-child(3) {
		display: none;
	}
	.navbar-toggle[aria-expanded="true"] .icon-bar:nth-child(2) {
		transform: rotate(45deg);
		top: 6px;
	}
	.navbar-toggle[aria-expanded="true"] .icon-bar:nth-child(4) {
		transform: rotate(-45deg);
		bottom: 1px;
	}
	.navbar-collapse {
		border: 0;
		margin-right: auto;
	}
	.navbar .nav a {
		margin: 0;
	}
	.hero {
		height: 225px;
	}
	.hero h2 {
		font-size: 3.4rem;
	}

	.form-line {
		padding: 0 !important;
		margin-left: 0 !important
	}
	.form-label-top {
		margin-bottom: 10px !important; 
	}
	.form-description { 
		display: none !important;
	}
	body div.form-header-group {
		margin: 0 0 20px !important;
		padding: 30px 25px !important;
	}
	.form-header-group .form-header,
	.form-header-group .form-header input {
	    font-size: 2rem !important;
	}
	label,
	.form-label, 
	.form-header-group .form-subHeader {
		font-size: 1.4rem !important;
	}
}
