/* blocks.css */

/**
Layout.
**/
.entry-content {
    min-height: calc(100vh - 138px);
}

.wp-block-column {
    padding: 30px;
    margin: 0 !important;
}

.wp-block-column .nerds-hero {
    overflow: hidden;
}

.align-left {
    text-align: left;
}

.align-center {
    text-align: center;
}

.align-right {
    text-align: right;
}

.s-top-15 {
    padding-top: 15px;
}

.s-top-30 {
    padding-top: 30px;
}

.s-top-60 {
    padding-top: 60px;
}

.s-top-90 {
    padding-top: 90px;
}

.s-top-120 {
    padding-top: 120px;
}

.s-bot-15 {
    padding-bottom: 15px;
}

.s-bot-30 {
    padding-bottom: 30px;
}

.s-bot-60 {
    padding-bottom: 60px;
}

.s-bot-90 {
    padding-bottom: 90px;
}

.s-bot-120 {
    padding-bottom: 120px;
}

/**
Colors.
**/
.has-blue-color {
    color: #14175f;
}

.has-dark-blue-color {
    color: #253468;
}

.has-light-blue-color {
    color: #3fb3e3;
}

.has-green-color {
    color: #88ca41;
}

.has-gray-color {
    color: #F0F0F0;
}

.has-dark-gray-color {
    color: #63666A;
}

.has-white-color {
    color: #ffffff;
}

.has-blue-background-color {
    background-color: #14175f;
}

.has-dark-blue-background-color {
    background-color: #253468;
}

.has-light-blue-background-color {
    background-color: #3fb3e3;
}

.has-green-background-color {
    background-color: #88ca41;
}

.has-gray-background-color {
    background-color: #F0F0F0;
}

.has-dark-gray-background-color {
    background-color: #63666A;
}

.has-white-background-color {
    background-color: #ffffff;
}

/**
Hover colors.
**/
.has-blue-color-hover:hover {
    color: #14175f;
}

.has-dark-blue-color-hover:hover {
    color: #253468;
}

.has-light-blue-color-hover:hover {
    color: #3fb3e3;
}

.has-green-color-hover:hover {
    color: #88ca41;
}

.has-gray-color-hover:hover {
    color: #F0F0F0;
}

.has-dark-gray-color-hover:hover {
    color: #63666A;
}

.has-white-color-hover:hover {
    color: #ffffff;
}

.has-blue-background-color-hover:hover {
    background-color: #14175f;
}

.has-dark-blue-background-color-hover:hover {
    background-color: #253468;
}

.has-light-blue-background-color-hover:hover {
    background-color: #3fb3e3;
}

.has-green-background-color-hover:hover {
    background-color: #88ca41;
}

.has-gray-background-color-hover:hover {
    background-color: #F0F0F0;
}

.has-dark-gray-background-color-hover:hover {
    background-color: #63666A;
}

.has-white-background-color-hover:hover {
    background-color: #ffffff;
}

/**
Text.
**/
.nerds-block h1,
.nerds-block h2, 
.nerds-block h3, 
.nerds-block h4, 
.nerds-block h5, 
.nerds-block h6,
.nerds-block p {
    margin: 0;
    font-family: 'Lusitana', serif;
}

.nerds-block h1,
.nerds-block h2, 
.nerds-block h3, 
.nerds-block h4, 
.nerds-block h5, 
.nerds-block h6 {
    font-weight: bold;
}

.nerds-block h1 {
    font-size: clamp(22px,5vw,40px);
}

.nerds-block h2 {
    font-size: clamp(20px,5vw,32px);
}

.nerds-block h3 {
    font-size: clamp(18px,5vw,28px);
}

.nerds-block h4 {
    font-size: clamp(18px,5vw,24px);
}

.nerds-block h5 {
    font-size: clamp(16px,5vw,22px);
}

.nerds-block h5 {
    font-size: 16px;
}

.nerds-block {
    font-size: 18px;
}

/**
Buttons.
**/
a.primary-button, a.secondary-button {
    border-radius: 4px;
    color: #fff;
    text-decoration: none;
    font-family: 'Heebo', sans-serif;
    display: inline-block;
    padding: 10px 20px;
    margin: 0 2px;
    position: relative;
    bottom: 0;
}

a.animated-button:hover {
    bottom: 2px;
}

/**
Hero.
**/
h1.hero-title {
    font-size: clamp(24px,5vw,38px);
}

.hero-content, .hero-image {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.hero-right img {
    max-width: 400px;
}

.hero-buttons {
    margin-top: 30px;
}

.hero-inner {
    min-height: 50vh;
}

/**
Image.
**/
.nerds-image img {
    max-width: 100%;
}

/**
Card.
**/
.nerds-card {
    height: 100%;
    display: flex;
}

.nerds-card-inner {
    padding: 30px;
    display: flex;
    flex-direction: column;
    border-radius: 4px;
    box-shadow: 0 5px 10px -8px rgb(0 0 0 / 50%);
}

.nerds-fa-icon {
    font-size: clamp(30px,5vw,50px);
    margin-bottom: 15px;
}

.nerds-icon.nerds-image-icon, .nerds-icon.nerds-image-icon img {
    max-width: 100%;
    image-rendering: -moz-crisp-edges; /* Firefox */
    image-rendering: -o-crisp-edges; /* Opera */
    image-rendering: -webkit-optimize-contrast; /* Webkit (non-standard naming) */
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor; /* IE (non-standard property) */;
}

.nerds-icon.nerds-image-icon {
    margin-bottom: 15px;
}

h4.card-heading, .card-content {
    margin-bottom: 15px;
}

.card-button {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.card-button a.primary-button {
    margin: 0;
    text-align: center;
    font-size: 16px;
}

a.primary-button span.button-icon, a.secondary-button span.button-icon {
    font-size: 12px;
    position: relative;
    left: -15px;
    opacity: 0;
    width: 0;
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
}

a.primary-button:hover span.button-icon, a.secondary-button:hover span.button-icon {
    left: 0px;
    opacity: 1;
    width: 15px;
    margin-left: 5px;
}

/**
Form.
**/
button#data-download, a#data-download, button#data-view, span#panel-save {
    font-size: 14px;
    border-radius: 4px;
    color: #fff;
    text-decoration: none;
    font-family: 'Heebo', sans-serif;
    display: inline-block;
    padding: 10px 20px;
    margin: 8px 0 ;
    position: relative;
    bottom: 0;
    background-color: #88ca41;
    border: none;
    cursor: pointer;
    top: 5px;
    transition: all 0.2s ease;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
}

button#data-download:hover, a#data-download:hover, button#data-view:hover, span#panel-save:hover {
    top: 2px;
}

.step-2, .step-3, .step-4, .step-5, .step-6, .step-7, .step-8 {
    display: none;
}

.selectize-input, .selectize-dropdown {
    font-size: 16px;
}

.nerds-select-single .selectize-input span {cursor: pointer;
    margin: 0 3px 3px 0;
    padding: 2px 6px;
    background: #f2f2f2;
    color: #303030;
    border: 0 solid #d0d0d0;border-radius: 4px;
}

.nerds-select-single .selectize-input span a.remove-single {
    position: relative;
    text-decoration: none;
    font-size: 14px;
    margin-left: 5px;
}

.selectize-control.plugin-remove_button .item .remove {
    color: #3fb3e3;
    border-left: none;
    margin-left: 0;
}

.selectize-control.nerds-select-multi .selectize-input>span {
    cursor: pointer;
    margin: 0 3px 3px 0;
    padding: 2px 20px 2px 6px;
    background: #f2f2f2;
    color: #303030;
    border: 0 solid #d0d0d0;
    border-radius: 4px;
    position: relative;
}

.selectize-control.plugin-remove_button .remove-single {
    right: 0;
    top: 2px;
    font-size: 16px;
    padding: 0 6px;
    text-decoration: none;
}

.nerds-form-checkboxes {
    display: flex;
    align-items: flex-start;
    margin-top: 5px;
    flex-direction: column;
}

.nerds-form-checkboxes label, .nerds-form-checkbox {
    margin-bottom: 15px;
}

.nerds-form-checkbox {
    margin-right: 15px;
    background: #f2f2f2;
    padding: 5px 15px 5px 12px;
    border-radius: 4px;
    max-width: 250px;
    margin-right: 50px;
}

.nerds-form-checkbox input {
    margin-right: 7.5px;
}

.nerds-form-characteristic {
    display: flex;
    align-items: center;
    width: 100%;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
    height: 104px;
}

.nerds-form-characteristic > div {
    flex: 1;
}

.nerds-form-checkbox-field {
    width: 100%;
    max-width: 500px;
}

.nerds-form-field select {
	background: #fff;
	color: #303030;
	font-family: inherit;
	font-size: 13px;
	line-height: 18px;
	border: 1px solid #d0d0d0;
	padding: 8px 8px;
	display: inline-block;
	width: 100%;
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	box-shadow: inset 0 1px 1px rgb(0 0 0 / 10%);
	border-radius: 3px;
	-webkit-appearance: none;
	-moz-appearance: none;
	text-indent: 1px;
	text-overflow: '';
    margin-bottom: 7px;
}

.nerds-field-data-container {
    display: flex;
}

.nerds-field-data-container > div {
    flex: 1;
}

.selectize-control.multi .selectize-input>div {
    border-radius: 4px;
}

.nerds-characteristics-fields {
    padding: 10px 0 0 0;
}

.nerds-form-characteristics {
	display: flex;
}

.nerds-form-characteristics>div {
	flex: 1;
}

.nerds-form-checkboxes {
	max-width: 100%;
}

.nerds-characteristics-fields {
	max-width: 500px;
}

[slider] {
	width: 100%;
	position: relative;
	height: 5px;
	margin: 45px 0 30px 0;
}

[slider]>div {
	position: absolute;
	left: 13px;
	right: 15px;
	height: 5px;
}

[slider]>div>[inverse-left] {
	position: absolute;
	left: 0;
	height: 5px;
	border-radius: 10px;
	background-color: #CCC;
	margin: 0 7px;
}

[slider]>div>[inverse-right] {
	position: absolute;
	right: 0;
	height: 5px;
	border-radius: 10px;
	background-color: #CCC;
	margin: 0 7px;
}

[slider]>div>[range] {
	position: absolute;
	left: 0;
	height: 5px;
	border-radius: 14px;
	background-color: #11b6e4;
}

[slider]>div>[thumb] {
	position: absolute;
	top: -7px;
	z-index: 2;
	height: 20px;
	width: 20px;
	text-align: left;
	margin-left: -11px;
	cursor: pointer;
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
	background-color: #FFF;
	border-radius: 50%;
	outline: none;
}

[slider]>input[type=range] {
	position: absolute;
	pointer-events: none;
	-webkit-appearance: none;
	z-index: 3;
	height: 14px;
	top: -2px;
	width: 100%;
	opacity: 0;
}

div[slider]>input[type=range]:focus::-webkit-slider-runnable-track {
	background: transparent;
	border: transparent;
}

div[slider]>input[type=range]:focus {
	outline: none;
}

div[slider]>input[type=range]::-webkit-slider-thumb {
	pointer-events: all;
	width: 28px;
	height: 28px;
	border-radius: 0px;
	border: 0 none;
	background: #11b6e4;
	-webkit-appearance: none;
}

div[slider]>input[type=range]::-ms-fill-lower {
	background: transparent;
	border: 0 none;
}

div[slider]>input[type=range]::-ms-fill-upper {
	background: transparent;
	border: 0 none;
}

div[slider]>input[type=range]::-ms-tooltip {
	display: none;
}

[slider]>div>[sign] {
	opacity: 1;
	position: absolute;
	margin-left: -30px;
	top: -39px;
	z-index: 3;
	background-color: #1b3869;
	color: #fff;
	width: 60px;
	height: 28px;
	border-radius: 28px;
	-webkit-border-radius: 28px;
	align-items: center;
	-webkit-justify-content: center;
	justify-content: center;
	text-align: center;
}

[slider]>div>[sign]:after {
	position: absolute;
	content: '';
	left: 15px;
	border-radius: 16px;
	top: 19px;
	border-left: 14px solid transparent;
	border-right: 14px solid transparent;
	border-top-width: 16px;
	border-top-style: solid;
	border-top-color: #1b3869;
}

[slider]>div>[sign]>span {
	font-size: 12px;
	font-weight: 700;
	line-height: 28px;
}

.nerds-form-field .nerds-form-label, .nerds-field-characteristics label {
    color: #1b3869;
    font-weight: bold;
}

p.field-note {
    font-size: 14px;
    margin: 0 0 8px;
}

.nerds-field-data-optional p.field-note {
    margin-top: 15px;
}

.nerds-field-data-optional p.field-note:first-child {
    margin-top: 0;
}

div#create-my-view-results.animated {
    border-top: solid 4px #1b3869;
    margin-top: 30px;
    padding-top: 15px;
}

#page .nerds-view-name h2 {
    font-family: 'Heebo', sans-serif;
    color: #253468;
}

#page .nerds-data-title h3 {
    color: #11b6e4;opacity: 1;
}

.nerds-data-note {
    margin-top: 15px;
}

div#school-info {
    font-size: 14px;
}

div#totals {
    font-size: 18px;
}

.nerds-on-download {
    max-width: 200px;
    width: 100%;
    margin: 35px auto 0;
    display: none;
}

.nerds-on-download img {
    width: 100%;
}

div#find-district-results .nerds-view-body.nerds-view-sidebar {
    flex-direction: column;
}

div#find-district-results .nerds-view-body.nerds-view-sidebar > div {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

div#find-district-results .nerds-view-side {
    padding: 20px 0 30px;
}