html {
    /* always display a static scroll - removes the page shifting */
    overflow-y: scroll;
}
html, body {
    height: 100%;
}
body {
    width: 100%;
    margin: 0;
    background: #FFFFFF url('../images/background.jpg');
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: #8A8A8A;
}
img {
    border: 0;
}
a {
    outline: 0;
    color: #77B003;
    text-decoration: none;
}
a:hover {
    color: #FF4B42;
}
a:visited {
    color: green;
}
ul {
    margin: 0;
    padding: 0;
}



#container {
    background: url('../images/header.jpg') repeat-x left top;
    min-height: 100%;
    position: relative;
}
#header {
    width: 1346px;
    height: 158px;
    margin: 0 auto;
}

#header #top-menu {
    padding-top: 5px;
    height: 24px;
}
#header #top-menu ul {
    float: right;
}
#header #top-menu li {
    display: inline;
}
#header #top-menu a {
    float: left;
    height: 19px;
    padding: 4px 14px 0;
    border-left: 1px solid #AFCF40;
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
}
#header .last {
    border-right: 1px solid #AFCF40;
}
#header #top-menu .active {
    background-color: #E4730B;
}
#header #top-menu a:hover {
    background-color: #E4730B;
}

#header #middle-menu {
    height: 86px;
}
#header #middle-menu #logo {
    height: 85px;
    float: left;
}
#header #middle-menu #logo img {
    width: 250px;
    height: 85px;
}
#header #middle-menu .reminder {
    position: absolute;
    left: 50%;
    margin-left: -25px;
    width: 50px;
    height: 50px;
}
#header #middle-menu .reminder img {
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}
#header #middle-menu .logout {
    margin-top: 16px;
    height: 50px;
    float: right;
    font-size: 20px;
}
#header #middle-menu .website {
    margin-top: 19px;
    margin-right: 30px;
    float: right;
    height: 50px;
}
#header #middle-menu .website img {
    width: 150px;
    height: 50px;
}

#header #bottom-menu li {
    border-left: 1px solid #AFCF40;
    display: block;
    float: left;
}
#header #bottom-menu a {
    float: left;
    height: 30px;
    padding: 13px 48px 0px;
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
}
#header #bottom-menu a:not(:first-child) {
    border-left: 1px dashed #AFCF40;
}
#header #bottom-menu .active {
    background-color: #E4730B;
}
#header #bottom-menu a:hover {
    background-color: #E4730B;
}



#legend {
    width: 1346px;
    margin: 0 auto;
    padding: 12px 0;
    font-size: 14px;
}
#page {
    margin: 20px auto 0;
    width: 1346px;
    padding: 0 0 70px;
}



#footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    margin: 0 auto;
    padding: 14px 0px;
    background: #E1E1E1;
    text-align: center;
    font-size: 12px;
}
#footer .r {
    position: absolute;
    margin-top: -5px;
    font-size: 10px;
}



.half {
    margin: auto;
    width: 706px;
}

.pre_menu {
    height: 30px;
}

.add_new {
    float: left;
    font-weight: bold;
    background: #F1F1F1;
    padding: 5px 8px 4px 8px;
    margin-top: -5px;
    margin-left: 3px;
}
.add_new:hover {
    background: #7FB503;
}
.active2 {
    background: #7FB503;
    color: #FF4B42;
}
.add_new img {
    width: 16px;
    height: 16px;
    margin-bottom: -2px;
}

.search_date {
    width: 350px;
    float: right;
    font-size: 14px;
    color: #222;
    text-align: right;
}
.search_date input[type="text"] {
    width: 66px;
}

.search_by {
    float: right;
    text-align: right;
}
.search_by input[type="text"] {
    width: 120px;
}
.search_by select {
    width: 125px;
}



.sidebar {
    width: 300px;
}
.sidebar .title {
    background-color: #7FB503;
    color: white;
    padding: 8px;
    text-align: center;
    font-weight: bold;
}

.sidebar .content {
    background-color: #F1F1F1;
    margin-bottom: 16px;
}

.sidebar a {
    padding: 8px;
    display: block;
}
.sidebar a:hover {
    background-image: url('../images/bg.png');
}
.sidebar .active {
    background-image: url('../images/bg.png');
}



/* default table */
.menu_title {
    background-color: #7FB503;
    margin: 0 0 10px;
    color: white;
    padding: 8px 0;
    text-align: center;
    font-weight: bold;
}
.list_menu {
    color: #7FB503;
    border: solid 3px;
    font-size: 14px;
    text-align: center;
}
.list_menu .list_head {
    display: table;
    width: 100%;
    height: 30px;
    font-weight: bold;
    background-color: #F1F1F1;
    border-bottom: 1px solid #7FB503;
}
.list_menu .list_head div {
    display: table-cell;
    height: 16px;
    padding: 7px 0;
    border-right: 1px solid #7FB503;
}
.list_menu .list_row {
    display: table;
    width: 100%;
    height: 35px;
    color: black;
}
.list_menu .list_row:hover {
    background-image: url('../images/bg.png');
}
.list_menu .list_row .list_field {
    display: table-cell;
    height: 35px;
    vertical-align: middle;
}
.line {
    height: 1px;
    background-color: #7FB503;
}

/* important table */
.menu_title.important {
    background-color: #FF4500;
}
.list_menu.important {
    color: #FF4500;
}
.list_menu.important .list_head {
    border-bottom: 1px solid #FF4500;
}
.list_menu.important .list_head div {
    border-right: 1px solid #FF4500;
}
.line.important {
    background-color: #FF4500;
}

/* to do table */
.menu_title.to_do {
    background-color: #FFCC00;
}
.list_menu.to_do {
    color: #FFCC00;
}
.list_menu.to_do .list_head {
    border-bottom: 1px solid #FFCC00;
}
.list_menu.to_do .list_head div {
    border-right: 1px solid #FFCC00;
}
.line.to_do {
    background-color: #FFCC00;
}

/* waiting table */
.menu_title.waiting {
    background-color: #003FFF;
}
.list_menu.waiting {
    color: #003FFF;
}
.list_menu.waiting .list_head {
    border-bottom: 1px solid #003FFF;
}
.list_menu.waiting .list_head div {
    border-right: 1px solid #003FFF;
}
.line.waiting {
    background-color: #003FFF;
}

/* expiring table */
.menu_title.expiring {
    background-color: #003FFF;
}
.list_menu.expiring {
    color: #003FFF;
}
.list_menu.expiring .list_head {
    border-bottom: 1px solid #003FFF;
}
.list_menu.expiring .list_head div {
    border-right: 1px solid #003FFF;
}
.line.expiring {
    background-color: #003FFF;
}



/* table fields */
.list_head .last {
    border-right: none;
    padding-right: 1px;
}
.list_head .small {
    width: 39px;
}
.list_row .small {
    width: 40px;
}
.list_head .name {
    width: 299px;
}
.list_row .name {
    width: 300px;
}
.list_head .service {
    width: 279px;
}
.list_row .service {
    width: 280px;
}
.list_head .email {
    width: 269px;
}
.list_row .email {
    width: 270px;
}
.list_head .phone {
    width: 169px;
}
.list_row .phone {
    width: 170px;
}
.list_head .city {
    width: 269px;
}
.list_row .city {
    width: 270px;
}
.list_head .date {
    width: 99px;
}
.list_row .date {
    width: 100px;
}



.width_price {
    width: 52px !important;
}
.width_date {
    width: 70px !important;
    text-align: center;
}
.width_datetime {
    width: 108px !important;
    text-align: center;
}



.separate {
    clear: both;
    height: 13px;
}
.bigline {
    height: 2px;
    margin: 6px 0;
    background: grey;
}
.separate2 {
    height: 1px;
    margin: 0 auto 14px auto;
    background-color: #888;
    box-shadow: 0px 0px 1px #888;
}
.separate3 {
    height: 1px;
    margin: -5px auto 10px auto;
    background-color: #bbb;
    box-shadow: 0px 0px 1px #bbb;
}

.submit_button {
    margin: 5px;
    text-align: center;
}
.submit_button input {
    font-size: 18px;
}
.submit_button input:hover {
    cursor: pointer;
}



.menu_menu {
    color: black;
    padding: 15px 20px 15px;
    border: solid 3px #7FB503;
}
.menu_menu .menu_row {
    height: 35px
}
.menu_menu .menu_row_big {
    height: 70px;
}
.menu_menu .menu_row_bigg {
    height: 120px;
}
.menu_menu .menu_left {
    float: left;
    width: 180px;
    color: #7FB503;
    font-weight: bold;
}



.menu_menu .menu_right {
    width: 480px;
    float: right;
}
.menu_menu .menu_right input[type="text"], input[type="email"] {
    padding-left: 2px;
    width: 100%;
}
.menu_menu .menu_right input[type="checkbox"] {
    text-align: left;
}
.menu_menu .menu_right textarea {
    padding-left: 2px;
    width: 100%;
}

.menu_menu .menu_right_big {
    float: right;
    width: 1120px;
}
.menu_menu .menu_right_big input[type="text"] {
    padding-left: 2px;
    width: 100%;
}



.notdone {
    width: 100%;
    height: 25px;
    text-align: left;
}
.done {
    width: 100%;
    height: 25px;
    text-align: right;
}

.square {
    position: absolute;
    height: 8px;
    width: 8px;
    border: 1px solid grey;
}
.square_text {
    margin-top: -1px;
    margin-left: 15px;
}
.fw_old {
    background-color: #a0b39a;
    text-decoration: line-through;
}

@keyframes pulse {
    0% {
        text-shadow: 0 0 10px red;
        transform: scale(1);
    }
    50% {
        text-shadow: 0 0 30px red;
        transform: scale(1.7);
    }
    100% {
        text-shadow: 0 0 10px red;
        transform: scale(1);
    }
}