/***********************
        BUTTONS
***********************/
.btn {
    padding: 6px 16px;
    text-transform: uppercase;
    font-family: Verdana, "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 12px;
    border-radius: 3px;
    line-height: 1.5;
}

.btn-xs, .btn-group-xs > .btn {
    padding: 1px 15px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}
.btn-sm, .btn-group-sm > .btn {
    padding: 5px 15px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.btn.btn-link {
    text-transform: none;
}
.btn-link-danger {
    color: #d9534f;
}
.btn:visited {
    color: #fff;
}
.btn.btn-link:visited {
    color: #36c;
}
.btn.btn-default:visited {
    color: #333;
}
.btn-default {
    padding: 6px 12px;
    box-shadow: inset 0 -2px 0 #ddd;
}
.btn-default:hover, .btn-default:focus {
    background-color: #fff;
    padding-top: 7px;
    padding-bottom: 5px;
    box-shadow: inset 0 2px 0 #ddd;
    border-color: #ccc;
}
.btn-primary {
    background-color: #349CE2;
    border: 1px solid #337AB7;
    box-shadow: inset 0 -2px 0 #337AB7;
    font-weight: bold;
}
.btn-primary:hover, .btn-primary:active:hover, .btn-primary:focus {
    padding-top: 7px;
    padding-bottom: 5px;
    background-color: #349CE2;
    border: 1px solid #337AB7;
    box-shadow: inset 0 2px 0 #337AB7;
}
.btn-danger {
    background-color: #e25952;
    border: 1px solid #BF4945;
    box-shadow: inset 0 -2px 0 #BF4945;
    font-weight: bold;
}
.glavni-menu .navbar-nav .btn-danger {
    color: #fff;
}
.btn-danger:hover, .btn-danger:active:hover, .btn-danger:focus {
    padding-top: 7px;
    padding-bottom: 5px;
    background-color: #e25952;
    border: 1px solid #BF4945;
    box-shadow: inset 0 2px 0 #BF4945;
}
#reg_button, .btn-warning {
    background-color: #FDBA17;
    border: 1px solid #E2A713;
    box-shadow: inset 0 -2px 0 #E2A713;
    color: #fff;
    font-weight: bold;
}
#reg_button:hover, .btn-warning:hover, .btn-warning:active:hover, .btn-warning:focus {
    padding-top: 7px;
    padding-bottom: 5px;
    background-color: #FDBA17;
    border: 1px solid #E2A713;
    box-shadow: inset 0 2px 0 #E2A713;
}
#log_button, #ulaz_button, .btn-success {
    background-color: #abc100;
    border: 1px solid #99AD00;
    box-shadow: inset 0 -2px 0 #99AD00;
    color: #fff;
    font-weight: bold;
}
#log_button:hover, #ulaz_button:hover, .btn-success:hover, .btn-success:active:hover, .btn-success:focus {
    padding-top: 7px;
    padding-bottom: 5px;
    background-color: #abc100;
    border: 1px solid #99AD00;
    box-shadow: inset 0 2px 0 #99AD00;
}
.btn-info {
    border: 1px solid #29a5cb;
    box-shadow: inset 0 -2px 0 #29a5cb;
    font-weight: bold;
}
.btn-info:hover, .btn-info:active:hover, .btn-info:focus {
    padding-top: 7px;
    padding-bottom: 5px;
    background-color: #5bc0de;
    border: 1px solid #29a5cb;
    box-shadow: inset 0 2px 0 #29a5cb;
}
.btn_postavi_aukciju {
    margin: 5px 15px 0 0;
}
.btn_postavi_aukciju > .btn > .badge {
    font-family: Arial, Helvetica, sans-serif;
}
.navbar-default .navbar-nav > li > a.out_button:hover {
    background-color: #e25952;
    padding: 11px 15px 9px;
}
.navbar-default .navbar-nav > li > a.username_button:hover {
    background-color: transparent;
    color: #333333;
    padding: 11px 15px 9px;
}
.search-menu .navbar_search {
    padding-right: 0;
    display: flex;
    justify-content: flex-start;
    /* width: calc(50% - 100px); */
}
.search-menu .button-navs {
    margin-top: 5px;
    overflow: hidden;
    padding-left: 0;
    margin-right: 0;
    padding: 0;
}
.search-menu .button-navs .ulogovan_linkovi{
    margin-top: 6px;
}
.search-menu .button-navs > a {
    float: right;
    margin-left: 10px
}
.search-menu .button-navs > a:last-child {
    margin: 0;
}
.search-menu .button-navs .out_button {
    margin-left: 0;
    color: #777;
}
.search-menu .button-navs > a.ulogovan_linkovi {
    float: right;
    margin-left: 17px;
}
.form-control {
    /* box-shadow:  inset 0 2px 1px #eee; */
    border-color: #e2e2e2;
    border-radius: 3px;
    height: 32px;
    font-size: 12px;
}
.search_form .form-control {
    /* width: 75%; */
    margin: 0;
}
.form-control:hover {
    border-color: #ccc;
}
.form-control:focus {
    box-shadow:  inset 0 2px 1px #eee;
    background-color: #f6ffc7;
    border-color: #ccc;
}
.pretraga_main {
    float: left;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}
.pretraga_main_btn {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}
.glavni-menu .navbar-toggle {
    width: 100%;
    margin-right: 0px;
    padding: 14px;
}
.glavni-menu .navbar-toggle .icon-bar {
    background-color: #999;
    height: 3px;
    width: 30px;
}
.home-categories .navbar-toggle {
    margin: 0;
    padding-left: 20px;
    text-align: left;
    width: 100%;
}
.navbar-default .navbar-toggle:hover {
    background-color: #eee;
}
.home-categories .navbar-toggle:hover, .home-categories .navbar-toggle:focus {
    background-color: transparent;
}
.home-categories .navbar-collapse {
    border: 0 none;
    margin-top: 10px;
}

.mylim_dropdown.open .poruke-wrapper {
    position: relative;
}
.new-messages {
    position: relative;
}
.new-messages:before {
    display: block;
    content: " ";
    position: absolute;
    margin-left: -4px;
    border-right: 5px solid #d9534f;
    border-bottom: 5px solid transparent;
    border-top: 5px solid transparent;
    margin-top: 4px !important;
    top: 0;
    left: 0;
}

.dropdown-toggle:hover .new-messages {}
.dropdown-menu .new-messages {
    position: absolute;
    right: 10px;
    top: 0;
    height: 18px;
    line-height: 1.4;
    display: none;
}

.poruke-wrapper {
    position: relative;
}
.dropdown-toggle > .new-messages {
    margin-left: 6px;
}
.dropdown-toggle > .new-messages:before {
    margin-top: 3px;
}

/************ START Responsive **************/

@media screen and (max-width: 1191px) {
    .search_form .btn-primary {
        width: 25%;
    }
    #searchnavbar .btn {
        font-size: 10px;
    }
}
@media screen and (max-width: 767px) {

    #searchnavbar .nove_button {
        display: none;
    }

    .form-control {
        display: inline-block;
    }
    .glavni-menu .navbar-nav > li > a {
        padding: 10px 15px;
        display: block;
    }
    #log_button:hover, #ulaz_button:hover, #reg_button:hover, .nove_button:hover {
        padding: 11px 15px 9px;
    }
    #log_button, #ulaz_button {
        margin-top: 10px;
    }
    #log_button, #ulaz_button, #reg_button {
        margin-bottom: 10px;
    }
    .username_button {
        float: none;
        margin-bottom: 10px;
    }
    .out_button {
        margin: 10px 0;
    }
    .nove_button {
        padding: 10px 15px;
        width: 100%;
    }
    .notify_on {
        float: right;
        margin-right: -70px !important;
        right: 50%;
        top: -35px;
    }

    .mylim_dropdown.show .dropdown-toggle > .new-messages {
        display: none;
    }

    .dropdown-menu.show .new-messages {
        display: block;
        top: 11px;
    }

    .new-messages {
        float: none;
        right: 25% !important;
        margin-right: 0 !important;
        position: absolute;
        top: 10px;
        bottom: 0;
        z-index: 1000000;
        height: 20px;
        line-height: 1.5;
        display: block;
    }

    .mylim_dropdown.open .new-messages {
        float: none;
        right: 30% !important;
        margin-right: 0 !important;
        position: absolute;
        top: 9px;
        display: block;
        height: 20px;
    }
    .mylim_dropdown.open .dropdown-toggle > .new-messages {
        display: none;
    }

    .notify_sell {
        position: absolute;
        margin-left: 10px;
    }
    .navbar-toggle .notify_on {
        float: none;
        margin: -4px -10px 0 0 !important;
        position: absolute;
        right: auto;
        top: 0;
        left: 50px;
        height: 20px;
        display: block;
        line-height: 1.4;
    }
    .search-menu .navbar_search {
        /* padding-right: 15px; */
        max-width: 100% !important;
        margin-top: 0;
    }
    .search-menu .button-navs {
        margin: 10px 0;
        padding-left: 15px;
    }
    .search-menu .button-navs > a {
        margin-left: 0;
    }
    .side_menu_list_item a {
        line-height: 35px;
    }
    .autocomplete-categories .side_menu_list_item a{
        line-height: 24px;
    }
    .pretraga_main, .pretraga_main_btn {
        min-height: 40px;
    }
    .btn_postavi_aukciju {
        float: none !important;
        width: 100%;
        margin: 0 0 10px 0 !important;
    }
    .btn_postavi_aukciju .btn {
        line-height: 26px;
        width: 100%;
    }
}

@media screen and (max-width: 570px) {
    .glavni-menu .navbar-toggle {
        width: auto;
        position: absolute;
        top: 5px;
    }
    .search_form .btn-primary {
        padding: 6px;
    }
    .search-menu .button-navs {
        margin: 5px 0;
        padding-left: 15px;
        padding-right: 15px;
        width: 100% !important;
    }
}

@media screen and (max-width: 350px) {
    .glavni-menu .navbar-toggle {
        padding: 10px;
    }
    .glavni-menu .navbar-toggle .icon-bar {
        height: 2px;
        width: 22px;
    }
    .search_form .form-control {
        width: 70%;
        height: 29px;
    }
    .search_form .btn-primary {
        width: 30%;
    }
    .navbar-toggle .notify_on {
        left: 35px;
    }
    .pretraga_main, .pretraga_main_btn {
        min-height: 32px;
    }
}
@media screen and (max-width: 1389px) {
    .pretraga_main_btn {
        padding: 6px;
    }
}
