/* Global */

html{
	background:#222;
}

body{
	background:#fff;
    color: #c1c1c1;
    color:#333;    
	font-family: "Montserrat","Open Sans", ariel, sans-serif;
	font-size:16px;
	padding:0px; 
}

body.disable-scroll {
  overflow: hidden;
}

a{
	color:#333;
	outline:none;
}

a:hover,
a:focus,
a:active{
	color:#888;
	outline:none;	
}

h2.section-heading {
    margin: 0 0 30px 0;
    font-size: 16px;
    text-align: center;
}

hr{}
hr.spacer{
    border-color:rgba(0,0,0,0);
    margin:30px 0;
}

/* Global */

/* Background Advert */
  /* Background Advert */
  
  #background-advert{
  	background:#084063;
  	background-size:cover;
  	position:fixed;
  	top:0;
  	left:0;
  	bottom:0;
  	right:0;
  	z-index:0;
    display:none;
  }
  
  #background-advert .sidepanel{
  	background:transparent;
  	overflow:hidden;
  	position:fixed;
  	top:0;
  	bottom:0;
  }
  
  #background-advert .sidepanel h3{
  	color:#fff;
  	margin:0;
  }

  #background-advert .sidepanel .text-muted{
  	color:rgba(255,255,255,0.7)!important;
  	margin:0;
  }
  
  #background-advert .overlay{
    position: relative;
  	display:inline-block;
    top: 50%;
    margin-left: 50%;	
      -webkit-transform: perspective(1px) translateY(-50%) translateX(-50%);
      -ms-transform: perspective(1px) translateY(-50%) translateX(-50%);
      transform: perspective(1px) translateY(-50%) translateX(-50%);
  		z-index:3;
  	font-size:12px;
  	text-transform:uppercase;
  	border:1px solid #ddd;
  	border-width: 1px 0;
  	padding:6px 0;
  	text-align:center;
  }
  
  #background-advert #site-container{width:100%;background:#eee;}

  @media (min-width: 576px) { #background-advert #site-container{width:540px;} }
  @media (min-width: 768px) { #background-advert #site-container{width:720px;} }
  @media (min-width: 992px) { #background-advert #site-container{width:992px;} }
  @media (min-width: 1200px) { #background-advert #site-container{width:1140px;} }

  #background-advert a{
  	position:relative;
  	width:100%;
  	height:100%;
  	display:block;
  	overflow:hidden;
  }
  
  #background-advert a.full-screen img {
      position: absolute;
      top: 0;
      margin-left: 50%;
      transform: translateX(-50%);
  }
  
/* Headings */

h1{

}

h2.section-heading{
    font-size:60px;
    letter-spacing:-1px;
    line-height:1;
    font-size: 60px;
    line-height: 1;
    font-weight: 900;    
    color:#333;
}  

.lead{
    width:70%;
    text-align:center;
    margin:10px auto;
    font-size:24px;
    line-height:1.2;
}

p,ul{
    width:80%;
    margin:10px auto;
}

@media (max-width: 769px) { 

    body{
        font-size:14px;
    }

    h2.section-heading{
        font-size: 40px;
    }
    
    .lead{
        width:90%;
        font-size:18px;
        line-height:1.3;
    }
    
    p{
        width:90%;
    }    
        
}

/* Scroll Container */

#scroll-header{
	position:fixed;
	top:-150px;	
	left:0;
	width:100%;
	height:80px;
	background:#fff;
	z-index:999;	
	border-bottom:1px solid #ddd;
    -moz-transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -khtml-transition: all 0.5s ease;
    transition: all 0.5s ease;	

    display: flex;
    align-items: center;
}

#scroll-header.visible{	
	top:0;

}

#scroll-header .brand img{
    max-height:45px;
}


@media (min-width: 50em) { 

  #scroll-header .brand img{    
    max-height:58px;
  }

}

.system-menu a h2 {    
    margin: 20px 0;
}

/* Menus */

header {
    height: 100px;
    display: flex;
    align-items: center;
}

header .brand img{
    max-height: 70px;
}

@media (min-width: 50em) { 

    #scroll-header .brand img{    
        height: 140px;
    }

    header .brand img{
        max-height: 90px;
    }
  
}

/* Home */

.home section{
    padding:60px 0;
}

/* Campaign */

.home #campaign{
    padding:0;
    position:relative;
    background-size:cover;
    height: calc(100vh - 100px);
}

@media (min-width: 50em) { 

    .home #campaign{
        height: calc(100vh - 140px);
    }
  
}

.home #campaign img{
    z-index:1;
    position:relative;
    width:100%;
}

.home #campaign .carousel-item {
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
}

.home #campaign .carousel-item .carousel-item-inner{
    display: grid;
    align-items: flex-end;
}

.home #campaign .overlay{
    padding: 2rem;
    color:#fff;
    background: rgba(0,0,0,0.5);
}

.home #campaign .overlay strong{
    display:block;
    font-weight:900;
}

.home #campaign .overlay .heading{
    font-size: 32px; line-height:1;
}

.home #campaign .overlay .heading strong{
    text-transform: uppercase;
}

.home #campaign .overlay .summary{
    padding-top: 2rem;
    font-size: 18px; line-height:1.2;
}

/*
.home #campaign .overlay{
    z-index:2;
    position:absolute;
    bottom:0;
    left:0;
    background:rgba(255,255,255,0);
    color:#fff;
    display:inline-block;
    padding:120px;
    font-size: 82px;
    line-height:1;
}
*/

@media ( min-width:50em ){

    .home #campaign .overlay{
        max-width: 480px;
        margin-bottom: 3rem;
    }

}

@media ( min-width:75em ){

    .home #campaign .overlay{
        max-width: 660px;
    }

    .home #campaign .overlay .heading{
        font-size: 60px;
    }
    
    .home #campaign .overlay .heading strong{
        text-transform: uppercase;
    }
    
    .home #campaign .overlay .summary{
        font-size: 20px;
    }    

}


.home #portfolio{
    padding:0;
}
.portfolio{opacity:0;transition: opacity .3s ease-in-out;}
.portfolio.show{opacity:1;}
/* portfolio image hiding */
.portfolio:nth-of-type(n+9) {display: none;}
@media(min-width: 50em){
    .portfolio:nth-of-type(n){display: block;}
    .portfolio:nth-of-type(n+10){display: none;}
}

.home #portfolio .content-block.image-block{
    background:#ececec;
    border-color:#fff;
    border:0;
    margin:0;
    height:auto;
    position:relative;
}

.home #portfolio .content-block.image-block .portfolio-img{
    z-index:1;
    position:relative;
}

.home #portfolio .content-block.image-block .overlay{
    z-index:2;
    opacity:0;
    background: rgba(0,0,0,0.65);
    top:0;
    left: 0;
    right: 0;
    bottom: 0;
    position:absolute;     
    -moz-transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -khtml-transition: all 0.5s ease;
    transition: all 0.5s ease;	    
}

.home #portfolio .content-block.image-block:hover .overlay{
    opacity:1;
}

@media ( max-width:768px ){

    .home #portfolio .content-block.image-block .overlay{
        opacity:0;
    }
    
}


/* Blog */

.news #news .content-block.sml.news-block{
    height:168px;
	background:#222;
}

/* Article */
#news-article{
    color:#888;
}

#news-article a{
    color:#e43;
}

#news-article #news-image{
    margin-bottom:15px;
}

#news-article #news-content{}

#news-article #news-content p:first-of-type{
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom:1rem;
}

#news-article #news-content .news-quote{
    border:1px solid #ddd;
    border-width:1px 0;
    padding:20px;
    margin:20px;
    float:right;
    width:40%;
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom:1rem;    
}    

.sidebar .content-block.main{height:208px;border:0;}
.sidebar .content-block.main a {color:#888;}
.sidebar .content-block.main .overlay{position:absolute;bottom:6%;left:0;right:0;text-align:center;color:#888;}
.sidebar .content-block.main .overlay h3{margin:0;}

.sidebar .more-news{}

.sidebar .more-news a{
    text-decoration:none;
    display:block;
    padding:10px;
}

.news-summary{
    margin-bottom:0px;
    padding-bottom:0px;
}

.news-summary .date{
    color:#888;
    text-transform:uppercase;	
    font-size:10px;			
}

.news-summary .headline{
    color:#888;
    font-size:14px;
    font-weight:700;
    text-transform:uppercase;
}

.news-summary .summary{
    color:#888;
    font-size:12px;		
}

.sidebar .more-news a:hover{
    background:rgba(255,255,255,0.6);
}

.sidebar .more-news a:hover .news-summary .date,
.sidebar .more-news a:hover .news-summary .headline,
.sidebar .more-news a:hover .news-summary .summary{
    color:#333!important;
}

#blog-article{}

#blog-article .lead{
    width: 90%;
    text-align: center;
    margin: 20px auto;
    font-size: 18px;
    line-height: 1.2;    
}



@media ( max-width:768px ){


    .home #portfolio .col-6:last-of-type{
        display:none;
    }

}

.home #clients{
    padding:60px 0 0 0;
}
.home #clients .content-block{
    background:#ececec;
    margin:0;
    border-color:#fff;

    height:100%;
    display: grid;
    place-items: center;
    padding: 1rem;
    filter: grayscale();    
}

@media(min-width:50em){
    .home #clients .content-block{
        padding: 2rem;    
    }
}

/* Services */

#services{}
.service-heading{}
.service-heading small{
    display:block;
}

h2.service-heading{
    font-size:18px;
}

.service-block{}
.service-block p{
    font-size:13px;
    line-height:1.2;
}

.services-button{
    display:block;
    text-decoration:none;
    padding:30px 10px;
}

.services-button:hover,
.services-button:focus{
    background: #00bcff; /* Old browsers */
    background: -moz-linear-gradient(left, #00bcff 0%, #165faa 95%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left, #00bcff 0%,#165faa 95%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, #00bcff 0%,#165faa 95%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00bcff', endColorstr='#165faa',GradientType=1 ); /* IE6-9 */
    color:#fff;
    text-decoration:none;
}

.service-panel{
    display:block;
}

.panel-content{
    padding: 20px 0;
}


/* Site Menu */
#site-menu{
    left:-105%;
    left:0;
    z-index:-1;
    text-align:center;
}
#site-menu.visible{
    width:105%;
    left:0;
    z-index:9999;

}

@media ( min-width:768px ){
    #site-menu.visible{
        /*width:25%;*/
    }
}

footer {
    color: #c1c1c1;
}

footer h4{
    color: #c1c1c1;
    margin:6px 0;
}

footer a{
    color: #c1c1c1;
    margin:0;
}

footer .address{
    padding:40px 0;
    display: block;
}

footer .address h4{
    text-transform:none;
    font-size:18px;
    line-height:1.4;
    font-weight:300;
}




.blue{
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#00bcff+0,165faa+95 */
background: #00bcff; /* Old browsers */
background: -moz-linear-gradient(left, #00bcff 0%, #165faa 95%); /* FF3.6-15 */
background: -webkit-linear-gradient(left, #00bcff 0%,#165faa 95%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to right, #00bcff 0%,#165faa 95%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00bcff', endColorstr='#165faa',GradientType=1 ); /* IE6-9 */
color:#fff;
}

.blue h1,
.blue h2{
    color:#fff;
}

@media ( max-width:768px ){
    footer .address{
        padding:40px 50px;
    }
    
    footer .address h4{
        font-size:15px;
    }
    
    footer .address span{
        display:block;
        color:#fff;
        height:3px;
        overflow:hidden;
    }    
}

#contact{height:390px;}
@media ( max-width:768px ){ #contact{height:60px;} }