/*! normalize.css v1.1.0 | MIT License | git.io/normalize */
/* ==========================================================================
   HTML5 display definitions
   ========================================================================== */
/**
 * Correct `block` display not defined in IE 6/7/8/9 and Firefox 3.
 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
  display: block; }

/**
 * Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3.
 */
audio,
canvas,
video {
  display: inline-block;
  *display: inline;
  *zoom: 1; }

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */
audio:not([controls]) {
  display: none;
  height: 0; }

/**
 * Address styling not present in IE 7/8/9, Firefox 3, and Safari 4.
 * Known issue: no IE 6 support.
 */
[hidden] {
  display: none; }

/* ==========================================================================
   Base
   ========================================================================== */
/**
 * 1. Correct text resizing oddly in IE 6/7 when body `font-size` is set using
 *    `em` units.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */
html {
  font-size: 100%;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -ms-text-size-adjust: 100%;
  /* 2 */ }

/**
 * Address `font-family` inconsistency between `textarea` and other form
 * elements.
 */
html,
button,
input,
select,
textarea {
  font-family: sans-serif; }

/**
 * Address margins handled incorrectly in IE 6/7.
 */
body {
  margin: 0; }

/* ==========================================================================
   Links
   ========================================================================== */
/**
 * Address `outline` inconsistency between Chrome and other browsers.
 */
a:focus {
  outline: thin dotted; }

/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */
a:active,
a:hover {
  outline: 0; }

/* ==========================================================================
   Typography
   ========================================================================== */
/**
 * Address font sizes and margins set differently in IE 6/7.
 * Address font sizes within `section` and `article` in Firefox 4+, Safari 5,
 * and Chrome.
 */
h1, h2, h3, h4, h5, header{
  font-family: 'Open Sans', sans-serif;}

.typography h1,.typography h2,.typography h3,.typography h4,.typography h5, header{
  font-family: 'Open Sans', sans-serif;
}

.typography h1, h1 {
  font-size: 2em;
  line-height: 1.2em;
  margin: 0.67em 0; }

.typography h2, h2 {
  font-size: 1.5em;
  line-height: 1.2em;
  margin: 0.83em 0; }

.typography h3, h3 {
  font-size: 1.17em;
  margin: 1em 0; }

.typography h4, h4 {
  font-size: 1em;
  margin: 1.33em 0; }

.typography h5, h5 {
  font-size: 0.83em;
  margin: 1.67em 0; }

.typography h6, h6 {
  font-size: 0.67em;
  margin: 2.33em 0; }

blockquote p {
  color: #789f9f !important;
}

/**
 * Address styling not present in IE 7/8/9, Safari 5, and Chrome.
 */
abbr[title] {
  border-bottom: 1px dotted; }

/**
 * Address style set to `bolder` in Firefox 3+, Safari 4/5, and Chrome.
 */
b,
strong {
  font-weight: bold; }

blockquote {
  margin: 1em 40px; }

/**
 * Address styling not present in Safari 5 and Chrome.
 */
dfn {
  font-style: italic; }

/**
 * Address differences between Firefox and other browsers.
 * Known issue: no IE 6/7 normalization.
 */
hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0; }

/**
 * Address styling not present in IE 6/7/8/9.
 */
mark {
  background: #ff0;
  color: #000; }

/**
 * Address margins set differently in IE 6/7.
 */
p,
pre {
  margin: 1em 0; }

/**
 * Correct font family set oddly in IE 6, Safari 4/5, and Chrome.
 */
code,
kbd,
pre,
samp {
  font-family: monospace, serif;
  _font-family: 'courier new', monospace;
  font-size: 1em; }

/**
 * Improve readability of pre-formatted text in all browsers.
 */
pre {
  white-space: pre;
  white-space: pre-wrap;
  word-wrap: break-word; }

/**
 * Address CSS quotes not supported in IE 6/7.
 */
q {
  quotes: none; }

/**
 * Address `quotes` property not supported in Safari 4.
 */
q:before,
q:after {
  content: '';
  content: none; }

/**
 * Address inconsistent and variable font size in all browsers.
 */
small {
  font-size: 80%; }

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline; }

sup {
  top: -0.5em; }

sub {
  bottom: -0.25em; }

/* ==========================================================================
   Lists
   ========================================================================== */
/**
 * Address margins set differently in IE 6/7.
 */
dl,
menu,
ol,
ul {
  margin: 1em 0; }

dd {
  margin: 0 0 0 40px; }

/**
 * Address paddings set differently in IE 6/7.
 */
menu,
ol,
ul {
  padding: 0 0 0 40px; }

/**
 * Correct list images handled incorrectly in IE 7.
 */
nav ul,
nav ol {
  list-style: none;
  list-style-image: none; }

nav#menu-desktop{
  display:block;
}

nav#menu-mobile{
  /*display:none;*/
}

/* ==========================================================================
   Embedded content
   ========================================================================== */
/**
 * 1. Remove border when inside `a` element in IE 6/7/8/9 and Firefox 3.
 * 2. Improve image quality when scaled in IE 7.
 */
img {
  border: 0;
  /* 1 */
  -ms-interpolation-mode: bicubic;
  /* 2 */ }

/**
 * Correct overflow displayed oddly in IE 9.
 */
svg:not(:root) {
  overflow: hidden; }

/* ==========================================================================
   Figures
   ========================================================================== */
/**
 * Address margin not present in IE 6/7/8/9, Safari 5, and Opera 11.
 */
figure {
  margin: 0; }

/* ==========================================================================
   Forms
   ========================================================================== */
/**
 * Correct margin displayed oddly in IE 6/7.
 */
form {
  margin: 0; }

/**
 * Define consistent border, margin, and padding.
 */
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em; }

/**
 * 1. Correct color not being inherited in IE 6/7/8/9.
 * 2. Correct text not wrapping in Firefox 3.
 * 3. Correct alignment displayed oddly in IE 6/7.
 */
legend {
  border: 0;
  /* 1 */
  padding: 0;
  white-space: normal;
  /* 2 */
  *margin-left: -7px;
  /* 3 */ }

/**
 * 1. Correct font size not being inherited in all browsers.
 * 2. Address margins set differently in IE 6/7, Firefox 3+, Safari 5,
 *    and Chrome.
 * 3. Improve appearance and consistency in all browsers.
 */
button,
input,
select,
textarea {
  font-size: 100%;
  /* 1 */
  margin: 0;
  /* 2 */
  vertical-align: baseline;
  /* 3 */
  *vertical-align: middle;
  /* 3 */ }

/**
 * Address Firefox 3+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */
button,
input {
  line-height: normal; }

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Chrome, Safari 5+, and IE 6+.
 * Correct `select` style inheritance in Firefox 4+ and Opera.
 */
button,
select {
  text-transform: none; }

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 * 4. Remove inner spacing in IE 7 without affecting normal text inputs.
 *    Known issue: inner spacing remains in IE 6.
 */
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  /* 2 */
  cursor: pointer;
  /* 3 */
  *overflow: visible;
  /* 4 */ }

/**
 * Re-set default cursor for disabled elements.
 */
button[disabled],
html input[disabled] {
  cursor: default; }

/**
 * 1. Address box sizing set to content-box in IE 8/9.
 * 2. Remove excess padding in IE 8/9.
 * 3. Remove excess padding in IE 7.
 *    Known issue: excess padding remains in IE 6.
 */
input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
  *height: 13px;
  /* 3 */
  *width: 13px;
  /* 3 */ }

/**
 * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
 *    (include `-moz` to future-proof).
 */
input[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  /* 2 */
  box-sizing: content-box; }

/**
 * Remove inner padding and search cancel button in Safari 5 and Chrome
 * on OS X.
 */
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none; }

/**
 * Remove inner padding and border in Firefox 3+.
 */
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0; }

/**
 * 1. Remove default vertical scrollbar in IE 6/7/8/9.
 * 2. Improve readability and alignment in all browsers.
 */
textarea {
  overflow: auto;
  /* 1 */
  vertical-align: top;
  /* 2 */ }

/* ==========================================================================
   Tables
   ========================================================================== */
/**
 * Remove most spacing between table cells.
 */
table {
  border-collapse: collapse;
  border-spacing: 0; }

.logo {
  width: 353px;
  height: auto;
  margin: 0 auto; }

.header-bg {
  background-image: url("../images/header.jpg");
  background-size: cover;
  background-repeat: repeat-x;
  background-position: center;
  width: 100%;
  height: 33px; }

header {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding-top: 107px; }


/* ==========================================================================
   Header Language
   ========================================================================== */
header .language{
  position: absolute;
  top: 10px;
  right: 10px;
}

header .language ul{
  padding: 0;
  margin: 0;
}

header .language ul li{
  padding: 0 10px;
  margin: 0;
  display: none;
}

header .language ul li.language-select{
  display: inline-block;
  cursor: pointer;
  padding-right: 30px;
  background-image: url("../images/globe-icon.jpg");
  background-size: 20px 20px;
  background-position: center right;
  background-repeat: no-repeat;
}

header .language ul li p{
  font-size: 11px;
}

header .language ul li.current p{
  font-size: 11px;
  font-weight: bold;
  color: #789f9f;
  cursor: default;
}

header .language ul li.not-current{
  cursor: pointer;
}

body .main nav ul {
  margin: 0;
  padding: 40px 0; }
  nav ul li {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 30px;
    margin-bottom:5px;
    /*font-size: 18px;*/
    font-size: 15px;
    font-weight: 600; }
  nav ul li:first-child {
    margin-left: 28px;}
.mm-listview:first-child, .mm-listview>li:first-child {
  margin: 0;
}
/* ==========================================================================
   Hover Animation
   ========================================================================== */
body .main nav ul li > a {
  position: relative;
  color: #676767;
  text-decoration: none;
  padding-bottom: 5px;
}

body .main nav ul li > a:hover {
  color: #676767;
}

body .main nav ul li > a:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #789f9f;
  visibility: hidden;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

body .main nav ul li > a:hover:before {
  visibility: visible;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

body .main nav ul li.selected > a:before {
  visibility: visible;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

body .main nav ul li.selected > span {
  cursor: default;
  padding-bottom: 3px;
  border-bottom: 2px solid #789f9f;
}


/* ==========================================================================
   Barrister Profile
   ========================================================================== */

.barrister-directory-page .profiles{
  width:100%;
  text-align: center;
  display: inline-block;
}

.barrister-directory-page .profiles .profile{
  width:30%;
  margin-top: 45px;
  display: inline-block;
  vertical-align: top;
  text-align:center;
}

.barrister-directory-page .profiles .profile .image{
  width:100%;
  position: relative;
}

.barrister-directory-page .profiles .profile .image img{
  width:250px;
  height:250px;
  border-radius: 300px;
  text-align:center;
  border: 5px solid white;
}

.barrister-directory-page .profiles .profile .image img:hover{
  border: 5px solid #789f9f;
}

.barrister-directory-page .profiles .profile .image .caption{
  width:100%;
  height:100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
}

.barrister-directory-page .profiles .profile .image .caption .center-container{
  text-align: center;
  height: 250px;
  width: 250px;
  display: inline-block;
  position: relative;
}

.barrister-directory-page .profiles .profile .image .caption a span{
  font-size: 18px;
  line-height: 16px;
}

.barrister-directory-page .profiles .profile .image .caption a{
  border-radius: 300px;
  transition: all .5s ease-in-out;
  color: transparent;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  text-decoration: none;
}

.barrister-directory-page .profiles .profile .image .caption a:hover{
  background: rgba(120, 159, 159, 0.51);
  color: white;
  padding-top: 80px;
}

.barrister-directory-page .profiles .profile .text{
  text-align: center;
}

.unselectable{
  -webkit-user-select: none; /* Chrome/Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE10+ */
}


/* ==========================================================================
   Forms
   ========================================================================== */
form{

}

form fieldset{
  border:0;
}

form fieldset .field{
  margin-bottom: 10px;
}

form fieldset .field label {
  margin-bottom: 5px;
}

form fieldset input[type="text"], form fieldset input[type="email"], form fieldset input[type="password"]{
  width:100%;
  height:30px;
  border: 1px solid #6a807f;
  padding: 20px 15px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

form fieldset textarea{
  width:100%;
  resize: none;
  border: 1px solid #6a807f;
  padding: 20px 15px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

form .Actions{
  position:relative;
  width: 100%;
}

form .Actions input{
  float: right;
}

form input[type="button"],form input[type="reset"],form input[type="submit"]{
  background-color: #6a807f;
  border: 1px solid #6a807f;
  color:white;
  padding: 15px 40px;
  border-radius: 5px;

  transition: all .25s ease-in-out;
  -moz-transition: all .25s ease-in-out;
  -webkit-transition: all .25s ease-in-out;
}

form input[type="button"]:hover,form input[type="reset"]:hover,form input[type="submit"]:hover{
  border: 1px solid #789f9f;
  background-color: #fff;
  color: #789f9f;
}

/* ==========================================================================
   Content Page
   ========================================================================== */

.content-page .logo {
  float: left;
  width: 303px; }

.content-page header {
  display: table;
  padding-top: 40px; }
  .content-page header > a {
    display: table-cell; }

.content-page nav {
  float: left;
  vertical-align: middle;
  display: table-cell; }


/* ==========================================================================
   Listing Page
   ========================================================================== */
.listing-page{}

.listing-page article{
  float:right;
}

.listing-page aside{
  float:left;
}

.listing-page aside ul li a{
  display: block;
  width: 100%;
  padding: 12px;
  padding-right: 25px;
  border: 1px solid #789f9f;
  margin-bottom: 10px;
  margin-top: 10px;
  position: relative;

  transition: all .25s ease-in-out;
  -moz-transition: all .25s ease-in-out;
  -webkit-transition: all .25s ease-in-out;
}

.listing-page aside ul li a:hover{
  background: #789f9f;
  color: white;
}

.listing-page aside ul li a:after
{
  /*float: right;*/
  /*pointer-events: none;*/
  /*content: "\2192";*/
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 5px;
  border-color: transparent transparent transparent #789f9f;
  display: inline-block;
  vertical-align: middle;
  position: absolute;
  right: 8px;
  top: 16px;
}

.listing-page aside ul li a:hover:after{
  border-color: transparent transparent transparent #FFFFFF;
}

.listing-page aside ul li.selected p{
  display: block;
  width: 100%;
  padding: 15px;
  border: 1px solid #789f9f;
  background: #789f9f;
  color: white;
  margin-bottom: 10px;
  margin-top: 10px;
}

.listing-page .header-bg{
  margin-top: 45px;
}


/* ==========================================================================
   Hamburger Custom css + Mobile menu
   ========================================================================== */

body .hamburger{
  display:none;
  padding: 8px 15px;
  cursor: pointer;
  z-index: 5;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgb(255, 255, 255);
  border-bottom: 2px solid #dbdbdb;
  height: 40px;
  width: 100%;

  -webkit-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

body .hamburger-box {
  width: 24px;
}

body .hamburger.is-active{

  width: 80%;
  min-width: 140px;
  max-width: 440px;
}

.hamburger .hamburger-label{
  vertical-align: top;
  font-family: 'Open Sans', san-serif;
}

body .hamburger-inner::before {
  top: -7px;
}

body .hamburger-inner::after {
  bottom: -7px;
}

body .hamburger-inner, body .hamburger-inner::before, body .hamburger-inner::after {
  width: 20px;
  height: 2px;
}

body .mm-navbar .mm-title{
  display: none;
}

body .mm-listview>li>a, body .mm-listview>li>span{
  font-family: 'Open Sans', san-serif !important;
}

body .selected .mm-menu .mm-listview>li .mm-next:after{
  color: #5d7e7e;
}

body #menu-mobile {
  display: none;
}

body #menu-mobile li.selected{
  color: #789f9f;
}

body #menu-mobile nav ul li.selected > span{
  color: #FFFFFF;
}

#menu-mobile .mm-listview {
  font-size: 0;
}

#menu-mobile .language-select-text {
  position: fixed;
  bottom: 60px;
}

#menu-mobile .english, #menu-mobile .traditional{
  display: inline-block;
  width: 50%;
  box-sizing: border-box;
  border: 0;
  padding: 0;
  font-size: 12px;
  position: fixed;
  bottom: 20px;
}

#menu-mobile .english.current, #menu-mobile .traditional.current{
  background-color: rgba(120, 157, 157, 0.5);
}

#menu-mobile .english:after, #menu-mobile .traditional:after{
  border-bottom-width: 0;
  border-bottom-style: none;
}

#menu-mobile .english{
left: 0;
}

#menu-mobile .traditional{
right: 0;
}

#menu-mobile .mobile-languages{
background-image: url("../images/globe-icon.png");
background-size: 15px 15px;
background-position: left 20px center;
background-repeat: no-repeat;
padding-left: 20px;
}

#menu-mobile .mobile-languages a:nth-child(2){
margin-top: 0;
border-top: 3px solid #dbdbdb;
margin-right: 0;
font-size: 12px;
padding-left: 25px;
}

#menu-mobile .mobile-languages .mm-next{
width: 100%;
}

#menu-mobile .mobile-languages .mm-listview>li>a, #menu-mobile .mobile-languages .mm-listview>li>span{
cursor: pointer;
}


body .logo-small{
  display: none;
}

@media screen and (max-width: 960px) {
nav#menu-desktop{
  display:none;
}

.main header .language{
  display:none;
}

body .hamburger{
  display:block;
}

body .logo-small{
  display:block;
  position: fixed;
  top: 5px;
  right: 21px;
  z-index: 7;
}

header {
  padding-top: 60px;
  padding-bottom: 20px;}
.logo {
  width: 280px; }
.content-page .logo {
  float: none;
  width: 280px; }
.content-page header {
  display: inline-block;
  padding: 0;
  margin-top: 60px;}
  .content-page header > a {
    display: inline-block; }
.content-page nav {
  clear: both;
  float: none;
  display: inline-block;
  width: 100%; }
  .content-page nav ul {
    padding-bottom: 0; } }

@media screen and (max-width: 650px) {
nav ul {
  padding: 20px 0; }
  nav ul li {
    width: 100%;
    margin: 10px 0; } }

.intro {
max-width: 680px;
padding-top: 64px;
margin: 0 auto; }

@media screen and (max-width: 767px) {
.main.content-page header{
  padding: 10px;
}

.main.content-page img.logo{
  display:none;
}

.listing-page aside{
  display: none;
}

.listing-page, .barrister-page, .expertise-page, .barrister-directory-page, .contact-page {
  margin-top: -30px;
}

.barrister-page .banner, .listing-page .banner, .contact-page .banner{
  margin: 0;
}

.intro {
  padding-top: 35px; } }

.banner {
width: 100%;
margin: 25px auto 20px auto; }
.banner img {
  width: 100%; }

.article-body {
width: 65%;
float: left; }

.barrister-directory-page .article-body {
width: 100%;
float: left; }


aside {
width: 30%;
float: right;
margin-top: 50px;
color: #6a807f; }
aside h3 {
  text-transform: uppercase;
  letter-spacing: 2px; }

.content-page .contact-details{
  font-family: 'Open Sans', san-serif;
}

.contact-details {
padding: 0;
margin: 0;
list-style: none; }
.contact-details strong {
  padding-right: 6px; }
.contact-details a {
  text-decoration: inherit; }


.address {
padding: 0;
margin: 25px 0 0 0;
list-style: none; }

@media screen and (max-width: 767px) {

.article-body {
  width: 100%; }
aside {
  width: 100%; }


.barrister-directory-page .profiles .profile{
  width: 100%;
  display: block;
}
}

html {
height: 100%; }

body, .typography p {
min-height: 100%;
font-size: 15px;
line-height: 24px;
color: #717171;
/*font-family: 'Open Sans', sans-serif;*/
  font-family: 'Playfair Display', serif;
}

footer{
  text-align: center;
  position: absolute;
  width: 100%;
  background-color: #acc4c3;
  z-index: 10;
  margin: 0 auto;
  right: 0;
  left: 0;
  max-width: 1119px;
}

footer p{
  margin: 5px 0;
  font-size: 12px;
  color: white;
}

footer a{
  margin: 5px 0;
  font-size: 12px;
  color: white;
}

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

a {
  text-decoration: underline;
  color: #789f9f; }

img {
  max-width: 100%; }

body .main {
  margin: 0 auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 1119px; }

.wrapper {
  min-height: 100%;
  padding: 0 35px 60px 35px;
  border-right: 1px solid #acc4c3;
  border-left: 1px solid #acc4c3; }

.row {
  display: inline-block;
  width: 100%; }
