@import url('https://fonts.googleapis.com/css2?family=Zain:ital,wght@0,200;0,300;0,400;0,700;0,800;0,900;1,300;1,400&display=swap');

body, div, span, p, 
h1, h2, h3, h4, h5, h6,
a, button, input, textarea, select, label,
li, td, th, caption,
.font-zain {
    font-family: "Zain", sans-serif !important;
}
.nav-link {
  font-size: 15px;
}
.btn-group .btn-default {
    color: #198754;
    background: #e0e0e0;
    border: 1px solid #198754;
    font-size: 14px;
}
.btn-group .btn-default:hover {
	background: #198754;
	color: #f8f8f8;
    box-shadow: 0px 0px 25px #33333396;
    border-color: #b9b9b9;
}
.badge {
  background-color: #314c40;
}
.btn-group .btn-default:hover .badge {
  background-color: #b9b9b9 !important;
  color: #314c40 !important;
}

.badge {
  padding-top: 7px;
}
/******************************/
:not(.swal2-modal,.tooltip) {
    transition: 0.5s;
}
.ace_editor * {
    transition: none !important;
    font: 12px/normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace  !important;
    direction: ltr  !important;
    text-align: left  !important;
}

.card {
    /* box-shadow: 0 0 7px #00000035; */
    padding-top: 5px;
}
.ew-multi-column-grid .card {
    text-align: center;
}
.select2-dropdown {
    width: 100% !important;
}
.card:hover {
    box-shadow: 0 0 25px #00000035;
}
.myfaico {
    font-size: 24px;
}
.selection .myfaico {
    font-size: 18px;
}
.card-img, .card-img-top {
    width: 100px;
    margin: 0 auto;
}
.ew-view-form td {
    display: block;
    width: 100% !important;
}
.ew-view-form td:first-child {
    background-color: rgba(0,0,0,0.2) !important;
}
.ew-list-other-options {
    margin-bottom: 20px;
}
.ew-image.ew-lazy {
    width: 100px !important;
}
.card-body .row:nth-child(2n) {
    background: #cccccc2e;
    padding: 7px;
}
body {
    font-size: 10px;
}
.ew-multi-column-form > .ew-multi-column-row .card-body .card-subtitle {
    color: #999;
}
.ew-multi-column-list-option {
    display: inline-block;
}
#ew-modal-lookup-dialog .modal-dialog {
    margin-top: 115px;
}
.ew-multi-column-form > .ew-multi-column-row .card .ew-images > :not(:first-child) {
    display: inline-block;
}
.flex-row.ew-images {
    flex-direction: unset !important;
    display: inline-block !important;
}
#r1_mywebfooter .col {
    flex: unset !important;
}
.mycheck {
    font-style: normal;
    font-size: 18px;
}
.goldstar {
    color: #f8ec07;
    text-shadow: 0px 0px 2px #00000080;
}
.topstoppage {
    background: #ff000050;
}
.select2-container--bootstrap5 .select2-dropdown .select2-results__option--selected, .select2-container--bootstrap5 .select2-dropdown .select2-results__option[aria-selected="true"] {
    background-color: var(--td-dark-active-bg);
}
.form-switch .form-check-input {
    border-radius: 7px;
}

:not(.ew-login-card)>.card-body .row > div {
    display: block !important;
    width: 100% !important;
    flex: unset !important;
    text-align: center;
}
:not(.ew-login-card)>.card-body .row > div:first-child {
    margin-bottom: 5px;
    background-color: rgba(0,0,0,0.1);
    padding: 5px;
}
:not(.ew-login-card)>.card-body .row {
    margin: 5px 0px !important;
    padding: 0 !important;
}
:not(.ew-login-card)>.card-body {
    padding: 0;
}

/******** user code *********/
.ace-monokai .ace_print-margin {
    width: 0px !important;
}

/************** categories style ***************/
.multinames > span {
    display: block;
}
#r_mainkindId .select2-selection ,
#r_categoryTopRightId .select2-selection ,
#r_categoryTopLeftId .select2-selection ,
#r_categoryUnderTopRightAId .select2-selection ,
#r_categoryUnderTopRightBId .select2-selection ,
#r_categoryMidLeftId .select2-selection ,
#r_categoryMidRightId .select2-selection ,
#r_categoryMidCenterId .select2-selection ,
#r_categoryBottomLeftId .select2-selection ,
#r_categoryBottomRightId .select2-selection 
{
    height: 59px;
}

#ew-page-caption {
    white-space: nowrap;
}
.multinamesbreads span {
    height: 19px;
    font-size: 10px;
    padding: 1px 10px;
    white-space: nowrap;
}
.multinamesbreads {
    vertical-align: middle;
    display: inline-grid;
}
.multinamescaption {
    margin-bottom: 25px;
}
.multinamesfield span {
    font-size: 11px;
    padding: 1px;
}
.col-form-label {
    width: 100%;
}
.cke_reset_all {
    z-index: 100000 !important;
}
img.ew-lazy {
    max-width: 200px;
    max-height: 200px;
}

div[id*="r_"]:nth-child(2n+1) {
  background: #eee;
}
div[id*="r_"] {
  margin: -1px 0 !important;
  padding: 9px 0px !important;
  border: 1px solid #b3b3b3;
}
div[id*="r_"]:nth-child(2n+1) {
  background: #f3f3f3;
}
ul.nav.nav-tabs {
  margin: 19px 0 0 0 !important;
  background: #909090;
  border: 0;
}
ul.nav.nav-tabs + .tab-content {
  padding: 7px;
  background: #909090;
  margin-bottom: 15px;
}
div[id*="r_"]:nth-child(2n), ul.nav.nav-tabs+.tab-content table {
  background: #fff;
}
