/*
    Created on : 12/mai/2016, 11:34:23
    Author     : mafonso
*/

@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/OpenSans-Regular.eot'); /* IE9 Compat Modes */
  src: url('../fonts/OpenSans-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/OpenSans-Regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/OpenSans-Regular.woff') format('woff'), /* Pretty Modern Browsers */
       url('../fonts/OpenSans-Regular.ttf')  format('truetype')
}

@page {
    margin-top: 0.5in;

    /*
    margin-bottom: 0.75in;
    margin-left: 0.75in;
    margin-right: 0.75in;
    */
}

body {
    font-family: 'Open Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
    font-weight: 400;
    -webkit-touch-callout: none;
    font-size: 12px;
    line-height: 1.42857143;
    color: #333;
}

body > .navbar,
#ribbon,
#map-footer,
#logo-footer,
#baselayers-wrapper,
#left-column-toggle,
#left-column,
#module
{
    display: none;
}

html, body {
    margin: 0mm;  /* this affects the margin in the printer settings */
}

body {
    padding: 0;
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 1.7em;
}

h3 {
    font-size: 1.4em;
}

small {
    font-size: 7px;
}

#print-container {
    margin: 0;
    padding: 0;
    text-align: center;
}

#map {
    width: inherit;
    height: inherit;
    margin: 0 auto;
    padding: 0;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#print-version {
    margin: 0 auto;
    width: 595px; /* By default A4 72dpi = 595px width */
}

#map {
    display: none;
}

#print-version #compose {
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

#print-version #compose .print-map-image1,
#print-version #compose .print-map-image2
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

#print-version .print-warning {
    display: block;
    text-align: center;
    font-size: 4mm;
    font-weight: bold;
    color: red;
}

#print-footer > table {
    width: 100%;
    height: 106px;
    border: 1px solid #333333;
    padding: 0;
    margin: 1px 0 0 0;
    overflow: hidden;
    border-collapse: collapse;
    font-size: 9px;
    text-align: left;
    line-height: auto;
}

#print-footer > table td {
    padding: 2px 4px;
    border: 1px solid #333333;
    word-break: break-all;
}

#print-footer > table > tbody > tr:first-child > td:first-child {
    width: 100px;
    text-align: center;
}

#print-footer > table img.print-logo {
    width: 80px;
}

#print-footer > table > tbody > tr:first-child > td:first-child + td {
    text-align: center;
}

#print-footer > table > tbody > tr:first-child > td:first-child + td + td {
    text-align: center
}

#print-footer > table img.print-windrose {
    width: 32px;
}

#print-footer > table .print-coords-info {
    width: 200px;
}

#print-footer > table > tbody > tr:first-child > td:first-child + td + td,
#print-footer > table > tbody > tr:first-child > td:first-child + td + td + td
{
    width: 100px;
}

#print-footer > table > tbody > tr:first-child + tr > td:first-child {
    height: 32px;
}

#print-footer .print-footer-title {
    text-align: center;
    font-size: 14px;
    font-weight: bold;
}

#print-footer .print-footer-subtitle,
#print-footer .print-config-scale
{
    text-align: center;
}
#print-footer .print-label {
    font-weight: bold;
    text-align: center;
}

#print-legend {
    text-align: left;
}

#print-legend > .page-break {
    page-break-before: always;
}

#print-legend img {
    display: block;
}

#print-legend .legend-symbol,
#print-legend .legend-color
{
    display: inline-block;
    width: 20px;
    height: 14px;
    margin-bottom: -4px;
    margin-right: 5px;
}

#print-legend h2 {
    font-size: 1.1em;
    font-weight: bold;
}

#print-legend h3 {
    font-size: 1.1em;
    font-style: italic;
}

#print-legend table {
    width: 100%;
    font-size: 10px;
    margin-bottom: 0;
}

#print-legend table.table-striped {
    width: 320px;
}

#print-legend table th {
    text-align: right;
    font-weight: normal;
}

#print-legend > table > tr > td:first-child {
    width: 350px;
}

#print-legend div.theme-legend ul {
    list-style-type: none;
    padding-left: 5px;
}

#print-legend div.theme-legend li {
    font-family: "Arial", sans-serif;
    font-size: 11px;
    font-weight: bold;
    text-align: left;
}

#print-legend div.theme-legend li img {
    display: inline;
    height: 15px;
    margin-right: 10px;
}

#print-legend .table>thead>tr>th,
#print-legend .table>tbody>tr>th,
#print-legend .table>tfoot>tr>th,
#print-legend .table>thead>tr>td,
#print-legend .table>tbody>tr>td,
#print-legend .table>tfoot>tr>td
{
    padding: 2px;
    line-height: 1.4;
    vertical-align: top;
    border-top: 1px solid #ddd;
}
