/**
 * Base stylesheet (elements, no classes)
 * Author: Bri Ward
 * Date: October 2013
 *
 */
#admin-menu {
  font-size: 12px;
}
@media print {

  * {
    /* We need to do certain overrides before transitions happen */
    -moz-transform: none !important;
    -webkit-transform: none !important;
    -ms-transform: none !important;
    transform: none !important;
  }

}

* {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  min-width: 320px;
}

html,
body {
  background-color: #fff;
  color: #2f2f2f;
  font-size: 14px;
}

body {
  font-family: "Whitney SSm A", "Whitney SSm B";
  font-style: normal;
  font-weight: 500;
  font-style: normal;
  padding: 0;
  overflow: hidden;
}

.pure-g [class *="pure-u"] {
  font-weight: 500;
  font-style: normal;
}

/* Headings */

h1,
h2,
h3,
h4,
h5,
h6 {

  font-weight: 400;
  font-style: normal;
  margin-top: 0;
}

h1 {
  font-size: 1.875em;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

h2, .h2 {
  font-size: 1.675em;
  text-transform: uppercase;
  letter-spacing: 1px;
}


.node-type-blog-post h1 {
	text-transform: none;
}

h2.article {
  text-transform: none;
}


.page-node-20 .intro-panel h2 {
	padding-top: 30px;
}

article h1 {
	margin-top: 0;
}

article h1,
article h2 {
	color: #ff7900;
}

.our-people article h1,
.our-people article h2,
.knowledge-hub article h1,
.knowledge-hub article h2  {
	color: #000;
}

.services.business article h1,
.business.node-type-service article h1 {
	color: #5191cd;
}

.services.business article h2 {
	color: #5191cd;
}

.services.individuals-and-families article h1 {
	color: #b8b308;
	font-weight: 500;
	margin-right: 100px /* This is for the DFL logo so title wraps on 3rd levels pages */
}

.services.individuals-and-families article h2 {
	color: #b8b308;
}


.services.public-sector article h1 {
	color: #936fb1;
}

.public-sector article h2 {
	color: #936fb1;
}

.services.commercial-real-estate article h1 {
	color: #61c5ba;
}

.services.commercial-real-estate article h2 {
	color: #61c5ba;
}




@media screen and (max-width: 35.5em) {
  h2,
  .field-name-field-body h2,
  .field-name-field-body-two h2 {
    font-size: 1.5em;
  }
}

/*------MF-202------*/
@media screen and (max-width: 47.9375em) {
  body {
    overflow: auto;
  }

  #main-section {
    overflow-y: hidden;
  }
}

/*-----------------*/

h3, .h3 {
  color: #444;
  font-size: 19px;
  text-transform: uppercase;
  margin: 5px 0;
}
h3.article {
 text-transform: none;
}

h4 {
  font-size: 20px;
  border: 0;
  padding: 0;
  margin: 10px 0;
}


h5 {
  font-size: 16px;
  font-weight: 600;
  border: 0;
  padding: 0;
  margin: 10px 0;
}

h6 {
  font-size: 16px;
  font-weight: 600;
  border: 0;
  padding: 0;
  margin: 10px 0;
}

/* Common classes */
.text-center {
  text-align: center;
}

.text-center img {
  margin: 0 auto
}

.text-right {
  text-align: right;
}

.text-left {
  text-align: left;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.inline-block {
    display: inline-block;
}

.orange {
  color: #ff6700;
}

.desktop-only {
  display: none;
}

@media (min-width: 1024px) {
  .desktop-only {
    display: inline-block;
  }
}

.visible-xs-block { display: block; }
.visible-xs-inline-block { display: inline-block; }
.hidden-xs-block, .hidden-xs-inline-block, .hidden-xs-table { display: none; }
@media (min-width: 768px) {
  .visible-xs-block, .visible-xs-inline-block { display: none; }
  .hidden-xs-block { display: block; }
  .hidden-xs-table { display: block; width: 100%; }
  .hidden-xs-inline-block { display: inline-block; }
}



/* Layout */
.node-type-service .main-content-area,
.node-type-blog-post .main-content-area,
.node-type-page .main-content-area,
.node-type-job-vacancy .main-content-area,
.page-properties-sale .main-content-area{
  padding: 20px;
}

/* Buttons */
.button,
input[type="submit"] {
  text-transform: uppercase;
  font-size: 14px;
  color: #221f20;
  border: 2px solid;
  border-color: #221f20;
  border-radius: 24px;
  display: inline-block;
  padding: 5px 15px;
  vertical-align: middle;
  text-align: center;
  transition: all 0.8s ease 0s;
}

.button [class^="icon-"] {
  font-size: 22px;
}

.ui-widget-content .button a,
.button a {
  color: #221f20;

}

.button.orange,
input[type="submit"] {
  color: #ff7900;
  border-color: #ff7900;
  transition: all 0.8s ease 0s;
}

#block-views-testimonial-slider-block .button.orange:hover,
.testimonial-slider .button.orange:hover,
input[type="submit"]:hover,
a.button.orange:hover {
  color: #fff;
  background: #808285;
}





.button.white {
  color: #FFFFFF;
  border-color: #FFFFFF
}

.button.white a {
  color: #FFFFFF;
}

.button.green.circle {
  color: #FFFFFF;
  border-color: #b8b308;
  background: #b8b308;
  margin: 0 10px 0 20px;
}

.button.circle {
  width: 40px;
  height: 40px;
  line-height: 43px;
  border-radius: 50%;
  padding: 0;
  color: #221f20;
}

.button.fill,
input[type="submit"] {
  background-color: transparent;
  color: #ff7900;
}

.button.circle.large {
  width: 50px;
  height: 50px;
  line-height: 55px;
}

.button.large [class^="icon-"] {
  font-size: 26px;
}

.container-inline div.button {
  display: inline-block;
}

/* Box class */

.box {
  padding: 20px;
}

.orange-button {
  background: #ff6700;
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

/* Anchors */

a {
  color: #ff7900;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #000;
}

/* Paragraphs */

p {
  line-height: 1.5em;
  margin-top: 0;
  margin-bottom: 1.1875em;
  font-weight: 400;
  font-size: 15px;
}

p.phone {
  display: inline;
}

/* Ordered and Unordered Lists */

ul,
ol {
  margin: 0 0 1.42857em 0;
  padding-left: 1.5em;
}

ol {
  padding-left: 2em;
}

ul li,
ol li,
.field ul li,
.field ol li {
  margin-bottom: 0.2em;
  font-weight: 400;
}

/* Extra Elements */

em {
  font-style: italic;
}

strong {
  font-weight: bold;
}

em strong,
strong em {
  font-weight: bold;
  font-style: italic;
}

blockquote {
  font-style: normal;
  border-left: 4px solid #000;
  margin: 2em 0 2.125em 3.6em;
  padding: 0 0 0 1.2em;
}

blockquote p {
  line-height: 1.3em;
  margin-bottom: 0.3em;
  font-size: 1em;

  font-weight: 300;
  font-style: normal;
}

blockquote p:first-child {
  font-size: 1.5625em;
  line-height: 1.25em;
  margin-bottom: 0.4em;
}

.media-image-left {
  float: left;
  margin: 0 15px 15px 0;
}

hr {
  border: none;
  border-top: 1px solid #ddd;
  height: 0px;
  margin-bottom: 1.42857em;
}

/* Tables */

table {
  width: 100%;
}

table td {
  padding: 10px 12px;
  border: 1px solid #e1e1e1;
}

table thead td {
  background: #f58220;
  color: white;
  font-weight: bold;
}

table tbody {
  border-top: 0;
}

@media screen and (max-width: 35.5em) {

  #content table.response, #content thead, #content tbody, #content th, #content td, #content tr {
    /* display: block; 
    border: none; */
  }

  #content .response tbody {
    border-top: 1px solid #939292;
  }

  #content table.response thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  /* Disable by Basestation - not a responsive solution need looked at - check out http://www.morton-fraser.com/knowledge-hub/edinburgh-tops-regional-property-investment-league-table for example with inlines styles  */
	
	#content table.response tr {
   /* background: #efefef; */
     border-bottom: 1px solid #939292;
  }

  #content table.response tr:nth-child(2n) {
    background: #fff;
  }

  /* Disable by Basestation - not a responsive solution need looked at 
	  
	  #content table.response tr td {
    border: none;
    border-bottom: 1px solid #ddd;
    position: relative;
    padding-left: 50%;
  } */

  #content table.response tr td:last-child {
    border-bottom: none;
  }

 /* Disable by Basestation - not a responsive solution need looked at 
	 
	 table.response tr td:before {
    position: absolute;
    left: 6px;
    width: 45%;
    padding-right: 10px;
    content: attr(data-title);
    font-weight: 600;
  } */

}

/* Forms */

form {
  background-color: #f2f2f2;
  border-left: 10px white solid;
}

label {
  font-weight: normal;
  margin-bottom: 4px;
}

.views-exposed-form label {
  padding: 5px 0px;
  font-weight: normal;
}

select {
  width: 100%;
  border: 1px solid #bcbcbc;
  border-radius: 0px;
  display: inline-block;
  font: inherit;
  line-height: 1.5em;
  padding: 0.5em 3.5em 0.5em 1em;

  /* reset */

  margin: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #FFFFFF;
  background-image: linear-gradient(45deg, transparent 50%, #ff7900 50%),
  linear-gradient(135deg, #ff7900 50%, transparent 50%);
  background-position: calc(100% - 25px) 1em,
  calc(100% - 15px) 1em,
  calc(100% - 2.5em) 0.5em;
  background-size: 10px 10px,
  10px 10px,
  1px 1.5em;
  background-repeat: no-repeat;
}

select::-ms-expand { /* REMOVE ARROW FOR IE10+ */
    display: none;
}

input[type="text"],
input[type="password"],
input[type="email"],
.password-strength,
textarea {
  border: 0;
  color: #555;
  padding: 8px 10px;
  width: 100%;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
  background: white;
}

.nav-closed .sidebar-search {
  display: none;
}

#search-block-form .container-inline {
  font-weight: 100;
  letter-spacing: -0.99em;
}

.sidebar-search .form-actions,
.sidebar-search .form-actions input {
  display: inline-block;
  width: 38px;
  height: 37px;
  float: none;
  margin: 0;
  padding: 0;
  letter-spacing: normal;
  font-weight: normal;
  position: inherit;
}

.sidebar-search {
  padding: 2em 0.5em 1em;
}

.sidebar-search .form-item-search-block-form {
  display: inline-block;
  width: 75%;
  margin: 0;
}

.sidebar-search .form-actions input,
.sidebar-search .form-actions input:hover {
  background: url('../images/global/search-icon-side.png') 0 0 no-repeat;
  text-indent: -9999em;
}

select {
  height: 40px !important;
}

input.form-submit {

}

input.form-submit:hover {
  background: #808285;
}

textarea {
  resize: vertical;
}

.resizable-textarea .grippie {
  display: none;
}

@media screen and (max-width: 35.5em) {
  input[type="text"],
  input[type="password"],
  input[type="email"],
  .password-strength,
  select,
  textarea {
    width: 100%;
  }

  blockquote {
    font-style: normal;
    border-left: 3px solid #000;
    margin: 2em 0 2.125em 1.2em;
    padding: 0 0 0 1.2em;
  }

  blockquote p:first-child {
    font-size: 1em;
  }

  /**
   * Password strength indicator.
   */
  .password-strength {
    width: 100%;
    float: none;
    margin-bottom: 0.5em;
  }

  .password-strength-title {
    display: inline-block;
    margin-bottom: 5px;
  }

  .password-strength-text {

  }

  .password-indicator {

  }

  .password-indicator div {

  }

  input.password-confirm,
  input.password-field {
    width: 100%;
  }

  div.password-confirm {
    float: none;
    width: 100%;
    margin-top: 0;
  }

  div.form-item div.password-suggestions {
    width: 100%;
  }

  div.password-suggestions ul {
    margin-bottom: 0;
  }

  .confirm-parent,
  .password-parent {
    clear: none;
    margin: 0;
    width: 100%;
  }

  /*
  * Vertical tabs
  */
  .vertical-tabs ul.vertical-tabs-list {
    float: none;
    border: none;
    width: 100%;
    margin: inherit;
  }

  div.vertical-tabs {
    margin-left: 0;
    border: none;
  }
}

/* Custom select */

#main-content .customSelect {
  background: url('../images/global/dropdown-arrow.gif') no-repeat top right;
  border: 1px solid #ccc;
  display: block !important;
  -moz-transform: none !important;
  -webkit-transform: none !important;
  transform: none !important;
}

.customSelect.customSelectHover {
  /* Styles for when the select box is hovered */
}

.customSelect.customSelectOpen {
  background: url('../images/global/dropdown-arrow-focus.gif') no-repeat top right;
  color: #999;
}

.customSelect.customSelectFocus {
  /* Styles for when the select box is in focus */
}

.customSelect.customSelectDisabledOption {
  /* Styles for when the selected item is a disabled one */
}

.customSelect.customSelectDisabled {
  /* Styles for when the select box itself is disabled */
}

.customSelectInner {
  padding: 8px;
  width: 100% !important;
  display: block;
}

/* Pager */

#main-content .pager {
  background: none;
  padding: 0;
}

#main-content .pager li {
  padding: 0;
  margin: 0 5px 0 0;
}

#main-content .pager li.pager-current {
  background: none;
  color: inherit;
  padding: 0;
}

#main-content .pager li.pager-next a {
  text-indent: -9999em;
  background: url('../images/global/carousel-right.png') no-repeat 0 2px;
  height: 17px;
  width: 7px;
  display: inline-block;
}

#main-content .pager li.pager-previous a {
  text-indent: -9999em;
  background: url('../images/global/carousel-left.png') no-repeat 0 2px;
  height: 17px;
  width: 7px;
  display: inline-block;
}

.webform-component-fieldset legend {
  display: none;
  visibility: hidden;
}

.form-actions .webform-submit {
  clear: both;
  margin-top: 15px;
}

.webform-client-form:last-child .pure-u-1-2 {
  margin-left: 2%;
  width: 47%;
}

@media screen and (min-width: 35.4376em) {
  .webform-client-form .pure-u-1-2 {
    float: left;
    width: 48%;
  }

  .webform-client-form:first-child .pure-u-1-2 {
    margin-left: 0px;
  }

  .webform-client-form:last-child .pure-u-1-2 {
    width: 47%;
    margin-left: 2%;
  }
}

@media screen and (min-width: 585px) and (max-width: 815px) {
  .webform-client-form .pure-u-1-2 {
    float: left;
    width: 48%;
  }

  .webform-client-form:first-child .pure-u-1-2 {
    margin-left: 0px;
  }

  .webform-client-form:last-child .pure-u-1-2 {
    width: 47%;
    margin-left: 2%;
  }
}




@media screen and (max-width: 35.4375em) {
  .webform-client-form .pure-u-1-2, .webform-client-form:first-child .pure-u-1-2, .webform-client-form:last-child .pure-u-1-2 {
    float: left;
    width: 100%;
  }

  .webform-client-form:last-child .pure-u-1-2 {
    margin-left: 0;
    margin-bottom: 15px;
  }

  .webform-client-form:first-child .pure-u-1-2 {
    margin-left: 0px;
  }

  .webform-client-form:last-child .fieldset-wrapper {
    margin-top: 2%;
  }
}

@media screen and (max-width: 570px) {
  .webform-client-form:first-child .pure-u-1-2 {
    margin-left: 0px;
  }

}

/* new wysiwyg */
.img-left {
  float: left;
  margin: 0 10px 10px 0;
}

.img-right {
  float: right;
  margin: 0 0 10px 10px;
}

.medium-title {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -1px;
  line-height: 32px;
  margin: 10px 0;
}

p, div {
  letter-spacing: normal;
}

.text-center {
  text-align: center;
}
.text-center .pure-u-sm-1-3 {
  margin: 0 auto;
}
.logged-in #content-inner div.tabs > ul {
  padding: 0;
}

/**
 * Page Stylesheet (akin to page.tpl.php)
 * Author: Bri Ward
 * Date: October 2013
 *
 *
 * * breakpoints:
 * sm = min-width 35.5em = 568px => max width 567px = 35.4375em
 * md = min-width 48em = 768px => max width 767px = 47.9375em
 * lg = min-width 64em = 1024px => max width 1023px = 63.9375em
 *
 */

* {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  font-size: 100%;
}

html,
body {
  margin: 0;
  height: 100%;
}

body {
  padding-top: 0;
    overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.padded {
  padding: 0 10px;
}


.float-right {
  float: right;
  margin: 0 10px 0 0;
}
.float-left {
  float: left;
  margin: 0 10px 0 0;
}


/* Tweet this pull-out quote */
.pull-out-quote {
  display: block;
  background-color: #98B421;
  color: #fff;
  font-size: 1.2em;
  padding: 15px 10px;
  margin: 0;
}
.pull-out-quote a {
  color: #fff;
  text-decoration: underline;
}
.tweet-this {
  position: relative;
  margin-bottom: 80px;
}
.tweet-this.float-right,
.tweet-this.float-left {
  width: 310px;
}
.tweet-this .twitter {
  position: absolute;
  bottom: -62px;
  right: 0;
}
.tweet-this.float-right .twitter,
.tweet-this.float-left .twitter {
  /*bottom: -50px;*/
}
.tweet-this .twitter-icon {
  background-color: #3698D5;
  display: block;
  width: 62px;
  height: 62px;
  color: #fff;
  font-size: 2em;
  text-align: center;
  line-height: 65px;
}
.tweet-this .tweet-link {
  background-color: #FF7C21;
  background-color: rgba(255, 124, 33, 0.9);
  position: absolute;
  right: 54px;
  bottom: 8px;
  height: 62px;
  width: 170px;
  text-align: center;
  padding-top: 9px;
}
.tweet-this .tweet-link a {
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}
/* User login */
.page-user .form-item,
.page-user .form-actions{
    padding: 10px;
}

