/* GLOBALS
===================================== */
body { background: #ffffff; color: #171717; -webkit-overflow-scrolling: touch; font-family: 'Open Sans', sans-serif; font-size: 15px; line-height: 1.5; font-weight: 400; }
button { outline: 0; -webkit-tap-highlight-color: transparent; }
::selection { background: #00aeef; color: #fff; }
*:focus { outline: none; }

header, section, aside { display: block; }
p { margin: 0 0 15px; }

/* Drupal defaults */
ul.primary,
ul.secondary { border: 0; padding: 0; margin: 10px 0; text-align: center; white-space: normal; }
ul.primary li,
ul.secondary li { display: inline-block; padding: 0; margin-bottom: 20px; }
ul.primary li a,
ul.secondary li a { display: block; border: 0; background: #BAC3C7; color: #fff; padding: 10px 20px; }
ul.primary li a:hover,
ul.secondary li a:hover { background: #949fa4; }
ul.primary li a.active,
ul.secondary li a.active { background: #0284b6; border: 0; }
ul.secondary { height: 33px; background: #CED1D1; }
ul.secondary li a { background: #9AA4A8; }
.profile h3 { border: 0; margin-bottom: 20px; }
#edit-timezone,
#edit-picture { display: none; }
.confirm-parent, .password-parent { width: auto; }
.password-strength-title { display: inline-block; margin-bottom: 20px; }
.password-indicator { background-color: #DEE5E7; height: 0.3em; width: 100%; }
.password-indicator div { height: 100%; width: 0%; background-color: #95C947; }
div.form-item div.password-suggestions { border: 0; background: #E7C128; color: #fff; padding: 20px 2%; line-height: 1.5em; width: 96%; }
label { display: block !important; color: #171717; margin-top: 10px; margin-bottom: 10px; }
label.first { margin-top: 0; }
input[type="text"],
input[type="email"],
input[type="password"],
textarea { padding: 11px 18px; color: #000 !important; margin: 0; background: #F0F0F0; border: none; border-top: 1px solid #B4B8BB; }
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus { border-color: #42B3E5; }
.form-item input.error, .form-item textarea.error, .form-item select.error { border: none; border-top: 1px solid #f00000; }
.form-item .description { margin-top: 10px; color: #777; }
textarea { width: 594px; }
input[type="text"],
input[type="email"],
input[type="password"] { width: 210px; }
input[type="submit"] { display: inline-block; width: auto; height: 36px; margin-top: 20px; padding: 5px 20px 7px; cursor: pointer; text-align: center; outline: none; color: #fff; border: 0; background-color: #0284b6; }
input[type="submit"]:hover { border-color: #1a8eb8; background-color: #1a8eb8; }
.page-user form#user-register-form,
.page-user form#user-login,
.page-user form#user-pass { text-align: center; }
.page-user form#user-login input[type="submit"] { padding: 5px 50px 7px; }
.krumo-root { text-align: left; }
.alert { position: relative; }
.alert button.close { position: absolute; top: 20px; right: 25px; }
#console { text-align: center; }
div.messages { padding: 10px 20px 10px 50px; }
.alert-success,
div.error,
.alert-error { display: inline-block; background: url('../img/icons/notification_error.png') no-repeat; background-color: #d24242; margin: 0 0 10px 0; text-align: left; color: #fff; line-height: 24px; background-position: 5px center; border: 0; border-radius: 0; }
.alert-success { background: url('../img/icons/notification_success.png') no-repeat; background-color: #abc52d; background-position: 5px center;}
.alert > ul { padding: 0; }
.alert-success ul li p,
.alert-success ul li a { color: #fff; }
.alert-success a { color: #fff; border-bottom: 1px dotted #FFFFFF; }
div.error, .alert-error, .alert-success { color: #fff; font-weight: 300; display: block; padding: 20px 50px 20px 50px; }
.node-type-webform .alert-success,
div.error, .node-type-webform .alert-error { display: block; }
.alert .message-inner,
.alert-info { background: #d24242; padding: 20px; color: #fff; text-align: left; border-radius: 0; border: 0; }

.alert.alert-commerce-add-to-cart-confirmation .message-inner { font-size: 16px; background: url('../img/icons/notification_success.png') no-repeat; background-color: #abc52d; background-position: 5px center; padding-left: 55px; }

.alert .added-product-title { display: inline-block; }
.alert .button-wrapper { display: inline-block; margin-left: 15px; border-left: 1px solid #41A2C7; padding-left: 15px; float:right; border: 0; }
.alert .button-wrapper .button.checkout a { display: block; padding: 0 15px 0 55px; color: #FFFFFF; background: #d24242 url('../img/icons/cart_button_icon.png') 0px center no-repeat; margin: 0; }

.alert.alert-commerce-add-to-cart-confirmation .button-wrapper .button.checkout a { background: #abc52d url(/sites/all/themes/mid2014/img/icons/cart_button_icon.png) 0px center no-repeat; }

.alert .button-wrapper .button.continue { display: none; }
.alert .view-confirm-message-product-display { display: none; }
div.messages { padding: 10px 20px 10px 50px; }
.page-batch .progress { overflow: visible; }

@media ( max-width: 992px ) {
  .alert .message-inner, .alert-info { text-align: center; }
  .alert .button-wrapper { float: none; }
  .alert .button-wrapper .button.checkout a { background: #d24242 url('../img/icons/cart_button_icon.png') 10px center no-repeat; }
}

.alert .krumo-element, .alert .krumo-element a {
  color:#000;
}
.no-margin { margin: 0; }
.no-padding { padding: 0; }


/* TYPOGRAPHY
===================================== */

h1, h2, h3, h4, h5, h6 { font-family: 'Raleway', sans-serif; font-weight: 700; color: #50646c; margin: 0; padding: 10px 0; }

a, a:hover, a:focus { text-decoration: none; outline: 0; color: #0284b6; }
ul, ol { list-style: none; }

*.centered { text-align: center; }
*.left.aligned { text-align: left; }
*.right.aligned { text-align: right; }

.primary-color { color: #0284b6; }
.secondary-color { color: #444; }

.block > p.block-title { font-family: 'Raleway',sans-serif; font-weight: 200; color: #50646c; margin: 0; padding: 10px 0; text-align: center; font-size: 21px; }

/*#content-bottom > .region { -webkit-column-count: 2; -moz-column-count: 2; column-count: 2; -webkit-column-gap: 33px; -moz-column-gap: 33px; column-gap: 33px; }*/
.node-type-guide #content-bottom { padding: 0; }
/*.node-type-guide #content-bottom > .region { margin-top: 20px;-webkit-column-count: auto; -moz-column-count: auto; column-count: auto; -webkit-column-gap: 0; -moz-column-gap: 0; column-gap: 0; }*/
@media ( max-width: 992px ) {
  /*#content-bottom > .region { -webkit-column-count: auto; -moz-column-count: auto; column-count: auto; -webkit-column-gap: 0; -moz-column-gap: 0; column-gap: 0; }*/
}

#content-top h1,
#content-top h2,
#content-top h3,
#content-top h4,
#content-top h5,
#content-top h6,
#content-bottom h1,
#content-bottom h2,
#content-bottom h3,
#content-bottom h4,
#content-bottom h5,
#content-bottom h6 { text-align: left; color: #0284b6; padding-top: 0; }

#content-top h1,
#content-top h2,
#content-top h3,
#content-top h4,
#content-top h5,
#content-top h6,
#content-bottom h1.centered,
#content-bottom h2.centered,
#content-bottom h3.centered,
#content-bottom h4.centered,
#content-bottom h5.centered,
#content-bottom h6.centered { text-align: center; color: #0284b6; padding-top: 0; }

/* INPUT STYLES
===================================== */
.radio-checkbox-switch {
  display: block;
  position: relative;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
  font-weight: 400;
}

.radio-checkbox-switch input {
  opacity: 0;
  position: absolute;
}

.radio-checkbox-switch input + span {
  position: relative;
  display: inline-block;
  width: 1.65em;
  height: 1em;
  background: white;
  box-shadow: inset 0 0 0 0.0625em #ccc;
  border-radius: 0.5em;
  vertical-align: -0.15em;
  transition: all 0.40s cubic-bezier(.17,.67,.43,.98);
}

.radio-checkbox-switch:active input + span,
.radio-checkbox-switch input + span:active {
  box-shadow: inset 0 0 0 0.73em #ccc;
}

.radio-checkbox-switch input + span:after {
  position: absolute;
  display: block;
  content: '';
  width: 0.875em;
  height: 0.875em;
  border-radius: 0.4375em;
  top: 0.0625em;
  left: 0.0625em;
  background: white;
  box-shadow: inset 0 0 0 0.03em rgba(0,0,0,0.2),
  0 0 0.05em rgba(0,0,0,0.05),
  0 0.1em 0.2em rgba(0,0,0,0.2);
  transition: all 0.25s ease-out;
}

.radio-checkbox-switch:active input + span:after,
.radio-checkbox-switch input + span:active:after {
  width: 1.15em;
}

.radio-checkbox-switch input:checked + span {
  box-shadow: inset 0 0 0 0.73em #adc552;
}

.radio-checkbox-switch input:checked + span:after {
  left: 0.7125em;
}

.radio-checkbox-switch:active input:checked + span:after,
.radio-checkbox-switch input:checked + span:active:after {
  left: 0.4375em;
}

/* accessibility styles */
.radio-checkbox-switch input:focus + span:after {
  box-shadow: inset 0 0 0 0.03em rgba(0,0,0,0.15),
  0 0 0.05em rgba(0,0,0,0.08),
  0 0.1em 0.2em rgba(0,0,0,0.3);
  background: #fff;
}

.radio-checkbox-switch input:focus + span {
  box-shadow: inset 0 0 0 0.0625em #dadada;
}

.radio-checkbox-switch input:focus:checked + span {
  box-shadow: inset 0 0 0 0.73em #adc552;
}

/* reset accessibility style on hover */
.radio-checkbox-switch:hover input:focus + span:after {
  box-shadow: inset 0 0 0 0.03em rgba(0,0,0,0.1),
  0 0 0.05em rgba(0,0,0,0.05),
  0 0.1em 0.2em rgba(0,0,0,0.2);
  background: #fff;
}

.radio-checkbox-switch:hover input:focus + span {
  box-shadow: inset 0 0 0 0.0625em #ccc;
}

.radio-checkbox-switch:hover input:focus:checked + span {
  box-shadow: inset 0 0 0 0.73em #adc552;
}

input[type="number"] {
  width: 60px;
  border: 0;
  border-bottom: 1px dashed #50646c;
  position:relative;
  text-align: center;
}

input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  cursor:pointer;
  display:block;
  width:8px;
  color: #333;
  text-align:center;
}

input[type="number"]::-webkit-inner-spin-button:hover {
  color: #0284b6;
}

input[type="number"]::-webkit-inner-spin-button:before,
input[type="number"]::-webkit-inner-spin-button:after {
  content: "^";
  position:absolute;
  right: 0;
  font-family:monospace;
}

input[type="number"]::-webkit-inner-spin-button:before {
  top:0px;
}

input[type="number"]::-webkit-inner-spin-button:after {
  top:7px;
  -webkit-transform: rotate(180deg);
}


/* SECTIONS
===================================== */
body > section:first-of-type { margin-top: 195px; margin-bottom: 50px; }
section.dark h1,
section.dark h2,
section.dark h3,
section.dark h4,
section.dark h5,
section.dark h6,
section.dark p { color: #fff; }
@media ( max-width: 992px ) {
  body > section:first-of-type { margin-top: 70px !important; position: relative; }
}
@media (min-width: 992px) {
    .content-anchor { margin-top: -195px; padding-bottom: 195px; visibility: hidden; display: block; }
}
@media (max-width: 992px) {
    .content-anchor { margin-top: -141px; padding-bottom: 141px; visibility: hidden; display: block; }
}
/* HEADER
===================================== */

/* upper area */
header#upper { position: fixed; top: 0; width: 100%; background: #fff; z-index: 999; }
header#upper > .container { position: relative; }

.header-basket-icon { width: 35px; height: auto; }

#topline > .container { position: relative; }
#topline #cart { position: absolute; top: 0; right: 2px; }
#topline #cart ul { padding: 0; margin: 0 -15px 0 0; background: #eff0f0; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; box-shadow: 0px 1px 2px rgba(0,0,0,0.5); }
#topline #cart ul li  { padding: 0; margin: 0; }
#topline #cart a { color: #fff; }
#topline #cart > ul > li > a.cart-dropdown { display: inline-block; padding: 3px 7px; text-align: center; color: #444; font-size: 14px; float: right; background: #B8C744; color: #fff; text-transform: uppercase; font-weight: 500; margin: 6px;}
#topline #cart > ul > li > a.cart-dropdown > span { margin-left: 10px; }
#topline #cart > ul > li > ul { padding: 0; font-size: 12px; }
#topline #cart > ul > li:hover ul { display: block; }
#topline #cart > ul > li > ul > li { float: left; position: relative; max-width: 145px; color: #444; font-weight: 700; line-height: 17px; text-transform: uppercase; padding: 5px 0 0 10px; }
#topline #cart > ul > li > ul > li a { display: inline-block; width: auto; color: #444; }
#topline #cart > ul > li > ul > li .cart-contents .view-content { display: none; }
#topline #cart > ul > li > ul > li .cart-contents .view-footer .line-item-summary { text-align: left; margin-bottom: 0; }
#topline #cart > ul > li > ul > li .cart-contents .view-footer .line-item-summary > div { width: 100%; }
#topline #cart > ul > li > ul > li .links { display: none; }
#topline #cart > ul > li > ul > li div.contextual-links-wrapper { display: none; }


#navbar-administration.navbar-oriented .navbar-tray-vertical { width: 240px; }

.logged-in.navbar-horizontal header#upper,
.logged-in.navbar-vertical header#upper { top: 39px; }
.logged-in.navbar-horizontal.navbar-tray-open header#upper { top: 79px; }
.logged-in.navbar-vertical.navbar-tray-open header#upper { top: 39px; }
.logged-in.navbar-vertical.navbar-tray-open header#upper { left: 120px; }

.logged-in.navbar-horizontal.navbar-tray-open header#extras #cart { top: 122px; }

.logged-in.navbar-horizontal header#extras #cart,
.logged-in.navbar-vertical header#extras #cart  { top: 82px; }

.logged-in.navbar-vertical.navbar-tray-open header#extras #mainmenu { left: 240px; }

#mobile-main-menu { display: none; }
#mobile-main-menu ul { padding: 0; }
#mobile-main-menu ul li { display: inline-block; margin-right: 1em; }
#mobile-main-menu ul li:last-child { margin-right: 0; }
#mobile-main-menu ul li a { color: #444; font-weight: 600; }

@media ( max-width: 1200px ) {
  #topline #cart > ul > li > ul { font-size: 10px; }
  #topline #cart > ul > li > ul > li { max-width: 100px; }
}
@media ( max-width: 991px ) {
  #mobile-main-menu { display: block; }
  #topline #cart { display: none; }
}


/* product search box */
#header-search { position: relative; }
#header-search .views-exposed-form .views-exposed-widget { float: none; }
#header-search .views-exposed-form input[type="text"] { width: 98%; background: none; border: 0; color: #ccc !important; border-bottom: 2px dotted #777; padding: 17px 27px 0 0; }
#header-search .views-exposed-form input[type="submit"] { margin: 0; position: absolute; top: 13px; right: 54px; width: 20px; text-indent: -9999px; background: url('../img/icons/topsearchbutton.png') center center no-repeat; padding: 0; }
#header-search #close-search { position: absolute; top: 5px; right: 15px; color: #fff; font-size: 1.9em; }

#mobile-search-box { position: relative; margin-top: 20px; }
#mobile-search-box .views-exposed-form .views-exposed-widget { width: 100%; }
#mobile-search-box input[type="text"] { width: 100%; height: 42px; font-size: 13px; padding: 11px 40px 11px 10px; }
#mobile-search-box input[type="submit"] { position: absolute; width: auto; top: 10px; right: 25px; margin: 0; width: 22px; text-indent: -999px; display: block; padding: 0; background: url('../img/icons/searchbutton.png') center center no-repeat; }

@media ( min-width: 992px ) {
  #mobile-search-box { display: none; }
}
@media ( max-width: 991px ) {
  header#extras #search-products,
  #header-search { display: none; }
  header#top #catmenu { top: 0 !important; opacity: 1 !important; }
  #mobile-search-box { display: block; }
}

/* category menu */
#catmenu ul {
  margin: 0;
  padding: 0;
  position: relative;
  font-family: 'Raleway';
  font-size: 16px;
  line-height: 1.8;
}

#catmenu li.depth-1 {
  display: inline-block;
  border-right: 1px solid #444;
  margin-left: -4px;
}

#catmenu li.depth-1:first-child {
  border-left: 1px solid #444;
}

#catmenu li.depth-1 > a {
  display: block;
  padding: 14px 9px;
  font-size: 0.8em;
  color: #fff;
  -webkit-transition: background 0.3s ease-in-out;
  -moz-transition: background 0.3s ease-in-out;
  -o-transition: background 0.3s ease-in-out;
  transition: background 0.3s ease-in-out;
}

#catmenu li.depth-1 > a:hover {
  background: #0284b6;
}

#catmenu li.depth-1 > div.submenus {
  display: none;
  position: absolute;
  top: 51px;
  left: 0;
  width: 100%;
  box-shadow: 0px 1px 1px rgba(0,0,0,0.5);
  padding: 2%;
  background: #fff;
  min-height: 300px;
}

#catmenu li.depth-1:hover > div.submenus {
  display: block;
}

#catmenu li.depth-2 {
  float: left;
  border: none;
  box-shadow: none;
  margin: 0;
}

#catmenu li.depth-3 {
  margin: 0;
  padding: 0;
  width: 98%;
}

#catmenu li.depth-1:last-child > a,
#catmenu li.depth-1:last-child > a:hover {
  background: #d24242;
  color: #fff;
}

#catmenu li.depth-1 > a.green-bg {
  background: #88c425;
  color: #fff;
}

#catmenu li.depth-2 > a,
#catmenu li.depth-2 > span.nolink {
  display: block;
  color: #0284b6;
  font-size: 13px;
  padding-bottom: 5px;
  margin-bottom: 5px;
  border-bottom: 1px dotted #ccc;
  margin-top: 6px;
}

#catmenu li.depth-2 > span.nolink {
  color: #000000;
}

#catmenu li.depth-3 > a {
  width: 91.5%;
  display: block;
  color: #777;
  font-weight: 400;
  font-size: 12px;
}

#catmenu li.depth-3 > a.view-all {
  font-weight: bold;
  color: #444;
}

@media (max-width: 1199px) {
  #catmenu ul {
    padding: 0 7px;
  }
  #catmenu li.depth-1 > a {
    padding:15.5px 6px;
    font-size: 0.7em;
  }

  #catmenu li.depth-2 {
    padding: 0;
    border: 0;
  }

  #catmenu li.depth-3 > a {
    padding: 5px 0px;
    width: 100%;
  }
  #catmenu ul ul ul.submenu {
    margin-bottom: 10px;
  }
}

@media (min-width: 992px) {
  #catmenu ul {
    text-align:center;
  }

  #catmenu ul ul {
    text-align: left;
  }
  #catmenu li.menu-image {
    text-align: right;
  }
}

#catmenu ul li.main-menu-text {
  display: none;
  color: #fff;
  background: #333;
  padding: 10px 20px;
  margin-bottom: 10px;
  font-weight: bold;
  cursor: pointer;
}
#catmenu ul li.main-menu-text span {
  position: absolute;
  right: 20px;
  font-size: 2em;
  line-height: 0.9em;
  font-weight: normal;
}

@media (max-width: 767px) {
  #catmenu ul li.main-menu-text {
    display: block;
  }
}

@media (max-width: 991px) {
  header#top,.logged-in.navbar-horizontal #top,.logged-in.navbar-vertical #top {
    position:static;
    display: none;
  }

  header#top.open,.logged-in.navbar-horizontal #top.open,.logged-in.navbar-vertical #top.open {
    display: block;
    position: static;
    overflow: hidden;
  }

  header#top #close-icon {
    position: absolute;
    right: 20px;
    top: 0px;
    color: #fff;
    display: block;
    font-size: 1.5em;
    z-index: 999;
  }

  #catmenu li.depth-1 > ul {
    padding: 0;
    display: block;
    position: static;
    background: none;
    box-shadow: none;
    min-height: 0;
  }

  #catmenu li.depth-1 {
    width: 100%;
    margin: 10px 0 0;
    border: 0 !important;
  }

  #catmenu li.depth-1 > div.submenus {
    display: block;
    position: static;
    background: none;
    padding: 0;
    box-shadow: none;
    min-height: 0;
  }

  #catmenu li.depth-2 {
    padding: 0;
    border: 0;
  }

  #catmenu li.depth-1 > a {
    color: #fff;
    text-align: left;
    font-size: 16px;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #222;
    font-weight: bold;
  }

  #catmenu li.depth-2 > a {
    color: #fff;
    padding: 3px 2px;
    border-color: #444;
  }

  #catmenu li.depth-3 > a {
    color: #999;
  }

  #catmenu li.depth-3 > a.view-all {
    color: #0284b6;
  }

  #catmenu li.depth-1 > a:hover {
    background: none;
  }

  #catmenu li.depth-2 > a:hover,#catmenu li.depth-3 > a:hover {
    background: none;
  }

  #catmenu li.depth-1:first-child > a {
    margin-top: 10px;
  }

  #catmenu li.depth-1:last-child > a {
    background: #ff5959;
    text-align: center;
    color: #fff;
    margin: 0 0 20px;
  }

  #catmenu li img,
  #catmenu li.menu-image {
    display: none;
  }
}

@media (max-width: 767px) {
  header#top,header#top.open {
    display:block;
    width: 280px;
    height: 100%;
    position: fixed;
    left: -300px;
    top: 0;
    overflow-y: scroll;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
  }

  header#top.open {
    left: 0;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
  }

  header#top #close-icon {
    position: static;
    display: block;
    text-align: right;
  }

  #catmenu li.depth-1 {
    width: 100%;
    margin: 0;
    padding: 0 10px;
  }

  #catmenu li.depth-1 > a {
    margin: 0;
    text-align: left;
  }
}

@media (min-width: 992px) {
  header#top {
    height:51px;
  }

  header#top #header-search {
    position: relative;
    top: 0;
    opacity: 0;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
  }

  .logged-in.navbar-horizontal #top,.logged-in.navbar-vertical #top {
    top: 131px;
  }

  header#top #catmenu {
    position: relative;
    top: 0;
    opacity: 1;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
  }

  header#top.search-activated #header-search {
    top: -6px;
    opacity: 1;
  }

  header#top.search-activated #catmenu {
    top: -136px;
    opacity: 0;
  }
}

/* nav icon */
a#nav-icon { display: none; width: 25px; height: 25px; background: none; border: 0; position: absolute; left: 15px; top: 15px; z-index: 1; padding: 0; }
a#nav-icon .icon-bar { display: block; width: 100%; height: 3px; margin-bottom: 7px; background: #51b6d8; }
a#nav-icon .icon-bar:last-child { margin: 0; }
@media ( max-width: 767px ) {
  a#nav-icon { width: 25px; }
  a#nav-icon .icon-bar { height: 4px; margin-bottom: 5px; }
}

/* cart icon mobile */
a#mobile-cart-icon { position: absolute; right: 15px; top: 0px; font-size: 28px; color: #444; }

header#bottom > .container { position: relative; }
header#bottom .views-widget-filter-search_api_views_fulltext,
header#bottom .views-widget-filter-keys,
header#bottom .views-submit-button { padding: 0; margin: 0; float: none; }
header#bottom .views-widget-filter-search_api_views_fulltext input[type="text"],
header#bottom .views-widget-filter-keys input[type="text"] { padding: 10px 40px 10px 15px; font-size: 14px; width: 100%; border-radius: 100px; border: 1px solid #cccccc; background: transparent; color: #000000 !important; }
header#bottom .views-submit-button input[type="submit"] { margin-top: 10px; height: 25px; line-height: 15px; font-size: 12px; background: url('../img/icons/searchbutton.png') center center no-repeat; text-indent: -9999px; position: absolute; top: -2px; right: 12px; }
header#bottom .views-widget-filter-keys label { display: none !important; }

header#bottom ul.main-menu li { display: inline-block; font-size: 0.8em; margin-right: 5px; }

@media ( min-width: 992px ) {

  header#bottom { position: fixed; width: 100%; top: 0; background: #fff; z-index: 3; padding: 20px 0; }

  header#bottom ul.main-menu { position: relative; display: inline; padding: 6px 20px; margin: 0; background: #9ca7b1; border-top-left-radius: 10px; border-top-right-radius: 10px; }
  header#bottom ul.main-menu li a { color: #fff; }
  header#bottom ul.main-menu li a.active { color: #000; font-weight: 700; }

  .logged-in.navbar-horizontal header#bottom,
  .logged-in.navbar-vertical header#bottom,
  .logged-in.navbar-vertical.navbar-tray-open header#bottom { top: 39px; }
  .logged-in.navbar-horizontal.navbar-tray-open header#bottom { top: 79px; }
  .logged-in.navbar-vertical.navbar-tray-open header#bottom {left: 75px;}


}
@media ( max-width: 1200px ) {
  header#bottom ul.main-menu { position: relative; top: -5px; }
  header#bottom ul.main-menu li { font-size: 0.7em; margin-right: 5px; }
}
@media ( max-width: 991px ) {
  header#bottom { position: fixed; z-index: 3; top: 0px; width: 100%;  background: #fff; text-align: center; margin: 0 0; padding: 20px 0 0; border: 0; font-size: 0.7em; }
  header#bottom > .container { position: relative; padding-bottom: 10px; border-bottom: 0; }
  header#bottom ul.main-menu { padding: 0; top: 0; }
  header#bottom ul.main-menu li { font-size: 1em; margin: 0 4px; }

}

#cart-top-area {
  padding: 5px 0;
}
#cart-top-area a {
  font-size: 1em;
  /* background: #88c425; */
  padding: 10px 20px;
  font-weight: 700;
  color: #919da2;
}
#cart-top-area a span {
  margin-right: 5px;
  color: #88c425;
  font-size: 1.5em;
  vertical-align: top;
}

/* PAGE
===================================== */

#topline { position: fixed; top: 143px; z-index: 997; width: 100%; height: 40px; /*background: #50b7d8;*/ background:#50b7d8; font-size: 22px; font-family: 'Raleway', sans-serif; }
#topline,
#topline p,
#topline a { color: #fff; }

@media ( min-width: 992px ) and ( max-width: 1199px ) {
  #topline { font-size: 17px; }
  header#bottom { padding: 13px 0; }
}

.logged-in.navbar-horizontal #topline,
.logged-in.navbar-vertical #topline { top: 182px; z-index: 2; }
.logged-in.navbar-vertical.navbar-tray-open #topline {left: 75px;}
.logged-in.navbar-horizontal.navbar-tray-open #topline { top: 220px; z-index: 2; }

@media ( max-width: 991px ) {
  #topline { position: static; font-size: 1em; padding: 10px 0; height: auto; }
}

body.section-bathroom-sale #topline {
  background: #d24242;
}

/* page */
section#page { background: #fff; }

/* page header */
section#page > header { padding: 0 0 15px; border-bottom: 1px solid #d7d7d7; color: #50646c; }
@media ( max-width: 991px ) {
  section#page > header#bottom { text-align: center; margin: 20px 0 0; padding: 0; border: 0; font-size: 0.7em; }
  body.node-type-webform.section-contact section#page > header { position: relative; }
}

/* logo */
#logo { display: block; }
#logo img.mobile-logo { display: none; }
@media ( max-width: 1199px ) {
  #logo { background-size: 100% auto; margin: 15px 15px 0; }
}
@media ( max-width: 991px ) {
  #logo { background: none; height: auto; text-align: center; }
  #logo img.desktop-logo { display: none; }
  #logo img.mobile-logo { display: inline-block; width: 200px; }
}

/* opening times */
#opening-times { font-size: 0.8em; margin-top: 20px; }
#opening-times p { margin: 0; }
#opening-times .number { font-size: 1.3em; color: #0284b6; position: relative; top: 2px; }
@media ( max-width: 1199px ) {
  #opening-times { font-size: 0.8em; }
}
@media ( max-width: 991px ) {
  #opening-times { font-size: 1em; margin: 20px 0; padding: 10px 0; border-top: 1px solid #d7d7d7; border-bottom: 1px solid #d7d7d7; }
}
/* trust signals */
#desktop-search-bar { font-size: 1em; position: relative; left: 15px; line-height: 1.8; }
#desktop-search-bar form { position: relative; }
@media ( max-width: 1199px ) {
  #desktop-search-bar,
  #cart-top-area { margin-top: 10px; }
}
@media ( max-width: 991px ) {
  #desktop-search-bar { display: none; }
}

#checkout-trust-signals { margin-top: 15px; }
@media ( max-width: 1199px ) {
  #checkout-trust-signals { margin-top: 14px; }
}
@media ( max-width: 991px ) {
  #checkout-trust-signals { margin-top: 0px; }
  #checkout-trust-signals .text-right { text-align: center; }
}

/* content font sizes */
.section-products .content-box { font-size: 15px; text-align: justify; }
.content-box .view-id-catalogue { font-size: 15px; }
.field-name-description-field { font-size: 15px; }
ul.product-grid { font-size: 16px; }

.node-page .content table { width: 100%; }
.node-page .content table th { border: 1px solid #ddd; padding: 20px; font-size: 1.2em; color: #0284b6; }
.node-page .content table td { border: 1px solid #ddd; padding: 20px; }
.node-page .content ul { list-style: disc; }
.node-page .content ol { list-style: decimal; }

/* CONTACT PAGE */
#map { height: 400px; }
.node-type-webform .webform-client-form input[type="text"],
.node-type-webform .webform-client-form input[type="email"],
.node-type-webform .webform-client-form textarea { width: 100%; }
.node-type-webform .form-actions { margin: 0; padding: 0; }
.node-type-webform .form-actions input[type="submit"] { width: 100%; margin: 0; margin-top: 30px; padding: 0; }
@media (max-width: 991px ) {
  #map { height: 230px; }
}

/* COMPONENTS
===================================== */
.iframe-holder { padding-bottom: 56% !important; margin-top: 15px; position: relative; overflow: hidden; width: 100% !important; height: auto !important; }
.iframe-holder iframe { position: absolute !important; top: 0; left: 0; width: 100% !important; height: 100% !important; }
.iframe-holder .contextual-links-region  {
  position:static;
}

.usp { padding: 0; }
.usp li { list-style-type: none; }
.usp a { display: block; font-size: 1.2em; text-align: center; }
.usp a img.icon { margin-bottom: 30px; }

/* FOOTER
===================================== */

footer#bottom  { border-top: 1px solid #d7d7d7; padding: 10px 0; color: #50646c; font-size: 12px; }
@media ( max-width: 991px ) {
  footer#bottom  { border-top: 0; }
  footer#bottom > div > div> div:first-of-type h4 { border-top: 1px solid #d7d7d7; }
}

/* footer titles */
footer#bottom p.section-title { font-weight: 400; font-size: 14px; }
footer#bottom p.section-title a { color: #50646c; }

/* footer links */
footer#bottom ul { margin: 0; padding: 0; }
footer#bottom ul li a { color: #777; font-weight: 400; }
footer#bottom ul li a:hover { color: #0284b6; }

footer#bottom .socialise p { font-size: 1.3em; }
footer#bottom .socialise a { background: #e0e0e0; height: 42px; width: 42px; display: inline-block; text-align: center; line-height: 45px; color: #676767; font-size: 1.3em; margin-bottom: 5px; }
footer#bottom .socialise a:hover { background: #0284b6; color: #fff; }

.corner-graphic { position: fixed; bottom: 0; right: 0; z-index: 999; }
@media ( max-width: 1420px ) {
  .corner-graphic { display: none; }
}

.anniversary-graphic { position: fixed; top: 0px; right: 10px; z-index: 16000004; }
.logged-in .anniversary-graphic {display:none;}
@media ( max-width: 1600px ) {
  .anniversary-graphic { display: none; }
}

#openingTimesModal { text-align: left; }
#openingTimesModal table { font-size: 13px; }

/* norton + trustpilot */
.norton-seal-badge { padding-left: 0; }
.trust-pilot-badge { padding: 0; margin-top: 10px; }

/* copyright text */
p.copyright { font-weight: 400; margin: 20px 0; }

body .gallery-slides { overflow: visible; }

.landing_page_callback_webform form { background: #B8C744; padding: 20px; }
.landing_page_callback_webform form label { color: #fff; font-weight: normal; }
.landing_page_callback_webform form input[type="text"] { background: none; border: 2px solid #fff; width: 100%; padding: 2px 7px; color: #fff !important; }
.landing_page_callback_webform form input[type="submit"] { background: #fff; color: #929E35; margin-top: 47px; width: 100%; }

.page-node-9940 .top-area { background: #232323 url('../img/tradesman.png') no-repeat; background-position: 70% bottom;  background-size: auto 100%; color: #fff; padding: 50px 0; }
.page-node-9940 .middle-area { padding: 50px 0; }
.page-node-9940 .bottom-area { background: #2F9FC3; color: #fff; padding: 50px 0; }
.page-node-9940 #page ul { list-style: none !important; padding: 0; text-align: center; }
.page-node-9940 .top-area h1 { color: #fff; margin-bottom: 20px; font-weight: 500; font-size: 35px; }
.page-node-9940 .middle-area h2,
.page-node-9940 .bottom-area h2 { font-size: 35px; text-align: center; margin-bottom: 20px; font-weight: 500;  }
.page-node-9940 .bottom-area h2 { color: #fff; }
.page-node-9940 .top-area h2,
.page-node-9940 .top-area h3,
.page-node-9940 .top-area h4,
.page-node-9940 .top-area h5,
.page-node-9940 .top-area h6,
.page-node-9940 .top-area p,
.page-node-9940 .top-area a,
.page-node-9940 .top-area ul,
.page-node-9940 .bottom-area h2,
.page-node-9940 .bottom-area h3,
.page-node-9940 .bottom-area h4,
.page-node-9940 .bottom-area h5,
.page-node-9940 .bottom-area h6,
.page-node-9940 .bottom-area p,
.page-node-9940 .bottom-area a,
.page-node-9940 .bottom-area ul { color: #fff; font-weight: 500; }
.page-node-9940 .middle-area h4,
.page-node-9940 .bottom-area h4 { font-size: 21px; text-align: center; font-weight: 500; }
.page-node-9940 .middle-area h5,
.page-node-9940 .bottom-area h5 { font-size: 15px; margin-bottom: 15px; font-weight: 500; }
.page-node-9940 .apply-now-btn { display: inline-block; background: #B8C64E; color: #fff; padding: 10px 30px; margin-top: 10px; }

.page-node-16367 .top-area { background: #232323 url('../img/tradesman.png') no-repeat; background-position: 70% bottom;  background-size: auto 100%; color: #fff; padding: 50px 0; }
.page-node-16367 .middle-area { padding: 50px 0; }
.page-node-16367 .bottom-area { background: #2F9FC3; color: #fff; padding: 50px 0; }
.page-node-16367 #page ul { list-style: none !important; padding: 0; text-align: center; }
.page-node-16367 .top-area h1 { color: #fff; margin-bottom: 20px; font-weight: 500; font-size: 35px; }
.page-node-16367 .middle-area h2,
.page-node-16367 .bottom-area h2 { font-size: 35px; text-align: center; margin-bottom: 20px; font-weight: 500;  }
.page-node-16367 .bottom-area h2 { color: #fff; }
.page-node-16367 .top-area h2,
.page-node-16367 .top-area h3,
.page-node-16367 .top-area h4,
.page-node-16367 .top-area h5,
.page-node-16367 .top-area h6,
.page-node-16367 .top-area p,
.page-node-16367 .top-area a,
.page-node-16367 .top-area ul,
.page-node-16367 .bottom-area h2,
.page-node-16367 .bottom-area h3,
.page-node-16367 .bottom-area h4,
.page-node-16367 .bottom-area h5,
.page-node-16367 .bottom-area h6,
.page-node-16367 .bottom-area p,
.page-node-16367 .bottom-area a,
.page-node-16367 .bottom-area ul { color: #fff; font-weight: 500; }
.page-node-16367 .middle-area h4,
.page-node-16367 .bottom-area h4 { font-size: 21px; text-align: center; font-weight: 500; }
.page-node-16367 .middle-area h5,
.page-node-16367 .bottom-area h5 { font-size: 15px; margin-bottom: 15px; font-weight: 500; }
.page-node-16367 .apply-now-btn { display: inline-block; background: #B8C64E; color: #fff; padding: 10px 30px; margin-top: 10px; }

.bc-wrapper-reviews .bc-widget-review {
  position: relative;
  background: #ffffff;
  overflow: hidden;
  padding: 17px;
  margin: 20px 10px 0;
  border-radius: 5px;
  box-shadow: 0 4px 4px -5px #c8c8c8;
  border:1px solid #efefef;

}
.bc-wrapper-reviews .bc-widget-review .user-name {
  margin: 0 0 10px;
}
.bc-wrapper-reviews .bc-widget-review .user-name .name {
  color: #666;
  font-weight: 700;
  vertical-align: middle;
}
.bc-wrapper-reviews .bc-widget-review .star-5 {
  position: relative;
  display: block;
  margin: 0 0 10px;
  background: url('../img/icons/tp_5stars.png') no-repeat;
  height: 28px;
}

.bc-wrapper-reviews .bc-widget-review .star-4 {
  position: relative;
  display: block;
  margin: 0 0 10px;
  background: url('../img/icons/tp_4stars.png') no-repeat;
  height: 28px;
}
.bc-wrapper-reviews .bc-widget-review .header {
  position: relative;
  font-weight: 700;
  margin: 0 0 10px;
  word-wrap: break-word;
  overflow: hidden;
}
.bc-wrapper-reviews .tp-widget-review .text {
  position: relative;
  margin: 0;
  word-wrap: break-word;
  overflow: hidden;
}

.blog-list ul.owl-carousel li { width: 100%; }
.blog-list ul.owl-carousel .owl-item img { width: 100%; }
.blog-list ul.owl-carousel .owl-item .views-field-title a { color: #000; margin-top: 20px; display: block; font-size: 18px; }
.blog-list .owl-controls { position: absolute; bottom: -50px; width: 100%; }

.breadcrumb { padding: 0px 15px; }
.breadcrumb a,
.breadcrumb { color: #000; font-size: 14px; }
.breadcrumb >  span { font-weight: 700; }


.shorten_hide {
  display:none;
}

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

.media-blog_image .field-name-field-caption {
  background-color: #eee;
  padding: 10px 10px;
}

.home-page-tab-content {
  margin-bottom: 30px;
}

.home-page-tab-content ul.nav.nav-pills {
  margin: -2px 0px;
}

.home-page-tab-content .nav-pills > li > a {
  border-radius: 0;
  background: #ddd;
  color: #000;
}

.home-page-tab-content .nav-pills > li.active > a,
.home-page-tab-content .nav-pills > li.active > a:hover,
.home-page-tab-content .nav-pills > li.active > a:focus,
.home-page-tab-content .nav-pills > li > a:hover,
.home-page-tab-content .nav-pills > li > a:focus {
  background: #0284b6 !important;
  color: #fff !important;
}

@media ( max-width: 991px ) {
  .nav-pills > li {
    width: 100%;
    margin: 0 !important;
    border: 1px solid #fff;
  }
}


.category-marketing {
  margin-bottom: .5rem;
}

.tile-inner.product {
  cursor:pointer;
}


.page-content {
  margin-top: 128px;
}
@media ( max-width: 992px ) {
  .page-content {
    margin-top: 198px;
  }
}
@media ( max-width: 768px ) {
  .page-content {
    margin-top: 146px;
  }
}
@media ( max-width: 640px ) {
  .page-content {
    margin-top: 146px;
  }
}
@media ( max-width: 380px ) {
  .page-content {
    margin-top: 120px;
  }
}

@media ( min-width:768px ) {
  .sticky-top .navbar .inner .head-row#bottom .category-menu .mobile-only {
    display:none;
  }
}