﻿
/* Fix fyrir t.d. datatables í litlum símum og til að fylla betur út skjá á þeim */

@media (max-width: 1199px) { /* sama og orginal */
    .container {
        max-width: 96% !important;
    }
}

.pageTitle {
    font-size: 18px !important;
    font-weight: 600;
}

/* Notað í skráningu í veiðibók */
.min80width {
    min-width: 80px;
}

.min90width {
    min-width: 90px;
}

.min100width {
    min-width: 100px;
}

.max100width {
    max-width: 100px;
}

/* Bootstrap styling for jQuery UI Autocomplete */
.ui-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    float: left;
    display: none;
    min-width: 160px;
    padding: 4px 8px;
    margin: 0 0 10px 25px;
    list-style: none;
    background-color: #ffffff;
    border-color: #ccc;
    border-color: rgba(0, 0, 0, 0.2);
    border-style: solid;
    border-width: 1px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
    *border-right-width: 2px;
    *border-bottom-width: 2px;
}

.ui-menu-item > a.ui-corner-all {
    display: block;
    padding: 3px 15px;
    clear: both;
    font-weight: normal;
    line-height: 18px;
    color: #555555;
    white-space: nowrap;
    text-decoration: none;
}

.ui-state-hover, .ui-state-active {
    color: black;
    text-decoration: none;
    background-color: #eeeeee;
    border-radius: 0px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    background-image: none;
    cursor: pointer;
}

/* Fela No search results. neðst vinstra megin í autocomplete í veiðibókum */
.ui-helper-hidden-accessible {
    display: none;
}

@media (max-width: 991px) {
    .langImages {
        display: none !important;
    }
}

@media (min-width: 991px) {
    .langText {
        display: none !important;
    }
}

/* Fyrir footer stick to bottom*/

html, body {
    height: 100%;
    width: 100%;
}

div.body {
    display: table;
    height: 100%;
    width: 100%;
}

header, div.main {
    display: table-row;
}

div.main {
    height: 100%;
}

    div.main > .content > .container {
        display: table;
        height: 100%;
    }


#cookieConsentContainer {
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    position: fixed;
    background: #333;
    border-top: solid 1px grey;
    padding: 25px 30px;
    color: white;
    opacity: 0.8;
}

    #cookieConsentContainer a {
        color: white !important;
        text-decoration: underline;
    }

    #cookieConsentContainer .btn-primary {
        color: white !important;
        text-decoration: none;
        margin-left: 20px;
    }

/* Datatables custom and overwrites*/

/* Datatables fixed header*/

table.dataTable tbody th, table.dataTable tbody td {
    padding: 10px 2px; /* e.g. change 8x to 4px here */
}

.fixedHeader-floating {
    top: 55px !important;
}

.permitTextCell {
    padding-left: .0rem !important;
    padding-right: .5rem !important;
    vertical-align: top;
}

.dataTables_filter {
    padding-top: 0.85em;
    float: left !important;
}

    .dataTables_filter input {
        width: 200px !important;
        margin-left: 0px !important;
    }

    .dataTables_filter label {
        margin-bottom: 0px !important;
    }

.dataTables_info {
    /* margin-left: 25px !important; */
}

.dataTables_left_custom {
    float: left !important;
}

.dataTables_right_custom {
    float: right !important;
}

.dataTables_clear {
    clear: both;
}
