/* 
    Document   : css
    Created on : 20.05.2012., 21:19:37
    Author     : Crea
    Description:
        Purpose of the stylesheet follows.
*/

/*************************************************************************************
    Clearfix
**************************************************************************************/

.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clearfix {
    display: inline-block;
}

html[xmlns] .clearfix {
    display: block;
}

* html .clearfix {
    height: 1%;
}


/*************************************************************************************
    Site
**************************************************************************************/

h1, h2, h3, h4, h5, h6, p, a, li, td, tr, span {
    font-family: /*'Myriad Pro',*/ Verdana;
    font-size: 14px;
}

header, #content, footer {
    width: 960px;
    margin: 0 auto;
}

html {
    overflow-y: scroll;
}

/*************************************************************************************
    Header
**************************************************************************************/

#header-wrapper {
    background: url('../img/header_background.png');
    height: 92px;
    border-top: 5px solid #000;
    border-bottom: 1px solid #c0c0c0;
}

header {

}

nav a {
    text-decoration: none;
}

nav li:hover {
    border-bottom: 4px solid #910808;
}

nav ul li, nav ul li a {
    float: left;
    width: 90px;
}

nav ul li p {
    text-align: center;
    font-weight: bold;
    color: #636363;
}

nav ul li p:first-of-type {
    padding-top: 10px;
}

#logo {
    margin-top: 15px;
    float: right;
}

/*************************************************************************************
    Content
**************************************************************************************/

.apps-menu {
    margin-left: 280px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.apps-menu li {
    float: left;
}

.apps-menu li a {
    margin-right: 5px;
    font-weight: normal;
    padding: 4px 8px;
    background: #dcdcdc;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#fefefe), to(#dcdcdc));
    background-image: -webkit-linear-gradient(top, #fefefe, #dcdcdc);
    background-image: -moz-linear-gradient(top, #fefefe, #dcdcdc);
    background-image: -ms-linear-gradient(top, #fefefe, #dcdcdc);
    background-image: -o-linear-gradient(top, #fefefe, #dcdcdc);
    background-image: linear-gradient(top, #fefefe, #dcdcdc);
    color: #333;
    border: 1px solid #bbb;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    text-decoration: none;
    text-shadow: #fff 0px 1px 0px;
    min-width: 0;
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0px 1px 1px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0px 1px 1px rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0px 1px 1px rgba(0, 0, 0, 0.2);
    -webkit-user-select: none;
    user-select: none;
}

#content {
    min-height: 500px;
}

#content-top {
    margin: 30px 0 0 0;
    height: 60px;
}

.search {
    float: left;
    width: 500px;
    margin: 5px 0 5px 20px;
}

.new-items {
    margin: 8px 0 0 28px;
}

.new-items li {
    float: left;
    padding: 0 4px;
}

.abc-search {
    margin: 40px 0 20px 20px;
    clear: both;
    float: left;
}

#search-form label {
    font-size: 14px;
    display: block;
    margin-bottom: 4px;
}

#search-form input[type=text] {
    width: 170px;
    padding: 4px;
    background: #EFEFEF;
}

#search-form input[type=submit] {
    padding: 2px 5px;
}

.abc-search li {
    float: left;
    padding: 6px;
    font-size: 18px;
    font-weight: bold;

}

.abc-search a {
    color: #636363;
    text-decoration: none;
    font-size: 18px;
}

.abc-search li:hover {
    cursor: pointer;
}

.current-letter {
    position: absolute;
    margin: 30px 0 0 844px;
    background: url('../img/letter_container.png');
    width: 111px;
    height: 111px;
}

.current-letter p {
    padding-top: 12px;
    text-align: center;
    font-size: 80px;
    font-weight: bold;
}

.table-data {
    margin: 20px 0 0 20px;

}

.table-data th {
    padding: 10px;
    vertical-align: middle;
    text-align: center;
}

.header-big {
    font-size: 15px;
}

.data {
    border-collapse: separate;
    border-spacing: 0 3px;
    min-width: 936px;
    width: 936px;
}

.data-small {
    border-collapse: separate;
    border-spacing: 0 3px;
    min-width: 748px;
    width: 748px;
}

.data p {
    line-height: 16px;
}

.data th {
    text-align: left;
}

.table-data tbody tr {
    height: 45px;
    background: url('../img/table_row_bg.png');
}

.table-data tbody tr:hover {
    background: url('../img/table_row_hover_bg.png');
}

.table-data td {
    border-bottom: 1px solid #c0c0c0;
    border-top: 1px solid #c0c0c0;
    padding: 7px;
}

.td-first {
    border-left: 5px solid silver;
    vertical-align: middle;
    text-align: center;
    width: 35px;
}

.data tr {
    border-radius: 5px;
}

.td-last {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-right: 1px solid silver;
    text-align: center;
    vertical-align: middle;
    width: 36px;
}

td.actions {
    vertical-align: middle;
}

td.actions-3 {
    width: 209px;
}

td.actions-5 {
    width: 348px;
}

.table-id {
    width: 30px;
}

.separator {
    background: url("/img/table_separator.png") no-repeat right;
    vertical-align: middle;
}

.user-name {
    font-size: 16px;
    font-weight: bold;
}

.view h3, .view h4 {
    font-size: 34px;
    font-weight: bold;
    color: #636363;
}

.view h4 {
    font-size: 24px;
    margin: 20px 0 0 0;
}

.view p {
    padding: 0;
}

.view span {
    font-weight: bold;
    color: #636363;
}

.view ul {
    margin: 20px 0 40px 20px;
}

.view ul li {
    padding: 5px 0;
}

.birth_date {
    width: 20%;
}

.data h2 a {
    font-size: 16px;
    text-decoration: none;
}

.exam-item input {
    width: 80px;
    float: left;
}

.exam-item td {
    border-bottom: none;
}

.border-bottom {
    border-bottom: 1px solid #c0c0c0;
}

td.border-right {
    border-right: 1px solid #DDD;
    width: 147px;
}

.border-none {
    border: none;
}

.exam-item table tr {
    background: none;
}

.exam-item th {
    text-align: center;
}

.exam-item td {
    vertical-align: middle;
    text-align: center;
}

.patient-info {
    padding: 2px 3px;
    margin: 20px 0;
}

.patient-info li {
    padding: 2px 0;
}

.patient-info span {
    font-weight: bold;
}

form h2, fieldset h2 {
    color: green;
}

#content h1 {
    font-size: 22px;
    margin: 5px 0 5px 20px;
}

#content textarea {
    width: 650px;
    height: 150px;
}

/*************************************************************************************
    Footer
**************************************************************************************/


.actions h3 {
    padding: 4px 0;
}

fieldset legend {
    color: green;
}

#content .finding .small {
    width: 480px;
    height: 17px;
}

#content .finding .medium {
    width: 648px;
    height: 130px;
}

#content .finding .big {
    width: 265px;
    height: 250px;
}

#content .finding tr {
    background: none;
}

#content .finding .small-two {
    width: 380px;
    height: 17px;
    float: left;
    clear: none;
}

.small-two input {
    width: 69%;
}

.finding label {
    width: 100px;
    float: left;
    line-height: 37px;
}

.finding span {
    font-weight: bold;
}

span.finding-two {
    font-weight: normal;
    display: block;
    width: 380px;
    float: left;
}

.float-left {
    float: left;
    clear: none;
}

.bold {
    font-weight: bold;
}

.finding tr {
    height: 45px;
}

p.border {
    border: 1px solid #c0c0c0;
    margin: 10px 0;
    padding: 10px;
}

.signature {
    width: 250px;
    float: right;
    margin-top: 103px;
    text-align: center;
    border-top: 1px solid #EEE;
    padding-top: 10px;
}

.title {
    text-align: center;
    font-weight: bold;
    font-size: 28px !important;
    margin: 40px 0 !important;
    color: #000;
    text-transform: uppercase;
}

.statistics-menu li {
    padding: 2px 0;
}

.statistics-menu li a {
    text-decoration: none;
}

.monthly-view {
    width: 312px;
    float: right;
}

.date {
    text-align: right;
}

.eyes {
    width: 132px;
}

.exam-view p,
.finding p
{
    line-height: 16px;
}

input.phone1 {
    width: 55px;
    margin-right: 5px;
}

input.phone2 {
    width: 110px;
}

#existingUsers {
    color: #E32;
}

@media print {
    .no-print, .no-print * {
        display: none !important;
    }
}

.flashMessage.error {
    background-color: #E32;
}

.flashMessage.warning {
    background-color: #eeae27;
}

/*************************************************************************************
    Select 2
**************************************************************************************/

.jq-status-work-order.completed,
.jq-status-lense.completed,
.jq-deposit-slip.completed {
    background: url("/img/completed.png") no-repeat;
}

.jq-status-work-order.not-completed,
.jq-status-lense.not-completed,
.jq-deposit-slip.not-completed {
    background: url("/img/not_completed.png") no-repeat;
}

.select2.select2-container.select2-container--default {
    width: 250px !important;
}

.select2-container .select2-selection--single {
    height: 38px;
}

.select2-results {
    color: #000;
}