/*

Theme Name: Michael Shapray &ndash; Child Theme of Pro
Author: Handcoded Web Services
Author URI: https://handcoded.ca/
Description: Make all of your modifications to Pro in this child theme.
Version: 1.0.0
Template: pro

*/


/* make columns equal height */

/* applied to rows */
.equal-height-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-line-pack: stretch;
      align-content: stretch;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
/* applied to columns */
.equal-height-col {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex; 
  -webkit-box-orient: vertical; 
  -webkit-box-direction: normal; 
      -ms-flex-direction: column; 
          flex-direction: column;
}
/* align button to bottom of equal height column */
.x-container:before {
  content: normal;
}
.equal-height-col a.x-anchor-button.shapray-bottom {
  margin: auto 0 0;
}
.equal-height-col a.x-anchor-button.shapray-bottom-button {
  margin: auto auto 0;
}


/* Legal Matters Sidebar */
aside.x-sidebar.right {
  margin-top: 1.25em;
}
.shapray-legal-matters-sidebar {
  padding: 2.75em 1em 1.6875em;
  background-color: rgb(221, 189, 44);
  text-align: center;
  text-transform: uppercase;
}
.shapray-legal-matters-sidebar:hover {
  background-color: rgb(53, 43, 84, 0.95);
}
.shapray-legal-matters-sidebar h2 {
  font-size: 1.705882353em;
  color: rgb(53, 43, 84);
}
.shapray-legal-matters-sidebar:hover h2 {
  color: rgb(255, 255, 255);
}

.shapray-legal-matters-sidebar a,
.shapray-legal-matters-sidebar a:link,
.shapray-legal-matters-sidebar a:visited
/* ,
.shapray-sidebar-custom-html a.shapray-button,
.shapray-sidebar-custom-html a.shapray-button:link,
.shapray-sidebar-custom-html a.shapray-button:visited */ {
  display: block;
  max-width: 212px;
  margin: 1.5em auto;
  padding: 0.125em 1.5em;
  border-radius: 1.470588235em;
	background-color: rgb(53, 43, 84);
  font-weight: 700;
  font-size: 1.117647059em;
  color: rgb(255, 255, 255);
  transition: all ease 0.8s;
}
.shapray-legal-matters-sidebar a:hover,
.shapray-legal-matters-sidebar a:active,
.shapray-legal-matters-sidebar a:focus /*,
.shapray-sidebar-custom-html a.shapray-button a:hover,
.shapray-sidebar-custom-html a.shapray-button a:active,
.shapray-sidebar-custom-html a.shapray-button a:focus */ {
	box-shadow: inset 400px 0 0 0 rgb(221, 189, 44);
}

/*
.shapray-sidebar-custom-html a.shapray-button,
.shapray-sidebar-custom-html a.shapray-button:link,
.shapray-sidebar-custom-html a.shapray-button:visited {
	width: auto;
	max-width: 80%;
	padding: 1.375em 1.625em;
	font-size: 1.1875em;
	text-transform: uppercase;
	text-align: center;
}
*/

/* Contact Forms */

.shapray-contact-form .ginput_container_address .address_city,
.shapray-contact-form .ginput_container_address .address_state,
.shapray-contact-form .ginput_container_address .address_zip {
	display: block;
	width: 100%;
	margin-top: 1.5em;
}
body .shapray-contact-form_wrapper form.shapray-contact-form .shapray-contact-form-section-break h2 {
	margin-top: 2em;
	font-size: 1.1875em;
	font-weight: 700;
	overflow: hidden;
	color: rgb(107, 105, 113);
}
body .shapray-contact-form_wrapper form.shapray-contact-form .shapray-contact-form-section-break h2 span {
	position: relative;
}

body .shapray-contact-form_wrapper form.shapray-contact-form .shapray-contact-form-section-break h2 span:before,
body .shapray-contact-form_wrapper form.shapray-contact-form .shapray-contact-form-section-break h2 span:after {
	position: absolute;
	top: 50%;
	left: 100%;
	content: "";
	height: 2px;
	width: 9999px;
	margin-left: 5%;
	display: inline-block;
	background-color: rgb(107, 105, 113);
}
body .shapray-contact-form_wrapper form.shapray-contact-form .gfield_label {
	font-weight: 400;
	color: rgb(107, 105, 113);
}

body .shapray-contact-form_wrapper form.shapray-contact-form .gfield_contains_required .gfield_label {
	font-weight: 700;
}

body .shapray-contact-form_wrapper form.shapray-contact-form .ginput_container_address label {
	font-size: 106.25%!important;
}
.shapray-contact-form .shapray-contact-form-disclaimer-confirmation .gfield_label,
.shapray-contact-form .shapray-contact-form-location .gfield_label {
  display: none;
}

body .shapray-contact-form_wrapper form.shapray-contact-form .required,
body .shapray-contact-form_wrapper form.shapray-contact-form .gfield_label .gfield_required {
	color: rgb(255, 0, 0);
}


body .shapray-contact-form-small_wrapper .gform_heading {
	text-align: center;
	font-size: 0.8125em;
}


body .shapray-contact-form-small_wrapper form.shapray-contact-form-small .gform_body ul.gform_fields li.gfield input,
body .shapray-contact-form-small_wrapper form.shapray-contact-form-small .gform_body ul.gform_fields li.gfield textarea {
	font-size: 0.941176471em!important;
}

body .shapray-contact-form-small_wrapper form.shapray-contact-form-small .gform_body ul.gform_fields li.gfield ::-webkit-input-placeholder { /* Chrome */
  color: rgb(255, 255, 255)!important;
}
body .shapray-contact-form-small_wrapper form.shapray-contact-form-small .gform_body ul.gform_fields li.gfield :-ms-input-placeholder { /* IE 10+ */
  color: rgb(255, 255, 255)!important;
}
body .shapray-contact-form-small_wrapper form.shapray-contact-form-small .gform_body ul.gform_fields li.gfield ::-moz-placeholder { /* Firefox 19+ */
  color: rgb(255, 255, 255)!important;
  opacity: 1 !important;
}
body .shapray-contact-form-small_wrapper form.shapray-contact-form-small .gform_body ul.gform_fields li.gfield :-moz-placeholder { /* Firefox 4 - 18 */
  color: rgb(255, 255, 255)!important;
  opacity: 1 !important;
}

body .shapray-contact-form-small_wrapper form.shapray-contact-form-small .gform_body ul.gform_fields li.gfield.gfield_contains_required ::-webkit-input-placeholder { /* Chrome */
  font-weight: 700;
}
body .shapray-contact-form-small_wrapper form.shapray-contact-form-small .gform_body ul.gform_fields li.gfield.gfield_contains_required :-ms-input-placeholder { /* IE 10+ */
  font-weight: 700;
}
body .shapray-contact-form-small_wrapper form.shapray-contact-form-small .gform_body ul.gform_fields li.gfield.gfield_contains_required ::-moz-placeholder { /* Firefox 19+ */
  font-weight: 700;
}
body .shapray-contact-form-small_wrapper form.shapray-contact-form-small .gform_body ul.gform_fields li.gfield.gfield_contains_required :-moz-placeholder { /* Firefox 4 - 18 */
  font-weight: 700;
}

body .shapray-contact-form-small_wrapper form.shapray-contact-form-small .gform_body ul.gform_fields li.gfield.gfield_contains_required label {
	font-weight: 700;
}
body .shapray-contact-form-small_wrapper form.shapray-contact-form-small .gform_body ul.gform_fields li.gfield.gfield_contains_required label a,
body .shapray-contact-form-small_wrapper form.shapray-contact-form-small .gform_body ul.gform_fields li.gfield.gfield_contains_required label a:link,
body .shapray-contact-form-small_wrapper form.shapray-contact-form-small .gform_body ul.gform_fields li.gfield.gfield_contains_required label a:visited {
	color: rgb(221, 189, 44);
}
body .shapray-contact-form-small_wrapper form.shapray-contact-form-small .gform_body ul.gform_fields li.gfield.gfield_contains_required label a:hover,
body .shapray-contact-form-small_wrapper form.shapray-contact-form-small .gform_body ul.gform_fields li.gfield.gfield_contains_required label a:active,
body .shapray-contact-form-small_wrapper form.shapray-contact-form-small .gform_body ul.gform_fields li.gfield.gfield_contains_required label a:focus {
	color: rgb(255, 255, 255);
}


/*.shapray-button,
.shapray-accordion-button button,
.shapray-accordion-button button:link,
.shapray-accordion-button button:visited, */
.shapray-legal-matters-sidebar a:link,
.shapray-legal-matters-sidebar a:visited,
.shapray-sidebar-custom-html a.shapray-button,
.shapray-sidebar-custom-html a.shapray-button:link,
.shapray-sidebar-custom-html a.shapray-button:visited {
  transition: all ease 0.8s;
}

.shapray-accordion-button button,
.shapray-accordion-button button:link,
.shapray-accordion-button button:visited,
.shapray-legal-matters-sidebar a:link,
.shapray-legal-matters-sidebar a:visited /*,
.shapray-sidebar-custom-html a.shapray-button:hover,
.shapray-sidebar-custom-html a.shapray-button:active,
.shapray-sidebar-custom-html a.shapray-button:focus */ {
  display: block;
  max-width: 212px;
  margin: 1.5em auto;
  padding: 0.125em 1.5em;
  border-radius: 1.470588235em;
	background-color: rgb(53, 43, 84);
  font-weight: 700;
  font-size: 1.117647059em;
  color: rgb(255, 255, 255);
}

.shapray-button:hover,
.shapray-button:active,
.shapray-button:focus,
.shapray-accordion-button button:hover,
.shapray-accordion-button button:active,
.shapray-accordion-button button:focus,
.shapray-legal-matters-sidebar a:hover,
.shapray-legal-matters-sidebar a:active,
.shapray-legal-matters-sidebar a:focus,
.shapray-sidebar-custom-html a.shapray-button:hover,
.shapray-sidebar-custom-html a.shapray-button:active,
.shapray-sidebar-custom-html a.shapray-button:focus {
	box-shadow: inset 400px 0 0 0 rgb(221, 189, 44);
}

.shapray-button-footer:hover,
.shapray-button-footer:active,
.shapray-button-footer:focus {
	box-shadow: inset 400px 0 0 0 rgb(53, 43, 84);
}
.shapray-button-header:hover,
.shapray-button-header:active,
.shapray-button-header:focus {
	box-shadow: inset 400px 0 0 0 rgb(255, 255, 255);
}
.shapray-button-header.shapray-button-header-contact:hover .x-anchor-text-primary,
.shapray-button-header.shapray-button-header-contact:active .x-anchor-text-primary,
.shapray-button-header.shapray-button-header-contact:focus .x-anchor-text-primary,
.shapray-button-header.shapray-button-header-contact:hover .x-icon,
.shapray-button-header.shapray-button-header-contact:active .x-icon,
.shapray-button-header.shapray-button-header-contact:focus .x-icon,
.shapray-sidebar-custom-html a.shapray-button .x-icon,
.shapray-sidebar-custom-html a.shapray-button .x-icon:link,
.shapray-sidebar-custom-html a.shapray-button .x-icon:visited {
	color: rgb(53, 43, 84);
}
.shapray-sidebar-custom-html a.shapray-button .x-icon:hover,
.shapray-sidebar-custom-html a.shapray-button .x-icon:active,
.shapray-sidebar-custom-html a.shapray-button .x-icon:focus {
	color: rgb(255, 255, 255);
}

.shapray-sidebar-custom-html a.shapray-button {
  display: block;
  max-width: 212px;
  margin: 1.5em auto;
  padding: 1em;
  border-radius: 1.470588235em;
	background-color: rgb(53, 43, 84);
  font-weight: 700;
  font-size: 1.117647059em;
  text-align: center;
  color: rgb(255, 255, 255);
}
.shapray-sidebar-custom-html a.shapray-button .x-icon {
	color: rgb(255, 255, 255);
}


.shapray-cases-slider-container .h-widget {
	margin-bottom: 0;
}

.shapray-cases-slider-container .textwidget.custom-html-widget {
	border: 1px solid rgb(235, 235, 235);
}


.shapray-case-results .shapray-button {
	position: relative;
	top: -1.25em;
}

.shapray-accordion-button button {
    width: 87.5%;
  	max-width: 480px;
    margin: 0 auto;
    border-radius: 1.875em;
}

a.shapray-button-services:hover .x-anchor-text {
	margin-top: 0;
	margin-bottom: 1.3125em;
  transition: all ease 0.5s;
}
a.shapray-button-services .x-anchor-text {
  transition: all ease 1s;
}


.shapray-case-results h4,
.shapray-case-results #slider_693 .owl-item h4 {
	color: rgb(53, 43, 84);
	text-transform: uppercase;
	font-size: 1.25em;
}


.shapray-social-icon:hover {
	display: inline-block;
	width: 48px;
	height: 48px;
	margin: 5px;
}
.shapray-social-icon:hover img {
	display: none;
}
.shapray-social-icon-facebook {
	background: transparent url(//defencelawyer.net/wp-content/uploads/2018/09/facebook-o.png) center center no-repeat;
}
.shapray-social-icon-twitter {
	background: transparent url(//defencelawyer.net/wp-content/uploads/2018/09/twitter-o.png) center center no-repeat;
}
.shapray-social-icon-gplus {
	background: transparent url(//defencelawyer.net/wp-content/uploads/2018/09/g-plus-o.png) center center no-repeat;
}
.shapray-social-icon-linkedin {
	background: transparent url(//defencelawyer.net/wp-content/uploads/2018/09/linkedin-o.png) center center no-repeat;
}
.shapray-social-icon-youtube {
	background: transparent url(//defencelawyer.net/wp-content/uploads/2018/09/youtube-o.png) center center no-repeat;
}

/* Sidebars */
.sidebar-menu,
.sidebar-slider {
  padding-top: 1.6875em;
  padding-bottom: 1.6875em;
}
.shapray-sidebar-widget h4,
.shapray-sidebar-widget .h-widget {
	color: rgb(53, 43, 84);
	text-transform: uppercase;
	font-size: 1.1875em;
	font-weight: 700;
	letter-spacing: normal;
}
.shapray-sidebar-widget .h-widget {
	padding-left: 24px;
	padding-right: 24px;
}
.shapray-sidebar-widget .shapray-cases-slider-container h4.h-widget {
	font-size: 1.5em;
}
.shapray-sidebar-widget #slider_693 .owl-item h4 {
	font-size: 1.125em;
	text-transform: none;
}
.shapray-sidebar-widget #slider_693 .owl-item p {
	color: rgb(53, 43, 84);
}
.shapray-sidebar-widget #slider_693 .owl-item p:last-of-type {
	font-weight: 700;
}

.shapray-sidebar-widget .sidebar-slider {
	background-color: rgb(235, 235, 235);	
}
.sidebar-menu,
.sidebar-menu ul,
.sidebar-menu ul li {
	background-color: rgb(221, 189, 44);
  border: none;
}
.sidebar-menu ul>li a {
	margin: 0;
}
.sidebar-menu a,
.sidebar-menu a:link,
.sidebar-menu a:visited {
	display: block;
	width: 100%;
	padding: 0.5em 2.4375em;
	color: rgb(53, 43, 84);
}
.sidebar-menu ul li:hover,
.sidebar-menu ul li:hover a,
.sidebar-menu ul li:hover a:link,
.sidebar-menu ul li:hover a:visited
.sidebar-menu ul li a:hover,
.sidebar-menu ul li a:active,
.sidebar-menu ul li a:focus,
.sidebar-menu ul li.current_page_item,
.sidebar-menu ul li.current_page_item a {
  background-color: rgb(53, 43, 84);
  color: rgb(255, 255, 255);
}
.sidebar-menu ul li.current_page_item a:after {
	content: "";
}
.widget.sidebar-slider .h-widget {
	margin-bottom: 1.5em;
}
.widget.sidebar-slider ul li,
.widget.sidebar-slider ol li {
	background-color: transparent;
}


/* Sliders */
div.sa_hover_buttons {
	display: none;
}

.shapray-testimonials #slider_692 .owl-item h4 {
	padding-bottom: 0.235294118em;
	font-size: 1.411764706em;
	letter-spacing: normal;
}

shapray-testimonials #slider_692 .owl-item p {
	line-height: 1.9;
}
shapray-testimonials #slider_692 .owl-item a p .x-icon {
	color: rgb(243, 242, 247);
	font-size: 2.647058824em;
}
shapray-testimonials #slider_692 .owl-item a {
	display: block;
	padding: 12% 2.5%;
	box-shadow: 0 8px 15px #f2f2f2;
}

shapray-testimonials #slider_692 .owl-item p {
	font-size: 0.941176471em;
	line-height: 2.1;
}

/* Header */
.shapray-header-tagline strong {
	display: block;
  margin-top: 0.3125em;
  text-transform: uppercase;
  font-size: 1.243243243em;
  line-height: 1;
}


@media all and (max-width: 767px) {
	div.x-text.shapray-header-tagline {
		font-size: calc((.53125em + 1vmin) + (.53125em + 1vmax));
	}
	div.x-text.shapray-header-tagline-text {
		font-size: 1.0625em;
	}
}
@media all and (max-width: 480px) {
	div.x-text.shapray-header-tagline {
		font-size: calc((.4em + 1vmin) + (.4em + 1vmax));
	}
	div.x-text.shapray-header-tagline-text {
		font-size: 1em;
	}
}



/* Footer */
.colophon-bottom a,
.colophon-bottom a:link,
.colophon-bottom a:visited {
	color: rgb(221, 189, 44);
}
.colophon-bottom a:hover,
.colophon-bottom a:active,
.colophon-bottom a:focus {
	color: rgb(255, 255, 255);
}

.colophon-bottom .shapray-button {
	position: relative;
	top: -2.5em;
}

.x-scroll-top.right {

}

/* Blog */

.format-standard .entry-title::before {
    content: "";
}

p.p-meta {
	font-weight: 300;
	font-size: 0.875em;
	font-style: italic;
}
p.p-meta a,
p.p-meta a:link,
p.p-meta a:visited {
	font-weight: 900;
	text-decoration: underline;
}


p.p-meta span:first-child {
    display: none;
}
p.p-meta span:nth-child(2):before {
	content: "Posted ";
}
.p-meta>span:after {
    content: " ";
    padding: 0 1em;
}
p.p-meta span:nth-child(3):before {
    content: "Filed under ";
}
p.p-meta span:nth-child(3):after {
    content: "-";
}


.shapray-pagination .textwidget ul,
.shapray-pagination .textwidget li {
	list-style: none;
}
.shapray-pagination .textwidget li {
	display: inline-block;
}

.x-pagination a,
.x-pagination span,
.shapray-pagination .textwidget li a span {
	background-color: rgb(53, 43, 84);
	color: rgb(221, 189, 44);
	font-weight: 700;
}
.shapray-pagination .textwidget li a span:hover {
	background-color: rgb(221, 189, 44);
	color: rgb(53, 43, 84);
}

.shapray-pagination .textwidget li a span {
	display: block;
	padding: 0.625em 1.25em;
	text-align: center;
	border-radius: 500em;
}

.shapray-pagination .textwidget li {
	margin: 0 0.5em;
}
.shapray-pagination .textwidget li:first-of-type {
	margin-left: 0;
}

.shapray-text ul,
.shapray-text li {
	list-style: none;
}
div.x-text.shapray-text ul li {
	position: relative;
}
div.x-text.shapray-text ul li:before {
	position: absolute;
	content: "\f058";
	left: -25px;
	top: 0;
	font-family: fontAwesome;
	color: #ddbd2c;
}


@media all and (max-width: 640px) {
	body .gform_wrapper .top_label div.ginput_container_email {
		margin-top: 1.5em!important;
	}
}




.shapray-case-results-pagination ul,
.shapray-case-results-pagination .widget_text .textwidget ul,
.shapray-case-results-pagination li,
.shapray-case-results-pagination .widget_text .textwidget li {
  margin: 0;
  padding: 0;
  list-style: none;
}
.shapray-case-results-pagination li,
.shapray-case-results-pagination .widget_text .textwidget li {
  display: inline-block;
  margin-top: 1em;
  margin-bottom: 1em;
  font-size: 0.875em;
}
.shapray-case-results-pagination li a {
  display: block;
  width: 2.375em;
  height: 2.375em;
  margin-right: 0.5em;
  padding: 0.75em;
  border-radius: 100px;
  background-color: rgb(221, 189, 44);
  color: rgb(53, 43, 84);
  line-height: 1.1875;
  font-weight: 700;
  text-align: center;
}
.shapray-case-results-pagination li a:hover,
.shapray-case-results-pagination li a:active,
.shapray-case-results-pagination li a:focus {
  background-color: rgb(53, 43, 84);
  color: rgb(221,189,44);
}
.shapray-case-results-pagination .widget_text .textwidget p {
	font-weight: 700;
	margin-bottom: 0;
}
.shapray-case-results-pagination.first .widget_text .textwidget p:first-of-type {
	display: none;
}

@media all and (max-width: 375px) {
	.shapray-case-results-pagination p {
	  margin-left: 0.5em;
	}
.shapray-case-results-pagination li a {
  display: block;
  margin-left: 0.5em;
 }
}