/* legend */
.dataform-body {
    padding: 15px 20px 10px;
}
.ivu-row {
    position: relative;
    margin-left: 0;
    margin-right: 0;
    height: auto;
    zoom: 1;
    display: block;
}
.dataform-body .ivu-row {
    padding-right: 5px;
    padding-left: 5px;
}
.dataform-body .fieldset {
    padding: 20px 20px;
    margin-bottom: 20px;
    border: 2px solid rgb(6, 140, 250);
}
.dataform-body .topfieldset {
    padding: 20px 20px;
    margin-bottom: 20px;
    border-top: 2px solid rgb(6, 140, 250);
}
.dataform-body .fieldset legend {
    margin-top: -36px;
    background-color: white;
    padding: 0 10px;
    font-size: 20px;
    width: auto;
    margin-bottom: 10px;
}
legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    white-space: normal;
}
.dropbox {
    outline: 2px dashed rgb(31, 158, 243); /* the dash box */
    outline-offset: -10px;
    background: lightcyan;
    color: rgb(11, 134, 248);
    padding: 10px 10px;
    min-height: 200px; /* minimum height */
    position: relative;
    cursor: pointer;
}

.input-file {
    opacity: 0; /* invisible but it's there! */
    width: 50%;
    height: 100px;
    position: absolute;
    cursor: pointer;
}

.dropbox:hover {
    background: lightblue; /* when mouse over to the drop zone, change color */
}

.dropbox p {
    font-size: 1.2em;
    text-align: center;
    padding: 50px 0;
}
/* legend end */
/* user  */
.image-resize {
    max-width: 50px;
}
.card-tools-option {
    float: left;
    margin-left: 0.625rem;
}
.card-title {
    padding-top: 10px;
}
.left-space {
    margin-left: 10px;
}

/* switch button style */

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 29px;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

input:checked + .slider {
    background-color: #11138f;
}

input:focus + .slider {
    box-shadow: 0 0 1px #11138f;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}
/* user end */
.bold-bold {
    font-weight: bold;
}
.right-button {
    display: flex;
    position: absolute;
    right: 0;
}
.right-button p {
    display: inline;
}
/* fake progress */
.bar {
    height: 10px;
    width: 100%;
}

@keyframes fill {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
    from {
        background-color: red;
    }
    to {
        background-color: green;
    }
}
.bar .in {
    animation: fill 1s linear 1;
    height: 100%;
    background-color: green;
}
/* end fake progress */
/* second file uploader */
.file-uploader {
    border: 1px dashed blue;
    border-radius: 5px;
    padding-left: 5px;
    padding-top: 5px;
    padding-right: 5px;
}
/* end second file uploader */

/* primary file upload */
input[type="file"] {
    display: none;
}
.custom-file-upload {
    border: 2px dashed #ccc;
    display: block;
    padding: 6px 12px;
    cursor: pointer;
    text-align: center;
}
/* end */

/* table style */
.fakehead thead th {
    vertical-align: middle !important;
    text-align: center;
}
/* end table style */
/* info box */
.fakeinfo-box {
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.125), 0 1px 3px rgba(0, 0, 0, 0.2);
    padding: 10px 10px 10px 10px;
    margin-bottom: 20px;
}
/* end info box */
/* dashboard donut */
.fakeheight {
    height: 20px !important;
}
/* dashboard donut end*/
/* map */
.map-info-panel {
    position: absolute;
    bottom: 65px;
    left: 25px;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 4px;
    padding: 10px 15px;
    z-index: 1000;
    margin-left: 20px;
}
.map-info-panel ul {
    list-style: none;
    margin-left: auto;
    padding-left: 0px;
}
.map-info-panel ul li {
    display: flex;
    align-items: center;
}
.map-info-panel ul li img {
    height: 18px;
    margin-right: 10px;
}
.map-info-panel ul li span {
    font-weight: bold;
}
/* end map */
/* back */
.demo-wrap {
    position: relative;
    background-image: url("/images/back2.jpg");
    background-size: cover;
}
.demo-bg {
    opacity: 75%;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
}
.demo-content {
    position: relative;
}
/* end back */

/* datset */
.gg-select {
    box-sizing: border-box;
    position: relative;
    display: block;
    transform: scale(1);
    width: 22px;
    height: 22px;
}
.gg-select::after,
.gg-select::before {
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute;
    width: 8px;
    height: 8px;
    left: 7px;
    transform: rotate(-45deg);
}
.gg-select::before {
    border-left: 2px solid;
    border-bottom: 2px solid;
    bottom: 4px;
    opacity: 0.3;
}
.gg-select::after {
    border-right: 2px solid;
    border-top: 2px solid;
    top: 4px;
    opacity: 0.3;
}
th.sort {
    cursor: pointer;
    user-select: none;
}
th.sort.asc .gg-select::after {
    opacity: 1;
}
th.sort.desc .gg-select::before {
    opacity: 1;
}
/* endDataset */
/* tailan */
.report-filter {
    background-color: white;
    border-radius: 2px;
    border: solid #e9ebf9;
    margin: 0 15px 0 20px;
    max-height: 300px;
    align-self: stretch;
}
.report-filter h4.header {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 12px;
    margin-bottom: 20px;
    padding: 10px 20px;
}
.ivu-form .ivu-form-item {
    margin-bottom: 24px;
    vertical-align: top;
    zoom: 1;
}
.ivu-form .ivu-form-button {
    margin-top: 24px;
    padding-bottom: 24px;
    vertical-align: top;
    zoom: 1;
}
.ivu-form .ivu-form-item .ivu-form-item-content {
    position: relative;
    line-height: 32px;
    font-size: 12px;
    padding-left: 12px;
    padding-right: 12px;
}
.full-size {
    width: 100%;
}
/* end tailan */
/* amara button */
.button {
    border: none;
    color: white;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 10px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
}
.primary {
    background-color: #4caf50;
}
.secondary {
    background-color: #6c757d;
}
/* end amara button */

.logo {
    height: 4rem;
    padding-right: 14px;
}
.font {
    font-weight: 700;
    font: Roboto, sans-serif !important;
}
.back {
    background-color: transparent !important;
}
.foot p {
    float: right;
    font-size: 12px;
    padding-right: 16px;
}
@media only screen and (max-width: 600px) {
    .foot p {
        font-size: 12px;
    }
}

/* load */

.loader {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #3498db;
    border-radius: 50%;
    margin: auto;
    width: 100px;
    height: 100px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
/* end load */
/* ul li */
.sub-menu {
    max-height: 10em; /* 1.5 x 3 */
    overflow-y: auto;
}
.sub-menu li {
    font-size: 1em;
    padding: 0.25em 1em;
    line-height: 1em;
}
/* end ul li */

/* amara form-control */
.subform-control{
    display: block;
    width: 100%;
    height: 500px;
    padding: 0.375rem , 0.75rem;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.6;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
/* end form-control */
/*  */
/* border */
.list-border{
    border: 1px solid rgb(140, 189, 233);
    padding-top: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-style: dashed;
}
/* end border */
