﻿.btn-primary, .Button {
    background: #0D6AA8;
    color: #fff;
    height: 25px;
    line-height: 25px;
    padding: 0px 10px;
    border: none;
    outline: none;
    text-transform: uppercase;
}

    .Button:hover, .btn-primary:hover, .Button:active, .btn-primary:active {
        background: #07599B;
    }

.btn-secondary {
    background: #89888e;
    color: #fff;
    height: 25px;
    line-height: 25px;
    padding: 0px 10px;
    border: none;
    outline: none;
    text-transform: uppercase;
}

    .btn-secondary:hover, .btn-secondary:active {
        background: #7c7b82;
    }

input.Button:disabled, .btn-primary[disabled] {
    background: #808181;
    color: #ddd;
}

    input.Button:disabled:hover, .btn-primary[disabled]:hover {
        cursor: default;
    }

.IconButton_16 {
    height: 16px;
    width: 16px;
}

.btn {
    background: none;
    position: relative;
    display: inline-block;
}

    .btn::before {
        position: absolute;
        left: 0;
        top: 0;
        line-height: inherit;
        font-family: 'Font Awesome 5 Free';
        font-size: 16px;
        vertical-align: middle;
        font-weight: 600;
        color: #363545;
        pointer-events: none;
    }

    .btn input, .btn input:hover {
        background: none;
        width: unset;
        border: none;
        outline: none;
        vertical-align: middle;
    }

.PageTitleBar .btn, .ModalDialogHeader .btn {
    background: none;
    position: relative;
    display: inline-block;
}

    .PageTitleBar .btn:hover, .ModalDialogHeader .btn:hover {
        background: rgba(0,0,0,0.1);
    }

    .PageTitleBar .btn::before, .ModalDialogHeader .btn::before {
        position: absolute;
        left: 8px;
        font-family: 'Font Awesome 5 Free';
        font-size: 16px;
        vertical-align: middle;
        font-weight: 600;
        color: #363545;
        pointer-events: none;
    }

    .PageTitleBar .btn input, .ModalDialogHeader .btn input, .PageTitleBar .btn a, .ModalDialogHeader .btn a {
        background: none;
        width: unset;
        height: 34px;
        line-height: 34px;
        margin-top: -3px;
        padding: 0px 12px 0px 32px;
        border: none;
        color: #363545;
        /*vertical-align: middle;*/
    }

        .PageTitleBar .btn input:hover, .ModalDialogHeader .btn input:hover {
            outline: none;
            border: none;
        }

        .PageTitleBar .btn a:hover, .ModalDialogHeader .btn a:hover {
            text-decoration: none;
        }

    .PageTitleBar .btn.btn-next input, .ModalDialogHeader .btn.btn-next input {
        padding: 0px 26px 0px 6px;
    }

.PageTitleBar .btn-previous input, .ModalDialogHeader .btn-previous input {
    padding: 0px 6px 0px 26px;
}

.PageTitleBar .btn-add input, .ModalDialogHeader .btn-add input {
    background: rgba(0,0,0,0.1);
}

.PageTitleBar .btn-next::after, .ModalDialogHeader .btn-next::after {
    position: absolute;
    right: 8px;
    font-family: 'Font Awesome 5 Free';
    font-size: 16px;
    vertical-align: middle;
    font-weight: 600;
    color: #363545;
    pointer-events: none;
}

.btn.btn-next::after {
    content: '\f105';
}

.btn.btn-previous::before {
    content: '\f104';
}

.btn.btn-edit::before {
    content: '\f303';
}

.btn.btn-save::before {
    content: '\f0c7';
}

.btn.btn-cancel::before {
    content: '\f3e5';
}

.btn.btn-add::before {
    content: '\f067';
}

.btn.btn-reset::before {
    content: '\f3e5';
}

.btn.btn-settings::before {
    content: '\f013';
}

.btn.btn-search::before {
    content: '\f002';
}

.btn.btn-clear::before {
    content: '\f00d';
}

.btn.btn-new::before {
    content: '\f00e';
}

.btn.btn-copy::before {
    content: '\f0c5';
}

.btn:empty {
    display: none;
}

.IconButton_16 {
    box-sizing: content-box;
    background-repeat: no-repeat !important;
    background-position: center !important;
    border: none;
    padding: 2px;
    margin: 0px;
    vertical-align: middle;
    -moz-box-sizing: content-box; /* Firefox */
}

    .IconButton_16:hover {
        padding: 1px;
        border: 1px solid grey;
        border-radius: 2px;
    }

.NoBorder:hover {
    padding: 2px;
    border: none;
}

.PreviousIcon {
    background: url('../images/Arrow_Previous_20_Landfolio.png');
}

.NextIcon {
    background: url('../images/Arrow_Next_20_Landfolio.png');
}

.EditIcon_20 {
    background: url('../images/Edit_20_Landfolio.png');
}

.SaveIcon {
    background: url('../images/Disk_20_Landfolio.png');
}

.CancelIcon {
    background: url('../images/Revert_20_Landfolio.png');
}

.CreateNewIcon {
    background: url('../images/Add.png');
}

.AddToListIcon {
    background: url('../images/AddExisting.png');
}

.RemoveFromListIcon {
    background: url('../images/Remove.png');
}

.DeleteIcon {
    background: url('../images/Delete.png');
}

.DeleteIconSubtle {
    background: url('../images/Delete_subtle.png');
}

    .DeleteIconSubtle:hover {
        background: url('../images/Delete.png');
    }

.EditIcon_16 {
    background: url('../images/Edit.png');
}

.SelectColumnsIcon {
    background: url('../images/ToolItems/ChooseColumns.png');
}

.MenuIcon {
    background: url('../images/ToolItems/Menu.png');
}

.FilterOpenIcon {
    background: url('../images/ToolItems/FilterList.png');
}

.FilterClosedIcon {
    background: url('../images/ToolItems/FilterListCancel.png');
}

.PermalinkIcon {
    background: url('../images/PermaLink.png');
}

/* Button groupings : adds spacing between buttons*/
.ButtonGroup .Button {
    margin-left: 3px;
}

    .ButtonGroup .Button:first-of-type {
        margin-left: 0px;
    }
