/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

body {
    font-family: Arial;
}

form {
    line-height: 1.5;
}

table {
    border-collapse: collapse;
}

/* Style the tab */
.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
}

/* Style the buttons inside the tab */
.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 17px;
}

/* Change background color of buttons on hover */
.tab button:hover {
    background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
    background-color: #ccc;
}

/* Style the tab content */
.tabcontent {
    display: none;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-top: none;
}

table.pretty {
    width: 100%;
    clear: both;
}

/*table.pretty td,
table.pretty th {
    padding: 5px;
    border: 1px solid #fff;
}
*/
table.pretty thead th {
    text-align: center;
    background: #66a9bd;
    color: white;
    padding-left: 5px;
}

/* Body cells */
table.pretty tbody td {
    text-align: left;
    background: #d5eaf0;
    padding-left: 5px;
}

table.pretty tbody tr.odd td {
    background: #bcd9e1;
}

div.dataTables_wrapper {
    background-color: #719ba7;
}

div.dt-container select.dt-input {
    margin-right: 0.7rem;
}

div.dt-container {
    font-size: .8rem;
}

table.dataTable>tbody>tr>th,
table.dataTable>tbody>tr>td {
    padding: 0px 6px;
}

table.dataTable>thead>tr>th {
    font-size: 0.7rem;
}

table.dataTable thead>tr>th.dt-orderable-asc span.dt-column-order,
table.dataTable thead>tr>th.dt-orderable-desc span.dt-column-order,
table.dataTable thead>tr>th.dt-ordering-asc span.dt-column-order,
table.dataTable thead>tr>th.dt-ordering-desc span.dt-column-order,
table.dataTable thead>tr>td.dt-orderable-asc span.dt-column-order,
table.dataTable thead>tr>td.dt-orderable-desc span.dt-column-order,
table.dataTable thead>tr>td.dt-ordering-asc span.dt-column-order,
table.dataTable thead>tr>td.dt-ordering-desc span.dt-column-order {
    right: 0;
}

table.dataTable thead>tr>th.dt-orderable-asc,
table.dataTable thead>tr>th.dt-orderable-desc,
table.dataTable thead>tr>th.dt-ordering-asc,
table.dataTable thead>tr>th.dt-ordering-desc,
table.dataTable thead>tr>td.dt-orderable-asc,
table.dataTable thead>tr>td.dt-orderable-desc,
table.dataTable thead>tr>td.dt-ordering-asc,
table.dataTable thead>tr>td.dt-ordering-desc {
    padding-right: 2px;
    padding-left: 2px;
}

.mycenter {
    text-align: center !important;
}


/*************************************************************************************
 * dsmdialog1 stuff
 */
.dsmdialog1 {
    margin: 0;
    position: fixed;
    background-color: #EFF0F3;
    border-radius: 10px;
    border-style: groove;
    overflow: auto;
    font-size: 0.8rem;
    display: block;
}

.dsmdialog1 .titlebar {
    background-color: #66a9bd;
    padding: 3px;
}

.dsmdialog1 .titlebar .title {
    margin: 15px;
    color: white;
    font-weight: bold;
    font-size: 1rem;
}

/*div.dsmdialog1 form {
    /*margin: 15px;*/
/*padding: 15px;
}*/

.dsmdialog1 .button {
    width: 10rem;
    display: block;
    text-align: center;
    margin-left: auto;
    margin-top: 15px;
    margin-bottom: 15px;
    margin-right: auto;
}

.dsmdialog1 .button button {
    border-radius: 5px;
    overflow: auto;
    min-width: 5rem;
}

#edit-mooring-dlg form input {
    height: 19px;
}

/* Format an anchor <a> element like a button */
.abutton {
    display: block;
    /*width: 115px;*/
    height: 20px;
    background: #4E9CAF;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    line-height: 2px;
}

td .abutton {
    padding: 2px;
    height: 14px;
    line-height: 12px;
}

.center {
    text-align: center;
}


table.dataTable>tbody {
    cursor: pointer;
}

#edit-mooring-dlg form .spacer {
    min-height: 1rem;
}

#edit-mooring-dlg form .section {
    font-weight: bold;
    margin-top: .5em;
    background-color: #66a9bd;
    color: white;
    text-align: left;
}

#edit-mooring-dlg form th {
    font-weight: normal;
}

.hidden {
    display: none;
}

.dialogtext {
    font-size: small;
}

.ui-widget-header {
    border: 1px solid #66a9bd;
    background: #66a9bd url("images/ui-bg_gloss-wave_55_5c9ccc_500x100.png") 50% 50% repeat-x;
    color: #ffffff;
    font-weight: bold;
}

.ui-widget-header a {
    color: #ffffff;
}

.ui-dialog-titlebar-close {
    display: none;
}

.ui-widget select,
textarea {
    height: 25px;
}

/** Override _reboot.scss settings **/
.dsmdialog1 *,
.dsmdialog1 *::before,
.dsmdialog1 *::after {
    box-sizing: content-box;
}

summary {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

#reportpage h4 {
    color: rgb(1, 93, 121);
    font-style: italic;
    font-size: 1.15rem;
}