/*! HTML5 Boilerplate v6.0.1 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}
@import url('https://fonts.googleapis.com/css?family=Roboto');
/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body{
    font-family: 'Roboto', sans-serif;
    color: #5d5d5d;
}
.nav-left{
    height: 100%;
    position: absolute;
    height: 100%;
}
.nav-list{
    padding: 40px 0 20px 0;
    margin: 0;
    width: 100%;
    display: inline-block;
    list-style: none;
}
.nav-list li{
    display: inline-block;
    width: 100%;
}
.nav-list li a{
    text-decoration: none;
    font-weight: 300;
    color: #5d5d5d;
    display: inline-block;
    width: 100%;
    padding: 10px;
}
.nav-list li a.active, .nav-list li a:hover{
    background-color: #563291;
    color: #fff;
}
.title-section{
    font-weight: 500;
    display: inline-block;
    border-bottom: 1px solid #b2b2b2;
    text-align: left;
    width: 100%
}
.alerts li {
    background-color: #563291;
    color: #fff;
    padding: 10px 20px 10px 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    font-size: .85em;
    font-weight: 100;
    position: relative;
}
.alerts li a{
    text-decoration: none;
    color: inherit;
}
ul.alerts {
    padding: 0;
    list-style: none;
    margin: 0;
}
.close-alert{
    font-weight: bold;
    font-size: 1.2em;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translate(0,-50%);
    color: #22074d!important;
    cursor: pointer;
}
.col-product{
    text-align: left;
}
table:not(.table-ticket){
    width: 100%;
    border-collapse: collapse; 
    border: 1px solid #b2b2b2;
    margin-bottom: 20px
}
table tr{
    border-bottom: 1px solid #b2b2b2
}
table tbody tr:hover{
    background-color: #e3e3e3
}
table tr th{
    padding: 10px
}
table tr td{
    text-align: center;
    padding: 10px
}
.delete-row{
    color: #fff;
    background-color: #e13131;
    padding: 1px 7px;
    border-radius: 100%;
    cursor: pointer;
    text-decoration: none
}
.form-content{
    margin: 5px 0
}
.form-content.big{

}
label{
    display: inline-block;
    width: 100%;
}
input,select{
    border: 1px solid #b2b2b2;
    padding: 7px 10px;
    width: 100%;
}
#pay-total{
    color: #000;
    font-size: 1.4em
}
#pay-total .total{
    font-weight: bold
}
.content-modal{
    position: fixed;
    background-color: rgba(0,0,0,.6);
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    display: none
}
.modal{
    width: 700px;
    background-color: #fff;
    padding: 15px;
    border-radius: 5px;
    position: absolute;
    left: 50%;
    top: 25%;
    transform: translate(-50%,-50%);
}
.content-modal-service .modal {
    width: 900px;
    height: 85%;
    top: 55%;
}
.content-modal-service .modal .btn-service {
    margin-bottom: 5px;
    width: 100%;
    height: 56.6px;
    display: inline-block;
    font-weight: 300;
    line-height: 1em
}
.modal .btn-content{
    margin-top: 15px
}
.content-services{
    overflow: scroll;
    max-height: 445px;
}
.content-modal-service .form-content{
    margin-bottom: 15px
}
.close-modal{
    font-size: 1.5em;
    position: absolute;
    right: 15px;
    top: 5px;
    cursor: pointer;
    color: #4f4f4f;
}
form{
    width: 100%
}
#form_search{
    width: 400px;
    float: right;
    margin: 20px 0 10px 0;
    display: flex;
}
#form_search input[type="submit"] {
    width: 75px;
    font-size: 0;
    background-image: url(../img/btn_search.png);
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 0!important;
    background-size: 25%;
}
.error-message {
    display: inline-block;
    padding: 5px 10px;
    background-color: #db7474;
    color: #fff;
    width: 100%;
    border-radius: 3px;
    position: relative;
}
.error-message .closed{
    position: absolute;
    right: 5px;
    top: 10px;
    color: #a02b2b;
    line-height: 0em;
    font-weight: 700;
    font-size: 1.3em;
    cursor: pointer;
}
.success-message {
    display: inline-block;
    padding: 5px 10px;
    background-color: #87d378;
    color: #fff;
    width: 100%;
    border-radius: 3px;
    position: relative;
    margin-bottom: 15px
}
.success-message .closed{
    position: absolute;
    right: 5px;
    top: 10px;
    color: #168229;
    line-height: 0em;
    font-weight: 700;
    font-size: 1.3em;
    cursor: pointer;
}
#factura-modal{
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.5);
    left: 0;
    top: 0;
    display: none
}
#factura{
    padding: 0 20px;
    width: 375px;
    height: auto;
    position: absolute;
    left: 50%;
    top: 50%;
    transform:translate(-50%,-50%);
    background-color: #fff
}
#factura h2{
    margin: 0;
    font-weight: normal;
}
#factura table{
    border: none
}
#factura tr{
    border: none
}
#factura tr td{
    padding: 0
}
#bcTarget{
    display: inline-block;
}
#factura-modal .btn-container{
    position: absolute;
    bottom: 5px;
    width: 100%;
    left: 0;
}
.modal.login {
    border: 1px solid #ccc;
}
#login{
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}
.content-message {
    width: 500px;
    position: absolute;
    bottom: 49%;
    left: 50%;
    margin-left: -250px;
}
body{
    margin-top: 80px;
    background-color: #ebebeb;
}
body > .container{
    background-color: #fff;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border:1px solid #d3d3d3;
}
nav {
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
    border-bottom: 1px solid #d3d3d3;
    background-color: #fff;
    z-index: 9999;
}
nav h1{
    margin: 6px 0;
    font-weight: 500;
}
nav ul {
    display: inline-block;
    list-style: none;
    margin: 0;
    padding: 10px 0
}
nav ul li {
    display: inline-block;
    margin: 0 8px;
}
.nav-left{
    background-color: #fff
}
.col-md-9.col-md-offset-3{
    background-color: #fff
}
.username{
    text-transform: capitalize;
}
.content-table{
    overflow: scroll;
    width: 100%;
}
.service-group{
    margin-bottom: 10px
}
input[name^="comision_service"]{
    width: 49%;
    float: right;
    height: 35.2px;
    margin-top: 5px
}
select[name^="tipo_service"]{
    width: 50%;
    margin-top: 5px
}
.row .row{
    margin: 0;
}
.delete-service {
    position: absolute;
    left: 15px;
    font-size: 1em;
    cursor: pointer;
    top: 5px;
    line-height: .5em;
    padding: 3px;
    background-color: red;
    color: #fff;
}
.services-content{
    width: 100%
}
input[type="color"]{
    height: 35px;
    background-color: #fff;
}
.ticket{
    display: none;
    width: 310px
}
.pagination ul li a {
    text-decoration: none;
    background-color: #563291;
    padding: 3px 10px;
    display: inline-block;
    color: #fff;
}
.pagination ul li {
    display: inline-block;
    margin: 0 2px;
}
.pagination ul {
    display: inline-block;
    padding: 0;
    margin: 0;
    width: 100%;
}
.pagination ul li a.here {
    background-color: #737373;
}
/* final */

/* ================ text ================= */
.txt-center{
    text-align: center;
}
.txt-right{
    text-align: right;
}
.txt-left{
    text-align: left;
}
/* ================ icons ================= */
.icon{
    display: inline-block;
    vertical-align: middle;
}
.i-delete {
    background: url('../img/i-delete.png') no-repeat 0 0;
    width: 20px;
    height: 26px;
    cursor: pointer;
    margin-left: 5px
}
.i-options {
    background: url('../img/i-options.png') no-repeat -1px 0;
    width: 27px;
    height: 27px;
}
.i-closed {
    background: url('../img/closed.png') no-repeat 0 0;
    width: 34px;
    height: 40px;
}
.i-config {
    background: url('../img/config.png') no-repeat 0 0;
    width: 40px;
    height: 40px;
}
.i-user {
    background: url('../img/user.png') no-repeat 0 0;
    width: 40px;
    height: 40px;
}
.i-ghrap {
    background: url('../img/i-ghrap.png') no-repeat 0 0;
    width: 31px;
    height: 27px;
}
.i-imprimir {
    background: url('../img/i-imprimir.png') no-repeat 0 0;
    width: 29px;
    height: 27px;
    margin-right: 5px;
    cursor: pointer;
}
/* ================ buttons ================= */
.btn{
    cursor: pointer;
    border: none;
    background-color: #563291;
    border-radius: 5px;
    padding: 10px 20px;
    color: #fff;
    text-align: center;
    font-weight: 300;
    text-decoration: none;
    -webkit-transition: all 200ms cubic-bezier(0.250, 0.250, 0.750, 0.750); 
   -moz-transition: all 200ms cubic-bezier(0.250, 0.250, 0.750, 0.750); 
     -o-transition: all 200ms cubic-bezier(0.250, 0.250, 0.750, 0.750); 
        transition: all 200ms cubic-bezier(0.250, 0.250, 0.750, 0.750); /* linear */

-webkit-transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750); 
   -moz-transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750); 
     -o-transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750); 
        transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750); /* linear */
}
.btn-red{
    background-color: #e13131
}
.btn-large{
    font-size: 1.3em
}
.btn:hover{
    background-color: #4a2a7e
}
.btn-red:hover{
    background-color: #b22121
}
.content-btn-large .btn{
    width: 100%;
    display: inline-block;
}
.btn-w-auto{
    width: auto!important
}
.btn-content{
    margin-top: 10px
}












/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    -webkit-clip-path: none;
    clip-path: none;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
