html,
body {
    height: 100%;
    font-size: 15px;
}

body {
    font-family: 'Nunito Sans', 'Helvetica', 'Arial', sans-serif;
    color: #000;
    /* background: rgba(227, 174, 71, 0.1); */
}

.wrap {
    min-height: calc(100% - 40px);
    height: auto;
    background: url('/frontend/web/res/background1.jpg') no-repeat center;
    background-size: cover;
    /* margin: 0 auto -60px;
    padding: 0 0 60px; */
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height: 40px;
    background-color: #0a5dae;
    color: #fff;
    /* border-top: 1px solid #ddd; */
    /* padding-top: 20px; */
}
.footer > .container > p {
    margin-top: 10px;
    margin-bottom: 0;
}

.footer a,
.footer a:hover {
    color: #fff;
}

.card {
    border-color: #0a5dae;
}

.card, .card-header, .card-body {
    border-radius: 0;
}

.card-header {
    background: transparent;
    border: 0;
    font-weight: 600;
    padding: 2rem 1rem 0 2rem;
}
.card-body {
    padding: 1rem 2rem;
}

.list-group-item {
    border: 0;
}

.list-group-item,
.list-group-item:first-child,
.list-group-item:last-child {
    border-radius: 0;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Times New Roman', serif;
    font-weight: 600;
    /* letter-spacing: .016em; */
    /* text-transform: uppercase; */
}

h1, h2, h3, .h1, .h2, .h3 {
    font-size: 27px;
}

a, a:hover {
    color:#0a5dae;
    text-decoration: none;
}
a:focus {
    background: transparent;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: "\e151";
}

a.desc:after {
    content: "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view td {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}


#main-nav {
    align-content: center;
    align-items: center;
}

.btn-link {
    color: #0a5dae;
}

@media (max-width: 991px) {
    #main-navbar-collapse {
        position: absolute;
        top: 40px;
        left: 0;
        width: 100%;
        border-top: 1px solid #0a5dae;
        background: #fff;
        padding: 1rem;
        z-index: 1000;
        box-shadow: 0px 2px 3px rgba(0,0,0,0.2);
    }
    /* #preview .card {
        border-top: 0;
    } */
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}



.form-control {
    border-radius: 0;
}
.form-control:focus {
    box-shadow: none;
    border-color: #0a5dae;
}


.btn {
    border-radius: 0;
}
.btn:active, .btn:focus {
    box-shadow: none;
}

.btn-primary {
    background-color: #0a5dae;
    border-color: #0a5dae;
}
.btn-primary:hover {
    background-color: #077aea;
    border-color: #077aea;
}

.btn-reset {
    margin-bottom: 1rem;
    background: rgba(0,0,0,0.7);
    color: #fff;
}
.btn-reset:hover {
    color: #fff;
    background: rgba(0,0,0,0.8);
}


#main-nav > .nav-item {
    margin-right: 1rem;
}
#main-nav > .nav-item:last-child {
    margin-right: 0;
}

.navbar img {
    max-width: 88px;
}

.navbar-nav > li > a,
.navbar-brand {
    padding-top: 5px;
    padding-bottom: 5px;
}

/* .navbar-nav > li > .btn { */
    /* padding: */
/* } */

.navbar {
    min-height: 30px;
    height: 40px;
    margin: 0;
    box-shadow: 0 0px 2px rgba(0,0,0,0.2);
    background: #fff;
}
.navbar-brand {
    height: 30px;
    font-size: 0;
}

.navbar-nav > li > a, .c-link, .btn {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .5px;
}

.navbar-nav > li > a {
    color: rgba(0,0,0,0.6);
    transition: .4s color;
}

.navbar-nav > li > a:hover {
    background: transparent;
    color: #0a5dae;
}

.log-in-button a,
.navbar-nav > li.log-in-button > a {
    background: #0a5dae;
    color: #fff;

}
.log-in-button a:hover,
.navbar-nav > li.log-in-button > a:hover {
    color: #facb35;
}

.wrap > .container {
    padding-top: 20px;
}

.c-item {
    margin-bottom: 2rem;
    text-align: center;
}

.c-item .img-wrapper {
    display: inline-block;
    font-size: 0;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.1);
    transition: .4s;
}

.img-wrapper .img-fluid {
    transition: .4s;
}

.c-item:hover .img-wrapper {
    border-color: rgba(10, 93, 174, 0.5);
}

.c-item:hover .img-fluid {
    transform: scale(1.1) rotate(2deg);
}

.align-helper {
    display: table;
    height: 150px;
    width: 100%;
}
.align-helper .aligner {
    display: table-cell;
    vertical-align: middle;
}
.align-helper .aligner img {
    padding: 10px;
}




.navbar-toggler {
  border: none;
  background: transparent !important;
}

.navbar-toggler:focus {
  outline: none;
  background: transparent !important;
}

.navbar-toggler .icon-bar {
  background-color: #0a5dae;
  transform: rotate(0deg) translate(0px, 0px);
  transition: ease all .2s;
}

.navbar-toggler .icon-bar {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 1px;
}

.navbar-toggler .icon-bar+.icon-bar {
  margin-top: 4px;
}

.icon-bar:nth-child(2) {
  width: 16px;
  transition: ease all .2s;
}

.navbar-toggler:hover>.icon-bar:nth-child(2) {
  width: 22px;
  transition: ease all .2s;
}

.navbar-toggler:active>.icon-bar:nth-child(2) {
  width: 22px;
  transition: ease all .2s;
}

.navbar-toggler:not(.collapsed) .icon-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 4px);
  transition: ease all .2s;
}

.navbar-toggler:not(.collapsed) .icon-bar:nth-child(2) {
  opacity: 0;
  transition: ease all .2s;
}

.navbar-toggler:not(.collapsed) .icon-bar:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
  transition: ease all .2s;
}

.result-item {
    position: relative;
    line-height: 1;
    padding-bottom: .5rem;
    margin-bottom: .5rem;
}

.result-item:after {
    display: block;
    position: absolute;
    height: 1px;
    background: #bbb;
    bottom: 0;
    left: 15px;
    width: calc(100% - 30px);
    content: '';
}

.result-item:last-child:after {
    display: none;
}

.col-title {
    font-size: 12px;
}

.btn-primary.disabled, .btn-primary:disabled {
    color: #fff;
    background-color: #888;
    border-color: #888;
}

@media (max-width: 767px) {

    #main-nav > .nav-item {
        margin-right: 0;
    }
    .log-in-button a, .navbar-nav > li.log-in-button > a {
        padding: 10px;
    }
    .card-header {
        padding-left: 1rem;
        padding-top: 1rem;
    }
    .card-body {
        padding: 10px;
    }
    .result-item .col-value {
        font-size: 14px;
        line-height: 1.2;
        padding-bottom: 0.5rem;
    }
    .card-preview, #preview > .card {
        margin-top: 15px;
    }

    .row.row-items {
        margin-left: -3px;
        margin-right: -3px;
    }
    .col-item {
        padding-left: 3px;
        padding-right: 3px;
    }
    .col-item .c-link {
        display: block;
        font-size: 10px;
        line-height: 1.2em;
        letter-spacing: 0.3px;
    }
    .c-item {
        margin-bottom: 5px;
    }
    .c-link-title {
        display: block;
        margin-top: 5px;
        margin-bottom: 5px;
    }
    .card-produs-final {
        font-size: 14px;

    }
    .card-produs-final li {
        padding: 0;
        margin-bottom: 1rem;
    }


    .wrap > .container {
        padding-top: 10px;
    }
    .main-title h1 {
        margin-bottom: 0;
    }
    h1, h2, h3, .h1, .h2, .h3 {
        font-size: 20px;
    }

    button, html [type="button"], [type="reset"], [type="submit"] {
        -webkit-appearance: unset;
    }

}