﻿html {
    height: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Calibri",Candara,Segoe,Segoe UI,Optima,Arial,sans-serif;
    font-weight: 700;
}

body {
    height: 100%;
    min-height: 35rem;
    position: relative;
    font-family: "Calibri",Candara,Segoe,Segoe UI,Optima,Arial,sans-serif;
    font-weight: 300;
}

.overlay {
    position: absolute;
    height: 100%;
    min-height: 35rem;
    width: 100%;
    background-color: #cd9557;
    /*opacity: 0.75;*/
    z-index: -1;
    background: url("../img/boats-cargo.jpg") no-repeat bottom center scroll;
}

@media (min-width: 768px) {
    .overlay {
        min-height: 0;
    }
}

.masthead {
    position: relative;
    overflow: hidden;
    padding-bottom: 3rem;
}

.masthead .masthead-bg {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    min-height: 35rem;
    height: 100%;
    background-color: rgba(0, 46, 102, 0.8);
    transform: skewY(4deg);
    transform-origin: bottom right;
}

.masthead .masthead-content h1 {
    font-size: 2.5rem;
}

.masthead .masthead-content p {
    font-size: 1.2rem;
}

.masthead .masthead-content p strong {
    font-weight: 700;
}

.masthead .masthead-content .input-group-newsletter input {
    font-size: 1rem;
    padding: 1rem;
}

.masthead .masthead-content .input-group-newsletter button {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (min-width: 768px) {
    .masthead {
        height: 100%;
        min-height: 0;
        width: 40.5rem;
        padding-bottom: 0;
    }

    .masthead .masthead-bg {
        min-height: 0;
        transform: skewX(-8deg);
        transform-origin: top right;
    }

    .masthead .masthead-content {
        padding-left: 3rem;
        padding-right: 10rem;
    }

    .masthead .masthead-content h1 {
        font-size: 3.5rem;
    }

    .masthead .masthead-content p {
        font-size: 1.3rem;
    }
}

.social-icons {
    position: absolute;
    margin-bottom: 2rem;
    width: 100%;
}

.social-icons ul {
    margin-top: 2rem;
    width: 100%;
    text-align: center;
}

.social-icons ul > li {
    margin-left: 1rem;
    margin-right: 1rem;
    display: inline-block;
}

.social-icons ul > li > a {
    display: block;
    color: white;
    background-color: rgba(0, 46, 102, 0.8);
    border-radius: 100%;
    font-size: 2rem;
    line-height: 4rem;
    height: 4rem;
    width: 4rem;
}

@media (min-width: 768px) {
    .social-icons {
        margin: 0;
        position: absolute;
        right: 2.5rem;
        bottom: 2rem;
        width: auto;
    }

    .social-icons ul {
        margin-top: 0;
        width: auto;
    }

    .social-icons ul > li {
        display: block;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 2rem;
    }

    .social-icons ul > li:last-child {
        margin-bottom: 0;
    }

    .social-icons ul > li > a {
        transition: all 0.2s ease-in-out;
        font-size: 2rem;
        line-height: 4rem;
        height: 4rem;
        width: 4rem;
    }

    .social-icons ul > li > a:hover {
        background-color: #002E66;
    }
}

.btn-secondary {
    background-color: #007bff;
    border-color: #bbbbbb;
}

.btn-secondary:active, .btn-secondary:focus, .btn-secondary:hover {
    background-color: #28a745;
    border-color: #bbbbbb;
}

.input {
    font-weight: 300 !important;
}

.ui-tooltip, .arrow:after {
    background: black;
    border: 2px solid white;
}

.ui-tooltip {
    padding: 10px 20px;
    color: white;
    border-radius: 20px;
    font: bold 14px "Helvetica Neue", Sans-Serif;
    text-transform: uppercase;
    box-shadow: 0 0 7px black;
}

.arrow {
    width: 70px;
    height: 16px;
    overflow: hidden;
    position: absolute;
    left: 50%;
    margin-left: -35px;
    bottom: -16px;
}

.arrow.top {
    top: -16px;
    bottom: auto;
}

.arrow.left {
    left: 20%;
}

.arrow:after {
    content: "";
    position: absolute;
    left: 20px;
    top: -20px;
    width: 25px;
    height: 25px;
    box-shadow: 6px 5px 9px -9px black;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.arrow.top:after {
    bottom: -20px;
    top: auto;
}



/* target the links inside the pagination list */
.pagination > li > a,
.pagination > li > span {
    font-size: 18px; /* Makes the text bigger (adjust as needed) */
    padding: 5px 9px; /* Adds space inside the button (top/bottom, left/right) */
    margin: 0 5px; /* Adds space between the buttons */
    border-radius: 4px; /* Optional: Rounds the corners since they are now separated */
}

/* Ensure the 'active' page (current page) looks correct */
.pagination > .active > a,
.pagination > .active > a:hover,
.pagination > .active > a:focus {
    z-index: 3;
    color: #fff;
    cursor: default;
    background-color: #337ab7; /* Adjust to match your primary color */
    border-color: #337ab7;
}

/* Optional: remove the default border radius behavior if using Bootstrap 3 */
.pagination > li:first-child > a,
.pagination > li:first-child > span {
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
}

.pagination > li:last-child > a,
.pagination > li:last-child > span {
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
}