﻿
@xsmallDevices: ~"only screen and (max-width: 575px)";
@smallDevices: ~"only screen and (min-width: 576px) and (max-width: 767px)";
@mediumDevices: ~"only screen and (min-width: 768px) and (max-width: 991px)";
@largeDevices: ~"only screen and (min-width: 992px) and (max-width: 1199px)";
@xlargeDevices: ~"only screen and (min-width: 1200px)";


.navbar-container {
    padding: 0;

    nav.navbar {
        padding: 0;
        /*@media @mediumDevices {
                padding: 0.5rem 1rem;
            }*/
        .navbar-toggler-icon {
        }

        a.navbar-brand {
            color: #f0f0f0;
            transition: all 0.4s;

            &:hover {
                color: #fff;
                text-shadow: -2px 2px 4px #ccc;
            }

            &:focus {
                color: #fff;
            }

            @media @mediumDevices {
                color: #94aabe;
            }
        }

        ul {
            font-size: 10pt;

            @media @largeDevices {
                font-size: 9pt;
            }

            li {
                /*margin-right: 1rem;*/

                a.nav-link {
                    color: #f0f0f0;
                    transition: all 0.4s;

                    &:hover {
                        color: #fff;
                        text-shadow: -2px 2px 4px #ccc;
                    }

                    &:focus {
                        color: #fff;
                    }
                }

                a {
                    color: #fff;
                    padding: 15px 25px 15px 25px;

                    &:hover {
                        color: #fff;
                    }
                }

                &:hover {
                    background: none;
                }
            }

            li.dropdown {
                padding: 0;
                margin: 0;

                li {
                    list-style: none;
                    padding: 0;

                    a.dropdown-item {
                        margin: 7px -15px;
                        line-height: 1.3;
                        white-space: normal;
                        color: #507396;

                        &:visited {
                            background: #FFFFFF /*#507396*/;
                        }
                    }
                }

                div.dropdown-menu {
                    border: none;
                    /*border-radius: 0 0 0.25rem 0.25rem;*/
                    border-radius:0 0 8px 8px;
                    margin: -0px;
                    min-width: 200px;
                    background: #FFFFFF /*#507396*/;
                    box-shadow: 0 8px 8px #ccc;
                    /*margin-top: 1px;*/
                    color: #507396;

                    a.dropdown-item {
                        padding: 0.25rem 1.5rem;

                        &:hover {
                            background: transparent;
                        }
                    }

                    .show > a {
                        background-color: #96adc4;
                    }
                }

                ul li ul {
                    border-top: 1px solid #fff;
                }
            }

            .nav-item.dropdown.show > .nav-link,
            .nav-link.active {
                background-color: white !important;
                color: #507396 !important;
                border-bottom-left-radius: 0;
                border-bottom-right-radius: 0;
            }
        }

        #mainSearch2 {
            padding: 0;
            background-color: white;
            border-radius: 8px;


            form {
                width: 100%;


                input[type=search] {
                    /*background: #ddd;*/
                    border-radius: 8px;
                    color: #333;
                    float: left;
                    padding: 0 8px;
                    width: 90%;
                    height: 36px;
                    border: none;
                    transition: all 0.4s;

                    &:focus {
                        background: #fff;
                    }
                }

                button {
                    /*background: #115c9b;*/
                    background: none;
                    border: none;
                    border-radius: 0 4px 4px 0;
                    color: #bbb;
                    cursor: pointer;
                    float: left;
                    width: 10%;
                    padding: 0;
                    height: 36px;
                    transition: all 0.4s;

                    &:hover {
                        color: #1C4E8F;
                    }
                }
            }
        }
    }
}
