﻿.container {
    width: 430px;
}

/*LOGIN*/
.login {
    float: right;
    display: flex;
    margin-right: 1em;
    position: relative;
    top: 6px;
}

.username {
    color: #fff;
}

.work-order-container {
    margin: 0 auto 2em;
    width: 100%;
}

/*MESSAGES*/

#notification:focus {
    outline: none;
    outline-offset: 2px;
}

.message-container {
    margin: 0 auto;
    width: 100%;
    height: 3em;
}

.message-box {
    margin-top: 1em;
    text-align: center;
    line-height: 2em;
}

    .message-box .k-button {
        width: 100%;
    }

.success {
    font-size: 12pt;
    font-weight: bold;
    color: green;
    border-radius: 5px;
}

.error {
    font-size: 12pt;
    font-weight: bold;
    color: red;
    border-radius: 5px;
}

/*GENERAL*/
.center {
    text-align: center;
}

.btn {
    width: 30%;
    padding: 1em;
    width: 100%;
    font-size: 10pt !important;
}

.floatLeft {
    float: left;
    width: 30%;
}

.floatRight {
    float: right;
    width: 30%;
}

.floatRightLong {
    float: right;
    width: 60%;
}

/*navbar*/
.navbar {
    display: inline-block;
    width: 100%;
    background-color: #333;
}

    .navbar a {
        float: left;
        font-size: 14px;
        color: white;
        text-align: center;
        padding: 14px 16px;
        text-decoration: none !important;
    }

    .navbar > .container {
        display: block !important;
    }

.center {
    text-align: center;
}

.control-label {
    font-weight: bold;
}

.form-group {
    margin-bottom: 10px;
}

/***********************STEPS************************/

.step-buttons {
    display: inline-block;
    width: 100%;
    margin-top: 3em;
}

.buttons {
    float: left;
    width: 100%;
    margin-top: 1em;
}

/***STEP 2: UPLOAD***/
.side {
    vertical-align: bottom;
    width: 100%;
}

.left {
    width: 75%;
    float: left;
}

.right {
    width: 20%;
    float: right;
}

.browseBtn {
    width: 100%;
    padding: 1em;
}

.undoBtn {
    width: 100%;
    display: none;
    float: right;
    margin-top: 3px;
}

#preview {
    display: none;
    width: 100%;
    height: auto;
    margin-top: 1em;
    margin-bottom: 1em;
}

/***EDIT TICKET***/
.ticket-buttons {
    margin-bottom: 4em;
}

/***STEP 3: OVERVIEW***/
.add-ticket-button {
    width: 100%;
    margin-bottom: 2em;
}

.ticketBtn .btn {
    margin-bottom: 1em;
    padding: 10px !important;
}

.ticket-box {
    padding: 2em;
    margin-bottom: 1em;
    text-shadow: 2px 2px 2px 0;
    background-color: lightgrey;
}

.ticket-label {
    font-size: 10pt;
    font-weight: bold;
}

.uploaded-ticket-image {
    width: 100%;
    height: 100%;
    margin-bottom: 1em;
}

.uploaded-ticket {
    width: 100%;
    height: 100%;
    margin-bottom: 1em;
}

/***DELETE TICKET MODAL***/
#ticket-modal {
    min-height: 350px;
}

/***STEP 4: SIGNATURE***/
.signature-pad {
    border: 1px solid black;
    border-radius: 5px;
    width: 100%;
    box-shadow: 0.5px 0.5px 0.5px 0.1px;
}

/*LOADING GIF*/
.spinner-title {
    margin: 0 auto;
    text-align: center;
    position: absolute;
    left: 550px;
    top: 400px;
}

#spinner {
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    /*background-color: rgba(255,255,255,0.7);*/
    z-index: 9999;
    display: none;
}

    #spinner::after {
        content: '';
        display: block;
        position: absolute;
        left: 50%;
        top: 40%;
        width: 40px;
        height: 40px;
        border-style: solid;
        border-color: #333;
        border-top-color: transparent;
        border-width: 5px;
        border-radius: 50%;
        -webkit-animation: spin .8s linear infinite;
        animation: spin .8s linear infinite;
    }

@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


@media (max-width: 1280px) {
    .container {
        width: 90%;
    }
}

@media (max-width: 1024px) {
    .container {
        width: 90%;
    }
}

@media (max-width: 880px) {
    .container {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .container {
        width: 90%;
    }
}
