  /* CONTENT */

.title {
	border-bottom: 6px solid #ab8d39;
	font-family: 'Gelasio', serif;
	font-size: 67px;
	font-weight: 700;
}
article {
	display: flex;
	flex-wrap: wrap;
	margin: 30px 0;
	padding: 40px 0;
}
	.post-head {
		flex-basis: 100%;
		width: 100%;
	}
		.archive .post-head, .blog .post-head {
			max-width: 40%;
		}
		.post-title {
			border-bottom: 6px solid #ab8d39;
			font-family: 'Gelasio', serif;
			font-size: 45px;
			font-weight: 700;    
			margin-bottom: 30px;
			margin-top: 0;
			width: 100%;
		}
		.archive .post-title, .blog .post-title {
			border-bottom: none;
			font-size: 38px;
		}
			.post-title a:link, .post-title a:visited {
				color: #002935;
			}
		.meta {
			font-size: 22px;
			margin: 30px 0;
		}
	.post-body {
		box-sizing: border-box;
		display: flex;
		flex-basis: 100%;
		flex-wrap: nowrap;
		gap: 30px;
		justify-content: space-between;
		width: 100%;
	}
		.post-body .featured-thumb {
			flex-basis: 40%;
			flex-shrink: 0;
		}
		.post-body .featured-thumb:empty {
			display: none;
		}
		.post-body .post-content {
			font-size: 18px;
			line-height: 36px;
			width: 100%;
		}
		.archive .post-body .post-content, .blog .post-body .post-content {
			display: flex;
			flex-direction: column;
		}
		.post-content ul {
			list-style-type: none;
		}
		.post-content ul > li::before {
			color: #009898;
			content: '\203A';
			font-size: 26px;
			font-weight: 700;
			margin-right: 5px;
		}
		.more:link, .more:visited {
			background: #009898;
			color: #fff;
			display: inline-block;
			letter-spacing: 3px;
			margin-top: 30px;
			margin-left: auto;
			padding: 10px 40px;
			text-transform: uppercase;
		}
		.attorney-feature-title {
			display: block;
			font-family: 'Gelasio', serif;
			font-size: 21px;
			font-weight: 600;
			margin: 30px auto 10px auto;
			/*text-transform: uppercase;*/
		}
		.attorney-feature-list {
			list-style-type: square;
			margin: 0;
			padding: 0 40px;
		}
		img.alignleft {
			float: left;
			margin: 0 30px 20px 0;
		}
		img.alignright {
			float: right;
			margin: 0 0 20px 30px;
		}
		.further {
			border-top: 1px solid #002936;
			margin-top: 40px;
			padding-top: 40px;
		}
		p:empty {
			display: none;
		}

/* POST NAVIGATION */
.navigation ul{
	list-style-type: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 150px auto;
}
	.navigation li {
		line-height: 40px;
	}
		.navigation a:link, .navigation a:visited, .navigation span.current{
			border: 1px solid transparent;
			display: block;
			min-width: 40px;
			text-align: center;
		}
		.navigation span.current, .navigation span.current{
			border: 1px solid #002935;      
		}
		.navigation .dots {
			padding: 0;
		}
		.screen-reader-text {
			display: none;
		}
		nav.navigation.post-navigation {
			margin-top: 100px;
			justify-content: space-between;
		}
		.nav-links {
			display: flex;
			justify-content: space-between;
		}
			.nav-links .post-title {
				border-bottom: none;
				font-size: 21px;
			}
			.nav-previous, .nav-next {
				flex-basis: 40%;
			}
			.nav-previous a:link, .nav-previous a:visited{
				text-align: left;
			}
			.nav-next a:link, .nav-next a:visited {
				text-align: right;
			}



/* SIDEBAR */

.widget {
	-webkit-box-shadow: 0px 0px 50px 0px rgba(150, 150, 150, 0.25);
	-moz-box-shadow:    0px 0px 50px 0px rgba(150, 150, 150, 0.25);
	box-shadow:         0px 0px 50px 0px rgba(150, 150, 150, 0.25);
	box-sizing: border-box;
	font-size: 18px;
	margin: 0 0 80px 0;
	padding: 40px;
}
	.widget-head {
		margin: 20px 0 40px 0;
		text-align: center;
	}
		.widget-title {
			border-bottom: 4px solid #002936;
			color: #009898;
			display: inline-block;
			font-family: 'Open Sans', sans-serif;
			font-size: 23px;
			font-weight: 400;
			margin: 0 auto;
			padding: 10px 20px;
			text-align: center;
		}
		.widget ul {
			list-style-type: none;
			margin: 0;
			padding: 0;
		}
		.widget li a:link, .widget li a:visited{
			color: #80949a;
			display: block;
			border-bottom: 3px solid #eef1f2;
			padding: 20px 0;
		}
		.widget li a:hover {
			color: #009898;
		}
		.widget li:last-child a:link, .widget li:last-child a:visited {
			border-bottom: none;
		}		
	.widget.widget_search form {
		position: relative;
	}
	.widget.widget_search input[type='text'], .widget.widget_search input[type='search'] {
		background: #f0f0f0;
		border: none;
		box-sizing: border-box;
		color: #373939;
		font-size: 18px;
		height: 60px;
		padding: 10px 60px 10px 20px;
	}
	.widget.widget_search input[type='submit'] {
		background: url(/wp-content/themes/petrellilaw/img/search.webp) no-repeat center center;
		background-size: 70% 70%;
		border: none;
		height: 60px;
		position: absolute;
		right: 10px;
		text-indent: -999em;
		top: 0;
		width: 60px;
	}
	.no-webp .widget.widget_search input[type='submit'] {
		background: url(/wp-content/themes/petrellilaw/img/search.png) no-repeat center center;
	}	
	.widget.widget_schedule {
		background: #009898;
		box-shadow: none;
		color: #fff;
	}
		.widget.widget_schedule .widget-head {
			margin-bottom: 20px;
		}
		.widget.widget_schedule .widget-title {
			border-bottom: none;
			color: #fff;
			font-family: 'Gelasio', serif;
			font-size: 23px;
			font-weight: 400;
		}
		.widget.widget_schedule .widget-body {
			padding: 0 0;
		}
			.widget.widget_schedule ::placeholder {
				color: #002936;
			}
			.widget.widget_schedule input, .widget.widget_schedule textarea{
				background: #fff;
				border-bottom: none;
				box-sizing: border-box;
				color: #002936;
				font-size: 14px !important;
				height: 50px;
				margin-bottom: 20px;
				padding: 5px 20px;
			}
			.widget.widget_schedule textarea { 
				min-height: 200px;
			}
			.widget.widget_schedule button[type='submit'] {
				align-items: unset;
				background: #002936;
				cursor: pointer;
				display: block;
				margin: 0 0 -115px 0;
				position: relative;
				padding: 0;
				text-align: center;
				width: 100%;
			}
			.widget.widget_schedule button[type='submit']::after {
				background: #ab8940;
				bottom: 20px;
				content: '';
				display: block;
				height: 3px;
				left: 50%;
				margin-left: -40px;
				position: absolute;
				width: 80px;
			}
			.widget.widget_schedule input.input-error, .widget.widget_schedule textarea.input-error {
				background: #f8d7da;
				border: 1px solid #721c24;
				color: #721c24;
			}

/* TESTIMONIAL SECTION */

.testimonial-section {
	background: #002936;
	text-align: center;
}
	.testimonial-section .section-title {
		font-family: 'Gelasio', serif;
		font-size: 39px;
		font-style: italic;
		font-weight: 400;
	}
	.testimonials {
		color: #fff;
		float: none;
		max-width: 990px;
		margin: 70px auto;
	}
		.testimonial-author {
			margin-left: auto;
		}
		.dots {
			bottom: unset;
			position: static;
			right: unset;
		}

/* REVIEWS  */
.review-btn {
	background: url(/wp-content/themes/petrellilaw/img/q.png) no-repeat center 30px;
    background-size: auto 40px;
    border: 1px solid #BBB692;
    cursor: pointer;
    padding: 70px 30px 30px 30px;
    text-align: center;
    transition: all 0.5s;
}
.review-btn:hover {
	background-color: #fff;
} 
.review-form {
	background: #fff;
	height: 0;
	overflow: hidden;
}
.review-form-inner {
	padding: 50px;	
}
.review-form form {
	display: flex;
	flex-wrap: wrap;
}
.review-form .form-field input[type='text'], .review-form .form-field textarea, .review-form .form-field select {
	border: 1px solid #ccc;
	color: inherit;
	margin-bottom: 20px;
	width: 100%;
}
.review-form .form-field select { 
	height: 40px;
}
.review-form .form-field input[type='submit'] {
	background: #aa8942;
	color: #fff;
	cursor: pointer;
	line-height: 35px;
	max-width: 250px;
	min-height: 35px;
	padding: 5px 20px;
}
.review-form .form-field input[type='submit']:hover {
	background: #022935;
}
.review-form form > div {
  	flex: 0 50%;
	box-sizing: border-box;
	padding: 0 15px;  
}
.error {
	border: 1px solid crimson !important;
	color: crimson; 
}
.success {
	color: #00AD5B;
}
#response {
	padding: 10px;
}

.grid { 
  column-count: 4;
  column-gap: 1em;
  padding: 100px 0;
}

.grid-item { 
	border: 1px solid #ccc;
	box-sizing: border-box;
  	display: inline-block;
  	margin: 0 0 1em;
  	padding: 0 40px 40px 40px;
  	width: 100%;
}

.grid-item-review h2 {
	font-size: 30px;
	font-weight: 400;
}
.grid-item .entry-content {
	background: url(/wp-content/themes/petrellilaw/img/q.png) no-repeat -15px 0px;
    background-size: auto 40px;
	padding: 40px 0 10px 0;	
}
.grid-item .author_name, .grid-item .author_address {
	display: block;
	font-size: 14px;
	line-height: 20px;
}
.grid-item .review_rating_given {
	margin-top: 40px;
	text-align: center;
}

/* Videos */
.videos {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: flex-start;
}
.videos::after {
  content: "";
  flex: auto;
  gap: 20px;
  width: 200px;
}
	.video {
		background: #eee;
		border: 1px solid #ccc;
		box-sizing: border-box;
		flex-basis: 200px;
		font-size: 16px;
		line-height: 1.2;
		margin: 20px 0;
		padding: 5px;
		text-align: center;
		width: 200px;
	}
		.video img {
			margin-bottom: 10px;
		}

/* TEAM */
.our-team {
	display: flex;
	flex-wrap: wrap;
	/*gap: 50px;*/
	justify-content: space-between;
	width: 100%;
}
	.member {
		flex-basis: 22%;
		margin-bottom: 80px;
		width: 100%;
	}
	.member:last-child {
		margin-bottom: 0;
	}
	.member:empty {
		margin-bottom: 0;
	}
		.member-name {
			display: block;
			font-size: 30px;
		}
		.member-design {
			font-weight: 600;
			text-transform: uppercase;
		}
		.member-picture {
			width: 100%;
		}

/*  FAQ */
.title-faq {
	font-family: 'Gelasio', Serif;
	font-size: 48px;
	font-weight: 400;
	line-height: 60px;
}
	.title-faq::before {
		background: #ab8940;
		content: '';
		display: block;
		height: 4px;
		margin-bottom: 10px;
		max-width: 100px;
	}
.faq {
    -webkit-box-shadow: 0px 0px 50px 0px rgb(150 150 150 / 25%);
    -moz-box-shadow: 0px 0px 50px 0px rgba(150, 150, 150, 0.25);
    box-shadow: 0px 0px 50px 0px rgb(150 150 150 / 25%);
    box-sizing: border-box;
    font-size: 18px;
    margin: 40px 0;
    overflow: hidden;
    padding: 10px 40px;	
    width: 100%;
}
	.faq .question {
		cursor: pointer;
		font-family: 'Open Sans', sans-serif;
		font-size: 24px;
		font-weight: 700;
	}
	.faq.open .question {
		color: #009898;
	}
	.faq .question::after {
		border: 2px solid #bdbdbd;
		border-radius: 50%;
		color: #bdbdbd;
		content: '\203A';
		display: block;
		float: right;
		font-size: 26px;
		font-weight: 700;
		height: 32px;
		line-height: 26px;
		text-align: center;
		transform:rotate(90deg);
		width: 32px;
	}
	.faq .question:hover::after,  .faq.open .question::after{
		border-color: #009898;
		color: #009898;
	}
	.faq.open .question::after{
		transform:rotate(270deg);		
	}
	.faq .answer {
		display: none;
	}
	.faq.open .answer {
		display: block;
	}

/*  RESPONSIVE VIDE */
.video-container {
  overflow: hidden;
  padding-top: 56.25%;
  position: relative;
}
.video-container iframe {
  border: 0;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

/* ATTORNEY SLIDER  */
	.attorneys-slider-wrapper {
		position: relative;
		/*margin: 50px auto 100px auto;
		padding: 0 100px;*/
		margin: 0 auto;
		padding: 0;		
	}
		.att-slide {
			height: 480px;
			overflow: hidden;
			position: relative;
			transition: transform .2s;
			margin: 70px auto;
			max-width: 320px;
			box-shadow: 0px 0px 30px 0px rgba(0,0,0,0.5);
		}
		.att-slide:hover {
			box-shadow: none;
			transform: scale(1.2);
		}
			.att-slide .att-pic {
				position: absolute;
				top: 0;
				bottom: 0;
				left: 0;
				right: 0;
				height: 100%;
				width: 100%;
				max-width: 100%;
			}
			.att-info {
				box-sizing: border-box;
				color: #fff;
				position: absolute;
				bottom: 0;
				left: 0;
				width: 100%;
				text-align: center;
				padding: 20px 10px;
			}
			.att-slide:hover .att-info {
				background: rgba(2,41,54,0.5);
			}
				.att-info .att-name {
					font-family: 'Gelasio', serif;
					font-size: 26px;
					font-weight: 700;
					display: block;
				}
				.att-name::after {
					background: #ab8940;
					content: '';
					display: block;
					height: 5px;
					margin: 5px auto;
					width: 100px;
				}
				.att-info .att-design {
					font-size: 16px;
					font-weight: 700;
					text-transform: uppercase;
					display: block;
					margin: 10px 0;
				}
				.att-info .btn-att-profile {
					font-family: 'gelasio', serif;
					font-size: 16px;
					font-style: italic;
					text-decoration: none;
					color: #fff;
				}


@media only screen and (max-width:1919.5px){
	.archive .post-head, .blog .post-head {
		max-width: unset;
	}
	.widget.widget_schedule .widget-body {
		padding: 0 0;
	}
}
@media only screen and (max-width:1600.5px){
	.member {
		flex-basis: 33%
	}
	.grid {
  		column-count: 3;
	}
}

@media only screen and (max-width:1365.5px){
    .post-body {
      	flex-direction: column;
      	gap: 0;
    }
		.featured-thumb img {
			max-width: 100%;
			min-width: 100%;
		}
}
@media only screen and (max-width:1039.5px){ 
	.member {
		flex-basis: 43%
	}
	.grid {
  		column-count: 2;
	}
	.review-form-inner {
		padding: 0;
	}
	.review-form .form-field {
		flex-basis: 100%;
	}
	.review-form label {
		margin-top: 0;
	}
	.review-form input[type='submit'] {
		margin-top: 30px;
	}
}

@media only screen and (max-width:799.5px){ 
    .title {
      	font-size: 40px;
    }
    .post-title {
      	font-size: 30px; 
    }
    .meta {
      	font-size: 16px;
    }
    .more:link, .more:visited {
		letter-spacing: 1px;
		margin-left: auto;
		margin-right: auto;
    }
    .member-name {
    	font-size: 18px;
    }
    .member-design {
    	font-size: 14px;
    	line-height: 24px;
    }
	.grid {
  		column-count: 1;
	}
	.grid-item {
		padding: 0 20px 20px 20px;
	}

		.attorneys-slider-wrapper {
			margin: 0 auto;
			padding: 0;
		}


}

@media only screen and (max-width:540.5px){ 
	.content-wrapper {
		display: block;
	}
		.sidebar {
			margin-left: -30px;
			margin-right: -30px;
		}
	.member {
		flex-basis: 100%;
	}
	.member:empty {
		height: 1px;
		overflow: hidden;
	}
	img.alignleft, img.alignright {
		float: none;
		margin: 20px auto;
		min-width: 100%;
	}
	.grid {
  		column-count: 1;
	}

		.attorneys-slider-wrapper {
			margin-left: -40px;
			margin-right: -40px;
		}

}