@import url('tabledj.css');
@import url('mnu.css');
@import url('btns.css');

body {
    /*width:100vw;*/
    min-height:100vh;
    margin:0;
    background: url("./img/bkg.png")repeat,linear-gradient(to right bottom,#959595 0%,#d9d9d9 50%,#959595 100%)!important;
    font-family:'Oswald', Helvetica;
}

#form1[action="./index.php"] {
    width:20%;
    height:250px;
    margin:100px auto;
    background:#fff;
    padding:3em;
    position:relative;
    border-radius:5px;
    border:1px solid #b9b9b9;
    box-shadow:1px 1px 2px rgba(0,0,0,0.2);
    vertical-align:baseline;
}

#form1[action="./index.php"] input[type=text],
#form1[action="./index.php"] input[type=password]{
    width: 100%;
    padding: 0.5em 3em 0.5em 1em;
    color: #727f90;
    font-size: 16px;
    outline: none;
    height: 30px;
    font-weight: 100;
    margin: 18px 0 0 0;
    border-radius: 4px;
    border: 1px solid#CFCFCF;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;	
}

#form1[action="./index.php"] input[type=text]
{
    background: #f9f9f9 url(./img/user.png)no-repeat right 10px center;
}

#form1[action="./index.php"] input[type=password]{
    background: #f9f9f9 url(./img/security.png)no-repeat right 10px center;
}

#form1 input[type="submit"] {
    font-family:'Oswald', Helvetica;
    background: #c6c6c6;
    background: -moz-linear-gradient(top, #c6c6c6 0%, #6c6c6c 96%, #818181 100%);
    background: -webkit-linear-gradient(top, #c6c6c6 0%,#6c6c6c 96%,#818181 100%);
    background: linear-gradient(to bottom, #c6c6c6 0%,#6c6c6c 96%,#818181 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c6c6c6', endColorstr='#7db9e8',GradientType=0 );
    outline: none;
    border: 2px solid #CFCFCF;
    color: #ffffff;
    padding: 10px 10px;
    font-size: 1em;
    font-weight: 100;
    width: 100%;
    margin: 0 auto;
    cursor: pointer;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}

#form1 input[type="submit"]:hover {
    background: #6d6d6d;
    color: #fff;
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
}

#form1[action="./index.php"] table
{
    width:100%;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"]
{
    cursor: pointer;
    border:none;
}

h2:first-child,
.hh
{
    background:url("./img/top_t.png")no-repeat,#FFF;
    background-color:#FFF;
    border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color #9a2388;
    border-style: solid none none;
    border-width: 6px medium medium 1px;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    color: #6c6c6c !important;
    display: block;
    height: 200px;
    margin: 0 auto;
    padding:0;
    width: 100%;
}


@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi)
{
   h2.hh img{
       width:20%;
       margin-top:-5%;
	   }
   .tit{
       font-size: 1em!important;
   }
   #form1[action="./index.php"] {
       width:50%;
       height:auto;
       padding:2em;
       margin:5% auto;
   }
   
}



@media screen and (min-device-width:300px) and (max-device-width:480px){
h2:first-child
{
   background-image:none;
}

.container-cx
{
    flex-direction:column;	
}
.box1{
    flex:1;
    width:auto;
}
select#tipo_rep,
select#t_hechos,
select#rel,
select#aa,
select#traslado,
select#resultados
{
    width:100%!important;
}
.imgwo
{
    display:none;
}
textarea
{
    width:100%;
}
/*#form1[action="./index.php"] {
    width:50%;
    height:450px;
}*/
#form1[action="./index.php"] input[type=text],
#form1[action="./index.php"] input[type=password]{
    width: 100%;
    padding: 0.5em 1em;
    font-size: 1.2em;
    margin: 18px 0 0 0;
}
#form1 input[type="submit"] {
    font-size: 1.2em;
}
/*.tit{
    font-size: 2em!important;
}*/
}


@media screen and (max-width:760px){
h2:first-child
{
    background-image:none;
}
}

.navbar {
    background: #89361C;
    min-height: 40px;
    filter: none;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
    margin-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    border: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    border-bottom: 4px solid #4C1B0C;
}

.navbar a {
    float: left;
    font-size: 16px;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.tit
    {
	color:#4c1b0c!important;
	text-shadow:-1px -1px 0 #88929a;
	font-size:1.4em;
	display:block;
	/*position:absolute;
	padding-left:190px;*/
	margin-top:45px;
    }
.tit font
    {
    color:#89361c!important;
    }
.dropdownav {
    float: right;
    overflow: hidden;
    margin-right:20px;
    background-color:#935141;
}

.dropdownav .dropbtn {
    cursor: pointer;
    font-size: 16px;
    border: none;
    outline: none;
    color: white;
    padding: 8px 15px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}

.navbar a:hover, .dropdownav:hover .dropbtn, .dropbtn:focus {
    background-color: #4C1B0C;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    right:0;
    margin-top:5px;
    margin-right:20px;
}

.dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    border:1px solid #E2876E;
}

.dropdown-content a:hover {
    background-color:#F8F4D9;
    border:1px solid #E2876E;
}

.show {
    display: block;
}

.alignr
{
    float:right;
    padding-left:20px;
}

.container-cx {
    background-color: #fff;
    border-top: 1px solid #d9d9d9;
    border-bottom: 1px solid #d9d9d9;
    margin: 0 25% !important;
    margin-bottom: 25px !important;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 25px;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:row;
    width:auto;
    -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.15) inset;
    -moz-box-shadow: 0 0 1px rgba(0, 0, 0, 0.15) inset;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.15) inset;
    min-width:210px;
}
.box1
{
    width:25%;
    float:left;
    min-width:210px;
    flex:1;
}

.box2
{
    width:100%;
    clear:both;
}


select {
    position: relative;
    display: inline-block;
    width: 100%;
    cursor: pointer;
    padding: 10px 9px;
    margin: 10px 0;
    outline: 0;
    border: 1px solid rgba(206, 206, 206, 1);
    background: #FFF;
    color: #7b7b7b;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image:
    linear-gradient(45deg, transparent 50%, gray 50%),
    linear-gradient(135deg, gray 50%, transparent 50%),
    linear-gradient(to right, #ccc, #ccc);
    background-position:
    calc(100% - 19px) calc(1.3em + .5px),
    calc(100% - 14px) calc(1.3em + .5px),
    calc(100% - 3em) 0em;
    background-size:
    5px 5px,
    5px 5px,
    1px 3em;
    background-repeat: no-repeat;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}
select:hover{
    color: #000;
    background: #ccc;
    background-image:
    linear-gradient(45deg, transparent 50%, white 50%),
    linear-gradient(135deg, white 50%, transparent 50%),
    linear-gradient(to right, #fff, #fff);
    background-position:
    calc(100% - 19px) calc(1.3em + .5px),
    calc(100% - 14px) calc(1.3em + .5px),
    calc(100% - 3em) 0em;
    background-size:
    5px 5px,
    5px 5px,
    1px 3em;
    background-repeat: no-repeat;
}
select:focus{
    color: #000;
    background: #ccc;
    background-image:
    linear-gradient(45deg, #C6C6C6 50%, transparent 50%),
    linear-gradient(135deg, transparent 50%, #C6C6C6 50%),
    linear-gradient(to right, #ccc, #ccc);
    background-position:
    calc(100% - 14px) 1em,
    calc(100% - 19px) 1em,
    calc(100% - 3em) 0.5em;
    background-size:
    5px 5px,
    5px 5px,
    1px 3em;
    background-repeat: no-repeat;
    border-color:#C6C6C6;
    outline: 0;
}

button.bcx
{
    height: 150px;
    margin:-5px 5px 5px;
    width: 150px;
    border:5px solid #fff;
    background-color:#F9F5D9;
    /*text-indent:-666em;*/
    background-position:center top;
    background-repeat:no-repeat;
    background-size:100%;
    /*text-indent:-666em;*/
    overflow:hidden;
    box-shadow:0 0 2px rgba(0, 0, 0, 0.5);
    -webkit-transition: all 0.4s ease-in-out; -moz-transition: all 0.4s ease-in-out; -ms-transition: all 0.4s ease-in-out; -o-transition: all 0.4s ease-in-out; transition: all 0.4s ease-in-out;
    color:#89361C;
}

.bcx:hover {
    border-color: #89361C;
    -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.8);
    -webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.8);
    box-shadow: 0 1px 4px rgba(0, 0, 0,0.8);
}

button.bcx font
{
/*
    font-size:14px;
    font-weight:lighter;
    display:none;*/
    color:#89361C!important;
    text-shadow:-1px -1px 0 #FFF;
    font-family:'Oswald', Helvetica;
    margin-bottom:10px;
    display:block;
    
}

button.bcx font b
    {
	font-weight:normal;
	font-size:1.2em;
    }

.buttons {
    float: left;
    padding-bottom: 20px;
    clear: both;
}

#filters select
{
    width:25%;
}

#filters table{
    background-color:#fff !important;
    width:60% !important;
}

#filters table tr td{
    padding-left:30px;
    border-bottom:2px solid #C6C6C6;
}

select[name="time"],
select[name="agrup"],
select[name="type"]
{
   width:280px;
}

#hideinfo font, #showinfo font
{
   display:none;			      
}


#hideinfo, #showinfo
{
   color:#c6c6c6;
}

.mssc
{
   padding:10px 30px 10px 30px;
}

input[type=text],
textarea,
input[type=password]
{
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    color: #555;
    font-size: 16px;
    line-height: 1.4;
    padding: 4px 4px;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
    vertical-align: middle;
}

input[type=text]:focus,
textarea:focus,
input[type=password]:focus
{
    border: 1px solid #9a2388;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
}

/* ---------- END STYLE ---------- */


/* ---- INICIO BTN CATÁLOGO Y OPT---- */

#filtros {
    /* Size and position */
    position: relative; /* Enable absolute positionning for children and pseudo elements */
    width: 270px;
    margin: 0 auto;
    padding: 10px 0 10px 25px;

    /* Styles */
    background: #fff;
    cursor: pointer;
    outline: none;
    z-index:999;
    box-shadow:0 0 2px rgba(0, 0, 0, 0.5);
    -webkit-transition: all 0.4s ease-in-out; -moz-transition: all 0.4s ease-in-out; -ms-transition: all 0.4s ease-in-out; -o-transition: all 0.4s ease-in-out; transition: all 0.4s ease-in-out;
    font-size:1.2em;
    color:#89361C!important;
}

#filtros span{
    float:right;
    background-color:#89361C;
    padding:4px 15px 5px;
    margin-top:-10.5px;
    color:#FFF;
    font-size:1.4em;
    
}
button[onclick^="window.open(\'./userdata.php"] b                                                           
{                                                               
    display:none;
}

button#mapa
{
    min-width:120px!important;
}
/*.okdelerow, .nokdelerow, button#alta, table td[class^="autofoto"] button,button#mapa, div [table="files"] button#nok, div [table="files"] button#ok
{
    background: linear-gradient(180deg, rgba(126, 32, 109, 1) 0px, rgba(154, 35, 136, 1) 100%) repeat scroll 0 0%, rgba(154, 35, 136, 1) none repeat scroll 0 0;
    border-radius: 5px;
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.3);
    height: 30px;
    margin: 5px;
    min-width:75px;
    border:none;
}*/

div [table="files"] button#fileplus
{
    background: linear-gradient(180deg, rgba(126, 32, 109, 1) 0px, rgba(154, 35, 136, 1) 100%) repeat scroll 0 0%, rgba(154, 35, 136, 1) none repeat scroll 0 0;
    border-radius: 5px;
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.3);
    height: 30px;
    margin: 5px;
    min-width:30px;
    border:none;
}
/*
table td[class^="autofoto"] button b,
div [table="files"] button#ok,
div [table="files"] button#nok
{
    color:#FFF!important;
    display:inline!important;
}

table td[class^="autofoto"] button b font,
div [table="files"] button#ok b font,
div [table="files"] button#nok b font
{
    color:#FFF!important;
}

table td[class^="autofoto"] button,
div [table="files"] button#ok,
div [table="files"] button#nok
{
    background-image:none!important;
   /* display:block!important;*/
}
#catalta table {
    background-color: transparent;
}
button[onclick^="window.open(\'./userdata.php"] {
    background-image: url("./img/actividad.png");
    background-repeat: no-repeat;
    background-size: 100% auto;
    border: medium none;
    border-radius: 5px;
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.3);
    height: 40px;
    margin: 5px;
    width: 40px;
}

.fondo td
{
    background:transparent !important;
}

.sortable td
{
    background:transparent !important;
}

hr 
{
    /*background-color:#039;*/
    margin: 8px 0 15px 0;	
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0));
}
hr[color="PAPAYAWHIP"]
{
    display:none;
}

table.fondo{
    background: #fff none repeat scroll 0 0;
    border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color #9a2388;
    border-style: solid none none;
    border-width: thin medium medium 1px;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    color: #6d2f88 !important;
   /* display: block;*/
    /*font: 300 12pt "Trebuchet MS",Arial,Helvetica,sans-serif;*/
    font: 11pt "Trebuchet MS",Arial,Helvetica,sans-serif;
    height: auto;
   /* margin: 0 auto 5px;*/
    padding: 10px 20px;
    text-align: left;
    transition: all 300ms linear 0s;
   /* width: 100%;*/
}
/*
#tab0 tr:nth-of-type(odd){
    background: #000000 !important;
    background: -webkit-gradient(linear, left top, left bottom, from(#000000), to(#000000)) !important;
    background: -moz-linear-gradient(top,  #000000,  #000000) !important;
}*/


/*
div.printable
{
padding:5px 0 15px 0;
}

div.nonprintable
{
padding:20px 0 5px 0;
}*/

form[name="reprint"] button{
    height: 42px;
    margin: 0 auto;
    display:block;
    width: 160px; 	
    border:none;
    background-color:transparent;
    background-image: url("./img/reprint.png");
    background-position:center top;
    border-radius: 4px;
    background-repeat:no-repeat;
    background-size:100%;
    text-indent:-666em;
    overflow:hidden;
    box-shadow:0 4px 5px rgba(0, 0, 0, 0.3);
    -webkit-transition: all 0.4s ease-in-out; -moz-transition: all 0.4s ease-in-out; -ms-transition: all 0.4s ease-in-out; -o-transition: all 0.4s ease-in-out; transition: all 0.4s ease-in-out;
}
	
Select[name="dto"]
{
    width:350px;
//	font-size:11px;
}

select[name="estatus"],
select[name="size"],
select[name="e"]
{
    width:180px;
}

.small
{
    font-size:11px;
}

.txtbk
{
    color:#4646;
}

table h2:first-child
{
    background:none;
    border:5px none;
    box-shadow:none;
}

#dtto,
#munic
{
    width:350px !important;
}

.divsec select
{
    width:auto !important;
    appearance:window !important;
    -webkit-appearance:window !important ;
    -moz-appearance:window !important ;
    background-image:none;
}
select#tipo_rep,
select#t_hechos,
select#rel,
select#aa,
select#traslado,
select#resultados
{
    width:350px;
}

/*
button[id^="edit"]
{
    background-image: url("./img/regin.png");
    background-repeat: no-repeat;
    background-size: 100% auto;
    border: medium none;
    border-radius: 5px;
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.3);
    height: 40px;
    margin: 5px;
    width: 40px;
}

button[id^="edit"] b font {
    display: none;
}*/


button[id^="realv"]
{
    background-image: url("./img/validar.png");
    background-repeat: no-repeat;
    background-size: 100% auto;
    border: medium none;
    border-radius: 5px;
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.3);
    height: 40px;
    margin: 5px;
    width: 40px;
}

button[id^="realv"] b font {
    display: none;
}


select[name^="secs"],
select[name="dato272"]
{
    width:280px;
}

select[class="sshort"]
{
    width:250px;
}

input[type=text]#ptotal,
input[type=text]#qtotal
{
    font-weight:bold;
}

.diff
{
    background-color:#c68cff !important;
}

.equal
{
    background-color:none !important;
}

.vacio
{
    background-color:#C27BB8 !important;
}
.coal
{
    background-color:#CCC;
    display:block;
    float:left;
    margin-right:20px;
    padding:8px;
}
/*.srch
{
    background-image: url("./img/editar.png")!important;
    background-repeat: no-repeat;
    background-size: 100% auto;
    border: medium none;
    border-radius: 5px;
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.3);
    height: 30px!important;
    margin: 5px!important;
    width: 30px!important;    
}

.srch font b
{
    display:none;
}

*/
.vrep
{
    font-size:14px;
    font-weight:normal!important;
}
#aaid,
#acaid
{
    width:20%;
}
