/*
    Document   : wbea
    Author     : ev+ AGENCY
    Description:
        Purpose of the stylesheet follows.
        Global styles for horizontal and vertical screens
*/

html {
  font-size: 34px;
font-size: 1.8vw;
}


body {
  background-image: url('/img/bg.jpg');
	background-repeat: no-repeat;
  color: #0B1842;
  height: 100vh;
  font-size: 1rem;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.38rem; }
h4 { font-size: 1.1rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.85rem; }

th { font-weight: 500; }

.table>tbody>tr>td,
.table>tbody>tr>th,
.table>tfoot>tr>td,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>thead>tr>th {
  border-top-color: transparent;
}

.table>tbody>tr>th:first-child,
.table>thead>tr>th:first-child {
  padding-left: 30px;
  padding-left: 1.6vw;
}

.vertical-align {
  width: 100%;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  transform: translateY(-50%);
}


/*** Layout ***/

.wbea-main {
  height: 70vh;
  height: calc( 100vh - 200px - 250px );
  height: calc( 100vh - 46vh );
  padding-left: 50px;
  padding-right: 50px;
}

.wbea-header {
  width: 100%;
  background-color: #253F8F;
  display: table;
}

  .logo-container,
  .wbea-title-container {
    display: table-cell;
    vertical-align: middle;
    /*padding-bottom: 15px;*/
    float: none;
  }

  .logo-container {
    /*padding-top: 15px;
    padding-bottom: 15px;*/
    text-align: center;
    background-color: rgba(0,0,0,0.1);
  }

  .wbea-title-container {
    padding: 26px 0;
    padding: 1.3vw 0;
    text-align: center;
  }

.wbea-footer {
  position: absolute;
  bottom: 0;
  width: 100%;
}

/*** Elements ***/



.logo {
  max-width: 500px;
  max-width: 26vw;
}

.wbea-title {
  margin: 20px 0 13px;
  font-weight: 400;
  font-size: 2.2rem;
  color: #fff;
}

  .wbea-title small {
    display: inline-block;
    color: inherit;
    font-size: 1rem;
    font-weight: 500;
    font-style: italic;
  }

.wbea-info { margin: 0 0 1rem;}

.wbea-update {
  color: #fff;
  margin: 0 0 1rem;
  margin: 0;
}

.wbea-footer-info {
  padding: 1rem;
  /*background-color: #253F8F;
  color: #fff;*/
}



/* Legend/ Risk Value Elements */

.risk-label,
.risk-update { background-color: rgba(255,255,255,0.2); }

.table>tbody>tr>td.risk-update {
  vertical-align: middle;
  padding-right: 15px;
  padding-right: 1.5vw;
}

.risk-update {
  width: 230px;
  text-align: right;
  font-size: 1rem;
  background: rgba(0,0,0,0.03);
}


.wbea-risk-data {
  /*max-width: 1200px;*/
  position: relative;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.5rem;
}

  .table-wbea-risk>tbody>tr>td,
  .table-wbea-risk>tbody>tr>th {
    background-clip: padding-box;
    border-top-width: 15px;
    border-top-color: transparent;
    /*border-collapse: separate;
    border-spacing: 1px;*/
  }

  .table-wbea-risk .risk { width: 75px; }

/* Risk Legend */

.wbea-legend-container {
  padding: 20px 50px;
  background-color: rgba(255,255,255,0.5);
}

table.wbea-legend {
  margin-bottom: 0;
  text-align: center;
  border-color: transparent;
  font-size: 1.1rem;
}

.wbea-legend>tbody>tr>td:first-child,
.wbea-legend>tbody>tr>th:first-child,
.wbea-legend>tfoot>tr>td:first-child,
.wbea-legend>tfoot>tr>th:first-child,
.wbea-legend>thead>tr>td:first-child,
.wbea-legend>thead>tr>th:first-child {
  border-left: 0;
}

.wbea-legend>thead>tr>th,
.wbea-legend>thead>tr>td,
.wbea-legend>tbody>tr>th,
.wbea-legend>tbody>tr>td {
  border-top-color: transparent;
  border-bottom-color: transparent;
  padding-top: 10px;
  padding-bottom: 10px;
}

.wbea-legend>tbody>tr>th,
.wbea-legend>tbody>tr>td {
  width: 2%;
	width: 3vw;
}

.wbea-legend>thead>tr>th {
  text-align: center;
  border-color: #0B1842;
  border-color: rgba(0,0,0,0.2);
  border-bottom-width: 1px;
  border-left-width: 1px;
  border-left-style: solid;
}

.wbea-legend>thead>tr>th:first-child {
  border-left-color: transparent;
}


/* Risk Rating Skins */
  .risk {
    padding-top:5px;
    padding-bottom:5px;
		background-color: #ccc;
    text-shadow: 0px 0px 1px rgba(0,0,0,1), 0px 0px 2px rgba(0,0,0,1);
    text-align: center;
    color: #fff;
    font-weight: 600;
  }

  .risk-1 {
  	background-color: #00CCFF;
  }
  .risk-2 {
  	background-color: #0099CC;
  }
  .risk-3 {
    background-color: #006699;
  }
  .risk-4 {
    background-color: #FFFF00;
  }
  .risk-5 {
    background-color: #FFCC00;
  }
  .risk-6 {
    background-color: #FF9933;
  }
  .risk-7 {
    background-color: #FF6666;
  }
  .risk-8 {
    background-color: #FF0000;
  }
  .risk-9 {
    background-color: #CC0000;
  }
  .risk-10 {
    background-color: #990000;
  }
  .risk-10-plus {
    background-color: #660000;
  }
