/************************************************************************
-) Slider: only the following lines are necceassary for slider styling,
   rest of the css file styles the demo page
*************************************************************************/
#sections4 .aviaslider{ 
height:800px; 	/*this changes the height of the image slider*/
max-width:900px;
overflow: hidden;
position: relative;
background: url(../images/layout/preload.gif) center center no-repeat;
margin:0 auto;
}

.aviaslider li, .aviaslider .featured{
display: block;
width:100%;
height:100%;
position: absolute;
top:0;
left:0;
z-index: 1;
}

.js_active .aviaslider li, .js_active .aviaslider .featured{
display:none;
}

.aviaslider img, .aviaslider a img, .aviaslider a{
border:none;
text-decoration: none;
}

.slidecontrolls{
margin:-70px auto 0 auto;
position: relative;
float:left;
z-index:99;
background: url('../slider/pol.png') top center repeat-x;
padding:0 20px;
min-width:100px;
min-height:40px;
}

.slidecontrolls a{
height:40px;
width:40px;
display:block;
cursor: pointer;
background: url('../slider/sl.png') top center no-repeat;
margin:0 15px;   
float:left;
outline: none;
}

.slidecontrolls a:hover, .slidecontrolls .active_item{
height:40px;
width:40px;
margin:0 15px;   
background: url('../slider/sl_next.png') top center no-repeat;
}

.feature_excerpt{
width:70%;
position: absolute;
display: block;
top: 20px;
left:10px;
z-index: 2;
padding:14px 15px;
font-size: 90%;
line-height:1.5em;
cursor: pointer;
background: #000;
color: #fff;
}

.feature_excerpt strong{
display: block;
font-size: 17px;
padding-bottom: 3px;
}

.feature_excerpt p.left{
float:left; width:300px; font-size: 20px; padding-right:20px; text-align:left; line-height: 1.2em;
}
.feature_excerpt p.right{
float:left; padding-left:20px;
border-left: 5px solid #3498DB; text-align:left;
}

.feature_excerpt p.right p{text-align:left;}


@media screen and (max-width: 900px) {
#sections4 .aviaslider{ 
height:500px; 	/*this changes the height of the image slider*/
max-width:900px;
overflow: hidden;
position: relative;
background: url(../images/layout/preload.gif) center center no-repeat;
margin:0 auto;
}}

@media screen and (max-width: 500px) {
#sections4 .aviaslider{ 
height:255px; 	/*this changes the height of the image slider*/
max-width:900px;
overflow: hidden;
position: relative;
background: url(../images/layout/preload.gif) center center no-repeat;
margin:0 auto;
}}