/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

/* = UberMenu  */

.ubermenu-skin-vanilla.ubermenu-responsive-toggle {
  background: #efedf8;
  font-size: 18px !important;
}

/* = Bullet Points */

#content ul li {
  list-style: square;
  line-height: 30px;
}

/* = WP Forms Spam Filter */

.wpforms-container .not-this-time {
	display: none !important;
}

/* = Responsive Home Page Accident Type Column */

.accident-types-container {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
  }
.column {
	flex: 33.33%; /* 3 columns in a row, each taking about one-third of the width */
	max-width: 33.33%; /* each column takes about one-third of the width to account for padding/margins */
	box-sizing: border-box;
	padding: 10px;
	margin-bottom: 10px; /* spacing between rows */
}
.box {
    display: flex; /* Enables flexbox */
    align-items: center; /* Centers content vertically */
    justify-content: center; /* Centers content horizontally */
	padding: 0; /* No padding */
    height: 200px; /* Adjust the height as needed */
    background-size: cover;
    background-position: center;
    border: 2px solid #ddd;
	margin-bottom: 20px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); /* Horizontal offset, vertical offset, blur radius, color */
	transition: box-shadow 0.3s ease-in-out; /* Smooth transition for the shadow effect */
    position: relative; /* Make sure that position of the image is relative to the box */
    overflow: hidden; /* This will clip the image to the box's dimensions */
}
.box:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2); /* Larger shadow for hover effect */
}
.box-text {
	flex-shrink: 0;
    color: #fff; /* Text color */
    background-color: #3d6ca9; /* Background color */
    font-size: 16px; /* Text size */
	padding: 3px 5;
	width: 100%;
	box-sizing: border-box; /* Padding is included in the width */
	text-align: center;
    position: relative; /* Ensure the text appears above the image */
}
.box-text a {
	color: #fff !important;
}
.box-text a:hover {
	color: #ffd447 !important;
}
.box img {
    width: 100%; /* Make the image fill the entire width of the box */
    height: 100%; /* Make the image fill the entire height of the box */
    object-fit: cover; /* This makes the image cover the area, similar to background-size: cover; */
    display: block; /* Remove extra space below the image */
    position: absolute; /* Position the image absolutely within the box */
	top: 0;
	left: 0;
	z-index: -1;
}

@media (max-width: 768px) {
    .column {
      flex-basis: 100%;
      max-width: 100%;
    }
  }

/* = Page Accident Box */

.accident-box {
	position: relative;
	padding: 70px 0;
	margin: 40px 0;
	overflow: hidden; /* This ensures the image doesn't exceed the boundary of the box */
}
.accident-background-image {
	width: 100%;
	height: 100%;
	object-fit: cover; /* This will cover the area without stretching the image */
	position: absolute; /* Position it absolutely within the parent */
	top: 0;
	left: 0;
	z-index: -1; /* This ensures the image stays in the background */
}
.accident-box-content {
	background-color: rgba(239, 237, 248, 0.92);
	box-shadow: 7px 7px 7px -1px rgba(0, 0, 0, 0.4);
	padding: 35px 30px 15px;
	border-radius: 0px;
	width: 80%;
	margin-left: 0; /* Align to the left /
	margin-right: auto; / Keep right margin automatic /
	position: relative; / Make sure this is above the image /
	z-index: 1; / Higher z-index than the image */
}
.accident-box-content h4 {
	display: none;
	padding: 5px 0 15px;
}
.accident-box-content p {
	color: #444;
	font-size: 17px;
	margin: 0 0 20px;
}
.accident-box-content a {
color: var(--bricks-color-ilkpqw);
}

@media only screen and (max-width: 600px) {
	.accident-box {
		padding: 40px 0;
	}
	.accident-box-content {
		padding: 20px;
		width: 100%;
	}
	.accident-box-content ul {
		padding-left: 0px;
	}
}

/* = Start A Claim Button */

.start-claim-button {
    background-color: #ffd447; /* Background color of the button */
    color: #0b3651 !important; /* Text color of the button */
    padding: 10px 20px; /* Padding inside the button */
    text-decoration: none; /* Remove underline from the link */
    display: inline-block; /* Allows padding and dimensions */
    border: 1px solid #444; /* Remove border */
    cursor: pointer; /* Change mouse pointer on hover */
    border-radius: 5px; /* Optional: rounded corners */
    transition: background-color 0.3s, color 0.3s; /* Smooth transition for hover effects */
	margin: 10px 0 5px;
}

.start-claim-button:hover {
    background-color: #ffca3a; /* Slightly lighter color on hover */
}


/* = Main Banner Content */

.field-top {
	color: #fff;
	font-size: 26px;
	font-weight: 400;
	margin-bottom: 10px;
	padding: 0 60px 10px 0;
	line-height: 38px;
}
.field-benefits {
	color: #fff;
	font-size: 20px;
	font-style: italic;
	font-weight: 400;
}
.field-benefits .check {
	display: inline !important;
	border: none !important;
	box-shadow: none !important;
	height: 1em !important;
	width: 1em !important;
	margin: 0 0.5em 0 0 !important;
	vertical-align: -0.1em !important;
	background: none !important;
	padding: 0 !important;
}
.field-bottom {
	color: #fff;
	font-size: 21px;
	font-weight: 400;
	margin-bottom: 2px;
	margin-top: 18px;
}
.field-bottom a {
	color: #ffd447 !important;
}

@media (max-width: 1025px) {
	.field-top {
		font-size: 22px;
		padding: 0px;
	}
	.field-benefits {
		font-size: 19px;
	}
	.field-bottom {
		font-size: 20px;
	}
}

@media (max-width: 991px) {
	.field-top {
		font-size: 21px;
	}
	.field-benefits {
		font-size: 19px;
	}
	.field-bottom {
		font-size: 20px;
	}
}

@media (max-width: 767px) {
	.field-top {
		margin-bottom: 17px;
	}
}

@media only screen and (max-width: 478px) { 

	.field-middle {
		display: none;
	}
}

@media (max-width: 360px) {
	.field-top {
		font-size: 18px;
		line-height: 30px;
	}
	.field-benefits {
		font-size: 17px;
		line-height: 33px;
	}
	.field-bottom {
		font-size: 18px;
		margin-bottom: 0px;
	}
}

/* = WP Forms Confirmation */
.wpforms-container-full .wpforms-confirmation-container-full, div[submit-success] > .wpforms-confirmation-container-full:not(.wpforms-redirection-message) {
  background: #ffd447;
  border: 1px solid #ffd447;
}

/* = WP Forms Required Label */

.wpforms-required-label {
	color: #444 !important;
}

/* = Main Banner Form */

#wpforms-101.wpforms-container-full {
    margin: 0px auto;
}
#wpforms-101.wpforms-container .wpforms-field {
	padding: 5px 0;
}
#wpforms-101 .wpforms-field-layout-columns {
    margin-right: 0px;
    margin-left: 0px;
}
#wpforms-101 .wpforms-field-label {
	color: #fff;
	font-size: 17px;
	font-weight: normal;
	margin: 0 0 8px 0;
}
#wpforms-101 .wpforms-required-label {
	color: #fff !important;
}
#wpforms-101 .wpforms-layout-column {
	padding: 0 10px 0 0;
}
 #wpforms-101 .wpforms-layout-column:last-child {
  padding: 0 0 0 10px;
}
#wpforms-101 .wpforms-submit-container {
  padding: 20px 0 0 0;
}
#wpforms-101 .wpforms-form button[type="submit"] {
	background-color: #ffd447;
	border: none;
	border-radius: 0px;
	color: #0b3651;
	text-align: center;
	width: 100%;
}
#wpforms-101 .wpforms-form button[type="submit"]:hover {
	background-color: #ffca3a;
}

@media only screen and (max-width: 600px) { 
	#wpforms-101 .wpforms-layout-column:last-child {
    padding: 0;
	}
	#wpforms-101 .wpforms-layout-column {
    padding: 0;
}
}

/* = Sidebar Form */

#wpforms-125.wpforms-container-full {
	margin: 14px auto;
}

#wpforms-125 .wpforms-field-label {
	color: #565656;
	font-size: 17px;
	font-weight: normal;
	margin: 0 0 8px 0;
}
#wpforms-125 .wpforms-submit-container {
  padding: 20px 0 0 0;
}
#wpforms-125 .wpforms-form button[type="submit"] {
	background-color: #ffd447;
	border: none;
	border-radius: 0px;
	color: #0b3651;
	text-align: center;
	width: 100%;
}
#wpforms-125 .wpforms-form button[type="submit"]:hover {
	background-color: #ffca3a;
}

/* = Mobile Callback Form */


#wpforms-123.wpforms-container-full {
  margin: 0px auto;
}
#wpforms-123 .wpforms-form .wpforms-field {
    padding: 12px 0;
}
#wpforms-123 .wpforms-layout-column {
	padding: 0 10px 0 0;
}
 #wpforms-123 .wpforms-layout-column:last-child {
    padding: 0 0 0 10px;
}
#wpforms-123 .wpforms-form input[type="text"], #wpforms-123  .wpforms-form input[type="email"], #wpforms-123 .wpforms-form input[type="tel"], #wpforms-123 .wpforms-form select {
	border: 0px solid #000;
}
#wpforms-123 .wpforms-submit-container {
    padding: 10px 0 0 0;
}
#wpforms-123 .wpforms-form button[type="submit"] {
	background-color: #ffd447;
	border: 0px solid #000;
	border-radius: 0px;
	color: #0b3651;
	margin-bottom: 20px;
	text-align: center;
	width: 100%;
}
#wpforms-123 .wpforms-form button[type="submit"]:hover {
	background-color: #ffca3a;
}

@media only screen and (max-width: 600px) { 
	#wpforms-123 .wpforms-layout-column:last-child {
    padding: 0;
	}
	#wpforms-123 .wpforms-layout-column {
    padding: 0;
	}
	#wpforms-123 .wpforms-field-layout-columns {
    margin-right: 0px;
    margin-left: 0px;
    }	
}

/* = Footer Form */

#wpforms-895.wpforms-container.inline-fields .wpforms-field-container {
	display: block;
}
#wpforms-895.wpforms-container-full {
    width: 100%;
}
#wpforms-895.wpforms-container.inline-fields .wpforms-field-container .wpforms-field:last-of-type {
  padding-right: 5px;
}
#wpforms-895 .wpforms-form button[type="submit"] {
	background-color: #ffd447;
	border: none;
	border-radius: 0px;
	color: #444;
	text-align: center;
	width: 100%;
}
#wpforms-895 .wpforms-form button[type="submit"]:hover {
	background-color: #ffca3a;
}


/* = Contact Page Form */

#wpforms-121.wpforms-container-full {
  margin: 0px auto 20px;
}
#wpforms-121 .wpforms-field-label {
	color: #565656;
	font-size: 17px;
	font-weight: normal;
	margin: 0 0 8px 0;
}
#wpforms-121 .wpforms-layout-column {
	padding: 0 10px 0 0;
}
 #wpforms-121 .wpforms-layout-column:last-child {
    padding: 0 0 0 10px;
}
#wpforms-121 .wpforms-field-layout-columns {
    margin-right: 0px;
    margin-left: 0px;
}
#wpforms-121 .wpforms-submit-container {
  padding: 20px 0;
}
#wpforms-121 .wpforms-form button[type="submit"] {
	background-color: #ffd447;
	border: none;
	border-radius: 0px;
	color: #0b3651;
	text-align: center;
	width: 100%;
}
#wpforms-121 .wpforms-form button[type="submit"]:hover {
	background-color: #ffca3a;
}

@media only screen and (max-width: 600px) { 
	#wpforms-121 .wpforms-layout-column:last-child {
    padding: 0;
	}
	#wpforms-121 .wpforms-layout-column {
    padding: 0;
	}
}



/* = Claim Online Form */

#wpforms-1152.wpforms-container-full {
  margin: 0px auto 20px;
}
#wpforms-1152 .wpforms-field-label {
	color: #565656;
	font-size: 17px;
	font-weight: normal;
	margin: 0 0 8px 0;
}
#wpforms-1152 .wpforms-layout-column {
	padding: 0 10px 0 0;
}
 #wpforms-1152 .wpforms-layout-column:last-child {
    padding: 0 0 0 10px;
}
#wpforms-1152 .wpforms-field-layout-columns {
    margin-right: 0px;
    margin-left: 0px;
}
#wpforms-1152 .wpforms-submit-container {
  padding: 20px 0;
}
#wpforms-1152 .wpforms-form button[type="submit"] {
	background-color: #ffd447;
	border: none;
	border-radius: 0px;
	color: #0b3651;
	text-align: center;
	width: 50%;
}
#wpforms-1152 .wpforms-form button[type="submit"]:hover {
	background-color: #ffca3a;
}

@media only screen and (max-width: 600px) { 
	#wpforms-1152 .wpforms-layout-column:last-child {
    padding: 0;
	}
	#wpforms-1152 .wpforms-layout-column {
    padding: 0;
	}
}

/* = Accordion */

/* Style the accordion */
.accordion {
  position: relative; /* Add position: relative */
  background-color: #ecf4f4;
  color: inherit;
  cursor: pointer;
  padding: 18px 18px 10px 18px;
  margin-bottom: 20px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: 0.4s;
}
.accordion h3 {
    font-size: 22px;
}
/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .accordion:hover {
  background-color: #d9e0e0;
}
.accordion h3:after {
  position: absolute; /* Add position: absolute */
  right: 0; /* Align to right */
  top: 50%; /* Center element vertically */
  transform: translateY(-50%); /* Move element up by 50% of its height */
  content: '\02795'; /* Unicode character for "plus" sign (+) */
  font-size: 13px;
  color: #777;
  margin: 0 10px 0 5px;
}

.active h3:after {
  content: "\2796"; /* Unicode character for "minus" sign (-) */
}

/* Style the accordion panel. Note: hidden by default */
.panel {
  padding: 0 18px;
  margin-bottom: 20px;
  display: none;
  background-color: white;
  overflow: hidden;
}

.office-img {
	border-radius: 10px;
	display: block;
  margin-left: auto;
  margin-right: auto;
	width: 100%;
	max-width: 350px;
}

/* = Page Columns */

.two-columns {
	width: 100%;
	overflow: hidden;
}
.two-columns .left-column {
	float: left;
	width: 50%;
}
.two-columns .right-column {
	float: right;
	width: 50%;
}
.all-injury-claims {
	margin-bottom: 30px;
}
.column-left, .column-right {
	background-color: rgba(226, 238, 238, 0.64);
	margin-bottom: 20px;
	padding: 3px 10px;
}
.column-left {
	margin-right: 20px;
}

/* = Placeholder Colours */

.wpforms-container ::-webkit-input-placeholder { /* Chrome and Safari */
   color: #000000 !important;
}
 
.wpforms-container :-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   color: #000000 !important;
   opacity: 1 !important;
}
 
.wpforms-container ::-moz-placeholder { /* Mozilla Firefox 19+ */
   color: #000000 !important;
   opacity: 1 !important;
}
 
.wpforms-container :-ms-input-placeholder { /* Internet Explorer 10-11 */
   color: #000000 !important;
}
 
.wpforms-container ::-ms-input-placeholder { /* Microsoft Edge */
   color: #000000 !important;
}
 
.wpforms-container ::placeholder {
   color: #000000 !important;
}
