﻿/*---------------------------*/
/*  N E W S   S T R I P  */
/*---------------------------*/
#news-strip{
    display: flex;
    justify-content: space-between;
}
.news-header{
    flex: 0 1 5em;
}
.news-list ul{
    display: flex;
    flex-wrap: nowrap;
    position: relative;
}

.news-list li {
	flex-grow:1;
    overflow: hidden;
    text-overflow: ellipsis;
   q white-space: nowrap;
    bottom: 0;
	padding:1 em;

}
.news-list li < a{
	
}
#news-widget{
	display:flex;
	padding: 0 1em 0 1em;
	width:100%;
}
#news-widget > h3{
	flex-shrink:0;
}
#news-widget nav{
	width:100%;
}
#news-widget ul{
	flex-grow:1;
	display:flex;
	padding-left: 1em;
	flex-direction:row;
}
#news-widget li{
	flex-grow:1;
	flex-basis:25%;
	flex-shrink:0;
q	white-space: nowrap;
	  overflow: hidden;
	  text-overflow: ellipsis;	
		display:flex;
	padding: 0 .25em;


}
#news-widget li a{
background-color:white;
	padding:.5em;
	font-size: .8em;
}
#news-widget li:last-child{
		flex-grow:0;
	flex-basis:5em;

background-color:transparent;
text-align:right;
		flex-shrink:1;

}
@media only screen and (max-width: 820px){
	#news-widget ul{
			flex-direction: column;
	}
}

/*---------------------------*/
/*  QUICK LINKS  */
/*---------------------------*/
.quick-link-list{
	color:white;
}
.quick-link-list > *{
    padding: .5em;
}
.quick-link-list li{
    position:relative;
}
.quick-link-list a:link, .quick-link-list a:visited{
color:white;
}
.quick-link-list a{
    display: block;
    min-height: 200px;
    background-color: rgba(21,26,32,1); /*#151a20*/
    background-color: #334455; /*#151a20*/
	position:relative;
	z-index:1;
}
.quick-link-list .label{
	text-align:center;
	position:absolute;
	top: 50%;
	left: 50%;
    transform: translateY(-50%) translateX(-50%);	
	z-index:10;
}

.quick-link-list a .bg-img{
	opacity:.6;
	z-index:-1;
    transition-property: opacity filter -webkit-filter;

	
}
.quick-link-list a:hover{
background-color: rgb(201, 49, 71);

}
.quick-link-list a:hover .bg-img{
		opacity:.2;
	  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);

}
.quick-link-list a:hover .label{
    transform: scaleX(1.1) scaleY(1.1) translateY(-45%) translateX(-45%);	

}




/*---------------------------------------------------------------------------------------------*/




.sub-pages-list{
	color:black !important;
}
.sub-pages-list > *{
    padding: .5em;

}
.sub-pages-list a:link, .sub-pages-list a:visited{
qcolor:white;
}
.sub-pages-list{
	position:relative;
	overflow: hidden;
}

.sub-pages-list a, .sub-pages-list a:link,  .sub-pages-list a:visited{
		overflow:hidden;

	color:black;
	text-decoration: none;
	font-weight:200;
    display: block;
    min-height: 200px;
  q  background-color: rgba(64,127,255,1); /*#151a20*/
	position:relative;
	z-index:1;

}

.sub-pages-list a img{
    display: block;
    min-height: 200px;
q    max-height: 200px;
    background-color: rgba(64,127,255,1); /*#151a20*/
	position:relative;
	z-index:1;
}

.sub-pages-list .label{
	text-align:center;
	    display: block;

}

.sub-pages-list a .bg-img{
	opacity:1;
	z-index:-1;
	
}
.sub-pages-list a:hover hr{

}
.sub-pages-list a:hover *{
	color:#666666;
	transition-delay:0;
	
}
.sub-pages-list a:hover .bg-img{
	opacity:.8;
   transform: scaleX(1.1) scaleY(1.1) translateY(0) translateX(-0);	

}

.sub-pages-list a:hover .label{
 q   transform: scaleX(1.1) scaleY(1.1) translateY(-45%) translateX(-45%);	

}

/*---------------------------*/
/*  Layout 2-1  */
/*---------------------------*/

.layout-2-1{
    display: flex;
    flex-wrap: wrap;
    justify-content:space-around;    
}
.nostretch .layout-2-1 > * > *{
	width:default;
	
}
.layout-2-1 >*{
	flex-basis:50%;
	min-width:200px;
	flex-grow:1;
}


@media only screen and (max-width: 600px){
.layout-2-1 > *{
	flex-basis:100%;
	}
}


/*---------------------------*/
/*  Layout 3-1  */
/*---------------------------*/

.layout-3-1{
    display: flex;
    flex-wrap: none;
    justify-content:space-around;    
	flex-direction:row;

}
.nostretch .layout-3-1 > * > *{
	width:default;
	
}
.layout-3-1 >*{
	flex-basis:33%;
	min-width:200px;
	flex-grow:0;
	flex-shrink:1;
}


@media only screen and (max-width: 600px){
.layout-3-1{
flex-direction:column;
	}
	.layout-3-1 > *{
	flex-basis:100%;
		flex-grow:0;

	}
}

/*---------------------------*/
/*  Layout 4-2-1  */
/*---------------------------*/

.layout-4-2-1{
    display: flex;
    flex-wrap: wrap;
    justify-content:space-around;    
}
.nostretch .layout-4-2-1 > * > *{
	width:default;
	
}
.layout-4-2-1 >*{
q    width:25%;
	flex-basis:25%;
	min-width:200px;
	flex-grow:1;
}

@media only screen and (max-width: 800px) and (min-width: 400px){
.layout-4-2-1 >*{
 q   width:50%;
	flex-basis:50%;
	}
}
@media only screen and (max-width: 400px){
.layout-4-2-1 > *{
q    width:100%;
	flex-basis:100%;
	}
}


/*---------------------------*/
/*  Layout 4-3-2-1  */
/*---------------------------*/

.layout-4-3-2-1{
    display: flex;
    flex-wrap: wrap;
    justify-content:space-around;   
	  --modifier: calc(40rem - 100%);

}
.nostretch .layout-4-3-2-1 > * > *{
	width:default;
	
}
.layout-4-3-2-1 > *{
q    width:25%;
q	min-width:200px;
		flex-basis:25%;
	flex-grow:0;
}



@media only screen and (max-width: 800px) and (min-width: 600px){
.layout-4-3-2-1 >*{
q    width:33.33%;
		flex-basis:33.33%;

	}
}@media only screen and (max-width: 600px) and (min-width: 374px){
.layout-4-3-2-1 >*{
q    width:50%;
		flex-basis:50%;

	}
}
@media only screen and (max-width: 374px){
.layout-4-3-2-1 > *{
  q  width:100%;
		flex-basis:100%;

	}
}




/*---------------------------*/
/*  Layout 5-1  */
/*---------------------------*/

.layout-5-1{
    display: flex;
    flex-wrap: wrap;
    justify-content:space-around;    
}
.nostretch .layout-5-1 > * > *{
	width:default;
	
}
.layout-5-1 >*{
q    width:20%;
	flex-basis:20%;
	min-width:100px;
	flex-grow:1;
}

@media only screen and (max-width: 800px) and (min-width: 400px){
.layout-5-1 >*{
 q   width:50%;
	flex-basis:50%;
	}
}
@media only screen and (max-width: 400px){
.layout-5-1 > *{
q    width:100%;
	flex-basis:100%;
	}
}



/*---------------------------*/
/*  Layout 6-4-2  */
/*---------------------------*/

.layout-6-4-2{
    display: flex;
    flex-wrap: wrap;
    justify-content:space-around;    
}
.nostretch .layout-6-4-2 > * > *{
	width:default;
	
}
.layout-6-4-2 >*{
q    width:16.666%;
	flex-basis:16.666%;
	min-width:100px;
	flex-grow:1;
}

@media only screen and (max-width: 800px) and (min-width: 400px){
.layout-6-4-2 >*{
 q   width:50%;
	flex-basis:50%;
	}
}
@media only screen and (max-width: 400px){
.layout-6-4-2 > *{
q    width:100%;
	flex-basis:100%;
	}
}




/*---------------------------*/
/*  Centering Table  */
/*---------------------------*/



.section-foreground{	
	position: absolute;
	top: 0;
	bottom: 0;
	left:0;
	right:0;
	z-index: 60;
	width:100%;
	height:100%;
    pointer-events:none;        

}

.outer {
  q  display: block;
    display: table;
	overflow:hidden;
    position: relative;
    height: 100%;
    width: 100%;
	top:0;
	bottom: 0;
	left:0;
	right:0;
	    pointer-events:none;        

}

.middle {
    display: table-cell;
    vertical-align: middle;
	    pointer-events:none;        
    position: relative;
		overflow:hidden;


}

.inner {
    margin-left: auto;
    margin-right: auto; 
	    pointer-events:none;        
	    position: relative;
		overflow:hidden;


   /* width: 400px;*/   /*whatever width you want*/
}
.inner > * {
    pointer-events:auto !important;        
}


/*---------------------------*/
/*  Background images  */
/*---------------------------*/
.bg-img{
	display:block;
	object-fit: cover;
	position:absolute;
	width:100%;
	height:100%;
	top:0;
	left:0;
	bottom:0;
	right:0;
	z-index:0;
	background-size:cover;
}
div.bg-img{

	
}
.img-container{
	display:flex;
	position:relative;
	overflow:hidden;
	justify-content:center;
}
.img-container .content-column{
	position:absolute;
q	overflow:hidden;
	top:0;
	bottom:0;
	height:100;
		z-index:9;

	left:calc((100% - width) / 2);
	

}
.img-container .fg-content{
		z-index:10;
	position:absolute;

}
.img-container .fg-content.top{
top:3em;
}
.img-container .fg-content.right{
right:2em;
}
.img-container .fg-content.bottom{
bottom:3em;
}

.img-container .fg-content.left{
left:2em;
}



.img-frame{
    background-position: center middle;
    background-repeat: no-repeat;
    background-size: cover;
    background-clip:border-box;
}


/*---------------------------*/
/*  Image / Story cards  */
/*---------------------------*/
.feature-stories{
	overflow:hidden;
}
.feature-story{
	min-height:400px;
	display:flex;
}
.feature-story:nth-child(2){
	flex-direction:row-reverse;
}
.feature-story>div{
	flex:1 1 50%;
}

.feature-img{
	min-height:200px;
	display:block;
	position:relative;
	overflow:hidden;
}
.feature-img > img{
	display:block;
	object-fit: cover;
	position:absolute;
	width:100%;
	height:100%;
	top:0;
	left:0;
	bottom:0;
	right:0;
}
.feature-teaser{
	padding:5em 10%;	
}

@media only screen and (max-width: 820px) {
.feature-story{
	flex-direction:column;
}
.feature-story:nth-child(2){
	flex-direction:column;
}
.feature-teaser{
	padding:1em;	
}


}

div.alert-info, div.alert-info-mix {
    padding: 15px;
    margin-bottom: 28px;
    border: 1px solid transparent;
    border-radius: 0;
    background-color: #ebebeb;
    border-color: #d9d9d9;
    color: #31708f;
}

