p {
  text-rendering: auto !important;
}
.success {
  background-color: #eafae9;
  border: 1px solid #006724;
  border-radius: 3px;
  margin: 10px 0 20px;
  padding: 30px 10px !important;
}
.success .icon-ok {
  margin-right: 10px;
  vertical-align: 0 !important;
}
.success p {
  color: #006724;
  text-align: center;
  margin: 0;
}
.success a {
  color: #006724;
  text-decoration: underline;
}
/*--------------------------------------------------------------------HEADER-----------------*/

#header {
  width: 100%;
  background: url(/images/top-banner.jpg) repeat center top;
}
#header h1 {
  visibility: hidden;
  margin: 0;
}
#sobol-logo {
  background: url(/images/sobol-logo.png) no-repeat center;
  width: 242px;
  height: 69px;
  margin: 20px 0;
}
#header p {
  margin: 29px 0;
  color: #ffffff;
}
#header a {
  color: #ffffff;
}
#header a:hover, #header a:focus {
  color: #f8a057;
}
#header .button.quote {
  margin: 29px 0;
}


/*--------------------------------------------------------------------NAV-----------------*/

#nav {
  width: 100%;
  height: 40px;
  background-color: #0d7285;
}

#nav .row {
  padding: 0 28px;
}

#nav ul li a, #nav ul li span {
  border-left: 1px solid #0a5564;
  border-right: 1px solid #2b8494;
  max-height: 40px;
}

#nav ul li {
  list-style: none;
  text-transform: uppercase;
  font-size: 1em;
  font-weight: 800;
  margin: 0;
  padding: 0;
  position: relative;
}
#nav ul li a, #nav ul li span {
  display: inline-block;
  color: #ffffff;
  padding: 8px;
  width: 100%;
  text-align: center;
}

#nav ul li a:hover, #nav ul li a:focus, #nav ul li a.active, #nav ul li span.active  {
  background: url(/images/nav-hover.jpg) repeat-x;
  color: #f8a057;
}

#nav ul li ul {
  display: none;
  position: absolute;
  margin: 0;
  left: -1px;
  top: 39px;
  background: #0d7285;
  border-top: 1px solid #0a5564;
  border-right: 1px solid #0a5564;
  width: 101%;
}
#nav ul li ul li a, #nav ul li ul li span {
  font-size: 0.85em;
  text-align: left;
  padding: 7px 12px;
  border-right: none;
  border-left: 1px solid #2b8494 !important;
  border-top: 1px solid #2b8494 !important;
  border-bottom: 1px solid #0a5564;
}
#nav ul li ul li a:hover, #nav ul li ul li a:focus, #nav ul li ul li a.active, #nav ul li ul li span.active  {
  background: url(/images/nav-hover.jpg) repeat-x;
  background-size: contain;
}

/*------------------------------------- DROPDOWN ---------------------------------------*/
.dropdown-menu{
  position: absolute;
  z-index: 1000;
  display: none;
}
.caret {
  display: inline-block;
  width: 0 !important;
  height: 0 !important;
  margin-left: 6px;
  vertical-align: middle;
  border-top: 4px solid;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  color: #ffffff;
  padding: none !important;
}


/*--------------------------------------------------------------------CONTENT-----------------*/

#content {
  padding-top: 20px;
  padding-bottom: 100px;
}
.row.inside {
  padding: 0;
}

h2 {
  font-size: 1.8em;
  font-weight: 500;
  color: #607483;
}

h4 {
  font-size: 1.2em;
  font-weight: 600;
  color: #607483;
}

h5 {
  font-size: 1em;
  color: #f8a057;
}

hr {
  border-color: #b8c1c7;
}

#content img.photo {
  margin-bottom: 1.25em;
}

p.highlighted {
  color: #0d7285;
  font-weight: 600;
  font-size: 1.1em;
}

.clear {
  clear: both;
}

.button {
  font-weight: normal;
  color: #607483;
  border: none;
  box-shadow: 0px 1px 2px #888888;
  background: url(/images/button_bg.jpg) repeat-x center top;
  margin: 1em 0;
  padding: 0.6em 1em;
}
.button.medium {
  background: url(/images/button_bg.jpg) repeat-x center -8px;
}
.button.medium:hover, .button.medium:focus, .button.medium.active {
  background: url(/images/button_bg.jpg) repeat-x center -66px;
}

.button.quote {
  border: none;
  box-shadow: none;
  -webkit-box-shadow: none;
  height: 50px;
  width: 193px;
  font-size: 1.03em;
  font-weight: 600;
  line-height: 2em;
  background-image: url(/images/button-quote.png);
  background-repeat: no-repeat;
  background-position: top;
  background-color: transparent;
  color: #ffffff !important;
  padding: 11px 1em;
}
.button.quote:hover, .button.quote:focus {
  background-image: url(/images/button-quote.png);
  background-position: bottom;
  background-color: transparent;
  color: #0d7285 !important;
}

input[type="submit"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: none;
  box-shadow: none;
  -webkit-box-shadow: none;
  height: 53px;
  width: 146px;
  font-size: 1.03em;
  font-weight: 600;
  line-height: 2em;
  background-image: url(/images/button-submit.png);
  background-repeat: no-repeat;
  background-position: top;
  background-color: transparent;
  color: #ffffff !important;
}
input[type="submit"]:hover, input[type="submit"]:focus {
  background-image: url(/images/button-submit.png);
  background-position: bottom;
  background-color: transparent;
  color: #0d7285 !important;
}

.preloader {
  background: url(/images/preloader.gif) no-repeat center;
  border: none;
  animation: none;
  height: 42px;
  width: 42px;
}

.review-box {
  border-radius: 12px;
  background: url(/images/icon-quotes.png) no-repeat 20px 10px #ebeff1;
  padding-top: 10px;
  margin-bottom: 1em;
}
.review-box h6, .review-box p {
  padding-left: 20px;
  padding-right: 20px;
}
.review-box h6 {
  text-indent: 30px;
}
.review-box .details {
  padding: 8px 0;
  background: url(/images/reviews-author-gradient.jpg) repeat-x #d6dadd;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  color: #0d7285;
  overflow: hidden;
}
.review-box .details p {
  margin: 0;
}
.review-box .details p.author {
  float: left;
  max-width: 285px;
  padding-right: 0;
}
.review-box p.author .location {
  font-weight: 600;
}
.review-box .details p.date {
  float: right;
  font-weight: 600;
}

textarea {
  height: 200px;
  resize: none;
}
label {
  margin-bottom: 0.5em;
}
.form-field-container {
  margin: 1.5em 0;
}
.form-field-container:first-child {
  margin-top: 0;
}

/*--------------------------------------------------------------------PRE-FOOTER-----------------*/

#full-footer-wrapper {
  width: 100%;
}

#socialmedia {
  width: 100%;
  background: #b8c1c7;
}
#socialmedia p {
  margin: 25px 0;
  font-weight: 600;
  font-size: 1.4em;
  color: #0d7285;
}
#socialmedia a img {
  margin: 10px 0;
  height: 58px;
  width: 58px;
}

/*--------------------------------------------------------------------FOOTER-----------------*/

#footer, #footer-left, #footer-right, #footer-right > div:first-child {
  /* height: 238px; */
}
#footer {
  width: 100%;
  background: #7f878c;
  color: #ffffff;
}

#footer a {
  color: #ffffff;
}
#footer a:hover, #footer a:focus {
  color: #f8a057;
}

#footer #footer-left {
  padding: 20px 0 30px 0;
}

#footer p#footer-title {
  font-size: 1.3em;
  font-weight: 600;
  margin: 0 0 0.2em 0;
}
#footer p#footer-servicing-gta {
  max-width: 400px;
  margin: 0 0 2em 0;
}

#footer ul li {
  list-style: none;
  margin-left: 0;
  font-size: 0.8em;
  font-weight: 600;
  float: left;
  padding: 0 10px;
  border-left: 1px solid #ffffff;
}
#footer ul li:first-child {
  padding-left: 0;
  border: none;
}

#footer #footer-right {
  border-left: 1px solid #5c6165;
  border-right: 1px solid #5c6165;
  padding-left: 2px;
  padding-right: 2px;
  background: #8c9296;
  text-align: center;
  margin-right: -15px;
}
#footer-right > div:first-child {
  padding: 5px 0 30px 0;
  background: #7b8388;
}
#footer #footer-right p {
  font-weight: 600;
  margin-bottom: 0;
}
#footer #footer-right span#footer-phone {
  font-size: 1.4em;
}
#footer #footer-right a.button.quote {
  margin-bottom: 0.25em;
}
#footer table {
  background: transparent;
  border: 0;
  width: 80%;
  margin: 0 auto;
}

/*--------------------------------------------------------------------SUBNAV-----------------*/
#subnav ul li {
  width: 33.3333%;
}
#subnav ul li a {
  display: block;
}
#subnav ul li div {
  margin: 0 auto;
  position: relative;
  background: #efefef no-repeat center;
  background-size: cover;
  text-align: center;
  max-width: 254px;
  width: 100%;
  height: 176px;
  -webkit-border-radius: 12px;
  border-radius: 12px;
  overflow: hidden;
}
#subnav ul li div p.link {
  position: absolute;
  bottom: 0;
  width: 100%;
  margin: 0;
  text-align: center;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  background: url(/images/link-gradient.png) repeat-x top;
  font-size: 1.08em;
  padding: 0.4em;
  color: #ffffff;
  font-weight: 600;
}
#subnav ul li a:hover div p.link, #subnav ul li a.active div p.link, #subnav ul li a:focus div p.link {
  background-position: bottom;
  color: #0a5564;  
}
#subnav ul li p.overlay {
  display: block;
  visibility: hidden;
  height: 100%;
  background: url(/images/subnav-overlay-bg.png) repeat;
  color: #ffffff;
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 0;
  padding: 20px 0;
}