@media only screen and (max-width: 1024px) {
	section#hero-section {
		z-index: 9;
	}
	.popup-form {
		display: none;
		position: fixed;
		z-index: 1000;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		overflow: auto;
		background-color: rgba(0,0,0,0.5); /* Black w/ opacity */
	}

	.popup-content {
		background-color: #fefefe;
		margin: 15% auto;
		padding: 20px;
		border: 1px solid #888;
		width: 90%; /* Could be more or less, depending on screen size */
		max-width: 600px;
		position: relative;
		border-radius: 25px;
	}


}


section#hero-section {
		z-index: 9;
}

.popup-forms {
		display: none;
		position: fixed;
		z-index: 1000;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		overflow: auto;
		background-color: rgba(0,0,0,0.5); /* Black w/ opacity */
}

.popup-contents {
		background-color: #fefefe;
		margin: 15% auto;
		padding: 20px;
		border: 1px solid #888;
		width: 90%; /* Could be more or less, depending on screen size */
		max-width: 700px;
		position: relative;
		border-radius: 25px;
}
	
.close-button {
		color: #aaa;
		float: right;
		font-size: 28px;
		font-weight: bold;
}

.close-button:hover,
.close-button:focus {
		color: black;
		text-decoration: none;
		cursor: pointer;
}
span#closePopup {
		display: block!important;
		margin: 10px;
}


span#closePopup {
	display: none;
}





/* Part of Display Conditions */
#switching-container:not(.insurance) .insurance,
#switching-container.insurance .loan {
    display: none !important;
}

input[name="diggeddy-form-switch"] {
    width: 0;
    height: 0;
    position: absolute;
    left: -9999px;
}

input[name="diggeddy-form-switch"]+label {
    display: block;
    padding: 15px;
    position: relative;
    cursor: pointer;
    box-sizing: border-box;
}

input[name="diggeddy-form-switch"]:not(:checked)+label {
    opacity: 0.7;
}


.form-selectors {
    display: flex;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    width: 100%;
    background-color: #eee;
    border-radius: 8px;
    overflow: hidden;
}

.form-selectors label {
    flex: 1 0 50%;
    text-align: center;
}

.form-selectors .radio-slider {
    display: block;
    width: calc(50% - 10px);
    border-radius: 6px;
    background-color: #fff;
    position: absolute;
    left: 5px;
    top: 5px;
    bottom: 5px;
    transform: translate3d(0, 0, 0);
    transition: transform 0.3s ease-in-out;
    z-index: -1;
}

.form-selectors.active .radio-slider {
    transform: translate3d(calc(100% + 10px), 0, 0);

}

form#selector-form label{
	color: black;
}