/*
 * Specific styles of signin component
 */

/*
 * General styles
 */

.card-container.card {
    max-width: 350px;
    padding: 40px 40px;
}

.btn {
    font-weight: 700;
    height: 36px;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    cursor: pointer;
    background-color: #479ccf;
    color: #fff !important;
    text-shadow: 0 1px rgba(0, 0, 0, 0.4);
    background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.07), rgba(0, 0, 0, 0.15));
    background-image: -moz-linear-gradient(top, rgba(0, 0, 0, 0.07), rgba(0, 0, 0, 0.15));
    background-image: -ms-linear-gradient(top, rgba(0, 0, 0, 0.07), rgba(0, 0, 0, 0.15));
    background-image: -o-linear-gradient(top, rgba(0, 0, 0, 0.07), rgba(0, 0, 0, 0.15));
    box-shadow: inset 0 0 0px rgba(0, 0, 0, 0.8);
}

.btn-danger {
    font-weight: 700;
    height: 36px;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    cursor: pointer;
    background-color: #dd2f29;
    color: #fff !important;
    text-shadow: 0 1px rgba(0, 0, 0, 0.4);
    background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.07), rgba(0, 0, 0, 0.15));
    background-image: -moz-linear-gradient(top, rgba(0, 0, 0, 0.07), rgba(0, 0, 0, 0.15));
    background-image: -ms-linear-gradient(top, rgba(0, 0, 0, 0.07), rgba(0, 0, 0, 0.15));
    background-image: -o-linear-gradient(top, rgba(0, 0, 0, 0.07), rgba(0, 0, 0, 0.15));
    box-shadow: inset 0 0 0px rgba(0, 0, 0, 0.8);
}

.btn:hover {
    background-color: #4291c1;
}

.btn-danger:hover {
    font-weight: 700;
    height: 36px;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    cursor: pointer;
    background-color: #c9302c;
    color: #fff !important;
    text-shadow: 0 1px rgba(0, 0, 0, 0.4);
    background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.07), rgba(0, 0, 0, 0.15));
    background-image: -moz-linear-gradient(top, rgba(0, 0, 0, 0.07), rgba(0, 0, 0, 0.15));
    background-image: -ms-linear-gradient(top, rgba(0, 0, 0, 0.07), rgba(0, 0, 0, 0.15));
    background-image: -o-linear-gradient(top, rgba(0, 0, 0, 0.07), rgba(0, 0, 0, 0.15));
    box-shadow: inset 0 0 0px rgba(0, 0, 0, 0.8);
}

.btn:active {
    background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.07));
    background-image: -moz-linear-gradient(top, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.07));
    background-image: -ms-linear-gradient(top, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.07));
    background-image: -o-linear-gradient(top, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.07));
}

.active-btn {
    background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.07));
    background-image: -moz-linear-gradient(top, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.07));
    background-image: -ms-linear-gradient(top, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.07));
    background-image: -o-linear-gradient(top, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.07));
}

/*
 * Card component
 */

.card {
    background-color: #F7F7F7;
    /* just in case there no content*/
    padding: 20px 25px 30px;
    margin: 0 auto 25px;
    margin-top: 50px;
    /* shadows and rounded borders */
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    -moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
}

.profile-img-card {
    width: 96px;
    height: 96px;
    margin: 0 auto 10px;
    display: block;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
}

/*
 * Form styles
 */

.profile-name-card {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    margin: 10px 0 0;
    min-height: 1em;
}

.reauth-email {
    display: block;
    color: #404040;
    line-height: 2;
    margin-bottom: 10px;
    font-size: 14px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.form-signin #inputEmail,
.form-signin #inputName,
.form-signin #inputPassword {
    direction: ltr;
    /* height: 20px; */
    font-size: 16px;
}

.form-signin input[type=email],
.form-signin input[type=password],
.form-signin input[type=text],
.form-signin button {
    width: 100%;
    display: block;
    margin-bottom: 10px;
    z-index: 1;
    position: relative;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.form-signin .form-control:focus {
    border-color: rgb(104, 145, 162);
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgb(104, 145, 162);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgb(104, 145, 162);
}

.btn.btn-signin {
    /*background-color: #4d90fe; */
    /* background-color: rgb(104, 145, 162); */
    /* background-color: linear-gradient(rgb(104, 145, 162), rgb(12, 97, 33));*/
    padding: 0px;
    font-weight: 700;
    font-size: 14px;
    height: 36px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    border: none;
    -o-transition: all 0.218s;
    -moz-transition: all 0.218s;
    -webkit-transition: all 0.218s;
    transition: all 0.218s;
}

.btn.btn-signin:hover,
.btn.btn-signin:active,
.btn.btn-signin:focus {
    /* background-color: rgb(58, 66, 184); */
}

.forgot-password {
    color: rgb(104, 145, 162);
}

.forgot-password:hover,
.forgot-password:active,
.forgot-password:focus {
    /* color: rgb(58, 66, 184); */
}

.main {
    background-color: #F8F8F8;
    border: 1px solid #DDD;
    padding: 15px 5px 5px 5px;
    margin-top: 15px;
    box-shadow: inset 0 0 1px 0px rgba(0,0,0,.16);
    border-color: #e0e0e0;
    
    border-radius: 2px;
}

.main-footer {
    background-color: #F8F8F8;
    border: 1px solid #DDD;
    padding-top: 15px;
    margin-top: 15px;
    margin-bottom:15px;
    box-shadow: inset 0 0 1px 0px rgba(0,0,0,.16);
    border-color: #e0e0e0;
    
    border-radius: 2px;
}

.main-table {
    background-color: #F8F8F8;
    border: 1px solid #DDD;
    padding: 15px 5px 5px 5px;
    margin-top: 15px;
    box-shadow: inset 0 0 1px 0px rgba(0,0,0,.16);
    border-color: #e0e0e0;
    border-radius: 2px;
}

.login-wrapper {
    padding: 20px;
}

.ui-button {
    position: relative;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: inline-block;
    height: auto;
    margin: 0;
    background: inherit;
    border: 0;
    border-radius: inherit;
    font-family: inherit;
    font-weight: 400;
    white-space: nowrap;
    cursor: pointer;
    text-transform: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    vertical-align: middle;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 0.91rem 1.51rem;
    background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#f9fafb));
    background: linear-gradient(to bottom, #fff, #f9fafb);
    border: 1px solid #c4cdd5;
    -webkit-box-shadow: 0 1px 0 0 rgba(22, 29, 37, 0.05);
    box-shadow: 0 1px 0 0 rgba(22, 29, 37, 0.05);
    border-radius: 3px;
    font-size: 1.5rem;
    line-height: 1.6rem;
    color: #212b35;
    -webkit-transition-property: background, border, -webkit-box-shadow;
    transition-property: background, border, -webkit-box-shadow;
    transition-property: background, border, box-shadow;
    transition-property: background, border, box-shadow, -webkit-box-shadow;
    -webkit-transition-timing-function: cubic-bezier(0.64, 0, 0.35, 1);
    transition-timing-function: cubic-bezier(0.64, 0, 0.35, 1);
    -webkit-transition-duration: 150ms;
    transition-duration: 150ms;
    -webkit-tap-highlight-color: transparent;
}

.ui-button:hover {
    background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#fff));
    background: linear-gradient(to bottom, #fff, #fff);
    border-color: #337ab7;
    -webkit-box-shadow: 0 1px 0 0 rgba(22, 29, 37, 0.05);
    box-shadow: 0 1px 0 0 rgba(22, 29, 37, 0.05);
    color: #212b35;
}

.ui-button:active {
    background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#fff));
    background: linear-gradient(to bottom, #fff, #fff);
    border-color: #c4cdd5;
    -webkit-box-shadow: inset 0 1px 1px 0 rgba(99, 115, 129, 0.1), inset 0 1px 4px 0 rgba(99, 115, 129, 0.2);
    box-shadow: inset 0 1px 1px 0 rgba(99, 115, 129, 0.1), inset 0 1px 4px 0 rgba(99, 115, 129, 0.2);
}

.kartice {
    background-color: #FFF;
    border: 1px solid #DDD;
    padding: 5px 0 5px 0;
    box-shadow: inset 0 0 1px 0px rgba(0,0,0,.16);
    border-color: #e0e0e0;
    
    border-radius: 2px;
}

.kartica-naziv {
    margin-bottom: 10px;
    text-align: center;
    font-size: 16px;
}

.kartica-cena {
    margin-bottom: 10px;
    text-align: center;
    font-size: 32px;
}

ul {
    list-style-type: none;
}

.active {
    background: -webkit-gradient(linear, left top, left bottom, from(#6371c7), to(#5563c1));
    background: linear-gradient(to bottom, #6371c7, #5563c1);
    border-color: #3f4eae;
    -webkit-box-shadow: inset 0 1px 0 0 #6f7bcb;
    box-shadow: inset 0 1px 0 0 #6f7bcb;
    color: #ffffff;
}

.active:hover {
    background: -webkit-gradient(linear, left top, left bottom, from(#3f4eae), to(#3f4eae));
    background: linear-gradient(to bottom, #3f4eae, #3f4eae);
    border-color: #3f4eae;
    -webkit-box-shadow: inset 0 1px 0 0 #3f4eae;
    box-shadow: inset 0 1px 0 0 #6f7bcb;
    color: #ffffff;
}

#table_filter input {
    border: 1px solid black;
    padding-left: 3px;
}

table input {
    line-height: normal;
}

input{
    padding-left: 3px;
}

.menu-item {
    margin-bottom: 5px;
    user-select: none;
}

.menu-item a:hover {
    text-decoration: none;
}

.menu-item a:active {
    text-decoration: none;
}

.copyright {
    background-color: #eee;
}

.email-input {
    padding: 5px;
    border: 1px solid #ccc;
    width: 100%;
    border-radius: 3px;
}

.disabled {
    cursor: not-allowed;
    filter: alpha(opacity=65);
    -webkit-box-shadow: none;
    box-shadow: none;
    opacity: .65;
}

a:hover {
    text-decoration: none;
}

#add-form {
    background-color: white;
    border: 1px solid #ddd;
    padding: 4px;
    margin: 0;
    text-align: center;
}

#add {
    margin: 5px 5px 5px 0px;
}

.inputs {
    width: 100%;
}

.inline {
    display: -webkit-inline-box;
}

.no-margin {
    margin: 0;
    margin-top: 5px;
}

.btn.active {
    background-color: #479ccf;
    background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.07));
    background-image: -moz-linear-gradient(top, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.07));
    background-image: -ms-linear-gradient(top, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.07));
    background-image: -o-linear-gradient(top, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.07));
}

.hidden {
    visibility: hidden;
}

.red {
    color: #e03535;
}

.blue {
    color: #479ccf;
}

.delete {
    cursor: pointer;
    margin-left: 5px;
}

.save {
    cursor: pointer;
}

.edit {
    cursor: pointer;
}

#saveNew{
    height:auto;
}

#copy-aff{
    background-color: #479ccf;
    color: #fff !important;
    text-shadow: 0 1px rgba(0, 0, 0, 0.4);
    text-shadow: 0 1px rgba(0, 0, 0, 0.4);
    background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.07), rgba(0, 0, 0, 0.15));
    border: none;
    padding: 6px;
    font-weight: 700;
}

#copy-aff span{
    top: 0 !important;
}

.modal-content{
    border-radius: 2px;
}
.alert{
   color: red; 
   padding: 7px;
   margin-bottom: 0;
}

.save-invoice{
    cursor: pointer;
}
.delete-invoice{
    cursor: pointer;
    margin-left: 5px;
}

.save-new{
    position: absolute;
    top: 50%;
    left: 92%;
    transform: translate(-50%,-50%);
}
