.btn-outline-danger {
    color: #dc3545;
    border-color: #dc3545
}

.btn-outline-danger:hover {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545
}

.btn-outline-danger.focus, .btn-outline-danger:focus {
    box-shadow: 0 0 0 .2rem rgba(220, 53, 69, .5)
}

.btn-outline-danger.disabled, .btn-outline-danger:disabled {
    color: #dc3545;
    background-color: transparent
}

.btn-outline-danger:not(:disabled):not(.disabled).active, .btn-outline-danger:not(:disabled):not(.disabled):active, .show > .btn-outline-danger.dropdown-toggle {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545
}

.btn-outline-danger:not(:disabled):not(.disabled).active:focus, .btn-outline-danger:not(:disabled):not(.disabled):active:focus, .show > .btn-outline-danger.dropdown-toggle:focus {
    box-shadow: 0 0 0 .2rem rgba(220, 53, 69, .5)
}

.btn-outline-primary {
    color: #007bff;
    border-color: #007bff
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff
}

.btn-outline-primary.focus, .btn-outline-primary:focus {
    box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .5)
}

.btn-outline-primary.disabled, .btn-outline-primary:disabled {
    color: #007bff;
    background-color: transparent
}

.btn-outline-primary:not(:disabled):not(.disabled).active, .btn-outline-primary:not(:disabled):not(.disabled):active, .show > .btn-outline-primary.dropdown-toggle {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff
}

.btn-outline-primary:not(:disabled):not(.disabled).active:focus, .btn-outline-primary:not(:disabled):not(.disabled):active:focus, .show > .btn-outline-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .5)
}

@media (min-width:768px) {
    body.login-page .login-logo {
        padding-top: 45px;
        margin-bottom: 5px
    }
}

/* Customize the label (the container) */
.login-page .cinch-checkbox {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 17px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.login-page .cinch-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.login-page .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
}

/* On mouse-over, add a grey background color */
.login-page .cinch-checkbox:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.login-page .cinch-checkbox input:checked ~ .checkmark {
    background-color: #2196F3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.login-page .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.login-page .cinch-checkbox input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.login-page .cinch-checkbox .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.select2-container{
    padding: unset;
}

/* Layout */

.main-header{
    border-bottom: 3px solid #da0a0a;
}

.pager-panel{
    text-align: center;
}
.pager-panel a{
    padding: 0 1ex;
}

p.error {
    color: #dd4b39;
}

/* Category list */
.level0{
    display: inline-block;
    padding: 0;
}
.level1{
    display: inline-block;
    padding: 0 1em;
}
/* Course form */
.course-form-image a.select2-choice{
    min-height: 32px;
    border: 0;
}
.course-form-image a.select2-choice,
.course-form-image a.select2-choice .select2-arrow{
    border-radius: 0;
    padding-top: 3px;
}
select.form-control option.not-visible{
    background: #DDD;
}

/* Form errors fix */
.has-error .cke_chrome,
.has-error .error-border {
    border: 1px solid #dd4b39;
}
.has-error .error-border {
    padding-left: 5px;
}

table.table-striped>tbody>tr.row-odd { background-color: #f9f9f9; }
table.table-striped>tbody>tr.row-even { background-color: #fff; }

div.order-items div.order-item { border-bottom: 1px solid black; padding: 2px 0; margin-bottom: 2px; }
div.order-items div.order-item div.order-item-email { word-break: break-all; }
div.order-items div.order-item:first-child { border-top: 1px solid black; margin-top: 2px; }
div.order-items div.order-item:nth-child(2n+1) div.order-item-wrap { background-color: #f9f9f9; }
div.order-items div.order-item div.order-item-wrap { padding: 2px; }

div.order-agreements div.order-agreement { border-bottom: 1px solid black; padding: 2px 0; margin-bottom: 2px; }
div.order-agreements div.order-agreement:first-child { border-top: 1px solid black; margin-top: 2px; }
div.order-agreements div.order-agreement:nth-child(2n+1) div.order-agreement-wrap { background-color: #f9f9f9; }
div.order-agreements div.order-agreement div.order-agreement-wrap { padding: 2px; }

@media only screen and (max-width: 767px) {
    div.order-items div.order-item div.order-item-wrap { padding: 2px 0; }
    div.order-agreements div.order-agreement div.order-agreement-wrap { padding: 2px 0; }
}
