@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/*
Theme Name: Cambridge Behavioral Health
Author: Cambridge Behavioral Health
Tags: responsive, fixed width
*/

/*
font-family: "Montserrat", sans-serif;
*/

* { margin: 0px; padding: 0px; -webkit-font-smoothing:antialiased; -webkit-text-size-adjust:none; box-sizing: border-box; -webkit-box-sizing: border-box; }
html, body { width: 100%; font-size: 16px; line-height: 150%; color: #3D3C3E; font-family: "Montserrat", sans-serif; font-weight: 400; background: #fff; }
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video { margin: 0; padding: 0; border: 0; vertical-align: baseline; }

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section { display: block; }
.container { padding: 0 15px; margin: 0 auto; max-width: 1140px; position: relative; }

input[type=checkbox]{ -webkit-appearance: checkbox; margin: 0px 0 0 0px; display: inline-block; vertical-align: top;}
button, input, textarea, select { -webkit-appearance: none; -webkit-border-radius: 0px; }


[href^="tel"] { cursor: text; }
[href^="tel"]:hover { text-decoration:none !important; }

textarea::input-placeholder,input::input-placeholder { opacity: 1; } 
textarea::-moz-placeholder,input::-moz-placeholder{ opacity: 1; } 
textarea:-ms-input-placeholder,input:-ms-input-placeholder{ opacity: 1; }
textarea::-webkit-input-placeholder,input::-webkit-input-placeholder { opacity:100; }  

.text-left { text-align: left; }
.text-right { text-align: right; }
.text-center { text-align: center; }

input, textarea { font-weight: 400; transition: all 0.3s; -webkit-transition: all 0.3s; font-family: "Montserrat", sans-serif; border-radius:0px !important; -webkit-border-radius:0px  !important; -ms-border-radius:0px  !important; }
input[type="text"]:focus,
input[type="url"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
 textarea:focus { outline: none; }
input.wpcf7-validates-as-required {  }
input.wpcf7-validates-as-required:focus { }

/* common */
a { color: #0E2F90; outline: none; transition: all 0.3s; -webkit-transition: all 0.3s; text-decoration: none; }
a:hover { text-decoration: none; }
img { border: 0px; outline: none; display: block; max-width: 100%; height:auto;  transition: all 0.3s; -webkit-transition: all 0.3s; text-decoration: none; }
ul,ol { margin-bottom: 20px; padding: 0 0 0 20px; }
.clear { clear: both; overflow: hidden; }
h1, .h1 ,h2, .h2 ,h3, .h3 ,h4, .h4 ,h5, .h5 ,h6, .h6 { padding-bottom: 10px; font-family: 'ITC Mona Lisa'; font-weight: 400; } 

h1, .h1 { padding-bottom: 10px; font-size: 40px; font-weight: 400; line-height: 48px; text-align: center; }
h2, .h2 { padding-bottom: 20px; font-size: 65px; line-height: 1; color: #3D3C3E; }
h3, .h3 { padding-bottom: 10px; color: #0E2F90; font-size: 32px; font-style: normal; line-height: 150%; }
h4, .h4 { color: #000; font-family: "Montserrat", sans-serif; font-size: 16px; font-style: normal; font-weight: 600; line-height: 150%; }
h5, .h5 { font-size: 16px; }
h6, .h6 { padding-bottom: 12px; }

p { padding-bottom: 24px; font-size: 16px; line-height: 150%; }
p a { color: #3D3C3E; text-decoration: underline; }
p a:hover { text-decoration: none; }

ul.listing li { padding: 0 0 10px 10px; position: relative; line-height: 30px; }
ul.listing li:before { content:'.'; position:absolute; left:0; top:0; }

.field, .wpcf7-text, textarea { display: block; border-radius:0; -webkit-border-radius:0; -ms-border-radius:0; width: 100%; height: 40px; font-size: 13px ; padding: 13px 25px 13px 15px; background:#eeeeee; border:0; color:#5d5d5d; }
textarea { padding: 13px 15px; height: 110px; resize: none; }

a.close, a.mobilemenu { display: none; }

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
 textarea:focus { border:0; color: #000; outline:none; }

.button { color: #fff; padding: 10px 24px; display: inline-block; vertical-align: top; background: #c4131b; border: 0px; font-size: 16px; line-height: 25px; position: relative; text-transform: uppercase; font-weight: 600; }
.button:after { content: ""; position: absolute; right: -2px; top: -2px; border: transparent solid 6px; border-bottom: #fff solid 6px; transform: rotate(45deg); }
.button:hover { background: #000; }

.button.inverse { color: #c4131b; background: #fff; }
.button.inverse:after { border-bottom: #c4131b solid 6px; }
.button.inverse:hover { color: #fff; background: #000; }

a.morelink { padding-right: 30px; color: #fff; font-weight: 400; font-size: 16px; line-height: 150%;  display: inline-block; position: relative; }
a.morelink:after { content: ""; position: absolute; right: 0px; top: 3px; width: 20px; height: 20px; background: url(images/more-icon.png) right no-repeat; background-size: 20px; transition: 0.3s all; }
a.morelink:hover { padding-right: 40px; }
a.morelink:hover:after { transform: rotate(90deg); }

/* wrapper */
#wrapper { /*max-width: 1440px; margin: auto;*/ width: 100%; overflow: hidden; min-height: 100%; position: relative; }

.wrapper,
.centering { width: 100%; max-width: 1280px; padding: 0 15px; margin:auto; position: relative;}  


.flex-wrap, .d-flex { display: flex; flex-wrap: wrap; }
.v-center { align-items: center; }
.space-between { justify-content: space-between; }

/* header-part */
#header-part { padding: 0px; width: 100%; z-index: 2; }
#header-part a.logo { display: block; position: absolute; left: 50%; top: 2px; transform: translateX(-50%); max-width: 269px; }

	/* top_sec */
	.top_sec { padding: 6px 0 4px; background: #D6DDF0; }
	.top_sec .wrapper { padding: 0 20px; justify-content: space-between; }
	.top_sec p { padding: 0px; color: #0E2F90; font-size: 12px; font-weight: 600; line-height: 20px; letter-spacing: 0.72px; text-transform: uppercase; }
	.top_sec a { color: #0E2F90; text-decoration: none; }
	.top_sec { }

	.menu_sec { padding: 28px 0px 38px; }
	.menu_sec .wrapper { min-height: 104px; display: flex; align-items: center; justify-content: center; }
	.menu_sec ul { padding: 43px 0px 0px 80px; list-style: none; display: flex; align-items: center; justify-content: center; }
	.menu_sec li { padding: 0px; }
	.menu_sec li a { padding: 0px 14px 28px 18px; position: relative; color: #7684AE; font-weight: 500; }
	.menu_sec li a:hover { color: #0E2F90; }
	.menu_sec li.gapright { padding-right: 150px; }
	.menu_sec li.gapleft { padding-left: 175px; }
	.menu_sec li.current-menu-item a:after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: 0px; width: 89px; height: 20px; background: url(images/hover-icon.png) no-repeat; background-size: 100%; }
	.menu_sec li.current-menu-item a { color: #0E2F90; }
	.menu_sec { }

/* content-part */
#content-part { }

	/* banner_sec */
	.banner_sec { position: relative; }
	.banner_sec .bg { position: absolute; left: 0px; top: 58px; width: 100%; height: calc(100% - 116px); background: #0e2f90; }
	.banner_sec .banner { margin: 0 auto; max-width: 924px; position: relative; z-index: 2; }
	.banner_sec .banner img { display: block; border-radius: 10px; }
	.banner_sec:before,
	.banner_sec:after { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 293px; height: 125px; background: url(images/banner-left-icon.png) no-repeat; background-size: 100%; z-index: 10; }
	.banner_sec:after { left: auto; right: 0px; background: url(images/banner-right-icon.png) no-repeat; background-size: 100%; }
	.banner_sec.innerpage { padding-top: 28px; }
	.banner_sec.innerpage .bg { top: 0px; height: 70.1%; }
	.banner_sec.innerpage h1 { padding-bottom: 22px; color: #fff; }
	.banner_sec.innerpage:before,
	.banner_sec.innerpage:after { top: 40%; }
	.banner_sec.innerpage { }
	.banner_sec.services .bg { top: 0px; height: 100%; }
	.banner_sec.services h1 { color: #fff; }
	.banner_sec.services { padding-top: 28px; padding-bottom: 15px; }
	.banner_sec.services:before,
	.banner_sec.services:after { top: 65%; }
	.banner_sec.team { text-align: center; }
	.banner_sec.team p { padding-bottom: 29px; color: #fff; }
	.banner_sec.team h1 { padding-bottom: 9px; }
	.banner_sec.team .bg { height: 66.5%; }
	.banner_sec.team { }
	.banner_sec.qualification { }
	.banner_sec.qualification  h1 { padding-bottom: 25px; }

	/* intro_sec */
	.intro_sec { padding: 41px 0px 0px; }
	.intro_sec .intro { padding-bottom: 29px; position: relative; max-width: 924px; margin: 0 auto; border-bottom: #0E2F90 solid 1px; }
	.intro_sec .intro:before { content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: -16px; width: 166px; height: 32px; background: #fff url(images/sep-icon.png) center no-repeat; background-size: 144px; }
	.intro_sec .intromid { max-width: 610px; margin: 0 auto; }
	.intro_sec .intro ul { padding: 0px 0px 24px 10px; list-style: none; }
	.intro_sec .intro li { padding: 0px 0px 0px 14px; color: #000; position: relative; }
	.intro_sec .intro li:before { content: ""; position: absolute; left: 0px; top: 11px; width: 3px; height: 3px; border-radius: 50%; background: #000; }
	.intro_sec.team .intro ul { margin-bottom: 0px; }
	.intro_sec .intro { }
	.intro_sec .textblock2 { padding-top: 57px; padding-bottom: 36px; border: 0px; }
	.intro_sec .textblock2:before { display: none; }
	.intro_sec .textblock2 { }
	.intro_sec .textblock2 { }
	.intro_sec p { color: #000; }
	.intro_sec .pageslist { padding: 55px 0px 60px;  margin: 0 auto; max-width: 945px; }
	.intro_sec .pageslist .page-item { padding: 0px 10px 0px 10px; width: 33.33%; }
	.intro_sec .pageslist figure { padding-bottom: 7px; }
	.intro_sec .pageslist figure img { display: block; border-radius: 10px; }
	.intro_sec .pageslist h3 { padding-bottom: 2px; }
	.intro_sec .pageslist h3 a { text-decoration: none; }
	.intro_sec .pageslist p { color: #000; font-size: 14px; }
	.intro_sec.team { padding-top: 38px; }
	.intro_sec.team h3 { padding-bottom: 3px; }
	.intro_sec.team .intro { margin-bottom: 40px; }
	.intro_sec.team h4 { padding: 10px 0px 0px; font-weight: 700; }
	.intro_sec.team { }
	.intro_sec.team { }
	.intro_sec .quotecontent { padding: 14px 0px 100px; max-width: 924px; margin: 0 auto; position: relative; }
	.intro_sec .quotecontent h3 { padding-bottom: 22px; text-align: center; }
	.intro_sec .quotecontent:before { content: ""; position: absolute; left: -57px; top: 79px; width: 37px; height: 24px; background: url(images/quote-icon.png) no-repeat; background-size: 100%; }
	.intro_sec .quotecontent ul.slick-dots { list-style: none; margin: 0px; display: flex; align-items: center; justify-content: center; }
	.intro_sec .quotecontent ul.slick-dots li { padding: 0 5px; }
	.intro_sec .quotecontent ul.slick-dots li button { width: 8px; height: 8px; border-radius: 50%;font-size: 0px; cursor: pointer; border: 0px; background: #000000; opacity: 0.4; }
	.intro_sec .quotecontent ul.slick-dots li.slick-active button { background: #0E2F90; opacity: 1;  }
	.intro_sec .quotecontent { }
	.intro_sec.qualification { padding-top: 77px; }
	.intro_sec.qualification .intro:last-child { border: 0px; }
	.intro_sec.qualification .intro:last-child:before { display: none; }
	.intro_sec.qualification .intro:last-child { }
	.intro_sec.qualification .intro:last-child { }
	.intro_sec.qualification .intro ul { margin-bottom: 0px; }
	.intro_sec.qualification .intro h4 { padding-top: 0px; }
	.intro_sec.qualification .intro h4 + h4 { padding-top: 24px; }
	.intro_sec.contact { padding-bottom: 30px; }
	.intro_sec.contact .map { max-width: 925px; margin: 0 auto; border-radius: 10px; overflow: hidden; }
	.intro_sec.contact .map iframe { width: 100%; }
	.intro_sec.contact .intro { max-width: 925px; border: 0px; }
	.intro_sec.contact .intro .intromid { max-width: 100%; padding: 35px 0px 0px 158px; }
	.intro_sec.contact .intro h4 { font-weight: 700; padding-bottom: 22px; }
	.intro_sec.contact .intro:before { display: none; }
	.intro_sec .errornot { text-align: center; min-height: calc(100vh - 500px); }
	.intro_sec .testimonialbg p { padding-bottom: 15px; font-size: 15px; line-height: 140%; }
	.intro_sec.qualification .intro h4 { padding-bottom: 10px; }	
	.intro_sec.qualification .intro h4 a { display: inline-block; padding-left: 32px; background: url(images/download-icon.png) left no-repeat; background-size: 20px;  }

	.services_sec { padding-bottom: 10px; }
	.services_sec .wrapper { max-width: 955px; }
	.services_sec .service-item { padding: 40px 0 29px 0; margin-bottom: 16px; position: relative; border-bottom: #0E2F90 solid 1px; }
	.services_sec .service-item:before { content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: -16px; width: 166px; height: 32px; background: #fff url(images/sep-icon.png) center no-repeat; background-size: 144px; }
	.services_sec .service-item figure { padding-bottom: 24px; width: 48.9%; }
	.services_sec .service-item figure img { display: block; border-radius: 10px; }
	.services_sec .service-item .text { padding: 2px 0px 0px 20px; width: 51.1%; }
	.services_sec .service-item h3 { padding-bottom: 8px; }
	.services_sec .service-item h4 { padding-bottom: 0px; }
	.services_sec .service-item ul { padding: 0px 0px 24px 10px; margin: 0px; list-style: none; }
	.services_sec .service-item li { padding: 0px 0px 0px 14px; color: #000; position: relative; }
	.services_sec .service-item li:before { content: ""; position: absolute; left: 0px; top: 11px; width: 3px; height: 3px; border-radius: 50%; background: #000; }
	.services_sec .service-item:last-child:before { display: none; }
	.services_sec .service-item:last-child { border: 0px; }
	.services_sec .service-item { }
	.services_sec { }

/* footer-part */
#footer-part { width: 100%; }

/* footer_sec */
.footer_sec { padding: 30px 0px 25px; background: #d6ddf0; }
.footer_sec .menubg { padding-bottom: 25px; }
.footer_sec .menubg ul { list-style: none; display: flex; align-items: center; justify-content: center; }
.footer_sec .menubg li { padding: 0 15px; }
.footer_sec .menubg li a { color: #0E2F90; font-size: 14px; font-weight: 600; text-decoration: none; }
.footer_sec .menubg li a:hover { color: #000; text-decoration: underline; }
.footer_sec .menubg { }
.footer_sec .copyright { text-align: center; }
.footer_sec .copyright p { padding: 0px 0px 6px; color: #000; font-size: 12px; font-style: normal; font-weight: 400; line-height: 150%; }
.footer_sec .copyright p a { font-weight: 600; text-decoration: none; }
.footer_sec .copyright p a:hover { text-decoration: underline; }

/* popup_sec */
.popup_sec { padding: 50px 20px; position: fixed; left: 0; top: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; width: 100%; height: 100%; background: rgba(228, 226, 223, 0.58); z-index: 99; }
.popup_sec .inner { position: relative; padding: 80px 50px;text-align: center; width: 100%; color: #fff; max-width: 1015px; background: rgba(8,30,58,0.8) url(images/popup-bg.jpg) no-repeat; background-size: cover; mix-blend-mode: multiply; }
.popup_sec .close { width: 32px; height: 32px; position: absolute; right: 0px; top: -35px; font-size: 0; line-height: 0; background: url(images/close2.svg) center center no-repeat; background-size: contain; cursor: pointer; }
.popup_sec h2 { font-size: 48px; line-height: 1.2; padding-bottom: 25px; }
.popup_sec p { font-size: 20px; }
.popup_sec .button { margin-top: 20px; }

#back-to-top { box-shadow: 0px 0px 15px rgba(0,0,0,0.4) inset; -webkit-box-shadow: 0px 0px 15px rgba(0,0,0,0.4) inset; -ms-box-shadow: 0px 0px 15px rgba(0,0,0,0.4) inset; position: fixed; bottom: 20px; display: none; right: 15px; z-index: 9999; width: 34px; height: 34px; cursor: pointer; border-radius: 50%; -webkit-border-radius: 50%; transition: opacity 0.2s ease-out; -webkit-transition: opacity 0.2s ease-out; opacity: 0; background: #006bb6; }
#back-to-top:after { width: 0px; height: 0px; content: ''; position: absolute; left: 50%; top: 50%; border: 10px solid transparent; border-bottom-color: #fff; margin: -15px 0 0 -10px; }
#back-to-top.show { opacity: 0.8; }
#back-to-top.show:hover { opacity: 1; }

.wpcf7-not-valid-tip { /*display: none !important;*/ line-height: 1; margin-bottom: 5px; }
.wpcf7-not-valid { border: 1px #f00 solid !important; }
div.wpcf7-response-output { margin:0px 0; padding:0; font-size: 14px; line-height: 14px; color: #f00; border:0; }
div.wpcf7-mail-sent-ok { color: #398f14; }

/* content-bar-bar */
.content-bar { padding: 60px 0 60px; width: 100%; }
.error404 .content-bar { padding: 170px 0 50px; text-align:center; min-height:500px; }
.content-bar p a { text-decoration:underline; }
.content-bar p a:hover { text-decoration:none; }

/* Alignment */ 
.alignleft { display: inline; float: left; margin-right: 1em !important; }
.alignright { display: inline; float: right; margin-left: 1em !important; }
.aligncenter { clear: both; display: block; margin-left: auto; margin-right: auto; }
img.alignleft, img.alignright, img.aligncenter { margin-bottom: 1.625em; }
table, th, td { border: none }
table { border-collapse: separate; border-spacing: 0; border-width: 1px 0 0 1px; margin: 0 0 1.6em; table-layout: fixed; /* Prevents HTML tables from becoming too wide */ width: 100%; }
caption, th, td { font-weight: normal; text-align: left; }
th { border-width: 0 1px 1px 0; }
td { border-width: 0 1px 1px 0; vertical-align: top; }
td img { width: 100%; max-width: 100%; vertical-align: top; margin: 0px; height: auto; }
th, td { padding: 0.4em; }
th { font-size: 24px; letter-spacing: 1px; line-height: 28px; }
td img.alignnone { margin: 0px }
blockquote { /*font-style: italic;*/  font-weight: normal; margin: 0 2%; }
blockquote em, blockquote i, blockquote cite { font-style: normal; }
blockquote cite { color: #666; letter-spacing: 0.05em; text-transform: uppercase; }
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }

.wpcf7 form .wpcf7-response-output { border: 0; background: #fff; padding: 10px; }
.wpcf7 form.sent .wpcf7-response-output { color: #219606; border: 0; } 

/*keyframes*/
@-webkit-keyframes stickyhead{
	0%{opacity:0;-webkit-transform:translateY(-100%)}
	100%{opacity:1;-webkit-transform:translateY(0)}
}

@-moz-keyframes stickyhead{
	0%{opacity:0;-moz-transform:translateY(-100%)}
	100%{opacity:1;-moz-transform:translateY(0)}
}
@keyframes stickyhead{
	0%{opacity:0;-webkit-transform:translateY(-100%);-moz-transform:translateY(-100%);-ms-transform:translateY(-100%);-o-transform:translateY(-100%);transform:translateY(-100%)}
	100%{opacity:1;-webkit-transform:translateY(0);-moz-transform:translateY(0);-ms-transform:translateY(0);-o-transform:translateY(0);transform:translateY(0)}
}
