/* from old website */
body {
	max-width:1200px;
	background:#fff;
}



/* temp fix in production */
.production #content-image {overflow:hidden;}

a.img-button {
  display:block;
  box-sizing:border-box;
  white-space:nowrap;
  padding:10px;
  font-size:22px;
  line-height:30px;
  font-weight:normal;
  padding:0;
  margin:0 0 1em;
  border:none;
}

a.img-button.blue {
  color:#007AC2;
}

a.img-button img {
  vertical-align:middle;
  width:10%;
}

a.img-button span {
  white-space:normal;
  display:inline-block;
  vertical-align:middle;
  width:90%;
  box-sizing:border-box;
  padding-left:0.5em;
}

 a.card {
  border: solid 2px #007AC2;
  padding: 1em;
  margin: 0;
  vertical-align:middle;
  border-radius:5px;
  display:inline-block;
 }
 
 a.card:hover {
  background-color:#dff0fc;
 }


/* image cover - common */
div.imgcover {
  position: relative;
  overflow: hidden;
  margin:0 0 30px;
}

div.imgcover > img, div.imgcover > a > img {
  border: none;
  margin:0;
  padding:0;
  line-height:1;
  vertical-align:top;
  max-width:100%;
}

div.imgcover > .layer {
  position: absolute;
  z-index:2;
  top:0;
  bottom:0;
  left:0;
  width: 440px;
  padding: 30px;
  color: #fff;
  background:rgba(0,0,0,0.7);
}

div.imgcover > .layer.right {left:auto;right:0;}

div.imgcover > .layer > .top {}
div.imgcover > .layer > .bottom {
  position: absolute;
  bottom:0;
  left:0;
  right:0;
  padding: 30px;
}

div.imgcover > .layer > .bottom p:last-child {margin:0;}

#page-content div.imgcover > .layer h2, #page-content div.imgcover > .layer h3 {
  color:#fff;
  line-height:1.2;
  margin:0 0 0.2em;
  text-align:left;
}

#page-content div.imgcover > .layer h3 {
  color:#8ab9d5;
  font-size: 16px;
  font-weight: bold;
}

/* cover two columns text + image */
.cover-twocol {
  position: relative;
  overflow: hidden;
  margin:0 0 30px;  
}

#page-content .cover-twocol h2, #page-content .cover-twocol h3 {
  color:#fff;
  line-height:1.2;
  margin:0 0 0.2em;
  text-align:left;  
}

#page-content .cover-twocol h3 {
  color:#8ab9d5;
  font-size: 16px;
  font-weight: bold;
}

.cover-twocol .text {
  position: absolute;
  top:0;
  left:0;
  bottom:0;
  
  background:rgba(0,0,0,0.8);
  background:#000 \9;
  color:#fff;
  
  width: 45%;  
}

.cover-twocol .text  > div {
  padding: 30px;
  position: relative;
  overflow:hidden;
}

.cover-twocol .text  > div.bottom {
  position: absolute;
  bottom:0;
  left:0;
  right:0;
}

.cover-twocol .image {
  width:100%;
  padding-left:45%;
}

.cover-twocol .image img {
  height: auto;
  width:100%;
}

.cover-twocol div > p:last-child {margin:0;}

/* zzz misc unused elements */
@keyframes fadein {
    0% { opacity: 0; }
    35%  { opacity: 0; }
    100%   { opacity: 1; }
}  

@keyframes marginTop50 {
    0% { margin-top: -50px; }
    35%  { margin-top: -50px; }
    100%   { margin-top: 0px;; }
}  

/* debt object */
.object-debt.col {
  box-sizing:border-box;
  padding:20px;
  background:#f2f3f4;
  width:33%;
}

.object-debt .body {
  position:relative;
  overflow:hidden;
  
  font-size:14px;
  font-weight:400;
}

.object-debt > .header {
  text-align:left;
  margin-bottom: 15px;
}

.object-debt h3.change {
  display:inline-block;
  
  margin:0;
  line-height:1;
  padding:0.3em 0.5em;
  background:#c00;
  /*border-radius:40px;*/
  
  font-weight:400;
  color:#fff;
  font-size:18px;
}

.object-debt h3.change:before {
  content: '\2191';
  color:#fff;
  display:inline-block;
  vertical-align:2px;
  margin-right:0;
  font-weight:bold;
}

.object-debt h3.change.decrease:before {
  content: '\2193';
}

h3.change.decrease {
    background: #2fa71f;
}

.object-debt .current {
  display: -ms-flexbox;
  -ms-flex-wrap: wrap;  
  
  display: flex;
  flex-wrap: wrap;
}

.object-debt .current > * {display:block;}

.object-debt .current .number {
  font-size:70px;
  line-height:1;
  font-weight:bold;
  padding-right:20px;
}

.object-debt .current .units {
  font-size:25px;
  font-weight:400;
  line-height:1.1;
}


.object-debt .footer {
  margin:1em 0 0;
  font-size:16px;
  font-weight:400;
  color:#888;
}