/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: #474747;
    -webkit-text-size-adjust: none;
}
body.loading{
    opacity: 0.6;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
h1, h2, h3, h4, h5, h6{
    font-weight: bold;
}
a{
    color: #a6192e;
}
a, a:hover{
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
strong{
    font-weight: 600;
}
textarea:focus, input:focus{
    outline: none;
}
*:focus {
    outline: none;
}
.form-row{
    display: flex;
    flex-direction: row;
    margin-left: -7px;
    margin-right: -7px;
}
.form-row .form-group{
    padding: 0 7px;
}
.width-2{
    width: 50%;
}
.width-3{
    width: 33.3%;
}
.width-4{
    width: 25%;
}
.width-45{
    width: 22.22%;
}
.width-5{
    width: 20px;
}
.form-row .form-group.width-45{
    padding-right: 2px;
}

.form-group{
    margin-bottom: 10px;
}
.form-group.disabled{
    padding: 12px 0;
}
.form-group label{
    display: block;
    margin-bottom: 6px;
}
.form-control{
    width: 100%;
    height: 38px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    padding: 0px 8px;
    border: 1px solid #c7c7c7;
    border-radius: 4px;
    background-color: #ffffff;
    color: #474747;
    box-sizing: border-box;
}
input:read-only, input:disabled{
    border-color: #c7c7c7;
    background-color: #e8e6e6;
}
input.hasDatepicker{
    border-color: #c7c7c7;
    background-color: #ffffff;
    cursor: pointer;
}
input:invalid {
    box-shadow: none !important;
}
.invalid-feedback{
    font-size: 11px;
    margin-top: 4px;
    color: red;
}
textarea.form-control{
    height: 81px;
    padding: 8px 7px;
    box-sizing: border-box;
    resize: none;
}
.btn{
    display: inline-block;
    height: 36px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 36px;
    text-align: center;
    text-decoration: none;
    padding: 0px 12px;
    border: 0;
    border-radius: 4px;
    color: #fff;
    background-color: #a6192e;
    border-color: #a6192e;
    cursor: pointer;
    box-sizing: border-box;
}
.btn + .btn{
    margin-top: 10px;
}
.btn-sm{
    height: 30px;
    line-height: 30px;
}
.btn-md{
    height: 40px;
    line-height: 40px;
}
.btn-wide{
    width: 100%;
}
.btn-light{
    background-color: #c7c7c7;
    border-color: #c7c7c7;
}
.btn-gray{
    background-color: #8a8787;
    border-color: #8a8787;
}
.btn-red {
    color: #fff;
    background-color: #a6192e;
    border-color: #a6192e;
}
.btn-black{
    background-color: #000;
    border-color: #000;
}
.btn-bold{
    font-size: 11px;
    font-weight: 600;
}
.form-group .select2-container{
    width: 100%!important;
}
.form-group .select2-container .select2-selection--single, .form-group .select2-container--default .select2-selection--single .select2-selection__arrow{
    height: 36px;
}
.form-group .select2-container--default .select2-selection--single .select2-selection__rendered{
    line-height: 36px;
}
.form-group .btn{
    width: 100%;
}
#ui-datepicker-div{
    font-size: 16px;
}


.archive-table{
    width: 100%;
    color: #444;
    border-collapse: collapse;
}
.archive-table tr th{
    height: 40px;
    line-height: 16px;
    text-align: left;
    padding: 6px;
    background: #222222;
    color: #fff;
    vertical-align: middle;
    box-sizing: border-box;
}
.archive-table tr td{
    height: 40px;
    line-height: 16px;
    padding: 6px;
    vertical-align: middle;
    box-sizing: border-box;
}
.archive-table tr:nth-child(2n + 1) td{
    background: #f7f7f7;
}
.archive-table tr > *:first-child{
    padding-left: 12px;
}
.archive-table tr > *:last-child{
    padding-right: 12px;
}
.archive-table a{
    text-decoration: none;
    color: #474747;
}
.archive-table a:hover{
    text-decoration: underline;
}
.archive-table span{
    display: block;
    font-size: 8px;
    margin-top: 2px;
}
.archive-table tr th.bold, .archive-table tr td.bold{
    font-weight: 600;
}
.archive-table.center tr th{
    padding: 6px 0;
}
.archive-table.center tr th, .archive-table.center tr td{
    text-align: center;
}


.single-table{
    width: 100%;
    color: #444;
    border-collapse: collapse;
}
.single-table.orders{
    margin-bottom: 30px;
}
.single-table tr th{
    width: 84px;
    line-height: 16px;
    text-align: left;
    padding: 6px 10px;
    background: #222;
    color: #fff;
    vertical-align: middle;
    box-sizing: border-box;
}
.single-table.orders tr th{
    width: 115px;
}
.single-table tr td{
    line-height: 16px;
    padding: 6px 10px;
    vertical-align: middle;
    box-sizing: border-box;
}
.single-table tr:nth-child(2n + 0) > th{
    background: #0c0c0c;
}
.single-table tr:nth-child(2n + 0) > td{
    background: #f7f7f7;
}
.single-table tr:first-child > th, .single-table tr:first-child > td{
    padding-top: 12px;
}
.single-table + .single-table{
    margin-top: 10px;
}


.clr{
    display: block;
	clear:both;
    float: none!important;
}
.overflow{
    overflow: hidden;
}
.hidden{
    display: none;
}

.login-page{
    text-align: center;
}
.login-logo{
    padding-top: 200px;
    padding-bottom: 60px;
}
.login-title{
    font-size: 16px;
    line-height: 19px;
    text-transform: uppercase;
    margin: 0;
    padding-bottom: 15px;
}
#login{
    width: 250px;
    margin: auto;
    padding-top: 15px;
}
.login-page .form-group{
    margin-bottom: 20px;
}
.btn-login{
    height: 70px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
}
.login-text{
    width: 250px;
    margin: auto;
}
.login-text .title{
    font-size: 14px;
    font-weight: bold;
    padding-top: 36px;
    padding-bottom: 10px;
}
.login-text p{
    margin: 0;
    line-height:16px;
}
.login-text p a{
    font-weight: bold;
    text-decoration: none;
    color: #474747;
}
.login-text p a:hover{
    text-decoration: underline;
}

.container.custompage {
    font-size: 14px;
    line-height: 16px;
}

.container.custompage p {
    margin-bottom: 20px;
}

.eu a {
    text-decoration: none;
    color: #333;
}

header{
    display: flex;
    flex-wrap: wrap-reverse;
    flex-direction: row;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    border-bottom: solid 1px #c7c7c7;
    background: #fff;
}
header .logo{
    display: flex;
    width: 70px;
    height: 70px;
    align-items: center;
    justify-content: center;
    margin-right: auto;
}
header .logo img{
    height: 35px;
    margin-top: 8px;
}
header .icon{
    display: flex;
    flex-direction: column;
    width: 60px;
    height: 70px;
    text-align: center;
    text-decoration: none;
    color: #444444;
}
header .icon.active{
    background: #eee;
}
header .icon.new{
    width: 96px;
    background: #a6192e;
    color: #fff;
}
header .icon .image{
    padding-top: 15px;
    padding-bottom: 4px;
}
header .icon .caption{
    line-height: 1;
}
header + div, header + main, header + p{
    margin-top: 70px;
}

.container{
    width: 100%;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px 15px;
    box-sizing: border-box;
}
#profile{
    margin-bottom: 30px;
}
#profile .btn{
    margin-top: 4px;
}

#search{
    display: flex;
    flex-direction: row;
    margin-bottom: 20px;
}
#search .btn{
    margin-left: 7px;
}

.single-title{
    display: flex;
    flex-direction: row;
}
.single-title h1, .single-title h2, .single-title h3, .single-title h4, .single-title h5, .single-title h6{
    font-size: 18px;
    font-weight: 600;
    line-height: 22px;
    margin-right: auto;
    margin-bottom: 4px;
    padding: 7px 0;
    color: #444;
}
.single-title.small h1, .single-title.small h2, .single-title.small h3, .single-title.small h4, .single-title.small h5, .single-title.small h6{
    font-size: 16px;
    font-weight: 400;
}
.single-title h1 span{
    display: block;
    font-size: 12px;
    margin-top: 5px;
}
.single-title .btn{
    margin-left: 7px;
    margin-bottom: 23px;
    white-space: nowrap;
}
.single-title.home{
    padding-top: 11px;
}
.single-title.home h1, .single-title.home h2, .single-title.home h3, .single-title.home h4, .single-title.home h5, .single-title.home h6{
    font-size: 22px;
    font-weight: 400;
    line-height: 27px;
}

.news-box{
    font-size: 12px;
    line-height: 15px;
    margin-bottom: 10px;
    padding: 15px 14px 10px 14px;
    background-color: #eeeeee;
    color: #222;
}
.news-box .date{
    float: right;
    font-size: 12px;
    margin-left: 5px;
    margin-bottom: 5px;
}
.news-box .page-title{
    font-size: 14px;
    font-weight: 600;
    line-height: 18px;
    margin-bottom: 10px;
}

.profit-info{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    text-align: center;
    margin-left: -7px;
    margin-right: -7px;
}
.profit-info .box{
    width: 50%;
    width: calc(50% - 14px);
    height: 96px;
    margin: 7px;
    padding-top: 9px;
    background: #f7f7f7;
    color: #444;
    box-sizing: border-box;
}
.profit-info .box .key{
    display: flex;
    height: 30px;
    font-size: 12px;
    line-height: 15px;
    margin-bottom: 12px;
    align-items: center;
    justify-content: center;
}
.profit-info .box .value{
    font-size: 20px;
    font-weight: 600;
    line-height: 24px;
}
.profit-info .box .value.green{
    color: #32a600;
}
.profit-info .box .value.red{
    color: #a6192e;
}

.client-info{
    display: flex;
    flex-direction: row;
    text-align: center;
    margin-top: 8px;
    margin-left: -9px;
    margin-right: -9px;
    margin-bottom: 6px;
}
.client-info .box{
    width: 33.3%;
    height: 67px;
    margin: 9px;
    padding-top: 14px;
    background: #f7f7f7;
    color: #444;
    box-sizing: border-box;
}
.client-info .box .key{
    font-size: 11px;
    line-height: 14px;
    margin-bottom: 7px;
}
.client-info .box .value{
    font-size: 16px;
    font-weight: 600;
    line-height: 19px;
}
.client-info .box.credit .value{
    font-size: 11px;
    line-height: 1.2727;
}

.products-cart{
    padding-top: 4px;
    padding-bottom: 26px;
}
.products-table{
    width: 100%;
    margin-bottom: 8px;
}
.products-table tr th{
    height: 40px;
    font-size: 12px;
    line-height: 15px;
    text-align: center;
    padding: 6px 0;
    background-color: #222222;
    color: #fff;
    vertical-align: middle;
    box-sizing: border-box;
}
.products-table tr td{
    height: 40px;
    font-size: 12px;
    line-height: 15px;
    text-align: center;
    padding: 6px 0;
    background: #fff;
    color: #444;
    vertical-align: middle;
    box-sizing: border-box;
}
.products-table tr:nth-child(2n + 1) td{
    background: #f7f7f7;
}
.products-table tr.empty td{
    background: #f7f7f7;
}
.products-table tr > *:first-child{
    padding-left: 9px;
}
.products-table tr > *:last-child{
    padding-right: 9px;
}
.products-table .quantity{
    display: flex;
    min-width: 80px;
    justify-content: center;
    align-items: center;
}
.products-table .quantity input{
    width: 26px;
    height: 30px;
    font-size: 11px;
    line-height: 30px;
    text-align: center;
    margin: 0;
    padding: 0;
    border: 0;
    background-color: #eeeeee;
    color: #222222;
}
.products-table .quantity .minus{
    width: 25px;
    height: 30px;
    font-size: 11px;
    line-height: 30px;
    text-align: center;
    margin-right: 2px;
    background-color: #222222;
    color: #fff;
    cursor: pointer;
}
.products-table .quantity .plus{
    width: 23px;
    height: 30px;
    font-size: 11px;
    line-height: 30px;
    text-align: center;
    margin-left: 4px;
    background-color: #a6192e;
    color: #fff;
    cursor: pointer;
}
.povratna-naknada {
    display: block;
    text-align: right;
    margin-bottom: 10px;
}

.povratna-naknada b {
    font-weight: 600;
    margin-right: 8px;
}

.povratna-naknada tbody {
    text-align: right;
    display: inline;
}

.total-table{
    float: right;
}
.total-table tr th{
    width: 80px;
    font-size: 12px;
    line-height: 15px;
    padding: 12px 0;
    background-color: #222222;
    color: #fff;
}
.total-table tr td{
    font-size: 12px;
    font-weight: 600;
    line-height: 15px;
    padding: 12px 10px;
    background: #f7f7f7;
    color: #444;
}

#validate-products{
    width: 1px;
    height: 1px;
    font-size: 0;
    line-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    opacity: 0.1;
}

.goals{
    padding-bottom: 10px;
}
.goals .goal{
    display: none;
    margin-bottom: 10px;
}
.goals .goal.show{
    display: block;
}
.goals .goal .bar{
    width: 100%;
    height: 32px;
    background: #eee;
}
.goals .goal .info{
    font-size: 12px;
    line-height: 15px;
    margin-bottom: 5px;
}
.goals .goal .info .name{
    float: left;
}
.goals .goal .info .price{
    float: right;
}
.goals .goal .bar .percentage{
    height: 32px;
    font-size: 12px;
    line-height: 32px;
    text-align: right;
    background: #a6192e;
    color: #fff;
    box-sizing: border-box;
}
.goals .goal .bar .percentage span{
    padding: 0 8px;
}

.popup{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    background: #fff;
    z-index: 99999999;
}
.popup .fixed{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
}
.popup .fixed .container{
    padding-bottom: 0;
}
.popup .fixed + *{
    margin-top: 120px;
}

.pager{
    display: flex;
    flex-direction: row;
    font-size: 11px;
    text-align: center;
    align-items: center;
    justify-content: center;
    margin-top: 25px;
}
.pager > span, .pager > a{
    margin: 0 1px;
}
.pager a{
    display: block;
    text-decoration: none;
    color: #222;
}
.pager .number{
    display: inline-block;
    width: 26px;
    height: 30px;
    line-height: 30px;
    border: solid 1px #eee;
    background: #fff;
    color: #222;
    box-sizing: border-box;
}
.pager .number.current{
    background: #eee;
}
.pager .next{
    margin-left: 3px;
}
.pager .prev, .pager .next{
    display: inline-block;
    height: 30px;
    line-height: 30px;
    padding: 0 8px;
    background: #222;
    color: #fff;
}
.pager .prev a, .pager .next a{
    color: #fff;
}
/*.pager .prev.current, .pager .next.current{
    display: none;
}*/

.eu {
    max-width: 500px;
    margin: 0 auto;
        margin-top: 0px;
    text-align: center;
    font-size: 14px;
    line-height: 18px;
    margin-top: 45px;
    margin-bottom:45px;
    padding-left:10px;
    padding-right:10px;
}

.custompage p img {
    max-width:520px;
    width: 100%;
    height: auto;
}

.eu span {
    display: block;
}

.eu img {
    max-width: 520px;
    width:95%;
}

.select-quantity{
    height: 30px;
    padding: 0px 8px;
    padding-right: 18px;
    border: 1px solid #c7c7c7;
    border-radius: 4px;
    background-color: #ffffff;
    color: #474747;
    -moz-appearance:none; /* Firefox */
    -webkit-appearance:none; /* Safari and Chrome */
    appearance:none;
}
.select-box{
    position: relative;
}
.select-box::after{
    border-color: #888 transparent transparent transparent;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    height: 0;
    right: 10px;
    margin-top: -2px;
    position: absolute;
    top: 50%;
    width: 0;
    content: '';
}

.export{
    margin-bottom: 20px;
}
.export .btn{
    width: 100%;
}

.flex-group{
    display: flex;
    flex-direction: row;
}
.flex-group .btn{
    width: auto;
    margin-left: 7px;
    white-space: nowrap;
}

@media all and (max-width:479px){
    .pager .number{
        display: none;
    }
    .pager .number.current{
        display: inline-block;
    }
    header .icon {
    width: 42px;
}
header .icon.new {
    width: 80px;
}
}
@media all and (max-width: 400px){
    .profit-info{
        margin-left: 0;
        margin-right: 0;
    }
    .profit-info .box{
        width: 100%;
        margin: 7px 0;
    }
}