﻿html body {
    height: 100%;
}
    .tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}
.borderX{
    margin-bottom:-15px;
    border-bottom:solid;
    border-width:1px;
    border-color:#a1dafb;


}
.fg-line {
    min-width: 80% !important;
}
.btnNv-danger {
    color: #fff;
    background-color: #b52429;
    border-color: #d43f3a;
}
.btnNv {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0 ,0 ,0 ,0.7), 0 2px 15px rgba(0, 0 ,0 , .18);
}
.bgm-red_NV {
    background-color: #b52429 !important;
}
.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 1s;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/*mensaje de barra*/
#snackbar {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: red;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1500;
    left: 50%;
    bottom: 30px;
    font-size: 16px;
    opacity:0.5;
}

#snackbar.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}
#snackbarG {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #1a9324;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 120px;
    font-size: 16px;
    opacity: 0.6;
}
    #snackbarG.show {
        visibility: visible;
        -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
        animation: fadein 0.5s, fadeout 0.5s 2.5s;
    }
#snackbarGs {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color:#f72828;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 120px;
    font-size: 16px;
    opacity: 0.6;
}
    #snackbarGs.show {
        visibility: visible;
        -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
        animation: fadein 0.5s, fadeout 0.5s 2.5s;
    }

@-webkit-keyframes fadein {
    from {bottom: 0; opacity: 0;} 
    to {bottom: 30px; opacity: 0.6;}
}

@keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 0.6;}
}

@-webkit-keyframes fadeout {
    from {bottom: 30px; opacity: 0.6;} 
    to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
    from {bottom: 30px; opacity: 0.6;}
    to {bottom: 0; opacity: 0;}
}
/*Lista*/
.FixedHeader {
    position: absolute;
    font-weight: bold;
} 
#myInput {
    background-image: url('/css/searchicon.png'); /* Add a search icon to input */
    background-position: 10px 12px; /* Position the search icon */
    background-repeat: no-repeat; /* Do not repeat the icon image */
    width: 100%; /* Full-width */
    font-size: 12px; /* Increase font-size */
    padding: 12px 20px 12px 40px; /* Add some padding */
    border: 1px solid #ddd; /* Add a grey border */
    margin-bottom: 12px; /* Add some space below the input */
}

#myUL {
    /* Remove default list styling */
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#myUL li a {
    border: 1px solid #ddd; /* Add a border to all links */
    margin-top: -1px; /* Prevent double borders */
    background-color: #f6f6f6; /* Grey background color */
    padding: 12px; /* Add some padding */
    text-decoration: none; /* Remove default text underline */
    font-size: 12px; /* Increase the font-size */
    color: black; /* Add a black text color */
    display: block; /* Make it into a block element to fill the whole list */
}

#myUL li a.header {
    background-color: #e2e2e2; /* Add a darker background color for headers */
    cursor: default; /* Change cursor style */
}

#myUL li a:hover:not(.header) {
    background-color: #eee; /* Add a hover effect to all links, except for headers */
}
	.tableX { 
		width: 100%; 
		border-collapse: collapse; 
	}
	/* Zebra striping */
	.tableX tr:nth-of-type(odd) { 
		background: #eee; 
	}
	.tableX th { 
		background:#607d8b; 
		color: white; 
		font-weight: bold; 
	}
	.tableX td, .tableX th { 
		padding: 6px; 
		border: 1px solid #ccc; 
		text-align: left; 
	}


.tableXx {
    width: 100%;
    border-collapse: collapse;
}
    /* Zebra striping */
    .tableXx tr:nth-of-type(odd) {
        background: #eee;
    }

    .tableXx th {
        background: #ddd;
        color: white;
        font-weight: bold;
    }

    .tableXx td, th {
        padding: 6px;
        border: 1px solid #ccc;
        text-align: left;
    }

@media only screen and (max-width: 760px), (min-device-width: 768px) and (max-device-width: 1024px) {
    /* Force table to not be like tables anymore */
    .tableXx thead, tbody, th, td, tr {
        display: block;
    }
        /* Hide table headers (but not display: none;, for accessibility) */
        .tableXx thead tr {
            position: absolute;
            top: -9999px;
            left: -9999px;
        }
    .tableXx tr {
        border: 1px solid #ccc;
    }
    .tableXx td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
    }
        .tableXx td:before {
            /* Now like a table header */
            position: absolute;
            /* Top/left values mimic padding */
            top: 6px;
            left: 6px;
            width: 45%;
            padding-right: 10px;
            white-space: nowrap;
        }      
}
	

	@media 
	only screen and (max-width: 760px),
	(min-device-width: 768px) and (max-device-width: 1024px)  {
	
		/* Force table to not be like tables anymore */
		.tableX thead, tbody, .tableX th, .tableX td, .tableX tr { 
			display: block; 
		}
		
		/* Hide table headers (but not display: none;, for accessibility) */
		.tableX thead tr { 
			position: absolute;
			top: -9999px;
			left: -9999px;
		}
		
		.tableX tr { border: 1px solid #ccc; }
		
	.tableX	 td { 
			/* Behave  like a "row" */
			border: none;
			border-bottom: 1px solid #eee; 
			position: relative;
			padding-left: 50%; 
            
		}
		
	.tableX	td:before { 
			/* Now like a table header */
			position: absolute;
			/* Top/left values mimic padding */
			top: 6px;
			left: 6px;
			width: 45%; 
			padding-right: 10px; 
			white-space: nowrap;
		}
		
		/*
		Label the data
		*/
     .tableX	td:nth-of-type(1):before { content: "Datos"; }	 
	.tableX	td:nth-of-type(2):before { content: "OP"; }
	.tableX	td:nth-of-type(3):before { content: "Cliente"; }
	.tableX	td:nth-of-type(4):before { content: "Descripcion"; }
	.tableX	td:nth-of-type(5):before { content: "OV"; }
	.tableX	td:nth-of-type(6):before { content: "COD_ART"; }
	.tableX	td:nth-of-type(7):before { content: "Codigo"; }
	.tableX	td:nth-of-type(8):before { content: "OC"; }
	.tableX	td:nth-of-type(9):before { content: "Cantidad"; }	
	}
	
	/* Smartphones (portrait and landscape) ----------- */
	@media only screen
	and (min-device-width : 320px)
	and (max-device-width : 480px) {
		body { 
			padding: 0; 
			margin: 0; 
			width: 320px; }
		}
	
	/* iPads (portrait and landscape) ----------- */
	@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
		body { 
			width: 495px; 
		}
	}

/*-----------------------------------------*/
	@media 
	only screen and (max-width: 760px),
	(min-device-width: 768px) and (max-device-width: 1024px)  {
	
		/* Force table to not be like tables anymore */
		.tableX2 thead, tbody, th, td, tr { 
			display: block; 
		}
		.tableX2-thead { 
			display: block; 
		}
		/* Hide table headers (but not display: none;, for accessibility) */
		.tableX2-thead tr { 
			position: absolute;
			top: -9999px;
			left: -9999px;
		}
        .tableX2{
            visibility:hidden;
        }
		.tableX2 tr { border: 1px solid #ccc; }
		
	.tableX2	 td { 
			/* Behave  like a "row" */
			border: none;
			border-bottom: 1px solid #eee; 
			position: relative;
			padding-left: 65%; 
           
		}
		
	.tableX2	td:before { 
			/* Now like a table header */
			position: absolute;
			/* Top/left values mimic padding */
			top: 16px;
			left: 16px;
			width: 45%; 
			padding-right: 16px; 
			white-space: nowrap;
        
		}
		
		/*
		Label the data
		*/      
     .tableX2	td:nth-of-type(1):before { content: "Precio"; }	
	.tableX2	td:nth-of-type(2):before { content: "F_programada"; }
	/*.tableX2	td:nth-of-type(3):before { content: "F_requerida"; }
	.tableX2	td:nth-of-type(4):before { content: "Facturado"; }
	.tableX2	td:nth-of-type(5):before { content: "Ent_Planeada"; }
	.tableX2	td:nth-of-type(6):before { content: "Entregado"; }
	.tableX2	td:nth-of-type(7):before { content: "Estado_OV"; }
	.tableX2	td:nth-of-type(8):before { content: "Fabricado"; }
	.tableX2	td:nth-of-type(9):before { content: "Vendedor"; }*/	
	}
	

	    .style1
        {
            height: 32px;
        }


.GridPager a, .GridPager span {
    display: block;
    height: 15px;
    width: 15px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
}

.GridPager a {
    background-color: #f5f5f5;
    color: #969696;
    border: 1px solid #969696;
}

.GridPager span {
    background-color: #A1DCF2;
    color: #000;
    border: 1px solid #3AC0F2;
}
.cssPager td {
    padding-left: 10px;
    padding-right: 10px;
}

.gridvtable table th {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
    position: relative;
}

    .gridvtable table th > i.fa {
        position: absolute;
        font-style: normal;
        right: 0.3rem;
        bottom: 0.6rem;
        font-size: 1.4rem;
    }

        .gridvtable table th > i.fa:before {
            font-family: "Material-Design-Iconic-Font";
        }

        .gridvtable table th > i.fa.fa-chevron-up:before {
            content: '\f1ce';
        }

        .gridvtable table th > i.fa.fa-chevron-down:before {
            content: '\f1cd';
        }

.gridvtable tr > td:first-child,
.gridvtable tr > th:first-child {
    padding-left: 2.2rem;
}

.gridvtable tr > td:last-child,
.gridvtable tr > th:last-child {
    padding-right: 2.2rem;
}

.gridvtable__header {
    padding: 0 2.2rem 2rem;
}

.gridvtable__filter {
    max-width: 500px;
}

    .gridvtable__filter .form-control {
        padding-left: 2rem;
    }

    .gridvtable__filter:before {
        content: '\f1c3';
        font-family: "Material-Design-Iconic-Font";
        font-size: 1.5rem;
        position: absolute;
        left: 0;
        bottom: 0.263rem;
    }

.gridvtable__footer {
    text-align: center;
    padding: 2.1rem 2.2rem;
}

.avatar-char2 {
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    margin-left:10px;
    margin-right:10px;
}

.avatar-char2 {
    line-height: 2rem;
    text-transform: uppercase;
    font-size: 1.1rem;
    text-align: center;
    color: #FFFFFF;
    font-style: normal;
}

    .avatar-char2 > .zmdi {
        line-height: 2rem;
    }


.bg-C {
    background-color: #00BCD4 !important;
}
.bg-P {
    background-color: #3F51B5 !important;
}
.SF0 {
    color:black;
    position: absolute;
    top: 55%;
    left: 40%;
    transform: translate(-50%, -50%);
 
}
.SF1 {
    color: black;
    position: absolute;
    top: 55%;
    left: 40%;
    transform: translate(-60%, -50%) rotate(180deg);
}
.SF2 {
    color: black;
    position: absolute;
    top: 55%;
    left: 40%;
    transform: translate(-60%, -50%) rotate(270deg);
}

.SF3 {
    color: black;
    position: absolute;
    top: 55%;
    left: 40%;
    transform: translate(-60%, -50%) rotate(90deg);
}
.SF4 {
    color: black;
    position: absolute;
    top: 55%;
    left: 40%;
    transform: translate(-60%, -50%) rotate(315deg);
}

.SF5 {
    color: black;
    position: absolute;
    top: 55%;
    left: 40%;
    transform: translate(-60%, -50%) rotate(135deg);
}
.SF6 {
    color: black;
    position: absolute;
    top: 55%;
    left: 40%;
    transform: translate(-60%, -50%) rotate(45deg);
}
.SF7 {
    color: black;
    position: absolute;
    top: 55%;
    left: 40%;
    transform: translate(-60%, -50%) rotate(225deg);
}
.SF8 {
    color: black;
    position: absolute;
    top: 55%;
    left: 40%;
    transform: translate(-60%, -50%) ;
    display:none;
}
.containerX {
    width:100px;
    position: relative;
    text-align: center;
    color: red;
}
form{
    width:100%;
}
.dialog-conatiner-h {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(53, 53, 53, 0.42);
    z-index: 2000;
    display: flex;
    animation: dialog-container-entry 0.3s;
}
@keyframes dialog-container-entry{
    0%{
        opacity:0;
    }
    100%{
        opacity:1;
    }
}
.dialog-h {
  background-color:lightgray;
    box-shadow:0 0 12px rgba(0,0,0,0.6);
    display:flex;
    flex-direction:column;
    z-index:2000;
    align-self:center;
    margin:auto;
    width:700px;
    max-height:calc(100% );
    animation:dialog-entry 0.4s;
    animation-timing-function:cubic-bezier(0.075,0.082,0.165,1.0);

}

.dialog-hw
{
      width:850px!important;
}
.dialog-hf
{
      width:350px!important;
}
.dialog-hwx
{
      width:1024px!important;
}
.dialog-h2 {
  background-color:lightgray;
    box-shadow:0 0 12px rgba(0,0,0,0.6);
    display:flex;
    flex-direction:column;
    z-index:2000;
    align-self:center;
    margin:auto;
    width:400px;
    max-height:calc(100% );
    animation:dialog-entry 0.4s;
    animation-timing-function:cubic-bezier(0.075,0.082,0.165,1.0);

}
.MSGx-Ms {
    display: inline-block;
    margin: 0px auto;
    position: fixed;
    transition: all 0.9s ease-in-out 0s;
    z-index: 2500;
    top: 65px;
    right: 15px;
    animation-iteration-count: 1;
}

@keyframes dialog-entry{
    0%{
        transform:translateY(30px) scale(0.95)
    }
    100% {
        transform: translateX(0px) scale(1.0)
    }
}
.dialog-titulo-h {
   background-color: #9f1212;  /*rgba(78, 77, 77, 0.42);*/
    color: #fff2cc;
    padding: 1.3rem 2rem;
}
.dialog-titulo-h h2 {
    color:white;
    font-size:1.4rem;
    margin:0;
    font-family:Bahnschrift,Arial, Helvetica, sans-serif;
    text-transform:uppercase;
    line-height:1.3rem;
}

.dialog-body-h{
    flex-grow: 1;
    padding:0.5rem 3rem 1rem 0;
    background-color:white;
}
.dialog-body-h div {
    display:flex;
    margin-top:1rem;
    align-items:center;

}
    .dialog-body-h label {
    text-align:right;
    width:200px;
    margin:0 1.5rem;
    }
    .dialog-body-h input, .dialog-body-h select {
    flex-grow:1;
    width:unset;

    }
    .dialog-buttons{
        height:4rem;
        flex-shrink:0;
        display:flex;
        align-items:center;
        background-color:#eee;
        padding:1rem;
    }
    .dialog-body-h .size-label {
      
        min-width: 110px;
        text-align: right;
    }
    .dialog-h .toppings{
        text-align:center;
        display:block;
        padding-left:4rem;
    }
.dialog-h .topping {
    display:inline-block;
    background-color:#a04343;
    color:white;
    padding:.02rem 1rem;
    border-radius:2rem;
    margin:0.4rem 0.3rem;
    font-weight:700;
}
.dialog-h .topping-price{
    font-weight:100;
    font-size:0.8rem;
}
.dialog-h .topping-price::before {
    content:'$';

}
.dialog-h .price {
    font-weight:700;
    font-size:1.5rem;
}

.modalX {
    display: block; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow:no-display; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modalX-content {
    z-index: 1003;
    background-color: #fefefe;
    margin: 5% auto; /* 15% from the top and centered */
    padding: 6px;
    border-radius:10px;
    border: 1px solid #888;
    box-shadow: 0px 16px 32px 0px rgba(255, 255, 255, 0.85);
    width: 80%; /* Could be more or less, depending on screen size */
    height: 80%;
}

/* The Close Button */
.close1 {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .close1:hover,
    .close1:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }
    
    
       .spin {
        border: 12px solid #f72828;
        border-radius: 50%;
        border-top: 12px solid #9f1212;
        border-right: 12px solid #d43f3a;
        border-bottom: 12px solid  #969696;
        border-left: 12px solid #555;
        width: 50px;
        height: 50px;
        -webkit-animation: spin 1.0s linear infinite;
        animation: spin 1.0s 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);
        }
      }