/*!
 * Theme styles
*/

@import "defaults.css";

/* Defaults
--------------------------------------------- */
body {
	color: var(--color-texts);
	font-family: var(--font-main);
	font-size: var(--fsize-main);
	font-weight: 400;
	line-height: var(--lheight-main);
}

h1, h2, h3, h4, h5, h6 {
	color: var(--color-headings);
	font-family: var(--font-headings);
	line-height: var(--lheight-headings);
	font-weight: 600;
}

a {
	color: var(--color-buttons-main);
}

a:hover {
	color: var(--color-buttons-hover);
}

* {
    box-sizing: border-box;
}

button,
.button,
.wp-block-button__link,
.entry-content .wpcr3_button_1 {
	display: inline-block;
	padding: 13px 25px;
	margin: 0;
	font-size: 16px;
	line-height: 1.5em;
	color: #fff;
	background: var(--color-buttons-main);
	border: none;
	border-radius: 25px;
}

.entry-content .wpcr3_button_1 {
	background: var(--color-buttons-secondary);
	margin-bottom: 20px;
}

button:hover,
.button:hover,
.wp-block-button__link:hover,
.entry-content .wpcr3_button_1:hover {
	color: #fff;
	background: var(--color-buttons-hover);
	text-decoration: none;
}

.button i,
.button svg {
    margin-left: 5px;
}

a,
button,
.button,
.entry-content .wpcr3_button_1 {
	-webkit-transition: all .25s ease;
	-moz-transition: all .25s ease;
	-ms-transition: all .25s ease;
	-o-transition: all .25s ease;
	transition: all .25s ease;
}

/* Header
--------------------------------------------- */
.site-header {
	position: relative;
    border-bottom: 1px solid #e8e8e8;
	z-index: 9;
}

#site-logo {
    height: auto;
    width: 300px;
}

/* Navigation
--------------------------------------------- */
.site-header .uk-container {
	align-items: center;
	height: 100%;
}

.site-header.uk-sticky-fixed {
	background: #fff;
	z-index: 9999;
}

/* Navigation
--------------------------------------------- */
.main-navigation {
	justify-self: self-end;
	margin-left: auto;
}

.main-navigation ul {
	display: flex;
	justify-content: flex-end;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul.menu li a {
	color: #657379;
	padding: 0 12px;
	font-size: 16px;
	font-weight: 500;
	line-height: 90px;
	letter-spacing: .25px;
	text-decoration: none;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: nowrap;
	flex-wrap: nowrap;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	justify-content: space-between;
}
.main-navigation ul.menu li a:hover,
.main-navigation ul.menu li.current-menu-item > a,
.main-navigation ul.menu li.current-menu-ancestor > a {
	color: #000;
}

.main-navigation ul.menu li a i {
	font-size: 1.2em;
	margin-right: 8px;
	float: left;
	line-height: inherit;
	display: flex;
	order: -1;
}

.main-navigation ul.menu li.focused a {
    line-height: 50px;
    margin-top: 20px;
    margin-left: 20px;
    padding: 0 20px;
    color: #fff;
    background: var(--color-buttons-main);
    border-radius: 25px;
}

.main-navigation ul.menu li.focused a:hover {
	background: var(--color-buttons-hover);
}

.main-navigation ul.menu li.focused a:after,
.main-navigation ul.menu li.menu-item-has-children > a:after {
	content: "";
	display: inline-block;
	margin-left: 10px;
	margin-top: -4px;
	width: 6px;
	height: 6px;
	-ms-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	background: transparent;
	border-right: 1.5px solid;
	border-bottom: 1.5px solid;
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-ms-transition: all .3s ease;
	-o-transition: all .3s ease;
	transition: all .3s ease;
}

.main-navigation ul.menu li.focused a:after,
.main-navigation ul.menu li.menu-item-has-children:hover > a:after {
	-ms-transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
	margin-top: 0;
}

.main-navigation ul.menu li {
	position: relative;
}

.main-navigation ul.menu li > ul.sub-menu {
	display: block;
	opacity: 0;
	visibility: hidden;
	position: absolute;
	width: 270px;
	height: auto;
	top: 110%;
	right: 0;
	left: auto;
	padding: 15px 0px;
	margin: 0;
	background-color: #fff;
	border: 1px solid #eaeef1;
	border-radius: 0;
	z-index: 9998;
	-webkit-transition: all .2s ease;
	-moz-transition: all .2s ease;
	-ms-transition: all .2s ease;
	-o-transition: all .2s ease;
	transition: all .2s ease;
}

.main-navigation ul.menu li:hover > ul.sub-menu {
	opacity: 1;
	visibility: visible;
	top: 100%;
	-webkit-box-shadow: 0 8px 8px rgba(0, 0, 0, 0.1);
	box-shadow: 0 8px 8px rgba(0, 0, 0, 0.1);
}

.main-navigation ul.menu li ul.sub-menu:after {
	content: "";
	position: absolute;
	margin: auto;
	top: -8px;
	right: 30px;
	left: auto;
	width: 14px;
	height: 14px;
	-ms-transform: rotate(225deg);
	-webkit-transform: rotate(225deg);
	transform: rotate(225deg);
	background: #fff;
	border-right: 1px solid #e6e6e6;
	border-bottom: 1px solid #e6e6e6;
}

.main-navigation ul.sub-menu li.menu-item-has-children ul.sub-menu:after {
	top: 10px;
	left: auto;
	right: -8px;
	border-right: 0;
	border-left: 1px solid #e6e6e6;
	border-bottom: 1px solid #e6e6e6;
}

.main-navigation ul.menu ul.sub-menu li > ul.sub-menu {
	right: 100%;
	left: auto;
	top: 0;
}

.main-navigation ul.menu ul.sub-menu li {
	display: flex;
	flex-direction: column;
	float: none;
	padding: 0 25px;
	z-index: 9;
}

.main-navigation ul.menu ul.sub-menu li a {
	width: 100%;
	font-size: 15px;
	padding: 8px 0;
	line-height: 1.5em;
	letter-spacing: 0;
	text-transform: none;
}

.main-navigation ul.menu ul.sub-menu li:first-child > a {
	border-top: none;
}

.admin-bar .uk-sticky-fixed {
	top: 32px !important;
}

/* Site navigations. */
.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
	flex-wrap: wrap;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}


/* Main website elements
--------------------------------------------- */
#primary {
    min-height: 70vh;
    margin: 30px 0;
}

body.with-page-header #primary {
	margin-top: 0;
}

body.with-page-header .site-header {
	background: #f4f6f7;
	border: none;
}

.site-footer {
    color: #89929a;
    border-top: 1px solid #e8e8e8;
    font-size: 16px;
    min-height: 220px;
    padding: 25px 0 0;
    background: #fff;
    background-image: url('../img/footer_background.svg');
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: contain;
	margin-bottom: 90px;
}

#footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#footer-menu li:not(:last-child) {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid #ddd;
}

#footer-menu li a {
    display: block;
    color: inherit;
    line-height: 1.5em;
}

.site-footer .site-info p {
    margin: 0;
}

nav#footer-navigation {
    margin: 10px 0 0;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.updated:not(.published) {
	display: none;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

#primary .single-post-content {
    display: block;
    max-width: 760px;
    margin: 30px auto;
}

body.single .entry-header {
    text-align: center;
}

.entry-header .entry-title {
    margin: 0;
}

.entry-header .entry-meta {
    font-size: 18px;
    color: #657379;
    margin: 20px 0;
}

.entry-header {
    margin: 0 0 30px;
}

body.page .entry-header {
    background: #f4f6f7;
    padding: 30px;
}

body.single-post .entry-header {
    background: none;
}

body.single-post .entry-header .entry-title {
    max-width: 760px;
    margin: 0 auto;
}

/* Posts loop
--------------------------------------------- */
.ci-loop-post > .uk-card,
.ci-loop-post > .uk-card img {
    border-radius: 5px;
}

.ci-loop-post .small_hr {
    margin: 15px 0;
}

.ci-loop-post h3,
.ci-loop-post p {
    margin: 0;
}

.ci-loop-post .more-link {
    display: block;
    margin-top: 5px;
}

.ci-loop-post .more-link:hover {
    text-decoration: none;
}
.ci-loop-post .more-link:hover .uk-icon {
    margin-left: 5px;
}

/* Posts prev/next navigation
--------------------------------------------- */
.post-navigation {
	position: relative;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    position: relative;
    border-top: 1px solid #ddd;
    /* border-bottom: 1px solid #ddd; */
    padding: 20px 50px;
}

.post-navigation .uk-icon {
    position: absolute;
    left: 0;
    top: 22px;
    width: 50px;
}

.post-navigation .nav-next .uk-icon {
	left: auto;
	right: 0;
}

.post-navigation .uk-icon svg {
    height: auto;
    width: 40px;
}

.post-navigation .nav-previous h4,
.post-navigation .nav-next h4 {
	margin: 0;
	font-size: 22px;
	line-height: 1.5em;
	max-height: 3em;
	overflow: hidden;
}

.post-navigation .nav-previous a,
.post-navigation .nav-next a {
    color: #111;
}

.post-navigation .nav-previous a:hover,
.post-navigation .nav-next a:hover {
    color: var(--color-buttons-main);
    text-decoration: none;
}

.post-navigation .nav-subtitle {
    display: inline-block;
    margin-top: 10px;
    color: #9da9ad;
    font-size: 16px;
    line-height: 1;
}

.post-navigation .nav-previous:hover .nav-subtitle {
    padding-right: 40px;
}

.post-navigation .nav-next:hover .nav-subtitle {
    padding-left: 40px;
}

.post-navigation .nav-next .nav-subtitle {
    padding-right: 0;
    padding-left: 15px;
}

span.post-navigation-vr {
	position: absolute;
	top: 0;
	left: 50%;
	height: 100%;
	width: 1px;
	background: #e6e6e6;
}

.post-navigation .nav-previous i,
.post-navigation .nav-next i {
    position: absolute;
    right: 25px;
    top: 12px;
    font-size: 60px;
    color: #eee;
}

.post-navigation .nav-previous i {
    right: auto;
	left: 25px;
}

/* Comments
--------------------------------------------- */
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
  margin: 0 0 1.5em;
}

.widget select {
  max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
  display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

.wp-caption-text {
  text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
  margin-bottom: 1.5em;
  display: grid;
  grid-gap: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  width: 100%;
}

.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
  grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
  grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
  grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
  display: block;
}

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
  outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {
  /*rtl:ignore*/
  float: left;

  /*rtl:ignore*/
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {
  /*rtl:ignore*/
  float: right;

  /*rtl:ignore*/
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
  text-align: center;
}

/* Dividers
--------------------------------------------- */
.small_hr,
.small_hr2,
.small_hr_color,
.small_hr2_color {
    display: block;
    width: 40px;
    height: 1px;
    background: #d5e0dc;
    margin: 20px auto;
}

.small_hr_color,
.small_hr2_color {
	background: var(--color-buttons-main);
}

.small_hr2,
.small_hr2_color {
    height: 2px;
}

body.page .entry-header .small_hr,
body.page .entry-header .small_hr_color,
body.page .entry-header .small_hr2,
body.page .entry-header .small_hr2_color {
	margin-bottom: 0;
}

/* Breadcrumbs
--------------------------------------------- */
.carinsurance-breadcrumbs {
    font-size: 16px;
    color: #96a3a9;
    margin: 0 0 10px;
}

.carinsurance-breadcrumbs a {
    color: #657379;
}

.carinsurance-breadcrumbs .breadcrumbs-separator {
    margin: 0 6px;
}

.carinsurance-share a {
    color: #a9b9bf;
    margin: 0 5px;
}

.carinsurance-share a:hover {
	color: #111;
}

.entry-footer .carinsurance-share {
    margin: 20px 0;
}

/* Widgets
--------------------------------------------- */
#sidebar .sidebar-wrapper {
    position: sticky;
    top: 0;
}

#sidebar {
    font-size: 16px;
}

#sidebar ul {
    list-style: none;
}

#sidebar ul li {
    display: block;
}

#sidebar .widget-title {
    font-size: 24px;
}

#sidebar .widget-title .small_hr {
    margin: 10px 0;
    width: 30px;
}

.widget_recent_entries .post-date {
    display: block;
    color: #98a1a5;
}

.widget_recent_entries a {
    display: block;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5em;
    color: #111;
}

.widget_recent_entries li {
    padding: 10px 0;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.widget #calendar_wrap table {
    width: 100%;
    font-size: 15px;
    text-align: center;
    border: 1px solid #dfe5e8;
    padding: 20px;
}

.widget #calendar_wrap caption {
    font-size: 18px;
    background: #f4f6f7;
    padding: 8px 0;
}

.widget #calendar_wrap caption,
.widget #calendar_wrap th,
.widget #calendar_wrap a {
    font-weight: 600;
}

.widget #calendar_wrap td:hover {
    background: #dfe5e8;
}


.entry-content .wpcr3_review blockquote.wpcr3_content.wpcr3_admin_response {
    color: inherit;
}

/* Widget: Insurance Form
--------------------------------------------- */
#sidebar #insurance_wizard_form {
    padding: 0 25px;
    border: 2px solid #e8e8e8;
}

#sidebar #wizard_brand_picker li {
    width: calc(25% - 10px);
}

#sidebar #insurance_wizard_form .uk-margin-medium {
    margin-bottom: 20px;
}

#sidebar #insurance_wizard_form *+.uk-margin-medium {
    margin-top: 15px !important;
}

/* Mobile Menu
--------------------------------------------- */
#mobile-menu li a {
    font-size: 18px;
    color: #a8aaab;
}

#mobile-menu li.uk-open > a {
    color: #fff;
}

#mobile-menu .uk-nav-sub li a {
    padding: 5px 0;
    font-size: 17px;
}

#offcanvas-menu .uk-offcanvas-bar {
    width: 310px;
    max-width: 90vw;
}

.ci-mobile-toggle {
	line-height: 60px;
	color: #000;
}

.ci-mobile-toggle:focus {
	color: #000;
}

/* Sticky Footer Bar
--------------------------------------------- */
.sticky-footer-bar {
    display: block;
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    background: #fff;
    padding: 20px 0;
    z-index: 9;
}

.svg-button-icon {
    display: inline-block;
    width: 14px;
    height: 14px;
    line-height: 14px;
    color: inherit;
    margin-right: 6px;
}

.svg-button-icon svg {
    fill: #fff;
}

.sticky-footer-bar p {
    margin: 0;
}

body.quote-page .sticky-footer-bar,
body.quote-page .entry-footer {
	display: none;
}


/*------------------------------------*\
	RESPONSIVE STYLES
\*------------------------------------*/
@media (max-width: 1200px) {
	
}

@media (max-width: 1024px) {
	#sidebar #wizard_brand_picker li {
		width: calc(33.33% - 10px);
	}
	.ci-home-hero .wp-block-columns .wp-block-column {
		flex-basis: 100% !important;
	}
}

@media (max-width: 992px) {
	.ci-home-hero .wp-block-columns .wp-block-column {
		flex-basis: 100% !important;
	}
}

@media (max-width: 768px) {
	.admin-bar .uk-sticky-fixed {
		top: 46px !important;
	}
	.site-footer {
		background-size: cover;
	}
}

@media (max-width: 640px) {
	.admin-bar .uk-sticky-fixed {
		top: 0 !important;
	}
	#footer-menu li:not(:last-child) {
		width: 100%;
		margin: 0 0 5px;
		padding: 0 0 5px;
		border-right: 0;
	}
	.sticky-footer-bar {
		text-align: center;
	}
	.sticky-footer-bar .sticky-footer-bar-text {
		display: none;
	}
	body.quote-page .site-header {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		background: #fff;
		z-index: 9;
	}
}