/********
COMMON
********/

h1,
h2,
h3 {
  font-weight: normal; 
  margin: 0.7rem 0em;
  color: #121212;
}

h3 {
    text-align: center;
    font-size: 2.5rem;
    margin: 5% 15%;
}

h4 {
  margin: 0.7rem 0em;
  font-size: 1.6em;
  font-weight: normal;
  color: #000;
}

h5 {
    margin: 0.7rem 0em;
    font-size: 1.5em;
    font-weight: normal;
    color: #000;
}

/* Base colours */ 
/*** President and CEO ***/
.base-colour-a {background-color: #177D71; } 
.base-colour-a-text {color: #177D71; }
.base-colour-a-light {background-color: #dfeeed !important; } 

/*** Supporting physicians & patients ***/
.base-colour-b {background-color: #4444A0; } 
.base-colour-b-text {color: #4444A0; }
.base-colour-b-light {background-color: #4444A020; }  

/*** A year in numbers ***/
.base-colour-c {background-color: #A32B65; } 
.base-colour-c-text {color: #A32B65; }
.base-colour-c-light {background-color: #A32B6520; } 

/*** Financial performance ***/
.base-colour-d {background-color: #466588; }
.base-colour-d-text {color: #466588; }
.base-colour-d-light {background-color: #46658820; }


.hr-text-container {
    margin-top: 30px;
    max-height: 30px;
}

.hr-text {
	border-top: 4px solid #2e4196;
	text-align: center;
	background-color: #fff;
}

.hr-text h4 {
	display: inline-block;
    position: relative;
	top: -37px;
	background-color: #fff;
	padding: 0 15px;
	font-size: 2em;
}

.section-pdf-links a:hover,  
#section-header nav a:hover,
a.nav-top:hover { 
	background-color: rgba(0, 0, 0, 0.4); 
	text-decoration: none;
}
 
a.arrow::after { 
	/*content: " ►";*/
	white-space: nowrap;
    font-size: 1rem;
    background-size: 30px 25px;
    width: 30px;
    height: 25px;
    padding: 0;
	margin: 0; 
}

a.nav-top {
	display: block;
	text-align: center;
    margin: 3rem 40% 3rem 40%;
    background-color: rgba(0, 0, 0, 0.1);
    padding: 7px 5px;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #000;
}

.section-pdf-links li::before {
	content: "";
	display: block;
	float: left;
	background: transparent url("/static-assets/images/about/annual-report/2019/icon_download.svg") center left no-repeat;
	background-size: auto;
	background-size: 35px 35px;
	width: 35px;
	height: 35px;  
	margin: 0.6rem 0.5rem 1rem 1rem;
} 

.section-content {
	padding: 1rem 5rem;
	-webkit-box-sizing: border-box;
  	-moz-box-sizing: border-box;
  	box-sizing: border-box;
	margin: 0;
} 

a.arrow-down {
    color: inherit;
    text-decoration: none;
}

a.arrow-down:hover{
    color: inherit;
}

.multi-col-box div {
    border: none;
}

.alternating-bg {
	padding:40px 80px;
	margin:5px;
}

.icon-block {
	flex: .5;
	border: none !important;
	text-align: center;
	padding: 10px 20px;
	margin-bottom: 1em;
display: flex; 
justify-content: center; 
align-items: center;
}

.text-block {
	flex: 1.5;
	padding: 10px 20px 10px 0px;
	margin-bottom: 1em;
}

/*******
PDF LINKS
*******/

.download-pdf {
    -moz-border-radius: 30px;
    -webkit-border-radius: 30px;
    border-radius: 30px;
    width: 66%;
    float: left;
    margin: 5px auto;
    text-align: center;
}
.section-pdf-links {
	margin-top: 25px;
	display: flex;
	flex-direction: column;
}
.section-pdf-links a {  
	width: 100%;
	display: block;
	color: #FFF;
	padding: 1rem 5%;  
	-webkit-box-sizing: border-box;
  	-moz-box-sizing: border-box;
  	box-sizing: border-box;
}

/*************
HEADER SECTION
*************/

#section-header {
	margin: 0 0 2rem 0;
} 

/*************
TOP NAVIGATION
*************/

.img-nav-container{
  position: relative;
  width: 100%;
  display: flex;
  font-weight: bold;
}
.img-nav-child-container {
  position: relative;
  width: 100%;
  flex:1;
}

.img-nav-image {
  display: block;
  width: 100%;
  height: auto;
}

.img-nav-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0.9;
  transition: .5s ease;
}

.img-nav-child-container:hover .img-nav-overlay {
  opacity: 0.4;
  background-color: white;
}

.img-nav-text {
    color: white;
    font-size: 22px;
    width: 50%;
    padding: 1.5rem calc(50% - 1.5rem) 0px 1.5rem;
    height: calc(100% - 1.5rem);
    top: 0;
    left: 0;
    position: absolute;
    -webkit-transform: translate(0%);
    -ms-transform: translate(0%);
    transform: translate(0%);
    text-align: left;
}

.img-nav-text:hover {
  color:black;
}


/******************
CEO LETTER SECTION
******************/

#section-ceo-letter .left-section {
	border: none; 
	text-align: center;
	padding-top: 40px;
}

#section-ceo-letter .left-section img {
	max-width: 180px;
}

#section-ceo-letter h2 {
	color: white; 
	padding: 5px 25px;
        width: 96%;
	/*margin: 0px 0px -50px auto;*/
}

.cards-box-three {
	padding: 0 50px;
text-align: center;
}

.cards-box div {
    border: 1px solid #96C3BD;
    padding: 1px 12px;
}

.cards-box div p {
    padding: 0px;
}

#section-ceo-letter .right-section {
	padding: 55px 20px 20px;
}


/************
DATA SECTION
************/


#data {
	color: white; 
	padding: 5px 25px;
	margin-top:0;
}

.grey-block p>span{
font-size:2.5rem;
}

.grey-block > :last-child {
    text-align: left;
    margin: auto;
    width: fit-content;
}

#section-number .table-note {
	display: inline; 
	width: 90%; 
	padding: 30px 0;
       text-align: left;
       font-size: .9em;
}

#section-number .table-note p {
	width: 100%;
}

#section-number h4 {
margin-bottom: 55px;
}
#section-number .grey-block img {
	width: 100px;
}
#section-number .grey-block.our-services img {
    width: 200px;
}



/********* START: TABLE ********/
	.table-test{
		max-width:1000px;
                margin: auto;
                margin-top: 30px;

	}
	.table-cell, .table-head {
		float: left;
		width: 10%;
		/*margin: auto;*/
		padding: 5px 10px 5px 0;
	}	
	.y2020{
		background-color:#e9e2ea;
	}
	.table-head {
		font-weight: bold;
	}	
	.cases{
		width:50%;
		text-align:left;
	}
	.table-row{
		display:flex;
		text-align: right;
		padding: 0px 10px;
	}
	.table-caption{
		font-weight:bold;
		width:100%;
		border-bottom:1px solid black;	
		padding: 10px 0 10px 0;
                background-color:#004a63;
	}
	
	.table-highlight {
		color: white;
	}
/***** END: TABLE*****/

/***************
INSIGHTS SECTION
***************/

#section-insights .icon-block img {
	width: 200px;
}

.toggle-container {
      margin: 0 0 0 27%;
}

#section-insights .alternating-bg:nth-child(2n) {
	background-color: #F7F8F7;
}

#insight {
	color: white; 
	padding: 5px 25px;
	margin-top:0;
}

#section-insights .quote-box {
   padding: 20px;
   margin-bottom: 1em;
   max-width: 320px;
border: none;
}

#section-insights .icon-block,
#section-insights .text-block,
#section-insights h5 {
    display: block;
    margin-top: 0;
    padding-top: 0;
}
 

/**************
ASSETS SECTION
**************/

#assets {
	color: white; 
	padding: 5px 25px;
	margin-top:0;
}

#section-assets .alternating-bg:nth-child(2n-1) {
	background-color: #f8f6f5;
}

#section-assets .text-block {
	padding: 10px 20px;
}

#section-assets .color-block {
	flex: 1;
	background-color: #dbeceb;
	padding: 10px 20px;
	margin-bottom: 1em;
}



/******
MOBILE
*******/

 @media only screen and (max-width: 960px) {
     
       .img-nav-container{
  flex-direction: column;
  }
  .img-nav-image{
  height:80px;
  display: none;
  }
  .img-nav-child-container {
    flex: none;
    height: 80px;
  }
.img-nav-text {
    font-size: 1rem;
    text-align: center;
    margin: auto;
    width: 100%;
    padding: 0px;
}

  a.arrow-down {
    display: block;
    padding: 1rem;
  }
 
 #section-header, 
	.section-pdf-links {		
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;  

	}
	#section-header nav ul {
		flex-direction: column; 
	}
	#section-header nav ul li {
		 flex: 1 1 auto; /*required for IE11*/
	}
    .section-pdf-links {
	margin: 0 10%;
}
 
        .alternating-bg {
	padding:40px 0px;
}
.section-content {
	padding: 0 5px;
}
.flex-menu-container {
            width: 555px;
        }
		#section-number .table-note p {
	width: 100%;
}
    }
	
	@media only screen and (max-width: 799px) {

#section-insights .multi-col-box {
	flex-wrap: wrap;
}

#section-insights .multi-col-box div {
	box-sizing: border-box;
	min-width: 100%;
}
.box-float-right {
	float: none;
	margin: 1rem 0;
	width: 100%
}
#section-insights .text-block {
	padding: 10px 20px;
}
#section-insights .toggle-container {
	margin: 0 0 0 3%;
}

}

@media screen and (max-width: 729px)  {

.section-pdf-links {
	margin: 0;
}
			#section-header nav li {  
		margin: 1px 0;
	}  
	#section-header article { 
		background-position: left 0 top 20px; 
		min-height: 16rem;
		-webkit-background-size: cover;
		-moz-background-size: cover;
		-o-background-size: cover;
		background-size: cover;  
	}	
	#section-header article div {	
		display: none;
	}
	#section-header article h1 {
		background-color: #F7F8F7;
		position: relative;
		display: block;
		margin: 0 0 0 0;
		padding: 0.5rem 0;
		text-align: center;
		line-height: 2rem;
	}
	
	 	
	.section-content { 
		margin-top: -12px;
	}
	
	.english #section-header article h1 span:nth-child(1),
	.english #section-header article h1 span:nth-child(2),
	.english #section-header article h1 span:nth-child(3),
	.french #section-header article h1 span:nth-child(1),
	.french #section-header article h1 span:nth-child(2),
	.french #section-header article h1 span:nth-child(3) { 
		font-weight: 500;
		font-size: 1.6rem;
		line-height: 1rem;
		letter-spacing: 0; 
		padding: 0 0.2rem;
	} 

	.line-hr {
		display: none;
	} 
        .mobile-break { display: none; }
		#section-ceo-letter h2 {
	width: auto;
	margin: 0.7rem 0em;
	} 
#section-ceo-letter .right-section {
	padding: 0 20px 20px;
} 
    }
	
	
	@media screen and (max-width:700px){
	
	/*** START: TABLE ***/
	.table-row{
		display: block;
		border-bottom: none;
		padding: 0px;		
	}
	.table-head{
		display: none;
	}
	.table-cell, .table-head {
		padding-left: 60%;
		width: 40%;
		text-align: left;
	}
	.table-cell:before, .table-head:before {
		font-weight: bold;
		position: absolute;
		left: 25px;
	}
	.y2020::before{
		content: "2020: ";
	}	
	.bc-ab::before{
		content: "BC/AB: ";
	}	
	.smat::before{
		content: "SMAT*: ";
	}	
	.prov-on::before{
		content: "ON: ";
	}	
	.prov-qc::before{
		content: "QC: ";
	}
	.cases {
		font-weight: bold;
		color: black;
                padding-left: 6px;
		width: 98%;
		text-align: left; 
                background-color: #f8f6f5;
	}
	.hide-cells {
		display: none;
	}	
	/*** END: TABLE ***/
}
	
	

@media only screen and (max-width: 583px) {
        h3 {
    font-size: 2rem;
    margin: 5% 10%;
}
 .flex-menu-container {
            width: 420px;
        }
.flex-menu-item {
  width: 100%;
   height: 10px;
}
    }
	
	@media only screen and (max-width: 437px) {
        .flex-menu-container {
            width: 300px;
        }
    }