/** All custom style definitions go here **/
h5 { font-style: normal; }
.contextual a {
    color:#000 !important;
    font-size: 14px !important;
}
body { 
    background-color: var(--theme-light-bage);
}
body ul:not(.menu) li{
    color:var(--theme-text-color);
    font-size: 1em;
    list-style-type: disc;
}
body ul:not(.menu) li::marker{
    color: var(--theme-text-color);
    font-size:1em;
}
.bage{
    background-color: var(--theme-tertiary-color);
}
.subpage article img {
    margin-right: 35px;
    padding-bottom: 10px;
    border:none !important;
    box-shadow: none !important;
    margin: 0 auto;
    display: inherit;
}
table, tbody, tr, td, tbody td {
    background-color: transparent !important;
    border: none;
}
footer table, footer tbody, footer tr, footer td, footer tbody td {
    color: #fff;
    padding: 0 5px;
}

/*
.front #banner {
    margin-top: 100px;
}*/

#header {
    z-index: 1000;
    -webkit-box-shadow: 0 5px 5px #888888;
    -moz-box-shadow: 0 5px 5px #888888;
    box-shadow: 0 5px 5px #888888;
}

.video-container,
.video-container video {
    width: 100%;
    height: auto;
    position: relative;
}
.banner-text{
    /*position: absolute;
    top: 20vw;*/
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
    width: 100%;
}
.banner-text h1{
    color:#fff;
}
.fc-unthemed td .fc-today {
    background: rgba(192, 145, 0, 0.25);
}
article img,
.project img,
.block-views-blockfull-gallery-block-1 img {
    border-radius:5px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}
.views-element-container {
    margin-bottom: 0;
    width:100%;
}
.treatment-thumb-container {
    margin-bottom:80px;
    display: flex;flex-flow: row wrap;
}
.treatment-thumb-container .treatment-thumb {
    transition: 0.5s;
}
.treatment-thumb-container .treatment-thumb:hover {
    transform : scale(1.1);
}


.block-view h1, h2, h3 {
    text-align: center;
    margin: 0;
}
h2{
    margin-bottom: .5rem;
}
hr {
    margin: 0.75rem auto;
}
#block-basic-local-tasks ul li {
    display: inline;
}
button:hover, button:focus, .button:hover, .button:focus {
    background-color: var(--theme-secondary-color);
}
.button.wh-button{
    background-color: #fff;
    color:var(--theme-secondary-color);
}
.button:hover {
    transform: scale(1.1);
}

input, textarea, input[type="color"], input[type="date"], input[type="datetime-local"], 
input[type="datetime"], input[type="email"], input[type="month"], input[type="number"], 
input[type="password"], input[type="search"], input[type="tel"], input[type="text"], 
input[type="time"], input[type="url"], input[type="week"]{
    border:unset;
}
.views_slideshow_controls_text_pause {
    display: none;
}
.views_slideshow_controls_text_previous a, .views_slideshow_controls_text_next a,
.views_slideshow_controls_text_previous a:hover, .views_slideshow_controls_text_next a:hover{
    color:transparent;
    text-decoration: none;
}
.views_slideshow_controls_text_previous a {
    background: url('../images/left.png') no-repeat top left;
    background-size:contain;
    width: 30px;
    height: 30px;
    display: inline-block;
    margin: 0 10px;
}
.views_slideshow_controls_text_next a {
    background: url('../images/next.png') no-repeat top left;
    background-size:contain;
    width: 30px;
    height: 30px;
    display: inline-block;
    margin: 0 10px;
}
.views_slideshow_controls_text span:hover {
    text-decoration: unset;
}
.views_slideshow_controls_text {
    text-align: center;
}
summary {
    padding-bottom: 20px;
    font-weight: bold;
    font-size: 18px;
}
details[open] > summary {
    list-style-image: url(../images/search.png);
}
summary {
    list-style-image: url(../images/search.png);
}
summary::-webkit-details-marker {
    background: url(../images/search.png);
    color: transparent;
  }
details[open] > summary::-webkit-details-marker {
    background: url(../images/search.png);
}

/* CRISIS SUPPORT section */
#block-crisisresources p {
    text-align: left !important;
}
.crisis-img {
    position: fixed;
    bottom: 50px;
    right: 10px;
    width: 80px;
    z-index: 100;
}
#offCanvasCrisisSupport{
    z-index: 1000;
    width: 100%;
    padding: 10px;
}
ul.list_crisis_support_contact,
ul.list_crisis_support_contact li {
    list-style-type: none !important;
}


/* Secondary menu and header */
#showMenu {
    top: 30px;
}
#secondary_menu {
    text-align: right;
    background-color: var(--theme-color);
    font-family: var(--theme-smaller-heading-font);
    /*overflow: auto;*/
}
.menu .main a {
    font-family: var(--theme-smaller-heading-font);
    color:var(--theme-color);
}
.menu .main {
    margin: 20px auto;
}
.menu .main li:last-child {
    background-color: var(--theme-secondary-color);
    padding:5px;
}
.menu .main li:last-child:hover {
    transform: scale(1.1);
}

.menu .main li:last-child a, .menu .main li:last-child a { 
    color:#fff; 
}
.header .top-phone, .header .top-mail {
    margin: 5px 0;
    float:right;
}
.header .top-phone a, .header .top-mail a, 
.header .top-phone a:active,  .header .top-phone a:visited
.header .top-mail a:active, .header .top-mail a:visited {
    color:#fff;
}
.header .top-phone a:hover,
.header .top-mail a:hover {
    color:#fff;
    text-decoration: underline;
}
.header .top-phone p, .header .top-mail p{
    color:#fff;
    padding:5px 10px;
    font-size:15px;
    margin-bottom:0;
    text-align: left;
    float:left;
}
.top-phone{
    border-right: 1px solid #fff;
}
/* Content Top*/
#content-top{
    background-color: var(--theme-tertiary-color);
    /*padding: 4rem 0;*/
}

/* Content */
[type="checkbox"], [type="file"], [type="radio"] {
    margin: 0;
}
.form-item-cover-letter, .form-item-resume {
    margin-bottom: 10px;
}
.block-views-blockpsychological-treatment-block-1 header {
    width: 100%;
    margin-bottom: 10px;
}
.treatment-thumb{
    background-color: var(--theme-tertiary-color);
    padding: 0 0 10px 0;
    box-shadow: #c8c8c8 0 0 10px;
}
.treatment-thumb h3{
    font-family: var(--theme-heading-font);
    text-transform:uppercase;
    color:#000;
    text-align: left;
}
.treatment-thumb h3, .treatment-thumb .views-field-body,
.treatment-thumb .views-field-view-node {
    padding:0 10px;
    text-align: left;
}
.treatment-thumb .views-field-body {
    padding-bottom: 10px;
}
.treatment-thumb a {
    color: #000;
}
.treatment-thumb .views-field-field-image-media img {
    top: -15px;
    position: relative;
    display: block;
}
#block-aboutusforfrontpage {
    position: relative;
    /*margin-top: -200px;*/
}
.front-about-left{
    text-align: center;
}
.front-about-right{
    background-color: var(--theme-light-bage);
    margin-top:50px;
    padding:50px;
    position: relative;
    left: -50px;
}
.front-about-right h2, .front-about-right h3 {
    text-align: left;
}
.subpage h3, .subpage h4, .subpage h5, .subpage h6 {
    text-align: left;
    font-family: var(--theme-heading-font);
    color: #000;
    margin : 1rem 0rem;
}
.off-canvas{
    background-color: var(--theme-tertiary-color);
}
.node-65 .node__content>div:first-child {
    padding: 2rem;
    background-color: #fff;
    margin-bottom: 10px;
}
.node-65 .node__content p {
    /*font-family: "Handwritten";*/
    /*font-family: "Handwritten";*/
    /*font-size: 14pt;*/
}
.node-64 p {
    margin-left: 30px;
}

/*** node staff - bio ***/
.node-staff .right-inner {
    padding: 0rem 0.5rem;
}

.stafftags-split-list { 
    display: flex;
    flex-flow: row nowrap;
}
.stafftags-split-list ul {
    width:100%;
}
.stafftags-split-list li {
    list-style-type: none !important;
    text-align: left !important;
}
.stafftags-split-list a {
    color: var(--theme-text-color);
    padding: 3px;
}
.stafftags-split-list a:hover, .stafftags-split-list a.bef-link--selected {
    color: #fff;
    background-color: var(--theme-secondary-color);
}
li.all-staff{
    list-style-image: url(../images/quit.png);
}
.service-what-to-expect {
    padding-left: 3rem;
    padding-right: 3rem;
}
/*
.node-62 .node__content > div + div {
    display: flex;
    flex-direction: row;
    align-content: center;
    flex-wrap: wrap;
    border : 2px solid red;
}*/
/*** webform - contact us ***/
/*
.node-62 .node__content div{
    flex-grow: 1;
    padding: 10px;
}*/

/* Secondary Content */
.front-get-contact {
    background: url("../images/front-middle.png") no-repeat top center;
    background-size: cover;
    padding: 30px 0;
    color: #fff;
    text-align: center;
}
.front-get-contact h2, .front-get-contact p, .front-get-contact span {
    color:#fff;
}
.front-get-contact a {
    font-weight:bold;
    color:#fff;
    font-size:20px;
    font-family:OpenSans;
}
.front-get-contact .contact-infos {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    padding-bottom: 20px;
}
.front-get-contact .paragraph-1 {
    display: flex;
    flex-direction: row-reverse;
    padding: 10px;
    border-right: 1px solid #fff;
    gap: 10px;
    align-items: center;
}
.front-get-contact .paragraph-1 .icons-body{
    text-align: right;
}
.front-get-contact .paragraph-2 {
    display: flex;
    flex-direction: row;
    padding: 10px;
    gap: 10px;
    align-items: center;
}
.front-get-contact .paragraph-2 .icons-body {
    text-align: left;
}
.front-get-contact .link a{
    background-color: var(--theme-secondary-color);
    color: #fff;
    padding: .7rem 1rem;
    padding: .7rem 1rem;
    font-weight: normal;
    font-size: 1.2em;
}
#block-frontpagepsychservicesheader {
    padding-top:30px;
    padding-bottom:30px;
    max-width: 70.5rem !important;
    margin: auto !important;
}
#block-frontpagepsychservicesheader div{
    display: flex;
    flex-flow: row nowrap;
    margin: auto 0;
    align-items: center;
    padding: 10px;
}
#block-frontpagepsychservicesheader h2 {
    text-align: left;
    line-height: 1;
}
#block-frontpagepsychservicesheader p {
    font-family: OpenSans;
}
.service-thumb-title h3 {
    color:#000;
    font-family:var(--theme-heading-font);
    text-align: left;
}
.service-thumbs .service{
    background-color: var(--theme-tertiary-color);
    box-shadow: #c8c8c8 0 0 10px;
}
.service-thumbs .service .field-icon, 
.service-thumbs .service .service-thumb-title,
.service-thumbs .service .short-description {
    padding:20px;
}
.service-thumbs .service .short-description ul, 
.service-thumbs .service .short-description p {
    font-size: 1em;
}
.service-thumbs .service-link {
    padding:20px;
}
.service-thumbs .service-link a {
    color: var(--theme-text-color);
    text-transform: uppercase;
}
.service-thumbs .service-link > div {
    display: inline;
}
.service-thumbs .service-link::after {
    content: '\2192';
    color: var(--theme-text-color);
}

/* Third Content Section */
#third_content{
    background-color: var(--theme-tertiary-color);
    margin-top: 30px !important;
}
#third_content .block{
    padding-top:30px;
}

#block-views-block-our-team-block-2 .staff-thumbs {
    display: flex;
    flex-wrap: wrap;
}
#block-views-block-our-team-block-2 .staff-thumbs header, 
#block-views-block-our-team-block-2 .staff-thumbs .bef-exposed-form {
    width: 100%;
}
.staff-thumbs .columns{
    margin-bottom:15px;
    min-height: 400px;
}
.staff-thumbs .columns:last-child:not(:first-child) {
    float:left; 
}
.staff-thumbs li{text-align: center;}
.staff .field-image {
    text-align: center;
}
.staff .staff img {
    border-radius: 20px;
}
#flexslider_team_slideshow_element {
    background: none;
}
#flexslider_team_slideshow_element li.flex-nav-prev, 
#flexslider_team_slideshow_element li.flex-nav-next  
{
    list-style-type: none;
    list-style: none;
}
#flexslider_team_slideshow_element li.flex-nav-prev a.flex-prev,
#flexslider_team_slideshow_element li.flex-nav-next a.flex-next {
    overflow: visible;
    z-index: 100;   
}
#flexslider_team_slideshow_element li.flex-nav-prev a.flex-prev {
    background: url(../images/left.png) no-repeat top left;   
    background-size: contain;
    width: 30px;
    height: 30px;
    display: inline-block;
    margin: 0 10px;
    font-size: 0px;
    background-color: white;
    border-radius: 200%;
    padding: 20px;
}

#flexslider_team_slideshow_element li.flex-nav-next a.flex-next {
    background: url(../images/next.png) no-repeat top left;  
    background-size: contain;
    width: 30px;
    height: 30px;
    display: inline-block;
    margin: 0 10px;
    font-size: 0px; 
    background-color: white;
    border-radius: 200%;
    padding: 20px;
}
#flexslider_team_slideshow_element li.flex-nav-prev a.flex-prev:before,
#flexslider_team_slideshow_element li.flex-nav-next a.flex-next::before {
    display: none;
}


#flexslider_team_slideshow_element .flex-direction-nav {
    list-style: none;
    list-style-type: none;
}
#flexslider_team_slideshow_element h3.staff-name a,
.staff .staff-name h3 {
    font-family: var(--theme-heading-font);
    color:#000;text-align: center;
}
.staff hr {
    width:80px;
    border: 1px solid var(--theme-secondary-color);
}
.staff .staff-title {
    text-align: center; 
}
.resources-thumb {
    text-align: center;
}
.resources-thumb .views-row {
    transition: 0.5s;   
}
.resources-thumb .views-row:hover {
    transform : scale(1.1);   
}

.resources-thumb .views-field-field-date{
    color: var(--theme-secondary-color);
    position: relative;
    top: -20px;
    background: var(--theme-tertiary-color);
    text-align: center;
    display: inline-block;
    padding: 5px 10px;
    box-shadow: #c8c8c8 0 0 10px;
    z-index: 3;
}
.resources-thumb .views-field-field-image {
    position: relative;
    z-index: 2;
}
.resources-thumb .views-field-field-image img {
    border-radius: 10px;
}
.resources-thumb .inner {
    position: relative;
    top: -40px;
    background-color: var(--theme-light-bage);
    padding: 20px;
    z-index: 1;
}
.resources-thumb .inner h3 {
    font-family: var(--theme-heading-font);
    color:#000;
    text-align: left;
    min-height:90px;
}
.resources-thumb .inner .resource-link {
    text-align: left;
}
.resources-thumb .inner a {
    color:var(--theme-text-color);
}
.resources-thumb .inner a::after {
    content: '\2192';
    color: var(--theme-text-color);
}
.newsletter-left img {
    width:50px;
    float:left;
}
.newsletter-left h3 {
    float: left; 
    font-family:Gilmer;
    color:#fff;
    font-weight: bolder;
    text-transform: unset;
    margin:10px;
}
.newsletter-box {
    background-color: var(--theme-secondary-color);
    padding: 20px;
}
.newsletter-right label {
    display: none;
}
.newsletter-right input {
    border:none;
    z-index: 1;
}
.newsletter-right .button{
    color: transparent;
    width: 30px;
    padding: 0;
    margin: 0;
    height: 30px;
    background-color: var(--theme-secondary-color);
    background-image: url("../images/newsletterbtn.png");
    background-repeat: no-repeat;
    background-position: 3px 3px;
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 2;
}
.newsletter-left, .newsletter-right {
    padding: 5px;
}

/* Social Icons */
.social-icons{
	float: left;
}
.social-icons .svg-inline--fa{
	min-height: 30px;
	padding: 10px;
}

/* Bottom area */
.front #bottom_content{
    background-color: var(--theme-tertiary-color);
    background-image: url("../images/bottombg.png");
    background-position: top center;
    background-size: 100%;
    background-repeat: no-repeat;
    padding-top:100px;
}
.testimonial-front .testimonial-left img {
    text-align: center;
    width: 100%;
}
.testimonial-front .testimonial-left .left-inner {
    background: var(--theme-color);
    text-align: center;
    color: #fff;
}
.testimonial-front .testimonial-left h3 {
    font-family: var(--theme-heading-font);
    color:#fff;
}
.testimonial-front .testimonial-left a {
    font-weight: bold;
    font-family: OpenSans;
    color:#fff;
    font-size: 20px;
}
.testimonial-front .flexslider {
    background: transparent;
}
.testimonial-front .flexslider .slides img {
    border-radius:100%;
    width:50px;
    height:50px;
    float:left;
    margin: 5px;
}
.testimonial-front .flexslider .slides > li {
    margin-left:0;
}
/*.testimonial-front .flex-control-nav { 
    display: none;
}*/
.flex-control-paging li a {
    width: 20px;
    height: 20px;
}
.testimonial-front-inner {
    background-color: var(--theme-light-bage);
    overflow:auto;
    background-image:url("../images/qt.png");
    background-position: 95% 95%;
    background-repeat: no-repeat;
}
.testimonial-front .testimonial-left {
    padding:0;
}
.testimonial-front .testimonial-left .left-inner {
    padding:20px 15px;
}
.testimonial-front .testimonial-right {
    padding:20px;
}
.testimonial-front .testimonial-right h2, 
.testimonial-front .testimonial-right h3 {
    text-align: left !important;
}
.testimonial-front .testimonial-right h2:after {
    display: none !important;
}
.testimonial-front .testimonial-right .quote {
    background: var(--theme-color);
    color:#fff !important;
}
.testimonial-front .quote {
    padding: 10px;
}
.testimonial-front .quote-by {
    background: linear-gradient(to bottom right, var(--theme-color) 0%, var(--theme-color) 50%, transparent 50%, transparent 100%);
    background-size: 70px 60px;
    background-repeat: no-repeat;
    padding: 20px 10px 10px 50px;
}
.testimonial-front .quote-by h4 {
    font-family: var(--theme-heading-font); 
    color:#000;
    text-transform: uppercase;
}
.testimonial-front .quote p {
    color: #fff;
}
.starrating {
    height:20px;
}
#block-frontpagecareersblock {
    /*
    background-color: transparent;
    background-image: linear-gradient(to right, transparent 30%, #b0d090 40%);*/
    padding: 50px 0;
}
#block-frontpagecareersblock .content {
    overflow: auto;
}
.careers-front-right {
    padding:20px;
    padding-right:5%;
    background-color: transparent;
    background-image: linear-gradient(to right, transparent 5%, #b0d090 67%);
}
.careers-front-right p {
    color:#000;
}
.careers-front-right p span{
    font-size: 16pt;
}
.careers-front-left {
    padding:0;
    text-align: center;
}
.careers-front-left img {
    width: 100%;
}

.partner-logos .views-row {
    text-align: center;
}

.partner:last-child:not(:first-child) {
    float: left;
}
.partner-logos img {
    filter: gray; /* IE6-9 */
    -webkit-filter: grayscale(100%); /* Chrome 19+ & Safari 6+ */
}
.partner-logos img:hover {
    filter: none;
    -webkit-filter: grayscale(0%);
}

/* Footer */
.site-footer {
    background:#000;
    border:unset;
}
.site-footer h2, .site-footer p {
    color:#fff;
}
.site-footer h2 {
    font-size: 24px;
    margin-bottom: 1rem;
}
.footer-first img {
    padding:3px;
}
#copyright, #igd {
    color:#fff; 
}



#block-contacts,
#block-quicklinks,
#block-services,
#block-officehours {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#block-contacts .content{
    width: 100%;
}
#block-contacts p {
    text-align: left;
}
.site-footer h2, .site-footer p {
    text-align: center;
    width: 100%;
}
#block-frontpagegreatsupportandemailusblock .link {
    transition: 0.5s;
}
#block-frontpagegreatsupportandemailusblock .link:hover {
    transform: scale(1.1); 
}

/* Media */
@media all and (max-width:1024px) {
   
    #block-frontpagecareersblock{
        background-color: #b0d090;
    }
    #block-frontpagecareersblock .content {
        overflow: auto;
    }
    .careers-front-right {
        padding:20px !important;
    }
    #block-frontpagepsychservicesheader div{
        flex-wrap: wrap;
    }
    #block-frontpagepsychservicesheader p {
        font-family: OpenSans;
        width: unset;
    }
    /*** node staff - bio ***/
    .node-staff .right-inner {
        padding: 0.5rem 0.5rem;
    } 
}
@media all and (min-width:1024px) {
    .service-thumbs .service .short-description {
        min-height: 320px;
    }
}

@media all and (min-width:45em) {
    .treatment-thumb-container {
        text-align: center;
        display: flex;
        flex-flow: row wrap;
    }
    .treatment-thumb { 
        max-width:30%;
        display:inline-block; 
        margin:10px;
        float: none !important;
    }
}
@media all and (max-width:45em) {
    .sm-hidden {
        display: none;
    }
    .header .top-phone, .header .top-mail {
        float:none;
        display: inline-block;
    }
    .header .top-phone{
        border-right: none;
    }
    #secondary_menu {
        order: 2;
        background-color: var(--theme-tertiary-color);
    }
    .header-inner {
        order: 1;
    }
    .secondary-menu-inner {
        text-align: center;
    }
    .header .top-phone a, .header .top-mail a, .header .top-phone a:active, .header .top-phone a:visited .header .top-mail a:active, .header .top-mail a:visited {
        color: #000;
    }
    .treatment-thumb {
        display: block;
        margin-bottom: 30px;
        float: left!important;
    }
    #block-aboutusforfrontpage {
        margin-top: 0;
    }
    .front-about-right {
        margin-top:10px;
        left: unset;
        padding:10px;
    }
    #content-top {
        background-color: var(--theme-tertiary-color);
        /*padding: 2rem 0 2rem 0;*/
    }
    .header_container {
        display: flex;
        flex-direction: column;
    }
}

@media all and (max-width:40em) {
    .great-support{ 
        border-right: unset;
    }
    .great-support .left {
        text-align:left;
        float:right;
    }
    .great-support .right {
        text-align:left;
        float:left;
    }
    .front-get-contact .contact-infos{
        flex-direction: column;
    }
    .front-get-contact .paragraph-1{
        flex-direction: row;
        border: unset;
    }
    .front-get-contact .paragraph-1 .icons-body{
        text-align: center;
    }
}
@media screen and (max-width: 400px) {
	.heade .top-phone, .header .top-mail {
        font-size:12px;
    }
}
