 /*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
	color: rgb(0,0,0);
	font-size: 62.5%;
	line-height: 1.4;
	box-sizing: border-box;  /*…see above*/
	background: rgba(0,0,0,.25);
	height:100%;
	
/* Prevent font scaling in landscape while allowing user zoom */
   -webkit-text-size-adjust: 100%;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */


body {
	  margin:4rem;
	  font-size:1.35rem;
      min-width:300px;
	  font-family: 'Montserrat',Helvetica Neue,Helvetica,Arial,sans-serif;
	letter-spacing: .015em;
	  font-weight:300;

  	-webkit-font-feature-settings: "kern", "dlig", "liga", "case"; /* No variation */
  	-moz-font-feature-settings: "kern" 1, "dlig" 1, "liga" 1, "case" 1; /* Firefox 15.0 onwards explicitly set feature values */
	  font-feature-settings: "kern", "dlig", "liga", "case"; /* No variation *

/*Improves the appearance of downlaodable fonts*/
	-webkit-text-rendering: optimizeLegibility;
	-moz-text-rendering: optimizeLegibility;
	-ms-text-rendering: optimizeLegibility;
	-o-text-rendering: optimizeLegibility;
	  text-rendering: optimizeLegibility;
	
	-webkit-font-smoothing: subpixel-antialiased;
	-moz-font-smoothing: grayscale;
	-ms-font-smoothing: antialiased;
	-o-font-smoothing: antialiased;
	  font-smoothing: antialiased; /*text-shadow: 1px 1px 1px rgba(0,0,0,0.004);*/
	}
	
.fl {
	float:left;
}	
.fr {
	float:right;
}
.fn {float:none;
	}

main {
background:rgb(255,255,255);
	max-width:96rem;
	margin:40px auto;
	}
	
/*Header, Branding, Navigation*/
header {
	background:rgb(255,255,255);
	padding:4rem 3vw 0;
	}	
	
	
/*Contact info*/	
.contact {
	float:left;
	letter-spacing:.05rem;
	padding-right:4vw;
	}	
.contact p {
	font-size:1.4rem;
	font-weight:300;
	line-height: 0.7rem;
margin-top: .5rem;
	padding:0;
	letter-spacing:.05rem;
	}	
a[href^="tel:"] {
  color: rgb(0,0,0);
  text-decoration: none;
}	
a[href^="mailto:"] {
  color: rgb(0,0,0);
  text-decoration: none;
}	
p.emergency, p.emergency a[href^="tel:"]   {
	font-weight:500;
	color:rgb(125,37,125); /* brighter plum for small text */
	margin-bottom:6rem;
	}

.num p {margin-bottom:0 !important;
}

.num p:last-child {margin-bottom:1.8rem !important;
}

.col h2 { 
font-weight: 400;
font-size: 1.9rem;

color: rgb(100,38,103);
}

.translation__nav li {
	list-style:none;
	margin:0;
	padding:0 0 0 26.2rem;
	}	
	
.flag {
	width:25px;
	margin-bottom:.8rem;
	}	
	
	
/*Branding*/		
.logo {
	float:right;
/*	width:calc((951px / 4 ) - 43.7667px);*/
	width:calc(951px / 4 );
	margin-bottom:3rem;
	}	 
	
	
/*Navigation*/				
nav {
	clear:both;
	}	
	
	
/*Image bar*/			
.imgbar	{
	border-bottom:2rem solid rgba(0,0,0,.8);
	display: -webkit-flex;
   display: flex;
   -webkit-flex-direction: row;
   flex-direction: row;
	justify-content: space-between;
   padding:0;
   margin-top:16px;
	background: rgba(0, 0, 0, .8);
	}
	
body.insights .imgbar	{
	border-bottom:2rem solid rgb(100,38,103);
}

body.insights .imgbar+section	{
	background:rgb(200,185,201);
}

body.insights .col {
	background:rgb(255,255,255,);
	}

.imgbar img {
	/*border-right:3px solid rgba(0,0,0,.8);*/
	box-sizing: border-box;
	width: calc((100% - 9px) / 4);
	}
.imgbar img:last-child {
	border-right:0;
	}
	
section	{
	background:rgb(255,255,255);
	position:relative;
    padding: 2rem 0 6rem 3vw;
	}
.col {
	background:rgba(0,0,0,.07);
	width:calc(50% - 1vw);
	margin:0;
	padding:3rem 0 2.5rem;
	float:left;
	}
.wide {
	width:calc(100% - 3vw);
	}
.wide ul {
	list-style: none;
	margin-left: 30px;
	}
.wide ul li:before {
	content: "• ";
	font-size: 40px;
	color: rgb(125,37,125);
	line-height: 2rem;
	vertical-align: -7px;
	margin-left: -20px;
	}
.wide ul li {
	margin-bottom:4px;
	padding-left: 30px;
	}
.wide ul li:last-child {
	margin-bottom:0
	}
.wide ul li ul{
margin-top: 14px;
margin-bottom: 7px;
margin-left: 0;
padding: 0;
}
.ccol1, .ccol2 {
	float:left;
}
.ccol1 {
	margin-left: 83px;
	width: 34%;
	margin-bottom:14px;
}
.ccol2 {
	width:34%;
	margin-bottom:14px;
}
.wide ol {
	margin-left: 56px;
	clear:both;
	margin-top:14px;
	}

.wide ol li {
	margin-bottom:4px;
	padding-left: 8px;
	}
.wide ol div {
	display:table;
}

.wide ol div div {
	display:table-cell;
}

.wide ol div div:first-child {
	width:33%;
}
.wide ol div div:last-child {
	width:66%;
}

.col h1 {
	font-family: 'Montserrat',Helvetica Neue,Helvetica,Arial,sans-serif;
    font-style: normal;
    font-weight: 400;
	color:rgb(125,37,125); /* brighter plum for small text */
	margin:0 0 1rem;
	font-size:2.8rem;
	line-height: 3rem;
	}	
.col h1, .col h2, .col p, .col div.vcard {
	margin-right:7vw;
	margin-left:2vw;
	}
	
.col h2 {
	margin-top: 2.4rem;
	margin-bottom:1.2rem;
	color: rgb(125,37,125);
	}
	
.col p.tel, .col p.email {
	margin-top:0;
	margin-bottom:0;
	}	
	
.col p.emergency,  .col p.emergency a[href^="tel:"]  {
	margin-top:0;
    font-weight:600;
	color:rgb(125,37,125); /* brighter plum for small text */
	margin-bottom: 1.8rem;
	}
	
.rcol {
	width:calc(50% );
	margin:3rem 0 0;
	padding:0 0 2rem;
	float:right;
	}	
.feature {
	color:rgb(255,255,255);
	position:relative;
	z-index:2;
	float:right;
	width:calc(100% + 5.824vw);
	padding:0;
	}	
	
.feature-sm {
	display:none;
	}	
	
.services h2 {
	font-weight: 400;
font-size: 1.9rem;
margin: 0 3vw;
color:rgb(100,38,103);
}	
	
.acc-button h3{
    font-style: normal;
    font-weight: 500;
	color:rgb(100,38,103);
	font-size:1.6rem;
	letter-spacing:.015rem;
	margin:0 3vw;
	background:url(../img/ico-open.gif) no-repeat 100% 6px;
	padding: 0 3vw 0 0;
	}	
.acc-button h3:hover{
	background:url(../img/ico-open2.gif) no-repeat 100% 6px;
	color:rgb(140,86,142);
	}
.acc-button.on h3{
	background:url(../img/ico-close.gif) no-repeat 100% 6px;
	}	
	
.acc-button.on h3:hover{
	background:url(../img/ico-close2.gif) no-repeat 100% 6px;
	color:rgb(140,86,142);
	}		
	
.acc-button2 h3{
    font-style: normal;
    font-weight: 500;
	color:rgb(100,38,103);
	font-size:1.6rem;
	letter-spacing:.015rem;
	margin:0 3vw;
	background:url(../img/ico-plus.gif) no-repeat 100% 6px;
	padding: 0 3vw 0 0;
	}	
.acc-button2 h3:hover{
	background:url(../img/ico-plus2.gif) no-repeat 100% 6px;
	color:rgb(140,86,142);
	}
.acc-button2.on h3{
	background:url(../img/ico-minus.gif) no-repeat 100% 6px;
	}	
	
.acc-button2.on h3:hover{
	background:url(../img/ico-minus2.gif) no-repeat 100% 6px;
	color:rgb(140,86,142);
	}		
	
.services .acc-content:last-child p, .services .acc-content2:last-child p {
	margin-bottom:0 ;
	} 	
	
.map img{
	width:calc(100% - 3vw);
	margin: 3rem 0;
	}	
	
/*Home page banner*/	
.banner {
	background:rgb(100,38,103);
	width:100%;
	margin:0 0 3vw;
	}  
.banner h1 {	
    font-family: 'Montserrat',Helvetica Neue,Helvetica,Arial,sans-serif;
    font-style: normal;
    font-weight: 400;
	padding:2rem 2.5vw 2rem 2.75vw;
	margin:0;
	font-size:2.8rem;
}
	
.banner p {
	padding:2rem;
	color:rgb(255,255,255);
	} 	
	
/*Services panel*/	
	
.services {
	background:rgb(200,185,201);
	width:100%;
	color:rgba(0,0,0,1);
	padding:2rem 0;
	
	margin:0 0 3vw;
	}  
	
.services p {
	font-size:1.4rem;
	line-height:2rem;
	}  	
	
.panel {
	background:rgba(0,0,0,.07);
	width:calc(100% - 10.8vw);
	margin-right:3vw;
	float:right;
	min-height:2rem;
	}
.panel img {
	width: 100%;
	}	
	
.contact .panel {
	background: red;
	height:2rem;
	}		

.panel p {
	padding:2rem 2.2rem;
	margin:0;
	color:rgb(0,0,0);
	} 	
	
.panel figure {
	margin:0 2rem 2rem;
	width:40%;
	}	
	
.image-text p{
	float:right;
	color:rgb(0,0,0);
	width: 50%;
font-size: 1.2rem;
line-height: 2rem;
overflow: hidden;
	letter-spacing: 0;
	}
	
.text-image p{
	float:left;
	color:rgb(0,0,0);
	width: 55%;
font-size: 1.4rem;
line-height: 2rem;
overflow: hidden;
	}		
				
p {
	margin:0 0 1.4rem;
	padding:0;
	font-size:1.4rem;
	line-height:2rem;
	}

strong {
	font-weight:500;
}
		
p:last-child {
	margin-bottom:0;
	}	
		
footer {
	background:rgb(0,0,0);
	color:rgb(255,255,255);
	padding:.6rem 3vw .6rem;
	font-weight:300;
	font-size:1.1rem;
	letter-spacing:.05rem;
	}

footer a {
	color:#fff;
	text-decoration: none;
	margin-right:30px;
}
footer a:hover {
	color: rgba(114,69,164,1.00);
	color:#a882aa;
}

footer ul {
	display:inline-block;
	list-style: none;
	padding:0 0 0 20px
}

/* ==========================================================================
   Accordion
   ========================================================================== */	

.acc-button, .acc-button2 {
	cursor:pointer;
	margin-top:1rem;
	}
	
.acc-button:first-child, .acc-button2:first-child {
	cursor:pointer;
	margin:0;
	}	
	
.acc-button:hover h3, .acc-button2:hover h3 {
	color:rgb(139,87,141);
	}	

.acc-content, .acc-content2 {
	padding: 0.3rem 0 1rem;
	text-overflow:ellipsis;
	overflow:hidden;
	height:inherit;
	max-height:1000px;
	-webkit-transition: max-height 1s; /* Safari */
	transition: max-height 1s;
	width:calc(100% - 5.5vw);
	}
.acc-content p, .acc-content2 p{
	margin-top:1.4rem;
	}
.acc-content li, .acc-content2 li {
	margin-bottom:.8rem;
	}			
.acc-content p:first-child, .acc-content2 p:first-child{
	margin-right: 3vw;
    margin-left: 3vw;
    margin-top: 0px;
	}	
.acc-content li:last-child, .acc-content li:last-child {
	margin-bottom:0;
	}
.min {
  white-space: nowrap;
  height:2rem;
  -webkit-transition: height 1s; /* Safari */
  transition: height 1s !important;
	}
	

.min p, .min ul {
  display:none;
	}	
	
	
.min p:first-child{
  display:block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
	}
	

.max {
	height:auto;
	display:block;
	overflow:hidden;
	text-overflow:ellipsis;
	}	

	
/* ==========================================================================
   Link styles
   ========================================================================== */	
		  

.panel a, .wide a {
	text-decoration:none;
	white-space:nowrap;
	cursor: pointer; 
	display:inline-block;
	}
	 
.wide a:link, .wide a:visited,
.wide a:link, .wide a:visited{
	color:rgba(125,37,125,1)
	}
	 
.panel a:hover, .panel a:active, .panel a:focus,
.wide a:hover, .wide a:active, .wide a:focus {
	color:rgba(114,69,164,1.00);
	}


.translation__nav {display:none;} /*Comment this out to show language picker*/
	






/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none ;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent ;
        color: #000 ; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none ;
        text-shadow: none ;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% ;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
