/* 
 * 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.
 *
 * Detailed information about this CSS: h5bp.com/css
 * 
 * ==|== normalize ==========================================================
 */


/* =============================================================================
   HTML5 display definitions
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

/* =============================================================================
   Base
   ========================================================================== */

/*
 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
 * 2. Force vertical scrollbar in non-IE
 * 3. Prevent iOS text size adjust on device orientation change, without disabling user zoom: h5bp.com/g
 */

html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

body { margin: 0; font-size: 14px; line-height: 1.2; }

body, button, input, select, textarea { font-family: sans-serif; color: #222; }

/* 
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate
 * Also: hot pink! (or customize the background color to match your design)
 */

::-moz-selection { background: #bb1000; color: #fff; text-shadow: none; }
::selection { background: #bb1000; color: #fff; text-shadow: none; }


/* =============================================================================
   Links
   ========================================================================== */

a { color: #00e; }
a:visited { color: #bb1000; }
a:hover { color: #06e; }
a:focus { outline: thin dotted; }

/* Improve readability when focused and hovered in all browsers: h5bp.com/h */
a:hover, a:active { outline: 0; }


/* =============================================================================
   Typography
   ========================================================================== */

abbr[title] { border-bottom: 1px dotted; }

b, strong { font-weight: bold; }

blockquote { margin: 1em 40px; }

dfn { font-style: italic; }

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

ins { background: #ff9; color: #000; text-decoration: none; }

mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }

/* Redeclare monospace font family: h5bp.com/j */
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }

/* Improve readability of pre-formatted text in all browsers */
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

q { quotes: none; }
q:before, q:after { content: ""; content: none; }

small { font-size: 85%; }

/* Position subscript and superscript content without affecting line-height: h5bp.com/k */
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }


/* =============================================================================
   Lists
   ========================================================================== */

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }


/* =============================================================================
   Embedded content
   ========================================================================== */

/*
 * 1. Improve image quality when scaled in IE7: h5bp.com/d
 * 2. Remove the gap between images and borders on image containers: h5bp.com/e 
 */

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }

/*
 * Correct overflow not hidden in IE9 
 */

svg:not(:root) { overflow: hidden; }


/* =============================================================================
   Figures
   ========================================================================== */

figure { margin: 0; }


/* =============================================================================
   Forms
   ========================================================================== */

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

/* Indicate that 'label' will shift focus to the associated form element */
label { cursor: pointer; }

/* 
 * 1. Correct color not inheriting in IE6/7/8/9 
 * 2. Correct alignment displayed oddly in IE6/7 
 */

legend { border: 0; *margin-left: -7px; padding: 0; }

/*
 * 1. Correct font-size not inheriting in all browsers
 * 2. Remove margins in FF3/4 S5 Chrome
 * 3. Define consistent vertical alignment display in all browsers
 */

button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }

/*
 * 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
 * 2. Correct inner spacing displayed oddly in IE6/7
 */

button, input { line-height: normal; *overflow: visible; }

/*
 * Reintroduce inner spacing in 'table' to avoid overlap and whitespace issues in IE6/7
 */

table button, table input { *overflow: auto; }

/*
 * 1. Display hand cursor for clickable form elements
 * 2. Allow styling of clickable form elements in iOS
 */

button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }

/*
 * Consistent box sizing and appearance
 */

input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }

/* 
 * Remove inner padding and border in FF3/4: h5bp.com/l 
 */

button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }

/* 
 * 1. Remove default vertical scrollbar in IE6/7/8/9 
 * 2. Allow only vertical resizing
 */

textarea { overflow: auto; vertical-align: top; resize: vertical; }

/* Colors for form validity */
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }


/* =============================================================================
   Tables
   ========================================================================== */

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }


/* ==|== primary styles =====================================================
   Author: 
   ========================================================================== */

h1 {
	color: #bb1000;
	font-size: 1.3em;
}
h2 {
	color: #bb1000;
	font-size: 1.2em;
}
h3 {
	color: #bb1000;
	font-size: 1.1em;
}
body {
	background: url('../img/dragon_payment_solutions_body2_bg.jpg') repeat-x #e7e7e7;
}
.container {
	margin: 0px auto;
	max-width: 960px;
	height: 100%;
	clear: both;
}
header {
	background: #000;
	padding: 0 .75em .75em .75em;
	margin-top:10px;
}
header p.addy_top {
	font-size: .85em;
}
header p.addy_top, header p.addy_top a {
	color: #f7f7f7;
	text-align: center;
	text-decoration: none;
	margin: .5em;
	
}
header p.addy_top a img {
	padding-top: .5em;
}
header p.addy_top a:hover {
	color: red;
}
header p.addy_top a {
	line-height: 1.3em;
}
p.logoish {
	text-align:center;
	margin-bottom: 0;
}
p.logoish img {
	width: 250px;
}
/***** BEGIN sm_nav Styles *****/
.nav_container {
	width: 100%;
	background: #bb1000;
}
ul.sm_nav1, ul.sm_nav2, ul.sm_nav2 ul {
	width: 40%;
	text-decoration: none;
	list-style-type: none;
	padding: 0;
	margin: 2px 0;
	}
ul.sm_nav1 li, ul.sm_nav2 li {
	margin: 0 0 0 5px;
	padding: 10px;
	width: 100%;
	border-bottom: 1px solid #cc1302;

}
ul.sm_nav1 li a, ul.sm_nav2 li a {
	display: block;
	color: #fff;
	font-weight: bold;
	width: 100%;
	padding: 5px 0;
	text-decoration: none;
	font-size: .8em;
}
ul.sm_nav2 li ul li a {
	width: 100%;
}
ul.sm_nav2 ul li a {
	display: block;
	color: #fff;
	font-weight: bold;
	width: 100%;
	padding: 0;
	text-decoration: none;
}
ul.sm_nav2 li ul li {
	margin: 0 0 0 10px;
}
ul.sm_nav1 li a, ul.sm_nav2 li a {
	margin: 0;
	padding: 0;
	line-height: 10px;
}
ul.sm_nav1 {
	float: left;
}
ul.sm_nav2 {
	float: right;
}

/***** End sm_nav Styles *****/

/***** BEGIN Red Menu Styles *****/
.clear:after { content: "."; display: block; height: 0; clear: both; visibility: hidden;}
html[xmlns] .clear { display: block;}
* html .clear { height: 1%;}

nav.red {border-top: 1px solid #631a1a; border-bottom: 1px solid #4b0c0c; border-radius: 3px; 
	margin: 10px; display: none;}
nav.red ul {margin: 0px; padding: 0px; border-left: 1px solid #631a1a;
	background: #bb1000; /* Old browsers */
	background: -moz-linear-gradient(top,  #bb1000 0%, #d81a00 49%, #bb1000 51%, #bb1000 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#bb1000), color-stop(49%,#d81a00), color-stop(51%,#bb1000), color-stop(100%,#bb1000)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #bb1000 0%,#d81a00 49%,#bb1000 51%,#bb1000 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #bb1000 0%,#d81a00 49%,#bb1000 51%,#bb1000 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #bb1000 0%,#d81a00 49%,#bb1000 51%,#bb1000 100%); /* IE10+ */
	background: linear-gradient(top,  #bb1000 0%,#d81a00 49%,#bb1000 51%,#bb1000 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bb1000', endColorstr='#bb1000',GradientType=0 ); /* IE6-9 */}

/* Top level */
nav.red li {list-style: none; float: left; border-right: 1px solid #631a1a; position: relative;}
nav.red li.first, nav li.first a {border-top-left-radius: 2px; border-bottom-left-radius: 2px; -moz-border-top-left-radius: 2px; -moz-border-bottom-left-radius: 2px;}
nav.red li.last, nav li.last a {border-top-right-radius: 2px; border-bottom-right-radius: 2px; -moz-border-top-right-radius: 2px; -moz-border-bottom-right-radius: 2px;}
nav.red li.drop a {padding-right: 30px;}
nav.red li a {display: block; padding: 9px 23px 10px; text-decoration: none;
	background: #bb1000; /* Old browsers */
	background: -moz-linear-gradient(top,  #bb1000 0%, #d81a00 49%, #bb1000 51%, #bb1000 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#bb1000), color-stop(49%,#d81a00), color-stop(51%,#bb1000), color-stop(100%,#bb1000)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #bb1000 0%,#d81a00 49%,#bb1000 51%,#bb1000 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #bb1000 0%,#d81a00 49%,#bb1000 51%,#bb1000 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #bb1000 0%,#d81a00 49%,#bb1000 51%,#bb1000 100%); /* IE10+ */
	background: linear-gradient(top,  #bb1000 0%,#d81a00 49%,#bb1000 51%,#bb1000 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bb1000', endColorstr='#bb1000',GradientType=0 ); /* IE6-9 */
	font-size: 12px; color: #fff; 
    font-weight: bold;
    border-top: 1px solid #975555; 
    border-left: 1px solid #813737; 
}
nav.red li a {background-position: 0px 0px;}
nav.red li a:hover, nav li.active a {
	background-position: 0px -50px;
	color: #e7e7e7;
	text-shadow: 0px -1px 0px #000;
}
nav.red li a:active {background-position: 0px -72px;}
nav.red .dropdown {display: block; float: right; width: 7px; height: 5px; background: url('../img/arrowtop.png') no-repeat; margin: -20px 15px 0px 12px;}

/* Drop down */
nav.red li ul {opacity: 0; position: absolute; top: 45px; left: -26px; padding: 12px 15px; border-radius: 3px; -moz-border-radius: 3px; background: #000; display: none;z-index: 100;}
nav.red li ul li {border-right: 0px; float: none!important; border-bottom: 1px solid #4b1010; width: 125px;}
nav.red li ul li:last-child { border-bottom: 0px;}
nav.red li ul li a {background: none!important; border-left: 0px; border-top: 0px; padding: 10px 0px; font-size: 11px}
nav.red li ul li a:hover {opacity: 0.5;}

nav.red li ul li.arrow {background: url('../img/arrowtop.png') top left no-repeat; border-bottom: 0px; height: 10px; margin-top: -22px; margin-bottom: 10px;}

/***** END REd Menu Styles *****/
.flex-container {
	display: none;
}
.side_bar {
	width: 36%;
	float: right;
	padding: 2%;
}
.side_bar h2 {
	color: #fff;
	font-size: 1.1em;
	text-align: center;
	margin: 0;
	padding: 0;
	line-height: 1.1em;
	text-shadow: 0 -1px 0 rgba(0,0,0,.8);
}
.side_bar p {
	color: #fff;
	font-size: 0.85em;
	line-height: 1.1em;
}
.side_bar ul {
	list-style-type: circle inside;
	margin: 0;
	padding: 0 10px 15px 10px;
}
.side_bar li {
	color: #fff;
	font-size: .90em;
}
.side_bar a.button1 {
	display: none;
}
a.button1 {
   border-top: 1px solid #ff6254;
   background: #e43120;
   background: -webkit-gradient(linear, left top, left bottom, from(#bb1000), to(#e43120));
   background: -webkit-linear-gradient(top, #bb1000, #e43120);
   background: -moz-linear-gradient(top, #bb1000, #e43120);
   background: -ms-linear-gradient(top, #bb1000, #e43120);
   background: -o-linear-gradient(top, #bb1000, #e43120);
   padding: 5px 10px;
   -webkit-border-radius: 8px;
   -moz-border-radius: 8px;
   border-radius: 8px;
   -webkit-box-shadow: rgba(0,0,0,1) 0 1px 0;
   -moz-box-shadow: rgba(0,0,0,1) 0 1px 0;
   box-shadow: rgba(0,0,0,1) 0 1px 0;
   text-shadow: rgba(0,0,0,.4) 0 1px 0;
   color: #fff;
   font-size: 14px;
   font-weight: bold;
   text-decoration: none;
   vertical-align: middle;
	margin: 10px 10px 0 10px;
   }
a.button1:hover {
   border-top-color: #950c00;
   background: #d81a00;
   color: #ccc;
   }
a.button1:active {
   border-top-color: #950c00;
   background: #d81a00;
   }

p.flex-caption {
	display: none;
	font-size: 1.4em;
	font-weight: bold;
	color: #000;
}

#main_container {
	width: 96%;
	position: relative;
	float: left;
	padding: 0 1%;
	margin: 1.5em 0;
}
#main_left {
	width: 100%;
	position: relative;
	float: none;
	margin-right: 0%;
	border-bottom: 1px dotted #bebebe;
}
#main_right {
	width: 100%;
	position: relative;
	float: none;
}
footer {
	position: relative;
	width: 100%;
	float: left;
	margin: 0px auto;
	background: #000;
}
#footer_container {
	margin: 0px auto;
	max-width: 930px;
	padding: 15px;
}
#footer_left {
	position: relative;
	float: left;
	width: 37%;
}
#footer_left address {
	margin: 0;
	padding: 0 0 10px 0;
	font-size: .85em;
	color: #fff;
}
#footer_center {
	position: relative;
	float: left;
	width: 37%;
	padding: 0 2%;
}
#footer_center p {
	margin: 0;
	padding: 0 0 10px 0;
	text-decoration: none;
	font-size: .85em;
	color: #fff;
}
#footer_center a {
	color:#fff;
	text-decoration:none;
}
#footer_center a:hover {
	color: red;
	text-decoration: underline;
}
#footer_right ul {
	margin: 0;
	padding: 0 0 10px 0;
	list-style-type: none;
	float: right;
}
#footer_right ul li {
	text-align: right;
}
#footer_right {
	position: relative;
	float: right;
	width: 22%;
}
	#footer_right ul li a {
		
		text-align: right;
		font-weight: bold;
		text-decoration: none;
		color: #fff;
		font-size: .85em;
	}
		#footer_right ul li a:hover {
			text-decoration: underline;
			color: red;
		}


/* ==|== non-semantic helper classes ========================================
   Please define your styles before this section.
   ========================================================================== */

/* For image replacement */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; }
.ir br { display: none; }

/* 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; }

/* Contain floats: h5bp.com/q */ 
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }



/* ==|== media queries ======================================================
   PLACEHOLDER Media Queries for Responsive Design.
   These override the primary ('mobile first') styles
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 610px) {
  /* Style adjustments for viewports 480px and over go here */
		nav.red {
			display:block;
		}
		.nav_container {
			display:none;
		}
		header p.addy_top{
			float: right;
			text-align: right;
			margin-top: 13px;
		}
		header p.logoish { 
			text-align: left;
		}

		header p.logoish img {
			width: 360px;
		}
		.flex-container {
			display: block;
		}

}
@media only screen and (min-width: 750px) {

		p.flex-caption {
			display: inline;
		}
		.side_bar a.button1 {
			display: inline;
		}
		#main_left {
			width: 63%;
			position: relative;
			float: left;
			padding-right: 2%;
			padding-left: 2%;
			border-bottom: none;
		}
		#main_left2 {
			width: 50%;
			position: relative;
			float: left;
			padding-right: 2%;
			padding-left: 2%;
			border-bottom: none;
		}
		#main_right p, #main_right ul li, #main_right strong, #main_right em {
			font-size: .95em;
		}
		#main_right a:hover {
			text-decoration: none;
		}
		#main_right {
			background: #4b525c;
			width: 28%;
			position: relative;
			float: left;
			padding: 2% 2% 2% 3%;
			-webkit-border-radius: 8px;
			   -moz-border-radius: 8px;
			   border-radius: 8px;
		}
		#main_right2 {
			background: #cfcfcf;
			width: 41%;
			position: relative;
			float: left;
			padding: 2% 2% 2% 3%;
			-webkit-border-radius: 8px;
			   -moz-border-radius: 8px;
			   border-radius: 8px;
		}
		#main_right h3, #main_right p, #main_right a, #main_right ul li, #main_right em, #main_right strong {
			color:#fff;
		}
		#main_right h3 {
			text-align: center;
		}
		h1 {
			color: #bb1000;
			font-size: 1.4em;
		}
		h2 {
			color: #bb1000;
			font-size: 1.2em;
		}
		h3 {
			color: #bb1000;
			font-size: 1.1em;
			line-height: 1.0em;
		}
		h4 {
			color: #7F7E7E;
			font-size: 1.1em;
			line-height: 1.2em;
		}
 		body { margin: 0; font-size: 16px; line-height: 1.231; }

}
  /* Style adjustments for viewports 768px and over go here */




/* ==|== print styles =======================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */
 
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  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; }
}

.percent-one-half { width: 48%; }
.percent-one-third { width: 30.66%; }
.percent-two-third { width: 65.33%; }
.percent-one-fourth { width: 22%; }
.percent-three-fourth { width: 74%; }
.percent-one-fifth { width: 16.8%; }
.percent-two-fifth { width: 37.6%; }
.percent-three-fifth { width: 58.4%; }
.percent-four-fifth { width: 67.2%; }
.percent-one-sixth { width: 13.33%; }
.percent-five-sixth { width: 82.67%; }

.percent-one-half,
.percent-one-third,
.percent-two-third,
.percent-three-fourth,
.percent-one-fourth,
.percent-one-fifth,
.percent-two-fifth,
.percent-three-fifth,
.percent-four-fifth,
.percent-one-sixth,
.percent-five-sixth {
	position: relative;
	margin-right: 4%;
	float: left;
}

label {
    color:#7F7F7F;
    display:block;
    font-weight:normal;
}

label.error {
    color: red;
    font-style: italic;
    margin: 5px 0 10px 0;
}
.contact-info p {
	margin:0;
	padding:7px 0;
	border-top:1px solid #efefef;
}

.contact-info p:last-child {
	border-bottom:1px solid #efefef;
}

.contact-info span {
	color:#444;
}

.contact-map {
	margin-bottom:50px;
}

#contactform label {
	clear:both;
}	

#contactform input[type=text] {
	margin-bottom:10px;
	width:89%;
	padding:3% 5%;
	height:20px;
	line-height:20px;

}

#contactform input[type=submit] {
	font-size:12px;
	clear:both;
	float:right;
	cursor:pointer;
	margin:0;
}

#contactform textarea { 
	height:130px;
	clear:both;
}

.contact-loader {
	float: right;
	padding: 11px 11px 0 0;
}
.yellow {
    background:#ffb141;
	border:0 none;
    color: #fff;
}

.yellow:hover {
    color: #fff;
	background:#fd9602;
}
.button {
    cursor:pointer;
    display:inline-block;
    font-size: 12px;
    font-weight:600;
    line-height:16px;
    margin:0 10px 20px 0;
    padding: 7px 11px 7px;
	position:relative;
	
	-webkit-transition:all 0.2s linear;
    -moz-transition:all 0.2s linear;
    -o-transition:all 0.2s linear;
    transition:all 0.2s linear;	
}

