/**********
START USER-PORTAL CSS
**********/

h3 {
    font-size: 16px;
    background: #FFF;
    letter-spacing: normal;
    margin: 10px 0 6px 0;
    padding: 7px 0;
    font-weight: bold;
    opacity: 1;
    color: #007d21;
}

.clear {
    clear: both;
}

.gfbs-entries {
    margin-bottom: 40px;
}

.gfbs-entry {
    background: #EAF2FA;
}

.gfbs_log_in {
    margin: 20px auto;
    width: 50%;
    background: #fff;
    padding: 20px;
}

.gfbs_log_in p {
    margin: 10px 0;
    font-size: 12px;
}

.gfbs_log_in h2 {
    color: #000 !important;
    border-bottom: 1px solid #469F45;
    width: 100%;
    font-weight: bold;
    font-size: 20px !important;
}

.gfbs-container {
    /*overflow-x: auto;*/
}

.table-title h2 {
    color: #000 !important;
    border-bottom: 1px solid #469F45;
    width: 100%;
    font-weight: bold;
    font-size: 20px !important;
}

.gfbs-view-booking {
    max-width: 450px;
    width: 90%;
    margin: 10px auto;
}

.gfbs-outer-table thead td {
    border: none;
    display: inline;
}

.gfbs-outer-table tbody {
    background: #EAEAEA;
    width: 100%;
    margin-top: 20px;
}

.gfbs-entry-outer {
    width: 90%;
    margin: 0 auto;
}

.gfbs-table-html,
.gfbs-entry-table {
    border: 1px solid #DFDFDF;
    background: #fff;
    width: 100%;
}

.gfbs-table-html th,
.gfbs-table-html tfoot td,
.gfbs-entry-table th {
    background-color: #eee;
    color: #000;
}

.gfbs-table-html td {
    padding: 5px;
    text-align:center;
}

.gfbs-table-html th {
    padding: 5px;
    text-align:center;
    font-size: 16px;
}

.gfbs-table-html tr {
    padding:5px !important;
    font-size: 12px;
    border-bottom: 1px solid #DFDFDF;
}

.gfbs-table-html p {
    font-size: 12px;
    padding: 5px;
    text-align:center;
    margin-bottom: 0px;
    font-family: inherit;
}

.gfbs-table-html tr:nth-child(odd) {
    background-color: #fff;
}

.gfbs-table-html tr:nth-child(even) {
    background-color: #EAF2FA;
}

.gfbs-table-html tr:nth-child(even).gfbs_cancelled,
.gfbs-table-html tr.gfbs_cancelled {
    background: #cd5c5c;
    color: #ffffff;
}

tr.gfbs_cancelled a {
    color: #ffffff;
}

.gfbs-table-html tr:nth-child(even).gfbs_confirmed,
.gfbs-table-html tr.gfbs_confirmed {
    background: #5ccd5c;
    color: #ffffff;
}

tr.gfbs_confirmed a {
    color: #ffffff;
}


.gfbs-table-html tr:nth-child(even).gfbs_completed,
.gfbs-table-html tr.gfbs_completed {
    background: #5c5ccd;
    color: #ffffff;
}

tr.gfbs_completed a {
    color: #ffffff;
}

.gfbs-entry-table, .entry-display, .entry-status {
    width: 100%;
    margin: 0;
    background: #fff;
}

.gfbs-change-p {
    margin-top: 5px;
}

.gfbs-change-p span {
    font-size: 14px !important;
    font-weight: bold;
}

.gfbs-list-table {
    width: 100% !important;
}

.gfbs-booking-details {
    width: 90%;
    margin: 0px 10px;
}

.gfbs-booking-status,
.gfbs-booking-number {
    width: 50%;
}

.gfbs-booking-number {
    float: left;
}

.gfbs-booking-status {
    float: right;
}

.gfbs-entry-details td {
    padding: 5px 10px;
}

.gfbs-entry-table th,
.gfbs-entry-table td {
    padding: 5px;
    width: 50%;
    border: 1px solid #DFDFDF;
}

a:hover {
    cursor: pointer;
}

.gfbs-list-table td {
    padding: 5px;
    width: inherit !important;
}

.gfbs-entry-table table.gfield_list th {
    padding: 0 5px;
    text-align: center;
    font-size: 12px;
    background: #DFDFDF;
    font-weight: bold;
    color: #000;
}

.gfbs-duplicate-entry {
    border: 2px solid red !important
}

/* CALENDAR CSS */

.gfbs-calendar-outer {
    margin: 0 auto;
}


.gfbs-calendar-outer tr td {
    padding: 10px;
    min-height: 100px
}

table.gfbs-calendar td {
    border:1px solid #ccc;
    padding: 5px;
    min-height: 100px;
}

.gfbs-calendar td.gfbs_booked {
    background: #EAF2FA;
}

.gfbs-calendar td.gfbs_requested {
    background: #EAF2FA;
}

.gfbs-calendar td.gfbs_completed {
    background: #036ACA; 
	/* OEOEOE */
}

.gfbs-calendar td.gfbs_confirmed {
    background: #F2FAEA;
}

.gfbs-prev {
    float: left;
}

.gfbs-prev input {
    width: 30px;
    height: 30px;
}

.gfbs-next {
    float: right;
}

.gfbs-next input {
    width: 30px;
    height: 30px;
}

.gfbs-today {
    position: relative;
    width: 80%;
    text-align: center;
    margin: 0 auto;
}

.gfbs-today button {
    box-shadow: 0 1px 0 #ccc;
    vertical-align: top;
    padding: 0px 10px !important;
    line-height: 1.6;
    height: 31px;
    font-size: 16px !important;
}

#gfbs_gravity_form {
    display: none;
}

/** DIALOG CSS **/
/* Making background darker */
.ui-widget-overlay
{
    opacity: .50 !important; /* Make sure to change both of these, as IE only sees the second one */
    filter: Alpha(Opacity=50) !important;

    background: rgb(50, 50, 50) !important; /* This will make it darker */
}

/* SPINNER CSS */
@keyframes spinner {
    to {transform: rotate(360deg);}
}

.spinner:before {
    content: '';
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin-top: 0px;
    margin-left: 0px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: #07d;
    border-bottom-color: #07d;
    animation: spinner .8s ease infinite;
}

/** Bulk items **/
.bulk-button {
    display: inline-block;
    box-shadow: 0 1px 0 #ccc;
    vertical-align: top;
    padding: 0px 10px !important;
    line-height: 36px;
    height: 36px;
    margin: 5px !important;
    padding: 2px 5px;
    font-size: 16px !important;
}

.bulk-select {
    display: inline-block;
    line-height: 36px;
    height: 36px;
    margin: 5px 0px;
    padding: 2px 5px;
}

#bulk-div {
    display: inline-table;
}

/** Dialog **/
.ui-dialog .ui-dialog-title {
    text-transform: capitalize;
}

/** Close button **/
img.close {
    max-width: 15px !important;
}

/** Filter div **/
#filter-div {
    display: inline-table;
    float: right;
}

.filter-select {
    display: inline-block;
    line-height: 36px;
    height: 36px;
    margin: 5px 10px;
    padding: 2px 5px;
}