html, body{
    min-height:100%;
    height: 100%;
    background-color: var(--body-background-color);
}
main {
    display: flex;
    flex-wrap: nowrap;

    overflow-x: auto;
    overflow-y: hidden;
}
.navbar-brand .img-circle{
    width: 40px;
    border-radius: 25px;
    float:left; 
    margin-top:-10px; 
    margin-right:10px; 
    background:#FFF;
}
#content{
    padding-top:50px;
    min-height:calc(100vh - 70px);
}
#content>.row{
    height:100%;
}
.singleBlock-500 #alertcontainer{
    margin-top:70px;
}
.divide-modal {
    margin-bottom: 20px;
}
#alertcontainer-login {
    margin-top:10px;  
    color: white;
}
.singleBlock-500 .container{
    margin-top:50vh;
}
.singleBlock-500 .container>div{
    margin-top:-300px;
}
.row-margin{
    margin-bottom:15px;
}
#footer.darkmenu{
    width:100%;
    text-align:center;
    border-top: 1px solid #e7e7e7;
    padding:15px;
    min-height:70px;
}

#footer {
    background-color: var(--footer-background-color);
}

.bootstrap-table{
    min-height:250px;
}
.button-row{
    margin:8px 24px;
}
.save-button{
    font-size:20px;
    z-index:666;
}
/*
*   styling success and error messages
*/
#alertcontainer, #alertcontainer-login{
    display:block;
    height:1px;
    overflow:hidden;
    -webkit-transition: height 0.4s ease;
    -moz-transition: height 0.4s ease;
    -ms-transition: height 0.4s ease;
    -o-transition: height 0.4s ease;
    transition: height 0.4s ease;
}
#alertcontainer.active, #alertcontainer-login.active{
    height:50px;
}
#alertcontainer.active2, #alertcontainer-login.active2{
    height:108px;
}
.active2 .errormessage{
    margin-top:8px;
}
.successmessage, .errormessage{
    width:100%;
    min-height:50px;
    line-height: 30px;
    font-size:22px;
    padding:10px 20px;
    border-radius:6px;
    text-align:center;
}
.successmessage.column, .errormessage.column{
    display:block;
}
.successmessage{
    background-color:#c1e2b3;
    -webkit-box-shadow: 3px 3px 20px -2px rgba(193,226,179,1);
    -moz-box-shadow: 3px 3px 20px -2px rgba(193,226,179,1);
    box-shadow: 3px 3px 20px -2px rgba(193,226,179,1)
}

.errormessage{
    color: #ffffff;
    background-color:#a94442;
    -webkit-box-shadow: 3px 3px 20px -2px rgba(169,68,66,1);
    -moz-box-shadow: 3px 3px 20px -2px rgba(169,68,66,1);
    box-shadow: 3px 3px 20px -2px rgba(169,68,66,1);
}

/** toggle Extra Info **/
.extra-values-box{
    border-radius: 4px;
    width: 90%;
    margin: 0px auto;
    padding: 0 8px;
    height:auto;
    max-height: 0px;
    overflow: hidden;
    -webkit-transition: all 0.7s ease;
    -moz-transition: all 0.7s ease;
    -ms-transition: all 0.7s ease;
    -o-transition: all 0.7s ease;
    transition: all 0.7s ease;
}
.extra-values-box.show-box{
    max-height: 420px;
    padding:8px;
    margin-bottom: 5px;
}
.extra-values-box.show-box.extra-large{
    max-height: 550px;
}


/** item add_edit **/
#fragment_holder{
    padding-top: 16px;
}
#fragment_holder .fragment-holder{
    margin-top:16px;
    margin-bottom:16px;
}
#fragment_holder .fragment-holder p{
    font-size:18px;
    line-height:24px;
    text-align:center;
} 

/** standard classes **/
.mb-32{
    margin-bottom:32px;
}
.mr-8{
    margin-top:8px;
    margin-bottom:8px;
}
.mh-500{
    min-height:500px;
}

button, input {
    overflow: visible;
}
button, input, optgroup, select, textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

.form-check-label {
    margin-bottom: 0;
}
label {
    display: inline-block;
    margin-bottom: .5rem;
}

/**
 *  styling icon
 */
.fa-2:before{
    font-size:20px;
}

/**
 * fixxed vutton styling
 */

#fixxed-button-bottom button{
    position:fixed;
    right: 40px;
    bottom: 20px;
}
#fixxed-button-bottom.bottom-set button{
    position:relative;
    right: 0;
    bottom: 0;
}
/**
 *nav tabs and functionality
 */
.nav-tabs{
    padding:6px 16px;
    min-height:50px;
    margin-bottom:12px;
    border-bottom: none;
}
.nav-tabs .nav-item{
    line-height:24px;
    padding:12px 18px;
    border-radius:50px;
    font-size:18px;
    min-width:100px;
    text-align:center;
    background-color:#d9edf7;
    color:#000;
    transition:all 0.6s ease;
    text-decoration: none;
}
.nav-tabs .nav-item.active, .nav-tabs .nav-item:hover{
    background-color:#428bca;
    color:#FFF;
}
.tab-pane.fade{
    display:none;
}
.active.tab-pane.fade{
    display:block;
}
.round-image-small{
    width:100px;
    height:50px;
    display:block;
    margin:0 auto;
}
#S2, #S3{
    display:none;
}
.center {
    text-align: center;
}

.green {
    color: green; 
}

.red {
    color: red; 
}

.nav>li>a.btn-add-submenu {
    display: inline-block;
    float: right;
}

.nav>li>a.btn-sub {
    display: inline-block;
    width: calc(100% - 43px);
}

.mt-60 {
    margin-top: 60px;
}
.permission-search {
    cursor: pointer;
}

.md-icon {
    font-size: 1.6rem;
}

.btn-emeraldit {
    background-color: var(--btn-bg-color);
    color: var(--btn-txt-color);
    border-color: var(--btn-border-color);
    transition: background-color 0.3s;
}

.btn-emeraldit:hover {
    background-color: var(--btn-bg-color-hover);
    color: var(--btn-txt-color-hover);
    border-color: var(--btn-border-color-hover);
}

.btn.btn-emeraldit:active, 
.btn.btn-emeraldit:focus, 
.btn.btn-emeraldit:focus-visible {
    background-color: var(--btn-bg-color-active);
    color: var(--btn-txt-color-active);
    border-color: var(--btn-border-color-active);
}

.min-vh-80 {
    height: 80vh;
}