/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
/*** Source: http://particletree.com/features/rediscovering-the-button-element/ ***/

/* BUTTONS */
a.hp-button, button.hp-button
{
    display:block;
    float:left;
    margin:0 7px 0 0;
    background-color:#f5f5f5;
    border:1px solid #4b2e83;
    font-size:100%;
    line-height:130%;
    text-decoration:none  !important;
    color:#4b2e83;
    cursor:pointer;
    padding:5px 10px 6px 7px; /* Links */
    border-radius: 5px;
}

button.hp-button
{
    width:auto;
    overflow:visible;
    padding:4px 10px 3px 7px; /* IE6 */
}

.hp-button button[type]
{
    padding:5px 10px 5px 7px; /* Firefox */
    line-height:17px; /* Safari */
}

*:first-child+html button[type]
{
    padding:4px 10px 3px 7px; /* IE7 */
}

.hp-button button img, .hp-button a img
{
    margin:0 3px -3px 0 !important;
    padding:0;
    border:none;
    width:16px;
    height:16px;
}

/* STANDARD */
button:hover, .hp-button a:hover
{
    background-color:#dff4ff;
    border:1px solid #c2e1ef;
    color:#85754d;
}

.hp-button a:active{
    background-color:#6299c5;
    border:1px solid #6299c5;
    color:#fff;
}
/* POSITIVE */
button.positive, .hp-button a.positive
{
  color:#529214;
}

.hp-button a.positive:hover, button.positive:hover
{
    background-color:#E6EFC2;
    border:1px solid #C6D880;
    color:#529214;
}

.hp-button a.positive:active
{
    background-color:#529214;
    border:1px solid #529214;
    color:#fff;
}

/* NEGATIVE */
.hp-button a.negative, button.negative
{
  color:#d12f19;
}

.hp-button a.negative:hover, button.negative:hover
{
    background:#fbe3e4;
    border:1px solid #fbc2c4;
    color:#d12f19;
}

.hp-button a.negative:active
{
    background-color:#d12f19;
    border:1px solid #d12f19;
    color:#fff;
}

.page-notification {
    margin:0 7px 0 0;
    border:1px solid #4b2e83;
    font-size:100%;
    line-height:130%;
    text-decoration:none  !important;
    color:#4b2e83;
    cursor:pointer;
    padding:5px 10px 6px 7px; /* Links */
    border-radius: 5px;
}

.success {
    color : #155724;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

.error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.info {
    color: #383d41;
    background-color: #e2e3e5;
    border-color: #d6d8db;
}
/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9999 !important; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
/* Modal Header */
.modal-header {
    padding: 2px 16px;
    background:#e2e2e2;
    color: white;
}

/* Modal Body */
.modal-body {padding: 2px 16px;}

/* Modal Footer */
.modal-footer {
    padding: 2px 16px;
    background-color: #e2e2e2;
    color: white;
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: 40px auto;
    padding: 0;
    border: 1px solid #888;
    width: 540px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    animation-name: animatetop;
    animation-duration: 0.4s;
    border-radius: 5px;
}

p.smaller {
    font-size: small;
}
/* Add Animation */
@keyframes animatetop {
    from {top: -300px; opacity: 0}
    to {top: 0; opacity: 1}
}

select {
    max-width: 100%;
    /* So it doesn't overflow from its parent */
}

option {
    /* wrap text in compatible browsers */
    -moz-white-space: pre-wrap;
    -o-white-space: pre-wrap;
    white-space: pre-wrap;
    /* hide text that can't wrap with an ellipsis */
    overflow: hidden;
    text-overflow: ellipsis;
    /* add border after every option */
    border-bottom: 1px solid #DDD;
}

.dataTables_filter {
    float: right;
}
.dataTables_length {
    float: left;
}