/*!
Theme Name: baytherapy
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: baytherapy
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
/* normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {line-height: 1.15; -webkit-text-size-adjust: 100%; }
body {margin: 0;}
h1 {font-size: 2em;margin: 0.67em 0;}
hr {box-sizing: content-box; height: 0; overflow: visible; }
pre {font-family: monospace, monospace; font-size: 1em; }
a {background-color: transparent;}
abbr[title] {border-bottom: none; text-decoration: underline; text-decoration: underline dotted; }
b, strong {font-weight: bolder;}
code, kbd, samp {font-family: monospace, monospace; font-size: 1em; }
small {font-size: 80%;}
sub, sup {font-size: 75%;line-height: 0;position: relative;vertical-align: baseline;}
sub {bottom: -0.25em;}
sup {top: -0.5em;}
img {border-style: none;}
button, input, optgroup, select, textarea {font-family: inherit; font-size: 100%; line-height: 1.15; margin: 0; }
button, input {overflow: visible;}
button, select {text-transform: none;}
button, [type="button"], [type="reset"], [type="submit"] {-webkit-appearance: button;}
button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner {border-style: none;padding: 0;}
button:-moz-focusring, [type="button"]:-moz-focusring, [type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring {outline: 1px dotted ButtonText;}
fieldset {padding: 0.35em 0.75em 0.625em;}
legend {box-sizing: border-box; /* 1 */color: inherit; /* 2 */display: table; /* 1 */max-width: 100%; /* 1 */padding: 0; /* 3 */white-space: normal; /* 1 */}
progress {vertical-align: baseline;}
textarea {overflow: auto;}
[type="checkbox"], [type="radio"] {box-sizing: border-box; /* 1 */padding: 0; /* 2 */}
[type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button {height: auto;}
[type="search"] {-webkit-appearance: textfield; /* 1 */outline-offset: -2px; /* 2 */}
[type="search"]::-webkit-search-decoration {-webkit-appearance: none;}
::-webkit-file-upload-button {-webkit-appearance: button; /* 1 */font: inherit; /* 2 */}
details {display: block;}
summary {display: list-item;}
template {display: none;}
[hidden] {display: none;}
body, button, input, select, optgroup, textarea {color: #404040;font-family: sans-serif;font-size: 16px;font-size: 1rem;line-height: 1.5;}
h1, h2, h3, h4, h5, h6 {clear: both;}
p {margin-bottom: 1.5em;}
dfn, cite, em, i {font-style: italic;}
blockquote {margin: 0 1.5em;}
address {margin: 0 0 1.5em;}
pre {background: #eee;font-family: "Courier 10 Pitch", Courier, monospace;font-size: 15px;font-size: 0.9375rem;line-height: 1.6;margin-bottom: 1.6em;max-width: 100%;overflow: auto;padding: 1.6em;}
code, kbd, tt, var {font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;font-size: 15px;font-size: 0.9375rem;}
abbr, acronym {border-bottom: 1px dotted #666;cursor: help;}
mark, ins {background: #fff9c0;text-decoration: none;}
big {font-size: 125%;}
html {box-sizing: border-box;}
*, *:before, *:after {box-sizing: inherit;}
body {background: #fff;}
hr {background-color: #ccc;border: 0;height: 1px;margin-bottom: 1.5em;}
ul, ol {margin: 0 0 1.5em 3em;}
ul {list-style: disc;}
ol {list-style: decimal;}
li > ul, li > ol {margin-bottom: 0;margin-left: 1.5em;}
dt {font-weight: bold;}
dd {margin: 0 1.5em 1.5em;}
img {height: auto;max-width: 100%;}
figure {margin: 1em 0;}
table {margin: 0 0 1.5em;width: 100%;}
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {border: 1px solid;border-color: #ccc #ccc #bbb;border-radius: 3px;background: #e6e6e6;color: rgba(0, 0, 0, 0.8);font-size: 12px;font-size: 0.75rem;line-height: 1;padding: .6em 1em .4em;}
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {border-color: #ccc #bbb #aaa;}
button:active, button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {border-color: #aaa #bbb #bbb;}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {color: #666;border: 1px solid #ccc;border-radius: 3px;padding: 3px;}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {color: #111;}
select {border: 1px solid #ccc;}
textarea {width: 100%;}
a {color: royalblue;}
a:visited {color: purple;}
a:hover, a:focus, a:active {color: midnightblue;}
a:focus {outline: thin dotted;}
a:hover, a:active {outline: 0;}
.main-navigation {clear: both;display: block;float: left;width: 100%;}
.main-navigation ul {display: none;list-style: none;margin: 0;padding-left: 0;}
.main-navigation ul ul {box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);float: left;position: absolute;top: 100%;left: -999em;z-index: 99999;}
.main-navigation ul ul ul {left: -999em;top: 0;}
.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {left: 100%;}
.main-navigation ul ul a {width: 230px;}
.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {left: auto;}
.main-navigation li {float: left;position: relative;}
.main-navigation a {display: block;text-decoration: none;}
.menu-toggle, .main-navigation.toggled ul {display: block;}
@media screen and (min-width: 37.5em) {
.menu-toggle {display: none;}
.main-navigation ul {display: block;}
}
.site-main .comment-navigation, .site-main .posts-navigation, .site-main .post-navigation {margin: 0 0 1.5em;overflow: hidden;}
.comment-navigation .nav-previous, .posts-navigation .nav-previous, .post-navigation .nav-previous {float: left;width: 50%;}
.comment-navigation .nav-next, .posts-navigation .nav-next, .post-navigation .nav-next {float: right;text-align: right;width: 50%;}
.screen-reader-text {border: 0;clip: rect(1px, 1px, 1px, 1px);clip-path: inset(50%);height: 1px;margin: -1px;overflow: hidden;padding: 0;position: absolute !important;width: 1px;word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */}
.screen-reader-text:focus {background-color: #f1f1f1;border-radius: 3px;box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);clip: auto !important;clip-path: none;color: #21759b;display: block;font-size: 14px;font-size: 0.875rem;font-weight: bold;height: auto;left: 5px;line-height: normal;padding: 15px 23px 14px;text-decoration: none;top: 5px;width: auto;z-index: 100000;}
#content[tabindex="-1"]:focus {outline: 0;}
.alignleft {display: inline;float: left;margin-right: 1.5em;}
.alignright {display: inline;float: right;margin-left: 1.5em;}
.aligncenter {clear: both;display: block;margin-left: auto;margin-right: auto;}
.clear:before, .clear:after, .entry-content:before, .entry-content:after, .comment-content:before, .comment-content:after, .site-header:before, .site-header:after, .site-content:before, .site-content:after, .site-footer:before, .site-footer:after {content: "";display: table;table-layout: fixed;}
.clear:after, .entry-content:after, .comment-content:after, .site-header:after, .site-content:after, .site-footer:after {clear: both;}
.widget {margin: 0 0 1.5em;}
.widget select {max-width: 100%;}
.sticky {display: block;}
.hentry {margin: 0 0 1.5em;}
.updated:not(.published) {display: none;}
.page-content, .entry-content, .entry-summary {margin: 1.5em 0 0;}
.page-links {clear: both;margin: 0 0 1.5em;}
.comment-content a {word-wrap: break-word;}
.bypostauthor {display: block;}
.infinite-scroll .posts-navigation, .infinite-scroll.neverending .site-footer {display: none;}
.infinity-end.neverending .site-footer {display: block;}
.page-content .wp-smiley, .entry-content .wp-smiley, .comment-content .wp-smiley {border: none;margin-bottom: 0;margin-top: 0;padding: 0;}
embed, iframe, object {max-width: 100%;}
.custom-logo-link {display: inline-block;}
.wp-caption {margin-bottom: 1.5em;max-width: 100%;}
.wp-caption img[class*="wp-image-"] {display: block;margin-left: auto;margin-right: auto;}
.wp-caption .wp-caption-text {margin: 0.8075em 0;}
.wp-caption-text {text-align: center;}
.gallery {margin-bottom: 1.5em;}
.gallery-item {display: inline-block;text-align: center;vertical-align: top;width: 100%;}
.gallery-columns-2 .gallery-item {max-width: 50%;}
.gallery-columns-3 .gallery-item {max-width: 33.33%;}
.gallery-columns-4 .gallery-item {max-width: 25%;}
.gallery-columns-5 .gallery-item {max-width: 20%;}
.gallery-columns-6 .gallery-item {max-width: 16.66%;}
.gallery-columns-7 .gallery-item {max-width: 14.28%;}
.gallery-columns-8 .gallery-item {max-width: 12.5%;}
.gallery-columns-9 .gallery-item {max-width: 11.11%;}
.gallery-caption {display: block;}

@font-face {
    font-family: 'latoregular';
    src: url('fonts/lato-regular-webfont.woff2') format('woff2'),
         url('fonts/lato-regular-webfont.woff') format('woff'),
         url('fonts/lato-regular-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'latobold';
    src: url('fonts/lato-bold-webfont.woff2') format('woff2'),
         url('fonts/lato-bold-webfont.woff') format('woff'),
         url('fonts/lato-bold-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'latoblack';
    src: url('fonts/lato-black-webfont.woff2') format('woff2'),
         url('fonts/lato-black-webfont.woff') format('woff'),
         url('fonts/lato-black-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}


/*GENERAL*/
h1 {font-size: 48px;}
h2 {font-size: 35px;}
h3 {font-size: 25px;}
h5 {font-size: 30px;}
p {font-size:15px;}
.container {margin: auto;}
a {color: inherit;text-decoration: none;}
.slick-prev.slick-disabled, .slick-next.slick-disabled {opacity: 0 !important;display: none !important;}
.slick-prev.slick-disabled:before, .slick-next.slick-disabled:before {opacity: 0 !important;}

.slick-next.slick-arrow, .slick-prev.slick-arrow {height: 50px;width: 50px;background-color: #ffffff;border-radius: 50%;-webkit-box-shadow: 0 2px 2px rgba(57, 63, 72, 0.3);box-shadow: 0 2px 2px rgba(57, 63, 72, 0.3);}
.slick-next.slick-arrow {right: -80px;}
.slick-prev.slick-arrow {left: -80px;}
.slick-next:before, .slick-prev:before {color: #485245 !important;font-size: 30px !important;font-weight: bolder;padding: 0px 10px 5px 10px;font-family: monospace !important; opacity: 1 !important;}
.slick-next:before {content: '>' !important;}
.slick-prev:before {content: '<' !important;}
.menu-toggle, .main-navigation.toggled ul {display: none;}
button:focus, div:focus {outline:0;}

/*HEADER-FOOTER*/
.header_contents, .main-navigation, .footer_contents, .footer_bottom {width: 1170px;margin: auto !important;float: none;}
.header_left h2, .header_left h3, .header_left p, .footer_top_left h2, .footer_top_left h3, .footer_top_left p {margin: 0px;}
.header_left h2, .footer_top_left h2 {line-height: 35px;}
.header_left h2, .header_left h3, .footer_top_left h2, .footer_top_left h3 {font-family: Book Antiqua;display: inline-block;color: #ffffff;}
.header_left h3, .footer_top_left h3 {font-size:24px;margin:0px;}
.header_left p, .footer_top_left p {font-family: latobold;color: #AAB9A4;font-size: 13px;letter-spacing: 2.7px;}
.header_contents > div, .footer_top > div {display: table-cell;vertical-align: middle;width: 100%;}

/*HEADER*/
.header_container {background: url(https://baytherapy.com/wp-content/uploads/2018/04/Header-Background.png);background-position: center;background-size: cover;}
.header_overlay {background: rgba(0,0,0,0.7);}
.header_contents {height: 120px;display: table;}
.header_right h3 {margin: 0px;font-family: latoregular;font-weight: 100;}
.header_right a {text-decoration: none;color: #ffffff;}
.main-navigation {height: 65px;line-height: 65px;}
#primary-menu {text-align: center;border-bottom: 1px solid rgba(119,119,119,0.3);}
.main-navigation li {display: inline-block;float: none;margin: 0px 50px;}
#primary-menu a {color: #444444;font-family: latobold;font-size: 15px;transition: 0.5s;}
#primary-menu li:hover > a {color: #99A693;transition: 0.5s;}
.header-sticky.is-sticky {position: fixed;width: 100%;z-index: 999;top: 0px !important;}
.is-sticky {background-color: #ffffff;padding-bottom: 1px;box-shadow: 0 1px 2px rgba(57, 63, 72, 0.3);}
.is-sticky #primary-menu {border: none;}

/*NAV-MENU*/
.sub-menu li:first-child {border-top: 1px solid rgba(119,119,119,0.3);}
.sub-menu li {padding: 0px 10px;margin: 0px;background-color: white;border-bottom: 1px solid rgba(119,119,119,0.3);display: block;height: 50px;line-height: 50px;}
#menu-item-218 {height: 80px;}
#menu-item-80 .sub-menu li:nth-child(8) a {line-height: 25px;padding: 19px 0px;}
.mobile_menu {display:none!important;}
nav#menu {display: none;}

/*FOOTER*/
.footer {background: url(https://baytherapy.com/wp-content/uploads/2018/04/Footer-Background.png);background-position: center;}
.footer_top {height:155px; display:table;border-bottom: 1px solid rgba(119,119,119,0.3);width: 100%;}
.footer_top_right p {margin:0px; font-family:latobold; font-size:15px; color:#ffffff;text-align: right;}
.footer_top_right a {text-decoration: none;color: #ffffff;}
.footer_bottom p {margin: 0px;color: #AAB8A4;font-family: latoregular;font-size: 15px;}
.footer_contents .footer_top > div {width: 50%;}
.footer_bottom {height: 100px;line-height: 100px}

/*HOMEPAGE*/
.home_section1, .home_section2, .home_section3 {width: 1170px;margin:auto;}
.home_section1 {margin: 55px auto 70px auto;}
.home_section1 > div {display: inline-block;vertical-align: middle;}
.home1_left {margin-right: 30px;}
.home1_right {color: #212121;text-align: center;}
.home1_right h1 {margin: 0px;font-family: latobold;font-size:45px;}
.home1_right h3 {font-family: latoregular;margin-top: 10px;}
.home_section2_3 {background-color: #EDF0EC;}
.home_section2 {text-align: center;padding: 70px 0px;border-bottom: 1px solid #D1D9CE;}
.home_section2 h2, .home_section3 h2 {color: #465245;font-family: latoregular;line-height: 40px;font-weight: 100;margin: 0px 0px 65px 0px;text-align: center;}
.home_section3 h2 {margin-bottom:45px;}
.home2_buttons_container {position: relative;height: 86px;display: table;margin: auto;border-spacing: 30px 0px;}
.home2_buttons_container a {display: table-cell;width: 210px;text-decoration: none;color: white;background-color: #455144;font-family: latobold;font-size: 20px;vertical-align: middle;height: 86px;text-shadow: 2px 2px #2f2d2d;transition: 0.2s;}
.home2_buttons_container a:hover {background-color: #BA5D34;transition: 0.2s;}
.home_section3 {padding: 60px 0px 70px 0px;}
.home3_slides {margin: 0px 10px;}
.home_slide_title {background: url(https://baytherapy.com/wp-content/uploads/2018/04/Home-Slide-Background.png);background-size: cover;background-repeat: no-repeat;background-position: center;height: auto;padding: 1px 0px;color: white;padding-left: 30px;font-family: latobold;}
.home_slide_title h3 {font-size: 20px;}
.home_slide_text {background-color: #ffffff;padding: 5px 30px;color: #465245;font-family: latoregular;height:180px;position:relative;}
.home_slide_text p:last-child {position: absolute;bottom: 0px;}
.home3_slides_container .slick-track {padding-bottom: 5px;}
.home3_slides {-webkit-box-shadow: 0 3px 0px rgba(57, 63, 72, 0.2);box-shadow: 0 3px 0px rgba(57, 63, 72, 0.2);}

/*ABOUT US*/
.page_contents {background-color: #EDF0EC;}
.page_contents_container {width: 1170px;margin: auto;padding: 60px 0px;}
.page_section1 > div {display: inline-block;vertical-align: top;}
.section1_left {width: 26%;padding-top: 10px;}
.section_right {width: 73%;}
.page_section1 h2, .page_section1 p {margin: 0px;}
.page_section1 h2 {color: #465245;font-family: latoregular;font-weight: 100;line-height: 40px;padding-bottom: 25px;margin-bottom: 25px;border-bottom: 1px solid rgba(119,119,119,0.3);}
.page_section1 p {font-family: latoregular;color: #465245;}

/*AREAS OF FOCUS*/
.buttons_container {display: flex;flex-flow: row wrap;margin-top: 70px;}
.buttons_container a:nth-child(4n-3) {margin-left: 0px;}
.buttons_container a:nth-child(4n) {margin-right: 0px;}
.buttons_container a {width: 270px;text-decoration: none;color: #465245;background-color: #C0C0C0;font-family: latobold;font-size: 20px;vertical-align: middle;height: 62px;transition: 0.2s;margin: 10px 15px;display: flex;flex-direction: column;justify-content: center;text-align: center;}
.buttons_container a:hover {background-color: #3C483B;-webkit-transition: background-color 200ms ease-in;-ms-transition: background-color 200ms ease-in;transition: background-color 200ms ease-in;color: #FFFFFF;}

/*INNER PAGES-AREAS OF FOCUS*/
.page_section5 h5 {margin: 0px;color: #465245;line-height: 35px;font-family: latoregular;font-weight: 100;padding-bottom: 25px;margin-bottom: 25px;border-bottom: 1px solid rgba(119,119,119,0.3);}
.page_section5 h3 {font-size: 22px;font-family: latoregular;font-weight: 100;color: #465245;}
.page_section5 p {font-family: latoregular;color: #465245;margin: 20px 0px;}
.page_section5 a {color: #1f8e15;text-decoration: none;}
/*TEEN-CUTTING*/
.page_section6 ul {padding: 0px;}
.page_section6 p, .page_section6 li {font-family: latoregular;color: #465245;}
#default_148_2, #default_148_3 {width: 49%;display: inline-block;vertical-align: top;}
/*QUESTIONS-FOR-TEENS*/
#default_156_1 .page_section5 a {font-size: 20px;}
.page_section7, .page_section8 {margin: 40px 0px;background-color: #ffffff;padding: 30px;}
.page_section7 img, .page_section8 img, .ordered_list {display: inline-block;vertical-align: top;}
.page_section7 .ordered_list {margin-left: 50px;}
.page_section8 .ordered_list {margin-right: 50px;}
.ordered_list {width: 69%;}
.ordered_list p {font-weight: bold;}
.ordered_list ul {padding: 0px;}
.ordered_list p, .ordered_list li {font-family: latoregular;color: #465245;}
/*ACA*/
#default_183_2 .page_section7 {margin: 0px;background-color: inherit;padding: 0px;}
/*GRIEF-LOSS*/
#default_187_2 ul {-moz-column-count: 2;-webkit-column-count: 2;column-count: 2;list-style-position: inside;}
/*HEADING ON PAGES*/
#default_203_2 .page_section5 h5, #default_120_2 .page_section5 h5 {border: none;padding: 0px;}

/*SERVICES*/
.page_section3 .areas_image {width: 47%;margin-right: 15px;}
.page_section3 > div {width: 49%;display: inline-block;vertical-align: middle;}
.page_section3 .buttons_container {margin-top: 0px;}
.page_section3 .buttons_container a {margin: 10px 6px 10px 10px !important;}

/*INNER PAGES*/
/*ABOUT THERAPY*/
#default_240_1 ul {margin: 0px;font-family: latoregular;color: #465245;font-size: 15px;}

/*CONTACT*/
.page_section4 h2 {text-align: center;color: #465245;font-family: latoregular;font-weight: 100;margin: 0px 0px 50px 0px;}
.page_section4 > div {display: inline-block;width: 47%;vertical-align: top;}
.section4_left {margin-right: 40px;}
.page_section4 .section_right h4 {color: #465245;font-family: latobold;font-size: 20px;margin: 0px 0px 15px 0px;}
.page_section4 .section_right p {color: #465245;font-family: latoregular;margin: 15px 0px;}
.page_section4 .section_right a {color: inherit;text-decoration: none;}

@media screen and (max-width:1348px){
	.home3_slides_container .slick-list.draggable {margin: 0px 35px;}
	.home3_slides_container .slick-next.slick-arrow {right:-25px;}
	.home3_slides_container .slick-prev.slick-arrow {left:-25px;}
}
@media screen and (max-width:1200px){
	.header_contents, .footer_contents {padding: 0px 20px;}
	.home_section1 {padding: 0px 10px;}
	.home1_left {margin-right: 10px;}
	.container {overflow: hidden;}
	.header_contents, .main-navigation, .footer_contents, .footer_bottom {width:100%;}
	.home3_slides_container .slick-list.draggable {margin: 0px 60px;}
	.home_slide_text {height: 240px;}
	.home3_slides_container .slick-prev.slick-arrow {left: 10px;}
	.home3_slides_container .slick-next.slick-arrow {right: 10px;}
	.header_contents > div {display: block;margin: 30px 0px 30px 0px;}
	.section1_left {text-align: center;}
	.buttons_container a {width: 260px;margin: 10px 15px !important;}
	.page_section3 .areas_image {margin: 0px 20px;width: auto !important;}
	.page_contents_container {padding-right: 20px;padding-left: 20px;}
	
}
@media screen and (max-width:1169px){
	.container .home_section2 {width: 100%;}
	.page_contents_container {width: 100%;padding: 40px 20px;}
	.buttons_container {margin-top: 20px;}
	.page_section2 .buttons_container a, .page_section3 .buttons_container a {margin: 15px auto !important;}
	.page_section3 > div {width: 100% !important;margin: 0px;}
	.page_section3 {text-align: center;}
	.page_section3 .areas_image {margin-bottom: 20px;}
	.page_section7, .page_section8 {display: flex;}
}
@media screen and (max-width:1155px){
	.home_section1 > div {width: 100%;text-align: center;}
	.container .home_section1 {margin: 30px 0px;width: 100%;}
	.home1_left {margin-bottom: 20px;}
	.is-sticky {position: relative !important;}
	.home_section3 {padding: 20px 0px;width: 100%;}
}
@media screen and (max-width:1120px){
	.page_section1 div {width: 100%;}
	.section1_left {text-align: center;margin-bottom: 20px;}
}
@media screen and (max-width:983px){
	.main-navigation li:last-child {margin-right: 0px;}
	.main-navigation li:first-child {margin-left: 0px;}
	.main-navigation #primary-menu > li {margin: 0px 30px;}
}
@media screen and (max-width:980px){
	.home2_buttons_container a {display: inline-block;margin: 20px;vertical-align: middle;line-height: 86px;}
	.home2_buttons_container a:nth-child(1), .home2_buttons_container a:nth-child(2), .home2_buttons_container a:nth-child(5) {line-height: 30px;padding-top: 15px;}
	h1 {font-size: 35px;line-height: 1.2;}
	h2 {font-size: 20px;line-height: 30px;margin-bottom: 20px;}
	h3 {font-size:18px;}
	h5 {font-size: 25px;}
	.header_left h3, .footer_top_left h3, .header_right a {font-size: 16px;}
	.home_section2_3 {padding: 0px 20px;}
	.home_section2 {padding: 20px 0px;}
	.home_section3 .home_slide_text {height: auto;padding-bottom: 30px;}
	.page_section5 h5 {width:100%;}
}
@media screen and (max-width:800px){
	.mobile_menu {display: block !important;}
	.menu-primary-menu-container {display: none;}
	.main-navigation a {text-align: right;}
	.fa.fa-bars {font-size: 24px;margin-right: 30px;color: #465245;}
	.page_section4 > div {width: 100%;}
	.section4_left {text-align: center;margin-bottom: 30px;}
}

@media screen and (max-width:700px){
	.page_section7, .page_section8 {flex-direction: column;}
	.page_section7 img, .page_section8 img {align-self: center;}
	.ordered_list {width: 100%;margin: 0px !important;}
	.page_section8 .ordered_list {order: 2;}
}

@media screen and (max-width:645px){
	.home_section2 br {display: none;}
	.home2_buttons_container a:nth-child(1), .home2_buttons_container a:nth-child(2) {line-height: 86px;padding: 0px;}
}

@media screen and (max-width:615px){
	.header_contents > div, .footer_contents .footer_top > div, .footer_bottom > div {display: block;margin: 30px 0px 30px 0px;width: 100%;}
	.footer_contents .footer_top > div p {text-align:left !important;}
}

@media screen and (max-width:600px){
	.home3_slides_container .slick-list.draggable {margin: 0px 25px;}
	.home3_slides_container .slick-prev.slick-arrow, .home3_slides_container .slick-next.slick-arrow {width: 35px;height: 35px;}
	.home3_slides_container .slick-prev.slick-arrow {left: -10px;}
	.home3_slides_container .slick-next.slick-arrow {right: -10px;}
	.slick-next:before, .slick-prev:before {font-size: 25px !important;}
}


@media screen and (max-width:520px){
	.footer_bottom {line-height: inherit;padding-top: 40px;}
}

@media screen and (max-width:374px){
	.home1_right h1 {font-size: 35px;}
	.home2_buttons_container {margin-left: -15px;}
	.home_slide_title {padding-left:0px;}
	.home_slide_title h3{text-align:center;}
}

