/*
Theme Name: Gary Tabakman
Description: The original Gary Tabakman theme.
Version: 1.5
Author: Gary Tabakman
*/

img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img {
max-width: 100%; 
height: auto; 
}
.alignleft,
img.alignleft {
display: inline;
float: left;
margin-right: 24px;
margin-top: 4px;
}
.alignright,
img.alignright {
display: inline;
float: right;
margin-left: 24px;
margin-top: 4px;
}
.aligncenter,
img.aligncenter {
clear: both;
display: block;
margin-left: auto;
margin-right: auto;
}
img.alignleft,
img.alignright,
img.aligncenter {
margin-bottom: 0;
}
.wp-caption {
background: #f1f1f1;
line-height: 18px;
margin-bottom: 20px;
max-width: 632px !important; 
text-align: center;
}
.wp-caption img {
margin: 5px 5px 0;
}
.wp-caption p.wp-caption-text {
color: #888;
font-size: 12px;
margin: 5px;
}
.wp-smiley {
margin: 0;
}
.gallery {
margin: 0 auto 18px;
}
.gallery .gallery-item {
float: left;
margin-top: 0;
text-align: center;
width: 33%;
}
.gallery-columns-2 .gallery-item {
width: 50%;
}
.gallery-columns-4 .gallery-item {
width: 25%;
}
.gallery img {
border: 2px solid #cfcfcf;
}
.gallery-columns-2 .attachment-medium {
max-width: 92%;
height: auto;
}
.gallery-columns-4 .attachment-thumbnail {
max-width: 84%;
height: auto;
}
.gallery .gallery-caption {
color: #888;
font-size: 12px;
margin: 0 0 12px;
}
.gallery dl {
margin: 0;
}
.gallery img {
border: 10px solid #f1f1f1;
}
.gallery br+br {
display: none;
}
#content .attachment img {
margin: 0 auto;
}
.content ul, .content ol{margin:20px 0;}
.content ul li, .content ol li{margin:8px 0 8px 40px; line-height:24px;}
input[type="text"], input[type="email"], textarea, input[type="tel"] {
  border: 1px solid #dddddd;
  padding: 5px;
	background:#eeeeee;
	color:#000000;
	font-family: "Open Sans", sans-serif;
}
.footer input[type="text"], .footer input[type="email"], .footer textarea, .footer input[type="tel"] {
  border: 1px solid #888888;
	background:#808184;
	color:#ffffff;
}
input[type="submit"], a.readmore {
	background: #e3bd21;
	border: 0 none;
	color: #231f20;
	cursor: pointer;
	padding: 8px 15px;
	font-size: 18px;
	display: inline-block;
	font-weight: 500;
	text-transform:uppercase;
}
input[type="submit"]:hover, a.readmore:hover {
  background: none repeat scroll 0 0 #8a8d90 !important;
  color: #ffffff;
}

 *{
padding:0;
margin:0;
}

body.mceContentBody{
background:none;
color:#000000;
}

body,table{
font-family: "Open Sans", sans-serif;
font-size:17px;
color:#000000;
}

img, fieldset{
border:0;
}

table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom:20px;
}
table td, table th {
	border: 1px solid #eeeeee;
	padding: 5px;
}

p{
line-height:28px; 
margin-bottom:30px;
}

a{
outline:none;
text-decoration:none;
color:#023C6E;
font-weight: bold;
}

a:hover{
color:#021f4b;
}

h1, .home h3, .member h3 {
	font-size: 44px;
	font-weight: 500;
	margin-bottom: 20px;
	color: #000000;
	text-transform: uppercase;
	font-family: "Montserrat", sans-serif;
}
.home .content h2{
	color:#939a9e;
	font-size:26px;
	font-weight:500;
}
h2{
font-weight:normal;
font-size:26px;
margin-bottom:15px;	
color:#021f4b;
font-family: "Montserrat", sans-serif;
}
h3{
font-weight:normal;
font-size:22px;
margin-bottom:15px;
color:#021f4b;	
text-transform:uppercase;
font-family: "Montserrat", sans-serif;
}

h4{
font-weight:normal;
font-size:20px;
margin-bottom:15px;
font-family: "Montserrat", sans-serif;
}

.clear{
clear:both;
}

.wrapper{
width:90%; 
margin:0 auto;
max-width:1920px;
}


header.topheader {
	position: fixed;
	width: 100%;
	z-index: 999;
	height: 123px;
	top: 0;
	left: 0;
    z-index: 99999;
    -webkit-transition: height 0.3s;
    -moz-transition: height 0.3s;
    -ms-transition: height 0.3s;
    -o-transition: height 0.3s;
    transition: height 0.3s;
	font-family: "Montserrat", sans-serif;
	background:#ffffff;
}
header.topheader .header, header.topheader .nav, header.topheader .logo, header.topheader .logo img, .iheader, .wrapper2{
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
.admin-bar header.topheader {
	top: 32px;
}
.headerheight{
	height:123px;
}
header.topheader.smaller {
	height: 123px;
}
/*.banner {
	background: url(images/banner-bg.jpg) no-repeat;
	background-size: cover;
	text-align: center;
	font-family: "Montserrat", sans-serif;
}*/
.banner img {
	display: block;
	width:100%;
}
.logo {
	float: left;
}
.nav {
	float: right;
	margin-top: 40px;
}
.topphone {
	float: right;
	margin-top: 30px;
}
.topphone p{
	margin:0;
}
.banner h3 {
	color: #fff;
	font-size: 54px;
	font-weight: 600;
}
.content{
	padding:80px 0;
}
.practices {
	background: #231f20;
	color: #ffffff;
	padding: 50px 0;
}
.practices h3 {
	color: #ffffff;
}
.practices {
	text-align: center;
	color: #939a9e;
}
.practices .practice {
	width: 45%;
	text-align: left;
	float: left;
	margin-right: 3%;
	color: #ffffff;
	padding: 0 20px;
	box-sizing: border-box;
}
.practices h4 {
	font-size: 36px;
	font-weight:500;
}
.practice.widget.moduletable.text-8 {
	border-right: 1px solid #777777;
}
.member {
	background: url(images/member-bg.png) 50% 50% repeat;
	padding: 50px 0;
	text-align: center;
}
.member ul li {
	list-style: none;
	display: inline;
	margin: 0 10px;
	vertical-align: middle;
}
.member img{
	filter: grayscale(1);
}
.cta {
	background: #808184;
	color: #ffffff;
	padding: 20px 0;
	font-size: 22px;
	  font-family: "Montserrat", sans-serif;
}
.cta .wrapper {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
}
.cta .practice {
	margin: 0 0% 0 3%;
	box-sizing: border-box;
	width: 40%;
	text-align: right;
}
.practice.widget.moduletable.text-10 {
	border-right: 2px solid #ffffff;
	padding-right: 60px;
}
.cta h4{
	font-size:34px;
}
.footer {
	background: #231f20;
	color: #ffffff;
	padding: 50px 0;
}
.footer a{
	color: #808184;
}
.footerleft {
	float: left;
}
.footerright {
	float: right ;
}
.gform_description, .gform_required_legend {
	color: #808184;
}
.footer h4{
	text-transform:uppercase;
}
.gform_description {
	margin: 0;
}
.greybg{
	background:#eeeeee;
	padding:20px;
}
.su-spoiler-style-simple > .su-spoiler-title {
	background: transparent !important;
}
.su-accordion .su-spoiler {
	border: 0 !important;
}
.post {
	margin-bottom: 50px;
}
.postleft {
	float: left;
	margin-right: 2%;
	width: 25%;
}
.postright {
	float: right;
	width: 70%;
}
.post-meta {
	display: flex;
	flex-wrap: wrap;
	margin-bottom:20px;
}
.post-meta > div {
	margin-right: 15px;
}
img{
max-width:100%;
height:auto;
}

@media all and (max-width: 1390px){
.topphone {
	margin-top: 10px;
}
.nav {
	margin-top: 10px;
}
.cta {
	font-size: 17px;
}
.cta h4 {
	font-size: 26px;
}
}
@media all and (max-width: 1340px){
.topphone {
	margin-top: 30px;
}
.nav {
	margin-top: 35px;
}
.cta .practice p {
	margin-bottom: 20px;
}
}
@media all and (max-width: 1060px){
.cta .practice {
	margin: 0;
	box-sizing: border-box;
	width: 100%;
	text-align: center;
}
.practice.widget.moduletable.text-10 {
	border-right: 0;
	padding-right: 0;
}
.footerleft {
	float: none;
	width: 100%;
}
.footerright {
	float: none;
	width: 100%;
	margin-bottom: 20px;
}
.practices .practice {
	width: 100%;
	text-align: left;
	float: none;
	margin-right: 0;
	color: #ffffff;
	padding: 0;
	box-sizing: border-box;
}
.practice.widget.moduletable.text-8 {
	border-right: 0;
}
}
@media all and (max-width: 750px){
.logo {
	float: none;
	width: 300px;
	margin: 0 auto;
}
.admin-bar header.topheader {
	top: 46px;
}
.topphone {
	margin-top: 5px;
	float: none;
	text-align: center;
}
.nav {
	margin-top: 0;
	position: absolute;
	right: 30px;
	top: 25px;
}
header.topheader.smaller, header.topheader, .headerheight {
	height: 145px;
}
.banner h3 {
	font-size: 35px;
}
h1, .home h3, .member h3, .practices h4 {
	font-size: 34px;
}
.postleft {
	float: none;
	margin-right: 0;
	width: 100%;
}
.postright {
	float: none;
	width: 100%;
	margin-top: 20px;
}
}

@media all and (max-width: 500px){

}