@media (max-width: 576px) {

    html,
    body {
        min-height: 100vh !important;
        background-color: #f5f5f5 !important;
    }
}

html,
body {
    height: 100%;
    width: 100%;
    border: 0;
    padding: 0;
    margin: 0;
    background-color: buttonface;
}

body.image {
    height: max-content;
    background-attachment: fixed;
}

body.cover {
    background-size: cover;
}

/* Notable days baground images */
/* body.cover.new-year {
    background-image: url('../image/background/f-time.jpg');
}

body.repeat.halloween {
    background-image: url('../image/background/cobweb.jpg');
}

body.cover.valentine {
    background-image: url('../image/background/hearts.jpg');
}

body.cover.stdavids {
    background-image: url('../image/background/daffs.jpg');
}

body.repeat.standrews {
    background-image: url('../image/background/MacLeod_tartan.png');
}

body.repeat.stpatricks {
    background-image: url('../image/background/shamrock.gif');
}

body.cover.stgeorges {
    background-image: url(../image/background/red-cross.png);
    background-position-x: -200px;
    background-position-y: -100px;
}

body.cover.fireworks {
    background-image: url('../image/background/fireworks.jpg');
} */

/*Christmas images */
/* body.cover.background1 {
    background-image: url('../image/background/Snow-Blue-Background.jpg');
}

body.cover.background2 {
    background-image: url('../image/background/Bauble-Background.jpg');
}

body.cover.background3 {
    background-image: url('../image/background/Blue-Christmas-Background.jpg');
}

body.cover.background4 {
    background-image: url('../image/background/Green-Christmas-Tree-Background.jpg');
}

body.cover.background5 {
    background-image: url('../image/background/Icy-Bauble-Background.jpg');
}

body.cover.background6 {
    background-image: url('../image/background/Red-Christmas-Background.jpg');
}

body.cover.background7 {
    background-image: url('../image/background/xmastree.jpg');
}

body.cover.background8 {
    background-image: url('../image/background/baubles-gold.jpg');
}

body.cover.background9 {
    background-image: url('../image/background/red-xmas.jpg');
}

body.cover.background10 {
    background-image: url('../image/background/red-purple-trees.jpg');
}

body.cover.background11 {
    background-image: url('../image/background/red-landscape1.jpg');
}

body.cover.background12 {
    background-image: url('../image/background/snowflake5.jpg');
}

body.repeat {
    background-repeat: repeat;
}

body.repeat.background1 {
    background-image: url('../image/background/baubles1.jpg');
}

body.repeat.background2 {
    background-image: url('../image/background/lights1.jpg');
}

body.repeat.background3 {
    background-image: url('../image/background/snowflake1.jpg');
}

body.repeat.background4 {
    background-image: url('../image/background/snowflake2.jpg');
}

body.repeat.background5 {
    background-image: url('../image/background/snowflake3.jpg');
}

body.repeat.background6 {
    background-image: url('../image/background/tartan1.jpg');
}

body.repeat.background7 {
    background-image: url('../image/background/xmastree1.jpg');
}

body.repeat.background8 {
    background-image: url('../image/background/lights2.jpg');
}

body.repeat.background9 {
    background-image: url('../image/background/twinklestars.gif');
}

body.repeat.background10 {
    background-image: url('../image/background/snowflake4.jpg');
}

body.repeat.background11 {
    background-image: url('../image/background/twinklestars.gif');
}

body.repeat.background12 {
    background-image: url('../image/background/twinklestars.gif');
} */



p {
    font-family: inherit;
    font-weight: normal;
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 1.25em;
    text-rendering: optimizeLegibility;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
}

input {
    /* font: normal .8em Arial, Helvetica, sans-serif !important; */
}

/* button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    width: auto;
    height: auto;
    cursor: pointer;
    -webkit-appearance: button;
} */

input[type="hidden"] {
    display: none;
}

/* input:focus,
textarea:focus,
select:focus {
    outline: none;
} */

/* Headings */

/* h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-family: inherit;
    font-weight: bold;
    color: inherit;
    text-rendering: optimizelegibility;
}

h1 small,
h2 small,
h3 small,
h4 small,
h5 small,
h6 small {
    font-weight: normal;
    color: #999999;
}

h1 {
    font-size: 22px;
    line-height: 22px;
    padding: 10px 0;
}

h1 small {
    font-size: 18px;
}

h2 {
    font-size: 24px;
    line-height: 36px;
}

h2 small {
    font-size: 18px;
}

h3 {
    color: #545454;
    font-size: 13px;
    line-height: 15px;
    margin-bottom: 10px;
}

h3 small {
    font-size: 14px;
}

h4,
h5,
h6 {
    line-height: 18px;
}

h4 {
    color: #444;
    font-size: 12px;
    line-height: 15px;
    margin: 15px 0;
    text-transform: uppercase;
}

h4 small {
    font-size: 12px;
}

h5 {
    font-size: 12px;
}

h6 {
    font-size: 11px;
    color: #999999;
    text-transform: uppercase;
} */

p,
ul,
ol,
dl,
blockquote,
pre {
    margin-bottom: 20px
}

/* page layout */

#notification div {
    margin: 10px;
}

/* Lists */

ul,
ol {
    list-style-position: inside;
    padding-left: 20px;
}

/* ul {
    list-style: disc;
} */

ol {
    list-style: decimal;
}

/* li {
    line-height: 20px;
} */

ul.unstyled,
ol.unstyled {
    margin-left: 0;
    padding-left: 0;
    list-style: none;
}

.ordered-list {
    list-style: decimal !important;
    list-style-position: inside !important;
}

.unordered-list {
    list-style: disc;
}

.inside-list {
    list-style-position: inside;
}

dt {
    font-weight: bold;
    margin-bottom: 3px;
}

dd {
    padding-left: 10px;
    margin-bottom: 3px;
}

/* hr {
    margin: 20px 0;
    border: 0;
    border-top: 1px solid #cccccc;
} */

/* Text */

strong,
b {
    font-weight: bold;
}

em,
i {
    font-style: italic;
}

address {
    display: block;
    margin-bottom: 18px;
    font-style: normal;
    line-height: 18px;
}

small {
    font-size: 80%;
}

cite {
    font-style: normal;
}

code,
pre {
    padding: 0 3px 2px;
    font: normal 12px Menlo, Monaco, Consolas, "Courier New", monospace;
    color: #333;

    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

code {
    padding: 2px 4px;
    color: #346392;
    background-color: #F3F9FF;
}

pre {
    display: block;
    padding: 15px;
    font-size: 12px;
    line-height: 20px;
    word-break: break-all;
    word-wrap: break-word;
    white-space: pre;
    white-space: pre-wrap;
    background-color: #F3F9FF;

    border: 1px solid #CCE4FF;

    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

pre code {
    color: inherit;
    background-color: transparent;
}

/* a:link,
a:active,
a:visited {
    text-decoration: none;
    color: #0068DE;
}

a:hover {
    text-decoration: underline;
    color: #333;
    cursor: pointer;
}

a img {
    border: none;
} */

.blockquote {
    padding-left: 20px;
    border-left: 3px solid #eee;
}

/* input[type="text"],
textarea {
    display: inline-block;
    width: 250px;
    height: 16px;
    padding: 5px;
    color: #000;
    background-color: #fff;
    border: 1px solid #bbb;
    border-top: 1px solid #999;

    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    font: normal .75em Arial, Helvetica, sans-serif !important;
} */

/* textarea {
    height: auto;
    overflow: auto;
    resize: vertical;
    width: 400px;
    height: 70px;
}

select {
    color: #000;
    cursor: pointer;
    max-width: 260px;
}

select.med {
    width: 160px;
} */
/* 
input[type="text"].med {
    width: 150px;
}

input[type="number"].med {
    width: 50px;
}

select.small {
    width: 80px;
}

input[type="text"].small {
    width: 75px;
}

input[type="number"].small {
    width: 30px;
} */

/*------------------------------------------------------------------------------
 | TABLES
 -----------------------------------------------------------------------------*/

.table-options {
    padding: 10px 40px;
    margin: 0 -40px 20px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #dadada;
    background: #FDFFFF;

    background: #EAF3FB;
    /* Old browsers */
    background: -moz-linear-gradient(top, #ffffff 0%, #FCFEFE 100%);
    /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(100%, #FCFEFE));
    /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #ffffff 0%, #FCFEFE 100%);
    /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #ffffff 0%, #FCFEFE 100%);
    /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #ffffff 0%, #FCFEFE 100%);
    /* IE10+ */
    background: linear-gradient(top, #ffffff 0%, #FCFEFE 100%);
    /* W3C */

    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ffffff', endColorstr='#FCFEFE', GradientType=0);
    box-shadow: 0 1px 1px #fafafa;
}

.table-wrapper {
    /* margin-left: -38px;
    margin-right: -40px; */
}

.table-rounded {
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;

    overflow: hidden;
    border: 1px solid #dadada;
}

.table-rounded>table {
    margin-bottom: 0;
    border: none;
}

.table {
    margin-bottom: 15px;
}

.table tr td {
    border-bottom: 1px solid #ddd;
    padding: 10px 8px;
}

.table tr td.first {
    padding-left: 40px;
}

.table tr td.last {
    padding-right: 40px;
}

.table thead th,
.table thead td {
    font-size: 13px;
    font-weight: bold;
    color: #555;
    vertical-align: bottom;
}

.table thead th.first,
.table thead td.first {
    padding-left: 40px;
}

.table thead th.last,
.table thead td.last {
    padding-right: 40px;
}

/* Striped table */

.table-striped tbody tr:nth-child(odd) td {
    background-color: #f9f9f9;
}

/* Condensed table */

.table-condensed tr td {
    padding: 8px;
}

/* Data table */

.table-data {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.table-data .title {
    font-weight: bold;
    color: #888;
    width: 35%;
    border-right: 1px solid #f3f3f3;
    padding-right: 15px;

}

.table-data .title+td {
    padding-left: 15px;
}

.row-info td {
    background: #e4f1f8 !important;
}

/* Data grid */

.table-data-grid {
    box-shadow: 0 1px 1px #fafafa;
    margin-bottom: 20px;

    -webkit-box-shadow: 0 1px 0 #fafafa;
    -moz-box-shadow: 0 1px 0 #fafafa;
    box-shadow: 0 1px 0 #fafafa;
}

.table-data-grid td {
    padding: 6px 8px;
    max-width: 120px;
    vertical-align: middle;
    text-align: center;
}

.table-data-grid thead td {
    background-color: #f3f3f3;
    border-bottom: 2px solid #e3e3e3;
}

.table-data-grid tbody .title {
    text-align: right;
    padding-right: 20px;
    border-right: 2px solid #e3e3e3;
    font-weight: bold;
}

/* scolling table (5 columns))*/
.fixed-headers {
    width: 700px;
    table-layout: fixed;
    border-collapse: collapse;
    margin: 0 30px;
}


.fixed-headers th,
.fixed-headers td {
    border-bottom: 1px solid #ddd;
    padding: 10px 8px;
    text-align: left;
}

.fixed-headers td:nth-child(1),
.fixed-headers th:nth-child(1) {
    min-width: 150px;
}

.fixed-headers td:nth-child(2),
.fixed-headers th:nth-child(2) {
    min-width: 170px;
}

.fixed-headers td:nth-child(3),
.fixed-headers th:nth-child(3) {
    width: 100px;
}

.fixed-headers td:nth-child(4),
.fixed-headers th:nth-child(4) {
    width: 100px;
}

.fixed-headers td:nth-child(5),
.fixed-headers th:nth-child(5) {
    width: 100px;
}

.fixed-headers thead tr {
    display: block;
    position: relative;
}

.fixed-headers tbody {
    display: block;
    overflow: auto;
    width: 100%;
    height: 350px;
}

.old_ie_wrapper {
    height: 350px;
    width: 700px;
    overflow-x: hidden;
    overflow-y: auto;
}

.old_ie_wrapper tbody {
    height: auto;
}

/*------------------------------------------------------------------------------
 | BUTTONS
 -----------------------------------------------------------------------------*/

.button,
a.button {
    display: inline-block;
    *display: inline;

    padding: 6px 12px;
    height: 16px;

    margin-right: 4px;
    margin-bottom: 0;
    *margin-left: .3em;

    font: bold 13px/16px Arial, Helvetica, sans-serif;
    *line-height: 18px;
    text-shadow: 0 1px 0 #fff;
    color: #666666;

    text-align: center;

    vertical-align: middle;
    cursor: pointer;

    background-color: #e8e8e8;
    background-image: -ms-linear-gradient(top, #f9f9f9, #e8e8e8);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f9f9f9), to(#e8e8e8));
    background-image: -webkit-linear-gradient(top, #f9f9f9, #e8e8e8);
    background-image: -o-linear-gradient(top, #f9f9f9, #e8e8e8);
    background-image: linear-gradient(top, #f9f9f9, #e8e8e8);
    background-image: -moz-linear-gradient(top, #f9f9f9, #e8e8e8);
    background-repeat: repeat-x;

    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#f9f9f9', endColorstr='#e8e8e8', GradientType=0);
    *zoom: 1;

    border: 1px solid #bababa;
    *border: 0;
    border-color: #bababa #b9b9b9 #adadad;

    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;

    -webkit-box-shadow: inset 0 1px 0 #fff, 0 1px 0 #f2f2f2;
    -moz-box-shadow: inset 0 1px 0 #fff, 0 1px 0 #f2f2f2;
    box-shadow: inset 0 1px 0 #fff, 0 1px 0 #f2f2f2;
}

.button.small {
    font-size: 11px;
    line-height: 20px;

    height: 20px;

    padding: 0 10px;
    margin-right: 1px;

    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.button.button-medium {
    font-size: 11px;
    line-height: 25px;
    height: 25px;

    padding: 0 6px;
    margin-right: 1px;

    border-color: #cacaca #c9c9c9 #bdbdbd;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.button-medium.button-error {
    border: 1px solid #c62c26;
    *border: 0;
    border-color: #df443e #c62c26 #af1510;
    border-bottom-color: #af1510;
}

.button:hover {
    text-decoration: none;
}

.button:active {
    background-color: #dadada;

    background-image: -ms-linear-gradient(top, #dadada, #e8e8e8);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#dadada), to(#e8e8e8));
    background-image: -webkit-linear-gradient(top, #dadada, #e8e8e8);
    background-image: -o-linear-gradient(top, #dadada, #e8e8e8);
    background-image: linear-gradient(top, #dadada, #e8e8e8);
    background-image: -moz-linear-gradient(top, #dadada, #e8e8e8);
    background-repeat: repeat-x;

    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#dadada', endColorstr='#e8e8e8', GradientType=0);

    -webkit-box-shadow: inset 0 1px 0 #c8c8c8, 0 1px 0 #f2f2f2;
    -moz-box-shadow: inset 0 1px 0 #c8c8c8, 0 1px 0 #f2f2f2;
    box-shadow: inset 0 1px 0 #c8c8c8, 0 1px 0 #f2f2f2;
}

/* button colours */
a.button.orange {
    color: #fff;
    text-shadow: 0 -1px 0 #EF6E00;

    background-color: #FF7E00;
    background-image: -ms-linear-gradient(top, #ff9900, #FF7E00);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ff9900), to(#FF7E00));
    background-image: -webkit-linear-gradient(top, #ff9900, #FF7E00);
    background-image: -o-linear-gradient(top, #ff9900, #FF7E00);
    background-image: linear-gradient(top, #ff9900, #FF7E00);
    background-image: -moz-linear-gradient(top, #ff9900, #FF7E00);
    background-repeat: repeat-x;
}

a.button.green {
    color: #fff;
    text-shadow: 0 -1px 0 #67B809;

    background-color: #77A809;
    background-image: -ms-linear-gradient(top, #a9dba9, #77A809);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#a9dba9), to(#77A809));
    background-image: -webkit-linear-gradient(top, #a9dba9, #77A809);
    background-image: -o-linear-gradient(top, #a9dba9, #77A809);
    background-image: linear-gradient(top, #a9dba9, #77A809);
    background-image: -moz-linear-gradient(top, #a9dba9, #77A809);
    background-repeat: repeat-x;
    /*
        filter:progid:dximagetransform.microsoft.gradient(startColorstr='#a9dba9', endColorstr='#77A809', GradientType=0);
    
        border:1px solid #77A809;
        *border:0;
        border-color:#67A899 #57A889 #47A879;
        border-color:#47A879 #37A869 #27A849;
        border-bottom-color:#17A839;
    
        -webkit-box-shadow:inset 0 1px 0 #777a75, 0 1px 0 #f2f2f2;
        -moz-box-shadow:inset 0 1px 0 #777a75, 0 1px 0 #f2f2f2;
        box-shadow:inset 0 1px 0 #777a75, 0 1px 0 #f2f2f2;
    */
}

a.button.red {
    color: #fff;
    text-shadow: 0 -1px 0 #be413c;

    background-color: #cd2a24;
    background-image: -ms-linear-gradient(top, #fc645e, #cd2a24);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fc645e), to(#cd2a24));
    background-image: -webkit-linear-gradient(top, #fc645e, #cd2a24);
    background-image: -o-linear-gradient(top, #fc645e, #cd2a24);
    background-image: linear-gradient(top, #fc645e, #cd2a24);
    background-image: -moz-linear-gradient(top, #fc645e, #cd2a24);
    background-repeat: repeat-x;
    /*
        filter:progid:dximagetransform.microsoft.gradient(startColorstr='#fc645e', endColorstr='#cd2a24', GradientType=0);
    
        border:1px solid #c62c26;
        *border:0;
        border-color:#df443e #c62c26 #af1510;
        border-color:#df443e #c62c26 #af1510;
        border-bottom-color:#af1510;
    
        -webkit-box-shadow:inset 0 1px 0 #ff7a75, 0 1px 0 #f2f2f2;
        -moz-box-shadow:inset 0 1px 0 #ff7a75, 0 1px 0 #f2f2f2;
        box-shadow:inset 0 1px 0 #ff7a75, 0 1px 0 #f2f2f2;
    */
}

a.button.blue {
    color: #fff;
    text-shadow: 0 -1px 0 #BCD4EF;

    background-color: #CCE4FF;
    background-image: -ms-linear-gradient(top, #CCE4FF, #1392e9);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#CCE4FF), to(#1392e9));
    background-image: -webkit-linear-gradient(top, #CCE4FF, #1392e9);
    background-image: -o-linear-gradient(top, #CCE4FF, #1392e9);
    background-image: linear-gradient(top, #CCE4FF, #1392e9);
    background-image: -moz-linear-gradient(top, #CCE4FF, #1392e9);
    background-repeat: repeat-x;
}

a.button.white {
    color: #333;
    text-shadow: 0 -1px 0 #D4E1E8;

    background-color: #E4F1F8;
    background-image: -ms-linear-gradient(top, #fbeed5, #E4F1F8);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fbeed5), to(#E4F1F8));
    background-image: -webkit-linear-gradient(top, #fbeed5, #E4F1F8);
    background-image: -o-linear-gradient(top, #fbeed5, #E4F1F8);
    background-image: linear-gradient(top, #fbeed5, #E4F1F8);
    background-image: -moz-linear-gradient(top, #fbeed5, #E4F1F8);
    background-repeat: repeat-x;
}

/* Primary blue button */

.button.primary {
    text-shadow: 0 -1px 0 #3778bf;
    color: #fff;

    background-color: #017AFF;
    background-image: -ms-linear-gradient(top, #77B7FF, #017AFF);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#77B7FF), to(#017AFF));
    background-image: -webkit-linear-gradient(top, #77B7FF, #017AFF);
    background-image: -o-linear-gradient(top, #77B7FF, #017AFF);
    background-image: linear-gradient(top, #77B7FF, #017AFF);
    background-image: -moz-linear-gradient(top, #77B7FF, #017AFF);
    background-repeat: repeat-x;

    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#77B7FF', endColorstr='#017AFF', GradientType=0);

    border: 1px solid #3677c1;
    *border: 0;
    border-color: #548dd0 #3677c1 #1660b0;
    border-color: #548dd0 #3677c1 #1660b0;
    border-bottom-color: #1660b0;

    -webkit-box-shadow: inset 0 1px 0 #98c9ff, 0 1px 0 #f2f2f2;
    -moz-box-shadow: inset 0 1px 0 #98c9ff, 0 1px 0 #f2f2f2;
    box-shadow: inset 0 1px 0 #98c9ff, 0 1px 0 #f2f2f2;
}

.button.primary:active {
    color: #eee;

    background-color: #006ce4;
    background-image: -ms-linear-gradient(top, #006ce4, #0179ff);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#006ce4), to(#0179ff));
    background-image: -webkit-linear-gradient(top, #006ce4, #0179ff);
    background-image: -o-linear-gradient(top, #006ce4, #0179ff);
    background-image: linear-gradient(top, #006ce4, #0179ff);
    background-image: -moz-linear-gradient(top, #006ce4, #0179ff);
    background-repeat: repeat-x;

    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#006ce4', endColorstr='#0179ff', GradientType=0);

    -webkit-box-shadow: inset 0 1px 0 #0060cb, 0 1px 0 #f2f2f2;
    -moz-box-shadow: inset 0 1px 0 #0060cb, 0 1px 0 #f2f2f2;
    box-shadow: inset 0 1px 0 #0060cb, 0 1px 0 #f2f2f2;
}

/* Red button */

.button-error,
a.button-error {
    color: #fff;
    text-shadow: 0 -1px 0 #be413c;

    background-color: #cd2a24;
    background-image: -ms-linear-gradient(top, #fc645e, #cd2a24);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fc645e), to(#cd2a24));
    background-image: -webkit-linear-gradient(top, #fc645e, #cd2a24);
    background-image: -o-linear-gradient(top, #fc645e, #cd2a24);
    background-image: linear-gradient(top, #fc645e, #cd2a24);
    background-image: -moz-linear-gradient(top, #fc645e, #cd2a24);
    background-repeat: repeat-x;

    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#fc645e', endColorstr='#cd2a24', GradientType=0);

    border: 1px solid #c62c26;
    *border: 0;
    border-color: #df443e #c62c26 #af1510;
    border-color: #df443e #c62c26 #af1510;
    border-bottom-color: #af1510;

    -webkit-box-shadow: inset 0 1px 0 #ff7a75, 0 1px 0 #f2f2f2;
    -moz-box-shadow: inset 0 1px 0 #ff7a75, 0 1px 0 #f2f2f2;
    box-shadow: inset 0 1px 0 #ff7a75, 0 1px 0 #f2f2f2;
}

.button-error:active {
    color: #fff;

    background-color: #b91313;
    background-image: -ms-linear-gradient(top, #b91313, #cd2a24);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#b91313), to(#cd2a24));
    background-image: -webkit-linear-gradient(top, #b91313, #cd2a24);
    background-image: -o-linear-gradient(top, #b91313, #cd2a24);
    background-image: linear-gradient(top, #b91313, #cd2a24);
    background-image: -moz-linear-gradient(top, #b91313, #cd2a24);
    background-repeat: repeat-x;

    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#b91313', endColorstr='#cd2a24', GradientType=0);

    -webkit-box-shadow: inset 0 1px 0 #a61111, 0 1px 0 #f2f2f2;
    -moz-box-shadow: inset 0 1px 0 #a61111, 0 1px 0 #f2f2f2;
    box-shadow: inset 0 1px 0 #a61111, 0 1px 0 #f2f2f2;

    border-color: #911616;
}

.button-success {
    color: #fff !important;

    background: -moz-linear-gradient(center top, #89C403 5%, #77A809 100%) repeat scroll 0 0 #89C403;
    border: 1px solid #74B807;
    border-radius: 6px 6px 6px 6px;
    box-shadow: 0 1px 0 0 #A4E271 inset;
    color: #FFFFFF;
    display: block;
    font-size: 21px;
    font-weight: bold;
    height: 30px;
    margin: 0 auto;
    padding: 12px 0 0 12px;
    text-decoration: none;
    text-shadow: 0 1px 0 #43820F;
    width: 277px;
}

/* Icon button */

.button img {
    float: left;
    margin-top: 3px;
    margin-right: 8px;
}

.button.small img {
    position: relative;
    margin-top: 6px;
    margin-right: 8px;
}

/* Button group */

.button-group {
    display: table;
}

.button-group .button {
    display: table-cell;
    vertical-align: top;
    border-left: none;
    margin: 0;

    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.button-group .button:first-child {
    border-left: 1px solid #b9b9b9;

    -webkit-border-radius: 4px 0 0 4px;
    -moz-border-radius: 4px 0 0 4px;
    border-radius: 4px 0 0 4px;
}

.button-group .button:last-child {
    -webkit-border-radius: 0 4px 4px 0;
    -moz-border-radius: 0 4px 4px 0;
    border-radius: 0 4px 4px 0;
}

.button-group .primary {
    border-left: 1px solid #3677c1;
}

.button-group .button-error {
    border-left: 1px solid #c62c26;
}

/* Small button group */

.button-group.small-button-group .button {
    border-color: #dedede;
    box-shadow: none;
    background: transparent;
    background-image: transparent;
    padding: 0 13px;
    font-size: 10px;
}

.button-group.small-button-group .button:first-child {
    border-radius: 2px 0 0 2px;
}

.button-group.small-button-group .button:last-child {
    border-radius: 0 2px 2px 0;
}

li>a.selected {
    background: #ffffff !important;
    padding-bottom: 7px !important;
    border-bottom: none !important;
    cursor: auto !important;
}

li.selected {
    background: #ffffff;
}

/*------------------------------------------------------------------------------
 | TABS
 -----------------------------------------------------------------------------*/

.spin:hover {
    /* pause the spining */
    -webkit-animation-play-state: paused;
    -moz-animation-play-state: paused;
    -o-animation-play-state: paused;
    animation-play-state: paused;
}

.spin {
    /* spinning */
    -webkit-animation-name: rotate;
    -webkit-animation-duration: 10.0s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -moz-animation-name: rotate;
    -moz-animation-duration: 10.0s;
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: linear;
    -o-animation-name: rotate;
    -o-animation-duration: 10.0s;
    -o-animation-iteration-count: infinite;
    -o-animation-timing-function: linear;
    animation-name: rotate;
    animation-duration: 10.0s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@-webkit-keyframes rotate {
    from {
        -webkit-transform: rotateY(0deg);
    }

    to {
        -webkit-transform: rotateY(359deg);
    }
}

@-moz-keyframes rotate {
    from {
        -moz-transform: rotateY(0deg);
    }

    to {
        -moz-transform: rotateY(359deg);
    }
}

@-o-keyframes rotate {
    from {
        -o-transform: rotateY(0deg);
    }

    to {
        -o-transform: rotateY(359deg);
    }
}

@keyframes rotate {
    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(359deg);
    }
}

.edit-title {
    opacity: 0.8;
    color: darkred;
    font-weight: bold;
    box-shadow: 0px 0px 10px 2px #ccc;
    -webkit-box-shadow: 0px 0px 10px 2px #ccc;
    -moz-box-shadow: 0px 0px 10px 2px #ccc;
}

.snag-flag {
    position: absolute;
    opacity: 0.8;
    max-width: 170px;
    color: darkgreen;
    font-weight: bold;
    box-shadow: 0px 0px 10px 2px #ccc;
    -webkit-box-shadow: 0px 0px 10px 2px #ccc;
    -moz-box-shadow: 0px 0px 10px 2px #ccc;
    background-color: #e4d3d3;
    background-image: -ms-linear-gradient(top, #ffffff, #d4e3d3);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#d4ded3));
    background-image: -webkit-linear-gradient(top, #ffffff, #d4ded3);
    background-image: -o-linear-gradient(top, #ffffff, #d4ded3);
    background-image: -moz-linear-gradient(top, #ffffff, #d4ded3);
    background-image: linear-gradient(top, #ffffff, #d4ded3);
    background-repeat: repeat-x;
    text-align: center;
}


.tab-background {
    /* background-color: #d3d3d3;
    background-image: linear-gradient(to bottom, #ffffff, #fafafa);
    box-shadow: inset 0 -1px 2px #f3f3f3; */
    /* position: relative; */
    /* top: -20px;
    left: -40px; */
    /* min-width: 730px;
    max-height: 111px; */
    /* padding: 0 0 0 40px; */
    /* transform: translate3d(0, 0, 0); */
}

.tab-background.edit {
    /* background-color: #e4d3d3; */
    /* background-image: linear-gradient(to bottom, #ffffff, #e4d3d3); */
}

.tab-container {
    padding-bottom: 5px;
}


.tab-container .tabs {
    opacity: 0.9;
    list-style: none;
    padding-left: 0;
    height: 33px;
    border-bottom: 1px solid #d3d3d3;
}

.tab-container.full-width {
    /* Adjust as needed */
}

.tab-container.full-width {
    /* from old CSS - noted by NC*****
    margin-left:-40px;
    margin-right:-40px;
    */
}

.tab-container.full-width .tabs {
    /* from old CSS - noted by NC*****
    padding:0 40px;

    background-color:#ffffff;
    background-image:-ms-linear-gradient(top, #ffffff, #fafafa);
    background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#fafafa));
    background-image:-webkit-linear-gradient(top, #ffffff, #fafafa);
    background-image:-o-linear-gradient(top, #ffffff, #fafafa);
    background-image:-moz-linear-gradient(top, #ffffff, #fafafa);
    background-image:linear-gradient(top, #ffffff, #fafafa);
    background-repeat:repeat-x;

    box-shadow:inset 0 -1px 2px #f3f3f3	;
    */
}

.tab-container .tabs>li {
    display: block;
    float: left;
    overflow: hidden;
}

.tab-container .tabs>li>a {
    display: block;
    float: left;
    padding: 6px 14px;
    margin-right: 2px;
    /* height: 20px; */
    position: relative;
    font: bold 11px/20px Arial, Helvetica, sans-serif;
    color: #666;
    text-shadow: 0 1px 0 #fff;
    background-color: #fefefe;
    background-image: linear-gradient(to bottom, #fefefe, #f6f6f6);
    border: 1px solid #d3d3d3;
    border-bottom: none;
    border-radius: 2px 2px 0 0;
    box-shadow: inset 0 1px 0 #fff;
}

.tab-container .tabs>li>a img,
.tab-container .tabs>li>a i {
    display: block;
    float: left;
    margin-top: 2px;
    margin-right: 8px;
}

.tab-container .tabs>li>.current,
.tab-container .live-tabs li>.selected {
    background: #ffffff;
    padding-bottom: 7px;
    border-bottom: none;
    cursor: auto;
}

.tab-container .tabs>li>a:hover {
    color: #333;
    text-decoration: none;
}

/* Tab error */
.tab-container .tabs>li.error>a {
    color: #ac3430;
}


/* Small tabs */

.tab-container .tabs.small {
    list-style: none;
    height: 31px;
    border-bottom: 1px solid #d3d3d3;
}

.tab-container .tabs.small>li>a {
    font-size: 10px;
    padding: 5px 10px;
}


.tab-container .tabs.small>li>a.current,
.tab-container .tabs.small>li>a.selected {
    background: #ffffff;
    padding-bottom: 6px;
    border-bottom: none;
}

/* Tiny tabs */


.tab-container .tabs.tiny {
    list-style: none;
    height: 25px;
    border-bottom: 1px solid #d3d3d3;
}


.tab-container .tabs.tiny>li>a {
    font-size: 10px;
    padding: 2px 6px;
}

.tab-container .tabs.tiny>li>a.current,
.tab-container .tabs.tiny>li>a.selected {
    background: #fff;
    padding-bottom: 3px;
    border-bottom: none;
}

/* Boxed tabs */

.tab-boxed .tabs {
    margin-bottom: 0;
    position: relative;
    z-index: 10;
}

.tab-boxed .tab-content {
    border: 1px solid #dddddd;
    border-bottom: 1px solid #d3d3d3;
    padding: 20px;
    position: relative;
    top: -1px;
    box-shadow: 0 1px 1px #eee;
    background-color: #ffffff;
    background-image: linear-gradient(to bottom, #ffffff, #fcfcfc);
    background-repeat: repeat-x;
}

/*------------------------------------------------------------------------------
 | IMAGE THUMBNAILS
 -----------------------------------------------------------------------------*/

.thumb-images {
    display: inline-block;
    float: left;
    margin: 10px;
    height: 150px;
    overflow: hidden;
}

.thumb-images>a>img {
    width: 320px;
}

/* Switch */

.switch {
    display: table;
    margin-bottom: 20px !important;
    border: 0 !important;
    padding: 0 !important;
    background: white !important;

}

.switch li {
    display: table-cell;
    vertical-align: top;
    padding: 4px 12px 5px 12px;

    font: bold 10px Arial, Helvetica, sans-serif;
    color: #666;

    background-color: #f7f7f7;

    background: -moz-linear-gradient(top, #f7f7f7 0%, #f0f0f0 100%);
    /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f7f7f7), color-stop(100%, #f0f0f0));
    /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #f7f7f7 0%, #f0f0f0 100%);
    /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #f7f7f7 0%, #f0f0f0 100%);
    /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #f7f7f7 0%, #f0f0f0 100%);
    /* IE10+ */
    background: linear-gradient(top, #f7f7f7 0%, #f0f0f0 100%);
    /* W3C */

    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f7f7f7', endColorstr='#f0f0f0', GradientType=0);
    /* IE6-9 */

    -webkit-box-shadow: 0 1px 1px #f8f8f8, inset 1px 0 0 #ffffff;
    -moz-box-shadow: 0 1px 1px #f8f8f8, inset 1px 0 0 #ffffff;
    box-shadow: 0 1px 1px #f8f8f8, inset 1px 0 0 #ffffff;

    border: 1px solid #d9d9d9 !important;
    border-left: none;

    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.switch li a:hover {
    text-decoration: none;
}

.switch li.current,
.switch li a.current {
    border-top: 1px solid #bbb;

    background-color: #f7f7f7 !important;

    background: -moz-linear-gradient(top, #dbdbdb 0%, #d8d8d8 100%) !important;
    /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #dbdbdb), color-stop(100%, #d8d8d8)) !important;
    /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #dbdbdb 0%, #d8d8d8 100%) !important;
    /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #dbdbdb 0%, #d8d8d8 100%) !important;
    /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #dbdbdb 0%, #d8d8d8 100%) !important;
    /* IE10+ */
    background: linear-gradient(top, #dbdbdb 0%, #d8d8d8 100%) !important;
    /* W3C */

    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#dbdbdb', endColorstr='#d8d8d8', GradientType=0);
    /* IE6-9 */


    -webkit-box-shadow: inset 0 -1px 4px #d0d0d0, inset 0 -1px 2px #d0d0d0;
    -moz-box-shadow: inset 0 -1px 4px #d0d0d0, inset 0 -1px 2px #d0d0d0;
    box-shadow: inset 0 -1px 4px #d0d0d0, inset 0 -1px 2px #d0d0d0;
}

.switch li a:active {
    background-color: #e8e8e8;
}

.switch li a:first-child {
    border-left: 1px solid #d9d9d9;

    -webkit-border-radius: 3px 0 0 3px;
    -moz-border-radius: 3px 0 0 3px;
    border-radius: 3px 0 0 3px;
}

.switch li a:last-child {
    -webkit-border-radius: 0 3px 3px 0;
    -moz-border-radius: 0 3px 3px 0;
    border-radius: 0 3px 3px 0;
}

/*------------------------------------------------------------------------------
 | GENERAL CLASSES
 -----------------------------------------------------------------------------*/

.affix {
    position: fixed;
}

.clear {
    height: 0;
    clear: both;
}

.right,
.left {
    display: block;
}

.right {
    float: right;
}

.bold {
    font-weight: bold;
}

.left {
    float: left;
}

.muted {
    color: #999;
}

.red {
    color: darkred;
}

.green {
    color: darkgreen;
}

.newline {
    display: block;
    margin: 0;
}

.required {
    color: #ac3430;
}

.cursor-pointer {
    cursor: pointer;
}

.clickable:active {
    position: relative;
    top: 1px;
}

.justify-right {
    text-align: right;
}

.hide {
    display: none;
}

.field-uppercase {
    text-transform: uppercase;
}

/* 
20 x 7 icons
from 0px 0px to -280px -144px 
in 24px steps
*/
[class^="icon-"],
[class*=" icon-"] {
    display: inline-block;
    width: 14px;
    height: 14px;
    *margin-right: .3em;
    line-height: 14px;
    vertical-align: text-top;
    background-image: url("../image/glyph/glyph.png");
    background-position: 14px 14px;
    background-repeat: no-repeat;
    margin-top: 1px;
    position: relative;

    -webkit-opacity: 0.6;
    -moz-opacity: 0.6;
    opacity: 0.6;

    filter: alpha(opacity=60);
}

.icon-cocktail-sign {
    background-position: 0 0px;
}

.icon-house-sign {
    background-position: 0 -24px;
}

.icon-tag-sign {
    background-position: 0 -48px;
}

.icon-pencill-sign {
    background-position: 0 -72px;
}

.icon-plus-sign {
    background-position: 0 -96px;
}

.icon-minus-sign {
    background-position: -24px -96px;
}

.icon-cross-sign {
    background-position: -48px -96px;
}

.icon-tick-sign {
    background-position: -72px -96px;
}

.icon-question-sign {
    background-position: -96px -96px;
}

.icon-exclaimation-sign {
    background-position: 0 -120px;
}

.icon-floppy-sign {
    background-position: 0 -144px;
}

.icon-gear {
    background-position: -432px -1px;
}

.icon-trash {
    background-position: -455px 0px;
}

.icon-remove {
    background-position: -312px 0;
}

.icon-back-arrow {
    background-position: -240px -96px;
}

/*------------------------------------------------------------------------------
 | MODAL
 -----------------------------------------------------------------------------*/





/*------------------------------------------------------------------------------
 | PAGE STRUCTURE
 -----------------------------------------------------------------------------*/

#wrapper {
    /* width: 950px; */
    width: 100%;
    margin: 0px auto 20px;
    /* flex-grow: 1; */
}


#container {
    /* height: max-content; */
    /* width: 100%; */
    margin-left: 10px;
    margin-right: 10px;

    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;

    -webkit-box-shadow: 0 1px 5px #c3c3c3;
    -moz-box-shadow: 0 1px 5px #c3c3c3;
    box-shadow: 0 1px 5px #c3c3c3;
}

.dropdown {
    position: relative;
    overflow: visible !important;
    text-shadow: none;
}

.dropdown-toggle {
    *margin-bottom: -3px;
}

.dropdown-toggle:active,
.open .dropdown-toggle {
    outline: 0;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;

    padding: 5px 0;
    margin: 2px 0 0;

    list-style: none;

    background-color: #ffffff;

    border: 1px solid #aaaaaa;
    border-bottom: 1px solid #999999;

    *border-right-width: 2px;
    *border-bottom-width: 2px;

    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;

    -webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);

    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    -moz-background-clip: padding;
}

.dropdown-menu:after {
    border-bottom: 5px solid #ffffff;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    content: "";
    display: inline-block;
    left: 10px;
    position: absolute;
    top: -5px;
}

.dropdown-menu:before {
    border-bottom: 6px solid #999999;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    content: "";
    display: inline-block;
    left: 9px;
    position: absolute;
    top: -6px;
}

.dropdown-menu .divider {
    *width: 100%;
    height: 1px;
    margin: 9px 1px;
    *margin: -5px 0 5px;
    overflow: hidden;
    background-color: #e5e5e5;
    border-bottom: 1px solid #ffffff;
}

.dropdown-menu li>a {
    display: block;
    padding: 3px 15px;
    clear: both;
    font-weight: normal;
    line-height: 20px;
    color: #333333;
    white-space: nowrap;
}

.dropdown-menu li>a:hover,
.dropdown-menu li>a:focus,
.dropdown-submenu:hover>a {
    color: #ffffff;
    text-decoration: none;
    background-color: #f5f5f5;
    color: #101010;
}

.dropdown-menu .active>a,
.dropdown-menu .active>a:hover {
    color: #101010;
    background: #f0f0f0;
}

.dropdown-menu .disabled>a,
.dropdown-menu .disabled>a:hover {
    color: #999999;
}

.dropdown-menu .disabled>a:hover {
    text-decoration: none;
    cursor: default;
    background-color: transparent;
    background-image: none;
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}

.open {
    *z-index: 1000;
}

.open>.dropdown-menu {
    display: block;
}

.dropup .dropdown-menu,
.navbar-fixed-bottom .dropdown .dropdown-menu {
    top: auto;
    bottom: 100%;
    margin-bottom: 1px;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.dropup .dropdown-submenu>.dropdown-menu {
    top: auto;
    bottom: 0;
    margin-top: 0;
    margin-bottom: -2px;
    -webkit-border-radius: 5px 5px 5px 0;
    -moz-border-radius: 5px 5px 5px 0;
    border-radius: 5px 5px 5px 0;
}

.dropdown-submenu>a:after {
    display: block;
    float: right;
    width: 0;
    height: 0;
    margin-top: 5px;
    margin-right: -10px;
    border-color: transparent;
    border-left-color: #cccccc;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    content: " ";
}

.dropdown-submenu:hover>a:after {
    border-left-color: #ffffff;
}

/*------------------------------------------------------------------------------
 | HEADER
 -----------------------------------------------------------------------------*/


/* #top-bar {
    border-bottom: 1px solid #1f5e83;
    color: #ffffff;

    /* font: bold 11px Arial, Helvetica, sans-serif;
    line-height: normal;
    text-shadow: 0 -1px 0 #101010; */

/* background: #2a85ba; */

/* Old browsers
    background: -moz-linear-gradient(top, #4ba9dc 0%, #2a85ba 100%);
    /* FF3.6+ */
/* background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #4ba9dc), color-stop(100%, #2a85ba)); */
/* Chrome,Safari4+ */
/* background: -webkit-linear-gradient(top, #4ba9dc 0%, #2a85ba 100%); */
/* Chrome10+,Safari5.1+ */
/* background: -o-linear-gradient(top, #4ba9dc 0%, #2a85ba 100%); */
/* Opera 11.10+ */
/* background: -ms-linear-gradient(top, #4ba9dc 0%, #2a85ba 100%); */
/* IE10+ */
/* background: linear-gradient(top, #4ba9dc 0%, #2a85ba 100%); */
/* W3C */
/* filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#4ba9dc', endColorstr='#2a85ba', GradientType=0); */
/* IE6-9 */

/* -webkit-box-shadow: 0 1px 1px #cacaca, inset 0 -1px 2px #2f90c8; */
/* -moz-box-shadow: 0 1px 1px #cacaca, inset 0 -1px 2px #2f90c8; */
/* box-shadow: 0 1px 1px #cacaca, inset 0 -1px 2px #2f90c8; */
/*
} */


#top-bar {
    background-color: #0a3247;
    margin-bottom: 15px;
    border-bottom: 1px solid #1f5e83;

}

/* #sub-bar {
    margin-bottom: 15px;

    background-color: #e5e5e5;
    /* Old browsers */
/* background: -moz-linear-gradient(top, #e6e0d3 0%, #e3e3e3 100%); */
/* FF3.6+ */
/* background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #e6e0d3), color-stop(100%, #e3e3e3)); */
/* Chrome,Safari4+ */
/* background: -webkit-linear-gradient(top, #e6e0d3 0%, #e3e3e3 100%); */
/* Chrome10+,Safari5.1+ */
/* background: -o-linear-gradient(top, #e6e0d3 0%, #e3e3e3 100%); */
/* Opera 11.10+ */
/* background: -ms-linear-gradient(top, #e6e0d3 0%, #e3e3e3 100%); */
/* IE10+ */
/* background: linear-gradient(top, #e6e0d3 0%, #e3e3e3 100%); */
/* W3C */
/* filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e6e0d3', endColorstr='#e3e3e3', GradientType=0); */
/* IE6-9 */

/* border-bottom: 1px solid #c5c5c5;
    border-top: 1px solid #c5c5c5; */

/* -webkit-box-shadow: inset 0 1px 1px #aaa, 0 1px 0 #e3e3e6;
    -moz-box-shadow: inset 0 1px 1px #aaa, 0 1px 0 #e3e3e6;
    box-shadow: inset 0 1px 1px #aaa, 0 1px 0 #e3e3e6;
}*/

/* #sub-bar .inner {
    width: 910px;
 margin: 0 auto;
    margin-right: 15px;
    margin-left: 15px;
    padding: 12px 0;
    position: relative;
} */

/* #breadcrumb,
#breadcrumb a {
    color: #888;
    font-size: 10px;
} */

/* #breadcrumb {
    padding-top: 1px;
} */

/* Purchase Order Number */
/* #latest-purchase-order-number {
    position: absolute;
    left: 400px;
    top: 10px;
}*/


/* #latest-purchase-order-number a {
    padding: 8px;
    color: #888;
    font-size: 12px;
} */

/* #latest-purchase-order-number a:hover {
    color: #888;
    padding: 7px;
    border: 1px solid #c2af52;
    border-radius: 3px;
    text-decoration: none;
} */

/* Todo */
#add-page-todo {
    position: absolute;
    right: 0;
    top: 7px;
}

#add-page-todo a {
    height: 23px;
}

/* Search */
#search {
    /* position: absolute;
    right: 70px;
    top: 7px; */
}

#search input[type="text"] {
    /* font: normal 11px/16px Arial, Helvetica, sans-serif; */
    /* height: 16px; */
    /* color: #666;
    padding: 4px 6px 3px 25px;

    border: 1px solid #c6c6c6;
    border-bottom: 1px solid #c3c3c3;
    background: #eaeaea url('../image/icon/search.png') no-repeat 5px 5px;
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    border-radius: 1px;

    box-shadow: 0 1px 0 #dadada;

    -webkit-transition: width 0.3s ease-in-out;
    -moz-transition: width 0.3s ease-in-out;
    -o-transition: width 0.3s ease-in-out;
    transition: width 0.3s ease-in-out;

    width: 80px; */
}

#search input[type="text"]:focus {
    /* color: #333;

    -webkit-transition: width 0.2s ease-in-out;
    -moz-transition: width 0.2s ease-in-out;
    -o-transition: width 0.2s ease-in-out;
    transition: width 0.2s ease-in-out;

    width: 140px;

    background-color: #f3f3f3; */
}

#header {
    /* position: relative; */
    /* width:910px; */
    /* margin: 0 auto; */
    margin-left: 15px;
    margin-right: 15px;
    padding: 3px 0;
    background-color: #0a3247;
    color: white;
}

#logo {
    /* height: 73px; */
    /* margin-left: 12px; */
}

#logo-container {}



/* #header .links {
    list-style: none;

    height: 20px;
    line-height: 20px;
    margin-bottom: 0;

    position: absolute;
    top: 50%;
    right: 10px;
    margin-top: -10px;

    text-shadow: 0 1px 0 #25729f;
    z-index: 100;
} */

/* 
#header .links .dropdown {
    position: relative;
    text-shadow: 0 1px 0 #fff;
    color: #1f5e83;
}

#header .links .dropdown .dropdown-menu {
    left: auto;
    right: -15px;
}

#header .links .dropdown .dropdown-menu:after {
    left: auto;
    right: 30px;
}

#header .links .dropdown .dropdown-menu:before {
    left: auto;
    right: 29px;
}

#header .links .dropdown>a {
    color: #1f5e83;
    ;
}

#header .links .dropdown .dropdown-menu li>a {
    font-weight: bold;
    color: #333333;
    text-shadow: none;
} */

.triangle:after {
    border-top: 4px solid #fff;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    content: "";
    display: inline-block;

    position: relative;
    left: 3px;
    bottom: 2px;
}

#wrap {
    min-height: 100vh;
    position: relative;
    border: 1px solid #bbb;
    background-color: #ffffff;

    border-radius: 5px;
    width: 100%;
}

/*------------------------------------------------------------------------------
 | SIDEBAR
 -----------------------------------------------------------------------------*/

#sidebar {
    background-color: #F1F3F5;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0px;
    width: 179px;
    height: auto;

    -webkit-border-radius: 5px 0 0 5px;
    -moz-border-radius: 5px 0 0 5px;
    border-radius: 5px 0 0 5px;
}

#sidebar h4 {
    color: #96A0AD;
    font: bold 10px Arial, Helvetica, sans-serif;
    text-shadow: 0 1px 0 #fff;
    text-transform: uppercase;
    padding: 10px 15px;
    margin: 0;
    display: none;
}

#sidebar-gradient {
    width: 0;
    border-left: 1px solid #BDC1C2;
    position: absolute;
    left: 179px;
    top: 0;
    bottom: 0;

    -webkit-box-shadow: -1px 0 1px #ccc;
    -moz-box-shadow: -1px 0 1px #ccc;
    box-shadow: -1px 0 1px #ccc;
}

/*------------------------------------------------------------------------------
 | NAVIGATION
 -----------------------------------------------------------------------------*/

.navigation-top {
    /* height: 12px;

    background: #e3e7ed; */

    /* Old browsers */
    /* background: -moz-linear-gradient(top, #f3f5f7 0%, #e3e7ed 100%); */
    /* FF3.6+ */
    /* background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f3f5f7), color-stop(100%, #e3e7ed)); */
    /* Chrome,Safari4+ */
    /* background: -webkit-linear-gradient(top, #f3f5f7 0%, #e3e7ed 100%); */
    /* Chrome10+,Safari5.1+ */
    /* background: -o-linear-gradient(top, #f3f5f7 0%, #e3e7ed 100%); */
    /* Opera 11.10+ */
    /* background: -ms-linear-gradient(top, #f3f5f7 0%, #e3e7ed 100%); */
    /* IE10+ */
    /* background: linear-gradient(top, #f3f5f7 0%, #e3e7ed 100%); */
    /* W3C */

    /* filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f3f5f7', endColorstr='#e3e7ed', GradientType=0); */
    /* IE6-9 */

    /* border-top: 1px solid #fff;
    border-bottom: 1px solid #ccc;

    -webkit-border-radius: 5px 0 0 0;
    -moz-border-radius: 5px 0 0 0;
    border-radius: 5px 0 0 0; */
}

.navigation {
    margin-bottom: 10px;
    padding-left: 0;
    list-style: none;
    list-style-position: outside;
    width: 179px;
}

.navigation li {
    display: block;
    position: relative;
    border-top: 1px solid transparent;
    border-bottom: 1px solid #e9e9e9;
}

.navigation>li>a {
    display: block;
    padding: 7px 25px;
    height: 22px;
    color: #555;
    font: bold 12px/12px Arial, Helvetica, sans-serif;
    text-decoration: none;
    color: #888;
}

.navigation>li a span {
    display: block;
    padding: 5px 0 5px 25px;
    background: transparent url('../image/icon/navigation-sprite.png') no-repeat;
}

.navigation>li.selected a span {
    background: transparent url('../image/icon/navigation-sprite-colour.png') no-repeat;
}

.navigation>li.dashboard a span {
    background-position: 0 -64px;
}

.navigation>li.clients a span {
    background-position: 0 0;
}

.navigation>li.funders a span {
    background-position: 0 -84px;
}

.navigation>li.settings a span {
    background-position: 0 -42px;
}

.navigation>li.user a span {
    background-position: 0 -107px
}

.navigation>li.resource a span {
    background-position: 0 -20px;
}

.navigation>li:hover {
    background-color: #ebeff3;
    text-decoration: none;
}

.navigation .nav-selected-arrow {
    height: 19px;
    width: 10px;
    background: transparent url('../image/arrow-left.png') no-repeat center right;
    position: absolute;
    right: -1px;
    top: 9px;
    z-index: 10;
    display: none;
}

.navigation li.selected {
    background-color: #fff;
    border-top: 1px solid #bbb;
    border-bottom: 1px solid #bbb;

    -webkit-box-shadow: inset 0 1px 2px #dce5ed;
    -moz-box-shadow: inset 0 1px 2px #dce5ed;
    box-shadow: inset 0 1px 2px #dce5ed;
}

.navigation li.selected>a {
    color: #666;
}

.navigation li.selected>.nav-selected-arrow {
    display: block;
}

.navigation li.selected>.sub-menu {
    display: block;
}

/* Sub menu */

.sub-menu {
    display: none;
    margin-bottom: 0;
    padding-bottom: 3px;
    padding-left: 0;
}

.sub-menu li {
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
    margin-bottom: 1px;
}

.sub-menu li a {
    font: normal 11px/11px Arial, Helvetica, sans-serif;
    color: #666;
    padding-left: 50px;
}

.sub-menu li.selected {
    border-top: 1px solid #bdd3ed;
    border-bottom: 1px solid #bdd3ed;
    color: #333;
    text-shadow: 0 1px 0 #fff;

    background: #fff;
    /* Old browsers */
    background: -moz-linear-gradient(top, #fff 0%, #e7edf3 100%);
    /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fff), color-stop(100%, #e7edf3));
    /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #fff 0%, #e7edf3 100%);
    /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #fff 0%, #e7edf3 100%);
    /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #fff 0%, #e7edf3 100%);
    /* IE10+ */
    background: linear-gradient(top, #fff 0%, #e7edf3 100%);
    /* W3C */

    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f3f5f7', endColorstr='#e7edf3', GradientType=0);
    /* IE6-9 */

    -webkit-box-shadow: 0 1px 0 #e3e3e3;
    -moz-box-shadow: 0 1px 0 #e3e3e3;
    box-shadow: 0 1px 0 #e3e3e3;
}

.sub-menu li a:hover {
    text-decoration: none;
}

/*------------------------------------------------------------------------------
 | AJAX LOADER
 -----------------------------------------------------------------------------*/

.ajax-loader {
    padding-left: 34px;
    height: 24px;
    line-height: 24px;
    background: url('../image/ajax-loader.gif') no-repeat;
}

/*------------------------------------------------------------------------------
 | MAIN
 -----------------------------------------------------------------------------*/

#main {
    margin: 3px;



    background: #ffffff;

}

#content {
    padding: 20px 40px 20px;
}

.heading .left-hand-links {
    list-style: none;
    position: absolute;
    left: 180px;
    top: 2px;
    padding-left: 0;
    margin-bottom: 0;
    font: normal 11px/11px Arial, Helvetica, sans-serif;
    color: #888;
    border: 1px solid #d0d0d0;
    border-color: #d3d3d3 #d0d0d0 #cacaca;
    border-right: none;
    -webkit-border-radius: 0 0 3px 3px;
    -moz-border-radius: 0 0 3px 3px;
    border-radius: 0 0 3px 3px;
}

.heading .links {
    list-style: none;
    position: absolute;
    right: 0;
    top: 2px;
    padding-left: 0;
    margin-bottom: 0;
    font: normal 11px/11px Arial, Helvetica, sans-serif;
    color: #888;
    border: 1px solid #d0d0d0;
    border-color: #d3d3d3 #d0d0d0 #cacaca;
    border-right: none;

    -webkit-border-radius: 3px 0 0 3px;
    -moz-border-radius: 3px 0 0 3px;
    border-radius: 3px 0 0 3px;
}

.heading .links {
    overflow: hidden;
}

.heading .left-hand-links li,
.heading .links li {
    float: left;
}

.heading .left-hand-links a,
.heading .links select,
.heading .links a {
    line-height: 20px;
    height: 20px;
    position: block;
    float: left;
    padding: 1px 7px 0;

    background-image: -ms-linear-gradient(top, #f9f9f9, #e8e8e8);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f9f9f9), to(#e8e8e8));
    background-image: -webkit-linear-gradient(top, #f9f9f9, #e8e8e8);
    background-image: -o-linear-gradient(top, #f9f9f9, #e8e8e8);
    background-image: linear-gradient(top, #f9f9f9, #e8e8e8);
    background-image: -moz-linear-gradient(top, #f9f9f9, #e8e8e8);
    background-repeat: repeat-x;

    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#f9f9f9', endColorstr='#e8e8e8', GradientType=0);

    color: #888;

    font-weight: bold;
    border-left: 1px solid #d0d0d0;
}

.heading .left-hand-links a {
    border-right: 1px solid #d0d0d0;
}

.heading .links select {
    height: 21px;
    border: none;
    border-left: 1px solid #d0d0d0;
}

.heading .links li:first-child select {
    border: none;
}

.heading .left-hand-links li:first-child a,
.heading .links li:first-child a {
    border-left: none;
}

.heading .left-hand-links a:hover,
.heading .links a:hover {
    text-decoration: none;
}

/*------------------------------------------------------------------------------
 | SECTION
 -----------------------------------------------------------------------------*/

/* .section {
    padding: 15px 0;
    clear: both;
} */

/* .section hr {
    margin-left: 0;
    margin-right: 0;
} */

.section.action {
    /* padding-top: 0;
    padding: 20px 0;
    overflow: hidden; */
}

/* .section h2 {
    font: bold 14px Arial, Helvetica, sans-serif;
    margin-bottom: 20px;
    background: url('../image/grey.png') repeat-x 0 50%;
}

.section h2 .title {
    background-color: #fff;
    padding-right: 10px;
}

.section h2 .option {
    float: right;
    padding-left: 10px;
    background-color: #ffffff;
} */

.section .description {
    color: #999;
    margin-bottom: 15px;
}

/* Section column */

.section-column {
    width: 335px;
    float: left;
}

/* Control group */

.control-group {
    margin-bottom: 15px;
    clear: both;
    position: relative;
}

/* two columns */
.control-group.col1 {
    position: absolute;
}

.control-group.col2 {
    margin-left: 50%;
}

/* highlights */
.control-group-highlight {
    background-color: #fafafa;
    border-radius: 5px;
    padding: 10px;
}

.control-group-highlight .control-label {
    width: 160px;
}

.control-group-highlight .controls {
    margin-left: 180px;
}

.condensed-group {
    margin-bottom: 10px;
}

/* Wrap long labels */
.control-group.wrap {
    overflow: hidden;
}

/* Area for labels */

.control-label {
    float: left;
    max-width: 170px;
    padding-top: 5px;
    padding-right: 5px;
}

.control-label label {
    font: bold 12px/20px Arial;
    color: #666;
}

.control-label.top-align {
    padding-top: 0;
}

/* Section contains input fields */

.controls {
    margin-left: 190px;
}

.controls select {
    margin-top: 5px;
}

/* Control group block */

.control-group.block .control-label {
    float: none;
    padding-bottom: 3px;
    width: auto;
}

.control-group.block .controls {
    margin-left: 0;
}

.narrow-group {
    width: 335px;
}

.narrow-group .control-label {
    width: 100px;
}

.narrow-group .controls {
    margin-left: 105px;
}

.narrow-group .controls input[type="text"],
.narrow-group .controls input[type="password"],
.narrow-group .controls textarea {
    width: 215px;
}

.help-inline,
.help-block,
.error-inline,
.error-block {
    color: #999;
    font-size: 11px;
    line-height: 15px;
}

.help-block,
.error-block {
    display: block;
    padding-top: 5px;
}

.error-inline,
.error-block {
    color: #ac3430;
}


/*------------------------------------------------------------------------------
 | FOOTER
 -----------------------------------------------------------------------------*/

#footer {
    padding: 20px 10px 60px;

    color: #9BA5B4;
    font-size: 11px;
    text-shadow: 0 1px 0 #fafafa;
}

/*------------------------------------------------------------------------------
 | ALERTS
 -----------------------------------------------------------------------------*/
/* Field error */

input[type="text"].field-error,
input[type="number"].field-error,
input[type="password"].field-error,
textarea.field-error {
    background-image: url('../image/icon/cross-small.png');
    background-position: 100% 50%;
    background-repeat: no-repeat;

    border: 1px solid #ac3430;

    -webkit-transition: box-shadow linear 0.2s;
    -moz-transition: box-shadow linear 0.2s;
    -ms-transition: box-shadow linear 0.2s;
    -o-transition: box-shadow linear 0.2s;
    transition: box-shadow linear 0.2s;
}

textarea.field-error {
    background-position: 100% 5px;
}

select.field-error {
    background-color: #ac3430
}

input[type="text"].field-error:focus,
input[type="number"].field-error:focus,
input[type="password"].field-error:focus,
textarea.field-error:focus {
    -webkit-transition: box-shadow linear 0.2s;
    -moz-transition: box-shadow linear 0.2s;
    -ms-transition: box-shadow linear 0.2s;
    -o-transition: box-shadow linear 0.2s;
    transition: box-shadow linear 0.2s;

    -webkit-box-shadow: 0 0 3px #c73c37;
    -moz-box-shadow: 0 0 3px #c73c37;
    box-shadow: 0 0 3px #c73c37;
}

select.field-error:focus {
    background-color: #c73c37;
}

/* Margin between input field and error message */
input[type="text"]+.error-inline,
input[type="password"]+.error-inline,
select+.error-inline,
textarea+.error-inline,
input[type="text"]+.help-inline,
input[type="password"]+.help-inline,
select+.help-inline,
textarea+.help-inline {
    margin-left: 6px;
}

.error-message {
    color: #DF0B0B;
}

/* /field error */



/*------------------------------------------------------------------------------
 | JQuery Alert dialogue box
 -----------------------------------------------------------------------------*/

#confirmOverlay {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: url('../image/icon/confirm_small_grey_square.png');
    background: -moz-linear-gradient(rgba(11, 11, 11, 0.1), rgba(11, 11, 11, 0.6)) repeat-x rgba(11, 11, 11, 0.2);
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(11, 11, 11, 0.1)), to(rgba(11, 11, 11, 0.6))) repeat-x rgba(11, 11, 11, 0.2);
    z-index: 100000;
}

#confirmBox {
    background: url('../image/icon/confirm_body_bg.jpg') repeat-x left bottom #e5e5e5;
    width: 460px;
    position: fixed;
    left: 50%;
    top: 50%;
    margin: -130px 0 0 -230px;
    border: 1px solid rgba(33, 33, 33, 0.6);

    -moz-box-shadow: 0 0 2px rgba(255, 255, 255, 0.6) inset;
    -webkit-box-shadow: 0 0 2px rgba(255, 255, 255, 0.6) inset;
    box-shadow: 0 0 2px rgba(255, 255, 255, 0.6) inset;
}

#confirmBox h1,
#confirmBox p {
    font: 26px/1 'Cuprum', 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
    background: url('../image/icon/confirm_header_bg.jpg') repeat-x left bottom #f5f5f5;
    padding: 18px 25px;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.6);
    color: #666;
}

#confirmBox h1 {
    letter-spacing: 0.3px;
    color: #888;
}

#confirmBox p {
    background: none;
    font-size: 16px;
    line-height: 1.4;
    padding-top: 35px;
}

#confirmButtons {
    padding: 15px 0 25px;
    text-align: center;
}

#confirmBox .confirm-button {
    display: inline-block;
    background: url('../image/icon/confirm_buttons.png') no-repeat;
    color: white;
    position: relative;
    height: 33px;

    font: 17px/33px 'Cuprum', 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;

    margin-right: 15px;
    padding: 0 35px 0 40px;
    text-decoration: none;
    border: none;
}

#confirmBox .confirm-button:last-child {
    margin-right: 0;
}

#confirmBox .confirm-button span {
    position: absolute;
    top: 0;
    right: -5px;
    background: url('../image/icon/confirm_buttons.png') no-repeat;
    width: 5px;
    height: 33px
}

#confirmBox .confirm-blue {
    background-position: left top;
    text-shadow: 1px 1px 0 #5889a2;
}

#confirmBox .confirm-blue span {
    background-position: -195px 0;
}

#confirmBox .confirm-blue:hover {
    background-position: left bottom;
}

#confirmBox .confirm-blue:hover span {
    background-position: -195px bottom;
}

#confirmBox .confirm-gray {
    background-position: -200px top;
    text-shadow: 1px 1px 0 #707070;
}

#confirmBox .confirm-gray span {
    background-position: -395px 0;
}

#confirmBox .confirm-gray:hover {
    background-position: -200px bottom;
}

#confirmBox .confirm-gray:hover span {
    background-position: -395px bottom;
}

/*------------------------------------------------------------------------------
 | CI_DEFAULT
 -----------------------------------------------------------------------------*/

.content-wrapper {
    width: 100%;
}

.image-wrapper {
    width: 50%;
}

.floater {
    float: left;
}

.padder {
    position: relative;
    padding-left: 0.9375em;
    padding-right: 0.9375em;
}

.CSSTableGenerator {
    margin: 0px;
    padding: 0px;
    width: 100%;
    box-shadow: 10px 10px 5px #888888;
    border: 1px solid #000000;

    -moz-border-radius-bottomleft: 11px;
    -webkit-border-bottom-left-radius: 11px;
    border-bottom-left-radius: 11px;

    -moz-border-radius-bottomright: 11px;
    -webkit-border-bottom-right-radius: 11px;
    border-bottom-right-radius: 11px;

    -moz-border-radius-topright: 11px;
    -webkit-border-top-right-radius: 11px;
    border-top-right-radius: 11px;

    -moz-border-radius-topleft: 11px;
    -webkit-border-top-left-radius: 11px;
    border-top-left-radius: 11px;
}

.CSSTableGenerator table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
}

.CSSTableGenerator tr:last-child td:last-child {
    -moz-border-radius-bottomright: 11px;
    -webkit-border-bottom-right-radius: 11px;
    border-bottom-right-radius: 11px;
}

.CSSTableGenerator table tr:first-child td:first-child {
    -moz-border-radius-topleft: 11px;
    -webkit-border-top-left-radius: 11px;
    border-top-left-radius: 11px;
}

.CSSTableGenerator table tr:first-child td:last-child {
    -moz-border-radius-topright: 11px;
    -webkit-border-top-right-radius: 11px;
    border-top-right-radius: 11px;
}

.CSSTableGenerator tr:last-child td:first-child {
    -moz-border-radius-bottomleft: 11px;
    -webkit-border-bottom-left-radius: 11px;
    border-bottom-left-radius: 11px;
}

.CSSTableGenerator tr:hover td {
    background-color: #ffffff;


}

.CSSTableGenerator td {
    vertical-align: middle;
    background: -o-linear-gradient(bottom, #aad4ff 5%, #ffffff 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #aad4ff), color-stop(1, #ffffff));
    background: -moz-linear-gradient(center top, #aad4ff 5%, #ffffff 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#aad4ff", endColorstr="#ffffff");
    background: -o-linear-gradient(top, #aad4ff, ffffff);

    background-color: #aad4ff;

    border: 1px solid #000000;
    border-width: 0px 1px 1px 0px;
    text-align: left;
    padding: 7px;
    font-size: 10px;
    font-family: Arial;
    font-weight: normal;
    color: #000000;
}

.CSSTableGenerator tr:last-child td {
    border-width: 0px 1px 0px 0px;
}

.CSSTableGenerator tr td:last-child {
    border-width: 0px 0px 1px 0px;
}

.CSSTableGenerator tr:last-child td:last-child {
    border-width: 0px 0px 0px 0px;
}

.CSSTableGenerator tr:first-child td {
    background: -o-linear-gradient(bottom, #005fbf 5%, #003f7f 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #005fbf), color-stop(1, #003f7f));
    background: -moz-linear-gradient(center top, #005fbf 5%, #003f7f 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#005fbf", endColorstr="#003f7f");
    background: -o-linear-gradient(top, #005fbf, 003f7f);

    background-color: #005fbf;
    border: 0px solid #000000;
    text-align: center;
    border-width: 0px 0px 1px 1px;
    font-size: 14px;
    font-family: Arial;
    font-weight: bold;
    color: #ffffff;
}

.CSSTableGenerator tr:first-child:hover td {
    background: -o-linear-gradient(bottom, #005fbf 5%, #003f7f 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #005fbf), color-stop(1, #003f7f));
    background: -moz-linear-gradient(center top, #005fbf 5%, #003f7f 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#005fbf", endColorstr="#003f7f");
    background: -o-linear-gradient(top, #005fbf, 003f7f);

    background-color: #005fbf;
}

.CSSTableGenerator tr:first-child td:first-child {
    border-width: 0px 0px 1px 0px;
}

.CSSTableGenerator tr:first-child td:last-child {
    border-width: 0px 0px 1px 1px;
}

/* Pagination */

.pagination {
    padding: 20px 0;
    overflow: hidden;
}

.pagination .current-page {
    float: left;
}

.pagination ul {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
    float: right;
}

.pagination li {
    float: left;
    overflow: hidden;
    margin-left: 4px;
    display: block;
}

.pagination a,
.pagination b {
    display: block;
    float: left;

    font: bold 11px/20px Arial, Helvetica, sans-serif;
    line-height: 20px;
    text-decoration: none;
    color: #333;

    height: 20px;

    padding: 0 10px;

    *line-height: 16px;
    text-shadow: 0 1px 0 #fff;

    text-align: center;

    vertical-align: middle;
    cursor: pointer;

    background-color: #e8e8e8;
    background-image: -ms-linear-gradient(top, #f9f9f9, #e8e8e8);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f9f9f9), to(#e8e8e8));
    background-image: -webkit-linear-gradient(top, #f9f9f9, #e8e8e8);
    background-image: -o-linear-gradient(top, #f9f9f9, #e8e8e8);
    background-image: linear-gradient(top, #f9f9f9, #e8e8e8);
    background-image: -moz-linear-gradient(top, #f9f9f9, #e8e8e8);
    background-repeat: repeat-x;

    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#f9f9f9', endColorstr='#e8e8e8', GradientType=0);

    *zoom: 1;

    border: 1px solid #bababa;
    *border: 0;
    border-color: #bababa #b9b9b9 #adadad;
    border-color: #bababa #b9b9b9 #adadad;
    border-bottom-color: #adadad;

    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;

    -webkit-box-shadow: inset 0 1px 0 #fff, 0 1px 0 #f2f2f2;
    -moz-box-shadow: inset 0 1px 0 #fff, 0 1px 0 #f2f2f2;
    box-shadow: inset 0 1px 0 #fff, 0 1px 0 #f2f2f2;

}

.pagination a:active {
    background-color: #dadada;

    background-image: -ms-linear-gradient(top, #dadada, #e8e8e8);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#dadada), to(#e8e8e8));
    background-image: -webkit-linear-gradient(top, #dadada, #e8e8e8);
    background-image: -o-linear-gradient(top, #dadada, #e8e8e8);
    background-image: linear-gradient(top, #dadada, #e8e8e8);
    background-image: -moz-linear-gradient(top, #dadada, #e8e8e8);
    background-repeat: repeat-x;

    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#dadada', endColorstr='#e8e8e8', GradientType=0);

    -webkit-box-shadow: inset 0 1px 0 #c8c8c8, 0 1px 0 #f2f2f2;
    -moz-box-shadow: inset 0 1px 0 #c8c8c8, 0 1px 0 #f2f2f2;
    box-shadow: inset 0 1px 0 #c8c8c8, 0 1px 0 #f2f2f2;
}

.pagination b {
    text-shadow: 0 -1px 0 #3778bf;
    color: #fff;

    background-color: #017AFF;
    background-image: -ms-linear-gradient(top, #77B7FF, #017AFF);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#77B7FF), to(#017AFF));
    background-image: -webkit-linear-gradient(top, #77B7FF, #017AFF);
    background-image: -o-linear-gradient(top, #77B7FF, #017AFF);
    background-image: linear-gradient(top, #77B7FF, #017AFF);
    background-image: -moz-linear-gradient(top, #77B7FF, #017AFF);
    background-repeat: repeat-x;

    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#77B7FF', endColorstr='#017AFF', GradientType=0);

    border: 1px solid #3677c1;
    *border: 0;
    border-color: #548dd0 #3677c1 #1660b0;
    border-color: #548dd0 #3677c1 #1660b0;
    border-bottom-color: #1660b0;

    -webkit-box-shadow: inset 0 1px 0 #98c9ff, 0 1px 0 #f2f2f2;
    -moz-box-shadow: inset 0 1px 0 #98c9ff, 0 1px 0 #f2f2f2;
    box-shadow: inset 0 1px 0 #98c9ff, 0 1px 0 #f2f2f2;
}

/* Creating a print area that is only the content and not the rest of the page */

@media print {

    body *,
    pre {
        visibility: hidden;
    }

    #main {
        margin: 0;
    }

    #content,
    #content * {
        visibility: visible;
    }
}