/**
 * Note: this file is copied from modules/mod-enterprise/files by ant
 * 
 * DO NOT make changes in this file in modules/SignServer-Admin-web
 */
/*
#top {
    position: relative;
    
    color: black;
    background-color: #390c72;
    
    padding: 0px;
    margin: 0px 0px 0px 0px;
}

#top-left {
    background: #390c72;
    float: left;
    padding-top: 10px;
    padding-left: 15px;
    padding-bottom: 15px;
    margin-right: 10px;
}

#top-left-product-version {
    color: white;
    font-family: "ProximaNova", "Roboto", sans-serif;
    text-transform: capitalize;
    font-size: 1.25rem;
    padding-top: 0.5rem;
}

*/
.SS_infoList {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.SS_infoItem {
    display: flex;
    flex-wrap: nowrap;
    font-family: "ProximaNova", "Roboto", sans-serif;
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 400; /** Regular **/
    color: #EBEBF2;
}

@media (min-width: 768px) {
    .SS_infoList {
    margin-left: 0px;
    margin-right: 0px;
    }
}

.SS_infoItem > label {
    text-transform: capitalize;
}

.SS_infoItem > div {
    margin-left: 0.125rem;
    margin-right: 0.125rem;
}

/* Header */

.kfds-header-container {
  margin-left: auto;
  margin-right: auto;
  display: flex;
  min-height: 4rem;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
  justify-content: space-between;
  background-color: #390c72;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .kfds-header-container {
    min-height: 6rem;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.kfds-header-left {
    display: grid;
    min-width: -webkit-max-content;
    min-width: max-content;
    flex: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.25rem;
  }


.kfds-header-brand {
  display: flex;
  width: 10rem;
  flex-direction: column;
}

@media (min-width: 768px) {
  .kfds-header-brand {
    width: 25rem;
  }
}

.kfds-header-logo {
  width: 10rem;
  padding: 0.5rem;
}

@media (min-width: 768px) {
  .kfds-header-logo {
    width: 24rem;
  }
}

.kfds-header-logo > a {
  cursor: pointer;
}

.kfds-header-logo > a > img {
  width: 100%;
}

.kfds-header-product {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  font-family: "ProximaNova", "Roboto", sans-serif;
  color: #ebebf2;
}

.kfds-header-product-name {
  display: inline-block;
  vertical-align: baseline;
  font-size: 1.25rem;
  line-height: 1.75rem;
  text-transform: capitalize;
}

@media (min-width: 768px) {
  .kfds-header-product-name {
    font-size: 1.5rem;
    line-height: 2rem;
  }
}

.kfds-header-product-version {
  margin-left: 0px;
  margin-right: 0px;
  display: inline-block;
  vertical-align: baseline;
  font-size: 0.75rem;
  line-height: 1rem;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .kfds-header-product-version {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
  }
}

.kfds-header-right {
  display: flex;
  flex: 1 1 0%;
  align-content: center;
  align-items: center;
  justify-content: flex-end;
}
/*
#top-right {
    background: #390c72;
    float: right;
    padding-top: 10px;
    padding-right: 15px;
    padding-bottom: 5px;
    padding-left: 20px;
    color: white;
    font-size: xx-small;
}

#top-right td {
    padding-top: 2px;
}

.top-right-c1 {
    font-weight: bold;
}

.top-right-c2 {
    font-style: italic;
}
*/
#top-mid {
    margin: 10px;
    font-size: x-large;
    padding-top: 25px;
}

/*#top-user {
    text-align: right;
}*/

#top-menu {
    margin-left: 0px;
    background-color: #F0F1F6;
    padding: 0px;
    /*border-radius: 3px; */ /* Makes the menu edges rounded */
}

#top-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

#top-menu li {
    float: left;
}

#top-menu li.last {
    float:right;
}

#top-menu li a {
    display: block;
    text-decoration: none;
    padding: 10px 15px;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
}

#top-menu li a:hover {
    background-color: rgba(57, 12, 114, 0.15);
}

li a.active {
    background-image: url(../images/selected-menu.png.xhtml?ln=enterprise);
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: 10px;
    color: red;
    background-color: rgba(57, 12, 114, 0.15);
}

#worker-menu, #cert-menu {
    /*float: left;*/
    /*width: 12em;*/
    margin-left: 0px;
    /*background-color: gray;*/
    margin-top: 10px;
    margin-bottom: 10px;
    border-radius: 3px;
    background-color: #F0F1F6;
}

#worker-menu ul, #cert-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

#worker-menu li, #cert-menu li {
    float: left;
}

#worker-menu li.last {
    float:right;
}

#worker-menu li a, #cert-menu li a {
    /*color: white;*/
    color: #390c72;
    display: block;
    text-decoration: none;
    padding: 10px 15px;
    /*width: 12em;*/
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
    font-weight: 400;
}

#worker-menu li a:hover, #cert-menu li a:hover {
    background-color: rgba(57, 12, 114, 0.15);
}

input[type="file"] {
    background-color: #FFFFFF;
    border: none;
    border-radius: 4px;
    /*color: black;*/
    color: #3C3C3C;
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    /*font-size: 10px;*/
    margin: 2px;

    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
}
/* 
input[type="file"]:hover {
    background-color: black;
    color: white;
} */

input, textarea {
    background-color: #FFFFFF;
    border-color: #F0F1F6;
    opacity: 1;
    cursor: text;
  }

input:focus, textarea:focus {
    outline: none;
    border-color: #390C72;
}

input:disabled, textarea:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

select {
    background-color: #FFFFFF;
    border-style: solid;
    border-width: 1px;
    border-color: #F0F1F6;
    color:  #3C3C3C;
    opacity: 1;
    cursor: pointer;
}

select:focus {
    outline: none;
    border-color: #390C72;
}

select:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.buttonNeutral {
    /*background-color: lightgray;*/
    /*border: none;*/
    border-radius: 4px;
    /*color: black;*/
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    /*font-size: 10px;*/
    margin: 2px;

    text-transform: uppercase;
    opacity: 1;
    cursor: pointer;
    border-style: solid;
    border-width: 1px;
    background-color: #FFFFFF;
    border-color: #390C72; 
    color: #390C72;


    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
}
.buttonNeutral:hover, .buttonFeatured:hover,
.buttonPositive:hover, .buttonNegative:hover {
    background-color: #06003F;
    border-color: #06003F;
    color: #FFFFFF;
}
.buttonNeutral:disabled, .buttonFeatured:disabled,
.buttonNegative:disabled, .buttonPositive:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.buttonFeatured {
    /*background-color: #3c1471;*/
    /*border: none;*/
    border-radius: 4px;
    /*color: white;*/
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    /*font-size: 10px;*/
    margin: 2px;

    text-transform: uppercase;
    opacity: 1;
    cursor: pointer;
    border-style: solid;
    border-width: 1px;
    background-color: #390C72;
    border-color: #390C72; 
    color: #FFFFFF;


    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
}

.buttonPositive {
    /* background-color: #53983C; */
    /* border: none; */
    border-radius: 4px;
    /* color: white; */
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    /* font-size: 10px; */
    margin: 2px;

    text-transform: uppercase;
    opacity: 1;
    cursor: pointer;
    border-style: solid;
    border-width: 1px;
    background-color: #00B400;
    border-color: #00B400;
    color: #FFFFFF;

    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
}

.buttonNegative {
    /*background-color: #E73D35;*/
    /* border: none; */
    border-radius: 4px;
    /* color: white; */
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    /* font-size: 10px; */
    margin: 2px;

    text-transform: uppercase;
    opacity: 1;
    cursor: pointer;
    border-style: solid;
    border-width: 1px;
    background-color: #FF0034;
    border-color: #FF0034;
    color: #FFFFFF;

    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
}

.linkPositive, a:link.linkPositive, a:visited.linkPositive {
    color: #00B400;
    text-transform: capitalize;
    text-decoration: none;
    opacity: 1;
    cursor: pointer;
}

a:link:hover.linkPositive, a:link:hover.linkNegative:hover {
    text-decoration: underline;
}

.linkNegative, a:link.linkNegative, a:visited.linkNegative, a:visited:hover.linkNegative {
    color: #FF0034;
    text-transform: capitalize;
    text-decoration: none;
    opacity: 1;
    cursor: pointer;
}


#header {
    /*background-color: #ece3a5;*/
    /*background-color: #dddddd; */
    margin: 0px;
    padding: 0px;
}

#bottom {
    position: relative;
    /*background-color: #ece3a5;*/
    padding: 5px;
    margin: 10px 0px 0px 0px;
}

#left {
    float: left;
    background-color: #ece3a5;
    padding: 5px;
    width: 150px;
}

#right {
    float: right;
    background-color: #ece3a5;
    padding: 5px;
    width: 150px;
}

.center_content {
    position: relative;
    background-color: #dddddd;
    padding: 5px;
}

.left_content {
    background-color: #dddddd;
    padding: 5px;
    margin-left: 170px;
}

.full_content {
    margin: 10px;
    
}

.right_content {
    /*background-color: #dddddd;*/
    padding: 5px;
    margin: 0px 170px 0px 170px;
}

#top a:link, #top a:visited {
    color: #390c72;
    font-size: 1rem;
    line-height: 1.5rem;
    text-transform: capitalize;
    font-weight: 400;
}



#top a:link:hover, #top a:visited:hover  {
  /*color: black;*/
  /*font-weight : bold;*/
  /*text-decoration : underline;*/
}

#top-right a:link, #top-right a:visited {
    color: black;
}

#worker-actions {
    margin-left: 10px;
    margin-right: 10px;
}

#worker_content {
    margin: 10px;
}

table.dss1 {
    border-collapse: collapse;
    border: 1px solid #F0F1F6;
    margin: 5px;
}

thead.dss1, th.dss1, tfoot.dss1 {
    background-color: #F0F1F6;
    padding: 5px;
    font-weight: 400;
    text-transform: uppercase;
}

td.dss1 {
    border: 1px solid #F0F1F6;
}

td.viewAuthRuleType {
    border-left: thin solid darkgray;
    border-right: 0px;
}

td.viewAuthRuleValue {
    border-left: 0px;
    border-right: thin solid darkgray;
}


tr.dss1 {
    border: 1px solid #F0F1F6;
    background-color: #FFFFFF
}

tr.dss1_odd {
    border: 1px solid #F0F1F6;
    background-color: #FFFFFF
}

.notable {
    border: none;
    background: none;
}

.errorMessage {
    color: #FF0034;
}
.successMessage {
    color: green;
}
.warningMessage {
    color: orange;
}

.dimmedLabel {
    color: #888888;
}

.fileInputContainer {
    display: inline-block;
}
.fileInputTextarea {
    line-height: 100%;
}

.alertArea {
    background-color: yellow;
}

.alertBox {
    border: thin solid #B35E5E; 
    background-color: #E5CFCF;
    float:left; 
    padding: 0.5em; 
    border-radius: 4px; 
    -webkit-border-radius: 4px;
}

.topOutsideLink {
    color: black;
}
.clearBoth {
    clear: both;
}

.bottomText {
    text-align: center;
    width:100%;
    background-color: #D1D1D4;
}

.workerImage1 {
    height: 1em;
    padding-right: 0.25em;
}
.workerImage2 {
    height: 1em;
    margin-right: 0.25em;
}

.propertiesInputTextarea {
    width: 100%;
}

.centered {
    text-align: center;
}

.jsHidden {
    display: none;
}

.jsEnabled .jsHidden {
    display: initial;
}

.titleCell {
    font-weight: bold;
}

/** List/Add/Edit Worker Authorizations. */

.optionalArea {
    float: left;
    border: lightgray groove thin;
    border-radius: 1em;
    margin-bottom: 1em;
    padding: 1em;
}
.postOptionalArea {
    float: none;
    clear: both;
}

#editAuthRule {
    margin-bottom: 1em;
}

.editAuthRule {
    width: 100%;
    margin-bottom: 0.5em;
}

.importAuthRuleFromCert {
    float: left;
    border: lightgray groove thin;
    border-radius: 1em;
}

.viewAuthRuleCell{
    margin: 0.5em;
    padding: 0.5em;    
}

.selectedAuthType {
    font-weight: bold;
    background-color: #3c1471;
    color: white
}

.authTypeCell {
    height: 30px;
    border-bottom: thin solid black;
    margin: 0px 0px 0px 0px;
    padding: 0.5em;
}

.disabledAuthType {
    opacity: 0.5;
}

.authFieldsTable {    
    border-top: black solid thin;
    border-right: black solid thin;
    border-left: black solid thin;

}

.authFieldSelectedMark {
    text-align: center;
    font-size: larger;
}

.removeAuthType{
    margin-right: 0.5em;
    margin-left: 0.5em;
}

.loginBox {
    border: 1px solid lightgrey;
    display: flex;
    flex-direction: column;
    width: 50%;
    margin: 3rem auto;
    border-radius: 5px;
    padding: 1rem 1.75rem 2rem 1.75rem;
    gap: 1rem;
    box-shadow: 2px 2px 3px -2px grey;
}

.logoutBox {
    border: 1px solid lightgrey;
    flex-direction: column;
    width: 50%;
    margin: 3rem auto;
    border-radius: 5px;
    padding: 1rem 1.75rem 2rem 1.75rem;
    gap: 1rem;
    box-shadow: 2px 2px 3px -2px grey;
}

.loginAlternativeBox {
    border: thin solid #d3d3d3;
    display: inline-block;
    padding: 1.25rem;
    border-radius: 5px;
    box-shadow: 2px 2px 4px -1px grey;
}

.loginAlternativeBox_header {
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.loginAlternativeBox_content {
    margin-left: 2.813rem;
}

.logoutLink {
    background: white;
}
