/*
	Theme Name: Seward Dental Clinic
	Description: Seward Dental Clinic
	Version: 1.0
	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
	Author: Chip Thompson Design
	Author URI: http://chipthompson.com
*/

/* Reset */
:link,:visited {text-decoration: none;}
ul,ol {list-style: none;}
h1,h2,h3,h4,h5,h6,pre,code,p {font-size: 1em;}
ul,ol,dl,li,dt,dd,h1,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset,input {margin: 0; padding: 0;}
a img,:link img,:visited img {border: none;}
address {font-style: normal;}

*, *:before, *:after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

/* Fonts */

@font-face {
    font-family: 'Proxima Nova';
    src: url('includes/fonts/proxima-nova-regular-webfont.eot');
    src: url('includes/fonts/proxima-nova-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('includes/fonts/proxima-nova-regular-webfont.woff') format('woff'),
         url('includes/fonts/proxima-nova-regular-webfont.ttf') format('truetype'),
         url('includes/fonts/proxima-nova-regular-webfont.svg#proxima_novaregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* Headings */

h1, h2, h3, h4, h5, h6 {
	margin: 20px 0px 10px 0;
	font-weight: normal;
}

h1 {
	font: 300 42px 'Open Sans';
	text-transform: uppercase;
	color: #107eee;
	margin: 0 0 12px 0;
	text-align: center;
	letter-spacing: 1.2px;
	word-spacing: 1px;
}

h1 strong {
	font-weight: 600;
}

h2 {
	font: 22.91px 'Open Sans';
	text-transform: uppercase;
	text-align: center;
	color: #414141;
	margin: 0 0 15px 0;
	letter-spacing: 0.4px;
}

h3 {
	font: bold 18px 'Open Sans';
	color: #107eee;
	margin: 0 0 2px 0;
}

h4 {
	font: 700 22px 'Open Sans';
	color: #107eee;
	margin: 0 0 5px 0;
}

h5 {
	font: 700 18px 'Open Sans';
	color: #107eee;
	margin: 0 0 2px 0;
}

h6 {
	font: 18px 'Open Sans';
	color: #565656;
	margin: 0 0 24px 0;
	line-height: 1.5em;
}

/* Links */

a:link, a:visited, a:active {
	color: #10d6ee;
	text-decoration: underline;
	-webkit-transition: all 350ms;
	transition: all 350ms;
}

a:hover {
	color: #107eee;
	text-decoration: none;
}

/* Paragraphs */

p {
	margin: 0 0 20px 0;
	line-height: 1.6em;
}

.alignleft {
	float: left;
	display: inline;
	margin: 0 25px 15px 0;
}

.alignright {
	float: right;
	display: inline;
	margin: 0 0 15px 25px;
}

.aligncenter {
	display: block;
	margin: 0 auto 22px auto;
}

td .aligncenter {
	margin-bottom: 0;
}

/* Lists */

.content ul {
	margin: 0 0 23px 0;
}

.content ul li {
	list-style: none;
	margin: 0;
	position: relative;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.45em;
	color: #107eee;
	padding: 0 0 0 10px;
}

.content ul li:before {
	content: '';
	display: block;
	position: absolute;
	top: 10px;
	left: 0;
	width: 5px;
	height: 5px;
	background: #107eee;
	-webkit-border-radius: 50%;
	border-radius: 50%;
}

.content ol {
	margin: 0 0 25px 40px;
}

.content ol li {
	list-style: decimal;
	margin: 0 0 3px 0;
}

/* Clearfix */

.cf:before, .cf:after {
    content: " ";
    display: table;
}

.cf:after {
    clear: both;
}

.cf {
    *zoom: 1;
}

.clear {
	clear: both;
	height: 0px;
	font-size: 1px;
	line-height: 0;
	overflow: hidden;
}

/* Layout */

body {
	font: 14px 'Open Sans', Arial, Helvetica, sans-serif;
	color: #565656;
	background: #fff;
}

table {
	width: 100%;
	margin: 0 0 30px 0;
}

td {
	vertical-align: top;
}

p:emtpy {
	display: none;
}

.frame {
	width: 1046px;
	margin: 0 auto;
	position: relative;
	/*border: 1px solid;*/
}

/* Main Menu */

#menu-button {
	display: none;
}

.main-menu {
	position: relative;
	z-index: 160;
	text-align: center;
	background: #10d6ee;
	background: -moz-linear-gradient(left,  #10d6ee 0%, #107eee 100%);
	background: -webkit-linear-gradient(left,  #10d6ee 0%,#107eee 100%);
	background: linear-gradient(to right,  #10d6ee 0%,#107eee 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#10d6ee', endColorstr='#107eee',GradientType=1 );
}

.main-menu>.frame {
	height: 85px;
}

.main-menu:after, .slider:after, .header:after, .footer:before {
	content: '';
	display: block;
	position: absolute;
	bottom: -23px;
	height: 21px;
	opacity: 0.35;
	left: 0;
	right: 0;
	background: url('i/shadow.png') no-repeat 50% 0;
}

.main-menu>.frame>ul {
	margin: 24px 0 0 0;
	display: -moz-inline-stack;
	display: inline-block;
	vertical-align: top;
	zoom: 1;
	*display: inline;
}

.main-menu>.frame>ul>li {
	float: left;
	display: inline;
	position: relative;
	margin: 0 1px;
}

.main-menu>.frame>ul>li>a:link, .main-menu>.frame>ul>li>a:visited {
	font: 16px 'Proxima Nova';
	text-transform: uppercase;
	color: #FFF;
	text-decoration: none;
	display: block;
	padding: 10px 18px;
	position: relative;
}

.main-menu>.frame>ul>li:hover>a:link, .main-menu>.frame>ul>li:hover>a:visited,
.main-menu>.frame>ul>li.current-page-item>a:link, .main-menu>.frame>ul>li.current-page-item>a:visited,
.main-menu>.frame>ul>li.current-page-parent>a:link, .main-menu>.frame>ul>li.current-page-parent>a:visited,
.main-menu>.frame>ul>li.current-page-ancestor>a:link, .main-menu>.frame>ul>li.current-page-ancestor>a:visited {
	background: #FFF;
	color: #107eee;
}

/* Dropdown */

.main-menu li ul {
	display: none;
	margin: 0;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 222px;
	z-index: 999;
	text-align: left;
	overflow: hidden;
	background: #107eee;
	opacity: 0;
	-webkit-transition: opacity 650ms ease;
	transition: opacity 650ms ease;
}

.main-menu li ul.open {
	opacity: 1;
}

.main-menu li ul li {
	float: none;
	display: block;
	height: auto;
	line-height: 1.1em;
	position: relative;
	margin: 0;
}

.main-menu li ul li:first-child {
	display: none;
}

.main-menu li ul li a:before {
	content: '';
	display: block;
	position: absolute;
	bottom: -1px;
	left: 15px;
	right: 15px;
	border-bottom: 1px solid rgba(255,255,255,0.4);
	z-index: 30;
}

.main-menu li ul li:last-child a:before {
	display: none;
}

.main-menu>.frame>ul>li li a:link, .main-menu>.frame>ul>li li a:visited {
	display: block;
	line-height: 1.1em;
	font: 16px 'Proxima Nova';
	text-transform: uppercase;
	padding: 11px 38px 11px 18px;
	position: relative;
	text-decoration: none;
	position: relative;
	z-index: 20;
	color: #FFF;
}

.main-menu>.frame>ul>li li a:hover {
	background: #FFF;
	color: #107eee;
}

/* Social */

.social {
	text-align: center;
	position: absolute;
	top: 50%;
	right: 4px;
	-webkit-transform: translate(0,-50%);
	transform: translate(0,-50%);
}

.social ul {
	display: -moz-inline-stack;
	display: inline-block;
	vertical-align: top;
	zoom: 1;
	*display: inline;
}

.social li {
	float: left;
	display: inline;
	margin: 0 0 0 4px;
}

.social li a {
	opacity: 1;
}

.social li a:hover {
	opacity: 0.7;
}

/* Slider */

.slider, .slide {
	width: 100%;
	height: 422px;
}

.slide {
	background-repeat: no-repeat;
	background-size: cover;
	background-position: 50% 0;
}

.slider>.frame {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	-webkit-transform: translate(-50%,0);
	transform: translate(-50%,0);
	z-index: 120;
}

.welcome {
	max-width: 600px;
	text-align: center;
	padding: 30px 0 0 0;
}

.welcome .logo {
	margin: 0 0 8px 0;
}

.phone {
	font-size: 24px;
	font-weight: 700;
	text-align: center;
	color: #107eee;
	text-transform: uppercase;
	letter-spacing: 0.4px;
}

.phone p {
	line-height: 1.4em;
	margin: 0;
}

.welcome .phone {
	margin: 15px 0 7px 0;
}

.phone strong {
	font-weight: 800;
}

/* Button */

.button {
	text-align: center;
}

.button a:link, .button a:visited, .gform_button {
	color: #FFF !important;
	border: none !important;
	-webkit-border-radius: 9px !important;
	border-radius: 9px !important;
	padding: 8px 20px !important;
	cursor: pointer !important;
	font: 600 21.33px 'Open Sans' !important;
	text-transform: uppercase !important;
	display: -moz-inline-stack !important;
	display: inline-block !important;
	vertical-align: top !important;
	zoom: 1 !important;
	*display: inline !important;
	-webkit-transition: all 350ms ease;
	transition: all 350ms ease;
	text-decoration: none;
	background: #10d6ee !important;
	background: -moz-linear-gradient(left,  #10d6ee 0%, #107eee 100%) !important;
	background: -webkit-linear-gradient(left,  #10d6ee 0%,#107eee 100%) !important;
	background: linear-gradient(to right,  #10d6ee 0%,#107eee 100%) !important;
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#10d6ee', endColorstr='#107eee',GradientType=1 ) !important;
}

.gform_button {
	cursor: pointer;
	-webkit-transition: all 350ms;
	transition: all 350ms;
}

.button a:hover, .gform_button a:hover {
	color: rgba(255,255,255,0.87) !important;
}

/* Content */

.content {
	padding: 31px 0 31px 0;
}

/* CTA */

.cta {
	font-size: 26px;
	font-weight: 600;
	text-transform: uppercase;
	text-align: center;
	color: #FFF;
	padding: 17px 0;
	background: #10d6ee;
	background: -moz-linear-gradient(left,  #10d6ee 0%, #107eee 100%);
	background: -webkit-linear-gradient(left,  #10d6ee 0%,#107eee 100%);
	background: linear-gradient(to right,  #10d6ee 0%,#107eee 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#10d6ee', endColorstr='#107eee',GradientType=1 );
}

.cta p {
	margin: 0;
	line-height: 1.1em;
}

/* Footer */

.footer {
	color: #FFF;
	border-top: 4px solid #FFF;
	background-image: url('i/footer-bg.jpg');
	background-repeat: no-repeat;
	background-position: 50% 0;
	background-size: cover;
	position: relative;
	padding: 0 0 80px 0;
}

.footer:before {
	bottom: auto;
	top: 0;
}

.quote {
	float: left;
	display: inline;
	margin: 48px 0 0 -40px;
	width: 410px;
	padding: 0 0 0 40px;
	position: relative;
	font-weight: 600;
	font-size: 16px;
}

.quote p {
	line-height: 1.4em;
	margin: 0;
}

.quot {
	font: 600 80.34px 'Open Sans';
	color: #FFF;
	position: absolute;
	top: -10px;
	left: 0;
	line-height: 1em;
}

.footer-map {
	float: right;
	display: inline;
	width: 337px;
	margin: 22px -10px 0 0;
}

.footer-map p {
	margin: 0;
}

.footer-map img {
	display: block;
	border: 5px solid #575757;
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}

.footer-contacts {
	float: right;
	display: inline;
	margin: 70px 38px 0 0;
	font-size: 18px;
	text-align: right;
	width: 240px;
}

.footer-contacts p {
	margin: 0;
	line-height: 1.45em;
}

.footer-contacts h4, .footer-contacts h5 {
	color: #FFF;
}

.widgets {
	margin: 0 0 45px 0;
}

.copyright {
	font-weight: 300;
	font-size: 12px;
	color: #e6e3e1;
	text-align: center;
}

.copyright a:link, .copyright a:visited {
	color: #e6e3e1;
	text-decoration: none;
}

.copyright a:hover {
	text-decoration: underline;
}

.copyright p {
	margin: 0;
}

/* Header */

.header {
	padding: 20px 0 15px 0;
	margin: 0 0 10px 0;
	position: relative;
}

.header .logo {
	float: left;
	display: inline;
	width: 330px;
}

.logo img {
	max-width: 100%;
	height: auto;
}

.header .button {
	float: right;
	display: inline;
	margin: 15px -27px 0 0;
}

.header .phone {
	float: right;
	display: inline;
	margin: 21px 9px 0 0;
}

/* Form */

.gform_wrapper *, .gform_wrapper :after, .gform_wrapper :before {
    box-sizing: inherit !important;
}

.gform_wrapper {
	max-width: 100% !important;
	margin: 0 !important;
}

.form .gform_wrapper {
	margin: 18px 5px 0 5px !important;
}

body .gform_wrapper label.gfield_label+div.ginput_container {
	margin: 0 !important;
}

ul.gform_fields {
	margin: 0 !important;
}

ul.gform_fields>li {
	padding-left: 0 !important;
	font-style: normal;
	margin: 0 0 8px 0 !important;
	font-weight: 400 !important;
	font-size: 14px !important;
	color: #565656 !important;
	background: transparent;
}

.gform_wrapper label.gfield_label {
	font-weight: 400 !important;
}

.gform_wrapper li.gfield.gfield_error {
	padding: 0 !important;
}

.gform_wrapper li.gfield.gfield_error, .gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning {
	background: transparent !important;
}

.gform_wrapper li.gfield.gfield_error.gfield_contains_required div.gfield_description, .gform_wrapper li.gfield.gfield_error.gfield_contains_required div.ginput_container, .gform_wrapper li.gfield.gfield_error.gfield_contains_required fieldset legend.gfield_label, .gform_wrapper li.gfield.gfield_error.gfield_contains_required label.gfield_label {
	margin-left: 0 !important;
}

.gform_wrapper li.gfield.gfield_error.gfield_contains_required div.ginput_container, .gform_wrapper li.gfield_html {
	max-width: 100% !important;
}

.validation_error, .validation_message {
	display: none !important;
}

.gform_wrapper li.gfield.gfield_error, .gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning {
    padding: 0 !important;
    border-top: none !important;
    border-bottom: none !important;
}

.gform_wrapper .top_label .gfield_error {
	width: auto !important;
}

.gform_wrapper ul li:before {
	display: none;
}

.no-label .gfield_label {
	display: none !important;
}

.show-label .gfield_label {
	display: block !important;
	padding: 5px 0 0 0 !important;
}

body .gform_wrapper .top_label div.ginput_container {
	margin-top: 0 !important;
}

.ginput_container input, .ginput_container textarea, .ginput_container select,
.field-large .ginput_container input, .field-large .ginput_container textarea, .field-large .ginput_container select {
	display: block !important;
	-webkit-box-sizing: border-box !important;
	-moz-box-sizing: border-box !important;
	box-sizing: border-box !important;
	margin: 8px 0 0 0 !important;
	padding: 9px 15px !important;
	text-indent: 0 !important;
	font: 14px 'Open Sans' !important;
	letter-spacing: 1px !important;
	color: #565656 !important;
	background: #f9f9f9 !important;
	border: 1px solid #c8c8c8 !important;
	width: 100% !important;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 5px #ddd;
	-moz-box-shadow: inset 0 1px 5px #ddd;
	box-shadow: inset 0 1px 5px #ddd;
	-webkit-transition: background 400ms, color 400ms, border 1s;
	-moz-transition: background 400ms, color 400ms, border 1s;
	-o-transition: background 400ms, color 400ms, border 1s;
	transition: background 400ms, color 400ms;
}

.ginput_container input:focus, .ginput_container textarea:focus {
	outline: none;
	background: #fff !important;
	-webkit-box-shadow: 0 0 10px #333;
	-moz-box-shadow: 0 0 10px #333;
	box-shadow: 0 0 10px #333;
}

.gfield_error .ginput_container input, .gfield_error .ginput_container textarea, .gfield_error .ginput_container select {
	background: #ffbfbf !important;
}

.ginput_container_checkbox input {
	-webkit-box-shadow: 0 0 0 transparent !important;
	-moz-box-shadow: 0 0 0 transparent !important;
	box-shadow: 0 0 0 transparent !important;
}

.ginput_container_checkbox input {
	margin-top: 3px !important;
}

::-webkit-input-placeholder {
   color: #999;
}

:-moz-placeholder { /* Firefox 18- */
   color: #999;  
}

::-moz-placeholder {  /* Firefox 19+ */
   color: #999;  
}

:-ms-input-placeholder {  
   color: #999;  
}

.gform_footer {
	margin: 15px 0 0 0 !important;
	padding: 0 !important;
}

.gform_wrapper .ginput_container input.datepicker,
.gfield_captcha_input_container input {
    width: 11.75em !important;
}

/* Responsive Menu */

html, .container, .scroller {
	height: 100%;
}
.scroller {
	overflow: hidden;
}
.mp-pushed .scroller {
	overflow-y: hidden;
}
.scroller,
.scroller-inner {
	position: relative;
}
.container {
	position: relative;
	width: 100%;
	height: auto;
	overflow: hidden;
	z-index: 2;
}
.pusher {
	position: relative;
	left: 0;
	height: 100%;
	perspective: 1000px;
}

/* Side Menu Layout */
.side-menu {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 1;
	width: 290px;
	height: 100%;
	overflow: hidden;
	background: #FFF;
	-webkit-transform: translate3d(100%, 0, 0);
	-moz-transform: translate3d(100%, 0, 0);
	transform: translate3d(100%, 0, 0);
}
.mp-level {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #FFF;
	-webkit-transform: translate3d(-100%, 0, 0);
	-moz-transform: translate3d(-100%, 0, 0);
	transform: translate3d(-100%, 0, 0);
}
.mp-level:first-child {
	-webkit-transform: translate3d(0, 0, 0);
	-moz-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}
/* overlays for pusher and for level that gets covered */
.pusher::after,
.mp-level::after,
.mp-level::before {
	position: absolute;
	top: 0;
	right: 0;
	width: 0;
	height: 0;
	content: '';
	opacity: 0;
}
.pusher::after {
	z-index: 999;
}
.pusher::after,
.mp-level::after {
	background: rgba(0,0,0,0.3);
	-webkit-transition: opacity 0.3s, width 0.1s 0.3s, height 0.1s 0.3s;
	-moz-transition: opacity 0.3s, width 0.1s 0.3s, height 0.1s 0.3s;
	transition: opacity 0.3s, width 0.1s 0.3s, height 0.1s 0.3s;
}
.mp-level::after {
	z-index: -1;
}
.pusher.mp-pushed::after,
.mp-level.mp-level-overlay::after {
	width: 100%;
	height: 100%;
	opacity: 1;
	-webkit-transition: opacity 0.3s;
	-moz-transition: opacity 0.3s;
	transition: opacity 0.3s;
}
.mp-level.mp-level-overlay {
	cursor: pointer;
}
.mp-level.mp-level-overlay.mp-level::before {
	width: 100%;
	height: 100%;
	background: transparent;
	opacity: 1;
}
.pusher,
.mp-level {
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	transition: all 0.5s;
}
/* overlap */
.mp-overlap .mp-level.mp-level-open {
	box-shadow: 1px 0 2px rgba(0,0,0,0.2);
	-webkit-transform: translate3d(-40px, 0, 0);
	-moz-transform: translate3d(-40px, 0, 0);
	transform: translate3d(-40px, 0, 0);
}
/* First level */
.side-menu > .mp-level,
.side-menu > .mp-level.mp-level-open,
.side-menu.mp-overlap > .mp-level,
.side-menu.mp-overlap > .mp-level.mp-level-open {
	box-shadow: none;
	-webkit-transform: translate3d(0, 0, 0);
	-moz-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}
/* cover */
.mp-cover .mp-level.mp-level-open {
	-webkit-transform: translate3d(0, 0, 0);
	-moz-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}
.mp-cover .mp-level.mp-level-open > ul > li > .mp-level:not(.mp-level-open) {
	-webkit-transform: translate3d(-100%, 0, 0);
	-moz-transform: translate3d(-100%, 0, 0);
	transform: translate3d(-100%, 0, 0);
}
/* Side Menu Styling */
.side-menu {
	display: block;
}
.the-side-menu {
	margin: 0 0 40px 0;
}
.the-side-menu>.mp-level ul li>a:link, .the-side-menu>.mp-level ul li>a:visited {
	display: block;
	font: 600 18px 'Open Sans';
	color: #107eee !important;
	text-decoration: none;
	text-transform: uppercase;
	text-align: center;
	padding: 14px 10px;
	border-bottom: 1px solid #cce5c8;
}
a.mp-back:link, a.mp-back:visited {
	display: block;
	font-size: 16px;
	font-weight: 500;
	text-transform: uppercase;
	background: #107eee;
	color: #FFF;
	text-decoration: none;
	padding: 12px 25px 11px 25px;
	border-bottom: 1px solid #FFF;
	letter-spacing: 1px;
	position: relative;
}
a.mp-back:link:before {
	content: '';
	display: block;
	position: absolute;
	top: 50%;
	left: 10px;
	border-right: 6px solid #FFF;
	border-top: 3px solid transparent;
	border-bottom: 3px solid transparent;
	margin: -4px 0 0 0;
}
.the-side-menu>.mp-level ul li>a>span {
	position: relative;
}
.the-side-menu>.mp-level ul li.menu-item-has-children>a>span {
	padding-right: 39px;
	margin: 0 -30px 0 0;
}
.the-side-menu>.mp-level ul li.menu-item-has-children>a>span:before {
	content: '';
	display: block;
	position: absolute;
	top: 50%;
	right: 26px;
	border-top: 5px solid #FFF;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	margin: -3px 0 0 0;
	-webkit-transition: color 250ms ease, background-color 250ms ease, border-color 250ms ease, opacity 250ms ease;
	transition: color 250ms ease, background-color 250ms ease, border-color 250ms ease, opacity 250ms ease;
}
.the-side-menu>.mp-level ul li.current-menu-item>a, .the-side-menu>.mp-level ul li.current-menu-parent>a, .the-side-menu>.mp-level ul li.current-menu-ancestor>a,
.the-side-menu>.mp-level ul li.open {
	background: #107eee;
	color: #FFF !important;
}
.the-side-menu>.mp-level ul li>a:hover {
	background: #107eee;
	color: #FFF !important;
}
.the-side-menu>.mp-level ul li.menu-item-has-children>a:hover>span:before,
.the-side-menu>.mp-level ul li.open>a>span:before {
	border-top-color: #FFF;
}
.the-side-menu>.mp-level ul li.current-menu-item a:link, .the-side-menu>.mp-level ul li.current-menu-item a:visited,
.the-side-menu>.mp-level ul li.current-menu-item a:link, .the-side-menu>.mp-level ul li.current-menu-parent a:visited,
.the-side-menu>.mp-level ul li.current-menu-ancestor a:link, .the-side-menu>.mp-level ul li.current-menu-ancestor a:visited,
.the-side-menu>.mp-level ul li.open a:link, .the-side-menu>.mp-level ul li.open a:visited {
	color: #FFF;
}
.the-side-menu>.mp-level ul li.current-menu-item>a>span:after,
.the-side-menu>.mp-level ul li.current-menu-parent>a>span:after,
.the-side-menu>.mp-level ul li.current-menu-anestor>a>span:after,
.the-side-menu>.mp-level ul li.current_page_item>a>span:after,
.the-side-menu>.mp-level ul li.current_page_parent>a>span:after,
.the-side-menu>.mp-level ul li.current_page_anestor>a>span:after {
	content: '';
	display: block;
	position: absolute;
	bottom: -7px;
	left: 0;
	right: 0;
	height: 3px;
	background: #000;
}
.the-side-menu>.mp-level ul li.menu-item-has-children>a>span:after {
	right: 39px;
}
.mp-menu-open {
	z-index: 200;
}

/* Narrow Desktop */
@media (max-width: 1100px) {
	.frame, .main-menu>.frame {
		width: 960px;
	}
	.quote {
		margin-left: 5px;
	}
	.footer-map {
		margin-right: 5px;
		width: 250px;
	}
	.footer-map img {
		max-width: 95%;
		height: auto;
	}
	.footer-contacts {
		margin: 40px 20px 0 0;
	}
	.button a:link, .button a:visited {
		font-size: 16px !important;
	}
	.header .button {
		margin-right: 5px;
	}
	.header .phone {
		font-size: 18px;
	}
	.header .logo {
		margin-left: 5px;
	}
}

/* Tablet */
@media (max-width: 959px) {
	.frame {
		width: auto !important;
		margin-left: 20px !important;
		margin-right: 20px !important;
		position: relative;
	}
	.main-menu .frame {
		height: 70px;
	}
	.main-menu>.frame>ul {
		display: none;
	}
	a#menu-button:link, a#menu-button:visited {
		position: absolute;
		top: 50%;
		-webkit-transform: translate(0,-50%);
		transform: translate(0,-50%);
		right: 0;
		background: #FFF;
		-webkit-border-radius: 5px;
		border-radius: 5px;
		padding: 12px 58px 12px 21px;
		color: #107eee;
		font: 600 18px 'Open Sans';
		text-transform: uppercase;
		z-index: 190;
		cursor: pointer;
		display: block;
		text-decoration: none;
		outline: none;
		overflow: hidden;
	}
	#menu-button:before {
		content: '';
		display: block;
		position: absolute;
		top: 50%;
		right: 21px;
		width: 24px;
		height: 10px;
		border-top: 3px solid #107eee;
		border-bottom: 3px solid #107eee;
		margin: -8px 0 0 0;
		-webkit-transition: all 350ms ease;
		transition: all 350ms ease;
	}
	#menu-button:after {
		content: '';
		display: block;
		position: absolute;
		top: 50%;
		right: 21px;
		width: 24px;
		height: 7px;
		border-bottom: 3px solid #107eee;
		margin: 2px 0 0 0;
		-webkit-transition: all 350ms ease;
		transition: all 350ms ease;
	}
	.social {
		right: auto;
		left: 0;
	}
	.slider>.frame {
		left: 20px;
		right: 20px;
		-webkit-transform: translate(0,0);
		transform: translate(0,0);
	}
	.welcome {
		max-width: 100%;
	}
	.logo img {
		max-width: 300px;
	}
	.quote {
		width: 100%;
	}
	.footer {
		padding-bottom: 30px;
	}
	.footer-contacts {
		float: left;
		margin: 33px 0 0 0;
		text-align: left;
	}
	.footer-map {
		 margin-right: 0;
	}
	.header .logo {
		float: none;
		display: block;
		width: 100%;
		text-align: center;
	}
	.header .phone {
		float: left;
		margin-right: 0;
	}
	h1 {
		font-size: 36px;
	}
	table {
		width: 100% !important;
		margin: 0 0 10px 0 !important;
	}
	img, .iframe {
		max-width: 100%;
		height: auto;
	}
	.alignleft, .alignright {
		max-width: 45%;
		height: auto;
	}
	td .alignleft, td .alignright {
		max-width: 90%;
	}
	.fancybox-wrap {
		max-width: 520px;
	}
	.fancybox-inner {
		max-width: 100%;
	}
}

/* Mobile */
@media (max-width: 599px) {
	.alignleft, .alignright, .aligncenter {
		float: none;
		display: block;
		margin: 0 auto 15px auto !important;
	}
	a#menu-button:link, a#menu-button:visited {
		right: 0;
		padding: 13px 58px 13px 21px;
	}
	.slider, .slide {
		height: 260px;
		background-position: 100% 0;
	}
	.slide:before {
		content: '';
		display: block;
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: #FFF;
		opacity: 0.7;
	}
	.welcome {
		padding-top: 10px;
	}
	.header .button, .header .phone {
		text-align: center;
		float: none;
		display: block;
	}
	.header .phone {
		margin-top: 15px;
	}
	.logo img {
		max-height: 65px;
		width: auto;
	}
	.welcome .phone {
		margin-top: 10px;
		font-size: 18px;
	}
	.cta {
		font-size: 18px;
	}
	.quote, .footer-contacts, .footer-map {
		float: none;
		display: block;
		width: 100%;
		text-align: center;
		margin: 30px 0 0 0;
	}
	.quote {
		text-align: left;
	}
	h1 {
		font-size: 26px;
		letter-spacing: 0;
	}
	h2 {
		font-size: 20px;
	}
	.content ul {
		margin-left: 0;
	}
	.fancybox-wrap {
		max-width: 280px;
	}
	.fancybox-prev span, .fancybox-next span {
		background: transparent !important;
	}
	table, tbody, tr, td {
		display: block !important;
		margin: 0 !important;
		padding: 0 !important;
		width: auto !important;
	}
	td {
		padding: 15px 0 !important;
	}
	.content td ul {
		margin-bottom: 0;
	}
	.tablepress .row-hover tr:hover td {
		background: transparent !important;
	}
	table.table {
		display: table !important;
	}
	table.table tbody, table.table thead {
		display: table-row-group !important;
	}
	table.table tr {
		display: table-row !important;
	}
	table.table th, table.table td {
		display: table-cell !important;
		width: auto !important;
		padding: 5px 5px !important;
	}
}