﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

@import url('../ras/css/table-sort.css');

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.bg-box {
    background-color: #e9ecef;
}

.btn-ziprepair {
    color: #fff;
    background-color: #486893;
    border-color: #354e6e;
}

.btn-ziprepair:hover, .btn-ziprepair:focus, .btn-ziprepair:active, .btn-ziprepair.active, .open > .dropdown-toggle.btn-ziprepair {
    color: #fff;
    background-color: #6c8cb7;
    border-color: #436895;
}

.btn-ziprepair-red {
    color: #fff;
    background-color: #C80000;
    border-color: #640000;
}

.btn-ziprepair-red:hover, .btn-ziprepair-red:focus, .btn-ziprepair-red:active, .btn-ziprepair-red.active, .open > .dropdown-toggle.btn-ziprepair-red {
    color: #fff;
    background-color: #ff0606;
    border-color: #C80000;
}

.btn-ziprepair-orange {
    color: #fff;
    background-color: rgba(204, 102, 0, 1);
    border-color: #bd8d0f;
}

.btn-ziprepair-orange:hover, .btn-ziprepair-orange:focus, .btn-ziprepair-orange:active, .btn-ziprepair-orange.active, .open > .dropdown-toggle.btn-ziprepair-orange {
    color: #fff;
    background-color: #bd8d0f;
    border-color: rgba(204, 102, 0, 1);
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

/*********************************************/
body {
    padding-bottom: 20px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/*********************************************/

.ziprepair-background {
    background-color: #f0cb73;
    background-image: url('../images/backgroundWelcome.png');
    background-repeat: no-repeat;
    background-position: top right;
}

/*********************************************/
#nav {
    margin: 0;
}

nav {
    margin: 0;
}

.navbar {
    padding: 0;
}


#nav.affix {
    position: fixed;
    top: 0;
    width: 100%
}

.top-buffer {
    margin-top: 20px;
}

.navbar-dark {
    background-color: #bd8d0f;
}

    .navbar-dark .navbar-brand {
        color: #FFFFFF;
        margin-left: 10px;
    }

        .navbar-dark .navbar-brand:hover, .navbar-dark .navbar-brand:focus {
            color: #000000;
        }

    .navbar-dark .nav-item .nav-link {
        color: #FFFFFF;
    }

        .navbar-dark .nav-item .nav-link:hover, .navbar-dark .nav-item .nav-link:focus {
            color: #FFFFFF;
            background-color: rgba(204, 102, 0, 1);
        }

    .navbar-dark .nav-item .active {
        background-color: rgba(204, 102, 0, 1);
    }

        .navbar-dark .nav-item .active:hover {
            background-color: rgba(204, 102, 0, 1);
        }

.affix {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}

    /* fixed to top styles */
    .affix.navbar {
        background-color: #486893;
    }

        .affix.navbar .nav-item > a,
        .affix.navbar .navbar-brand {
            color: #fff;
        }

/*********************************************/

.tableFixHead {
    overflow-y: auto;
    max-height: 700px;
}

.tableFixHead-250 {
    height: 250px;
}

.tableFixHead table {
    border-collapse: collapse;
    width: 100%;
}

.tableFixHead th {
    position: sticky;
    top: 0;
    background: #eee;
}
/*********************************************/
.collapsible p.collapse:not(.show) {
    display: block;
    height: 3rem;
    overflow: hidden;
}

.collapsible p.collapsing {
    height: 3rem;
}

.collapsible a.collapsed::after {
    content: '+ Show More';
}

.collapsible a:not(.collapsed)::after {
    content: '- Show Less';
}
/*********************************************/

.appImage {
    width: 100%;
    max-width: 300px;
}

textarea {
    resize: vertical;
}

/****************Footer********************/
html {
    position: relative;
    min-height: 100%;
}

body {
    margin: 0 0 50px;
}


footer {
    position: absolute;
    bottom: 0;
    /*height: 50px;*/
    background-color: rgba(247, 247, 247, 1);
    width: 100%;
    left: 0px;
    border-top: 1px solid #e6e6e6;
    padding-top: 15px;
    padding-bottom: 6px;
    overflow: hidden;
}
/****************Footer********************/

.logText {
    font-family: "Courier New", Courier, monospace;
}

/********************/
.repairInfo-height {
    height: 400px;
}

.folder-row, .browseBreadCrumb {
    cursor: pointer;
}

.browseBreadCrumb {
    padding:0px;
    text-decoration:underline;
}
/********************/
.collapse-icon {
    transition: transform 0.2s ease;
}

button[aria-expanded="true"] .collapse-icon {
    transform: rotate(180deg);
}


progress {
    height: 0.75rem;
}

/********************/
/* TIMELINE (desktop only) */
.timeline {
    position: relative;
    margin-left: 40px;
}

    .timeline::before {
        content: '';
        position: absolute;
        left: 19px;
        top: 0;
        bottom: 0;
        width: 2px;
        background: #6c8cb7;
    }

/* STEP */
.timeline-step {
    position: relative;
    margin-bottom: 30px;
}

/* DESKTOP MARKER */
.timeline-marker {
    position: absolute;
    left: 0;
    top: 20px;
    width: 40px;
    height: 40px;
    background: #486893;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-weight: bold;
}

/* CARD */
.step-card {
    margin-left: 70px;
    border: none;
    border-radius: 12px;
    transition: all 0.2s ease;
}

    .step-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

/* ICON */
.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* MOBILE OPTIMIZATION */
@media (max-width: 768px) {

    .timeline {
        margin-left: 0;
    }

        .timeline::before {
            display: none;
        }

    .timeline-marker {
        display: none;
    }

    .icon-circle {
        width: 50px;
        height: 50px;
    }

    .step-card {
        margin-left: 0;
        padding: 10px;
    }
}

.bg-purple-subtle {
    background-color: #f3e8ff;
}

.text-purple {
    color: #6f42c1;
}

.step-card {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

    .step-card.visible {
        opacity: 1;
        transform: translateY(0);
    }
    