/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

a {
    color:#d3a76f;
	text-decoration:none;
}

.gold {
    color:#d3a76f;
}


.TA_selfserveprop {
    width:100%;
}


/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html{
	background: #edebe3 url(../images/bodybg.jpg) top center repeat-x;
}

.test{
	color:#d1a866;
}

a{
	text-decoration: none;
}

header{
	min-height: 125px;
}


#header{
	background: url(../images/logo.png) top center no-repeat;
	min-height: 125px;
}

#logo{
	display: block;
	width: 222px;
	height: 90px;
	margin: 0 auto;
}

nav{
	font-family: CalistoMTRegular;
	min-height: 35px;
}

nav ul{
	margin: 0px;
	padding: 0px;
}

nav ul li{
	position: relative;
	font-size: 12px;
	margin-right: 35px;
	height: 35px;
	float: left;
	text-transform: uppercase;
}

nav ul li:last-child{
	margin-right: 0px;
}

nav ul li a{
	display: block;
	height: 35px;
	color: #f3f1f1;
	text-decoration: none;
	line-height: 35px;
	padding: 0px 9px;
	-moz-border-radius-topleft: 10px;
	border-top-left-radius: 10px;
	-moz-border-radius-topright: 10px;
	border-top-right-radius: 10px;
}

nav ul li a:hover, nav ul li:hover a{
	background: #d2a866;
}

nav ul li:hover ul li a{
	background: none;
}

nav ul li ul{
	display: none;
	width: 150px;
	padding: 8px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	background: url(../images/dropbg.png);
}

nav ul li:hover ul{
	display: block;
}

nav ul li ul{
	font-family: Arial, Helvetica, sans-serif;
	position: absolute;
	width: 180px;
	padding: 8px 8px 16px 8px;
	z-index: 4000;
	-moz-border-radius-topleft: 0px;
	border-top-left-radius: 0px;
	-moz-border-radius-topright: 10px;
	border-top-right-radius: 10px;
	-moz-border-radius-bottomleft: 10px;
	border-bottom-left-radius: 10px;
	-moz-border-radius-bottomright: 10px;
	border-bottom-right-radius: 10px;
	background: url(../images/dropbg.png);
}

nav ul li ul li{
	width: 185px;
	height: auto;
	line-height: normal;
	float: none;
	padding: 0px;
	font-size: 15px;
	border-bottom: 1px solid #dfbd8b;
}

nav ul li ul li a{
	display: inline-block;
	width: 180px;
	height: 34px;
	line-height: 34px;
	padding: 0px 0px 0px 5px;
	text-transform: none;
	text-shadow: none;
	-moz-border-radius: 0px;
	border-radius: 0px;
	border-bottom: 1px solid #c99153;
}

nav ul li ul li a:hover{
	background-color:#666;
}

#banner{
	position: relative;
	border: 1px solid #d8d8d8;
	background: #fff;
	padding: 4px;
	max-width: 930px;
	max-height: 394px;
	margin-bottom: 10px;
}

.slide{
	position: relative;
	max-width: 100%;
	max-height: 100%;
}	

.inner #banner{
	height: 270px;
	margin-bottom: 0px;
}

#banner img{
	max-width: 100%;
	max-height: 100%;
	z-index: 1;
}

.slide_excerpt{
	max-width: 393px;
	position: absolute;
	padding: 14px;
	z-index: 3500;
	bottom: 12%;
	right: 1.5%;
	background: #a89462;
	border-right: 5px solid #dcdaca;
	border-bottom: 5px solid #dcdaca;
}

.slide_excerpt h2{
	font-family: Trajan Pro;
	color: #fff;
	margin: 0px;
	padding: 0px;
	line-height: 120%;
	font-size: 30px;
	text-shadow: 2px 2px 3px #4a422b;
	text-transform: uppercase;
	font-weight: normal;
}

/* pager */
.cycle-pager { 
	position: absolute;
	bottom: 4%;
	left: 1.5%;
	z-index: 3000;
}
.cycle-pager span { 
	display: block;
	width: 15px;
	height: 15px;
	float: right;
	outline: none;
	margin: 0px 2px;
	text-indent: -99999px;
	text-decoration: none;
	background: #d1a66e;
	border: 1px solid #f3f4f1;
	-moz-border-radius: 10px;
	border-radius: 10px;
}
.cycle-pager span.cycle-pager-active { background: #3b4235;}
.cycle-pager > * { cursor: pointer;}


#content{
	padding: 0px 0px 20px 0px;
}

#content.inner{
	padding: 0px;
}

.home-widgets{
	width: 280px;
	height: 263px;
	float: left;
	padding: 8px 7px;
	margin: 0px 25px 10px 0px;
	background: #dbd7cb;
	border: 1px solid #ccc9be;
	border-top: 1px solid #f5f4f0;
}



.home-widgets.home-widget3{
	margin: 0px 0px 10px 2px;
}

.home-widgets img, #leftcolumn img{
	padding: 3px;
	background: #fff;
	border: 1px solid #c5c1b7;
	margin-bottom: 6px;
}

.home-widgets img{
	max-width: 272px;
}

.home-widgets img:hover{
	opacity: 0.85;
}


.home-widgets h2, .latest-news h2{
	width: 234px;
	margin: 0 auto;
	text-align: center;
	font-weight: normal;
	font-family:Georgia, "Times New Roman", Times, serif;
	color: #3a4233;
	font-size: 22px;
	line-height: 100%;
	padding: 8px 0px 15px 0px;
	background: url(../images/h2bg.png) bottom center no-repeat;
}

.home-widgets p{
	color: #4d4d4d;
	font-size: 13px;
	text-align: center;
	padding: 0px 20px;
	line-height: 120%;
}

a.more{
	display: block;
	width: 150px;
	height: 32px;
	line-height: 34px;
	font-size: 16px;
	color: #fff;
	text-align: center;
	margin: 0 auto;
	background-color:#3a4233;
}

a.more.small{
	display: block;
	width: 110px;
	height: 23px;
	line-height: 23px;
	font-size: 15px;
	color: #fff;
	text-align: center;
	margin: 0 auto;
	background-color:#394234;
	margin-top:10px;
	margin-bottom:10px;
}

a:hover.more{
	opacity: 0.85;
}

#leftcolumn{
	width: 617px;
	float: left;
}

h1{
	font-family:Georgia, "Times New Roman", Times, serif;
	color: #675e50;
	font-size: 23px;
	font-weight: normal;
	line-height: 100%;
	margin: 14px 46px 0px 0px;
	padding: 0px 0px 10px 0px;
	background: url(../images/h1bg.jpg) bottom repeat-x;
}

h2{
	font-family:Georgia, "Times New Roman", Times, serif;
	color: #675e50;
	font-weight: normal;
	margin-bottom: 0px;
	/*font-variant:small-caps;*/
	line-height: 100%;
	font-size:20px;
	background: url(../images/h1bg.jpg) bottom repeat-x;
	padding: 10px 0px 10px 0px;
}


.imgl{
	border:none !important;
}


p{
	color: #564b3a;
	font-size: 14px;
}


#rightcolumn{
	width: 296px;
	float: right;
	padding: 6px 0px 0px 0px;
}

.special-widget{
	height: 119;
	padding: 5px 11px;
	background: #dbd7cb;
	border: 1px solid #ccc9be;
	border-top: 1px solid #f5f4f0;
}

.special-widget h2{
	width: 234px;
	margin: 0 auto;
	text-align: center;
	font-weight: normal;
	font-family:Georgia, "Times New Roman", Times, serif;
	color: #3a4233;
	font-size: 21px;
	line-height: 100%;
	padding: 10px 0px 10px 0px;
	background: url(../images/h2bg.png) bottom center no-repeat;
}

.special-widget p{
	color: #403c3d;
	font-size: 13px;
	text-align: center;
	line-height: 120%;
	margin: 7px 0px;
}

.latest-news{
	width: 280px;
	float: left;
	padding: 8px 7px;
	margin: 18px 25px 10px 0px;
	background: #dbd7cb;
	border: 1px solid #ccc9be;
	border-top: 1px solid #f5f4f0;

}

 .latest-news h2{
	font-size: 22px;
}

.latest-news .post{
	text-align: center;
	color: #564b3a;
	font-size: 13px;
	padding: 7px 0px 5px;
}

.latest-news .post h3{
	color: #564b3a;
	font-size: 13px;
	margin: 0px;
	line-height: 100%;
	font-family:Georgia, "Times New Roman", Times, serif;
	
}

.latest-news .post p{
	font-size: 13px;
	margin: 4px 0px;
}


/*-------- INNER PAGE ------------*/

#inner{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	background: #fff url(../images/innerconentbg.jpg) right repeat-y;
	border-top: 1px solid #e0e0dc;
	border-left: 1px solid #e0e0dc;
	border-right: 1px solid #e0e0dc;
}

#inner #leftcolumn{
	width: 676px;
	padding: 10px;
	background: url(../images/shadow.jpg) top repeat-x;
}

#inner #rightcolumn{
	width: 231px;
	padding: 5px 5px 0px 6px;
}

#inner h1{
	display: inline-block;
	margin-right: 0px;
	background: none;
	color: #675e50;
	padding: 0px 0px 5px 0px;
	text-transform:none;
	/*font-variant: small-caps;*/
	border-bottom: 1px solid #ccc;
}

#inner p{
	color: #666666;
	font-size: 13px;
	line-height: 180%;
	margin: 10px 0px;
	font-family:Verdana, Geneva, sans-serif;
}

#inner #leftcolumn ul{
	padding: 0px;
	margin: 0px;
	
}

#inner #leftcolumn li{
	color: #666666;
	font-size: 13px;
	list-style: none;
	line-height: 180%;
	font-family:Georgia, "Times New Roman", Times, serif;
	padding: 7px 0px 7px 26px;
	border-bottom: 1px dotted #efefef;
	background: url(../images/bullets.jpg) left no-repeat;
}

a.btn, input.btn{
	display: inline-block;
	height: 30px;
	line-height: 30px;
	padding: 1px 10px;
	font-size: 13px;
	color: #fff;
	text-align: center;
	margin: 10px 0px;
	background-color:#3b4334;
}

a.btng{
	display: inline-block;
	height: 30px;
	line-height: 30px;
	padding: 1px 10px;
	font-size: 13px;
	color: #fff;
	text-align: center;
	float:right;
	margin: 10px 0px;
	background-color:#d3a66b;
}

a:hover.btn, input:hover.btn{
	background-color:#4f5748;
}

ul.widgets{
	margin: 0px;
	padding: 0px;
	list-style: none;
}

ul.widgets a{
	color:#FFF;
	}
	
ul.widgets li img{
	max-width: 100%;
}

ul.widgets li{
	max-width: 221px;
	padding: 3px 4px;
	background: #fff;
	margin-bottom: 10px;
	border: 1px solid #c5c1b7;
}

ul.widgets li:hover img{
	opacity: 0.7;
}

ul.widgets li h4{
	font-family: CalistoMTRegular;
	height: 24px;
	line-height: 24px;
	font-weight: normal;
	margin: 0px;
	padding: 0px;
	font-size: 12px;
	border-top: 3px solid #d1a866;
	color: #fff;
	text-transform: uppercase;
	text-align: center;
	background-color:#3b4334;
}


/*-------- CONTACT PAGE ----------*/

#contact-form{
	float:left;
	width:398px;
	margin:10px 18px 0px 9px;
}

#contact-form h2{
	margin:0px 0px 5px 0px;
	font-size:20px;
	line-height:90%;
	padding:0px 0px 10px 0px;
	font-family:Georgia, "Times New Roman", Times, serif;
	background:url(../images/cotntacth2bg.jpg) 0px 3px repeat-x;
}

#contact-form label{
	color:#666666;
	font-size:13px;
	display:block;
	font-family:Verdana;
	padding:2px 0px 3px 0px;
}

#contact-form input[type="text"], #contact-form textarea{
	width:100%;
	height:29px;
	display:block;
	-moz-border-radius: 2px;
	border-radius: 2px;
	margin:0px 0px 10px 0px;
	border:1px #dddddd solid;
	padding:3px 5px 3px 5px;
	background:url(../images/input-bg.jpg) left top repeat-x;
}

#contact-form textarea{
	width:386px;
	height:79px;
	margin:0px 0px 2px 0px;
	background:url(../images/input-bg.jpg) left top repeat-x;
}

#contact-form input.btn{
	border: none !important;
}

#contact-details{
	float:left;
	width:251px;
	margin:10px 0px 0px 0px;
}

#contact-details h2{
	font-size: 20px;
	font-family:Georgia, "Times New Roman", Times, serif;
	margin:0px 0px 5px 0px;
	padding:0px 0px 15px 0px;
	background:url(../images/cotntacth2bg.jpg) 0px 3px repeat-x;
}

#contact-form h2 span, #contact-details h2 span{
	display: inline;
	background: #fff;
	padding: 0px 10px 0px 0px;
}

#inner #contact-details ul{
	border:none;
	margin: 15px 0px 0px 0px;
	padding: 0px;
}

#inner #contact-details ul li{
	border:none;
	color:#666666;
	font-size:13px;
	background:none;
	line-height:100%;
	font-family:Verdana;
	padding:0px 0px 12px 25px;
}

#inner #contact-details ul li a{
	color:#666666;
}

#inner #contact-details ul li.place{
	line-height: 200%;
	background:url(../images/location.png) 0px 6px no-repeat;
	padding:0px 30px;
	background-size:7%;

}

#inner #contact-details ul li.number{
	margin:4px 0px 4px 0px;
	background:url(../images/phone.png) left top no-repeat;
	padding:6px 30px;
	height:15px;
	background-size:7%;
}

#inner #contact-details ul li.email{
	background:url(../images/email.png) left top no-repeat;
	padding:4px 30px;
	background-size:7%;
	height:50px;
}



footer{
	height: 61px;
	clear: both;
	padding: 28px 0px 0px 0px;
	background: url(../images/footerbg.jpg) bottom center repeat-x;
}

.custom-icons{
	display: none;
}

#footer-logo{
	float: left;
	margin: 12px 9px 0px 0px;
}

#footer-nav{
	float: left;
	max-width: 660px;
	height: 30px;
	margin-top: 7px;
	padding: 0px 0px 0px 10px;
	border-left: 1px solid #d3d3d3;
}

#footer-nav ul{
	list-style: none;
	margin: 0px;
	padding: 0px;
}

#footer-nav ul li{
	padding-right: 7px;
	margin-right: 7px;
	height: 12px;
	line-height: 12px;
	font-size: 12px;
	color: #fff;
	float: left;
	border-right: 1px solid #fff;
}

#footer-nav ul li:last-child{
	border-right: none;
}


#footer-nav p{
	padding-top: 6px;
	height: 12px;
	font-size: 12px;
	color: #d3d3d3;
}

#footer-nav a{
	color: #d3d3d3;
}

#footer-social{
	width: 108px;
	float: right;
}

#footer-social img{
	float: left;
	margin-right: 17px;
}




.wraper{
	max-width: 940px;
	margin: 0 auto;
}



/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
   

/* default style */
.selectnav { display: none; }

@media (max-width:1024px) and (min-width:1022px){
.home-widgets{
		width: 289px!important;
	}
	
	.home-widgets img{
		max-width: 280px!important;
	}
}
#boxes #dialog{ width:75%!important; height:auto!important;margin: 0 auto;position: relative; left:0!important;}
@media (max-width:1024px){
#boxes #dialog{width:100%!important;}
}

/* iPads (portrait and landscape) ----------- */
@media only screen 
and (min-width : 767px) 
and (max-width : 1024px) {

	nav ul li{
	font-size: 11px;
	margin-right: 5px;
}

	nav ul li a{
	padding: 0px 5px;
}


	  .inner #banner{
		max-height: auto;
		height: auto;
	}
	
	.cycle-pager{
	}
	
	.home-widgets{
		width: 230px;
		margin-right: 10px;
	}
	
	.home-widgets img{
		max-width: 220px;
	}
	
	#leftcolumn{
		max-width: 450px;
		padding-left: 5px;
		padding-right: 5px;
	}
	
	#inner #leftcolumn{
		max-width: 513px;
		overflow: hidden !important;
		padding-left: 5px;
		padding-right: 5px;
	}
	
	
	#rightcolumn{
		margin-right: 0px;
	}
	
	.inner #rightcolumn{
		overflow: hidden;
	}
	
	#leftcolumn img{
		max-width: 98%;
	}
	
	footer{
		height: 79px;
		padding-top: 10px;
	}
	
	#footer-logo{
		display: block;
		width: 152px;
		margin: 0 auto;
		padding: 0px 0px 6px 0px;
		float: none;
	}

}


/* Smartphones (portrait and landscape) ----------- */
@media only screen 
and (min-width : 320px) 
and (max-width : 480px) {

html{
	background: #edebe3 url(../images/mobilebodybg.jpg) top center repeat-x;
	background-size:1800px;
}

.texts{ width:75%;}	
  .js #nav { display: none; }
  .js .selectnav { display: block; margin: 0 auto; margin-top:5px }
  
  .inner #banner{
	max-height: auto;
	height: auto;
}

	
	.slide_excerpt{
		width: 50%;
		padding: 2%;
	}
	.slide_excerpt h2{
		font-size: 12px;
	}
	
	.cycle-pager{
		display: none;
	}
	
	.home-widgets{
		width: 90%;
		height: auto;
		padding-left: 4%;
		padding-right: 4%;
		padding-top: 10px;
		float: none;
		margin: 10px auto;
	}
	
	.home-widgets img{
		max-width: 98%;
		padding: 1%;
		display: block;
		margin: 0 auto;
	}
	
	.home-widgets.home-widget3{
		margin: 0 auto;
	}

	
	#leftcolumn{
		width: 92%;
		float: none;
		padding-left: 4%;
		padding-right: 4%;
	}
	
	#leftcolumn h1, #leftcolumn h2{
		text-align: center;
		margin: 0 auto;
		padding: 10px 0px 5px 0px;
	}
	
	#leftcolumn p{
		text-align: center;
	}
	
	#leftcolumn img{
		max-width: 100%;
	}
	
	#rightcolumn{
		width: 100%;
		float: none;
	}
	
	.latest-news{
	width: 90%;
	float: none;
	padding: 8px 4%;
	margin: 18px auto 10px auto;
	background: #dbd7cc;
	border: 1px solid #fff;
	border-top: 1px solid #d8d8d7;
}

a.btn, input.btn{
	width: 40%;
	display: block;
	margin: 0 auto;
}

#inner{
	background: #fff ;
	border-top: 1px solid #e0e0dc;
	border-left: 1px solid #e0e0dc;
	border-right: 1px solid #e0e0dc;
}

#inner h1{
	display: block;
	float: none;
	text-align: center;
}

#inner #leftcolumn{
	width: 92%;
	padding: 4%;
	background: none;
}

#inner #rightcolumn{
	width: 92%;
	padding: 4%;
}

ul.widgets li img{
	max-width: 100%;
}

ul.widgets li{
	width: 100%;
	max-width: 100%;
	padding: 3px 1%;
	background: #fff;
	margin-bottom: 10px;
	border: 1px solid #c5c1b7;
}


#contact-form, #contact-details{
	width: 100%;
	float: none;
	margin: 10px auto;
}

#contact-form textarea{
	width: 80%;
}

#contact-form h2, #contact-details h2{
	padding: 0px;
	margin: 10px 0px;
}


#contact-form h2 span, #contact-details h2 span{
	padding: 0px;
}


	
	footer #footer-logo, footer #footer-nav, footer #footer-social{
		display: none;
	}
	
	footer{
		border-top: 6px solid #d1a866;
		background: #2C3033;
		padding: 0px;
	}
	
	.custom-icons{
		display:block;
		margin: 0; 
		max-width: 100% !important;
		overflow: hidden !important;
		max-width: 100%;
		text-shadow: 0 -1px 1px #000000;
		font-family: Helvetica,Arial,sans-serif;
		color: #FFFFFF;
		font-weight: bold;
	}
	
	.mobul{
		border: 0 none;
		display: block;
		list-style: none outside none;
		margin: 0;
		max-width: 100%;
		overflow: visible;
		padding: 0;
		position: relative;  
	}
	
	.leftfirst{clear: left;}					
	
	.uiblock{
		margin-right: -0.5px;
		width: 25%;
		-moz-box-sizing: border-box;
		float: left;
		min-height: 1px;
		padding: 0;
		margin-bottom:0 !important;
	}
	
	.linklast{
		clear: left;
		border-right:solid 0px #4a4f52 !important;
	}
	
	.moblink{
		border-bottom-width: 0;
		border-top-width: 0;
		border-right-width: 0;
		border-left:solid 1px #4a4f52;/*change the colour of the border*/
		display: block;
		margin: -1px -1px 0 0;
		text-align: center;
		font-family: 'Droid Sans',sans-serif;
		text-decoration: none;
		background: #2d3032;/*change the background colour*/
		color: #FFFFFF;
		font-weight: bold;
		text-shadow: 0 -1px 1px #014D68;
		cursor: pointer;
		vertical-align: middle;
		padding: 0;
		position: relative;
	}
		.overlink{/*hover button attribute*/
			color:#000000 !important;
			text-shadow: 0 -1px 1px #fff !important;
			background:#ff883a !important;
		}
	    .buttondown{/*touch button attribute*/
			color:#000000 !important;
			text-shadow: 0 -1px 1px #fff !important;
			background:#ff883a !important;
		}
		.mobinner{
			padding-top: 40px;
			padding-bottom: 0.8em;
			font-size: 12.5px;
			border-top: 1px solid #FFFFFF;
			display: block;
			min-width: 0.75em;
			overflow: hidden;
			position: relative;
			text-overflow: ellipsis;
			white-space: nowrap;
		}
		
		.mobtext{
			background: none repeat scroll 0 0 transparent;
			-moz-user-select: none;
			position: relative;
			width: 100%;
			z-index: 1;
		}
		
		.ui-icon{
			width: 30px!important;
			height: 30px!important; 
			margin-left: -15px !important; 
			box-shadow: none!important; 
			-moz-box-shadow: none!important; 
			-webkit-box-shadow: none!important; 
			-webkit-border-radius: 0 !important; 
			border-radius: 0 !important; 
			top: 5px;
			left: 50%;
			margin-left: -9px;
			position: absolute;
			height: 18px;
			width: 18px;
			box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
			border-radius: 9px 9px 9px 9px;
		}

#phone .ui-icon { background:url(../images/nav-icons/phone-sm.png) 50% 50% no-repeat; }
#mail .ui-icon { background:url(../images/nav-icons/mail-sm.png) 50% 50% no-repeat; }
#photos .ui-icon { background:url(../images/nav-icons/calendar2-sm.png) 50% 50% no-repeat; }
#monitor .ui-icon { background:url(../images/nav-icons/monitor-sm.png) 50% 50% no-repeat; }


}

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
.flags{ position: absolute;top: 20px;right: 0%;}
.flags img{width: 33px; margin-left:8px;}

/*------------------------news--------------------*/

.latestnews{border-bottom: 1px dashed #ccc; display: inline-block;}
.latestnews .date{ font-size: 22px!important;
color: #666666!important;
background: #f3f3f3;
width: 45px;
height: 45px;
text-align: center!important;
font-weight: bold;
margin: 25px 0px 0px 0px!important;}
.latestnews .month{ color:#fff; font-size:12px; background:#7f7e7e;padding: 1px 11.9px;text-align: center;text-transform: uppercase;position: relative;top: -4px; font-family:}
.latestnews h3{ font-size:17px; color:#666666!important; font-family:Georgia, "Times New Roman", Times, serif; margin-bottom:-3px;}
.latestnews p{ font-size:14px!important; color:#666666!important; text-align:justify!important; padding-bottom:10px;}
.update{ float:left; width:45px; margin-right:25px;}
.texts{float: right;width: 89%;}

/*------------------------gallery--------------------*/
.gallery-inner{ background-image:none!important;padding: 0px 2%;display: inline-block;}
.main-section{ /*width:100%*/width:901px;margin: 4% 0%;}
#sub-leftcolumn {float: left;width: 176px;padding: 0px;}
#sub-leftcolumn ul {margin: 0px;padding: 0px;list-style: none;}
#sub-leftcolumn li {border-bottom: 1px solid #cccccc!important; background:none!important; padding:0!important; line-height:inherit!important;}
#sub-leftcolumn ul li.active a {color: #fff;background: #d3d3d3;}
#sub-leftcolumn ul li a {width: 160px;min-height: 25px;color: #6e6666;font-size: 13px;display: inline-block;text-decoration: none;text-transform: uppercase;padding: 7px 0px 1px 16px;}
#sub-rightcolumn {float: left;width: 76%;padding:0px; margin-left:4%;}
.galleryimg {background: #fff;display: inline-block;}
#grid {margin: 0px;padding: 0px;list-style: none;}
#grid .mix {display: none;background: #fff;float: left;background: none!important;padding: 0px!important;margin: 0px 18px 18px 0px;}
#grid .mix:nth-child(4n){ margin-right:0px;}
.post-pic1 {float: left;width: 156px;padding: 0px;position: relative;}
.post-pic1 img {position: relative;max-width: 100%;  padding: 5px !important;border: 1px solid #ccc !important; margin-bottom: 0px!important; background:#fff!important;}
.jackbox-social{ display:none;}

@media (max-width:480px) and (min-width:320px){
.flags{ width: 50%;
margin: 0 auto;
top: -8px;
right: 19%;}
#logo{ margin:22px auto 0px; height:83px;}
.main-section, #sub-leftcolumn, #sub-rightcolumn{ width:100%!important;margin-left: 0;}
#grid .mix{ margin:8px 8px 8px 0px;width: 48%;}
#sub-leftcolumn ul li a{ width:94.5%;}
.post-pic1{ width:90%;}
#grid li:nth-child(2n){ margin-right:0!important;}
#grid li:nth-child(3n){ margin-right:8px;}
.custom-icons{position: fixed;
bottom: 0px;
width: 100%;
border-top:6px solid #D1A866}
}
@media (max-width:480px){
#grid .mix{ width:32%;}
#grid li:nth-child(2n){ margin-right:8px;}
#grid li:nth-child(3n){ margin-right:0;}
}
@media (max-width:768px){
#inner{width: 100%;}
#grid .mix:nth-child(4n){ margin-right:18px;}
#sub-rightcolumn{ width:58%;}
nav ul li{ font-size:15px;}
}
.foot-logo{width: 47px;position: relative;top: -11px;left: 4%;}

/* Form style */

#contact label { display: inline-block; float: left; height: 26px; line-height: 26px; width: 155px; font-size: 1.5em; -webkit-border-radius:5px; }
#contact input, textarea, select { width: 280px; margin: 0; padding: 5px; color: #666; background: #f5f5f5; border: 1px solid #ccc; margin: 5px 0; webkit-border-radius:5px; }
#contact input:focus, textarea:focus, select:focus { border: 1px solid #999; background-color: #fff; color:#333; }
#contact input.submit { width: 85px; cursor: pointer; border: 1px solid #222; background:#333; color:#fff; }
#contact input.submit:hover { background:#444; }
#contact input[type="submit"][disabled] { background:#888; }
#contact fieldset { padding:20px; border:1px solid #eee; -webkit-border-radius:5px; -moz-border-radius:5px; }
#contact legend { padding:7px 10px; font-weight:bold; color:#000; border:1px solid #eee; -webkit-border-radius:5px; -moz-border-radius:5px; margin-bottom:0 !important; margin-bottom:20px; }

#contact span.required{ font-size: 13px; color: #ff0000; } /* Select the colour of the * if the field is required. */

#message { margin: 10px 0; padding: 0; }

.error_message { display: block; height: 22px; line-height: 22px; background: #FBE3E4 url('../assets/error.gif') no-repeat 10px center; padding: 3px 10px 3px 35px; color:#8a1f11;border: 1px solid #FBC2C4; -webkit-border-radius:5px; }

.loader { padding: 0 10px; }

#contact #success_page h1 { background: url('../assets/success.gif') left no-repeat; padding-left:22px; }

acronym { border-bottom:1px dotted #ccc; }

#contact p, label, legend { font: 1.5em "Lucida Grande", "Lucida Sans Unicode", Arial, sans-serif; }

#contact h1 { margin: 10px 0 10px; font-size: 24px; color: #333333; }
#contact hr { color: inherit; height: 0; margin: 6px 0 6px 0; padding: 0; border: 1px solid #d9d9d9; border-style: none none solid; }

#contact { display: block; width: 650px; margin: 50px auto; padding: 35px; border: 1px solid #cbcbcb; background-color: #FFF; -webkit-border-radius:5px;  }
