﻿/* rt_themes.css
   alternate colour schemes and styles for rt assurance website */
   
.schemelogo {
  margin: 19px 0px 0px 20px; }

/* special ultra top level navigation */

.topNav {
	margin:0 10px 5px 0;
	padding:0;
	position:absolute;
	bottom: 27px; right: 0;
	display:block;
	font-weight:bold;
	font-family:Helvetica,Arial,Verdana,sans-serif;
	list-style-type:none;
	z-index: 1001;
	}

ul.sectors  { 
	position: relative; 
	margin: 0; 
	padding: 0; 
	}
ul.sectors li { 
	position: relative;
	font-weight: bold; 
	float: left; 
	zoom: 1;
	list-style: none;
	display:block;
	margin:0;
	padding:0;
	font-size:1.17em;
	line-height: 1.1em;
	background:url("../img/schemes/rt_schemesnav_border.gif") no-repeat top right; 
	}
ul.sectors li.last {
	background: none;
}
ul.sectors li a  { 
	display: block; 
	padding: 8px 12px 0 10px;
	color:#637388;
	text-decoration:none;
	cursor: hand;
	cursor: pointer;
	}
ul.sectors li a:hover{
	color: #FF0000;
	}
ul.sectors li a.current {
	color: #FF0000;
	background:url("../img/schemes/rt_schemesnav_active.png") no-repeat bottom center; 
	}	
ul.sectors li.first a:link,
ul.sectors li.first a:visited,
ul.sectors li.first a:active {
	border-left:none;
	}
ul.sectors li.last a:link,
ul.sectors li.last a:visited,
ul.sectors li.last a:active {
	border-right:none;
	}
ul.sectors li span {
display: block;
	margin-bottom: 0px;
}
ul.sectors li.current span  {
	padding-bottom: 12px;
	}
ul.sectors li.current span  {
	background:url("../img/schemes/rt_schemesnav_active.png") no-repeat bottom center;
	}

.sIFR-active ul.sectors li a {
	letter-spacing: 1.0em;
	}	


textarea {
    float: none;
}
	
BODY .site_wrapper .secondary_nav li.current li a {
  color: #002b64; }

/* page themes */

.secondary_nav ul li.current li a:hover,
.secondary_nav ul li.current li.current a {
	color:#FF0000; }

/* announcement carousel */

#carouselContainer {
  margin-left: 140px;
  margin-top: -5px;
  width: 320px; height: 88px;
  }
.jcarousel-clip-horizontal { width: 320px; }
.jcarousel-clip-vertical { height: 88px; }

.ebAnnouncementList {
  padding-left: 0; }

#carouselContainer .ebAnnouncement {
  font-size: 9pt;
  line-height: 10pt;
  color: #67788D;
  list-style-type: none;
  margin-left: 0; 
  width: 320px;}
#carouselContainer .ebAnnouncement P {
  margin: 0pc 0pc 0pc 0pc; }

H4 {
  font-weight: bold;
  margin-bottom: 0.5pc; }
H6 {
  font-size: 7pt;
  margin: 0.5pc 0pc; }
  
/* eblock control styles */

UL.ebSectionList 
{
    margin-top: 12px;
    float:left;
}

.ebQuickSearch INPUT.text 
{
  margin: 0px 4px 0px 0px;  
}

.casi_searchForm INPUT, .ebQuickSearch INPUT
{
    float: none;
}

.ebChangePassword P, .ebForgotPassword H4 {
  margin: 0pc 0pc 0.3pc 0pc; }
  
.ebChangePassword INPUT.text {
  width: 150px; }
  
.ebChangePassword INPUT.button {
  width: 150px;
  float:none; 
 }
  
.ebChangePassword {
  padding: 12px;
  margin-bottom: 8px;
  width: 204px;
  float:none;
  background: rgba(214,225,237,.4);
  border: solid 1px rgba(214,225,237,.4);
}
 
.ebRegistration TABLE TABLE .field INPUT.text, .ebContactDetails TABLE TABLE .field INPUT.text {
      width: 70px;
      }
        
.ebContactDetails TABLE TABLE INPUT.select, .ebRegistration TABLE TABLE SELECT.select {
  width: 40Px;
  }

.ebContactForm .field {
  margin-bottom: 0.5pc; }
.ebContactForm .field TEXTAREA, .ebContactForm .field SELECT {
  width: 280px;
  border: 1px solid silver; }
.ebContactForm .field TEXTAREA {
  height: 6pc;
  overflow: auto; }
  
.ebContactForm .error 
{
    color: Red;
    font-weight: bold;
}
      
.ebRegistration, .ebContactForm, .ebEnrollment {
  padding: 20px;
  background: rgba(214,225,237,.4);
  border: solid 1px rgba(214,225,237,.4);
 }
 
.ebRegistration H3, .ebContactForm H3 {
  margin-top: 8px;
  font-size: 11pt;
  color: #992A2B; }
  
.ebRegistration P, .ebContactForm P {
  margin: 0.5pc 0pc; }

.ebContactForm .title {
  font-weight: bold; 
  margin:0 20px 10px 0;}
.ebContactForm INPUT.text, .ebContactForm TEXTAREA.longtext, .AFS_Industry_RegControl TEXTAREA {
  width: 390px; }
.ebContactForm TEXTAREA.longtext, .AFS_Industry_RegControl TEXTAREA {
  height: 6pc; }
  
.ebLogin INPUT
{
 float: none;    
}

.ebLogin, .ebForgotPassword {
  width: 240px;
  margin-bottom: 1pc; }

.ebLogin P, .ebForgotPassword P {
  margin: 0pc 0pc 12px 0pc;
  }
  
.ebLogin INPUT.text, .ebForgotPassword INPUT.text {
  width: 180px;
  margin-right: 18px;
  }
  
.ebLogin INPUT.button, .ebForgotPassword INPUT.button {
  width: 140px;
  /*height: 20px;*/
  }  
    
.ebRegistration, .ebEnrollment {
  margin: 8px 0px 8px 0px;
  padding: 12px 8px 12px 8px;
  width: 466px; 
  /*background-color: #F7F4D3;*/
 }
  
.ebRegistration DIV.terms, .ebEnrollment DIV.terms 
{
  border: solid 1px silver;
  font-size: 10pt; 
  height: 182px;
  padding: 8px;
  background-color: White;
  overflow: auto; }

.ebRegistration P, .ebEnrollment P, .ebContactDetails P {
  margin: 10px 0 0 0;
  padding: 0;
}

.ebContactDetails P.error, .ebRegistration P.error, .ebEnrollment P.error, .ebLogin P.error, .ebChangePassword P.error, .ebForgotPassword P.error{
  font-weight: bold;
  color: Red; }
  
.ebContactDetails DIV.alertinner, .ebRegistration DIV.alertinner {
  color: Red;
}

.ebRegistration TH, .ebRegistration TD,
.ebEnrollment TH, .ebEnrollment TD,
.ebContactDetails TH, .ebContactDetails TD {
  text-align: left;
  vertical-align: top;
}

.ebRegistration TD.fieldcol, .ebContactDetails TD.fieldcol {
  padding-bottom: 5px;
}
  
.ebRegistration TH, .ebContactDetails TH, .ebEnrollment TH {
  padding-top: 0.25pc;
  padding-right: 1pc; }

.ebRegistration INPUT.text, .ebRegistration TEXTAREA,
.ebContactDetails INPUT.text, .ebContactDetails TEXTAREA,
.ebEnrollment INPUT.text, .ebEnrollment TEXTAREA {
  width: 340px; }
.ebRegistration INPUT.shorttext,
.ebContactDetails INPUT.shorttext {
  width: 108px; }
.ebRegistration TEXTAREA,
.ebContactDetails TEXTAREA {
  height: 3pc; overflow: auto; }
.ebEnrollment TEXTAREA {
  height: 4pc; overflow: auto; 
  width: 454px; }
  
.ebRegistration INPUT.button, .ebContactDetails INPUT.button,
.ebEnrollment INPUT.button  {
  width: 100px; }
  
/* Standard CASI checker styles reproduced from certonline/casi.css */

.casiCertificate {
  overflow: hidden;
  background: URL(/casi/images/bg_cert.gif);
  margin: 8px 8px 8px 0px;
  background-color: #FFFFFF;
  border: 1px solid #9BC7E1;
  padding: 12px;
}

DIV.certificate {
  padding: 8px;
  background: URL(/casi/images/bg_cert.gif);
  border: 1px solid #f0f0f0;
}

Div.certGreen {
  color: green;
  border: solid 1px green;
  /*border: green;*/
}

Div.certOrange {
  color: orange;
  border: solid 1px orange;
}

Div.certRed {
  color: red;
  border: solid 1px red;
}

Div.casiCertificateInner {
  background-repeat: no-repeat;
  background-position: left top;
  padding: 4px 0 2px 52px;
}

Div.casiCertificateInner .casiReportItem {
  padding-bottom: 2px;
}

div.certGreen .casiCertificateInner {
  background-image: url("/casi/controls/certonline/images/cert_valid_48.png");
}

div.certOrange .casiCertificateInner {
  background-image: url("/casi/controls/certonline/images/cert_grace_48.png");
}

div.certRed .casiCertificateInner {
  background-image: url("/casi/controls/certonline/images/cert_notvalid_48.png");
}

DIV.certificate TD.title {
  font-size: 11px;
  vertical-align: middle;
}

.error {
  font-weight: bold;
  color: red;
}

.label {
  font-weight: bold;
}

.full {
  font-weight: bold;
  color: green;
}

.suspended {
  font-weight: bold;
  color: orange;
}

.withdrawn {
  font-weight: bold;
  color: red;
}

.ImageSpacer {
  width: 100%;
  float: none;
  height: 1px;
  padding: 0px 0px 0px 0px;
  margin: 0px 0px 0px 0px;
  clear: both;
}

.enterpriseGrid {
  display: grid;
  grid-template-columns: 50% 50%;
  padding-top: 10px;
  grid-gap: 5px;
}

.enterpriseGrid > span {
  border: 1px solid rgba(0, 0, 0, 0.25);
  padding: 5px;
}

SPAN.casiLabel {
  font-weight: bold;
}

/* Custom CASI Styles */

.casi_searchForm
{
  width: 460px !important;
  padding: 12px;
  background-color: rgba(214,225,237,.4);
  border: solid 1px rgba(214,225,237,.4);
}
.main_content_wide .casi_searchForm
{
  width: auto !important;
}
.casi_searchForm > div.field {
  margin-bottom: 10px;
}
.casi_searchForm .field input.text, .casi_searchForm .field textarea {
  box-sizing: border-box;
  width: 100%;
}

.casi_searchForm-row {
  display: flex;
  flex-direction:row;
}

.casi_searchForm-row > div + div {
  margin-left: 12px;
}

.casi_searchForm-row > div > label {
  display: block;
}

.casi_listing, .listTable {
  width: 100%;
  margin: 1pc 0;
  border-spacing: 0;
}

.casi_listing th, .listTable th {
  padding: 4px;
  border-bottom: solid 1px rgba(111,145,180,.9);
}

.casi_listing td, .listTable td {
  padding: 4px;
  border-bottom: solid 1px rgba(214,225,237,.4);
}

.casi_searchResults 
{
 width: 460px !important;   
}

.supporting_content 
{
 padding: 0 0 8px 32px;    
}

.schemeList 
{
    width: 420px;
    margin-top: 18px;
}

.schemeList input, .schemeList label
{
    float: none; 
}

.casi_directory 
{
  width: 640px;
  float: left;   
}

.memberLink, .industryLink 
{
  margin: 12px 12px 12px 0px;
  
}

.datalist TD {
  padding: 6px 9px 6px 0;
  border: none;
  border-top: 1px solid #ccc;
}

.datalist th {
  text-align: left;
}


.site_wrapper label {
  float: none;
}
 
.site_wrapper textarea { 
 float:none;
}

.captioninner {
  font-style: italic;
}
.casiCertifierContactGrid input
{
  width: 100px;  
  border: 1px solid silver; 
  float:none;
}


/* field grid */
.fieldgrid {
  margin: 1pc 0;
  padding: 12px;
  background-color: rgba(214,225,237,.4);
  border: solid 1px rgba(214,225,237,.4);
}
h2 + .fieldgrid, h3 + .fieldgrid {
  margin-top: 0;
}

.fieldgrid .ebFieldPanel + .ebFieldPanel,
.fieldgrid .ebFieldPanel + div.field,
div.fieldgrid > div.field + div.field {
  margin-top: 12px;
}

table.fieldgrid tr:not(:first-child) .fieldcol, table.fieldgrid tr:not(:first-child) .titlecol {
  padding-top: 12px
}
table.fieldgrid tr:first-child h4 {
  padding-top: 0;
}

.ebFieldPanel .title {
  font-weight: bold;
}
table.fieldgrid td, table.fieldgrid th {
  vertical-align: top;
}

.ebFieldPanel .required, .titlecol .required {
  padding-left: 2px;
  color: red;
}

.ebFieldPanel .caption, .fieldcol .caption,
div.fieldgrid > div.field .caption {
  padding-top: 4px;
  font-size: 0.9em;
  line-height: 1.3em;
}

.ebFieldPanel .alert, .fieldcol .alert {
  color: red;
}

.ebFieldPanel input.text, .ebFieldPanel input[type="text"], .fieldcol input.text, .fieldcol input[type="text"], .ebDialog input.text,
.ebFieldPanel textarea, .fieldcol textarea, .ebDialog textarea,
.ebFieldPanel select, .fieldcol select, .ebDialog select,
.ebFieldPanel .readonly, .fieldcol .readonly, .ebDialog .readonly {
  width: 100%;
  font-size: 1em;
}

.ebFieldPanel .readonly, .fieldcol .readonly, .ebDialog .readonly {
  border: solid 1px silver;
  padding: 4px 6px;
}

.ebFieldPanel textarea, .fieldcol textarea, .ebDialog textarea {
  height: 6pc;
}

/* title / forename / surname special styles */
.ebRegistration TABLE, .ebContactDetails TABLE {
  border-collapse: collapse;
  border-spacing: 0;
}
.ebRegistration TD TD, .ebContactDetails TD TD {
  padding-right: 5px;
}

.ebRegistration TABLE TABLE .title, .ebContactDetails TABLE TABLE .title { 
    width: auto; }
.ebRegistration TABLE TABLE SELECT.select, .ebContactDetails TABLE TABLE SELECT.select {
    width: 56px; }
.ebRegistration TABLE TABLE .field INPUT.text, .ebContactDetails TABLE TABLE .field INPUT.text {
    width: 104px; }
    
/* Override strandard label width for registeration and contact detials. */
     .site_wrapper .ebRegistration .titlecol label, .site_wrapper .ebContactDetails .titlecol label{
	width:100px;
	}
	
  .site_wrapper .ebRegistration .titleinner label, .site_wrapper .ebContactDetails .titleinner label {
	width:auto;
	margin:0 20px 10px 0;
	}
	
.site_wrapper .ebRegistration .fieldcol TABLE input.text, .site_wrapper .ebContactDetails .fieldcol TABLE input.text   {
	margin:0 0px 10px 0;
	}
	
/* css for industry registration control */
.AFS_Industry_RegControl_Step1_List label
{
  padding-left: 4px;
}
.AFS_Industry_RegControl_Step1_List
{
  padding-top: 4px;
}
.AFS_Industry_RegControl_Step1_List td
{
  padding-bottom: 10px;
}
.AFS_Industry_RegControl p
{
  height: 100%;
}
.AFS_Industry_RegControl_Step1_List input
{
float:none;
width:auto;
border:none;
}

.AFS_Industry_RegControl_Step1, .AFS_SchemeMember_RegControl_Step1, .ebContactDetails, .casiCertifierContactForm, .checkerreportcontrol
{
  margin:8px 0;
  padding:12px;
  background: rgba(214,225,237,.4);
  border: solid 1px rgba(214,225,237,.4);
}

/* END: css for industry registration control */

.AFS_SchemeMember_RegControl_Step1 td
{
  padding:4px;
}

.AFS_SchemeMember_RegControl_Step1 input 
{
  vertical-align:middle;
 }
 
 .SelfAssessment, .PostAuditQuestionnaire
 {
  float:left;
  border-bottom:1px solid #D50202;
  border-top:1px solid #D50202;
  font-size:8pt;
  margin:8px 0;
  padding:12px 8px;
  width:600px;
  background-color:#F3F4F8;
  border:1px solid #D50202;
  padding-left:12px;
  
 }
 
 .SelfAssessment td
 { 
  text-align:left;
 }

.SelfAssessment h2 
{
  float:left;
  width:600px;
  text-align:left;
  
}
.PostAuditQuestionnaire
{
  width:600px;
}

.PostAuditQuestionnaire select, .checkerreportcontrol select
{
  border:1px solid #A1A9BF;
  margin:0 20px 10px 0;  
}

.checkerreportcontrol select
{
  width:264px;
}
.checkerreportcontrol input[type="submit"]
{
  width: auto;
}

.holder textarea, .holder text {
  font-family:Helvetica,Arial,Verdana,sans-serif;
  font-size:13.3333px
}
.holder textarea
{
  width: 329px;
}

.worldpaylink 
{
    margin-top: 8px;
    margin-right: 8px;
    float: right;
    font-size: 14px;
    font-weight: bold;
    color: Red;
}

.ebSearchResultsList, .ebSearchList UL
{
    clear:both;
}
.ebSectionList 
{
    margin-bottom: 0px;
    height:auto;
}

.ebDocumentList 
{
  clear:both;
}

.casi_navBox a[disabled], .casi_navBox a:hover[disabled] {
  background-color: white;
  padding: 0 29px;
  color: rgba(111,145,180,.7);
  border: solid 1px rgba(111,145,180,.7);
  text-decoration: none;
}

.casi_navBox A:hover {
  background-color: rgba(111,145,180,.9);
  color: #fff;
}

.casi_navBox A {
  float: none;
  background-color: rgba(111,145,180,.7);
  display: inline-block;
  height: 50px;
  line-height: 50px;
  padding: 0 30px;
  font-family: 'Source Sans Pro',sans-serif;
  color: #fff;
  font-weight: 300;
  -moz-transition: background-color ease 200ms;
  -o-transition: background-color ease 200ms;
  -webkit-transition: background-color ease 200ms;
  transition: background-color ease 200ms;
  width: 100%;
  background-position: 17px center;
  background-repeat: no-repeat;
  background-size: 16px;
}
  .casi_navBox a.completed {
    background-image: url(../img/tick_plain.svg);
    background-position-x: 10px;
  }
  .casi_navBox a.selected {
    background-color: rgba(111,145,180,1) !important;
  }

.casi_navBox {
    width: 100%;
}


.casi_alertBox {
    float: none;
    background-color: red;
    display: inline-block;
    height: 50px;
    line-height: 50px;
    padding: 0 40px;
    font-size: 17px;
    font-family: 'Source Sans Pro',sans-serif;
    color: #fff;
    font-weight: 300;
    width: 100%;
    -moz-transition: background-color ease 200ms;
    -o-transition: background-color ease 200ms;
    -webkit-transition: background-color ease 200ms;
    transition: background-color ease 200ms;
    text-align: center;
}

.casi_confirmBox, .casi_warningBox, .casi_downloadBox, .alertbox {
  padding: 20px 20px 20px 50px;
  background-position: 14px center;
  background-repeat: no-repeat;
  background-size: 24px;
  margin: 1pc 0;
}
.casi_confirmBox {
  background-color: rgba(214,225,237,.4);
  background-image: url(../img/tick_circle.svg);
}
.casi_warningBox, .alertbox {
  background-color: rgba(255, 224, 224, 0.40);
  background-image: url(../img/warn_circle.svg);
}
.casi_downloadBox {
  background-color: rgba(214,225,237,.4);
  background-image: url(../img/download_circle.svg);
}

.alertbox > p:first-child {
  margin-top: 0;
}
.alertbox > p:last-child {
  padding: 0;
  margin-bottom: 0;
}

  .historic {
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAALklEQVQYV2M8c+bMfxMTE0YGAgBDAS6NBE2CaYQrJOQEnCaia2QkZBLMj0PBMwBLwSgLVoF9tAAAAABJRU5ErkJggg==) repeat;
    padding: 6px;
    border-radius: 6px 6px 6px 6px;
  }

.casi_searchTable INPUT[type=button] {
    width: 100%;
}
.casi_searchForm .schemeList INPUT {
height: auto;
}
.casi_searchForm INPUT, .casi_searchForm SELECT {
    height: 30px;
}
.casi_searchTable {width: 100%}
.casi_searchTable .Tdfldhistoricdate {width: 100%}

/* embedded dashboard styles */

.casi_dashboard {
  display: grid;
  grid-column-gap: 6px;
  grid-row-gap: 6px;
  margin: 1pc 0;
}

.casi_dashboard > * {
  padding: 12px;
  border: solid 1px rgba(214,225,237,.4);
}

.casi_dashboard header {
  margin-bottom: 6px;
  font-weight: normal;
}

.casi_dashboardCount > .count {
  font-family: Raleway, sans-serif;
  font-size: 50px;
  font-weight: normal;
}

/* licensee styles */
.radiolist td {
  padding-bottom: 4px;
}

.radiolist label {
  margin-left: 4px;
}

.AFS_termsBlock {
  margin: 1pc 0;
  border: solid 1px rgba(214,225,237,.8);
  padding: 24px;
}

/* terms formatting */

  .terms > H1 {
    font-size: 21px;
  }

  .terms DL {
    margin: 1pc 0;
  }

    .terms DL DT {
      float: left;
    }

    .terms DL DD {
      margin: 1pc 0 1pc 3pc
    }

      .terms DL DT.termsSectionHeading, .terms DL DD.termsSectionHeading {
        font-size: 12pt;
        font-weight: bold;
      }

    .terms DL DT.termsSectionHeading {
      margin-top: 1pc;
    }

      .terms DL DT.termsSectionHeading:first-child {
        margin-top: 0pc;
      }

    .terms DL DD.termsSectionHeading {
      margin-top: 2pc;
      margin-bottom: 1.25pc;
    }

    .terms DL DT.termsSectionSubheading, .terms DL DD.termsSectionSubheading {
      font-weight: bold;
    }

  .terms BLOCKQUOTE {
    margin: 0 0 0 3pc;
  }

  .terms DL DD TABLE.termsDefinitions {
    border: none;
    border-spacing: 0;
  }

    .terms DL DD TABLE.termsDefinitions TH {
      font-weight: bold;
      text-align: left;
      vertical-align: top;
      white-space: nowrap;
      padding-right: 1pc;
    }

    .terms DL DD TABLE.termsDefinitions TD {
      vertical-align: top;
      padding-bottom: 0.5pc;
    }

  .terms DL OL {
    margin: 1pc 0;
    padding-left: 2.75pc;
  }

  .terms DL LI {
    margin: 1pc 0;
    padding-left: 0.25pc;
  }


/*Terms and conditions classes for registration*/

.ebRegistration.ebWide, .ebEnrollment.ebWide {
  width: auto;
}

  .ebRegistration.ebWide DIV.terms, .ebEnrollment.ebWide DIV.terms {
    height: 364px;
  }

  .ebRegistration.ebWide .terms OL, .ebEnrollment.ebWide .terms OL,
  .ebRegistration.ebWide .terms UL, .ebEnrollment.ebWide .terms UL {
    padding-left: 30px;
  }

  .ebRegistration.ebWide .terms LI, .ebEnrollment.ebWide .terms LI {
    padding-left: 5px;
  }

/* wizard bar for supply chain registration */

ul.wizardbar {
  display: flex;
  margin-bottom: 1pc;
  padding: 0;
}

ul.wizardbar li {
  position: relative;
  top: 0;
  margin: 0;
  padding: 0 1.5pc 0 0;
  list-style: none;
}
ul.wizardbar li.active {
  color: red;
}
ul.wizardbar li:after {
  display: table-cell;
  position: absolute;
  right: 0;
  top: 0;
  width: 1.5pc;
  height: 1pc;
  content: "»";
  text-align: center;
  color: #002B64;
}

ul.wizardbar li:last-child {
  margin-right: 0;
}
ul.wizardbar li:last-child:after {
  content: none;
}

/* Slideout styles */

.ebSlideout-Outer {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  background-color: white;
  box-shadow: rgba(0,0,0,0.25) 0 0 4px;
}

.ebSlideout-Outer.panelAlignedRight {
  border-left: solid 1px #ccc;
}

.ebSlideout-Outer > .ebSlideout-Header,
.ebSlideout-Outer > .ebSlideout-Footer {
  flex: 0 0 auto;
}

.ebSlideout-Outer > .ebSlideout-Inner {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.ebSlideout-Inner {
  font-size: 1.2em;
}

.ebSlideout-Inner > div {
  flex: 1 1 auto;
  padding: 10px 20px;
  border-top: solid 1px #eee;
}

.ebSlideout-Inner > div.fixed,
.ebSlideout-Inner > div.ebSlideout-Header,
.ebSlideout-Inner > div.ebSlideout-Buttons {
  flex: 0 0 auto;
}

.ebSlideout-Outer > .ebSlideout-Header,
.ebSlideout-Inner > div.ebSlideout-Header {
  height: 56px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  border-bottom: solid 2px #eee;
}

.ebSlideout-Inner > div.ebSlideout-Header + div {
  border-top: none;
}

.ebSlideout-Outer > .ebSlideout-Footer {
  padding: 0 20px;
  border-top: solid 1px #eee;
}

.ebSlideout-Inner > div.padded,
.ebSlideout-Inner > div.ebSlideout-Buttons {
  padding: 20px 20px;
}

.ebSlideout-Inner div.fill-centered {
  margin: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.ebSlideout-Header H2 {
  margin: 0;
  padding: 0;
  border: none;
}

.ebSlideout-Inner > div > :first-child {
  margin-top: 0;
}

.ebSlideout-Inner > div > :last-child {
  margin-bottom: 0;
}

.ebSlideout-Outer > .ebSlideout-Buttons {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 12px;
  padding-bottom: 12px;
}

.panelLoaderOverlay {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-image: url(../img/icn_panel_loader.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 200px 200px;
}

/* Dialog styles */

dialog {
  /*position: relative;*/
  display: flex;
  flex-direction: column;
  margin: revert;
  max-width: 400px;
  padding: 18px;
  visibility: hidden;
  background-color: white;
  border: none;
  box-shadow: rgba(0,0,0,0.1) 0px 9px 27px;
  font-size: 1.2em;
}

dialog[open] {
  visibility: visible;
  animation: dialog-open 0.3s ease-in;
}

dialog[open]::backdrop {
  animation: dialog-backdrop 0.3s;
}

@keyframes dialog-open {
  from {
    top: 60px;
    opacity: 0;
  }

  to {
    top: 0;
    opacity: 1;
  }
}

@keyframes dialog-backdrop {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.ebDialogMessage::after {
  content: "";
  background-color: #003eaa;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
}
.ebDialogMessage.ebDialogMessageError:after {
  background-color: red;
}

.ebDialog > header {
  margin: 3px 0 0 0;
  padding-bottom: 9px;
  border-bottom: solid 1px #e8e8e8;
}

.ebDialogMessage {
  margin: 12px 0;
  white-space: pre-line;
}

.ebDialogButtons {
  margin-top: 15px;
  display: flex;
  align-items: stretch;
}

.ebDialogButtons > button + button {
  margin-left: 5px;
}

.ebDialog > footer {
  margin-top: 15px;
  border-top: solid 1px #e8e8e8;
}