html {
    overflow-y: scroll;
}
.calculator #content {
    padding-top: 30px;
}
.hidden {
	display: none;
}
.visible {
	display: block;
}
.opt input {
	margin-right: 8px;
}
#error-message {
	display: none;
	color: #A62900;
	background-color: #FFE2DA;
	border: 1px solid #FF3700;
	padding: 10px 15px;
	margin-bottom: 10px;
}
.horizontal-layout {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	
}
.select-group {
display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 15px 0 0;
    padding:4px;
    max-width:300px;

}
select#year {
 min-width: 105px; 
    max-width:300px;
}
select#make {
min-width:200px;
    max-width:300px;
}
select#model {
 min-width:  230px; 
    max-width:300px;
}
#calcintro {
    font-size: 1.3em;
    line-height: 1.3;
    color: #c1390e;
    margin-top:2em;
}
#vehicle-options select {
	font-size: 1.2em;
    background-color: #fff;
    color: #333;
    border-radius: 4px;
    border: 2px solid rgb(255 255 255 / 57%);
}
#vehicle-options select:disabled {
    color: #ffffff !important;
    background-color: #0000004a !important;


}
p.step {
	font-weight: 700;
}
#calculate-rates {
    padding: 12px 20px;
    background: #ff7500;
    font-size: 1.2em;
    border-radius: 50px;
    line-height: 1;
    border: 2px solid #ffd67b;
    margin-top: 4px;
    min-width: 105px;
    max-width: 294px;
}
#calculate-rates:hover {
    background-color: #ff9600;
    border-color: #ffd67b;
}
#calculate-rates:disabled {
    color: #ffffffb3;
    background-color: #00000026;
    background-image: none;
    padding-left: 20px;
    cursor: not-allowed;
    border: 2px solid rgb(255 255 255 / 42%);
}
.highlight {
	background-color: #f18d36;
    border-radius: 5px;
    padding: 4px;
}
.instructions {
    margin-bottom: 20px;
    padding: 10px;
    text-align: center;
    color: #fff;
    font-size: 20px;
    line-height:1.2;
}
.instructions p {
     margin-bottom:10px;   
}
.howtouse {
	font-size: 1.4em;
	margin: 30px 0 15px 0;
}
.table-responsive {
	margin-bottom: 20px;
}
.table-responsive+p {
	margin-top: 0px;
}
div#vehicle-options {
    margin-bottom: 50px;
    padding: 20px 20px 40px 20px;
    border-radius: 12px;
    background-color: #485c8d;
}
#seglabel {
	display: block;
	font-weight: 700;
	padding-bottom: 8px;
}
#insurance-options ul {
	margin-top: 15px;
}
.opt {
	display: inline-block;
	padding: 10px;
	margin-bottom: 5px;
}
.opt.hidden {
	display: none;
}
.optcov {
	font-size: 1.2em;
}
.opt label {
	padding-right: 5px;
}
.opt label.primarylabel {
	font-weight: 700;
	line-height: 1.4;
	margin-bottom: 8px;
}
.opt.block {
	display: flex;
	align-items: start;
	line-height: 1.4;
}
.opt.hidden {
	display: none;
}
.opt.block input[type="checkbox"] {
	margin-top: 5px;
	
	margin-right: 0.7em;
	
}
h2.opttitle {
	font-size: 1.7em;
	font-weight: 700;
	border-bottom: 1px solid #ddd;
	margin: 30px 0 20px 0;
	padding-bottom: 8px;
    background-size: 30px;
    padding-left: 45px;
}
#insurance-options-form {
	margin-bottom: 30px;
}
#insurance-options {
	border-bottom: 1px solid #ddd;
	margin-bottom: 30px;
}
#creditoptions label {
	margin-right: 8px;
}
#toggle-arrow {
	position: absolute;
	bottom: -25px;
	left: 50%;
	transform: translateX(-50%);
	width: 50px;
	height: 50px;
	background-color: grey;
	border-radius: 50%;
	text-align: center;
	line-height: 50px;
	cursor: pointer;
}
.icodriver {
	background: url(images/icon-driver.svg) no-repeat 5px 20px;
}
.icovehicle {
	background: url(images/icon-vehicle.svg) no-repeat 5px 22px;
}
.icoinsurability {
	background: url(images/icon-insurability.svg) no-repeat 5px 20px;
}
.icocoverage {
	background: url(images/icon-coverage.svg) no-repeat 5px 20px;
}
#toggle-arrow:hover {
	background-color: #ff9900;
	
	cursor: pointer;
	
}
#toggle-arrow, #toggle-arrow:before {
	transition: background-color 0.3s ease;
}
#toggle-arrow:before {
	content: '';
	display: inline-block;
	width: 10px;
	height: 10px;
	border-left: 2px solid white;
	border-bottom: 2px solid white;
	transform: rotate(-45deg) translateX(8px) translateY(-8px);
}
#toggle-arrow.flipped:before {
	transform: rotate(135deg) translateX(-5px) translateY(5px)
}
p.rate-annual {
	font-size: 3em;
	font-weight: 700;
	border: 3px solid #ddd;
	display: inline;
	padding: 10px 12px;
	line-height: 2em;
}
.rate-display-container {
	display: flex;
	justify-content: space-around;
	align-items: center;
	text-align: center;
	flex-wrap: wrap;
}
.rate-display {
	flex: 1;
	
	margin: 10px;
	padding: 20px;
	box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
	
}
#datasummary .table-responsive + h3,.table-responsive + h2, .table-responsive + h4 {
     margin-top:10px;   
}
h4 {
 line-height:1.3;   
}
.entry-content #datasummary .table-responsive {
    margin-bottom:30px;
}
.rate-title {
	font-size: 1em;
	font-weight: normal;
	margin-bottom: 10px;
	color: #fff;
    letter-spacing: normal;
}
.rate-value {
	transition: color 0.5s ease-out;
	font-size: 2em;
	font-weight: bold;
	margin: 5px 0;
	color: #fff;
	line-height: 1;
}
.explanation-highlight-red {
	background-color: #ffefef;
	border: 1px solid #d39999;
}
.explanation-highlight-green {
	background-color: #f1fdf1;
	border: 1px solid #96c596;
}
#rate-bar #rate-range {
	height: 20px;
	margin: 0;
}
#rate-bar #rate-range-bar {
	top: 10px;
}
#rate-bar #current-rate-indicator {
	top: -9px;
}
#rate-bar .down-arrow {
	border-top: 11px solid white;
	border-left: 11px solid transparent;
	border-right: 11px solid transparent;
}
#rate-bar #rate-range #default-rate-indicator::before {
	content: '';
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: -77px;
	height: 10px;
	width: 3px;
	background-color: black;
}
#rate-bar {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 0;
	z-index: 10;
	margin: 0;
	border-top: 5px solid #6598cb;
	background: #334161;
}
.rate-content {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 18px 0 10px 0;
}


#rate-range {
	position: relative;
	height: 165px;
	
	margin-bottom: 25px;
}
#rate-range-bar {
	height: 10px;
	width: 100%;
	background: linear-gradient(to left, #f35220, #f9f045, #63d926);
	position: relative;
	top: 75px;
}
#default-rate-indicator, #current-rate-indicator {
	position: absolute;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	line-height: 1.2;
}
#default-rate-indicator .rate-text, #current-rate-indicator .rate-text {
	font-size: 16px;
	
}
#default-rate-indicator #defaultAvg, #current-rate-indicator #currentRate {
	font-size: 24px;
	font-weight: bold;
}
.down-arrow, .up-arrow {
	width: 0;
	height: 0;
	border-left: 9px solid transparent;
	border-right: 9px solid transparent;
}
.down-arrow {
	border-top: 9px solid black;
	
	margin: 5px 0 0 0;
}
.up-arrow {
	border-bottom: 9px solid black;
	
	margin: 0 0 5px 0;
}
#default-rate-indicator {
	bottom: -67px;
	
	left: 50%;
	transform: translateX(-50%);
}
#current-rate-indicator {
	position: absolute;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	top: 8px;
	
	left: 50%;
	
	transform: translateX(-50%);
	min-width: 90px;
}
#currentRate {
	font-size: 16px;
	
	color: black;
	
	
}
#current-rate-indicator .down-arrow, #current-rate-indicator #currentRate {
	align-self: center;
	
}
.rate-section {
	display: flex;
    flex-direction: column;
	align-items: center;
	width: 310px;
	white-space: nowrap;
	margin: 0 calc(50vw - 155px);
	transition: margin 0.5s ease-in-out;
}
.rate-section-adjusted {
	margin: 0;
	transition: margin 0.5s ease;
}
.rate-items-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rate-item {
    flex: 1;
	text-align: center;
	min-width: 155px;
}
p.qteziplink {
    padding: 0;
    margin: 0;
    text-align: center;
    width:100%;
}
p.qteziplink a {
    color: #ffffff;
    font-size: 1.2em;
    padding: 3px 0 3px 50px;
    border-radius: 60px;
    margin: 7px 14px 10px 14px;
    display: block;
    background: url(images/fast-car-icon.svg) no-repeat 28px center;
    background-color: #ff3e01;
    border: 3px solid #f9af66;
}
p.qteziplink a:hover {
    background-color: #ff7f01;
}
.entry-content h2.rate-title {
	padding-top: 0;
}
.divider {
	border-left: 1px solid #6598cb;
	height: 80px;
}

#explanation-container {
	display: none;
	padding: 10px;
	background: #24314f;
}
#explanation-toggle-arrow {
	position: absolute;
	top: -20px;
	left: 50%;
	transform: translateX(-50%);
	width: 36px;
	height: 36px;
	background-color: #6598cb;
	border-radius: 50%;
	cursor: pointer;
}
#explanation-toggle-arrow:before {
	content: '';
	position: absolute;
	top: 51%;
	left: 50%;
	width: 10px;
	height: 10px;
	border-left: 3px solid #fff;
	border-bottom: 3px solid #fff;
	transform: translate(-50%, -50%) rotate(135deg) translateX(1px) translateY(-1px);
}
#explanation-toggle-arrow.expanded:before {
	
	transform: translate(-50%, -50%) rotate(315deg) translateX(2px) translateY(-2px);
}
@keyframes bounce-animation {
	0%, 100% {
		transform: translate(-50%, -50%) rotate(135deg) translateX(-1px) translateY(1px);
	}
	50% {
		transform: translate(-50%, -50%) rotate(135deg) translateX(1px) translateY(-1px);
	}
}
#explanation-toggle-arrow.bounce:before {
	animation: bounce-animation .4s ease-in-out;
}
.redval {
	color: #ff6b6b;
	font-weight: 700;
}
.greenval {
	color: #98e75e;
	font-weight: 700;
}
.blueval {
	color: #81b9f1;
	font-weight: 700;
}
#explanation-text {
	font-size: 0.95em;
	padding: 15px 20px 0 20px;
	color: #fff;
	max-width: 1200px;
	margin: 0 auto;
}


#explanation-container.expanded {
	display: block;
}
.rate-items-centered {
	justify-content: center;
}
.rate-items-left-aligned {
	justify-content: flex-start;
}
.rate-bar .inside-site-info.grid-container {
	padding-bottom: 200px;
}
.uparrow {
	background: url(images/icon-infoarrow.svg) no-repeat center;
	background-size: 18px;
	width: 18px;
	height: 18px;
	display: inline-block;
}
.rate-instructions {
	display: none;
	flex-grow: 1;
	text-align: left;
	position: relative;
	padding: 0 20px;
}
.rate-instructions-text {
	color: #fff;
	font-size: .9em;
	padding: 8px 0 10px 41px;
	margin: 0;
	line-height: 1.2;
}
.premium-animate {
	animation: pulse 0.5s ease-out;
	animation-delay: 0.5s;
}

@keyframes pulse {
	0% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.4);
	}
	100% {
		transform: scale(1);
	}
}
.left-arrow {
	width: 0;
	height: 0;
	border-top: 33px solid transparent;
	border-bottom: 33px solid transparent;
	border-right: 27px solid #6598cb;
	position: absolute;
	left: 20px;
	top: 50%;
	transform: translateY(-50%);
}
p.option-msg {
	background: url(images/icon-info.svg) no-repeat left 2px;
	background-size: 18px;
	line-height: 1.3;
	padding-left: 25px;
	margin: 15px 0 1.5em 10px;
}
.vmlist .vmg {
    display: flex;
    align-items: center; /* Centers items vertically */
}
.vmlist {
    padding-left: 20px;
    margin-bottom: 30px;
    color: #999;
}
.vml {
    font-weight: bold;
    margin-right: 18px;
    flex-shrink: 0;
    font-size: 1.2em;
    color: #ac4e9d;
    min-width: 30px;
    text-align: center;
    background: #ffffff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    line-height: 50px;
    margin: 9px 20px 9px 0;
    border: 1px solid #cbcbcb;
}

.vmn {
    flex-grow: 1;
    margin: 13px 0;
}

@media screen and (min-width: 769px) {
	.rate-instructions {
		display: block;
	}
	.rate-section {
		margin: 0;
		transition: none;
	}
}

@media screen and (max-width: 768px) {
	.rate-section {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		width: 100%;
		margin: 0;
	}
	.rate-items-container {
		display: flex;
		align-items: flex-start;
		width: 310px;
	}
	p.qteziplink {
		min-width: 300px;
		max-width: 300px;
		margin: 0 auto;
	}
}
@media screen and (min-width: 505px) and (max-width: 620px) {
	p.qteziplink {
		min-width: auto;
		max-width: 300px;
		width:100%;
	}
    p.qteziplink a {
        background: #ff3e01;
        padding: 3px 0 3px 0;
    }
}
@media screen and (max-width: 545px) {
    p.qteziplink a {
        font-size: 95%;
    }
}
@media screen and (max-width: 504px) {
	.rate-section {
		flex-direction: column;
		justify-content: space-between;
		width: 100%;
		margin: 0;
	}
	.rate-items-container {
		width: 100%;
	}
	p.qteziplink {
		width: 100%;
		text-align: center;
		font-size: 1.2em;
	}
	.rate-sections-container {
		display: flex;
		flex-direction: column;
		width: 100%;
	}
}



@media screen and (max-width: 1260px) {
	.padright {
		padding-right: 60px;
	}
}
@media screen and (max-width: 860px) {
	#vehicle-options .horizontal-layout {
		flex-direction: column;
		align-items: center;
	}
    h2.opttitle {
	font-size: 1.4em;
        background-size:24px;
        padding-left:35px;
    }
    #calculate-rates {
     width:80%;
    margin: 30px auto 0 auto;
    }
    #calculate-rates:disabled {
        padding: 12px 20px;
    }
	.opt, #creditoptions {
		display: block
	}
	#creditoptions .primarylabel {
		margin: 20px 0 10px 0;
	}
	#creditoptions label {
		display: block;
		margin-top: 8px;
	}
	label {
		display: block;
	}
	select {
		width: 100%;
	}
	#vehicle-options .select-group {
		width: 100%;
		
		margin: 5px 0;
		
	}
    .vmlist {
    padding-left: 0;
    }
	.rate-display-container {
		flex-direction: column;
	}

}

a.generate-back-to-top {
    display:none;
 }
 body.calculator nav#sticky-navigation {
	display:none;
 }
