<%--
 Copyright (c) 2021 Lynxwork
--%>

/* Sticky footer
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}


body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

.provider-container iframe {
    /*make it look like part of the page*/
    border-style: none;
    border-width: 0px;
}


#delegatedUI {
  /*width: 523px;*/ /*trying to use native bootstrap classes for sizing*/
  height: 320px; /*this is selection; creation has 480px*/
}

iframe#delegatedUI {
    /*make the iframe stand out*/
    border-style: inset;
    border-width: 1px;
    width: inherit;
    width: -webkit-fill-available; /*needed until the panel/card is fixed*/
}

.footer {
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 60px;
  background-color: #f5f5f5;
  background-color: white;
}


/* Custom adaptor CSS
-------------------------------------------------- */


body > .container {
  padding-top: 20px;
  padding-bottom: 10px;
}

body > .provider-container > .provider-container-body {
  padding-top: 20px;
  padding-bottom: 10px;
  display: flex;
  /* flex-direction: row; */
  align-items: flex-start;

}

.page-header {
  text-align: center;
}

.footer {
  padding-right: 15px;
  padding-left: 15px;
}

.footer p {
  margin: 20px 0;
}

code {
  font-size: 80%;
}

/* 45/11em are the dialog sizes plus bootstrap margins */
.popover {
  max-width: calc(45em + 30px);
  max-height: calc(11em + 50px);
}


/* Honey changes */

html {
  min-width: 100%;
}

body {
  width: 100%;
  background-image: linear-gradient(#f7fbff, #f1f4f7,#f7fbff);
}

body > main {
  padding-top: 30px;
  padding-bottom: 50px;
}

.text-sm {
  font-size: 12px;
}

.section {
  margin: 8px auto;
  padding:8px;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  background-color: #f2f2f2;

}

.section > p {
  font-size: 12px;
  margin:none;
  padding:none;
}

.section > p > a {
  font-size: 12px;
  text-decoration: none;
  color:#0044cc
}

/* FIXME: This style override was global and affects all cards. Add .honey or similar to the dialogs */

.honey .card {
  background-color: white;
  flex-direction: row;
  align-items: flex-start;
  margin:8px;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  justify-content: space-between;
}

.honey .card-body {
  background-color: white;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  margin: 12px;
}

.honey .card-body > p > a {
  font-size: 12px;
  text-decoration: none;
  color:#0044cc
}

.callout {
  border-left: #ccc 4px solid;
  padding: 10px 10px;
  background-color: #efefef;
}
