@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #424242;
}

body {
    background-color: #f2f2f2;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.btn-grey {
    padding: 4px 14px;
    font-size: 13px;
    border-radius: 2px;
    color: #555;
    margin: 0 5px;
    transition: background .25s;
    background: #eee
}

.btn-grey:hover {
    color: #fff;
    background: #34495e
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.main {
    flex: 1;
}

.main .top-row {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
}

.main .top-row > a {
    margin-left: 1.5rem;
}

.sidebar {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.sidebar .top-row {
    background-color: rgba(0,0,0,0.4);
}

.sidebar .navbar-brand {
    font-size: 1.1rem;
}

.sidebar .oi {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

.nav-item:first-of-type {
    padding-top: 1rem;
}

.nav-item:last-of-type {
    padding-bottom: 1rem;
}

.nav-item a {
    color: #d7d7d7;
    border-radius: 4px;
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
}

.nav-item a.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

.nav-item a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.content {
    padding-top: 1.1rem;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}



@media (max-width: 767.98px) {
    .main .top-row {
        display: none;
    }

    .wish-list-buttons .btn-group {
        margin-bottom: 20px;
    }

    .blazored-modal-container {
        margin-left: 10px;
        width: 95% !important;
    }
}

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }

    .sidebar {
        width: 200px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .main .top-row {
        position: sticky;
        top: 0;
        z-index: 100;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .navbar-hide,
    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}

.pull-right {
    float: right;
}

.our-outline,
.wish-list,
.wish-item {
    box-shadow: 0 0 4px 0 rgba(0,0,0,.25);
    background-color: #fff;
    padding: 5px;
    transition: box-shadow .3s ease-in-out;
    box-sizing: border-box;
}

.our-outline {
    padding:15px;
}

/***** Wish Item ********/

.wish-list {
    margin-bottom: 30px;
}

.out-outline:hover, .wish-list:hover, .wish-item:hover {
    box-shadow: 0 0 15px 0 rgba(0,0,0,.25);
}

.wish-list-buttons {
    padding: 0 5px 10px;
}

.wish-list h5 {
    padding-top: 15px;
}

.wish-list p {
    padding: 0 15px 0 15px;
}

/***** Wish Item ********/
.wish-item {
    margin-bottom: 10px;
    padding:10px;
}

.wish-item img {
    max-height: 110px;
    max-width: 100px;
}

.wish-item h3 {
}

.wish-item .quantity {
}

.fa-microsoft:before {
    content: "\f17a";
}


/******** Feedback **************/
/** https://github.com/spektom/bootstrap-feedback-form *****/
#feedback {
    position: fixed;
    left: 0;
    bottom: 0;
    height: 255px;
    margin-left: -3px;
    margin-bottom: -3px;
}

#feedback-form {
    padding: 5px;
    float: left;
    width: 300px;
    height: 100%;
    z-index: 1000;
    border: 1px solid rgba(0,0,0,.2);
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    border-radius: 0px;
    -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
    -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
    box-shadow: 0 5px 10px rgba(0,0,0,.2);
}

#feedback-tab {
    float: right;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    text-align: center;
    width: 120px;
    height: 42px;
    background-color: rgba(0,0,0,0.5);
    margin-top: 60px;
    margin-left: -42px;
    padding-top: 5px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
}

#feedback-tab:hover {
    background-color: rgba(0,0,0,0.4);
}

#feedback-form textarea {
    resize: none;
}

/* Footer */
footer {
    
    height: 35px;
    padding-top: 5px;
    padding-left: 10px;
    position: absolute;
    bottom: 0;
}

@media (max-width: 630px) {
    footer {
        display: none;
        height: 60px;
    }
}