﻿/*
Theme based on https://startbootstrap.com/themes/freelancer
*/

.scroll-to-top {
    z-index: 1042;
    right: 1rem;
    bottom: 1rem;
    display: none;
}

    .scroll-to-top a {
        width: 3.5rem;
        height: 3.5rem;
        background-color: rgba(33, 37, 41, 0.5);
        line-height: 3.1rem;
    }

#login-logo {
    max-height: 70px;
}

#mainNav {
    padding-top: 1rem;
    padding-bottom: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
}

    #mainNav .navbar-brand {
        color: #fff;
    }

        #mainNav .navbar-brand img {
            height: 50px;
        }

    #mainNav .navbar-nav {
        margin-top: 1rem;
    }

        #mainNav .navbar-nav li.nav-item a.nav-link {
            color: #fff;
        }

            #mainNav .navbar-nav li.nav-item a.nav-link:hover {
                color: #81cd23;
            }

            #mainNav .navbar-nav li.nav-item a.nav-link:active, #mainNav .navbar-nav li.nav-item a.nav-link:focus {
                color: #fff;
            }

            #mainNav .navbar-nav li.nav-item a.nav-link.active {
                color: #1abc9c;
            }

    #mainNav .navbar-toggler {
        font-size: 80%;
        padding: 0.8rem;
    }

/* Sticky footer styles */
html {
    position: relative;
    min-height: 100%;
}

body.footer-sticky {
    margin-bottom: 150px;
}

body.footer-sticky footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100px;
}


input.correct-reference {
    width: 120px !important;
}

table .icon-column {
    max-width: 80px;
}

/* Disable fixed header on mobile */
@media (max-width: 767px) {
    .fixed-top {
        position: relative;
        top: auto;
    }

    .navbar-collapse {
        max-height: none;
    }

    body {
        margin: 0;
    }

    body.footer-sticky {
        /* Margin bottom by footer height */
        margin-bottom: 180px;
    }

    body.footer-sticky footer {
        height: 180px;
    }
}

@media (min-width: 992px) {

    body {
        /* Prevent navbar overlaying content
           https://stackoverflow.com/a/13051843/171703
        */
        padding-top: 110px;
    }

    #mainNav {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        -webkit-transition: padding-top 0.3s, padding-bottom 0.3s;
        transition: padding-top 0.3s, padding-bottom 0.3s;
    }

        #mainNav .navbar-brand {
            font-size: 1.75em;
            -webkit-transition: font-size 0.3s;
            transition: font-size 0.3s;
        }

            #mainNav .navbar-brand img {
                height: 70px;
                -webkit-transition: height 0.3s;
                transition: height 0.3s;
            }

        #mainNav .navbar-nav {
            margin-top: 0;
        }

            #mainNav .navbar-nav > li.nav-item > a.nav-link.active {
                color: #fff;
                background: #1abc9c;
            }

                #mainNav .navbar-nav > li.nav-item > a.nav-link.active:active, #mainNav .navbar-nav > li.nav-item > a.nav-link.active:focus, #mainNav .navbar-nav > li.nav-item > a.nav-link.active:hover {
                    color: #fff;
                    background: #1abc9c;
                }

        #mainNav.navbar-shrink {
            padding-top: 0rem;
            padding-bottom: 0rem;
        }

            /*#mainNav.navbar-shrink .navbar-brand {
                font-size: 1.5em;
            }*/

            #mainNav.navbar-shrink .navbar-brand img {
                height: 35px;
                -webkit-transition: height 0.3s;
                transition: height 0.3s;
            }
