/* 
staticBanner
For Post Featured Image
*/

#staticBanner {
    position: relative;
    width: auto;
    height: auto;
    margin: 0 0 20px 0;
    padding: 20px;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-bottom: 4px solid #ddd;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}

#staticBanner .attachment-post-thumbnail {
    width: 100%;
    height: auto;
}
  
#staticBanner:before, #staticBanner.wide:after {
    width: 95%;
    left: 15px;
    bottom: 65px;
}
  
#staticBanner:after {
    right: 15px;
}
  
#staticBanner img#wave {
    position: absolute;
    bottom: 16px;
    left: -72px;
    z-index: 97;
}
  
#staticBanner img#staticBannerPhoto {
    z-index: 96;
}
  
#staticBanner span#title {
    position: absolute;
    bottom: 120px;
    left: 80px;
    display: block;
    font-size: 2.9em;
    font-weight: 300;
    color: #fff;
    padding: 30px;
    background: url(images/staticBannerTextBackgrGreen.png);
}
  
#staticBanner span#subTitle {
    position: absolute;
    bottom: 60px;
    left: 80px;
    display: block;
    font-size: 1.5em;
    color: #fff;
    padding: 20px 30px;
    background: url(images/staticBannerTextBackgrBlue.png);
}
  
#staticBanner span#subTitle a {
    color: #fff;
    text-decoration: none;
}
  
  
#main p.bigger {
    font-size: 1.1em;
}
  

/***************** Slider Revolution **************/

.rev-slider {
    max-height: 538px;   
	max-width: 1000px;
    width: auto;
    margin-left: auto;
    margin-right: auto;    
    margin-bottom: 20px;
}

.tp-revslider-mainul {
   max-width: 1000px !important;
}

@media screen and (max-width: 1023px){
	
	.header-bannerMenuBoxes{
		margin-top:-30px;
		margin-left:-30px;
		margin-right:-30px;
		margin-bottom:20px;
	}
	
}

@media screen and (max-width:955px) {
	
	#rev-slider{
		max-width:1920px !important;
		margin-left: auto;
		margin-right: auto;
	}
	
	#rev-slider .defaultimg{
		max-width: 1920px !important;
		width: 100% !important;
		height: 100% !important;
		margin-left: auto !important;
		margin-right: auto !important;
	}

}

@media screen and (max-width:880px) {
    .rev-slider{
	    margin-top: 45px;
	    min-height:120px;
	    height:auto;
	}
}



/*
  Green big buttons
  It's deployed on the page content
*/

.header-bannerMenuBoxes{
	display:block;
	clear:both;
	width: calc(100% + 60px);
	margin-top:-30px;
	margin-left:-30px;
	margin-right:-30px;
	margin-bottom:20px;
}

.header-bannerMenuBoxes:after{
	clear:both;
	display:block;
	content: ' ';
}	

.header-bannerBoxButton{
	display: block;
    float: left;
    background-color:rgba(0,103,54,0.9);
    font-size: 2em;
	line-height:1.2em;
    text-align: center;
    max-width: 310px;
    width: 100%;
    height: 248px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 20px;
    margin-top: 20px;
	-webkit-transition: all 0.3s linear ;
    -moz-transition: all 0.3s linear ;
    -o-transition: all 0.3s linear ;
    transition: all 0.3s linear ;
}

.header-bannerBoxButton:hover{
	background-color:#006736;
}

.header-bannerBoxButton a{
	  display:block;
	  color: #ffffff;
	  text-decoration:none;
	  width:100%;
	  height:100%;
	  display:flex;
      align-items: center; /* Vertical center alignment */
      justify-content: center; /* Horizontal center alignment */
}

.header-bannerBoxButton a:hover{
	  text-decoration:underline;
}

.header-bannerBoxButton a span {
  display: inline-block;
  vertical-align: middle;
}

@media screen and (max-width:780px) {
	.header-bannerMenuBoxes{
		margin-top:-5%;
		margin-left:-5%;
		margin-right:-5%;
		margin-bottom:20px;
	}
}

@media screen and (max-width:480px) {
	.rev-slider{
		margin-top:0px;
	}
	.header-bannerMenuBoxes{
		width:100%;
	}
}




/* 
For the big green button 
I don't think it's been used recently
*/

span.buttonHuge a {
    float: none;
    display: block;
    width: 250px;
    font: 400 1.4em 'proxima_nova_ltsemibold',helvetica,arial,sans-serif;
    color: #fff;
    text-decoration: none;
    text-shadow: 1px 1px 1px #000;
    text-align: left;
    margin: 0 auto 15px auto;
    padding: 11px 21px 8px 11px;
    background: #4d993c;
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#75b545), to(#4d993c));
    background-image: -webkit-linear-gradient(top, #75b545, #4d993c);
    background-image: -moz-linear-gradient(top, #75b545, #4d993c);
    background-image: -ms-linear-gradient(top, #75b545, #4d993c);
    background-image: -o-linear-gradient(top, #75b545, #4d993c);
    border: 1px solid #4d993c;
    border-right: 2px solid #0d6936;
    border-left: 2px solid #0d6936;
    border-bottom: 4px solid #0d6936;
    border-radius: 100px;
    -moz-border-radius: 100px;
    -webkit-border-radius: 100px;
    cursor: pointer;
}

span.buttonHuge a span {
    float: left;
    display: block;
    width: 34px;
    height: 34px;
    text-align: center;
    margin: -5px 10px 0 0;
    -webkit-box-shadow: inset 0 2px 4px #01545a;
    -moz-box-shadow: inset 0 2px 4px #01545a;
    box-shadow: inset 0 2px 4px #01545a;
    background: #75b545;
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#4d993c), to(#75b545));
    background-image: -webkit-linear-gradient(top, #4d993c, #75b545);
    background-image: -moz-linear-gradient(top, #4d993c, #75b545);
    background-image: -ms-linear-gradient(top, #4d993c, #75b545);
    background-image: -o-linear-gradient(top, #4d993c, #75b545);
    /*border: 1px solid #008e9b;*/
    border-radius: 100px;
}

span.buttonHuge a span i {
    display: block;
    font-size: 1.15em;
    padding: 6px 0 0 0;
    text-shadow: none;
}

span.buttonHuge a:hover {
    background: #75b545;
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#4d993c), to(#75b545));
    background-image: -webkit-linear-gradient(top, #4d993c, #75b545);
    background-image: -moz-linear-gradient(top, #4d993c, #75b545);
    background-image: -ms-linear-gradient(top, #4d993c, #75b545);
    background-image: -o-linear-gradient(top, #4d993c, #75b545);
    border: 1px solid #4d993c;
    border-right: 2px solid #0d6936;
    border-left: 2px solid #0d6936;
    border-bottom: 4px solid #0d6936;
}
  