/**
  Theme Name: Stapenhill Dental Care
  Version: 1
  Author: Dental Design Products
  Author URI: http://www.dental-design-products.co.uk
*/
/* =======================
-------- Contents --------
==========================

1.0 Normalize
2.0 Page Layout & Styles
3.0 Slider Styles
4.0 Media Queries

========================== */
/* =============================================
1.0  Normalize ---------------------------------
============================================= */
/*! normalize.css v4.1.1 | MIT License | github.com/necolas/normalize.css */
progress,sub,sup {
    vertical-align: baseline
}

button,hr,input {
    overflow: visible
}

[type=checkbox],[type=radio],legend {
    box-sizing: border-box;
    padding: 0
}

html {
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%
}

body {
    margin: 0
}

article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary {
    display: block
}

audio,canvas,progress,video {
    display: inline-block
}

audio:not([controls]) {
    display: none;
    height: 0
}

[hidden],template {
    display: none
}

a {
    background-color: transparent;
    -webkit-text-decoration-skip: objects
}

a:active,a:hover {
    outline-width: 0
}

abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted
}

b,strong {
    font-weight: bolder
}

dfn {
    font-style: italic
}

h1 {
    font-size: 2em;
    margin: .67em 0
}

mark {
    background-color: #ff0;
    color: #000
}

small {
    font-size: 80%
}

sub,sup {
    font-size: 75%;
    line-height: 0;
    position: relative
}

sub {
    bottom: -.25em
}

sup {
    top: -.5em
}

img {
    border-style: none
}

svg:not(:root) {
    overflow: hidden
}

code,kbd,pre,samp {
    font-family: monospace,monospace;
    font-size: 1em
}

figure {
    margin: 1em 40px
}

hr {
    box-sizing: content-box;
    height: 0
}

button,input,select,textarea {
    font: inherit;
    margin: 0
}

optgroup {
    font-weight: 700
}

button,select {
    text-transform: none
}

[type=reset],[type=submit],button,html [type=button] {
    -webkit-appearance: button
}

[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner {
    border-style: none;
    padding: 0
}

[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring {
    outline: ButtonText dotted 1px
}

fieldset {
    border: 1px solid silver;
    margin: 0 2px;
    padding: .35em .625em .75em
}

legend {
    color: inherit;
    display: table;
    max-width: 100%;
    white-space: normal
}

textarea {
    overflow: auto
}

[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button {
    height: auto
}

[type=search] {
    -webkit-appearance: textfield;
    outline-offset: -2px
}

[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration {
    -webkit-appearance: none
}

::-webkit-input-placeholder {
    color: inherit;
    opacity: .54
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit
}

/* =============================================
2.0  Page Layouts & Styles ---------------------
============================================= */
* {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', serif;
    font-weight: 400;
    font-size: 14px;
    background: url(images/bg.png) #f6f6f6;
    color: #1e2e42;
}

.text-area h1 small, .JB_Slide_Content h5 {
    font-family: 'Handlee', cursive;
}

header {
    width: 100%;
    height: 200px;
    max-height: 200px;
    overflow: hidden;
    background: #fff;
    position: relative;
    border-top: 10px solid rgba(64,122,193,1);
    border-bottom: 1px solid #eee;
}

section {
    width: 1200px;
    margin: 0 auto;
    position: relative;
}

strong {
    font-weight: 700;
}

a {
    color: #6899d4;
    text-decoration: none;
}

a:hover {
    color: #daa37f;
}

p {
    line-height: 24px;
    margin: 15px 0;
}

ol, ul {
    line-height: 24px;
    margin: 15px 40px;
}

hr, hr.trans {
    border: 0;
    height: 1px;
    margin: 30px 0;
    background: rgba(0, 0, 0, 0.1);
    clear: both;
}

hr.trans {
    background: rgba(0, 0, 0, 0);
}

.contact-details, h1, .JB_Slide_Content h5, a.copy-btn, .social-wrapper h2 {
    color: #263c78 !important;
}

.call-us small, h2, h4, .text-area h1 small, nav a:hover, #return-to-top:hover i, .light-blue-text, .social-wrapper .fa {
    color: #407ac1;
}

h3 {
    color: #ccc;
}

h1 {
    font-size: 36px;
    font-weight: 400;
    letter-spacing: -0.03em;
}

h2 {
    font-size: 28px;
}

h3 {
    font-size: 26px;
}

h4 {
    font-size: 22px;
}

h5,h6 {
    font-weight: 400;
}

h5 {
    font-size: 18px;
    color: #4987c4;
}

h6 {
    font-size: 18px;
    color: #a1a9b2;
}

a.all-btn, a.copy-btn, #button-blue, a.denplan-btn {
    display: inline-block;
    padding: 16px 20px 15px;
    color: #fff;
    text-decoration: none;
    position: relative;
    z-index: 9998;
    margin-top: 10px;
    font-size: 15px;
    font-weight: 300;
    background: rgba(64,122,193,1);
    background: -webkit-linear-gradient(-45deg, rgba(64,122,193,1) 0%, rgba(40,88,146,1) 100%);
    background: linear-gradient(135deg, rgba(64,122,193,1) 0%, rgba(40,88,146,1) 100%);
}

a.all-btn:hover, a.copy-btn:hover, #button-blue:hover {
    background: rgba(0,0,0,1);
    background: -webkit-linear-gradient(top, rgba(0,0,0,1) 0%, rgba(40,88,146,1) 100%);
    background: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(40,88,146,1) 100%);
}

a.all-btn i, a.copy-btn i {
    color: #adc7e5;
}

a.all-btn:hover i, a.copy-btn:hover i {
    color: #fff;
}

a.copy-btn:hover {
    color: #fff !important;
}

a.denplan-btn {
    background: rgba(122,174,44,1);
    background: -webkit-linear-gradient(-45deg, rgba(122,174,44,1) 0%, rgba(79,103,31,1) 100%);
    background: linear-gradient(135deg, rgba(122,174,44,1) 0%, rgba(79,103,31,1) 100%);
}

a.denplan-btn:hover {
    background: rgba(105,129,57,1);
    background: -webkit-linear-gradient(-45deg, rgba(105,129,57,1) 0%, rgba(79,103,31,1) 100%);
    background: linear-gradient(135deg, rgba(105,129,57,1) 0%, rgba(79,103,31,1) 100%);
}

a.denplan-btn i {
    color: #c1e090;
}

.aligncenter, div.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignright, .alignleft, .alignnone, .video-right, .video-youtube, .video-full {
    padding: 10px;
    background: #fff;
    border: 1px #eee solid;
    box-sizing: border-box;
}

.alignright {
    float: right;
    margin: 0 0 10px 20px;
}

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

.video-right, .video-youtube {
    float: right;
    margin: 5px 0 10px 20px;
}

.video-full {
    float: left;
}

.video-right iframe, .video-full iframe {
    display: block;
}

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

.grey-box {
    padding: 30px;
    background: #f6f6f6;
    margin-bottom: 30px;
}

.grey-box img {
    width: 100%;
    height: auto;
}

/* header content */
.logo {
    width: 390px;
    height: 140px;
    margin: 0;
    float: left;
}

.contact-details {
    float: right;
    margin: 75px 0 0;
    text-align: right;
    font-size: 14px;
    line-height: 24px;
}

.call-us {
    font-size: 36px;
}

.call-us small {
    font-size: 18px;
}

.social-icons {
    position: absolute;
    z-index: 20;
    top: -10px;
    right: 0;
}

.social-icons {
    margin: 10px 1px 0;
    padding: 10px;
    width: 42px;
    font-size: 1em;
    color: #fff;
    text-align: center;
}

.social-icons:hover {
    color: #fff;
}

.google-button {
    background: rgba(64,122,193,1);
    background: -webkit-linear-gradient(top, rgba(64,122,193,1) 0%, rgba(40,88,146,1) 100%);
    background: linear-gradient(to bottom, rgba(64,122,193,1) 0%, rgba(40,88,146,1) 100%);
    padding: 10px;
    max-width: 210px;
    width: 100%;
    text-align: center;
    -webkit-transition-duration: 0.4s;
    /* Safari */
    transition-duration: 0.4s;
}

.google-button a {
    font-weight: bold;
    color: #fff;
    font-size: 17px;
}

.google-button:hover {
    background: #D44833;
}

.fb-icon, .twitter-icon, .google-icon {
    background: rgba(64,122,193,1);
    background: -webkit-linear-gradient(top, rgba(64,122,193,1) 0%, rgba(40,88,146,1) 100%);
    background: linear-gradient(to bottom, rgba(64,122,193,1) 0%, rgba(40,88,146,1) 100%);
}

.denplan-icon {
    background: rgba(122,174,44,1);
    background: -webkit-linear-gradient(-45deg, rgba(122,174,44,1) 0%, rgba(79,103,31,1) 100%);
    background: linear-gradient(135deg, rgba(122,174,44,1) 0%, rgba(79,103,31,1) 100%);
}

.twitter-icon {
    right: 63px;
}

.google-icon {
    right: 126px;
}

.fb-icon:hover {
    background: #36609f;
}

.twitter-icon:hover {
    background: #2caae1;
}

.google-icon:hover {
    background: #db4a38;
}

/* Navigation */
nav {
    margin: 0 auto;
    padding: 0;
    position: absolute;
    right: 0;
    top: 145px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    position: relative;
    float: left;
    line-height: 16px;
    margin: 0 1px;
    border-top: 1px solid #eee;
    border-right: 1px solid #eee;
    border-left: 1px solid #eee;
}

nav a {
    display: block;
    text-decoration: none;
    text-align: center;
    font-size: 15px;
    font-weight: normal;
    color: #171c2a;
    padding: 20px;
}

nav a, a.copy-btn {
    background: rgba(255,255,255,1);
    background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(246,246,246,1) 47%, rgba(237,237,237,1) 100%);
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(246,246,246,1) 47%, rgba(237,237,237,1) 100%);
}

nav a:hover {
    background: rgba(237,237,237,1);
    cursor: pointer;
}

nav ul ul {
    background: #74371a;
    background: rgba(116,55,26,0);
    list-style: none;
    position: absolute;
    left: -9999px;
}

nav ul ul li {
    padding-top: 0px;
    float: none;
}

nav ul ul a {
    white-space: nowrap;
}

nav ul li:hover ul {
    left: 0;
}

nav ul li:hover ul li a {
    background: #74371a;
    -webkit-border-radius: 0;
    border-radius: 0;
    border-top: 1px solid #834122;
    color: #fff;
}

nav ul li:hover ul a {
    text-decoration: none;
}

nav ul li:hover ul li a:hover {
    background: #995332;
}

/* font-awesome */
.fa-1 {
    font-size: 1.5em !important;
}

.fa-2 {
    font-size: 2em !important;
}

.fa-3 {
    font-size: 2.4em !important;
}

.fa-4 {
    font-size: 3em !important;
}

.fa-5 {
    font-size: 4.4em !important;
}

.fa-6 {
    font-size: 1.15em !important;
}

.fa-ul {
    padding-left: 20px !important;
}

.fa-li {
    top: .33185714em !important;
    padding: 2px 10px 0 30px;
}

.fa-check-square {
    margin-left: -30px;
    color: #d49a6a;
}

/* columns */
.col-50,.col-45,.col-44,.col-66,.col-33,.col-31,.col-29,.col-25,.col-23,.col-20,.col-10 {
    float: left;
}

.col-50 {
    width: 50%;
}

.col-45 {
    width: 45%;
}

.col-44 {
    width: 44%;
    padding: 0 3%;
}

.col-66 {
    width: 66.66666667%;
}

.col-33 {
    width: 33.33333333%;
}

.col-31 {
    width: 31.33333333%;
    padding: 1%;
}

.col-29 {
    width: 29.33333333%;
    padding: 1%;
}

.col-25 {
    width: 25%;
}

.col-23 {
    width: 23%;
    padding: 1%;
}

.col-20 {
    width: 20%;
    text-align: center;
}

.col-10 {
    width: 10%;
}

/* contact form */
.form p {
    margin: 3px 0;
}

.feedback-input {
    color: #333;
    font-weight: 300;
    font-size: 13px;
    border-radius: 0;
    line-height: 20px;
    background: whitesmoke;
    padding: 4px 5% 4px 10%;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    border: 2px solid rgba(0,0,0,0);
}

.feedback-input:focus {
    background: rgba(255,255,255,.8);
    box-shadow: 0;
    border: 2px solid #88a1be;
    color: #121212;
    outline: none;
    padding: 4px 5% 4px 12%;
}

/* Icons ---------------------------------- */
#name, #tel, #email, #comment {
    background-size: 34px 18px;
    background-position: 9px 5px;
    background-repeat: no-repeat;
}

#name {
    background-image: url(images/form/name.svg);
}

#tel {
    background-image: url(images/form/tel.svg);
}

#email {
    background-image: url(images/form/email.svg);
}

#comment {
    background-image: url(images/form/comment.svg);
}

textarea {
    width: 100%;
    height: 110px;
    line-height: 150%;
    resize: vertical;
    margin-top: 1px;
}

input:hover, textarea:hover, input:focus, textarea:focus {
    background-color: rgba(255,255,255,.8);
}

#button-blue {
    float: left;
    width: 100%;
    cursor: pointer;
    color: white;
    outline: none;
    font-size: 14px;
    margin-top: 0;
    letter-spacing: 0.02em;
    padding: 13px 20px 12px;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

/* slider-wrapper */
.slider-wrapper {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 10;
    border-bottom: 10px solid #fff;
}

/* text area */
.content-wrapper {
    width: 100%;
    margin: 30px 0;
}

.top--130 {
    position: relative;
    top: -130px;
    margin-bottom: -130px;
}

.text-area {
    width: 1140px;
    padding: 30px 30px 60px;
    position: relative;
    z-index: 11;
    margin: 0 auto;
    background: rgba(255,255,255,1);
    background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 70%, rgba(255,255,255,0.7) 85%, rgba(255,255,255,0) 100%);
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 70%, rgba(255,255,255,0.7) 85%, rgba(255,255,255,0) 100%);
}

.text-area h1 {
    line-height: 1.1;
    margin: 0 0 20px;
    padding: 0 0 10px 0;
    border-bottom: 1px solid #f6f6f6;
}

.text-area h1 small {
    font-size: 0.8em;
    letter-spacing: normal;
}

.content-column img {
    max-width: 100%;
    height: auto;
    box-sizing: border-box;
}

.left-text {
    float: left;
    width: calc(100% - 400px);
    padding-right: 30px;
    border-right: 1px solid #f6f6f6;
}

/* Sidebar */
.sidebar {
    float: right;
    width: 340px;
}

.widget-title {
    font-size: 22px;
    font-weight: 400;
    border-bottom: 1px solid #f6f6f6;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar li {
    border-bottom: 1px solid #f6f6f6;
    margin: 5px 0;
}

.sidebar li a {
    display: block;
    padding: 10px;
    font-size: 15px;
}

.sidebar li a:hover {
    background: #f6f6f6;
}

/* Fees Table */
.fees-table {
    width: 100%;
    margin: 1em 0;
    border-collapse: collapse;
}

.fees-table th {
    font-size: 16px;
    padding: 10px 10px;
    color: #fff;
    background: rgba(64,122,193,1);
    background: -webkit-linear-gradient(top, rgba(64,122,193,1) 0%, rgba(40,88,146,1) 100%);
    background: linear-gradient(to bottom, rgba(64,122,193,1) 0%, rgba(40,88,146,1) 100%);
}

.fees-table td {
    font-size: 14px;
    padding: 5px 10px;
    border: 1px solid #eee;
}

.aesthetic-fees td {
    padding: 10px;
}

/* Download Buttons */
ul.download-buttons {
    list-style: none;
    margin: 0;
}

.download-buttons li {
    float: left;
    width: 25%;
}

.download-buttons a {
    display: block;
    padding: 40px 0 30px;
    font-size: 14px;
    text-transform: uppercase;
    margin: 10px;
    text-align: center;
    background: #233E7A;
    color: #fff;
}

.download-buttons .fa {
    font-size: 60px;
    margin-bottom: 20px;
}

.download-buttons a:hover {
    background: #407ac1
}

/* quicklinks */
.quicklinks {
    position: relative;
    z-index: 100;
    width: 100%;
    margin: 0;
    padding: 0 0 20px;
}

.ch-item {
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.ch-img-denplan {
    background-image: url(images/quicklinks/denplan.png);
}

.ch-img-cosmetic {
    background-image: url(images/quicklinks/cosmetic.png);
}

.ch-img-therapist {
    background-image: url(images/quicklinks/therapist.png);
}

.ch-img-implants {
    background-image: url(images/quicklinks/implants.png);
}

.ch-img-straightening {
    background-image: url(images/quicklinks/straightening.png);
}

.ch-img-whitening {
    background-image: url(images/quicklinks/whitening.png);
}

.ch-img-referral {
    background-image: url(images/quicklinks/referral.png);
}

.ch-img-nervous {
    background-image: url(images/quicklinks/nervous.png);
}

.ch-img-preventive {
    background-image: url(images/quicklinks/preventive.png);
}

.ch-img-clear-correct {
    background-image: url(images/quicklinks/clear-correct.png);
}

.ch-info {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    background: url(images/quicklinks/bg.png) no-repeat;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -o-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    -webkit-backface-visibility: hidden;
    /*for a smooth font */
}

.ch-info-denplan {
    background: url(images/quicklinks/bg-denplan.png) no-repeat;
}

.ch-info h3 {
    color: #fff;
    position: relative;
    letter-spacing: 0.01em;
    font-size: 24px;
    line-height: 30px;
    margin: 0 15px;
    padding: 60px 0 0 0;
    font-weight: 300;
}

.ch-info p {
    color: #fff;
    padding: 10px 5px;
    font-style: italic;
    margin: 0 30px;
    font-size: 12px;
}

.ch-info p a {
    display: block;
    color: #fff;
    color: rgba(255,255,255,0.7);
    font-style: normal;
    text-transform: uppercase;
    font-size: 9px;
    letter-spacing: 1px;
    padding-top: 4px;
    background: rgba(0,0,0,0.2);
    width: 120px;
    padding: 10px 0;
    margin: 5px auto 0;
    padding: 6px 6px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    text-decoration: none;
}

.ch-info p a:hover {
    background: rgba(0,0,0,0.5);
    color: #fff;
}

.ch-item:hover {
    box-shadow: inset 0 0 0 110px rgba(200, 162, 200, 0.33), inset 0 0 0 16px rgba(200, 162, 200, 0.33), 0 1px 2px rgba(200, 162, 200, 0.74);
}

.ch-item:hover .ch-info {
    opacity: 1;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -o-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.ch-grid {
    padding: 0;
    list-style: none;
    display: block;
    text-align: center;
    width: 1140px;
    margin: 0 auto;
}

.ch-grid:after, .ch-item:before {
    content: '';
    display: table;
}

.ch-grid:after {
    clear: both;
}

.ch-grid li {
    width: 211px;
    height: 211px;
    display: inline-block;
    margin: 8px;
}

.ch-grid li:first-child {
    margin: 8px 8px 8px 0;
}

.ch-grid li:last-child {
    margin: 8px 0 8px 8px;
}

/* Blog Styles */
.blog-index-holder {
    float: left;
    width: 30%;
    margin: 1.5%;
    background: #f6f6f6;
    text-align: center;
}

.blog-image {
    width: 100%;
    overflow: hidden;
}

.blog-image a {
    display: block;
}

.blog-image img {
    width: 100%;
    height: auto;
}

.blog-image:hover {
    opacity: 0.8;
}

.blog-content {
    padding: 10px 20px 30px;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.blog-content h2 {
    font-weight: 400;
    font-size: 20px;
}

.blog-date {
    margin: 3px;
}

/* Testimonials */
.testimonial-wrap {
    margin: 0 0 2em;
    background: #f3f3f3;
    padding: 30px;
    border-radius: 8px;
}

span.testimonial-highlight {
    font-family: 'Handlee';
    font-size: 1.5em;
    color: #263c78;
    line-height: 1.4;
}

cite {
    font-style: normal;
    font-weight: bold;
    float: right;
}

.testimonial-body {
    position: relative;
}

.testimonial-body p:first-of-type {
    margin-top: 0;
}

.testimonial-body:after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 30px;
    background: -moz-linear-gradient(top, rgba(243,243,243,0) 0%, rgba(243,243,243,1) 100%);
    background: -webkit-linear-gradient(top, rgba(243,243,243,0) 0%,rgba(243,243,243,1) 100%);
    background: linear-gradient(to bottom, rgba(243,243,243,0) 0%,rgba(243,243,243,1) 100%);
}

.testimonial-body[aria-expanded="true"]:after {
    display: none;
}

.testimonial-body[data-readmore] {
    transition: height 300ms;
    overflow: hidden;
}

.testimonial-body + [data-readmore-toggle] {
    display: block;
    text-align: center;
    padding: 15px 0;
    width: 180px;
    background: #263c78;
    color: #fff;
    margin: 15px auto;
    border-radius: 5px;
}

.testimonial-body + [data-readmore-toggle]:hover {
    padding: 18px 0 12px;
}

/* social section */
.social-wrapper {
    width: 100%;
    padding: 50px 0;
    height: auto;
    overflow-y: hidden;
    background: white;
}

.social-wrapper h2 {
    font-size: 40px;
    font-weight: 300;
    letter-spacing: -0.03em;
    margin: 0 0 -10px;
}

.social-wrapper .fa {
    margin: 0 0 20px;
}

.social-wrapper .fa-facebook {
    color: #36609f;
}

.social-wrapper .fa-twitter {
    color: #2caae1;
}

.social-wrapper textarea {
    height: 215px;
}

/* Map */
.map-wrapper {
    padding: 15px;
    background: #fff;
}

/* Footer */
.social-footer-section ul li {
    max-width: 33.33%;
    width: 100%;
    display: inline-block;
    vertical-align: top;
    padding: 20px;
}

.social-footer-section ul {
    padding: 0;
    margin: 0;
}

.footer-wrapper h3 {
    font-size: 26px;
    margin: 0 0 30px;
    font-weight: 400;
}

.footer-wrapper h4 {
    font-size: 30px;
    font-weight: 300;
    margin: 0 0 20px;
}

.footer-wrapper h2, .footer-wrapper h3, .footer-wrapper h4 {
    color: #fff;
}

.footer-wrapper h5 {
    color: #a6bddd;
}

.footer-wrapper .fa-5 {
    font-size: 7em !important;
    color: rgba(255, 255, 255, 0.2);
}

.footer-wrapper hr {
    background: rgba(255, 255, 255, 0.1);
}

.footer-wrapper .fa-mobile {
    font-size: 0.8em;
}

.footer-wrapper {
    background: #121212;
    background: url(images/bg-footer.jpg);
    background: cover;
    padding: 50px 0 140px;
    color: #fff;
    overflow: auto;
    border-top: 10px solid #fff;
}

/* return to top */
#return-to-top {
    position: fixed;
    bottom: 2%;
    right: 2%;
    color: #fff;
    background: rgba(0,0,0,.2);
    width: 50px;
    height: 50px;
    display: block;
    text-decoration: none;
    z-index: 9999;
    display: none;
    -webkit-border-radius: 45px;
    -moz-border-radius: 45px;
    border-radius: 45px;
}

#return-to-top i {
    color: #fff;
    margin: 0;
    position: relative;
    left: 16px;
    top: 10px;
    font-size: 19px;
}

#return-to-top:hover {
    background: rgba(0,0,0,.4);
}

#return-to-top:hover i {
    top: 5px;
}

/* clear any elements that contain floated divs */
header:after, section:after, .slider-wrapper:after, .text-area:after, .blog-index-holder:after, .grey-box:after {
    content: ".";
    clear: both;
    height: 0;
    display: block;
    visibility: hidden;
}

/* transitions */
a, .feedback-input, a.all-btn, .fb-icon, .twitter-icon, .google-icon, #return-to-top, #return-to-top i, #button-blue, a.denplan-btn, .blog-image, .logo {
    -webkit-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
}

/* =============================================
3.0  JB Slider ---------------------------------
============================================= */
.JB_FWS * {
    margin: 0;
    padding: 0;
}

.JB_FWS {
    width: 100%;
    height: 424px;
    float: left;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.JB_Button_Left, .JB_Button_Right {
    padding: 15px;
    width: 11px;
    height: 15px;
    background-image: url(images/slider/left_arrow.png);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    position: absolute;
    top: 198px;
    left: 20px;
    cursor: pointer;
}

.JB_Button_Left_BG, .JB_Button_Right_BG {
    padding: 15px;
    width: 11px;
    height: 11px;
    background: rgba(255,255,255,1);
    opacity: 0.90;
    position: absolute;
    top: 200px;
    left: 20px;
    -webkit-border-radius: 45px;
    -moz-border-radius: 45px;
    border-radius: 45px;
}

.JB_Button_Right {
    background-image: url(images/slider/right_arrow.png);
    right: 20px;
    left: inherit;
}

.JB_Button_Right_BG {
    right: 20px;
    left: inherit;
}

.JB_Container {
    width: 9999px;
    height: 424px;
    margin: 0 auto;
    position: absolute;
    overflow: hidden;
    left: 0;
    cursor: hand;
    cursor: pointer;
}

.JB_Slide {
    height: 424px;
    float: left;
    position: relative;
}

.JB_Slide_Content {
    width: 1164px;
    margin: 0 auto;
    margin-top: 20px;
    position: relative;
}

.JB_Slide_Content a.all-btn {
    padding: 10px 25px;
}

.JB_Slide_Content h5 {
    font-size: 22px;
    margin: -10px 0 10px;
}

.JB_Slide_Half {
    width: 52%;
    float: left;
}

.JB_Slide_Half p {
    margin: -5px 0 10px;
    color: #646b73;
}

.JB_Pagination {
    width: 100%;
    height: 20px;
    position: absolute;
    bottom: 120px;
    left: 0;
}

.JB_Pages {
    display: table;
    margin: 0 auto;
}

.JB_Page {
    background-image: url(images/slider/pagination_button.png);
    background-repeat: no-repeat;
    background-position: 0px 0px;
    width: 21px;
    height: 20px;
    float: left;
    margin-left: 5px;
    cursor: pointer;
}

.JB_Page:hover, .JB_Page.active {
    background-position: -21px 0px;
}

.big_text {
    font-size: 32px;
    font-weight: 300;
    margin: 100px 0 10px 0;
    line-height: 42px;
    color: #407ac1;
}

.big_text img {
    margin: 0 0 -10px;
}

.team-item {
    margin-bottom: 80px;
}

.team-item:after {
    content: '';
    clear: both;
    display: block;
}

.team-item img {
    float: left;
    margin-right: 20px;
}

/* mobile navigation */
.mobile-nav-wrapper {
    width: 100%;
    height: 50px;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    background: rgba(64,122,193,1);
    background: -webkit-linear-gradient(top, rgba(64,122,193,1) 0%, rgba(40,88,146,1) 100%);
    background: linear-gradient(to bottom, rgba(64,122,193,1) 0%, rgba(40,88,146,1) 100%);
    display: none;
}

.mobile-nav {
    margin: 0 auto;
    padding: 0;
}

.mobile-nav ul {
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav ul li {
    position: relative;
    float: left;
    line-height: 16px;
    width: calc(79% / 5);
    padding: 18px 2% 15px;
    border-right: 1px rgba(255,255,255,.1) solid;
}

.mobile-nav ul li:last-child {
    border-right: none;
}

.mobile-nav ul li a {
    display: block;
    text-decoration: none;
    text-align: center;
    font-size: 1em;
    font-weight: normal;
    text-transform: uppercase;
    color: #fff;
    display: block;
}

.mobile-nav ul li a:hover {
    background: rgba(255,255,255,.2);
}

.mobile-nav ul li .fa {
    font-size: 1.3em;
}

/* gdpr check box */
.gdpr-left {
    float: left;
    font-size: 13px;
    line-height: 18px;
    padding: 10px;
    width: calc(100% - 75px);
    text-align: left;
}

.gdpr-check {
    float: right;
    width: 20px;
    text-align: right;
    padding: 10px;
}

input[type="checkbox"] {
    width: 15px !important;
    margin-left: 10px !important;
}

.gdpr-small {
    font-size: 11px;
    text-align: center;
    padding-top: 9px;
    clear: both;
}

/* END gdpr check box */
.ddl-cookies-happy {
    background-color: #9ab95d !important;
}

#ddl-cookies-header {
    background-color: #3e78bf !important;
}

a.popup-resource {
    padding: 20px;
    display: block;
    text-align: center;
    background-color: #407ac1;
    color: white;
}

img.bda-logo {
    max-width: 300px;
    height: auto;
    margin: 25px 0 0 0;
    background: white;
    padding: 10px;
}

/* =============================================
4.0  Media Queries -----------------------------
============================================= */
@media only screen and (max-width: 1240px) {
    .JB_Button_Right,.JB_Button_Right_BG,.JB_Button_Left,.JB_Button_Left_BG {
        display: none !important;
    }

    section {
        width: 98% !important;
        margin: 0 1%;
    }

    .text-area {
        width: 96% !important;
        margin: 2% 0 0;
        padding: 1% 2%;
    }

    .ch-grid {
        width: 100% !important;
        margin: 0;
    }

    .top--130 {
        top: 0;
        margin-bottom: 0;
    }

    .content-wrapper {
        margin: 0;
    }

    .ch-grid li {
        width: 180px;
        height: 180px;
    }

    .ch-item {
        background-size: cover;
        background-position: center;
    }

    .ch-info h3 {
        font-size: 18px;
        line-height: 26px;
        padding: 40px 0 0 0;
    }

    .ch-info p a {
        width: inherit;
        margin: 2px auto;
    }

    .blog-index-holder {
        width: 46%;
        margin: 2%;
    }

    .left-text {
        width: calc(100% - 260px);
    }

    .sidebar {
        width: 220px;
    }

    .slider-wrapper {
        border: none;
    }
}

@media only screen and (max-width: 1140px) {
}

@media only screen and (max-width: 1100px) {
    .contact-details {
        font-size: 13px;
    }

    .call-us small {
        font-size: 16px;
    }

    .call-us {
        font-size: 30px;
    }

    .logo {
        width: 170px;
    }

    .logo img {
        width: 100%;
    }

    nav {
        top: 151px;
    }

    nav a {
        font-size: 13px;
    }

    nav ul li {
        line-height: 8px;
    }

    .JB_FWS {
        height: 400px !important;
    }

    .JB_Slide_Content {
        width: 96%;
        margin: 2% auto;
    }

    .JB_Pagination {
        bottom: 10px;
    }

    .video-full,.video-full iframe {
        width: 100%;
        border: none;
    }
}

@media only screen and (max-width: 1040px) {
    .quicklinks-list li:last-child {
        display: none;
    }
}

@media only screen and (max-width: 900px) {
    .social-footer-section ul li {
        display: block;
        max-width: 50%;
        margin: 0 auto;
        text-align: center;
    }

    nav a {
        padding: 20px 13px;
    }

    a.all-btn, a.copy-btn, #button-blue, a.denplan-btn {
        padding: 9px 10px 9px;
        font-size: 13px;
    }
}

@media only screen and (max-width: 836px) {
    .ch-grid li {
        width: 22%;
        margin: 1%;
    }

    .ch-info p {
        margin: 0 5px;
    }
}

@media only screen and (max-width: 800px) {
    .facebook-col {
        display: none;
    }

    .form-col {
        width: 98% !important;
    }

    .social-wrapper textarea {
        height: 200px;
    }

    .team-item img {
        width: 20%;
        height: auto;
    }

    .one_half {
        width: 100%;
    }

    .one_half div {
        padding: 0 !important
    }

    .testimonial-wrap {
        padding: 3% !important;
    }

    .video-right, .video-youtube {
        margin: 0 0 10px 20px;
        width: 300px;
        height: 225px;
    }

    .video-right iframe, .video-youtube iframe {
        width: 100%;
        height: 100%;
    }

    .video-full {
        margin: 30px 0;
    }

    .alignright {
        width: 100%;
        margin: 0;
    }
}

@media only screen and (max-width: 700px) {
    .social-icons,.contact-details,nav,.footer-ohours {
        display: none;
    }

    .mobile-nav-wrapper {
        display: block;
    }

    header {
        max-height: 220px;
        border-top: 5px solid rgba(64,122,193,1);
    }

    .logo {
        width: 180px;
        margin: 0 auto;
        margin-top: 45px;
    }

    .alignright {
        width: 100%;
        height: auto;
        margin: 0;
    }

    body {
        font-size: 13px;
    }

    h1 {
        font-size: 2.2em;
    }

    h5 {
        font-size: 16px;
    }

    p {
        line-height: 20px;
        margin: 12px 0;
    }

    .left-text {
        width: 100%;
        padding: 0;
        border: none;
    }

    .sidebar {
        width: 100%;
    }

    .ch-grid li:first-child,.ch-grid li:last-child {
        margin: 1%;
    }

    .quicklinks-list li:last-child {
        display: none;
    }

    .ch-grid li {
        width: 46%;
        margin: 1%;
        height: 280px;
    }

    .ch-info {
        background-size: cover;
    }
}

@media only screen and (max-width: 600px) {
    .ch-grid li {
        height: 250px;
    }

    .video-right, .video-youtube {
        margin: 0 0 10px 20px;
        width: 250px;
        height: 192px;
        padding: 0;
        border: none;
    }

    .video-right iframe, .video-youtube iframe {
        width: 100%;
        height: 100%;
    }

    .download-buttons li {
        width: 48%;
        padding: 1%;
    }

    .big_text {
        margin: 50px 0 10px;
    }

    .JB_Slide_Half {
        width: 96%;
        padding: 0 2%;
    }

    .JB_Slide_Content {
        text-align: center;
    }

    .JB_Slide div {
        opacity: 0.2;
    }

    .slider-wrapper {
        background: #fff;
    }

    .JB_Slide_Content,.JB_Slide_Half {
        opacity: 1 !important;
    }

    .JB_FWS {
        height: 360px !important;
    }
}

@media only screen and (max-width: 500px) {
    .ch-grid li {
        height: 200px;
    }

    .blog-index-holder {
        width: 96%;
    }
}

@media only screen and (max-width: 450px) {
    .social-wrapper h2 {
        font-size: 2.4em;
    }

    .video-right, .video-youtube {
        width: 100%;
        margin: 0 0 20px 0;
    }
}

@media only screen and (max-width: 420px) {
    .social-wrapper h2 {
        font-size: 2.4em;
    }
}


a.btn {
    background: rgba(64, 122, 193, 1);
    background: -webkit-linear-gradient(top, rgba(64, 122, 193, 1) 0%, rgba(40, 88, 146, 1) 100%);
    background: linear-gradient(to bottom, rgba(64, 122, 193, 1) 0%, rgba(40, 88, 146, 1) 100%);
    padding: 10px 20px;
    display: inline-block;
    color: white;
}

.sp-easy-accordion .sp-ea-single .ea-header a {
    font-size: 18px;
}