/**
  Theme Name: Specialist Dental Theme
  Version: 3
  Author: Dental Design Products
  Author URI: http://www.dental-design-products.co.uk
  */

/* =======================
-------- Contents --------
==========================

1.0 Normalize
2.0 Page Layout & Styles
3.0 ???
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;max-width: 100%;box-sizing: border-box;height: auto;}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;box-sizing: border-box;border: 1px solid #aaa;padding: 5px;width: 100%;}optgroup{font-weight:700}button,select{text-transform:none}[type=reset], [type=submit], button, html [type=button], [role=button]{-webkit-appearance:button;background: #2b353d;color: #fff;width: 100%;max-width: 800px;display: block;margin: 10px auto;font-size: 20px;padding: 10px;border: 0;border-bottom: 5px solid #6d8090;cursor: pointer;border-radius: 10px;text-align: center;box-sizing: border-box;}[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 ---------------------
============================================= */

body .fws2 * {
    margin: 0;
    padding: 0;
    line-height: 1;
}

body {
    background: #fff;
    font-size: 15px;
}

/* font colours */

body,nav a {
    color: #32373a;
}

.JB_Slide_Content h5,h2,#button-blue:hover {
    color: #4c565c;
}

h5,.brown-text,a.brown-btn i,.social-wrapper h5 {
    color: #a18e87;
}

.white-text,.phone-no,.address {
    color: #fff;
}

.lightblue-text,.phone {
    color: #d5dadd;
}


/* font styles */

h1, h2, h3, h4, h5, h6, nav, header, .home-box-right blockquote, a.all-btn, #button-submit, input, textarea, th{
    font-family: 'Droid Serif',serif;
    font-weight: 300;
    text-transform: uppercase;
}

body, .JB_Slide_Content h5,.quicklinks-text h3 {
    font-family: 'PT Sans',sans-serif;
    font-weight: 400;
}

/* bg colours */

.JB_Slide_Content h2,.welcome-section,#button-blue {
    background: #4c565c;
}

.JB_Slide_Content h5,a.brown-btn:hover {
    background: #a18e87;
}

h1 {
    color: #016644;
    margin: 10px 0 0;
    font-size: 32px;
}

h2 {
    font-size: 24px;
    margin: 20px 0 0;
}

h3 {
    font-size: 22px;
    color: #d96e38;
    margin: 20px 0;
}

h4 {
    font-size: 20px;
    margin: 20px 0;
    color: #aaa;
}

h5 {
    font-size: 16px;
    font-weight: 300;
    margin: 20px 0;
    line-height: 26px;
}

h6 {
    font-size: 15px;
    color: #f6f6f6;
    margin: 20px 0 10px;
}

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

strong {
    font-weight: 700;
}

small {
    font-size: .8em;
}

p {
    margin: 20px 0;
}

p,ul,ol {
    line-height: 24px;
}

ul,ol {
    margin: 0 40px;
}

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

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

a {
    color: #61a0c5;
    text-decoration: none;
}

a:hover {
    color: #5f879f;
}

blockquote {
    background: #f9f9f9;
    border-left: 10px solid #6b7e8e;
    margin: 2em 0;
    padding: 1.5em 20px;
    quotes: "\201C""\201D""\2018""\2019";
    font-weight: 300;
    font-size: 16px;
    line-height: 28px;
    overflow: auto;
}

blockquote:before {
    color: #6b7e8e;
    content: "\f10d";
    font-family: "FontAwesome";
    font-size: 2em;
    line-height: .1em;
    margin-right: .25em;
}

blockquote p:first-of-type {
    display: inline;
}

blockquote p:last-of-type {
    margin-bottom: 0;
}

cite {
    font-weight: 600;
}

iframe {
    max-width: 100%;
}

.aligncenter,div.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding: 8px;
    background: #fbfbfb;
    border: 1px solid #e6e6e6;
}

.alignright {
    float: right;
    margin: 0 0 10px 20px;
    padding: 8px;
    background: #fbfbfb;
    border: 1px solid #e6e6e6;
    text-align: center;
    clear: right;
}

.alignleft {
    float: left;
    margin: 0 20px 10px 0;
    padding: 8px;
    background: #fbfbfb;
    border: 1px solid #e6e6e6;
    text-align: center;
}

.alignnone {
    margin: 10px;
}

.video-right {
    float: right;
    margin: 0px 0 10px 20px;
    padding: 8px;
    background: #fbfbfb;
    border: 1px solid #e6e6e6;
    text-align: center;
    clear: right;
}

.video-right iframe {
    display: block;
    margin: auto;
}

a.all-btn,a.google-btn,a.brown-btn {
    padding: 13px 20px 12px;
    text-decoration: none;
    position: relative;
    z-index: 9998;
    margin-top: 20px;
    font-size: 15px;
    top: 20px;
    background: #61a0c5;
    border: 1px solid #61a0c5;
    color: #fff;
    border-radius: 20px;
}

a.all-btn:hover,a.google-btn:hover,a.brown-btn:hover {
    background: #fff;
    border: 1px solid #61a0c5;
    color: #61a0c5;
}

a.all-btn i,a.google-btn i,a.brown-btn i {
    margin-right: 10px;
}

a.google-btn:hover i {
    color: #fff;
}

a.google-btn i {
    color: #fff;
}

a.google-btn {
    color: #fff;
    background: #db4a38;
    border: 1px solid #b7372c;
}

a.google-btn:hover {
    background: #f6f6f6;
    border: 1px solid #ccc;
    color: #383d40;
}

a.google-btn:hover i {
    color: #db4a38;
}

a.brown-btn:hover {
    border: 1px solid #5b4c47;
}

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

/* font-awesome */
.fa-1 {
    font-size: 1.4em !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: 4.6em !important;
}

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

.fa-li {
    top: .43185714em !important;
}

/* header */

header {
    width: 100%;
    margin: 0;
    padding: 30px 0;
    position: relative;
    z-index: 7;
    background: url(images/crossword-blue.png);
}

section {
    max-width: 1200px;
    width: 98%;
    margin: 0 auto;
    position: relative;
}

.logo {
    z-index: 10;
    width: 270px;
    height: 160px;
    margin: 0 auto;
    position: relative;
}

.phone {
    text-align: center;
    font-size: 16px;
    text-transform: uppercase;
    line-height: 26px;
    position: absolute;
    bottom: 0px;
    right: 0;
}

.phone-no {
    font-size: 26px;
    letter-spacing: 0.05em;
}

.phone .fa-phone {
    font-size: 30px;
    margin-bottom: 5px;
}

.address {
    float: left;
    text-align: center;
    font-size: 14px;
    line-height: 22px;
    position: absolute;
    bottom: 0px;
}

.link-side-bar{
    position: absolute;
    left: 8px;
    top:230px;
    width: 40px;
    z-index: 99000;
    padding-top: 53px;
}
.link-side-bar a{
    width: 40px;
    height: 40px;
    text-align: center;
    overflow: hidden;
    display: block;
    color: #fff;
    margin-bottom: 2px;
}
.link-side-bar i{
    width: 40px;
    display: block;
    padding-top: 13px;
    height: 40px;
    float: left;
    font-size: 13px;
    background: rgba(0,0,0,0);
}
.link-side-bar .link-side-hidden{
    width: 230px;
    display: block;
    float: right;
    text-transform: uppercase;
    padding-top: 12px;    
    font-family: 'Droid Serif',serif;
}
.link-side-bar a:hover{
    width: 280px;
}
.link-side-bar a:hover i{
    background: rgba(0,0,0,0.2);
}
.link-side-blue{
    background: #2b353d;
}
.link-side-red{
    background: #2b353d;
}
.link-side-blue:hover{
    background: #61a0c5;
}
.link-side-red:hover{
    background: #db4a38;
}
/* navigation */

.nav-wrapper {
    width: 100%;
    height: 50px;

    z-index: 9999;
    position: relative;

    background: #2b353d;

    border-top: 1px solid #69737a;
    border-bottom: 1px solid #69737a;
}

nav {
    max-width: 1200px;
    width: 100%;
    height: 50px;
    padding: 0;
    margin: 0 auto;
}

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

nav ul li {
    position: relative;
    float: left;
    line-height: 16px;
    width: 116px;
    border-left: 1px solid rgba(90,100,106,.4);
}

nav ul li.nav-icon {
    width: 42px;
}

nav ul li.nav-wide{
    width: 171px;
}

nav ul li:last-child {
    border-right: 1px solid rgba(90,100,106,.4);
}

nav a {
    display: block;
    text-decoration: none;
    text-align: center;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.02em;
    color: #fff;

    padding: 18px 5px 16px;

    background: url(images/nav-arrow.png) center 50px no-repeat;
}

nav a:hover {
    background: url(images/nav-arrow-hover.png) center top no-repeat #4c565c;
    color: #fff;
    padding: 20px 5px 14px;
}

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;
    border-right: 0px !important;
    border-bottom: 1px solid #727272;
    width: auto;
}

nav ul ul li.wide200 {
    width: 200px;
}

nav ul ul a {
    white-space:nowrap;
    padding: 15px;
}

nav ul ul a:hover {
    padding: 20px 15px;
}

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

nav ul li:hover ul li a {
    background: #666;
    -webkit-border-radius: 0;
    border-radius: 0;
    color: #f6f6f6;
    min-width: 170px;
}

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

nav ul li:hover ul li a:hover {
    background:#30667e;
}

/* slider */
.slide-wrapper {
}

.JB_FWS * {
    margin:0;
    padding:0;
}

.JB_FWS {
    width:100%;
    height:424px;
    background:rgba(255, 255, 255, 1);
    float:left;
    position: relative;
    width:100%;
    overflow: hidden;
    top: -50px;
    margin-bottom: -50px;
}

.JB_Button_Left {
    padding:18px;
    width:18px;
    height:18px;
    background-image: url("assets/slider/img/left_arrow.png");
    background-repeat: no-repeat;
    background-position: 50% 50%;
    position: absolute;
    top:250px;
    left:21px;
    cursor: pointer;
}

.JB_Button_Left_BG {
    padding:18px;
    width:18px;
    height:18px;
    background:rgba(255,255,255,1);
    border: 1px solid #ccc;
    opacity:0.90;
    position: absolute;
    top:250px;
    left:20px;
    border-radius: 50%;
}

.JB_Button_Right {
    padding:18px;
    width:18px;
    height:18px;
    background-image: url("assets/slider/img/right_arrow.png");
    background-repeat: no-repeat;
    background-position: 50% 50%;
    position: absolute;
    top:250px;
    right:21px;
    cursor: pointer;
}

.JB_Button_Right_BG {
    padding:18px;
    width:18px;
    height:18px;
    background: rgba(255,255,255,1);
    border: 1px solid #ccc;
    opacity:0.90;
    position: absolute;
    top:250px;
    right:20px;
    border-radius: 50%;
}

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

    cursor:hand;
    cursor:grab!important;
    cursor:-moz-grab;
    cursor: url(https://ddlazstorage.blob.core.windows.net/secureforms/specialistdental/mail/images/2/openhand.cur), pointer!important;
    cursor:-webkit-grab;
}

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

.JB_Slide_Content {
    width:900px;
    margin: 0 auto;
    padding: 200px 0 0;
    position: relative;
    text-align: center;
}

.JB_Slide_Content h2,
.JB_Slide_Content h5 {
    letter-spacing: 0.02em;
}

.JB_Slide_Content h2 {
    font-size: 32px;
    padding: 15px 20px;
    background: rgba(255,255,255,.9);
}

.JB_Slide_Content h5 {
    font-size: 22px;
    margin: 5px 0;
    padding: 13px 30px;
    background: rgba(213,218,220,.9);
}

.JB_Slide_Content .all-btn {
    top: 20px;
}

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

.JB_Slide_Half p {
    margin: 10px 0;
}

.JB_Pagination {
    width:100%;
    height:12px;
    position: absolute;
    top:75px;
    left:0;
}

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

.JB_Page {
    background-image:url("assets/slider/img/pagination_button.png");
    background-repeat: no-repeat;
    background-position: 0px 0px;
    width:13px;
    height:12px;
    float:left;
    margin-left:5px;
    cursor: pointer;
}
.JB_Page:hover, .JB_Page.active  {
    background-position: -13px 0px;
}

.JB_ReadMore {
    float:left;
    margin:15px 1px 0 0;
    position: relative;
}

.JB_ReadMore_BG {
    top:0;
    left:0;
    position: absolute;
    background:#000;
    opacity:0.44;
    width:100%;
    height:100%;
}

.JB_ReadMore a {
    padding:10px 26px 10px 16px;
    position: relative;
    float:left;
    color:#FFF;
    text-decoration: none;
    text-transform: uppercase;
    list-style: none;
    background-image:url("../img/button_arrow.png");
    background-repeat: no-repeat;
    background-position: 90% 50%;
    font-size: 12px;
}
.red-cross{
    color: #a00;
    font-size: 35px;
    position: relative;
}
.image { 
    float:left;
    margin-top:60px;
}

.image iframe {
    border:5px solid #6e8c42;
}

.title {
    font-size:28px;
    color:#012b5d;
    font-weight:300;
    margin-top:60px;
    float:left;
}

.text {
    float:left;
    font-size:13px;
    color:#333;
    line-height:20px;
    margin-top:22px;
}

.list {
    font-size:13px;
    color:#333;
    float:left;
    margin-top:12px;
    line-height:20px;
}

.list li {
    background-image:url(../img/button_arrow.png);
    background-repeat:no-repeat;
    background-position:left;
    text-indent:15px;
    list-style-type:none;
}

.text_box {
    float:left;
    width:400px;
    margin-left:20px;
}

/* Inner Slider */

.inner-slider {
    padding-top: 14%;
    padding-bottom: 50px;
    text-align: center;
    background-color: #eee;
    background-image: url('images/inner-slide/contact.jpg');
    background-size: 150%;
    background-attachment: fixed;
    background-position: center;
}

.inner-slider h1 {
    display: inline-block;
    padding: 15px 50px;
    margin: 0;
    background: rgba(43, 53, 61, 0.85);
    border-bottom: 5px solid #fff;
    color: #fff;
    font-size: 40px;
}

.inner-slider.treatments {
    background-image: url(images/inner-slide/treatment.jpg);
}

/* Homepage sections */

.beautiful-smile {
    width: 100%;
    padding: 0 0 150px;
    clear: both;
}

.beautiful-smile h2,
.social-wrapper h2 {
    font-size: 46px;
    margin: -20px 0 30px;
    letter-spacing: 0.02em;
}

.beautiful-smile .icon-logo,
.welcome-section .icon-logo {
    margin-top: -45px;
    z-index: 9999!important;
    position: relative;
}

.welcome-section {
    width: 100%;
    padding: 0 0 100px;
    background: url(images/crossword-blue.png);
    color: #fff;
}

.welcome-section h5 {
    font-size: 16px;
    color: #d5dadd;
}

.welcome-section h2 {
    font-size: 46px;
    color: #fff;
    margin: -20px 0 30px;
    letter-spacing: 0.02em;
}

.welcome-section h3 {
    font-size: 2em;
    color: #d5dadd;
    line-height: 1.3em;
    letter-spacing: 0;
    padding: 0 10px 20px 10px;
    margin: 20px 0 20px -10px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    text-transform: none;
}

.welcome-section .col-48 {
    text-align: left;
}

.welcome-section a.all-btn {
    padding: 2% 3%;
    top: 20px;
    font-size: 13px;
    display: inline-block;
}

.welcome-section a.all-btn i {
    margin-right: 5px;
}


/* Main Content */

main {
    padding: 50px 0;
}

section#main-content {
    padding-bottom: 50px;
}


/* Tables */

table {
    border-collapse: collapse;
    width: 100%;
}

tr {
    border-bottom: 1px solid #eee;
}

tr:nth-of-type(even) {
    background-color: #fbfbfb;
}

td, th {
    padding: 10px;
    height: 39px;
    vertical-align: top;
}

th {
    font-size: 20px;
    text-align: left;
    background: #2b353d;
    color: #fff;
    font-weight: 100;
    vertical-align: middle;
}

table.fees-table {
    max-width: 800px;
    margin: 30px auto;
}

tr:hover {
    background: #cdd9e4;
}

.fees-table tr:hover td:first-of-type {
    padding-left: 30px;
}

table p {
    margin-top: 0;
}

/* Testimonials */

#testimonial-holder blockquote {
    display: block;
    width: 48%;
    margin: 1%;
    box-sizing: border-box;
    vertical-align: top;
    /* padding: 15px 2%; */
}

#testimonial-holder blockquote:nth-of-type(odd) {
    border-left-color: #2b353d;
}

#testimonial-holder blockquote:nth-of-type(odd):before {
    color: #2b353d;
}

/* Quicklinks */

#quicklinks {
    padding: 50px 0;
    background: #fbfbfb;
}

.quicklink-box {
    position: relative;
    z-index: 1;
    width: 23.5%;
    height: 0;
    padding-bottom: 23.5%;
    float: left;
    margin: 0.75%;
    box-sizing: border-box;
    background: rgba(255,255,255,1);
    text-align: center;
    overflow: hidden;
    border-radius: 50%;
}

.quicklink-box .image-holder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    -webkit-backface-visibility: hidden;
}

.ql-1 {
    background: url(images/quicklinks/ql-1.jpg) center;
    background-size: cover;
}

.ql-2 {
    background: url(images/quicklinks/ql-2.jpg) center;
    background-size: cover;
}

.ql-3 {
    background: url(images/quicklinks/ql-3.jpg) center;
    background-size: cover;
}

.ql-4 {
    background: url(images/quicklinks/ql-4.jpg) center;
    background-size: cover;
}

.ql-5 {
    background: url(images/quicklinks/ql-5.jpg) center;
    background-size: cover;
}

.ql-6 {
    background: url(images/quicklinks/ql-6.jpg) center;
    background-size: cover;
}

.ql-7 {
    background: url(images/quicklinks/ql-7.jpg) center;
    background-size: cover;
}

.ql-8 {
    background: url(images/quicklinks/ql-8.jpg) center;
    background-size: cover;
}

.quicklinks-text, .quicklinks-text-brown {
    position: absolute;
    padding: 20px 15px;
    background: rgba(75,85,90,.6);
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    -webkit-transition-delay: 0.2s;
    transition-delay: 0.2s;
    -moz-transform: translateY(170px);
    -webkit-transform: translateY(170px);
    -o-transform: translateY(170px);
    -ms-transform: translateY(170px);
    transform: translateY(60%);
}

.quicklinks-text-brown {
    background: rgba(160,140,135,.6);
}

.quicklinks-text h3 {
    margin-top:0;
    font-size: 1.3em;
    font-weight: 300;
    color: #fff;

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

    -webkit-transition-delay: 0.1s;
    transition-delay: 0.1s;
}

.quicklinks-text p {
    opacity: 0;
    color: #fff;
    font-size: 0.9em;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.quicklink-box:hover .image-holder {
    -webkit-filter: blur(10px);
    -moz-filter: blur(10px);
    -o-filter: blur(10px);
    -ms-filter: blur(10px);
    filter: blur(10px);
    opacity: 0.6;
}

.quicklink-box:hover .quicklinks-text {
    -moz-transform: translateY(0px);
    -webkit-transform: translateY(0px);
    -o-transform: translateY(0px);
    -ms-transform: translateY(0px);
    transform: translateY(0px);
    padding: 20% 15px;
}

.quicklink-box:hover h3 {
    font-size:120%;
}

.ql-button {
    -moz-transform: translateY(65px);
    -webkit-transform: translateY(65px);
    -o-transform: translateY(65px);
    -ms-transform: translateY(65px);
    transform: translateY(65px);

    -webkit-transition-delay: 0.1s;
    transition-delay: 0.1s;
}

.ql-button:hover {
    background: none;
    color: #fff;
}

.quicklink-box:hover .ql-button {
    opacity: 1;
    -moz-transform: translateY(0px);
    -webkit-transform: translateY(0px);
    -o-transform: translateY(0px);
    -ms-transform: translateY(0px);
    transform: translateY(0px);
}

.quicklink-box:hover .quicklinks-text p {
    opacity: 1;
}

/* Treatment Pages */

.treat-box {
    display: inline-block;
    width: 30%;
    padding: 1%;
    vertical-align: top;
    min-height: 400px;
    margin: 0.5%;
    text-align: center;
    background: #fbfbfb;
}

.treat-box p {
    text-align: justify;
    text-align-last: center;
}

.treat-box ul {
    margin: 20px 0 0;
    list-style: none;
    padding: 0;
}

.treat-box li {
    display: block;
    margin-bottom: 5px;
}

.treat-box li a {
    display: block;
    padding: 5px;
    background: #2b353d;
    color: #fff
}

.treat-box li a:hover {
    background: #465969;
}

.treat-title {
    display: table;
    width: 100%;
    height: 100px;
    background-color: #fff;
    background-size: cover;
}

.treat-title h2 {
    margin: 0;
    display: table-cell;
    vertical-align: middle;
    padding: 5px;
    background: rgba(255, 255, 255, 0.65);
}

.cosmetic {
    background-image: url("images/treatments/cosmetic.jpg");
}

.restorative {
    background-image: url("images/treatments/restore.jpg");
}

.preventive {
    background-image: url("images/treatments/hygiene.jpg");
}

.general {
    background-image: url("images/treatments/perio.jpg");
}

.implant {
    background-image: url("images/treatments/implants.jpg");
}

.ortho {
    background-image: url("images/treatments/ortho.jpg");
}

.face {
    background-image: url("images/treatments/face-beauty.jpg");
}

.endodontics {
    background-image: url("images/treatments/endo.jpg");
}

.oral {
    background-image: url("images/treatments/surgery.jpg");
}

blockquote.offer:before {
    display: none;
}

blockquote.offer h3 {
    margin-top: 0;
}

.cases {
    display: inline-block;
    margin: 1%;
    padding: 1%;
    list-style: none;
    background: #fbfbfb;
    border: 1px solid #eeeeee;
}

.special-offers img {
    width: 300px;
    padding: 10px;
    background: #fbfbfb;
    border: 1px solid #eee;
    margin: 1%;
    box-sizing: border-box;
}

/* Team */

.team {
    width: 23%;
    display: inline-block;
    margin: 0.5%;
    position: relative;
    vertical-align: top;
}

.team img {
    display: block;
    width: 100%;
    height: auto;
}

.team:hover img {
    filter: grayscale(0.7);
}

.team-content {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
}

.team-content h2 {
    margin: 0;
    padding: 10px 2px;
    background: #333;
    color: #fff;
    font-size: 18px;
}

.team-content p {
    margin: 0;
}

.team-content p.team-title {
    background: #2b353d;
    padding: 5px;
    color: #fff;
}

.team > p, .team > a > p, .team > a > br {
    display: none;
}

.read-bio {
    display: block;
    background: #3e4a55;
    padding: 5px;
    text-transform: uppercase;
    color: #fff;
}

.team:hover .read-bio {
    padding: 10px 5px;
}

.team.support .team-content {
    position: static;
}

.team.inner {
    width: 250px;
    float: right;
    margin-left: 30px;
}

/* Hygiene Prices */

#hygiene-prices blockquote {
    width: 48%;
    display: inline-block;
    box-sizing: border-box;
    vertical-align: top;
    margin: 0.5%;
}

#hygiene-prices blockquote:before {
    display: none;
}

#hygiene-prices blockquote:nth-of-type(even) {
    border-left-color: #0d4571
}

/* Contact Page */

.contact-box {
    display: inline-block;
    width: 30%;
    padding: 1%;
    margin: 0.5%;
    margin-bottom: 50px;
    vertical-align: top;
    text-align: center;
    background: #fbfbfb;
    border-radius: 10px;
    min-height: 107px;
}

.contact-box i {
    font-size: 25px;
    width: 25px;
    height: 25px;
    padding: 13px;
    background: #fff;
    border-radius: 50%;
    position: relative;
    top: -20px;
    border: 1px solid;
    margin-bottom: -15px;
    margin-top: -35px;
}

.contact-box.full-width {
    width: 97%;
}

.contact-box.half-width {
    width: 46.5%;
}

.contact-box span {
    font-size: 25px;
    font-weight: 400;
}

.contact-box a {
    font-size: 20px;
}

/* social section */

.social-wrapper {
    width: 100%;
    background: url(images/logo-stamp.png) no-repeat bottom right #fff;
    background-size: 50%;
    padding: 100px 0;
    height: auto;
    overflow-y: hidden;
}

.social-wrapper h2 {
    font-size: 36px;
    margin: 0 0 -10px;
}

.social-wrapper h3 {
    font-size: 24px;
}

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

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

/* contact form */

html {
    background-size: cover;
    height:100%;
}

#feedback-page {
    text-align:center;
}

#form-main {
    width:100%;
    float:left;
    margin: 0 0 20px;
}

#form-div {
    width: 100%;
    float: left;
    min-height: 320px;
}

#form-div p {
    margin: 3px 0;
}

.feedback-input {
    color:#333;
    font-weight:300;
    font-size: 13px;
    border-radius: 0;
    line-height: 20px;
    background: rgba(0,0,0,.05);
    padding: 8px 5% 8px 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(0,0,0,.07);
    box-shadow: 0;
    border: 2px solid #ccc;
    color: #121212;
    outline: none;
    padding: 8px 5% 8px 12%;
}

.focused {
    color:#121212;
    border:rgba(0,0,0,1);
}

/* Referral Forms */

.half-box {
    display: inline-block;
    vertical-align: top;
    width: 48.5%;
    margin: 1%;
}

.half-box:nth-of-type(odd) {
    margin-left: 0;
}

.half-box:nth-of-type(even) {
    margin-right: 0;
}

.half-box td:first-of-type {
    width: 150px;
}

.half-box input, .half-box textarea {
    width: 100%;
    resize: none;
}

#medical td:first-of-type {
    width: 40%;
    vertical-align: top;
}

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

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

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

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

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


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

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

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

textarea {
    width: 100%;
    height: 90px;
    line-height: 150%;
    resize: none;
}

input[type="checkbox"], input[type="radio"] {
    width: auto;
}

input:hover, textarea:hover {
    background: rgba(0,0,0,.06);
}

input:focus, textarea:focus {
    background: rgba(0,0,0,.06);
}

#button-blue {
    float:left;
    width: 100%;
    cursor:pointer;
    color:white;
    font-size:14px;
    margin-top:0;
    letter-spacing: 0.02em;

    padding: 13px 20px 12px;

    color: #fff;
    text-decoration: none;
    cursor: pointer;

    border: 1px solid #61a0c5;
    background: #61a0c5;

    -webkit-border-radius: 45px;
    border-radius: 45px;
}

#button-blue:hover {
    background: #fff;
    border: 1px solid #61a0c5;
    color: #61a0c5;
}

.submit:hover {
    color: #fff;
}

/* columns */

.col-50,
.col-48,
.col-44,
.col-66,
.col-33,
.col-29,
.col-23 {
    float: left;
}

.col-50 {
    width: 50%;
}

.col-48 {
    width: 48%;
    padding: 0 1%;
}

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

.col-66 {
    width: 66.66666667%;
}

.col-33 {
    width: 33.33333333%;
}

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

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

/* footer */

.copyright {
    border-top: 1px solid #eee;
    margin: 0;
    padding: 30px 0 0;
    text-align: center;
    clear: both;
}

/* Return to top */

#return-to-top {
    position: fixed;
    bottom: 20px;
    left: 50%;
    margin-left: -25px;
    color: #4c565c;
    background: #fff;
    border: 1px solid #4c565c;
    width: 50px;
    height: 50px;
    display: block;
    text-decoration: none;
    z-index: 9999;
    display: none;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    border-radius: 50%;
}

#return-to-top i {
    color: #4c565c;
    margin: 0;
    position: relative;
    left: 16px;
    top: 10px;
    font-size: 19px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

#return-to-top:hover {
    background: #4c565c;
}

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

/* clear any elements that contain floated divs */

.nav-wrapper:after,
.slide-wrapper:after,
.beautiful-smile:after {
    content: ".";
    clear: both;
    height: 0;
    display: block;
    visibility: hidden;
}

section:after {
    display: table;
    clear: both;
    content: "";
} 

/* transitions */

a, #return-to-top, #return-to-top i,
.all-btn, .fb-icon, .twitter-icon, .google-icon,
.home-box-left .alignright, .feedback-input, .special-offers-tab,
#button-blue, td, tr, .read-bio, .team img, input, textarea  {
    -webkit-transition: all 200ms ease-in-out;
    -moz-transition: all 200ms ease-in-out;
    -ms-transition: all 200ms ease-in-out;
    -o-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
}

div#wpadminbar, img.responsive-slider-button, div#slider-nivo {
    display: none;
}

a.post-edit-link {
    position: fixed;
    bottom: 0;
    left: 0;
    background: #222;
    display: block;
    padding: 10px 20px;
}

/* =============================================
4.0  Media Queries -----------------------------
============================================= */

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

    .inner-slider {
        background-size: 175%;
    }

}

@media only screen and (max-width: 1280px) {
    .JB_Slide_Content {
        width:600px;
    }

    .text_box {
        width:300px;
    }

    .inner-slider {
        background-attachment: scroll;
        background-size: cover;
        background-position: center !important;
    }

}

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

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

    nav ul#menu-nav {
        display: inline-block;
    }

    nav ul li {
        width: 110px;
    }

    nav ul li.nav-wide{
        width: 145px;
    }
    
}

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

    nav a {
        font-size: 12px;
    }

    nav ul li {
        width: 95px;
    }

    nav ul li.nav-wide{
        width: 125px;
    }

}

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

    .quicklink-box {
        border-radius: 0;
        margin: 0;
        width: 25%;
    }

    .quicklink-box:hover .quicklinks-text {
        padding: 20px 15px;
    }

    .quicklinks-text h3 {
        font-size: 17px;
    }

    .quicklink-box a.all-btn {
        padding: 10px 15px;
        font-size: 14px;
    }

    .welcome-section .col-48 {
        text-align: center;
    }

}

@media only screen and (max-width: 1024px) {
    .JB_Slide_Content {
        width:600px;
    }
    .text_box {width:280px;}
    .title {font-size: 13px;}
    .text {font-size: 12px;}
    .image {
        width: 300px;
        height:187px; 
    }
    
    .image img {
        width: 300px;
        height:187px; 
        margin-top:10px;
    }
    .image iframe {
        width: 289px;
        height:180px;
        margin-top:15px;
    }
    
    .big_text {
        font-size: 26px;
        width: 500px;
    }

    .link-side-bar {
        display: none;
    }
}

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

    li.facebook a {
        background: #3b5998 !important;
    }

    li.twitter a {
        background: #1da1f2 !important;
    }

    li.google-plus a {
        background: #dd4b39 !important;
    }

}

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

    .team {
        width: 31%;
    }

}

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

    .quicklink-box {
        width: 50%;
    }

}

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

    .welcome-section .col-48 {
        width: 98%;
    }

    .welcome-section a.all-btn {
        margin: 5px;
    }


}

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

    #treatments .treat-box {
        width: 45%;
        margin: 10px 1%;
        min-height: auto;
    }

    .treat-box {
        width: 96%;
        min-height: 0;
    }

    .contact-box {
        width: 97%;
    }

}

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

    .quicklinks-text p {
        display: none;
    }

    .social-wrapper .col-29 {
        width: 46%;
    }

    .social-wrapper .col-29:last-of-type {
        width: 96%;
    }

    .team {
        width: 48%;
    }

    .half-box {
        width: 98%;
        margin: 1% !important;
    }

}

@media only screen and (max-width: 700px) {
    .address {
        display: none;
    }
    .phone {
        position: relative;
        margin-top: 15px;
        padding: 10px;
        background: rgba(25, 25, 25, 0.25);
    }
    .phone img {
        display: none;
    }
    .phone br {
        display: none;
    }
    .logo {
        width: 250px;
        height: auto;
    }
    .logo img {
        width: 100%;
        height: auto;
    }
    header {
        padding-bottom: 0;
    }
    .JB_FWS {
        height: 430px !important;
    }
    .JB_Slide_Content h2 {
        font-size: 25px;
    }
    .JB_Slide_Content h5 {
        display: none;
    }
    .JB_Button_Left_BG, .JB_Button_Left, .JB_Button_Right_BG, .JB_Button_Right {
        display: none;
    }
    .JB_Slide_Content {
        max-width: 600px;
        width: 90%;
    }
    .contact-box.half-width {
        width: 97%;
    }
    .beautiful-smile h2,
    .social-wrapper h2,
    .welcome-section h2 {
        font-size: 26px;
    }
}

@media only screen and (max-width: 650px) {
    .social-wrapper .col-29 {
        display: none;
    }
    .social-wrapper .col-29:last-of-type {
        display: block;
    }
    .inner-slider h1 {
        font-size: 30px
    }
    #form_attendance td.half {
        width: auto !important;
        display: block;
        height: auto;
    }
    #form_attendance td.half td {
        width: 50%;
    }
    #form_attendance td.half td input {
        width: 100%;
    }
    #form_attendance table.tableborder > tbody > tr:first-of-type {
        display: block;
        width: 100%;
    }
    #hygiene-prices blockquote {
        width: 98%;
        margin-bottom: 10px;
    }
}

@media only screen and (max-width: 600px) {
    .team.inner {
        float: none;
        margin: 10px auto;
        display: block;
    }
    #testimonial-holder blockquote {
        width: 98%;
    }
    .treat-box {
        width: 96% !important;
    }
    .video-right {
        float: none;
        margin-left: 0;
        text-align: center;
    }
    section {
        width: 90%;
        box-sizing:border-box;
    }
}

@media only screen and (max-width: 550px) {
    .quicklink-box {
        padding-bottom: 30%;
    }
    .team-content {
        position: static;
    }
    td {
        width: 100% !important;
        display: block;
        box-sizing: border-box;
        height: auto;
    }
    .JB_Slide_Content h2 {
        font-size: 20px;
    }
    img.responsive-slider-button {
        display:block;
        margin: 0 auto;
    }
    div#slider-nivo {
        display: block !important;
        width: 100%;
        max-width: 550px;
        height: auto;
        margin: 0;
        z-index: 1!important;
    }

    .JB_FWS {
        display:none;
    }
}

@media only screen and (max-width: 485px) {
    .quicklink-box:nth-of-type(3n+1) {
        display: none;
    }
    .quicklink-box {
        width:100%;
        height:300px;
    }
    .quicklinks-text {
        float:left;
       }

    .team {
        width: 98%;
    }
}

@media only screen and (max-width: 450px) {
    #form_attendance td.half td {
        width: auto;
        display: block;
        padding: 0 5px !important;
    }
    .welcome-section h3 {
        font-size: 18px;
    }
}

@media only screen and (max-width: 400px) {
    body {
        margin: 0;
    }
    article {
        padding: 0 10px;
    }
    table.fees-table td {
        display: block;
        text-align: center;
    }
    table.fees-table tr {
        width: 100%;
        display: block;
    }
    table.fees-table th {
        display: block;
        width: auto;
        text-align: center;
    }
    .inner-slider h1 {
        font-size: 20px
    }
    table.fees-table th:nth-of-type(2) {
        display: none;
    }
}

@media only screen and (max-width: 370px) {
    .quicklinks-text {
        transform: translateY(60%);
    }
    [type=reset], [type=submit], button, html [type=button], [role=button] {
        font-size: 18px;
    }
}