/* $Id: admin.css 58815 2024-06-11 07:09:11Z anders $ */
/* @group main */
html, body {
    height: 100%;
}

body {
    /*background-color:#ffffff;*/
    background-color: var(--gray-50);
    padding:0;
    margin:0;
    font-family: Arial,Helvetica,sans-serif;
    /*background-image: url(../images/transparent.gif);*/
}
img {
    border: none;
}
h1 {
    /*background-color: #ffffff;
    color: #333333;*/
    /*margin: 3px;*/
    /*border-bottom: 1px dotted #333333;*/
    /*font-size: 32px;*/
}
form, fieldset, legend {
    border: 0;
    padding: 0;
    margin: 0;
}
/* @end */



/* @group header */
#cpbgtop {
    border-top: 1px solid #70c80f;
    background-color: #121212;
    color: #ffffff;
    position: relative;
    padding: 6px 6px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: space-between;
}
#cpbgtop .logoAndVersion {
    display: flex;
    flex-direction: row;
}

#cpbgtop .adminHeaderRight {
    vertical-align: middle;
    white-space: nowrap;
    display: flex;
    align-items: baseline;
    justify-self: end;
}
#cpbgtop .adminHeaderRight > span {
    /*border-right: 1px #ffffff solid;*/
    margin: 0 0 0 10px;
    display: block;
}

#cpbgtop .adminHeaderRight > span a {
    background: rgba(255, 255, 255, 0.08);
    padding: 8px;
    border-radius: 3px;
    align-items: center;
    display: flex;
    gap: 6px;
}

#cpbgtop .adminHeaderRight > span a:hover {
    background: rgba(255, 255, 255, 0.25);
    background: rgba(34, 118, 252, 0.7);
    /*background: rgb(133 221 78 / 80%);*/
    padding: 8px;
}

#cpbgtop .adminHeaderRight > span:last-child > a:hover {
    background: rgba(205, 10, 10, 0.8);
    padding: 8px;
    color: white;
}

#cpbgtop .adminHeaderRight > span > a > img {
    padding-right: 8px;
}

#cpbgtop .adminHeaderRight a * {
    vertical-align: text-bottom;
}

#cpbgtop .logo {
    height: 24px;
    margin: 4px;
    margin-left: 10px;
    vertical-align: middle;
}

#cpbgtop span {
    font-size: 14px;
    line-height: 1;
}

#cpbgtop span a {
    font-size: 14px;
    line-height: 1;
    color: #ffffff;
    text-decoration: none;
}

#cpbgtop span.ver {
    vertical-align: top;
    font-size: 12px;
    line-height: 16px;
}

#cpbgtop .infotop {
    margin-left: 20px;
}
#cpbgmenu {
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.05);
}

#cpbgmenu ul {
    background-color: #f4f4f4;
    border-bottom: 1px solid #333333;
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
#cpbgmenu ul li {
    display:inline-block;
    color: #333333;
    font-size: 14px;
    padding:0;
    margin:0;
}
#cpbgmenu ul li:hover,
#cpbgmenu ul li a:hover {
    background-color: #70c80f;
    color: white;
}

#cpbgmenu .adminmenuitemSelected {
    background-color: #bcdb01;
}
#cpbgmenu a {
display:inline-block;
padding:5px 13px 5px 5px;
text-decoration: none;
color: #000000;
    position:relative;/*Added by Alf to position badge number*/
}
#cpbgmenu span {
 vertical-align: middle;
 display:inline-block;
}
#cpbgmenu .adminmenuicon {
 width: 16px;
 height: 16px;
 margin-right:3px;
}
#cpbgmenu .badgeSMS {
   /* background-color: #990000;*/
    background-color: #c71c22;/*like danger bootstrap color/*
   /* border: 2px solid #ffffff;*/
    border-radius: 10px;
    color: #ffffff;
    /*height: 18px;*/
    font-size:12px;
    font-weight: 700;
    line-height: 1;
    min-width: 6px;
    padding: 3px 7px;
    text-align: center;
    vertical-align: center;
    white-space: nowrap;
    left: 120px;
    opacity: 0.8;
    position: absolute;
    top: -4px;
}
/* @end */

/* Cpbgtop buttons for dark or light mode */
.themePickerHabanaAdmin__button {
    display: inline-block;
    border: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
    color: white;
    /*same as other spans in adminHeaderRight*/
    background: rgba(255, 255, 255, 0.08);
    padding: 6.5px;
    border-radius: 3px;
    align-items: center;
}

.themePickerHabanaAdmin__button:hover {
    cursor: pointer;
    /*same as other spans in adminHeaderRight*/
    background: rgba(34, 118, 252, 0.7);
}
/* end */



/* @Message type styles */
.moavaMessage {
    margin: 5px;
    padding: 5px;
    background-repeat: no-repeat;
    background-position: 5px 5px;
    padding-left: 74px;
    min-height: 64px;
    position: relative;
}
.moavaMessageHeading {
    font-weight: bold;
    font-size: 150%;
}
.moavaMessage1 {
    border: 3px ridge lightgreen;
    background-color: lightgreen;
    background-image: url("../icons/open/64x64/status/dialog-clean.png");
}
.moavaMessage2 {
    border: 3px ridge lightblue;
    background-color: lightblue;
    background-image: url("../icons/open/64x64/status/dialog-information-3.png");
}
.moavaMessage3 {
    border: 3px ridge lightyellow;
    background-color: lightyellow;
    background-image: url("../icons/open/64x64/status/dialog-warning-3.png");
}
.moavaMessage4 {
    border: 3px ridge salmon;
    background-color: salmon;
    background-image: url("../icons/open/64x64/status/dialog-error-3.png");
}
/* @end */


div.extraEditBox {
    border: 1px dashed #aaaaaa;
    padding: 3px;
}

table.moavaListTable {
    width:100%
}
table.moavaListTable tbody td>div {
    white-space: nowrap;
    overflow: hidden;
}

table.moavaListTable tbody td div img {
    vertical-align: middle;
}

table.moavaListTable thead th {
    text-align: left;
    background-color: #ffffff;
    padding: 5px;
    padding-left: 10px;
    padding-right: 10px;
    color: #333333;
    border-right: 1px dotted #333333;
    border-bottom: 3px solid #bcdb01;
    white-space: nowrap;
    height: 29px;
}
table.moavaListTable thead th a {
    color: #333333;
    text-decoration: none;
    /*display: block;*/
    cursor: pointer;
}
table.moavaListTable tbody td a {
    color: #333333;
    text-decoration: none;
    cursor: pointer;
}
table.moavaListTable tbody td:first-child {
    width:25px;
}
table.moavaListTable thead th:last-child {
    border-right: none;
}
table.moavaListTable tfoot td {
    text-align: left;
    background-color: #ffffff;
    padding: 5px;
    padding-left: 10px;
    padding-right: 10px;
    color: #333333;
    border-right: 1px dotted #333333;
    border-top: 3px solid #bcdb01;
    white-space: nowrap;
    height: 29px;
}
table.moavaListTable tfoot td:last-child {
    border-right: none;
}
table.moavaListTable tbody td {
    padding: 5px;
    padding-left: 10px;
    padding-right: 10px;
    border-right: 1px solid transparent;
}
table.moavaListTable tbody td:last-child {
    border-right: none;
}
table.moavaListTable tbody tr:nth-child(even) {
    background: #f4f4f4;
}
table.moavaListTable tbody tr:nth-child(odd) {
    background: #ffffff;
}


.moavaListTablePagination {
    background:#ffffff;
    bottom: 0;
    right: 0;
    left: 253px;
    /*position:relative;*/
    text-align: center;
    height: 46px;
    line-height: 46px;
    color: #333333;
    border-top: 3px solid #bcdb01;
    font-weight: bold;
}
.moavaListTablePagination a {
    text-decoration: none;
}
.moavaListTablePagination a span {
    display: inline-block;
    padding: 0.5em;
    height:1em;
    line-height:1em;
    background-color: #f4f4f4;
    border: 1px dashed #333333;
    color: #333333;
    cursor: pointer;
}
.moavaListTablePagination a span.moavaPaginationSelectedPage {
    background-color: #bcdb01;
    border: 1px dashed #333333;
    color: #333333;
}

#moavaLeftMenu a {
    text-decoration: none;
    color: #333333;
}
#moavaLeftMenu ul li {
    height: 22px;
}
    

#menuedittop  { font-weight:bold; font-size:10pt; }
#menuedittop a { margin:10px; }



div.box1text { font-size: 90%;}
span.box1text { font-size: 90%;}
span.box1itemHeading { font-size: 100%;}
span.box1heading { font-size: 100%;}

.box1corners {}
.box1top { background-color: #FFFFFF; background-image: url(../../themes/1/images/border_top.gif); background-position: top; background-repeat: repeat-x; }
.box1bottom { background-color: #FFFFFF; background-image: url(../../themes/1/images/border_bottom.gif); background-position: bottom; background-repeat: repeat-x; }
.box1left { background-color: #FFFFFF; background-image: url(../../themes/1/images/border_left.gif); background-position: left; background-repeat: repeat-y; }
.box1right { background-color: #FFFFFF; background-image: url(../../themes/1/images/border_right.gif); background-position: right; background-repeat: repeat-y; }


.moavaDiaBlock{ padding-bottom: 0.5em;}

.moavaFormLabel{ text-align:left;padding-right: 0.5em;display:block;}

.moavaSpaceFrame{padding:0.1em;}

.moavaInlineInfo{
    border: None;
    padding:0.5em;
    margin-bottom:1em;
    font-style: italic;
    color: #333;
}

.moavaInlineWarning{
    border: 2px solid salmon;
    background-color: lightyellow;
    padding:0.5em;
    margin-bottom:1em;
}

.moavaInlineError{
    
    color: #FF2222;
    font-weight: bold;
    font-size: large;
    padding:0.5em;
    margin-bottom:1em;
}

.moavaInlineSuccess{
    
    color: #006633;
    font-weight: bold;
    font-size: large;
    padding:0.5em;
    margin-bottom:1em;
}

a.deleteLink {
    color: red;
    font-weight: bold;
    padding: 2px;
}
a.deleteLink:hover {
    color: white;
    background-color: red;
}

a.disabled{
    color: #aaaaaa !important;
    text-decoration: none !important;  
}
a.disabled:hover {
    color: #666666 !important;
    background-color: #eee !important;
}
.moavaadmonly {
    background-color: #e8ffe8;
    border-top: solid 1px #C8C8C8;
    border-bottom: solid 1px #C8C8C8;
    padding: 3px;
    font-size: 80%
}
.bmodehidden {
    background-color: #b9def0;
    border-top: solid 1px #C8C8C8;
    border-bottom: solid 1px #C8C8C8;
    padding: 3px;
    font-size: 80%
}
.cphide { display:none; }

.slideshow { position:relative; overflow:hidden; }
.slide { display: none; position: absolute; }
.slide.current { display: block; }
.slidetext { height:80px; position:relative; margin-top: -80px; background-image:url('../images/transp50.png'); }
a.slideshowLink:link, a.slideshowLink:visited, a.slideshowLink:active, a.slideshowLink:hover {color: rgba(255,255,255,1); text-decoration:none;}

.box1corners { display: flex; }

/*styles for moava messages*/
.moavaMessageCloseButton {
    font-size: 14px;font-weight: 600;border-radius: 6px;text-decoration: none;background-color: #C6F6D5;border-color: #38A169;border-width: 2px;border-style: solid;color: #000;cursor: pointer;padding: 8px 12px;line-height: 1;position: relative;display: inline-flex;
}
.moavaMessageCloseButton:hover {
    background-color: #38A169;
    color: white;
}