/** RESET AND LAYOUT
===================================*/

.bx-wrapper {
	position: relative;
	margin: 0 auto;
	padding: 0;
    min-width: 320px;
    width: 960px;
}

.bx-wrapper img {
	max-width: 100%;
	display: block;
}

/** THEME
===================================*/

.bx-wrapper .bx-viewport {
	background: #fff;
	
	/*fix other elements on the page moving (on Chrome)*/
	-webkit-transform: translatez(0);
	-moz-transform: translatez(0);
    	-ms-transform: translatez(0);
    	-o-transform: translatez(0);
    	transform: translatez(0);
}

.bx-wrapper .bx-pager,
.bx-wrapper .bx-controls-auto {
	position: absolute;
	bottom: 99px;
	width: 100%;
}

/* LOADER */

.bx-wrapper .bx-loading {
	min-height: 50px;
	background: url(images/bx_loader.gif) center center no-repeat #fff;
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2000;
}

/* PAGER */
.bx-wrapper .bx-pager {
    color: #666;
    margin: auto;
    text-align: right;
    width: 960px;
    position: relative;
    bottom: 81px;
}

.bx-wrapper .bx-pager .bx-pager-item,
.bx-wrapper .bx-controls-auto .bx-controls-auto-item {
	display: inline-block;
}

.bx-wrapper .bx-pager.bx-default-pager a {
	background: #fff;
	display: block;
	width: 26px;
	height: 24px;
    line-height: 25px;
	margin: 0 1px;
	outline: 0;
    color: #0a4b1a;
    font-size: 12px;
    text-align: center;
}

.bx-wrapper .bx-pager.bx-default-pager a.active {
    background-image:   -webkit-linear-gradient(top, #274920, #8fc428);
    background-image:   -moz-linear-gradient(top, #274920, #8fc428);
    -ms-filter:             "progid:DXImageTransform.Microsoft.Gradient(startColorStr='#274920', endColorStr='#8fc428', GradientType=0)";
    background-image:   -ms-linear-gradient(top, #274920, #8fc428);
    background-image:   -o-linear-gradient(top, #274920, #8fc428);
    background-color:   #8fc428;
    text-decoration: none;
    color: #fff;
}

.bx-pager-item:first-child a{
    -moz-border-radius: 10px 0 0 0;
	-webkit-border-radius: 10px 0 0 0;
	border-radius: 10px 0 0 0;
}
.bx-pager-item:last-child a{
    -moz-border-radius: 0 10px 0 0;
	-webkit-border-radius: 0 10px 0 0;
	border-radius: 0 10px 0 0;
}

/* DIRECTION CONTROLS (NEXT / PREV) */

.bx-wrapper .bx-prev {
	left: 10px;
	background: url(images/controls.png) no-repeat 0 -32px;
}

.bx-wrapper .bx-next {
	right: 10px;
	background: url(images/controls.png) no-repeat -43px -32px;
}

.bx-wrapper .bx-prev:hover {
	background-position: 0 0;
}

.bx-wrapper .bx-next:hover {
	background-position: -43px 0;
}

.bx-wrapper .bx-controls-direction a {
	position: absolute;
	top: 50%;
	margin-top: -16px;
	outline: 0;
	width: 32px;
	height: 32px;
	text-indent: -9999px;
	z-index: 9999;
}

.bx-wrapper .bx-controls-direction a.disabled {
	display: none;
}

/* AUTO CONTROLS (START / STOP) */

.bx-wrapper .bx-controls-auto {
	text-align: center;
}

.bx-wrapper .bx-controls-auto .bx-start {
	display: block;
	text-indent: -9999px;
	width: 10px;
	height: 11px;
	outline: 0;
	background: url(images/controls.png) -86px -11px no-repeat;
	margin: 0 3px;
}

.bx-wrapper .bx-controls-auto .bx-start:hover,
.bx-wrapper .bx-controls-auto .bx-start.active {
	background-position: -86px 0;
}

.bx-wrapper .bx-controls-auto .bx-stop {
	display: block;
	text-indent: -9999px;
	width: 9px;
	height: 11px;
	outline: 0;
	background: url(images/controls.png) -86px -44px no-repeat;
	margin: 0 3px;
}

.bx-wrapper .bx-controls-auto .bx-stop:hover,
.bx-wrapper .bx-controls-auto .bx-stop.active {
	background-position: -86px -33px;
}

/* PAGER WITH AUTO-CONTROLS HYBRID LAYOUT */

.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager {
	text-align: left;
	width: 80%;
}

.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto {
	right: 0;
	width: 35px;
}

/* IMAGE CAPTIONS */
.caption1{
    background: #8dc32b;
    height: 57px;
    /*padding: 5px 10px;*/
    padding: 14px 10px;
}
.caption1 span{
    color: #fff;
	display: block;
    font-family: 'MyriadPro-Light';
    /*font-size: 20px;*/
    font-size: 22px;
    line-height: 1.1;
	padding: 0 10px;
    /*height: 47px;*/
    height: 30px;
    overflow: hidden;
    margin: auto;
    width: 100%;
}

.caption1 p {
    color: #fff;
    /*font-size: 17px !important;*/
    font-size: 24px !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

.caption1 span p a{
    color: #fcfe00;
}

.bx-controls.bx-has-pager.bx-has-controls-direction {
    float: left;
    position: relative;
    width: 100%;
}
.bx-wrapper .bx-pager{
    padding: 0 10px;
}


/*------------------------------------*\
    Media Queries
\*------------------------------------*/


@media only screen and (max-width:1200px) {
.caption1 span,
.bx-wrapper .bx-pager {
    margin: auto;
    width: 960px;
}
.bx-wrapper .bx-pager{
    padding: 0 10px;
}
    
}

@media only screen and (max-width:992px) {
.caption1 span,
.bx-wrapper .bx-pager {
    width: 100%;
}
.caption1{
    height: 50px;
}
.caption1 span {
    font-size: 18px;
    height: 40px;
}
.bx-wrapper .bx-pager, .bx-wrapper .bx-controls-auto {
    bottom: 74px;
}

}

@media only screen and (max-width:768px) {
.caption1{
    height: 45px;
    padding: 12px 10px;
}
.caption1 span{
    font-size: 14px;
    /*height: 35px;*/
    height: 20px;
    line-height: 1.16;
    width: 100%;
}
.bx-wrapper .bx-pager {
    width: 100%;
} 
.bx-wrapper .bx-pager, .bx-wrapper .bx-controls-auto {
    bottom: 69px;
}
    
.caption1 p {
    font-size: 17px !important;
}
    
}


@media only screen and (max-width:480px) {
.caption1 {
    padding: 13px 10px;
}
.caption1 span {
    font-size: 14px;
    height: 20px;
}
.caption1 p {
    font-size: 16px !important;
}
    
}



