/*
Theme name: Seale Family Dental
Description: Custom Theme
*/

/******* Seale Family Dental WordPress CSS *******/

/* Common elements styling */
/* .post .entry h1 { font-size: 20px; line-height: 30px}
.post .entry h2 { font-size: 18px; line-height: 27px}
.post .entry h3 { font-size: 16px; line-height: 24px}
.post .entry h4 { font-size: 14px; line-height: 21px}
.post .entry h5 { font-size: 12px; line-height: 18px}
.post .entry h6 { font-size: 10px; line-height: 15px}

.post .entry ul { margin-left: 25px; }
.post .entry ol { margin-left: 25px; }
.post .entry a img { border: 0 }

p img { padding: 0;    max-width: 100%; }
img.centered { display: block; margin-left: auto; margin-right: auto; }
img.alignright { margin: 2px 0 2px 7px; display: inline; }
img.alignleft { margin: 2px 7px 2px 0; display: inline; }
.alignright { float: right; display: inline; }
.alignleft { float: left; display: inline; }
.aligncenter, div.aligncenter { display: block; margin-left: auto; margin-right: auto; }

Calendar widget
#wp-calendar { empty-cells: show; margin: 10px auto 0; }
#wp-calendar #next a { padding-right: 10px; text-align: right; }
#wp-calendar #prev a { padding-left: 10px; text-align: left; }
#wp-calendar a { display: block; }
#wp-calendar caption { text-align: center; width: 100%; }
#wp-calendar td { padding: 3px 0; text-align: center; }
.wp-caption { border: 1px solid #ddd; text-align: center; padding-top: 4px; margin: 10px; }
.wp-caption img { margin: 0; padding: 0; border: 0 none; }
 */
/* Big images in rich text editor should not break page layout */
.wp-caption p.wp-caption-text { font-size: 15px; line-height: 17px; padding: 5px 5px 5px; margin: 0;}
.post .entry { overflow: hidden; }

/******* /Seale Family Dental WordPress CSS *******/

/* ------------------------------------------------------------ *\
	#Reset
\* ------------------------------------------------------------ */

* { margin: 0; padding: 0; outline: 0; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }

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

/* ------------------------------------------------------------ *\
	#Base
\* ------------------------------------------------------------ */

body, html { height: 100%; }

body {
    font-family: 'AvantGarde', Arial, sans-serif;
    font-size: 25px;
    line-height: 1.32;
    color: #000;
    background: #bff0ec;
    min-width: 1000px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%; 
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/*	Fonts
	
*/

a { color: #47b3ff; text-decoration: none; cursor: pointer; }
a:hover { text-decoration: underline; }
a img { border: 0; }
img { height: auto; max-width: 100%; font-size: 0; vertical-align: middle; }

h1, h2, h3, h4, h5, h6 { line-height: 1.1; font-weight: normal; }

h1 { }
h2 { }
h3 { }
h4 { }
h5 { }
h6 { }

p { padding-bottom: 21px; }

ul { list-style-position: inside; }
ol { list-style-position: inside; }

table { border-collapse: collapse; border-spacing: 0; }
th,
td { padding: 0; }

/* ------------------------------------------------------------ *\
	#Form Elements
\* ------------------------------------------------------------ */

button,
input,
select,
textarea { font-family: inherit; font-size: inherit; color: inherit; -webkit-font-smoothing:antialiased; }
textarea { overflow: auto; resize: none; -webkit-overflow-scrolling: touch; }

input,
textarea { box-sizing: border-box; max-width: 100%; border-radius: 0; box-shadow: none; }

input[type="radio"],
input[type="checkbox"] { width: auto; height: auto; padding: 0; border: 0; }

button,
input[type="submit"],
input[type="button"],
input[type="reset"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="tel"],
input[type="text"],
input[type="url"],
textarea { -webkit-appearance: none; -moz-appearance: none; appearance: none; border-radius: 0; box-shadow: none; }

button,
input[type="button"],
input[type="reset"],
input[type="submit"] { cursor: pointer; }

button::-moz-focus-inner,
input::-moz-focus-inner { padding: 0; border: 0; }

button { overflow: visible; }
textarea { overflow: auto; resize: none; }

input[type="email"],
input[type="number"],
input[type="password"],
input[type="tel"],
input[type="text"],
input[type="url"],
textarea { width: 100%; padding: 14px 18px; border: 2px solid #fff; font-size: 20px; font-weight: 600; letter-spacing: 1px; background: transparent; box-shadow: 8px 8px 20px rgba(0, 0, 0, .08); }
textarea { height: 57px; }

.gform_wrapper { margin: 18px -40px 0; }
.gform_wrapper ul { list-style: none outside none; }
.gform_heading { display: none; }
.gfield { clear: both; padding: 0 22px 31px; box-sizing: border-box; }
.gfield-medium { clear: none; float: left; width: 50%; }
.gfield-small { clear: none; float: left; width: 33.33%; }

.gfield_label { display: none; }

.gform_footer { margin-top: -7px; }

.gform_button { display: block; width: 246px; height: 57px; border: 2px solid #fff; margin: 0 auto; font-size: 20px; font-weight: 600; letter-spacing: 2px; box-shadow: 8px 8px 20px rgba(0, 0, 0, .08); background: transparent; }
.gform_button:after { content: ''; display: inline-block; width: 11px; height: 16px; margin: -1px 0 1px 10px; vertical-align: middle; background: url(images/link-arrow.png) no-repeat 0 0; }
.gform_button:hover { background: rgba(255, 255, 255, .25); }
.gform_button { position: relative; }
.gform_ajax_spinner { position: absolute!important; left: 67%!important; top: 83%; }

.validation_message,
.validation_error { display: none!important; font-size: 20px;  }

.gfield_error:last-child .validation_message { display: block!important; }

::-webkit-input-placeholder { color: #fff; opacity: 1; -webkit-transition: all 0.3s ease; transition: all 0.3s ease; }
::-moz-placeholder { color: #fff; opacity: 1;-webkit-transition: all 0.3s ease; transition: all 0.3s ease;  }
:-moz-placeholder { color: #fff; opacity: 1; -webkit-transition: all 0.3s ease; transition: all 0.3s ease; }
:-ms-input-placeholder { color: #fff; opacity: 1; -webkit-transition: all 0.3s ease; transition: all 0.3s ease; }

.gform_wrapper .gfield :focus::-webkit-input-placeholder { color: transparent; }
.gform_wrapper .gfield :focus::-moz-placeholder { color: transparent; }
.gform_wrapper .gfield :focus:-moz-placeholder { color: transparent; }
.gform_wrapper .gfield :focus:-ms-input-placeholder { color: transparent; }

.gform_confirmation_wrapper { text-align: center; }

/* ------------------------------------------------------------ *\
	#Helpers
\* ------------------------------------------------------------ */

.cf:before,
.cf:after { content: ' '; display: table; }

.cf:after { clear: both; }

.left,
.alignleft { float: left; }

.right,
.alignright { float: right; }

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

.alignnone { display: block; }

.notext { font-size: 0; color: transparent; }

/* ------------------------------------------------------------ *\
    #WordPress
\* ------------------------------------------------------------ */

img.alignnone,
img.alignleft,
img.alignright,
img.aligncenter,
.wp-caption.alignnone,
.wp-caption.alignleft,
.wp-caption.alignright,
.wp-caption.aligncenter {  margin: 5px 15px 10px; }

img.alignleft,
.wp-caption.alignleft { margin-left: 0; }

img.alignright,
.wp-caption.alignright { margin-right: 0; }

img.aligncenter,
.wp-caption.aligncenter { display: block; margin-left: auto; margin-right: auto; }

img.alignnone,
.wp-caption.alignnone { display: block; margin-left: 0; margin-right: 0; }

.wp-caption { position: relative; }
.wp-caption img { width: 100%; }
.wp-caption-text { position: absolute; bottom: 0; left: 0; right: 0; padding: 5px 10px; background: rgba(0, 0, 0, 0.5); color: #fff; }

/* Gallery */

.gallery { position: relative; overflow: hidden; padding-bottom: 20px; }
.gallery .wp-caption-text { right: 10px; bottom: 10px; left: 10px; }
.gallery-item { float: left; position: relative; padding: 10px; box-sizing: border-box; }
.gallery-item img { width: 100%; }

.gallery-columns-1 .gallery-item { width: 100%; }
.gallery-columns-2 .gallery-item { width: 50%; }
.gallery-columns-3 .gallery-item { width: 33.33%; }
.gallery-columns-4 .gallery-item { width: 25%; }
.gallery-columns-5 .gallery-item { width: 20%; }
.gallery-columns-6 .gallery-item { width: 16.67%; }
.gallery-columns-7 .gallery-item { width: 14.29%; }
.gallery-columns-8 .gallery-item { width: 12.5%; }
.gallery-columns-9 .gallery-item { width: 11.11%; }

.gallery-columns-7 .wp-caption,
.gallery-columns-8 .wp-caption,
.gallery-columns-9 .wp-caption { display: none; }

/* Search Form */

.search-form { position: relative; overflow: hidden; }
.search-form .search-field { display: block; width: 100%; padding: 10px; border: 1px solid #ccc; background: #f7f7f7; }
.search-form .search-field:focus { background-color: #fff; }
.search-form .search-field::-webkit-input-placeholder { color: #777; }
.search-form .search-field::-moz-placeholder { color: #777; }
.search-form .search-field:-ms-input-placeholder { color: #777; }
.search-form .search-field::placeholder { color: #777; }
.search-form .screen-reader-text { position: absolute; top: 0; left: 0; width: 0; height: 0; opacity: 0; }

/* Paging */

.paging { padding: 0 0 20px; text-align: center; }
.paging ul { list-style: none outside none; }
.paging ul,
.paging li { display: inline-block; vertical-align: top; }
.paging li { padding: 0 2px; }
.paging a { display: inline-block; padding: 4px 10px; border: 1px solid #000; border-radius: 4px; }
.paging .current a,
.paging a:hover { text-decoration: none; background: rgba(255, 255, 255, .25); }

.paging-label { padding-right: 10px; }

.paging-prev { float: left; }
.paging-next { float: right; }

/* Buttons */

.paging a,
.search-submit,
.comments .comment-reply a,
.btn { display: inline-block; padding: 15px 51px 12px 44px; border: 2px solid #fff; margin-top: 11px; font-size: 20px; letter-spacing: 2px; font-weight: 600; color: #fff; box-shadow: 8px 8px 20px rgba(0, 0, 0, .1); }
.submit { display: inline-block; padding: 15px 51px 12px 44px; border: 2px solid #fff; margin-top: 11px; font-size: 20px; letter-spacing: 2px; font-weight: 600; color: #fff; box-shadow: 8px 8px 20px rgba(0, 0, 0, .1); background: none; }
.search-submit:after,
.comments .comment-reply a:after,
.btn:after { content: ''; display: inline-block; vertical-align: middle; width: 11px; height: 16px; margin: -1px 0 1px 10px; background: url(images/link-arrow.png) no-repeat 0 0; }
.submit:after { content: ''; display: inline-block; vertical-align: middle; width: 11px; height: 16px; margin: -1px 0 1px 10px; background: url(images/link-arrow.png) no-repeat 0 0; }
.search-submit:hover,
.comments .comment-reply a:hover,
.btn:hover { text-decoration: none; background: rgba(255, 255, 255, .25)!important; }
.submit:hover { text-decoration: none; background: rgba(255, 255, 255, .25); }

/* ------------------------------------------------------------ *\
	#Containers
\* ------------------------------------------------------------ */

.wrapper { background: #fff; }

.shell { max-width: 1222px; margin: 0 auto; padding: 0 164px;  }

/* ------------------------------------------------------------ *\
	#Header
\* ------------------------------------------------------------ */

.header { position: fixed; top: 0; right: 0; left: 0; z-index: 200; padding: 38px 0; }
.header:before,
.header:after { content: ''; position: absolute; top: 0; height: 100%; display: block; background: url(images/header-bg.png); }
.header:before { right: 0; left: 50%; margin-left: 626px; }
.header:after { right: 50%; left: 0; margin-right: 611px; }
.header .shell { position: relative; }
.header .shell:before { position: absolute; top: -38px; bottom: -38px; left: 540px; right: 215px; display: block; background: url(images/header-bg.png); }
.header .contacts { position: absolute; top: 100%; left: 164px; display: none; margin-top: 74px; font-size: 19px; line-height: 1.6; letter-spacing: .4px; color: rgba(255, 255, 255, .5); }
.header .contacts a { color: rgba(255, 255, 255, .5); }
.header .contacts a:hover { text-decoration: none; }
.header .contacts .phone { border-bottom: 1px dashed rgba(255, 255, 255, .5); }
.header .contacts a:hover { color: rgba(255, 255, 255, 1); }

.logo { position: relative; float: left; width: 376px; height: 66px; background: url(images/logo.png) no-repeat 0 0; }
.logo:before,
.logo:after { content: ''; position: absolute; left: 0; width: 100%; height: 38px; background: url(images/header-bg.png); cursor: default; }
.logo:before { bottom: 100%; }
.logo:after { top: 100%; }

.nav-toggle { position: relative; float: right; width: 66px; height: 66px; margin-right: -15px; background: url(images/nav-toggle.png) no-repeat 0 0; }
.nav-toggle:before,
.nav-toggle:after { content: ''; position: absolute; left: 0; width: 100%; height: 38px; background: url(images/header-bg.png); cursor: default; }
.nav-toggle:before { bottom: 100%; }
.nav-toggle:after { top: 100%; }

.panel { position: fixed; top: 0; right: -370px; z-index: 300; bottom: 0; width: 370px; padding: 142px 0 308px; background: #5ba9e1; }
.panel .top { position: absolute; top: 0; left: 0; width: 100%; height: 142px; background: #6bb3e4; }
.panel .top .close { position: absolute; top: 50%; left: 50%; width: 66px; height: 66px; margin: -33px; background: url(images/close.png) no-repeat 0 0; }
.show-panel .panel { right: 0; z-index: 800; }

.socials { position: absolute; right: 20px; bottom: 213px; left: 20px; }
.socials ul { list-style: none outside none; font-size: 0; text-align: center; }
.socials li { display: inline-block; vertical-align: top; margin: 0 13px; }
.socials a { opacity: .5; }
.socials a:hover { opacity: 1; }

.nav { padding: 0 42px; height: 100%; font-size: 30px; text-align: center; }
.nav .menu { list-style: none outside none; display: table; width: 100%; height: 100%; }
.nav .menu li { display: table-row; vertical-align: middle; }
.nav .menu a { display: table-cell; vertical-align: middle; color: #fff; opacity: .75; background: url(images/nav-border.png) repeat-x center bottom; }
.nav .menu a:hover { text-decoration: none; opacity: 1; }

/* ------------------------------------------------------------ *\
	#Footer
\* ------------------------------------------------------------ */

.footer { position: relative; z-index: 100; height: 330px; padding: 68px 0; font-size: 15px; line-height: 1.47; font-weight: 500; color: #00c4b4; background: #bff0ec; }
.footer p { padding-bottom: 22px; }
.footer a { color: #00c4b4; }
.footer .widgets { padding-bottom: 51px; }
.footer .widget { float: left; width: 23.4%; margin-right: 2.13%; }
.footer .widget:last-child { margin-right: 0; }
.footer .widget-title { display: inline-block; padding: 5px 0; border-bottom: 1px dashed #0dc7b7; margin-bottom: 19px; font-size: 15px; letter-spacing: 2px; font-weight: 600; }
.footer .widget ul { list-style: none outside none; }
.footer .widget li { padding-bottom: 8px; }

.footer-logo { float: right; width: 90px; height: 90px; margin: -40px  1px 0 0; background: url(images/footer-logo.png) no-repeat 0 0; }

.credits { float: left; width: 50%; text-align: left; }
.credits a { text-decoration: underline; }

.footer .prev-section { position: absolute; top: -127px; right: 165px; z-index: 9999; display: block; width: 40px; height: 27px; background: url(images/arrow-up.png) no-repeat 0 0; } 

.copyright { float: right; width: 50%; text-align: right; }

/* ------------------------------------------------------------ *\
	#Nav sections
\* ------------------------------------------------------------ */

.nav-sections { position: fixed; bottom: 97px; right: 85px; width: 200px; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; font-weight: 500; text-align: center; line-height: 1.2; z-index: 400; }
.nav-sections a { display: inline-block; padding-bottom: 2px; border-bottom: 1px dashed transparent; color: rgba(255, 255, 255, .75); }
.nav-sections a:hover { text-decoration: none; color: rgba(255, 255, 255, 1); }
.nav-sections .arrow { display: block; width: 40px; height: 27px; margin: 0 auto; background: url(images/arrow-down.png) no-repeat 0 0; opacity: .75; }
.nav-sections .arrow:hover { opacity: 1; }
.nav-sections .menu { position: relative; overflow: hidden; list-style: none outside none; max-height: 0; margin-bottom: 20px; opacity: 0; }
.nav-sections:hover .menu  { max-height: 400px; opacity: 1; }
.nav-sections .menu li { padding-bottom: 10px; }
.nav-sections .menu li.current a { border-color: rgba(255, 255, 255, .75); }
.nav-sections .menu li.current a:hover { border-color: rgba(255, 255, 255, 1); }

.show-panel .nav-sections .menu { display: none; }

.section { position: relative; z-index: 40; }
.section .shell { position: relative; }

/* ------------------------------------------------------------ *\
	#Sections
\* ------------------------------------------------------------ */

.smile { position: fixed; top: 50%; left: 50%; width: 230px; z-index: 500; height: 115px; margin: 0 -115px; background: url(images/smile.png) no-repeat center top; }

.fan { display: block; width: 56px; height: 28px; background: url(images/fan.png) no-repeat 0 0; }

.section { position: relative; z-index: 60; color: #fff; }
.section a { color: #fff; }

.section-image { position: relative; width: 230px; min-height: 230px; margin: 0 auto 0; }
.section-image img { display: block; }
.section-image .image { position: relative; z-index: 20; }
.section-image .shadow { position: absolute; top: 0; left: 0; max-width: none; }
.section-image .overlay { position: absolute; top: 0; left: 0; z-index: 30; opacity: 0; }

.section-holder { position: absolute; top: 50%; left: 0; right: 0; height: 230px; -webkit-transform: translateY(-50%) translateZ(0); -ms-transform: translateY(-50%) translateZ(0); transform: translateY(-50%) translateZ(0); }

.section-top,
.section-middle,
.section-bottom { position: absolute; left: 0; right: 0; margin: 32px 348px; font-weight: 500; letter-spacing: 1.4px; }
.section-top { bottom: 100%; }
.section-bottom { top: 100%; }
.section-middle { top: 50%; -webkit-transform: translateY(-50%); -ms-transform: translateY(-50%); transform: translateY(-50%); }

.link-circle { position: relative; width: 46px; height: 37px; padding-top: 9px; margin-top: -32px; font-size: 10px; line-height: 1.3; text-align: center; border-radius: 50%; }
.link-circle:before { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; margin: -2px; border: 2px solid #fff; border-radius: 50%; }
.link-circle.alignleft { margin-left: 25px; }
.link-circle.alignright { margin-right: 25px; }
.link-circle:hover { text-decoration: none; }

.section-title { margin-bottom: 27px; font-size: 25px; font-weight: 600; letter-spacing: 2.6px; text-align: center; }
.section-title span { display: inline-block; border-bottom: 1px solid; }

.section-links:first-child { padding-top: 91px; }
.section-links { font-size: 0; text-align: center; }
.section-links a { display: inline-block; padding: 15px 51px 12px 44px; border: 2px solid #fff; margin: 0 13px 10px; font-size: 20px; letter-spacing: 2px; font-weight: 600; color: #fff; box-shadow: 8px 8px 20px rgba(0, 0, 0, .1); }
.section-links a:after { content: ''; display: inline-block; vertical-align: middle; width: 11px; height: 16px; margin: -2px 0 0 2px; background: url(images/link-arrow.png) no-repeat 0 0; }
.section-links a:hover { text-decoration: none; background: rgba(255, 255, 255, .25); }

.section-home .section-title { margin: 40px 0 -65px; text-align: center; font-size: 45px; font-weight: 500; letter-spacing: 2px; }
.section-home .section-title span { position: relative; border: 0; }
.section-home .section-title .fan { position: absolute; top: -29px; left: -14px; overflow: hidden; }
.section-home .section-title .fan:after { content: ''; display: block; position: absolute; bottom: 0; width: 100%; height: 100%; background: #3e96db; -webkit-transform-origin: center bottom; transform-origin: center bottom; }
.section-home .section-title .fan:after { right: 0; -webkit-transform: rotate(0deg); -ms-transform: rotate(0deg); transform: rotate(0deg); }
.section-home .section-title .fan.done:after { -webkit-transform: rotate(180deg); -ms-transform: rotate(180deg); transform: rotate(180deg); }

.section-entry { padding: 74px 0 56px; }
.section-entry .section-title { margin-bottom: 20px; }
.section-entry .entry { padding: 0 208px; }

.section-doctor { padding: 100px 0 115px; }
.section-doctor .entry { position: relative; overflow: hidden; padding: 0 103px; font-weight: 500; letter-spacing: 1px; }
.section-doctor .entry h3 { padding-bottom: 38px; font-size: 25px; font-weight: 600; }
.section-doctor .image { margin: 0 0 0 103px; border-radius: 50%; }

.section-team { padding: 90px 0 50px; }
.section-team .section-title { margin-bottom: 51px; }
.section-team .image { position: relative; overflow: hidden; display: block; width: 287px; height: 287px; margin-bottom: 36px; border-radius: 50%; }
.section-team .image img { display: block; border-radius: 50%; }
.section-team li:hover .image { background: #3e96db;}
.section-team li:hover .image img  { opacity: 0.25; }
.section-team ul { list-style: none outside none; margin: 0 -14px; font-size: 0; letter-spacing: 1px; text-align: center; }
.section-team li { display: inline-block; vertical-align: top; margin: 0 12px 30px; font-size: 15px; font-weight: 500; }
.section-team li h3 { padding-bottom: 6px; font-size: 25px; font-weight: 500; letter-spacing: 2px; }
.section-team li a { color: inherit; }
.section-team li a:hover { text-decoration: none; }
.section-team .popup { display: none; }
.section-team ul li p { max-width: 194px; margin: 0 auto; }

.popup { max-width: 602px; padding: 78px 103px; margin: 0 auto; background: #fff; color: #8d827a; font-size: 25px; line-height: 1.2; }
.popup h3 { padding-bottom: 31px; font-size: 25px; font-weight: 600; text-decoration: underline; }
.popup .entry { font-weight: 500; }
.popup .info { padding-top: 21px; font-size: 15px; font-weight: 500; }
.popup .info span { padding-right: 30px; }
.popup .info a { color: inherit; }

.mfp-inline-holder .mfp-content { width: auto; }
.mfp-bg { background: #3e96db; }

.section-our-services { z-index: 110; padding: 61px 0 120px; background: #d1cac3; }
.section-our-services .section-title { margin-bottom: 21px; }
.section-our-services .entry { padding: 0 208px 50px; }
.section-our-services ul { list-style: none outside none; font-size: 0; text-align: center; }
.section-our-services li { position: relative; z-index: 10; display: inline-block; vertical-align: top; width: 266px; margin: 0 22px 15px; background: #8a8581; }
.section-our-services li:hover { background: #3e96db; }
.section-our-services h4 { position: relative; padding: 16px 35px 16px 18px; border: 2px solid #fff; font-size: 20px; font-weight: 500; letter-spacing: -0.2px; text-align: left; cursor: pointer; }
.section-our-services h4:before,
.section-our-services h4:after { content: ''; position: absolute; top: 50%; right: 20px; width: 19px; height: 12px; margin-top: -6px; background: url(images/select-arrow.png) no-repeat 0 0; opacity: 1; }
.section-our-services h4:after { background-position: 0 bottom; -webkit-transform: rotate(180deg); -ms-transform: rotate(180deg); transform: rotate(180deg); opacity: 0; }
.section-our-services .text { position: absolute; top: 100%; left: 0; right: 0; overflow: hidden; padding: 0 18px; max-height: 0; border: 2px solid #fff; border-top-width: 0; margin-top: -2px; font-size: 15px; line-height: 1.47; font-weight: 500; letter-spacing: .6px; text-align: left; background: #8a8581; }
.section-our-services p:last-child { padding-bottom: 0; }
.section-our-services li.active { background: #cfe4f5; color: #3e96db; z-index: 60; }
.section-our-services li.active .text { max-height: 200px; padding-bottom: 19px; background: #cfe4f5; }
.section-our-services li.active h4:before { opacity: 0; -webkit-transform: rotate(-180deg); -ms-transform: rotate(-180deg); transform: rotate(-180deg); }
.section-our-services li.active h4:after { -webkit-transform: rotate(0deg); -ms-transform: rotate(0deg); transform: rotate(0deg); opacity: 1; }

.section-contact .section-links { display: none; }

.page-template-contact .section-contact { padding: 78px 0; background: #3e96db; color: #fff; }
.page-template-contact .section-contact .section-title { margin-bottom: 23px; }
.page-template-contact .section-contact .entry { padding: 0 202px; }
.page-template-contact .section-contact .gform_wrapper { max-width: 934px; margin: 44px auto 0; }
.page-template-contact .section-contact .gform_wrapper textarea { height: 145px; }

.page-template-contact .section-location { position: relative; padding: 63px 0 70px; background: #c1b8af; }
.page-template-contact .section-location .shell { position: static; }
.page-template-contact .section-location .entry { float: right; width: 378px; font-weight: 500; letter-spacing: 1px; }
.page-template-contact .section-location .entry p { padding-bottom: 33px; }
.page-template-contact .section-location .map { position: absolute; top: 0; left: 0; bottom: 0; right: 50%; margin-right: -162px; background: #3e96db; }

.section-services ul { list-style: none outside none; position: relative; overflow: hidden; padding: 13px 0 44px; text-align: center; }
.section-services ul li { float: left; width: 33.33%; padding: 0 0 8px; font-size: 19px; color: #3e96db; }
.section-services.two-columns ul li { width: 50%; }
.section-services.four-columns ul li { width: 25%; font-size: 15px; }

.section-slider .slides { list-style: none outside none; }
.section-slider .slides li { position: relative; overflow: hidden; height: 500px; }
.section-slider .slides li { display: none; }
.section-slider .slides li:first-child { display: block; }
.section-bottom-slide { position: absolute; top: 50%; margin: 32px 248px; font-size: 20px; }

.has-thumbnail { padding-top: 55px!important; }

.article-simple { position: relative; padding: 200px 0 70px; background: rgb(137, 199, 235); color: #fff; }
.article-simple a { color: #3e96db; font-weight: bold; }
.article-simple ol.articles { list-style: none; }
.article-simple .pagetitle { margin-bottom: 30px; }
.article-simple .comments { list-style: none; }

.article { margin-bottom: 20px; }

.error404 .article-simple { text-align: center; }
.error404 .search-form { width: 90%; margin: 0 auto; color: #777; }
.error404 .search-form .search-submit { display: block; position: relative; opacity: 1; width: 200px; height: auto; margin: 10px auto; padding: 5px; background: none; }
.search .article p:last-child { padding-bottom: 0; }

.section-comments { padding-top: 15px; }
.section-comments p { padding-bottom: 18.2px; }
.section-comments ol,
.section-comments ul { padding: 0; margin: 0; list-style: none outside none; }
.section-comments h3 { position: relative; padding: 0 0 10px; }
.section-comments h3 small { position: absolute; top: 0; right: 0; }

.comments,
.comments .children { position: relative; } 
.comments .children:before,
.comments .children:after { content: ''; position: absolute; display: block; } 
.comments .children:before { top: 33px; left: 23px; width: 32px; height: 27px; border-left: 8px solid #c3c3c3; border-bottom: 8px solid #c3c3c3; border-radius: 0 0 0 8px; }
.comments .children:after { top: -5px; left: 8px; border: 20px solid transparent; border-width: 20px 19px; border-bottom-color: #c3c3c3;  } 

.comments .comment { position: relative; border-top: 1px dashed #fff; }
.comments .children { padding-left: 70px; } 
.comments .avatar { position: absolute; top: 28px; left: 0; width: 48px; height: 48px; border-radius: 50%; border: 1px solid #ccc; } 
.comments .says { padding-left: 5px; } 
.comments .moderation-notice { display: inline-block; margin: 3px 0 8px; color: #999; } 

.comments .comment-entry { position: relative; padding: 30px 0 30px 65px; } 

.comments .comment-text p:last-child { padding-bottom: 0; margin-bottom: 0; }

.comments .comment-reply { padding-top: 10px; text-align: right; } 

.comment-respond { width: 100%; padding-top: 30px; border-top: 1px solid #fff; }
.comment-respond h3 { position: relative; }
.comment-respond small { position: absolute; top: 0; right: 0; }
.comment-respond .required { color: #e40000; }
.comment-respond .comment-notes { padding-top: 15px; }
.comment-form-comment textarea { height: 145px; }

.nocomments { padding-top: 12px; font-weight: bold; font-size: 18px; }

/* ------------------------------------------------------------ *\
	#Featured Image
\* ------------------------------------------------------------ */

.featured-image { position: relative; overflow: hidden; width: 100%; height: 600px; color: #fff; text-align: center; background: #4d9fde; }
.featured-image .image { position: fixed; top: 0; left: 0; width: 100%; height: 600px; background: transparent no-repeat center center; background-size: cover;opacity: .25; }
.featured-image-content { position: absolute; top: 50%; left: 0; width: 100%; margin-top: 70px; -webkit-transform: translateY(-50%); -ms-transform: translateY(-50%); transform: translateY(-50%); }
.featured-image-content h2 { font-size: 45px; font-weight: 500; letter-spacing: 2px; }

/* -----------------------------------------wp-caption-text------------------- *\
    #Pages
\* ------------------------------------------------------------ */

.home .header .contacts { display: block; }

/* ------------------------------------------------------------ *\
	#Animations
\* ------------------------------------------------------------ */

.sections { position: relative; overflow: hidden; margin-top: 0; }
.sections .gradient,
.sections .section { height: 100vh; -webkit-backface-visibility: hidden; backface-visibility: hidden; }

.no-scroll { overflow: hidden; }

.scroll-pane { position: relative; overflow: hidden; }

.animations-activated .section-image .overlay { opacity: 0; }
.animations-activated .animate-in .section-image .overlay { opacity: 1; }
.animations-activated .section.active .section-holder { position: fixed; }

.animations-activated .section-image .overlay { -webkit-transition: opacity 0.6s ease; transition: opacity 0.6s ease; }

.animations-activated .section-slider .section-image .overlay { opacity: 0; }
 .overlay  {  }

.animations-activated .section-slider .section-image .overlay { opacity: 0; -webkit-transition: opacity 0.6s ease 0.9s; transition: opacity 0.6s ease 0.9s; }
.animations-activated .animate-in .section-slider .flex-active-slide .section-image .overlay { opacity: 1; }


.animations-activated .sections { -webkit-transition: all 0.8s ease; transition: all 0.8s ease; }


.smile { visibility: visible; opacity: 1; -webkit-transition: all 0.1s ease; transition: all 0.1s ease; }
.show-footer .smile { visibility: hidden; opacity: 0; }

.nav-sections,
.prev-section { visibility: visible; opacity: 1; -webkit-backface-visibility: hidden; backface-visibility: hidden; -webkit-transition: all 0.3s ease; transition: all 0.3s ease; }
.prev-section { visibility: hidden; opacity: 0; }

.show-footer .nav-sections { visibility: hidden; opacity: 0; }
.show-footer .prev-section { visibility: visible; opacity: 1; }


.link-circle:hover:before { -webkit-animation: pulse 1.4s infinite; animation: pulse 1.4s infinite; }

.panel .top .close { -webkit-transition: all 0.5s ease; transition: all 0.5s ease; }
.panel .top .close:hover { -webkit-transform: rotate(90deg);-ms-transform: rotate(90deg);transform: rotate(90deg) }

@-webkit-keyframes pulse {
    0% {-webkit-transform: scale(1); }
    70% {-webkit-transform: scale(1.2); }
    100% {-webkit-transform: scale(1); }
} 

@keyframes pulse {
    0% {-webkit-transform: scale(1); }
    70% {-webkit-transform: scale(1.2); }
    100% {-webkit-transform: scale(1); }
}

.on-top .nav-sections .arrow { -webkit-animation: bounce 1s infinite; animation: bounce 1s infinite; }
.on-top .nav-sections:hover .arrow  { -webkit-animation-play-state: paused; animation-play-state: paused; }

@-webkit-keyframes bounce {
    0% { -webkit-transform: translateY(0%); -ms-transform: translateY(0%); transform: translateY(0%); }
    50% { -webkit-transform: translateY(-40%); -ms-transform: translateY(-40%); transform: translateY(-40%); }
    100% { -webkit-transform: translateY(0%); -ms-transform: translateY(0%); transform: translateY(0%); }
} 

@keyframes bounce {
    0% { -webkit-transform: translateY(0%); -ms-transform: translateY(0%); transform: translateY(0%); }
    50% { -webkit-transform: translateY(-40%); -ms-transform: translateY(-40%); transform: translateY(-40%); }
    100% { -webkit-transform: translateY(0%); -ms-transform: translateY(0%); transform: translateY(0%); }
}

.header { padding: 15px 0; }
.header .shell:before { top: -15px; bottom: -15px; left: 392px; right: 189px; }
.header .contacts { margin-top: 28px; font-size: 14px; }

.logo { width: 228px; height: 40px; background-size: 100% 100%; }
.nav-toggle { width: 40px; height: 40px; background-size: 100% 100%; }

.nav-toggle:before,
.nav-toggle:after { height: 15px; }

.nav { font-size: 20px; }

.logo:before,
.logo:after { height: 15px; }

.panel { padding-top: 70px; }
.panel .top { height: 70px; }
.panel .top .close { width: 40px; height: 40px; margin: -20px; background-size: 100% 100%; }


/* ------------------------------------------------------------ *\
	#Transitions
\* ------------------------------------------------------------ */

a,
.section-team .image,
.section-team .image img,
.form-submit .submit,
.search-form .search-submit { -webkit-transition: background 0.3s ease, color 0.3s ease, opacity 0.3s ease; transition: background 0.3s ease, color 0.3s ease, opacity 0.3s ease; }

.panel { -webkit-transition: right 0.4s ease; transition: right 0.4s ease; }

.scroll-pane { position: absolute; top: 0; left: 0; width: 100%; }

.header .contacts { -webkit-transition: all 0.6s ease; transition: all 0.6s ease; }

.nav-sections .menu { -webkit-transition: all .3s linear; transition: all .3s linear; }

.section-home .section-title .fan:before,
.section-home .section-title .fan:after { -webkit-transition: all 1.6s linear; transition: all 1.6s linear; }
.section-home .section-title .fan:before { -webkit-transition-delay: .9s; transition-delay: .9s; }

.section-our-services li,
.section-our-services h4:before,
.section-our-services h4:after,
.section-our-services .text { -webkit-transition: all 0.6s ease; transition: all 0.6s ease; }

/* ------------------------------------------------------------ *\
    #Custom Scroll
\* ------------------------------------------------------------ */

.mCSB_inside > .mCSB_container { margin-right: 0; }
.mCSB_scrollTools { z-index: 9999; }
.mCSB_scrollTools .mCSB_draggerRail { background: transparent; }

.mobile-nav { display: none; }

/* ------------------------------------------------------------ *\
	#Responsive
\* ------------------------------------------------------------ */


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

	body { min-width: 0; }

	.header:before { right: auto; left: 0; width: 164px; margin: 0; }
	.header:after { right: 0; left: auto; width: 149px; margin: 0; }


}

@media screen and (max-width: 1360px), screen and (max-height: 950px) {

    body { font-size: 18px; }

    .header .contacts { left: 94px; margin-top: 50px; }

    .section-top,
    .section-middle,
    .section-bottom { margin: 32px 302px; }

    .section-links a { font-size: 16px; }

    .page-template-contact .section-location .map { margin-right: 10px; }

    .section-entry .entry { padding: 0 100px; }

    .section-doctor .image { max-width: 30%; margin-left: 0; }

    .section-our-services .entry,
    .section-entry .entry {  max-width: 800px; margin: 0 auto; }

    .page-template-contact .section-contact .entry { max-width: 818px; margin: 0 auto; }
    .page-template-contact .section-contact .gform_wrapper { display:block; }


}

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

    .section-holder { margin-top: 39px; }

    .smile { margin-top: 39px; }

    .section-links:first-child { padding-top: 45px; }
}

@media screen and (max-width: 1280px), screen and (max-height: 860px) {
    body { font-size: 18px; }

    input[type="email"],
    input[type="number"],
    input[type="password"],
    input[type="tel"],
    input[type="text"],
    input[type="url"],
    textarea { font-size: 12px; }

    .gfield { padding-bottom: 20px; }

    .shell { padding-left: 80px; padding-right: 80px; }

    .nav-sections { bottom: 30px; right: 28px; }

    .nav { font-size: 20px; }

    .header:before { right: auto; left: 0; width: 80px; margin: 0; }
    .header:after { right: 0; left: auto; width: 65px; margin: 0; }
    .header .shell:before { left: 308px; right: 105px; }

    .section-title { margin-bottom: 15px; }
    
    .panel { right: -260px; width: 260px; padding: 142px 0 250px; }

    .socials { bottom: 138px; }
    .socials img { width: 40px; }

    .gfield { padding-bottom: 20px; }

    .smile { margin-top: -20px; }

    .section-top,
    .section-middle,
    .section-bottom { max-width: 950px; margin: 5px auto; }

    .section .section-holder p:last-child { padding-bottom: 0; }

    .section-holder { margin-top: 14px;  }

    .section-links:first-child { padding-top: 30px; }
    .section-links a { padding: 10px 26px; font-size: 16px; }

    .featured-image,
    .featured-image .image { height: 400px; }
    .featured-image-content { margin-top: 30px; }
    .featured-image-content h2 { font-size: 30px; }

    .section-doctor { padding: 60px 0; }
    .section-doctor .image { margin-left: 0; margin-right: 40px; max-width: 30%; }
    .section-doctor .entry { padding: 0 30px; }

    .section-entry .entry { padding: 0 30px; }

    .section-team .image { width: 194px; height: 194px; margin-bottom: 16px; }
    .section-team li { margin-bottom: 10px; }
    .section-team li h3 { font-size: 20px; letter-spacing: 1px; }
    
    .section-our-services { padding-bottom: 90px; }
    .section-our-services .entry { padding: 0 30px 50px; }
    .section-our-services li { margin: 0 10px 15px; }

    .footer .widget { width: 30.33%; margin-right: 3%; }

    .page-template-contact .section-location .map { margin-right: 10px; }

    .section-image { width: 200px; min-height: 200px; }
    .section-image .shadow { top: 4px; left: 2px; max-width: 290px; }

    .smile { width: 200px; height: 100px; margin: 0 -100px; background-size: 100% 100%; }
    
    .footer .prev-section { right: 107px; top: -60px; }

    .page-template-contact .section-contact .entry { padding: 0 40px; }

}

@media screen and (max-width: 1280px), screen and (max-height: 600px), screen and (min-height: 760px) {

    body { font-size: 15px; }

    .header .contacts { margin-top: 25px; }

    .section-top { margin-bottom: -2px; }

    .section-location .section-links:first-child { padding-top: 0; }

    textarea { height: 47px; }

    .gfield { padding-bottom: 10px; }
    
    .section-services ul { padding-top: 3px; padding-bottom: 4px; }

}

@media screen and (min-width: 1382px) and (max-height: 860px) {

    .header:before { left: 50%; right: 0; width: auto; margin-left: 626px; }
    .header:after { right: 50%; left: 0; width: auto; margin-right: 611px; }

}

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

    .nav-sections ul { display: none; }

    .featured-image .image { position: absolute; }

    .section-top,
    .section-middle,
    .section-bottom { margin-left: 60px; margin-right: 60px; }
}

@media screen and (max-width: 1000px) {
    .page-template-contact .section-location .map { margin-right: 100px; }

    .popup { padding: 50px; }
}

@media screen and (max-width: 760px) {
    .header { padding: 15px 0; }
    .header .shell:before { top: -15px; bottom: -15px; left: 308px; right: 105px; }
    .header .contacts { left: 80px; margin-top: 28px; font-size: 14px; }
    .header:before { width: 80px; }
    .header:after { width: 65px; }

    .logo { width: 228px; height: 40px; background-size: 100% 100%; }
    .nav-toggle { width: 40px; height: 40px; background-size: 100% 100%; }

    .nav-toggle:before,
    .nav-toggle:after { height: 15px; }

    .nav { font-size: 20px; }

    .logo:before,
    .logo:after { height: 15px; }

    .section-title { margin-bottom: 15px; }
    
    .panel { right: -260px; width: 260px; padding: 70px 0 250px; }
    .panel .top { height: 70px; }
    .panel .top .close { width: 40px; height: 40px; margin: -20px; background-size: 100% 100%; }

    .shell { padding-left: 20px; padding-right: 20px; }

    .header { z-index: 210; }
    .header .shell:before { right: 45px; left: 248px; }
    .header:before { width: 20px; }
    .header:after { width: 5px; }

    .home .header .contacts { display: none; }

    .sections .gradient { position: relative; z-index: 120; display: block; width: 100%; height: 40px !important; margin: -20px 0; }
    
    .section-holder { margin-top: 0; height: 100px; }

    .section-home .section-title .fan { top: -16px; left: -5px; width: 28px; height: 14px; background-size: 100% 100%; }

    .section-top { font-size: 12px; letter-spacing: 0.8px; }
    .section-top,
    .section-middle,
    .section-bottom { margin: 10px 30px; }
    .section-image { width: 100px; min-height: 100px; }
    .section-image .shadow { top: 4px; max-width: 220px; }

    .section-links:first-child { padding-top: 20px; }
    .section-links a { padding: 8px 16px; font-size: 14px; }
    
    .section-services ul { display: none; padding: 0 0 15px; }
    .section-services ul li { width: 50%; padding: 0 0 8px; font-size: 14px; }

    .smile { width: 100px; height: 50px; margin: 0 -50px; background-size: 100% 100%; }
    .section-image .shadow { max-width: 140px; }

    .nav-sections { bottom: 10px; right: 50%; display: none; width: 42px; margin:  0 -21px; }

    .sections { height: auto !important; }

    .home .section { position: relative; overflow: hidden; width: 100vw; height: 100vh; }
    .section-slider .slides li { height: 220px; }

    .section-our-services { overflow: visible; }

    .credits,
    .copyright { width: 46%; margin: 0 2%; }
    
    .nav { padding: 0 20px; }
    .panel { padding-bottom: 110px; }

    .socials { bottom: 34px; }

    .section-text { padding: 0 20px; }

    .section-home .section-title { margin: 0 0 -45px; font-size: 28px; letter-spacing: 1px; }

    .on-footer .section .section-holder { opacity: 0 !important; }

    .section-contact .gform_wrapper { display: none; }
    .section-contact .section-links { display: block; }

    .home .wrapper { position: relative; overflow: hidden; height: 100%; }
    .home .wrapper .footer { position: absolute; right: 0; bottom: 0; width: 100vw; z-index: 130; }

    .home .content-wrapper { position: absolute; top: 0; left: 0; width: 100%; height: 100%; -webkit-transition: all .8s ease; transition: all .8s ease; }

    .footer { height: auto; padding: 45px 0 48px; }
    .footer .widgets { padding-bottom: 30px; }
    .footer .widget { width: 46%; margin: 0 2% 30px; }
    .footer .prev-section { position: fixed; top: auto; bottom: 15px; left: 50%; z-index: 300; margin: 0 -20px; display: none; }
    .show-footer .prev-section { opacity: 0.7; }
    .show-footer .prev-section:hover { opacity: 1; }
    .home .footer .prev-section { display: block; }

    .footer-logo { display: none; }

    .home .footer { padding: 4px 0; height: 143px; font-size: 9px; }
    .home .footer p { padding-bottom: 1em; }
    .home .footer .shell { position: relative; padding: 0 18px; }
    .home .footer .widgets { float: left; width: 50%; padding-top: 8px; padding-bottom: 0; }
    .home .footer .widgets .widget { display: none; float: left; width: auto; width: 100%; }
    .home .footer .widgets .widget_text { display: block; }
    .home .footer .widgets .widget_text p { padding: 0; }
    .home .footer .widgets .widget_text p:first-child br { display: none; }
    .home .footer .widget-title { padding: 0 0 3px; margin: 0 0 9px; font-size: 10px; letter-spacing: 0; }
    .home .footer .footer-logo { position: absolute; top: 10px; right: 14px; display: block; bottom: auto; width: 15px; height: 15px; margin: 0; background-size: 100% 100%; }
    .home .footer .copyright { float: right; width: 50%; padding-top: 59px; margin: 0; text-align: right; }
    .home .footer .credits { float: right; width: 50%; margin: 0; text-align: right; }

    .mobile-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 600; padding: 13px 10px; text-align: center; font-size: 0; background: #5ba9e1; }
    .mobile-nav a { display: inline-block; vertical-align: middle; width: 106px; border: 1px solid #fff; margin: 0 8px; font-family: 'AvantGarde', sans-serif; font-size: 14px; font-weight: 500; line-height: 32px; letter-spacing: 1px; color: #fff; opacity: 1; -webkit-transition: all 0.3s ease; transition: all 0.3s ease; }
    .mobile-nav a:hover { text-decoration: none; }
    .mobile-nav .disable { opacity: .5; }
    .mobile-nav .prev:before,
    .mobile-nav .back-to-top:after,
    .mobile-nav .next:after { content: ''; display: inline-block; width: 5px; height: 8px; margin: -6px 5px -5px; vertical-align: middle; background-image: url(images/mobile-nav.png); background-size: 200% 100%; }
    .mobile-nav .back-to-top:after,
    .mobile-nav .next:after { background-position: right 0; }
    .mobile-nav .back-to-top { display: none; }
    .mobile-nav .next.disable { display: none; }
    .mobile-nav .next.disable + .back-to-top { display: inline-block; }
    .home .mobile-nav { display: block; }
}

@media screen and (max-width: 660px) {
    body { font-size: 14px; }

    .smile { position: absolute; }

    .section-home .section-title { margin-bottom: -45px; font-size: 28px; }

    .section-title { margin-bottom: 12px; font-size: 16px; letter-spacing: 1px; }

    .section-top,
    .section-middle,
    .section-bottom { margin: 22px 0; }
    

    .section-middle { padding: 6px 0 0; -webkit-transform: translateY(0%); -ms-transform: translateY(0%); transform: translateY(0%); text-align: center; }
    
    .gfield-small,
    .gfield-medium { float: none; width: auto; }

    .gfield { padding: 0 0 20px; }

    .gform_button { width: 80%; height: 46px; font-size: 14px; }

    .credits,
    .copyright { float: none; width: auto; margin: 0 0 20px; text-align: left; }

    .credits,
    .copyright { margin-bottom: 0; }

    .section { position: relative; overflow: visible; z-index: 90; padding: 40px 0; }

    .sections .section { padding: 0; }

    .featured-image,
    .featured-image .image { height: 300px; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
    .featured-image .image { position: absolute; }
    .featured-image-content h2 { font-size: 22px; }

    .section-doctor .image { float: none; display: block; max-width: 50%; margin: 0 auto 30px; }
    .section-doctor .entry h3 { padding-bottom: 20px; font-size: 20px; }
    .section-doctor .entry { padding: 0; }

    .section-entry .entry { padding: 0; }

    .section-our-services { overflow: visible; }

    .section-team { padding: 30px 0; }

    .page-template-contact .section-location .map { position: relative; top: 0; left: 0; width: auto; margin: -60px -20px 30px; height: 200px; }
    .page-template-contact .section-location .entry { float: none; width: auto; margin-bottom: -20px; }

    .page-template-contact .section-contact .entry { padding: 0; }
    .page-template-contact .section-contact .gform_wrapper { margin-top: 10px; }

    .sections .gform_wrapper { margin: -5px 15px 0; }
    .sections .gfield { padding-bottom: 10px; }
    .sections .gform_wrapper textarea { height: 50px; }
    .sections .gform_button { height: 34px; }
    
    .search-submit,
    .comments .comment-reply a,
    .btn { padding: 13px 20px; font-size: 14px; }
    .submit { padding: 13px 20px; font-size: 14px; }

    input[type="email"],
    input[type="number"],
    input[type="password"],
    input[type="tel"],
    input[type="text"],
    input[type="url"],
    textarea { padding: 6px; }
    .sections .gform_button { height: 28px; font-size: 12px; }

    .popup { padding: 20px; margin: 0 20px; }
    .popup h3 { font-size: 18px; }
    .popup { font-size: 14px; }
    .popup .info { font-size: 12px; }
    .popup .info span { display: block; padding: 2px 0; }
    .mfp-close-btn-in .mfp-close { margin-right: 20px; }

    .section-our-services { z-index: 210; }
    
    .list-services { display: none; }
    
    .section-links:first-child { padding-top: 28px; }
    .section-links a { padding: 7px 14px; margin: 0 4px 10px; border-width: 1px; font-size: 14px; }
    .section-links a:after { width: 5px; height: 8px; margin-left: 0; letter-spacing: 1px; background-size: 100% 100%; }
    
    .section .link-circle { width: 28px; height: 24px; padding: 4px 0 0; margin: -48px 65px; font-size: 7px; }
    .section .link-circle:before { border-width: 1px; }

    .credits,
    .footer .widget,
    .copyright { float: none; width: auto; margin: 0 0 20px; text-align: left; }
}

@media screen and (max-width: 350px) {
    .section { font-size: 12px; letter-spacing: 0.5px; }

    .section-title { margin: 0 0 10px; font-size: 18px; }
    .section-services ul li { padding-bottom: 2px; font-size: 12px; }

    .sections .gform_wrapper textarea { height: 30px; }

    input[type="email"],
    input[type="number"],
    input[type="password"],
    input[type="tel"],
    input[type="text"],
    input[type="url"],
    textarea { padding: 5px; }
    
    .sections .gform_wrapper { margin-top: -12px; }

}