﻿
@media (min-width: 1280px) {
    .container {
        width: 1250px; /* Stækka aðeins main container, default er 1200 og 1170*/
    }
}

@media (max-width: 1199px) {
    .container {
        max-width: 98% !important;
    }
}

/* 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;
}

body {
    padding-bottom: 20px; /* Set some basic padding to keep content from hitting the edges */
}

.body-content {
    margin-top: 95px;
    padding-left: 15px;
    padding-right: 15px;
}

.pageTitle {
    font-size: 18px !important;
    font-weight: 600;
}

p, td, th, div {
    /* font-family: Calibri;*/
    font-size: 15px;
}

td {
    padding-top: 10px !important;
    padding-bottom: 8px !important;
    vertical-align: middle !important;
}

.overlay-front-text {
    position: absolute;
    top: 65%;
    left: 60px;
    color: white;
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 10px;
    text-shadow: 2px 2px grey;
}

/* LINKS AND BUTTONS */
a {
    color: #145480 !important;
    text-decoration: none;
    background-color: transparent;
}

.btn-primary {
    color: #fff !important;
    background-color: #145480 !important;
    border-color: #145480 !important;
}

.btn-secondary {
    color: #fff !important;
    background-color: #6c757d;
    border-color: #6c757d;
}

/* NAVBAR */

@media (max-width: 991px) {

    .navbar-collapse {
        padding-left: 20px !important;
    }

        .navbar-collapse li {
            border-bottom: 1px solid grey !important;
        }

    .flagImage {
        display: none;
    }
}

.navbar-custom {
    height: 80px;
    background-color: #145480 !important;
    /* background-color: rgba(61, 119, 182, 1.0) !important; */
    box-shadow: 0px 0px 2px #000;
}

.navbar-nav {
    /* background-color: rgba(61, 119, 182, 1.0) !important; */
    background-color: #145480 !important;
}

.navbar-brand {
    padding: 0px !important;
    margin-right: 0px !important;
}

.nav-item {
}

.nav-link {
    padding-left: 10px !important;
    color: white !important;
    font-size: 16px !important;
}

.dropdown-item:active {
    background-color: white !important;
}

/* FLAGS */

.isFlag {
    position: absolute;
    top: 16px;
    right: 5%;
}

.enFlag {
    position: absolute;
    top: 16px;
    right: 5%;
}

.flagImage {
    margin-right: 5px;
}


.linkCell {
    width: 90px !important;
    text-align: center;
}

.fishCountCell {
    width: 50px !important;
    text-align: center;
}

.permitFormCell {
    padding-left: 6px !important;
    padding-right: 6px !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

select.smallPadding {
    padding-left: 0px !important;
    padding-right: 0px !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

.editFishFormCell {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

select.center {
    text-align-last: center !important;
    min-width: 50px !important;
}

.min80width {
    min-width: 80px;
}

.min90width {
    min-width: 90px;
}

.min100width {
    min-width: 100px;
}

.max100width {
    max-width: 100px;
}

#gotoTop {
    width: 50px;
    height: 50px;
    font-size: 24px;
    line-height: 50px;
    color: white;
    background-color: rgba(61, 119, 182, 1);
    border-radius: 50%;
    position: fixed;
    right: 20px;
    bottom: 20px;
    box-shadow: 4px 4px 12px 0 rgba(0, 0, 0, 0.3);
    display: none;
    overflow: hidden;
    text-align: center;
    text-decoration: none;
    z-index: 20;
    transition: 0.2s;
    cursor: pointer;
}

    #gotoTop:hover {
        color: #fff;
        background: #3d77b6;
        text-decoration: none;
    }

#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*/
.fixedHeader-floating {
    top: 55px !important;
}

.permitTextCell {
    padding-left: .0rem !important;
    padding-right: .5rem !important;
}

.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;
}
