/*layout*/

.mb-1 {
    margin-bottom: 10px;
}

.color-1{
    color:#E87944;
}
.btn {
    padding: 0 14px;
    border: none;
    text-decoration: none;
    font-size: 1em;
    height: 30px;
    position: relative;
    background: #e0e0e0;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn .fa {
    margin-right: 5px;
}

.btn-sm {
    height: 18px;
    padding: 2px 10px;
    font-size: 1em;
}

/*.btn:hover {
    color: white;
}*/

.btn:active {
    opacity: 0.8;
}

.btn.loading::before {
    content: '...';
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    bottom: -3px;
    -webkit-animation: loading 1.2s alternate infinite;
    color: white;
    font-weight: bold;
    font-size: 1.2em;
}
.btn-def, .btn-dan {
    text-shadow: 1px 1px #000;
}
.btn-def:active, .btn-dan:active, .btn-def:hover, .btn-dan:hover {
    color: white;
}
.btn-def {
    color: white;
    background: #E87944;
}

    .btn-def::before {
        background-color: #717171;
    }

.btn-dan {
    color: white;
    background: #CC1111;
}

    .btn-dan::before {
        background-color: #717171;
    }

.btn:disabled {
    background-color: #B3B3B3;
    color: #4A4949;
    border-bottom-color: #A9A9A9;
    text-shadow: inherit;
    cursor: not-allowed;
}

.btn-on, .btn-on:active {
    margin-top: 3px;
    border-bottom-width: 0px;
    box-shadow: 1px 1px 1px #333 inset;
}

.bordered-primary {
    border-color: #E87944 !important;
}
.borderedtop-primary {
    border-top-color: #E87944 !important;
}
.button {
    padding: 4px 14px;
    color: white;
    background: #E87944;
    border: none;
    border-bottom: solid 3px #D1571C;
    text-decoration: none;
    text-shadow: 1px 1px #000;
    font-size: 1.1em;
    display: inline-block;
    vertical-align: top;
    position: relative;
}

    .button:hover {
        color: white;
    }

    .button:active {
        margin-top: 1px;
        border-bottom-width: 2px;
        color: white;
    }

    .button:disabled {
        background-color: #B3B3B3;
        color: #4A4949;
        border-bottom-color: #A9A9A9;
        text-shadow: inherit;
        cursor: not-allowed;
    }

    .button.loading::before {
        content: '...';
        overflow: hidden;
        position: absolute;
        top: 0;
        background-color: #717171;
        left: 0;
        bottom: -3px;
        -webkit-animation: loading 1.2s alternate infinite;
        color: white;
        font-weight: bold;
        font-size: 1.2em;
    }

.button-full {
    display: block;
    margin-bottom: 5px;
}
.full-width {
    width: 100%;
}
.modal {
    position:fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;    
    z-index:10;
    animation: fr-modal-bg 0.3s;
    background: rgba(0,0,0,0.7);
}
.modal-content {
    position:absolute;
    top:50%;
    left:50%;
    transform: translateX(-50%) translateY(-50%);    
    background:#fff;
    color: #333;
    animation: fr-modal-content 0.5s;
    max-height: 85%;
    overflow: auto;
}
.modal-content-pad {
    padding:30px;
}
.modal-content-pad-lr {
    padding-left:30px;
    padding-right:30px;
}
.modal-content-head, .modal-content-body, .modal-content-footer {
    position:absolute;
    left:0; right:0;
}
.modal-content-head {
    top:0;
    height:50px;
}
.modal-content-body {
    top:50px;
    bottom:51px;
    overflow: auto;
}
.modal-content-footer {
    bottom:0;
    height:52px;
}
@keyframes fr-modal-bg {
    from {
        background: rgba(0,0,0,0.0);
    }
    to{
        background: rgba(0,0,0,0.7);
    }
}
@keyframes fr-modal-content {
    from {
        transform: translateX(-50%) translateY(-60%); 
        opacity:0;
    }
    to{
        transform: translateX(-50%) translateY(-50%); 
        opacity:1;
    }
}