/* ===================================================================
 	CSS Styles for print to PDF templates
 	2014
----------------------------------------------------------------------*/

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

body {
	background: #f4f4f4;
	font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
	font-size: 0.9em;
	line-height: 1.42857143;
	color: #333;
}

a {
	color: #ee4c9b;
}

h1,h2,h3,h4,h5,h6 {
	font-family: inherit;
	font-weight: 500;
	line-height: 1;
	color: inherit;
}

h2 {
	font-size: 1.25em;
}

h1.small, h2.small, h3.small,
h4.small, h5.small, h6.small  {
	font-size: 1.25em;
}

hr {
	margin-top: 17px;
	margin-bottom: 17px;
	border: 0;
	border-top: 1px solid #eee;

	display: none;
}

.caps {
	text-transform: uppercase;
}
.strong {
	font-weight: bold;
}

.font11 {
	font-size: 11px;
}

.font15 {
	font-size: 15px;
}

/* ===================================================================
 	Layout
----------------------------------------------------------------------*/

.container {
	width: 860px;
	margin: 0 auto;
	padding: 20px 20px 20px 20px;
	background: #fff;
	border: 1px solid #ccc;
	overflow: auto;
	position: relative;
	/* Estimated size of a4 page */
	/*height: 1110px;*/
}


.head {
	text-align: right;
	font-size: 0.9em;
	color: #000;
	margin-bottom: 15px;
}

.foot {
	height: 78px;
	width: 100%;
	margin-top: 20px;
/*	position: absolute;
	left: 0px;
	bottom: 0px;*/
	text-align: center;
}

.foot .inner-container {
	padding: 0 0;
}

.foot table {
	width: 100%;
	padding: 0;
}

.foot table td {
	text-align: center;
}

.foot table td.small:first-child {
	text-align: left;
} 

.foot table td.small:last-child  {
	text-align: right;
}

.foot table td.aito {
	width: 80px;
}
.foot table td.abta-no {
	width: 80px;
}
.foot table td.atol {
	width: 50px;
}


.table {
	width: 100%;
	max-width: 100%;
	margin-bottom: 20px;
}

.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
	padding: 8px 0;
	line-height: 1.42857143;
	vertical-align: top;
	/*border-top: 1px solid #ddd;*/
}

.table.singleSpacing > thead > tr > th,
.table.singleSpacing > tbody > tr > th,
.table.singleSpacing > tfoot > tr > th,
.table.singleSpacing > thead > tr > td,
.table.singleSpacing > tbody > tr > td,
.table.singleSpacing > tfoot > tr > td {
	padding: 0px 0;
}

th.small, td.small {
	width: 10em;
}
th.small, td.medium {
	width: 20em;
}
th.small, td.large {
	width: 30em;
}

/* ===================================================================
 	Dual column fees panel
----------------------------------------------------------------------*/

.double-table {
	overflow: auto;
	margin-bottom: 20px;
}

.column {
	width: 50%;
	float: left;
}

.column span {
	width: 20em;
	display: inline-block;
}

/* ===================================================================
 	Misc classes
----------------------------------------------------------------------*/


.noMargin {
	margin: 0;
}

.smallBottomMargin {
	margin-bottom: 8px;
}

.largeBottomMargin {
	margin-bottom: 48px;
}


.noTopMargin {
	margin-top: 0px;
}

.bordered {
	border: 1px solid #ccc;
	padding: 0 20px;
}

.padded-right-large {
	padding-right: 1.5em;
}

.padded-right-medium {
	padding-right: 1em;
}

.padded-right-small {
	padding-right: 0.7em;
}

.padded-left-large {
	padding-left: 1.5em;
}

.padded-left-medium {
	padding-left: 1em;
}

.padded-left-small {
	padding-left: 0.7em;
}

.clear {
	clear: both;
}

.right {
	float: right;
}

.left {
	float: left;
}

/* ===================================================================
 	Print styles
----------------------------------------------------------------------*/

@media print {

	body, html {
		font-size: 10pt;
		background: #fff;
	}

	.container {
		padding: 0 0;
		border: none;
		overflow: auto;
	}
}

@media print and (-webkit-min-device-pixel-ratio:0) { 
	/* fixes the page height for chrome / safari for pdf printing */
	.head {
		height: 193px;
	}

	.content {
	    height: auto;
	}

	.foot {
	    height: 78px;
	}

        .bordered {
            page-break-inside: avoid;
        }
}
