/* ============================================================================ *
	Structural Styles
    ---------------------------------------------------------------------------
	These are the styles which build the main site layout
	(headers, footers, body, etc.).

	If you are attempting to add styling for any elements placed inside of a 
	Wordpress Editor, use 'editor-content.css' stylesheet.
*/

body {
  font-family: 'Lato', Arial, Helvetica, serif;
  background: #f0edf0;
  color: #515151;
  font-size: 18px;
}

a {
  color: #1f2b44;
}

/* ======================================== *
	Responsive Layout
 * ======================================== */
@media screen and (max-width: 700px) {
  #breadcrumbs {
    display: none;
  }
}

@media screen and (max-width: 500px) {
  #secondary-nav-wrapper {
    display: none;
  }
}

@media screen and (max-width: 450px) {
  .row > div > .inner {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* ======================================== *
	Miscellaneous
 * ======================================== */
.editor-content img {
  max-width: 100% !important;
  height: auto !important;
}

.mobile {
  display: none;
}

.vcard .value {
  background: url(../images/icon_sprite.png);
  background-position: -88px -14px;
  width: 28px;
  height: 19px;
  vertical-align: middle;
}

@media screen and (max-width: 450px) {
  .not-mobile {
    display: none;
  }

  .mobile {
    display: inherit;
  }
}

/* ======================================== *
	Header 1
 * ======================================== */
h1#page-title,
.editor-content h1 {
  font-size: 1.556em;
  line-height: 1.1em;
  margin-bottom: 25px;
  font-weight: 400;
  color: #1f2b44;
}

/* ======================================== *
	Header 2
 * ======================================== */
.tmf-post > h2 {
  font-size: 1.322em;
  line-height: 1.1em;
  font-weight: 700;
  color: #1f2b44;
}

.tmf-post > h2 a {
  color: #1f2b44;
}

/* ======================================== *
	Header 3
 * ======================================== */
.tmf-post > h3,
h3.tmf-module-title {
  font-weight: 700;
  color: #404858;
  margin-bottom: 15px;
  font-size: 1em;
}

.tmf-post > h3 a,
h3.tmf-module-title a {
  color: #404858;
}

.tmf-post > h3 a:hover,
h3.tmf-module-title a:hover {
}

/* ======================================== *
	Header 4
 * ======================================== */
.tmf-post > h4 {
  color: #bb602d;
  font-weight: 700;
  font-size: 1em;
  line-height: 1.2em;
}

.tmf-post > h4 a {
  color: #bb602d;
  text-decoration: none;
}

.tmf-post > h4 a:hover {
  text-decoration: underline;
}

/* ======================================== *
	Header 5
 * ======================================== */
.tmf-post > h5 {
  font-weight: 700;
  font-size: 1em;
  line-height: 1.2em;
}

.tmf-post > h5 a {
  color: #000;
  text-decoration: none;
}

.tmf-post > h5 a:hover {
  text-decoration: underline;
}

/* ======================================== *
	Secondary Navigation Section
 * ======================================== */

#secondary-nav .menu {
  display: inline-block;
  background-color: #1087a8;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1000;
  padding: 7px 0;
  padding-right: 18px;
  -webkit-box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.3);
}

#secondary-nav .menu > .menu-item > a {
  font-size: 16px;
  color: #fff;
}

/* ======================================== *
	Header Section
 * ======================================== */
#header-wrapper {
  background: #707684; /* For browsers that do not support gradients */
  background: -webkit-linear-gradient(#707684, #434853); /* For Safari 5.1 to 6.0 */
  background: -o-linear-gradient(#707684, #434853); /* For Opera 11.1 to 12.0 */
  background: -moz-linear-gradient(#707684, #434853); /* For Firefox 3.6 to 15 */
  background: linear-gradient(#707684, #434853); /* Standard syntax */
  /* background: #404858;
  background: -webkit-linear-gradient(#404858, #313744); 
  background: -o-linear-gradient(#404858, #313744); 
  background: -moz-linear-gradient(#404858, #313744); 
  background: linear-gradient(#404858, #313744); 
	*/
}

#header {
  padding: 20px 0 20px;
  border-bottom: 8px solid #bb602d;
}

#header-cell-1 {
  vertical-align: middle;
}

#header-cell-1 .logo {
  max-width: 708px;
  width: 100%;
}

#header-cell-2 {
  text-align: right;
  color: #fff;
  font-family: 'Lato', 'Helvetica', sans-serif;
  font-size: 1.1em;
  line-height: 1.3em;
  vertical-align: middle;
}

#header-cell-2 a {
  color: #fff;
  text-decoration: none;
}

@media screen and (max-width: 750px) {
  #header-cell-1 {
    text-align: center;
  }

  #header-cell-2 {
    text-align: center;
    padding-top: 10px;
  }

  #header {
    padding-top: 15px;
    padding-bottom: 15px;
  }
}

@media screen and (max-width: 500px) {
  #header-cell-2 {
    font-size: 0.9em;
  }
}

/* ======================================== *
	Primary Navigation Section
 * ======================================== */
#primary-nav-wrapper {
  margin-bottom: 25px;
  padding: 12px 0;
  background: #5d6471; /* For browsers that do not support gradients */
  background: -webkit-linear-gradient(#5d6471, #939eb3); /* For Safari 5.1 to 6.0 */
  background: -o-linear-gradient(#5d6471, #939eb3); /* For Opera 11.1 to 12.0 */
  background: -moz-linear-gradient(#5d6471, #939eb3); /* For Firefox 3.6 to 15 */
  background: linear-gradient(#5d6471, #939eb3); /* Standard syntax */
  border-top: 1px solid #000000;
  border-bottom: 1px solid #000000;
  box-shadow: inset 0px 4px 10px 0px rgba(21, 23, 26, 0.47);
}

#primary-nav .menu {
}

#primary-nav .menu > .menu-item {
  padding: 3px 0;
  border-left: 1px solid #434242;
}

#primary-nav .menu > .menu-item.first {
  border-left: none;
}

#primary-nav .menu > .menu-item > a {
  color: #fff;
  font-size: 20px;
  padding: 0 15px;
  height: 100%;
  text-decoration: none;
  text-transform: uppercase;
}

#primary-nav .menu > .menu-item:hover > a {
  text-decoration: underline;
}

#primary-nav .menu .sub-menu {
  border: none;
  padding-top: 15px;
}

#primary-nav .menu .sub-menu .menu-item > a {
  color: #fff;
  font-size: 18px;
  padding-top: 8px;
  padding-bottom: 8px;
  font-weight: normal;
  text-decoration: none;
  background-color: #404858;
}

#primary-nav .menu .sub-menu .menu-item:hover > a {
  background: #bb602d;
}

#primary-nav .menu-bar {
  color: #fff;
  text-transform: uppercase;
}

#primary-nav .menu-bar:before {
  background-position: -558px 0;
}

html.mobile-nav #primary-nav-wrapper {
  padding: 0;
}

html.mobile-nav #primary-nav .menu > .menu-item {
  border-left: none;
}

html.mobile-nav #primary-nav .menu > .menu-item > a {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding: 10px;
  font-size: 15px;
}

/* ======================================== *
	Billboard
 * ======================================== */
#billboard {
  -webkit-box-shadow: 0 10px 10px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 10px 10px rgba(0, 0, 0, 0.3);
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.3);
  background: #1f2b44;
}

#billboard-cell-1 .inner {
  padding: 0;
}

#billboard-cell-1 img {
  display: block;
}

#billboard-cell-2 {
  text-align: center;
  color: #fff;
  vertical-align: middle;
}

#billboard-cell-2 a.tmf-button {
  display: block;
  max-width: 300px;
  margin: auto;
  padding: 15px;
  font-size: 1em;
  text-decoration: none;
}

@media screen and (max-width: 1000px) {
  #billboard-cell-1 img {
    max-width: 450px;
    width: 100%;
    margin: auto;
  }

  #billboard-cell-2 {
    padding-bottom: 25px;
  }
}

/* ======================================== *
	Divider Bar
 * ======================================== */

#divider-bar {
  background-color: #404858;
  background-image: -webkit-linear-gradient(#404858, #404858 15px, #2a303a 35px, #2a303a);
  background-image: -moz-linear-gradient(#404858, #404858 15px, #2a303a 35px, #2a303a);
  background-image: -o-linear-gradient(#404858, #404858 15px, #2a303a 35px, #2a303a);
  background-image: linear-gradient(#404858, #404858 15px, #2a303a 35px, #2a303a);
  height: 50px;
  padding: 0 25px;
  left: -25px;
  top: -5px;
  position: relative;
  width: 100%;
  z-index: 10;
  -webkit-box-shadow: 0 4px 8px -4px rgba(0, 0, 0, 0.8);
  -moz-box-shadow: 0 4px 8px -4px rgba(0, 0, 0, 0.8);
  box-shadow: 0 4px 8px -4px rgba(0, 0, 0, 0.8);
}

body.home #divider-bar {
  top: 0;
}

#divider-bar .tab-left {
  position: absolute;
  top: 50px;
  left: 0;
  width: 25px;
  height: 0;
  border-top: 0px solid #f0edf0;
  border-right: 25px solid #404858;
  border-bottom: 15px solid #f0edf0;
  width: 0;
}

#divider-bar .tab-right {
  position: absolute;
  top: 50px;
  right: 0;
  width: 25px;
  height: 0;
  border-top: 0px solid #f0edf0;
  border-left: 25px solid #404858;
  border-bottom: 15px solid #f0edf0;
  width: 0;
}

@media screen and (max-width: 1250px) {
  #divider-bar {
    display: none;
  }

  body.home #divider-bar {
    left: 0;
    width: auto;
    display: block;
  }

  #divider-bar .tab-left,
  #divider-bar .tab-right {
    display: none;
  }
}

@media screen and (max-width: 1100px) {
  #divider-bar {
    height: 25px;
  }
}

@media screen and (max-width: 750px) {
  #divider-bar {
    height: 10px;
  }
}

/* ======================================== *
	Breadcrumb Area
 * ======================================== */

#breadcrumbs {
  margin: 15px 0 0 0;
  padding-left: 25px;
}

/* ======================================== *
	Body Section
 * ======================================== */
#body {
  background-color: #ffffff;
  -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  border-bottom: 4px solid #404858;
  padding: 30px 0;
}

@media screen and (min-width: 1280px) {
  .home #body-row {
    padding: 0;
  }

  #body-row {
    padding-top: 25px;
  }
}

@media screen and (max-width: 1180px) {
  #home-practice-areas-row {
    max-width: 930px;
    margin: auto;
  }
}

/* ======================================== *
	Copyright Section
 * ======================================== */
#copyright {
  padding: 25px 0 75px;
  text-align: center;
  font-size: 0.778em;
  color: #515151;
}

#copyright a {
  color: #515151;
}

/* ======================================== *
	Modules
 * ======================================== */
.tmf-multi-module-area .tmf-module {
  margin-bottom: 50px;
}

.tmf-multi-module-area .tmf-module:last-child {
  margin-bottom: 0;
}

#body .tmf-module h3 {
  padding-right: 10px;
  font-size: 1.2em;
  font-weight: 400;
  position: relative;
  z-index: 5;
  color: #1f2b44;
}

#body .tmf-module-33 .tmf-module-content {
  border-top: 0;
  margin-top: 0;
  text-align: center;
}

.tmf-module-home-practice-areas {
  text-align: center;
}

/* ======================================== *
	Inputs & Buttons
 * ======================================== */
input[type='text'],
textarea {
  padding: 5px;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  max-width: 100%;
  border: 1px solid #ccc;
  -webkit-box-shadow: inset 0 1px 1px #e2e2e2;
  -moz-box-shadow: inset 0 1px 1px #e2e2e2;
  box-shadow: inset 0 1px 1px #e2e2e2;
  background: #ececed;
  border: none;
  font-family: 'Lato', Arial, Helvetica, serif;
}

input[type='text']:focus,
textarea:focus {
  border: none;
}

body .gform_wrapper.tmf-form_wrapper div.gform_body ul.gform_fields li.gfield.gfield_html {
  font-size: 16px;
}

.gform_wrapper.tmf-form_wrapper input:not([type='radio']):not([type='checkbox']):not([type='submit']):not([type='button']):not([type='image']):not([type='file']) {
  padding: 10px 15px;
}

.gform_wrapper.tmf-form_wrapper label.hidden_sub_label,
.gform_wrapper.tmf-form_wrapper label.screen-reader-text,
.gform_wrapper.tmf-form_wrapper .hidden_label .gfield_label {
  display: none;
}

.gform_wrapper.tmf-form_wrapper .field_sublabel_hidden_label .ginput_complex.ginput_container input[type='text'] {
  margin-bottom: 0;
}

body .gform_wrapper.tmf-form_wrapper .top_label div.ginput_container,
body .gform_wrapper.tmf-form_wrapper ul li.gfield {
  margin-top: 0;
}

.gform_wrapper.tmf-form_wrapper li.hidden_label input,
.gform_wrapper.tmf-form_wrapper textarea.small {
  margin-top: 20px;
}

.gform_wrapper.tmf-form_wrapper li:first-child input {
  margin-top: 0;
}

.gform_wrapper.tmf-form_wrapper ul.gform_fields li.gfield {
  padding-right: 0;
}

.gform_wrapper.gform_validation_error.tmf-form_wrapper .gform_body ul li.gfield.gfield_error:not(.gf_left_half):not(.gf_right_half) {
  max-width: 100% !important;
  background: transparent;
  padding: 0 !important;
  margin-bottom: 0 !important;
  border: none;
}

.gform_wrapper.tmf-form_wrapper .field_description_below .gfield_description {
  padding-top: 0;
}

.gform_wrapper.tmf-form_wrapper li.gfield.gfield_error.gfield_contains_required div.ginput_container,
.gform_wrapper.tmf-form_wrapper li.gfield.gfield_error.gfield_contains_required label.gfield_label {
  margin-top: 0;
}

.gform_wrapper.tmf-form_wrapper .gform_footer input.button,
.tmf-button,
.page-numbers {
  font-size: 0.95em;
  padding: 5px;
  background-color: #bb602d;
  background-image: url(../ie-gradient.php?from=8c3c2a&to=733122);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#bb602d), to(#9e422d));
  background-image: -webkit-linear-gradient(#bb602d, #9e422d);
  background-image: -moz-linear-gradient(#bb602d, #9e422d);
  background-image: -ms-linear-gradient(#bb602d, #9e422d);
  background-image: -o-linear-gradient(#bb602d, #9e422d);
  background-image: linear-gradient(#bb602d, #9e422d);
  /* background-image: linear-gradient(#bb602d, #733122); */
  cursor: pointer;
  border: none;
  border-bottom-color: #44702e;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  font-family: 'Lato', Arial, Helvetica, serif;
}

.gform_wrapper.tmf-form_wrapper .gform_footer input.button:hover,
.tmf-button:hover,
.page-numbers:hover {
  background-color: #733122;
  background-image: url(../ie-gradient.php?from=733122&to=8c3c2a);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#9e422d), to(#bb602d));
  background-image: -webkit-linear-gradient(#9e422d, #bb602d);
  background-image: -moz-linear-gradient(#9e422d, #bb602d);
  background-image: -ms-linear-gradient(#9e422d, #bb602d);
  background-image: -o-linear-gradient(#9e422d, #bb602d);
  background-image: linear-gradient(#9e422d, #bb602d);
  /* background-image: linear-gradient(#733122, #bb602d); */
  text-decoration: none;
  color: #fff;
}

.gform_wrapper.tmf-form_wrapper .gform_footer input.button:hover,
.tmf-button:active,
.page-numbers:active {
  background-color: #9e422d;
  background-image: url(../ie-gradient.php?from=733122&to=8c3c2a);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#9e422d), to(#bb602d));
  background-image: -webkit-linear-gradient(#9e422d, #bb602d);
  background-image: -moz-linear-gradient(#9e422d, #bb602d);
  background-image: -ms-linear-gradient(#9e422d, #bb602d);
  background-image: -o-linear-gradient(#9e422d, #bb602d);
  background-image: linear-gradient(#9e422d, #bb602d);
  /* background-image: linear-gradient(#733122, #bb602d); */
  text-decoration: none;
  color: #fff;
}

.gform_wrapper.tmf-form_wrapper .gform_footer input.button {
  display: block;
  width: 100%;
  padding: 15px;
  font-size: 1.1em;
  line-height: 1em !important;
}

.tmf-button.large {
  font-size: 1.1em;
  padding: 20px 40px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  border-radius: 10px;
  text-decoration: none !important;
}

.tmf-button.medium {
  font-size: 0.95em;
  padding: 5px 25px;
}

.tmf-button.small {
  font-size: 0.85em;
  padding: 3px 15px;
}

.tmf-button.tiny {
  font-size: 0.75em;
  padding: 2px 7px;
}

.page-numbers.current {
  background: none;
  border: 1px solid #ddd;
}
