 
html {
    font-size:10px;
}

button.mainvisitesmy {
    position: absolute;
    border: 1px solid #dadada;
    left: 150px;
    top: 15px;
    height: 75px;
    background: #295928;
    vertical-align: top;
    text-align: center;
    width: 140px;
    color: white;
}

@media (min-width: 768px) {
    html {
        font-size: 14px;
    }


}





p.aligncenter {
    text-align: center;
}

html {
  position: relative;
  min-height: 100%;
}


div.warning {
    border: 3px ridge #f00;
    background-color: #ff0;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
   
}

div.aaa {
    position: absolute;
    left: 5%;
    top: 10%;
    right: 5%;
    bottom: 5%;
    background: rgba(253, 229, 169, 0.72);
    border-radius: 40px;
}
div.mainback {
    position: absolute;
    left: 2%;
    top: 2%;
    right: 2%;
    bottom: 2%;
    background: rgba(253, 229, 169, 0.42);
    border-radius: 4px;
}


div.addvisite {
    position: absolute;
    left: 5%;
    top: 10%;
    right: 5%;
    bottom: 5%;
    background: rgba(253, 229, 169, 0.72);
    border-radius: 40px;
}

div.root_find{
    position: absolute;
    left: 5%;
    top: 10%;
    right: 5%;
    bottom: 5%;
    background: rgba(253, 229, 169, 0.72);
    border-radius: 15px;
}

div.LoginBlue {
    position: absolute;
    left: 5px;
    top: 15%;
    right: 5px;
    bottom: 25%;
    background: rgba(253, 229, 169, 0.72);
    border-radius: 40px;
}

div.mesto {
    position: absolute;
    left: 20%;
    top: 55%;
    right: 20%;
    bottom: 40px;
    background: rgba(27, 57, 215, 0.8);
    border-radius: 40px;
}

div.name {
    position: absolute;
    left: 40%;
    top: 5%;
    right: 5%;
 color: white;
}

i.white {
   
    color: white;
}

h.white {
    color: white;
}
div.label {
    text-align: center;
    color: white;
}
div.nameMain {
    text-align: center;
    color: darkslategrey;
}

table.find   thead {
    background-color: darkgrey;
}



.tableFixHead {
    overflow: auto;
    height: 100px;
}

.tableFixHead thead th {
    position: sticky;
    top: 0;
    z-index: 1;
}
table.tableFixHead {
    border-collapse: collapse;
    width: 100%;
}

table.tableFixHead thead {
        background-color: darkgrey;
    }

table.tableFixHead th {
    background: #eee;
}


table.tableFixHead tbody tr:nth-of-type(even) {
    background-color: beige;
    border-spacing: 15px;
    padding: 8px 16px;
}

table.tableFixHead tbody tr:nth-of-type(odd) {
    background-color: #f3f3f3;
    border-spacing: 15px;
    padding: 8px 16px;
}

 
table.find {
    border-collapse: collapse;
    margin: 25px 0;
    # font-size: 0.9em;
    font-family: sans-serif;
    min-width: 400px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    border-spacing: 15px;
}

table.viza {
    border-collapse: collapse;
    background-color: white;
    font-family: sans-serif;
    min-width: 600px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    border-spacing: 15px;
}

    table.viza thead {
        background-color: darkgrey;
    }


    table.viza tbody tr:nth-of-type(even) {
        background-color: beige;
        border-spacing: 15px;
    }

    
    table.viza tbody tr:nth-of-type(odd) {
        background-color: #f3f3f3;
        border-spacing: 15px;
    }

    table.viza tbody tr:last-of-type {
        border-bottom: 2px solid #009879;
    }


table.red tbody tr  {
    background-color: orangered;
    border-spacing: 15px;
}

table.red tbody td {
    background-color: orangered;
    border-spacing: 15px;
}
    tr.red {
        background-color: orangered;
        border-spacing: 15px;
    }
td.red {
    background-color: orangered;
    border-spacing: 15px;
}

td.red {
    background-color: orangered;
    border-spacing: 15px;
}



table.finde tbody tr {
    border-bottom: 1px solid #dddddd;
    border-spacing: 15px;
}
table.find tbody tr:nth-of-type(even) {
    background-color: beige;
    border-spacing: 15px;
}
table.find tbody tr:nth-of-type(odd) {
    background-color: #f3f3f3;
    border-spacing: 15px;
}
table.find tbody tr:last-of-type {
    border-bottom: 2px solid #009879;
}


div.work {
    position: absolute;
    left: 10%;
    top: 10%;
    right: 10%;
    bottom: 10%;
    background: rgba(253, 229, 169, 0.72);
    border-radius: 20px;
}


input.inp {
    border: 1px solid #dadada;
    height: 40px;
    padding: 10px 30px;
    margin: 10px;
    vertical-align: top;
    right: 30%;
    width: calc(95% );
}

input.inpleft {
    border: 1px solid #dadada;
    height: 40px;
    padding: 10px 30px;
    margin: 10px;
    vertical-align: top;
    right: 30%;
    width: calc(45% );
}

input.inptd {
    border: 1px solid #dadada;
    height: 40px;
    
    vertical-align: top;
    width: 100%;
}





input.inp {
    border: 1px solid #dadada;
    height: 40px;
    padding: 10px 30px;
    margin: 10px;
    vertical-align: top;
    right: 30%;
    width: calc(95% );
}
select.inp {
    border: 1px solid #dadada;
    height: 40px;
    padding: 10px 30px;
    margin: 10px;
    vertical-align: top;
    right: 30%;
    width: calc(95% );
}

div.paddin40 {
   
    padding: 10px 10px;
}




div.find {
    position: absolute;
    left: 5px;
    top: 15%;
    right: 5px;
    bottom: 30%;
    background: rgba(253, 229, 169, 0.72);
    border-radius: 40px;
}

div.findbox {
    position: absolute;
    left: 10%;
    top: 5%;
    right: 10%;
    bottom: 10%;

    background: rgba(27, 57, 215, 0.8);
    border-radius: 20px;
}

input.inpFIO {
    position: absolute;
    height: 40px;
    margin: 10px;
    width: calc(90% );
}


input.inpPhone {
    position: absolute;
    height: 40px;
    margin: 10px;
    width: calc(90% );
}


button.inpFind {
    position: absolute;
    border: 1px solid #dadada;
    height: 45px;
    background: #295928;

    vertical-align: top;
    width: 350px;
}


input.inpFIO1 {
    top: 10%;
    left: 5%;
    right: 10%;
    position: absolute;
    height: 40px;
    width: calc(90% );
}


input.inpPhone1 {
    top: 40%;
    left: 5%;
    right: 10%;
    position: absolute;
    height: 40px;
    width: calc(90% );
}


button.inpFind1 {
    top: 60%;
    left: 5%;
    right: 10%;
    position: absolute;
    border: 1px solid #dadada;
    height: 45px;
    background: #295928;
    vertical-align: top;
    width: calc(90%);
}
input.textAll {
    border: 1px solid #dadada;
    height: 150px;
    padding: 10px 10px;
    margin: 10px;
    vertical-align: top;
    right: 10%;
    width: calc(95% );
}



input.inpdate {
    margin: 10px;
    vertical-align: top;
    
}


input.inpdate {
    margin: 10px;
    
    vertical-align: top;
}


button.inp {
    border: 1px solid #dadada;
    height: 45px;
    background : #295928;
    padding: 10px 30px;
    vertical-align: top;
    width: calc(100%);
}

button.add {
    position: absolute;
    border: 1px solid #dadada;
    left: 60%;
    top: 90%;
    height: 40px;
    background: #295928;
    padding: 10px 30px;
    vertical-align: top;
    width: calc(30%);
     
}

button.enter {
    position: absolute;
    border: 1px solid #dadada;
    left: 60%;
    top: 65%;
    height: calc(12% );
    width: calc(37% );
    background: #295928;
    padding: 10px 30px;
    vertical-align: top;
}


button.mainlogin {
    position: absolute;
    border: 1px solid #dadada;
    left: 10%;
    top: 10%;
    height: calc(5%);
    background: #295928;
    padding: 10px 30px;
    vertical-align: top;
    width: calc(20%);
    color: white;
}


button.mainlogout {
    position: absolute;
    border: 1px solid #dadada;
    right: 10%;
    top: 15px;
    height: 75px;
    background: #295928;
    vertical-align: top;
    text-align: center;
    width: 120px;
    color: white;
}

img.gazprom {
    position: absolute;
    border: 1px solid #dadada;
    left: 5px;
    top: 5px;
    height: 35px;
    vertical-align: top;
    text-align: center;
}

button.mainadd {
    position: absolute;
    border: 1px solid #dadada;
    left: 10%;
    top: 82%;
    height: calc(5%);
    background: #295928;
    
    vertical-align: top;
    width: calc(20%);
    color: white;
    vertical-align:central
}

button.mainfind {
    position: absolute;
    border: 1px solid #dadada;
    left: 10%;
    top: 90%;
    height: calc(5%);
    background: #295928;
    vertical-align: top;
    width: calc(20%);
    color: white;
    vertical-align: central
}
/*
tr:nth-child(even) {    background-color: #D6EEEE;}
tr {    border-bottom: 1px solid #ddd;}
    */

button.mainfindOrg {
    position: absolute;
    border: 1px solid #dadada;
    left: 35%;
    top: 90%;
    height: calc(5%);
    background: #295928;
    vertical-align: top;
    width: calc(20%);
    color: white;
    vertical-align: central
}
button.mainShowIn {
    position: absolute;
    border: 1px solid #dadada;
    left: 10%;
    top: 76%;
    height: calc(5%);
    background: #295928;
    vertical-align: top;
    width: calc(20%);
    color: white;
    vertical-align: central
}



button.mainloginadd {
    position: absolute;
    border: 1px solid #dadada;
    right: 10%;
    top: 20%;
    height: 70px;
    background: #295928;
    padding: 10px 10px;
    vertical-align: top;
    text-align:center;
    width: 120px;
    color: white;
}



div.btnfind {
    position: absolute;
    border: 1px solid #dadada;
    left: 10%;
    top: 80%;
    height: calc(5%);
    background: #295928;
    padding: 10px 30px;
    vertical-align: top;
    width: calc(20%);
    text-align: center;
}
div.btnadd {
    position: absolute;
    border: 1px solid #dadada;
    left: 10%;
    top: 90%;
    height: calc(5%);
    background: #295928;
    padding: 10px 30px;
    vertical-align: top;
    width: calc(20%);
    text-align: center;
    
}


div.fio {
    position: absolute;
    left: 20%;
    top: 15%;
    right: 20%;
    bottom: 50%;
    background: rgba(27, 57, 215, 0.8);
    border-radius: 56px;
}


div.addfio {
    position: absolute;
    left: 5%;
    top: 15%;
    right: 52%;
    bottom: 40%;
    background: rgba(27, 57, 215, 0.8);
    border-radius: 20px;
   
}


div.login {
    position: absolute;
    left: 5%;
    top: 10%;
    right: 5%;
    bottom: 10%;
    background: rgba(27, 57, 215, 0.8);
    border-radius: 20px;
}

div.loginname {
    position: absolute;
    left: 60%;
    top: 5%;
    right: 5%;

    color: white;
}

div.addfrom {
    position: absolute;
    left: 50%;
    top: 65%;
    right: 5%;
    bottom: 15%;
    background: rgba(27, 57, 215, 0.8);
    border-radius: 20px;
}


div.addwhen {
    position: absolute;
    left: 5%;
    top: 65%;
    right: 52%;
    bottom: 15%;
    background: rgba(27, 57, 215, 0.8);
    border-radius: 20px;
    text-align: center;
}

div.addmesto {
    position: absolute;
    left: 50%;
    right: 5%;
    top: 15%;
    bottom: 40%;
    background: rgba(27, 57, 215, 0.8);
    border-radius: 20px;
}

div.result {
    position: absolute;
    left: 350px;
    top: 25%;
    right: 350px;
    bottom: 300px;
    background: rgba(27, 57, 215, 0.8);
    border-radius: 56px;
}


body {
 
 //   background-image: url(/Images/Bg11.png); /* выходим из папки css на уровень вверх, и заходим в папку img */
    //background: url(Images/Bg11.png);
    background-repeat: no-repeat;
    background-size: cover ; /*if you wanted to 'fill' the page to max size without cropping*/
}



@media (max-width: 768px) {
    button.mainvisitesmy {
        width: 50px;
    }

    button.mainlogout {
       
        width: 50px;
       
    }
}



img.bg {
    /* Set rules to fill background */
    min-height: 100%;
    min-width: 1024px;
    /* Set up proportionate scaling */
    width: 100%;
    height: auto;
    /* Set up positioning */
    position: fixed;
    top: 0;
    left: 0;
}

@media screen and (max-width: 1024px) { /* Specific to this particular image */
    img.bg {
        left: 50%;
        margin-left: -512px; /* 50% */
    }
}




div.bar {
    display: table; /* shrink to fit content */
    margin: 0 auto; /* center the element */
    text-align: center; /* center the content inside */
}

img.bar {
    width: 100%; /* maintain image width to be responsive */
    height: auto; /* maintain image aspect ratio */
}

p.bar {
    display: table-caption; /* the magic part, shrink to fit */
    caption-side: bottom; /* place it to the bottom */
}


td.start {
    background: white;
    color: black
}

tr.start {
    background: #82E0AA;
    color: #FF5733
}
td.begin {
    background: blue;
    color: wheat;
}


td.cancel {
    background: red;
    color: wheat
}
td.compleat {
    background: green;
    color: wheat
}

td.nocomplet {
    background: red;
    color: black
}

div.map {
    border: 1px solid #aaa;
    padding: 10px;
    width: 100%;
    height: 900px;
}



.upc-barcode,
.ean-barcode {
    font-family: 'Libre Barcode EAN13 Text';
    font-size: 64px;
}

tbody.collapse.in {
    display: table-row-group;
}

