@import url(//fonts.googleapis.com/css?family=Raleway:400,600,700);

#mainphoto {
	clear:both;
	margin-top:0px;
	border-top:2px solid #ccc;
	font-family: 'Raleway', sans-serif;
}

#mainphoto .panel {
	height:450px;
	
}

	#mainphoto .panel .container {
		width:345px;/*350px*/
		background:url(../images/slides/slidebg2.png);/*slidebg*/
		padding:10px 20px;/*20px 30px*/
		margin-top:70px;
		float:right;/*left*/
	}

	#mainphoto .title {
		color:#003157;
		font-size:27px;/*30px*/
		font-weight:normal;/*600*/
		line-height:30px;/*36px*/
		padding-bottom:0;/*15px*/
	}

	#mainphoto .smalltext {
		color:#5b5b5b;
		font-size:12px;
		font-weight:400;
	}
	
	#mainphoto .info {
		padding-top:20px;
		color:#636363;
		font-size:17px;
		font-weight:400;	
		line-height:24px;/*26px*/
		padding-bottom:30px;
	}

	#mainphoto .container a {
		border:0px;
		color:#003157;/*rgb(178,165,133)*/
		font-size:17px;/*20px*/
		font-weight:bold;/*400*/
		text-decoration:none;
		padding-right:20px;
		background:url(https://townecarolinas.com/themes/townebankmortgage.com/images/redarrow.png) center right no-repeat;
	}
		
	#mainphoto .container a:hover {
		color:#B2A585;/*000*/
	}

ul.bxslider, li.bxslider {
	margin:0 !important;
	padding:0 !important;
}

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

.bx-wrapper {
	position:relative;
	margin: 0 ;
	padding: 0;
	*zoom: 1;
	height:450px;
}

.bx-wrapper img {
	max-width: 100%;
	display: block;
	border:none;
	height:450px;
}

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

.bx-wrapper .bx-viewport {
padding:0;
margin:0;
}

.bx-wrapper .bx-pager,
.bx-wrapper .bx-controls-auto {
	position: absolute;
	bottom: 30px;
	left: -210px;
	width: 100%;
	float:left;
	z-index:100;
}

/* LOADER */

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

/* PAGER */

.bx-wrapper .bx-pager {
	font-size: .85em;
	font-family: Arial;
	font-weight: bold;
	color: #c3b79e;
	width:100%;/*140px*/
}

.bx-pager {
	top:410px;
	margin-left:230px;
	}

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

.bx-wrapper .bx-pager.bx-default-pager a {
	text-indent: -9999px;
	display: block;
	width: 15px;
	height: 15px;
	margin: 0 4px;
	outline: 0;
	border:2px solid #fff;
	-webkit-border-radius: 9px;
	-moz-border-radius: 9px;
	border-radius: 9px;
}

.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active {
	background: #fff;
}

/* DIRECTION CONTROLS (NEXT / PREV) */

.bx-wrapper .bx-prev {
	left: -38px;
	background: url(https://townecarolinas.com/themes/townebankmortgage.com/images/controls.png) no-repeat 0px 0px;
}

.bx-wrapper .bx-next {
	right:104px;
	background: url(https://townecarolinas.com/themes/townebankmortgage.com/images/controls.png) no-repeat -48px -3px;
}

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

.bx-wrapper .bx-next:hover {
	background-position: -48px -49px;
}

.bx-wrapper .bx-controls-direction a {
	position: absolute;
	bottom:24px;
	outline: 0;
	width: 48px;
	height: 45px;
	text-indent: -9999px;
	z-index: 100;
	top:130px;
}

.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(https://townecarolinas.com/themes/townebankmortgage.com/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(https://townecarolinas.com/themes/townebankmortgage.com/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 */

.bx-wrapper .bx-caption {
	position: absolute;
	bottom: 0;
	left: 0;
	background: #666\9;
	background: rgba(80, 80, 80, 0.75);
	width: 100%;
}

.bx-wrapper .bx-caption span {
	color: #fff;
	font-family: Arial;
	display: block;
	font-size: .85em;
	padding: 10px;
}