﻿/* ** Definição de fontes ** */
@font-face {
    font-family: 'Roboto-Regular';
    src: url('../fonts/Roboto-Regular.ttf');
}

@font-face {
    font-family: 'PT-Sans';
    src: url('../fonts/PT_Sans-Web-Regular.ttf');
}



body {
    font-family: 'PT-Sans';
    color: #6A7D8E;
    font-size: 9pt;
    /*background-image: url(../images/logo_RCM_White.png);
    background-size: contain;
    background-repeat:no-repeat;
    background-position:center;*/
    background-color: rgba(240,240,245,0.5);
    height: 100%;
}

html, body {
    height: 100%;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding: 75px 15px 35px 15px;
    /*margin-bottom:500px;*/
}

input {
    padding: 4px;
}

    input:disabled {
        background-color: rgba(240,240,245,0.5);
    }


    input:-webkit-autofill {
        -webkit-animation-name: autofill;
        -webkit-animation-fill-mode: both;
    }

@-webkit-keyframes autofill {
    to {
        background: transparent;
    }
}

textarea:disabled {
    background-color: rgba(240,240,245,0.5);
}

hr {
    border-color: rgb(230,230,230);
}

.wrapper {
    padding: 20px 50px 50px 50px;
}

.wrap_table {
    padding-right: 10%;
    padding-left: 10%;
}


/* Loader */
#dimScreen {
    position: fixed;
    padding: 0;
    margin: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.35);
    z-index: 10000;
    transition: all 0.25s ease;
    -webkit-transition: all 0.25s ease;
    -moz-transition: all 0.25s ease;
    -o-transition: all 0.25s ease;
    -ms-transition: all 0.25s ease;
}

#loader {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 10001;
    width: 300px;
    height: 300px;
    margin: -75px 0 0 -75px;
    /*border: 7px solid #ebf2f9;*/
    border-radius: 50%;
    border-top: 7px solid #1B8FFC;
    width: 300px;
    height: 300px;
    -webkit-animation: spin 0.35s linear infinite;
    animation: spin 0.35s linear infinite;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

a:focus {
    background: none;
    text-decoration: none;
}

a:visited {
    background: none;
    text-decoration: none;
}

table tr {
    background: white;
}

.table-header {
    background-color: #1B8FFC;
    color: white;
}

.table_hover:hover {
    background-color: #dbedff;
    color: #6A7D8E;
    transition: all 0.15s ease-in;
    -webkit-transition: all 0.15s ease-in;
    -moz-transition: all 0.15s ease-in;
    -o-transition: all 0.15s ease-in;
    -ms-transition: all 0.15s ease-in;
}

.tab-responsive {
    overflow-x: auto;
    overflow-y: auto;
}

table {
    font-size: 9pt;
}

.th_hover {
    cursor: pointer;
    transition: all 0.15s ease-out;
    -webkit-transition: all 0.15s ease-out;
    -moz-transition: all 0.15s ease-out;
    -o-transition: all 0.15s ease-out;
    -ms-transition: all 0.15s ease-out;
}

    .th_hover:hover {
        background-color: #4fa9fc;
        transition: all 0.15s ease-in;
        -webkit-transition: all 0.15s ease-in;
        -moz-transition: all 0.15s ease-in;
        -o-transition: all 0.15s ease-in;
        -ms-transition: all 0.15s ease-in;
    }

.tr_selected {
    background-color: #4fa9fc;
    transition: all 0.15s ease-in;
    -webkit-transition: all 0.15s ease-in;
    -moz-transition: all 0.15s ease-in;
    -o-transition: all 0.15s ease-in;
    -ms-transition: all 0.15s ease-in;
}

table.sortable th::after, th.sorttable_sorted::after, th.sorttable_sorted_reverse::after {
    content: " ";
    display: inline-block;
    width: 17px;
    height: 17px;
}

th.sorttable_sorted::after {
    background: url(../images/sort-up.png);
    background-size: contain;
}

th.sorttable_sorted_reverse::after {
    background: url(../images/sort-down.png);
    background-size: cover;
}

#rmas {
    padding-top: 20px;
}

    #rmas:hover {
        cursor: pointer;
    }

#rmas2:hover {
    cursor: pointer;
}

#rma_chart {
    padding-top: 20px;
}

    #rma_chart:hover {
        cursor: pointer;
    }


#tab_tipos:hover, #tab_estados:hover {
    cursor: pointer;
}

#equip:hover {
    cursor: pointer;
}
/* The alert message box */
.alert_danger {
    padding: 10px;
    background-color: #f44336; /* Red */
    color: white;
    margin: 1.5em;
    width: 45%;
    transition: opacity 0.6s;
}

#ErrorPage .alert_danger {
    margin: 0;
    margin-left: 7.5%;
    width: 85%;
}

.alert_success {
    padding: 10px;
    background-color: #33cc33; /* Green */
    color: white;
    margin: 1.5em;
    width: 35%;
    transition: opacity 0.6s;
}

#SuccessPage .alert_success {
    margin: 0;
    margin-left: 7.5%;
    width: 85%;
}

.alert_info {
    padding: 10px;
    background-color: #57b5e3; /* Blue */
    color: white;
    margin-top: 2em;
    margin-bottom: 2em;
    transition: opacity 0.6s;
}

.alert_cookies {
    padding: 10px;
    background-color: #33cc33; /* Green */
    color: white;
    width: 100%;
    transition: opacity 0.6s;
    text-align: center;
}


/* close button */
.closebtn {
    margin-left: 15px;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.15s;
}

    /* When moving the mouse over the close button */
    .closebtn:hover {
        color: black;
    }



.link {
    color: #1B8FFC;
    transition: all 0.25s ease-out;
    -webkit-transition: all 0.25s ease-out;
    -moz-transition: all 0.25s ease-out;
    -o-transition: all 0.25s ease-out;
    -ms-transition: all 0.25s ease-out;
}

    .link:hover {
        color: #1B8FFC;
        cursor: pointer;
        text-decoration: none;
        text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
        transition: all 0.25s ease-in;
        -webkit-transition: all 0.25s ease-in;
        -moz-transition: all 0.25s ease-in;
        -o-transition: all 0.25s ease-in;
        -ms-transition: all 0.25s ease-in;
    }

    .link:focus {
        text-decoration: none;
    }

    .link:visited {
        text-decoration: none;
    }


/* *** Definições *** */
.definicoes {
    padding-left: 50px;
    padding-right: 50px;
}

.frame-definicoes {
    border: 0.5px solid rgba(27, 143, 252,0.45);
    border-radius: 5px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(27, 143, 252, 0.6);
    font-size: 9pt;
    padding: 10px;
    margin-top: 40px;
    margin-bottom: 40px;
}

    .frame-definicoes hr {
        border-color: rgb(230,230,230);
        margin-left: 0;
    }

#nav_logo {
    width: 100%;
}


    #nav_logo #div_logo {
        margin-left: 1%;
    }

        #nav_logo #div_logo h5 {
            margin-left: 20%;
            font-style: italic;
            font-weight: bold;
            padding-bottom: 7px;
            /*color: #1B8FFC;*/
        }

        #nav_logo #div_logo img {
            margin-top: 3%;
            margin-left: 20%;
        }


#nav_Estados {
    width: 100%;
    padding: 0;
}

    #nav_Estados .estados {
        width: 55%;
    }

        #nav_Estados .estados .form-group button[type="submit"] {
            border: none;
            background: none;
        }

        #nav_Estados .estados .alert_danger {
            width: 85%;
        }

        #nav_Estados .estados .alert_success {
            width: 85%;
        }

#nav_Tipos {
    width: 100%;
    padding: 0;
}

    #nav_Tipos .tipos {
        width: 55%;
    }

        #nav_Tipos .tipos .form-group button[type="submit"] {
            border: none;
            background: none;
        }

        #nav_Tipos .tipos .alert_danger {
            width: 85%;
        }

        #nav_Tipos .tipos .alert_success {
            width: 85%;
        }

#nav_Termos {
    width: 100%;
    margin: 0;
}


#link_mostrar_estados {
    background: none;
    border: none;
}

#link_mostrar_tipos {
    background: none;
    border: none;
}


/* Header */
.nav-header {
    padding-top: 5px;
    padding-bottom: 25px;
    background-color: white;
    /*box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.7);*/
}

    .nav-header p {
        color: #337AC6;
        margin-right: 10px;
        line-height: 30px;
        transition: all 0.25s ease-out;
        -webkit-transition: all 0.25s ease-out;
        -moz-transition: all 0.25s ease-out;
        -o-transition: all 0.25s ease-out;
        -ms-transition: all 0.25s ease-out;
    }

    .nav-header .btn-default {
        color: #337AC6;
        font-size: 11pt;
    }


.navbar-header img[alt] {
    font-size: 9pt;
}

.navbar-nav {
    margin-left: 30px;
    margin-bottom: 0;
    padding-top: 5px;
}

    .navbar-nav#navigation li {
        font-size: 10pt;
        text-transform: uppercase;
        font-weight: bold;
    }

        .navbar-nav#navigation li::after {
            content: '';
            display: block;
            margin: auto;
            width: 0;
            height: 2px;
            background: transparent;
            transition: width 0.5s, background-color 0.5s ease;
        }

        .navbar-nav#navigation li:hover::after {
            width: 100%;
            background: #1B8FFC;
            /*transition: width .3s;*/
        }

        .navbar-nav#navigation li:hover a {
            background: none;
        }


    .navbar-nav li a:focus {
        background: none;
    }

    .navbar-nav li a:visited {
        background: none;
    }


    .navbar-nav li p a {
        margin-right: 20px;
    }

        .navbar-nav li p a:hover {
            text-decoration: none;
            text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
            border: none;
            background-color: white;
            color: #337AC6;
            transition: all 0.25s ease-in;
            -webkit-transition: all 0.25s ease-in;
            -moz-transition: all 0.25s ease-in;
            -o-transition: all 0.25s ease-in;
            -ms-transition: all 0.25s ease-in;
        }

        .navbar-nav li p a:focus {
            background: none;
        }

        .navbar-nav li p a:visited {
            background: none;
        }



.nav_login {
    float: right;
    margin-right: 40px;
}

    .nav_login .perfil {
        margin-top: 15px;
        color: #2a5f95;
        text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
        font-size: 12pt;
    }

        /* Dropdown */
        .nav_login .perfil .dropdown {
            cursor: pointer;
            position: relative;
            display: inline-block;
            text-align: left;
        }

        .nav_login .perfil ul.dropdown li.dropbtn {
            background: url("../images/user-icon-circle-azul.png");
            background-size: cover;
            width: 35px;
            height: 35px;
            list-style: none;
            transition: all 0.45s ease-out;
            -webkit-transition: all 0.45s ease-out;
            -moz-transition: all 0.45s ease-out;
            -o-transition: all 0.45s ease-out;
            -ms-transition: all 0.45s ease-out;
        }

            .nav_login .perfil ul.dropdown li.dropbtn ul.dropdown-content {
                position: absolute;
                left: -80px;
                top: 40px;
                background-color: white;
                width: auto;
                box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
                z-index: -1;
                visibility: hidden;
                opacity: 0;
                transition: all 0.35s ease-in-out 0s, visibility 0s linear 0.35s, z-index 0s linear 0.05s;
                text-align: left;
                padding: 0;
            }

                .nav_login .perfil ul.dropdown li.dropbtn ul.dropdown-content li {
                    list-style: none;
                    margin: 5px;
                    text-shadow: none;
                    font-weight: bold;
                }

                    .nav_login .perfil ul.dropdown li.dropbtn ul.dropdown-content li a {
                        color: #2a5f95;
                        font-weight: bold;
                        font-size: 10pt;
                        text-shadow: none;
                        text-decoration: none;
                        text-transform: none;
                        display: block;
                        padding: 5px;
                        transition: all 0.35s ease-out;
                        -webkit-transition: all 0.35s ease-out;
                        -moz-transition: all 0.35s ease-out;
                        -o-transition: all 0.35s ease-out;
                        -ms-transition: all 0.35s ease-out;
                    }

                        .nav_login .perfil ul.dropdown li.dropbtn ul.dropdown-content li a:hover {
                            background-color: #2a5f95;
                            color: white;
                            text-shadow: none;
                            transition: all 0.35s ease-in;
                            -webkit-transition: all 0.35s ease-in;
                            -moz-transition: all 0.35s ease-in;
                            -o-transition: all 0.35s ease-in;
                            -ms-transition: all 0.35s ease-in;
                        }

                    .nav_login .perfil ul.dropdown li.dropbtn ul.dropdown-content li button {
                        padding: 0;
                        border: none;
                        background: none;
                        color: #2a5f95;
                        font-weight: bold;
                        text-shadow: none;
                        text-decoration: none;
                        display: block;
                        padding: 5px;
                        transition: all 0.35s ease-out;
                        -webkit-transition: all 0.35s ease-out;
                        -moz-transition: all 0.35s ease-out;
                        -o-transition: all 0.35s ease-out;
                        -ms-transition: all 0.35s ease-out;
                    }

                        .nav_login .perfil ul.dropdown li.dropbtn ul.dropdown-content li button:hover {
                            background-color: #2a5f95;
                            color: white;
                            text-shadow: none;
                            transition: all 0.35s ease-in;
                            -webkit-transition: all 0.35s ease-in;
                            -moz-transition: all 0.35s ease-in;
                            -o-transition: all 0.35s ease-in;
                            -ms-transition: all 0.35s ease-in;
                        }

            .nav_login .perfil ul.dropdown li.dropbtn:hover .dropdown-content {
                text-shadow: none;
                visibility: visible; /* shows sub-menu */
                opacity: 1;
                z-index: 1;
                transform: translateY(0%);
                transition-delay: 0s, 0s, 0.35s; /* this removes the transition delay so the menu will be visible while the other styles transition */
            }

            .nav_login .perfil ul.dropdown li.dropbtn:hover {
                background: url("../images/user-icon-circle-branco-azul.png") no-repeat;
                background-size: cover;
                transition: all 0.45s ease-in;
                -webkit-transition: all 0.45s ease-in;
                -moz-transition: all 0.45s ease-in;
                -o-transition: all 0.45s ease-in;
                -ms-transition: all 0.45s ease-in;
            }

/* Login */
.login-page {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.login-form {
    padding-left: 5%;
    padding-top: 18%;
    float: left;
    overflow: hidden;
    width: 35%;
    height: 100%;
    margin: 0;
    background-color: white;
}

    .login-form .login-form-data {
        width: 70%;
    }

        .login-form .login-form-data input {
            font-size: 9pt;
        }

.logo_bg {
    background-color: #1B8FFC;
    float: right;
    overflow: hidden;
    width: 65%;
    height: 100%;
    margin: 0;
}

    .logo_bg .logo_login {
        margin-top: 35%;
        margin-left: 25%;
    }

        .logo_bg .logo_login img {
            width: 70%;
        }

.btn-default {
    padding: 6px;
    color: #6A7D8E;
    font-size: 9pt;
    transition: all 0.35s ease-out;
    -webkit-transition: all 0.35s ease-out;
    -moz-transition: all 0.35s ease-out;
    -o-transition: all 0.35s ease-out;
    -ms-transition: all 0.35s ease-out;
}

    .btn-default:hover {
        background-color: #1B8FFC;
        color: white;
        text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
        transition: all 0.35s ease-in;
        -webkit-transition: all 0.35s ease-in;
        -moz-transition: all 0.35s ease-in;
        -o-transition: all 0.35s ease-in;
        -ms-transition: all 0.35s ease-in;
    }

    .btn-default:focus {
        background-color: none;
    }

    .btn-default:visited {
        background-color: none;
    }

.btn:focus {
    background-color: none;
}

.btn:visited {
    background-color: none;
}


button[type=button]:focus {
    background-color: none;
}

button[type=button]:visited {
    background-color: none;
}

.search-frame {
    border-radius: 5px;
    margin-bottom: 10px;
    width: 30%;
}

    .search-frame input[type="text"] {
        border-radius: 3px;
        height: 30px;
        margin-right: 5px;
        font-size: 9pt;
        display: none;
        width: 0%;
        padding: 5px;
    }

    .search-frame #searchbtn {
        background-color: white;
        background-image: url("../images/searchicon.png");
        background-position: 5px 5px;
        background-repeat: no-repeat;
        height: 30px;
        width: 30px;
        border: 1px #cccccc solid;
        transition: all 0.35s ease-out;
        -webkit-transition: all 0.35s ease-out;
        -moz-transition: all 0.35s ease-out;
        -o-transition: all 0.35s ease-out;
        -ms-transition: all 0.35s ease-out;
    }

        .search-frame #searchbtn:hover {
            border: 1px solid rgb(27, 143, 252);
            -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.2), 0 0 0 3px rgba(27, 143, 252,0.4);
            -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.2), 0 0 0 3px rgba(27, 143, 252,0.4);
            box-shadow: inset 0 1px 2px rgba(0,0,0,0.2), 0 0 0 3px rgba(27, 143, 252,0.4);
            transition: all 0.35s ease-in;
            -webkit-transition: all 0.35s ease-in;
            -moz-transition: all 0.35s ease-in;
            -o-transition: all 0.35s ease-in;
            -ms-transition: all 0.35s ease-in;
        }

    .search-frame select {
        font-size: 9pt;
        height: 30px;
        width: 30%;
        border-radius: 1px;
        padding: 5px;
    }

.hover-success:hover {
    background-color: #449D44;
}

.hover-danger:hover {
    background-color: #C9302C;
}

/* Formulários*/
.frame {
    border: 0.5px solid rgba(27, 143, 252,0.45);
    padding: 20px;
    border-radius: 5px;
    font-size: 9pt;
    background-color: white;
}

    .frame input {
        font-size: 9pt;
        height: 30px;
        padding: 5px;
    }

    .frame select {
        font-size: 9pt;
        height: 30px;
    }

.rma-page {
    padding: 30px 50px 0 50px;
}

#formRMA {
    padding: 0 15px 20px 15px;
}

.frame-rma {
    border: 0.5px solid rgba(27, 143, 252,0.45);
    border-radius: 5px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(27, 143, 252, 0.6);
    font-size: 9pt;
    padding: 10px 10px 0 40px;
    margin-top: 15px;
    margin-bottom: 40px;
}

frame-rma hr {
    margin-bottom: 0;
    padding-bottom: 0;
}

.frame-rma .row {
    margin-bottom: 20px;
}


.frame-rma .box-title {
    margin-bottom: 0;
    padding: 0;
}

#box-cliente {
    background-color: white;
}

#box-equipamento {
    background-color: white;
}

#box-reparador {
    background-color: white;
    width: 60%;
    height: 485px;
    float: left;
}

#box-historico {
    background-color: white;
    width: 39%;
    height: 485px;
    overflow-y: scroll;
    float: right;
}

.frame-rma .box-data {
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
}

.frame-rma input {
    font-size: 9pt;
    height: 30px;
    padding: 4px;
}

    .frame-rma input[type="radio"] {
        font-size: 9pt;
        padding: 10px;
    }

.frame-rma .row .form-group textarea {
    height: 70px;
    font-size: 9pt;
}

.frame-rma select {
    font-size: 9pt;
    padding: 4px;
    height: 30px;
}

.frame-rma .form-btns {
    padding: 20px 20px 5px 20px;
    float: right;
    position: relative;
}

.frame-rma .precos {
    /*border:1px solid red;*/
    /*margin-left: 10px;*/
    width: 25%;
}

    .frame-rma .precos label {
        width: 100%;
    }

    .frame-rma .precos input {
        width: 60%;
    }

.frame-rma .pagamento {
    border: 0.5px solid rgba(27, 143, 252,0.45);
    border-radius: 5px;
    margin-top: 23px;
    margin-left: 20px;
    margin-right: 30px;
    width: 13%;
}

.frame-rma .pagament #pago50 {
    padding: 0;
}

.frame-rma .pagament #pago {
    padding: 0;
}

.frame-rma #rep-entregue {
    /*border: 0.5px solid rgba(27, 143, 252,0.45);
    border-radius: 5px;*/
    padding: 5px;
    margin-left: 18px;
    width: 15%;
}

    .frame-rma #rep-entregue #sucesso {
        height: 10px;
    }

    .frame-rma #rep-entregue #reprovado {
        height: 10px;
        margin-bottom: 20px;
    }

.nrepair {
    width: 30%;
    margin-left: 0;
}

    .nrepair label {
        width: 100%;
    }

    .nrepair input {
        width: 40%;
    }

#reparador_ext {
    width: 30%;
}

#selogarantia {
    width: 40%;
}


#custo-reparacao {
    width: 30%;
}

    #custo-reparacao input {
        width: 50%;
    }

.btn-sm {
    padding: 2px;
}

td a {
    width: 22px;
    height: 22px;
    text-align: right;
}

textarea {
    resize: none;
}


.frame-check {
    border: 0.5px solid rgba(27, 143, 252,0.45);
    border-radius: 5px;
    font-size: 9pt;
    height: 50px;
    margin-right: 5px;
    width: 35%;
    padding: 5px;
    margin-top: 3px;
}

    .frame-check label {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .frame-check input[type="checkbox"] {
        margin-left: 5px;
        margin-top: 0;
        height: 17px;
        width: 17px;
    }

.frame-equip {
    border: 0.5px solid rgba(27, 143, 252,0.45);
    padding: 20px;
    border-radius: 5px;
    font-size: 9pt;
    width: 50%;
}

    .frame-equip input {
        font-size: 9pt;
        height: 30px;
        padding: 5px;
    }

    .frame-equip select {
        font-size: 9pt;
        height: 30px;
        padding: 5px;
    }


footer {
    position: absolute;
    /*bottom: 0;*/
    width: 100%;
    background: rgba(0,0,0,0.85);
    color: #9f9f9f;
    font-size: 9pt;
    padding: 5px;
}

    footer .copyright {
        float: left;
        text-align: left;
        width: 25%;
        padding-top:10px;
    }

        footer .copyright p {
            text-anchor: end;
        }

            footer .copyright p a {
                transition: all 0.35s ease-out;
                -webkit-transition: all 0.35s ease-out;
                -moz-transition: all 0.35s ease-out;
                -o-transition: all 0.35s ease-out;
                -ms-transition: all 0.35s ease-out;
            }

                footer .copyright p a:hover {
                    text-decoration: none;
                    color: #e57702;
                    transition: all 0.35s ease-in;
                    -webkit-transition: all 0.35s ease-in;
                    -moz-transition: all 0.35s ease-in;
                    -o-transition: all 0.35s ease-in;
                    -ms-transition: all 0.35s ease-in;
                }

                footer .copyright p a:focus {
                    text-decoration: none;
                }

                footer .copyright p a:visited {
                    text-decoration: none;
                }


    footer .logo_footer {
        float: right;
        text-align: right;
        margin: 0;
        padding: 0;
    }

        footer .logo_footer img {
            width: 115px;
            float: right;
            margin-top: -8px;
            margin-right: 10px;
        }


#pdf_ticket {
    padding: 50px;
    font-size: 8pt;
    text-align: center;
    width: 40%;
}

    #pdf_ticket h5 {
        font-size: 8pt;
    }

    #pdf_ticket .frame-rma {
        font-size: 8pt;
    }

    #pdf_ticket #campos_ticket input:disabled {
        background-color: white;
        font-size: 8pt;
    }

    #pdf_ticket #campos_ticket textarea:disabled {
        background-color: white;
        font-size: 8pt;
    }

    #pdf_ticket #campos_ticket input[type=checkbox]:disabled {
        background: none;
    }

    #pdf_ticket input[type=checkbox] {
        margin-left: 10px;
        margin-top: 0;
    }

    #pdf_ticket #campos_ticket label.check_label {
        margin-top: 30px;
    }

.termos {
    padding: 10px;
}

    .termos h2 {
        font-size: 10pt;
    }

    .termos p {
        font-size: 8pt;
    }

        .termos p.items {
            font-size: 8pt;
        }



#pdf_orcamento {
    width: 100%;
    padding: 50px;
    font-size: 9pt;
    text-align: center;
}

    #pdf_orcamento h5 {
        font-size: 9pt;
    }

    #pdf_orcamento #buttons {
        padding: 10px;
        text-align: left;
    }

    #pdf_orcamento .frame-rma {
        font-size: 9pt;
    }

    #pdf_orcamento #campos_orcamento input:disabled {
        background-color: white;
        font-size: 9pt;
    }

    #pdf_orcamento #campos_orcamento textarea:disabled {
        background-color: white;
        font-size: 9pt;
    }

    #pdf_orcamento #campos_orcamento input[type=checkbox]:disabled {
        background: none;
    }

    #pdf_orcamento input[type=checkbox] {
        margin-left: 10px;
        margin-top: 0;
    }

    #pdf_orcamento #campos_orcamento label.check_label {
        margin-top: 30px;
    }

#pdf_relatorio {
    width: 100%;
    /*margin-left: 5%;*/
    padding: 50px;
    font-size: 9pt;
    text-align: center;
}

    #pdf_relatorio #page-report {
        padding-top: 0;
    }

        #pdf_relatorio #page-report h5 {
            font-size: 9pt;
        }

        #pdf_relatorio #page-report #buttons {
            padding: 10px;
            text-align: left;
        }

        #pdf_relatorio #page-report .frame-rma {
            font-size: 9pt;
        }

        #pdf_relatorio #page-report #campos_orcamento input:disabled {
            background-color: white;
            font-size: 9pt;
        }

        #pdf_relatorio #page-report #campos_orcamento textarea:disabled {
            background-color: white;
            font-size: 9pt;
        }

        #pdf_relatorio #page-report #campos_orcamento input[type=checkbox]:disabled {
            background: none;
        }

        #pdf_relatorio #page-report input[type=checkbox] {
            margin-left: 10px;
            margin-top: 0;
        }

        #pdf_relatorio #page-report #campos_orcamento label.check_label {
            margin-top: 30px;
        }

#print_btns {
    width: 100%;
    text-align: left;
    margin-bottom: 5%;
    margin-left: 2%;
}



/**** Gráficos ****/
#charts_page {
    margin-bottom: 0;
}

#metrics_window {
    padding: 0;
    text-align: center;
    display: flex;
}

    #metrics_window .frame {
        padding: 0;
        width: 24%;
        height: 60px;
        margin-left: 0;
        margin-right: 1.33%;
        padding: 13px;
        text-align: center;
    }

        #metrics_window .frame.avg_time {
            padding-top: 5px;
        }

    #metrics_window .last_metric {
        margin-right: 0;
    }

    #metrics_window .frame h5 {
        padding: 0;
        vertical-align: middle;
        font-weight: bold;
        color: #1B8FFC;
        font-size: 9pt;
    }

        #metrics_window .frame h5 span {
            vertical-align: middle;
            font-weight: bold;
            color: #6A7D8E;
        }


#charts_window {
    margin-top: 30px;
}

    #charts_window #chart_container_1 {
        float: left;
        width: 49.33%;
        text-align: center;
        height: 450px;
    }

        #charts_window #chart_container_1 #chart_estados {
            width: 100%;
            height: 300px;
        }

        #charts_window #chart_container_1 h4 {
            color: #1B8FFC;
            font-weight: bold;
        }

    #charts_window #chart_container_2 {
        float: right;
        width: 49.33%;
        text-align: center;
        height: 450px;
    }

        #charts_window #chart_container_2 #chart_dates {
            width: 100%;
            /*height: 290px;*/
        }

        #charts_window #chart_container_2 h4 {
            color: #1B8FFC;
            font-weight: bold;
        }

#data_ini {
    border: 0.5px solid rgba(27, 143, 252,0.45);
    border-radius: 5px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(27, 143, 252, 0.6);
    font-size: 9pt;
    text-align: center;
    padding: 5px;
}

#data_fim {
    border: 0.5px solid rgba(27, 143, 252,0.45);
    border-radius: 5px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(27, 143, 252, 0.6);
    font-size: 9pt;
    text-align: center;
    padding: 5px;
}

#ORs_window {
    margin-top: 50px;
}


/** Timeline **/
.timeline {
    margin-top: 80px;
    margin-left: -65px;
}

    .timeline ul li {
        list-style-type: none;
        position: relative;
        width: 2px;
        margin: 0 auto;
        padding-top: 20px;
        background: #1B8FFC;
    }

        .timeline ul li:first-child {
            padding-top: 0;
        }

        .timeline ul li::after {
            content: '';
            position: absolute;
            left: 50%;
            bottom: 0;
            transform: translateX(-50%);
            width: 15px;
            height: 15px;
            border-radius: 50%;
            background: inherit;
        }


        .timeline ul li div {
            position: relative;
            bottom: 0;
            width: 160px;
            padding: 5px;
            background: white;
            color: #1B8FFC;
            border: 0.5px solid rgba(27, 143, 252,0.45);
            box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(27, 143, 252, 0.6);
        }

            .timeline ul li div time {
                border-bottom: 1px solid rgba(0,0,0,0.25);
            }

            .timeline ul li div p {
                margin-top: 5px;
            }

            .timeline ul li div::before {
                content: '';
                position: absolute;
                bottom: 0;
                width: 0;
                height: 0;
                border-style: solid;
            }

        .timeline ul li:nth-child(odd) div {
            left: 40px;
        }

            .timeline ul li:nth-child(odd) div::before {
                left: -25px;
                border-width: 8px 16px 8px 0;
                border-color: transparent rgba(27, 143, 252, 0.35) transparent transparent;
            }

        .timeline ul li:nth-child(even) div {
            left: -197px;
            background: white;
            color: #1B8FFC;
            border: 0.5px solid rgba(27, 143, 252,0.45);
            box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(27, 143, 252, 0.6);
        }

            .timeline ul li:nth-child(even) div time {
                border-bottom: 1px solid rgba(0,0,0,0.25);
            }

            .timeline ul li:nth-child(even) div p {
                margin-top: 5px;
            }

            .timeline ul li:nth-child(even) div::before {
                right: -25px;
                border-width: 8px 0 8px 16px;
                border-color: transparent transparent transparent rgba(27, 143, 252, 0.35);
            }

/** End Timeline **/

@media print {
    /* Setting content width, unsetting floats and margins */
    /* Attention: the classes and IDs vary from theme to theme. Thus, set own classes here */
    #content, #page {
        width: 100%;
        margin: 0;
        float: none;
    }

    /** Setting margins */
    @page {
        margin: 0;
        margin-top: 10pt;
    }

    body {
        /*font-family:'Times New Roman';*/
        font-family: Arial;
        font-weight: bold;
        color: #000;
        background: #fff;
        font-size: 8pt;
        width: 100%;
        padding: 0;
    }


    #pdf_orcamento {
        margin-left: 30pt;
        width: 500pt;
    }

    #pdf_relatorio {
        margin-left: 10pt;
        width: 1000pt;
        display: flex;
    }

    #page-report {
        width: 450pt;
    }

    .frame-rma {
        /*border: 0.5px solid rgba(27, 143, 252,0.45);*/
        padding: 5pt;
        border-radius: 5pt;
        font-size: 8pt;
        margin: 0;
    }

        .frame-rma label {
            font-size: 8pt;
            /*font-weight: bold;*/
        }

        .frame-rma input {
            font-size: 8pt;
            /*font-weight: bold;*/
            height: 15pt;
            padding: 3pt;
        }

        .frame-rma textarea {
            font-size: 8pt;
            /*font-weight: bold;*/
            padding: 3pt;
        }

    #dados_cliente1, #dados_cliente2, #dados_cliente3, #dados_morada1, #dados_morada2,
    #equipamento, #NS_IMEI, #div_acessorios, #div_danos, #div_avaria, #div_orcamento, #div_pago {
        display: flex;
    }


    #print_btns {
        display: none;
    }


    .termos {
        margin-top: 0;
    }

    #termos_title {
        font-size: 9pt;
    }

    .termos p {
        font-size: 8pt;
    }

    #logo {
        width: 60%;
    }

    /* Ticket */

    #pdf_ticket {
        font-size: 8pt;
        /*font-weight: bold;*/
        width: 240pt;
        margin: 0;
        padding: 2pt;
        margin-left: 2pt;
    }

        #pdf_ticket .frame-rma #campos_ticket {
            padding: 2pt 10pt 2pt 10pt;
        }

        #pdf_ticket #logo {
            margin-bottom: 8pt;
        }

        #pdf_ticket h5 {
            font-size: 8pt;
            /*font-weight: bold;*/
        }

        #pdf_ticket label {
            font-size: 8pt;
            /*font-weight: bold;*/
        }

        #pdf_ticket .form-control {
            font-size: 8pt;
            /*font-weight: bold;*/
        }

        #pdf_ticket #assist {
            float: left;
            margin-bottom: 2pt;
            margin-left: 12pt;
            margin-right: 0;
            font-size: 7pt;
            /*font-weight:bold;*/
            padding: 0;
        }

        #pdf_ticket #date {
            float: right;
            margin-bottom: 2pt;
            margin-right: 12pt;
            margin-left: 0;
            font-size: 7pt;
            /*font-weight: bold;*/
            padding: 0;
        }


        #pdf_ticket #campos_ticket .row {
            margin-top: 3pt;
            margin-bottom: 3pt;
        }

        #pdf_ticket #ID {
            width: 75pt;
            margin-right: 2pt;
            margin-bottom: 2pt;
        }


        #pdf_ticket #nome {
            width: 160pt;
            margin-right: 2pt;
            margin-bottom: 2pt;
        }

        #pdf_ticket #imei {
            width: 170pt;
            margin-right: 2pt;
            margin-bottom: 2pt;
        }

        #pdf_ticket #email {
            width: 175pt;
            margin-right: 2pt;
            margin-bottom: 2pt;
        }

        #pdf_ticket #telefone {
            width: 60pt;
            margin-right: 2pt;
            margin-bottom: 2pt;
        }

        #pdf_ticket #nif, #pdf_ticket #telefone2, #pdf_ticket #codpostal {
            width: 50pt;
            margin-right: 2pt;
            margin-bottom: 2pt;
        }

        #pdf_ticket #morada {
            width: 250pt;
            margin-right: 2pt;
            margin-bottom: 2pt;
        }

        #pdf_ticket #localidade {
            width: 140pt;
            margin-right: 2pt;
            margin-bottom: 2pt;
        }

        #pdf_ticket #tipo {
            width: 70pt;
            margin-right: 2pt;
            margin-bottom: 2pt;
        }

        #pdf_ticket #modelo {
            width: 150pt;
            margin-right: 2pt;
            margin-bottom: 2pt;
        }

        #pdf_ticket #password {
            width: 60pt;
            margin-right: 2pt;
            margin-bottom: 2pt;
        }

        #pdf_ticket #acessorios, #pdf_ticket #danos, #pdf_ticket #avaria {
            width: 110pt;
            margin-right: 2pt;
            margin-bottom: 2pt;
        }

            #pdf_ticket #acessorios textarea, #pdf_ticket #danos textarea, #pdf_ticket #avaria textarea {
                font-size: 8pt;
                padding: 3pt;
                height: 35pt;
            }


        #pdf_ticket #orcamento {
            width: 80pt;
            margin-right: 2pt;
            margin-bottom: 2pt;
        }

        #pdf_ticket #orcamento_valor {
            width: 40pt;
        }

        #pdf_ticket #div_pago {
            padding: 0;
            width: 150pt;
        }

        #pdf_ticket #pago50 {
            width: 110pt;
            margin-right: 2pt;
            margin-bottom: 2pt;
        }

        #pdf_ticket #pago {
            width: 60pt;
            margin-right: 2pt;
            margin-bottom: 2pt;
        }


        #pdf_ticket .termos {
            margin-top: 0;
        }

        #pdf_ticket #termos_title {
            font-size: 7pt;
        }

        #pdf_ticket .termos p {
            font-size: 7pt;
        }



    #pdf_orcamento .frame-rma, #pdf_relatorio .frame-rma {
        padding: 10pt 30pt 20pt 30pt;
        margin-top: 30pt;
    }

    #pdf_orcamento #assist, #pdf_relatorio #assist {
        float: left;
        margin: 6pt;
        margin-left: 0;
    }

    #pdf_orcamento #date, #pdf_relatorio #date {
        float: right;
        margin: 6pt;
        margin-left: 0;
    }



    #pdf_orcamento #orcamento {
        width: 130pt;
        margin: 0;
        margin-bottom: 2pt;
        padding-bottom: 0;
    }

    #pdf_relatorio #orcamento {
        width: 80pt;
        margin: 0;
        margin-bottom: 2pt;
    }
}


/* Responsive resolutions */

@media only screen and (min-width: 1000px) {

    #metrics_window .frame {
        height: 80px;
        padding-top: 15px;
    }

    #metrics_window #box_totORs {
        padding-top: 10px;
    }

    #metrics_window .frame .valor {
        margin-top: 20px;
    }

    #metrics_window .frame.avg_time {
        padding-top: 5px;
    }

        #metrics_window .frame.avg_time .avg_time_label {
            padding: 0;
            padding-top: 5px;
        }

        #metrics_window .frame.avg_time .avg_time_span {
            padding: 0;
            padding-top: 5px;
        }

    #metrics_window #box_percSuccess {
        padding: 0;
        padding-top: 15px;
    }

        #metrics_window #box_percSuccess .perc_success_label {
            padding-left: 5px;
        }

        #metrics_window #box_percSuccess .perc_success_span {
            padding: 0;
            padding-top: 10px;
        }

    #metrics_window #box_percReproved {
        padding: 0;
        padding-top: 15px;
    }

        #metrics_window #box_percReproved .perc_reprovados_label {
            padding: 0;
            margin: 0;
        }

        #metrics_window #box_percReproved .perc_reprovados_span {
            padding: 0;
            padding-top: 10px;
        }
}


@media only screen and (min-width: 1300px) {

    #charts_window #chart_container_1 {
        height: 500px;
    }

        #charts_window #chart_container_1 #chart_estados {
            height: 300px;
        }


    #charts_window #chart_container_2 {
        height: 500px;
    }

        #charts_window #chart_container_2 #chart_dates {
            height: 300px;
        }
}


@media only screen and (min-width: 1700px) {

    .frame-rma .pagamento {
        width: 8%;
    }

    .frame-rma #rep-entregue {
        width: 10%;
    }


    #charts_window #chart_container_1 {
        height: 550px;
        width: 39%;
    }

        #charts_window #chart_container_1 #chart_estados {
            height: 370px;
        }


    #charts_window #chart_container_2 {
        height: 550px;
        width: 59%;
    }

        #charts_window #chart_container_2 #chart_dates {
            height: 370px;
        }


    #metrics_window #box_totORs {
        padding-top: 10px;
    }

        #metrics_window #box_totORs .valor {
            margin-top: 20px;
        }

    #metrics_window #box_totResolvidos {
        padding-top: 23px;
    }

        #metrics_window #box_totResolvidos .valor {
            margin-top: 10px;
        }

    #metrics_window .frame.avg_time {
        padding-top: 10px;
    }

        #metrics_window .frame.avg_time .avg_time_label {
            padding: 0;
            padding-top: 5px;
        }

        #metrics_window .frame.avg_time .avg_time_span {
            padding: 0;
            padding-top: 5px;
        }

    #metrics_window #box_percSuccess {
        padding-top: 15px;
    }

        #metrics_window #box_percSuccess .perc_success_label {
            padding-left: 15px;
        }

        #metrics_window #box_percSuccess .perc_success_span {
            padding-top: 10px;
        }

    #metrics_window #box_percReproved {
        padding-top: 15px;
    }

        #metrics_window #box_percReproved .perc_reprovados_label {
            padding-left: 25px;
        }

        #metrics_window #box_percReproved .perc_reprovados_span {
            padding-top: 10px;
        }


    #metrics_window #box_totClientes {
        padding-top: 23px;
    }

        #metrics_window #box_totClientes .valor {
            margin-top: 10px;
        }


    #box-reparador {
        width: 70%;
    }


    #box-historico {
        width: 29%;
    }
}


@media only screen and (min-width: 2300px) {

    .frame-rma .pagamento {
        width: 6%;
    }

    .frame-rma #rep-entregue {
        float: right;
        width: 8%;
    }

    .charts-page {
        width: 90%;
        margin-left: 5%;
    }

    #metrics_window .frame {
        width: 24%;
        margin-right: 1.33%;
    }

    #metrics_window .last_metric {
        margin-right: 0;
    }

    #metrics_window .frame.avg_time {
        padding-top: 20px;
    }

        #metrics_window .frame.avg_time .avg_time_label {
            padding-top: 0;
            padding-left: 10px;
        }

        #metrics_window .frame.avg_time .avg_time_span {
            padding-top: 0;
        }

    #metrics_window #box_percSuccess {
        padding-top: 15px;
    }

        #metrics_window #box_percSuccess .perc_success_label {
            padding-top: 10px;
            padding-left: 15px;
        }

        #metrics_window #box_percSuccess .perc_success_span {
            padding-top: 10px;
        }

    #metrics_window #box_percReproved {
        padding-top: 15px;
    }

        #metrics_window #box_percReproved .perc_reprovados_label {
            padding-top: 10px;
            padding-left: 15px;
        }

        #metrics_window #box_percReproved .perc_reprovados_span {
            padding-top: 10px;
        }


    #charts_window #chart_container_1 {
        height: 580px;
        width: 34%;
    }

        #charts_window #chart_container_1 #chart_estados {
            height: 400px;
            width: 120%;
        }

    #charts_window #chart_container_2 {
        height: 580px;
        width: 64%;
    }

        #charts_window #chart_container_2 #chart_dates {
            height: 400px;
        }

    #box-reparador {
        width: 70%;
    }


    #box-historico {
        width: 29%;
    }
}
