A { color: black; TEXT-DECORATION: none }
A:active {TEXT-DECORATION: none }
a:visited { text-decoration: none; }

h1 { font-size: 22px;}
h2 { font-size: 18px;}
h3 { font-size: 14px;}
h4 { font-size: 10px;}

body { 
line-height:20px;
margin-top: 0px; 
margin-left: 0px;
margin-right: 0px;
}

#wrapper {

width: 850px;
border: 0px black solid;
padding-bottom: 20px;
margin-top: 10px;
margin-left: 5px;
border-top-left-radius:10px;
border-top-right-radius:10px;
border-bottom-right-radius:10px;
border-bottom-left-radius:10px;
}

.white{
	background-color: #FFFFFF;
	font: 13px Verdana;
	color:#003060;
	border: 0;
}


div#row {
padding: 1px;
margin: 5px;
border: 0px black solid;
display: block;
}

div#row span#desc {
font-weight: bold;
margin-left: 10px;
}

div#row div#desc {
font-weight: bold;
display: inline-block;
width: 250px;
}

div#row #field {
display: inline-block;
}

table#list {
width: 800px;
}

/* Корекция в таблиците на програмата */
table#list td, td, tr {
    border: 1px solid #0b75b2;
    background-position: 15px 50%;
}

table#list th {
    background-color: #0b75b2;
    color: white;
}

#table#list tbody tr.deleted { background-color: red;}

table#list tbody tr:hover { background-color: #90EE90;}

td#ctrl  { width: 90px; }
div#ctrl { display: inline-block;}

div#errors .error {
        background: #FFBFBF url(../img/error.png) center no-repeat;
        background-position: 15px 50%;
        text-align: left;
        padding: 5px 20px 5px 45px;
        border-top: 2px solid #FF2424;
        border-bottom: 2px solid #FF2424;
        margin-top: 5px;
        margin-bottom: 0px;
        font-size: 14px;
		  position: relative;
		  left: 0px;
        
        border-top-left-radius:10px;
        border-top-right-radius:10px;
        border-bottom-right-radius:10px;
        border-bottom-left-radius:10px;	  
 }
 
#buttons{
width: 190px;
border: 1px black solid;
margin-bottom: 5px;
text-align: center;
border-top-left-radius:10px;
border-top-right-radius:10px;
border-bottom-right-radius:10px;
border-bottom-left-radius:10px;
padding-top: 5px;
padding-bottom: 5px;

color: black;
display: inline-block;
background-color: #ff9664;
background-image: linear-gradient(top, #6496c8, #346392);
box-shadow: inset 0 0 1px 1px #27496d;
border: none;
border-radius: 15px;

}

#buttons:hover { color: white; background-color: #0b75b2;}



table#pcard {
width: 800px;
}

.empty {
margin-top: 5px;
margin-bottom: 5px;
}

div#add_service, div#view_service{ background-color: #D6E6FF; }
#fieldset1 { background-color: #FAFAD2;}
#fieldset2 { background-color: #E0FFFF;}
#fieldset3 { background-color: #FFE4E1;}
#fieldset4 { background-color: #FFE4E1;}
#fieldset5 { background-color: #FFE4E1;}
#fieldset6 { background-color: #ecb3ff;}

.icon {
margin-right: 5px;
position: relative;
top: 2px;
}

div#sml_pdf_box {
display: inline-block;
width: 192px;
height: 120px;
border: 1px black solid;
margin-top: 15px;
margin-bottom: 40px;

margin-right: 4px;
}

div#sml_pdf_box #ctl {
display: inline-block;
width: 192px;
border: 1px black dashed;
margin-left: -1px;
}

div#sml_pdf_box #ctl .checkbox {
display: inline-block;
position: relative;
top: -17px;
left: 110px;
border: 1px black solid;
}

div#sml_pdf_box p {
text-align: center;
font-size: 20px;
}

div#sml_pdf_box img {
max-width:100%; 
max-height:100%;
margin:auto;
display:block;
overflow:hidden;
}





div#sml_photo_box {
display: inline-block;
width: 192px;
height: 120px;
border: 1px black solid;
margin-top: 15px;
margin-bottom: 40px;

margin-right: 4px;
}

div#sml_photo_box #ctl {
display: inline-block;
width: 192px;
border: 1px black dashed;
margin-left: -1px;
}

div#sml_photo_box #ctl .checkbox {
display: inline-block;
position: relative;
top: -17px;
left: 110px;
border: 1px black solid;
}

div#sml_photo_box p {
text-align: center;
font-size: 20px;
}

div#sml_photo_box img {
max-width:100%; 
max-height:100%;
margin:auto;
display:block;
overflow:hidden;
}

legend { 
font-weight: bold;
font-size: 16px;
}

fieldset {
margin-bottom: 10px;
}

div#search {
width: 800px;
padding-bottom: 10px;
}

div#search form input[type=text],input[type=submit] {
margin: 5px;
font-size: 14px;
}



/* Basic Grey */
.basic-grey {
    margin-left:auto;
    margin-right:auto;
    max-width: 750px;
    background: #F7F7F7;
    padding: 25px 15px 25px 10px;
    font: 14px Georgia, "Times New Roman", Times, serif;
    color: black;
    text-shadow: 1px 1px 1px #FFF;
    border:1px solid #E4E4E4;
}

.basic-grey input[type="text"] {
    border: 1px solid #DADADA;
    color: black;
    height: 30px;
    margin-bottom: 16px;
    margin-right: 6px;
    margin-top: 2px;
    outline: 0 none;
    padding: 3px 3px 3px 5px;
    font-size: 14px;
    line-height:15px;
    box-shadow: inset 0px 1px 4px #ECECEC;
    -moz-box-shadow: inset 0px 1px 4px #ECECEC;
    -webkit-box-shadow: inset 0px 1px 4px #ECECEC;
}

.basic-grey .button {
    background: #E27575;
    border: none;
    padding: 10px 25px 10px 25px;
    color: #FFF;
    box-shadow: 1px 1px 5px #B6B6B6;
    border-radius: 3px;
    text-shadow: 1px 1px 1px #9E3F3F;
    cursor: pointer;
}
.basic-grey .button:hover {
    background: #CF7A7A
}

.required:after { 
content: "*"; 
color: red;
font-weight: bold;
display: inline-block;
}

.none:after { 
content: "*"; 
color: green;
font-weight: bold;
display: inline-block;
}


/* Snow css setup */

html,body{padding:0; margin:0;}
.collectonme{margin:80px auto; background: red; width:80%; text-align:center; font-size:1.2em; color:#fff;}
/* End snow setup */




/*HOVER POPUP LINKS mouse  popup text option*/





#popup a span {
    display: none;
    text-align: right;
    }

#popup a:hover span {
    display: block;
    position: absolute;
    top: 0px;
    left: 170px;
    width: 320px;
    margin: 0px;
    padding: 10px;
    color: #335500;
    align-content: right;
    font-weight: normal;
    background: #e5e5e5;
    text-align: right;

}


#popup a, #popup a:visited {
    display: block;
    width: 130px;
    line-height: 30px;
    text-align: right;
    padding: 0 10px;
    margin: 0;

}



/*
Export to excel button 
*/
#list2{
width: 190px;
border: 1px black solid;
margin-bottom: 5px;
text-align: center;
border-top-left-radius:10px;
border-top-right-radius:10px;
border-bottom-right-radius:10px;
border-bottom-left-radius:10px;
padding-top: 5px;
padding-bottom: 5px;

color: black;
display: inline-block;
background-color: #009933;
background-image: linear-gradient(top, #6496c8, #346392);
box-shadow: inset 0 0 1px 1px #27496d;
border: none;
border-radius: 15px;

}

#list2:hover { color: white; background-color: #0b75b2;}

/*
Export to pdf button 
*/
#btnExport{
width: 220px;
border: 1px black solid;
margin-bottom: 5px;
text-align: center;
border-top-left-radius:10px;
border-top-right-radius:10px;
border-bottom-right-radius:10px;
border-bottom-left-radius:10px;
padding-top: 5px;
padding-bottom: 5px;

color: black;
display: inline-block;
background-color: #ff0000;
background-image: linear-gradient(top, #6496c8, #346392);
box-shadow: inset 0 0 1px 1px #27496d;
border: none;
border-radius: 15px;

}

#btnExport:hover { color: white; background-color: #0b75b2;}


