/* Design KG-Saffig */
/* Based on uber-blue by UberGallery (http://www.ubergallery.net/) */
/* Modified 2015 Florian Knodt (http://www.adlerweb.info) */


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

html {
    background: #398235; /* Old browsers */
    background: -moz-linear-gradient(top, #398235 0%, #8ab66b 56%, #c9de96 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#398235), color-stop(56%,#8ab66b), color-stop(100%,#c9de96)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #398235 0%,#8ab66b 56%,#c9de96 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #398235 0%,#8ab66b 56%,#c9de96 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #398235 0%,#8ab66b 56%,#c9de96 100%); /* IE10+ */
    background: linear-gradient(to bottom, #398235 0%,#8ab66b 56%,#c9de96 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#398235', endColorstr='#c9de96',GradientType=0 ); /* IE6-9 */
    
    min-height: 100%;
    background-repeat: no-repeat;
    
    font-size: 100%;
}

a, a:visited {
    color: #000;
    text-decoration: none;
}

a:hover {
    color: #CC1713;
    text-decoration: underline;
}

body {
    
    background-image: url('/gallery/kglogo.png');
    background-size: auto 200px;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: right top;
    
    color: #333;
    font-family: Arial, Helvetica, sans-serif, Verdana;
    font-size: .8em;
}

#galleryWrapper {
    background-color: #EEE;
    border-radius: 5px;
    margin: 20px auto;
    padding: 20px;
    width: 740px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

h1, h1 a, h1 a:hover {
    color: #000;
    font-size: 1.6em;
    font-weight: bold;
    letter-spacing: 1px;
    margin: 0;
    text-decoration: none;
}

h2 {
    color: #000;
    font-size: 1.3em;
    font-weight: bold;
    letter-spacing: 1px;
    margin: 0;
}

#galleryListWrapper {
    /* NULL */
}

#galleryFooter {
    border-top: none !important;
    margin-top: 0 !important;
    padding: 0 !important;
    color: #000;
}

#galleryFooter .credit a {
    color: #000;
}

#galleryFooter .credit a:hover {
    color: #CC1713;
    text-decoration: underline;
}

#imglist {
    color: #000;
}

#imglist a {
    color: #000;
}

#imglist a:hover {
    color: #030;
}


/* -------------------------------------------------------------------------- */
/* -----| GALLERY LIST |----------------------------------------------------- */
/* -------------------------------------------------------------------------- */

#galleryList {
    margin: 0;
    padding: 0 4px;
}

#galleryList li {
    display: inline-block;
    float: left;
    list-style: none;
    margin: 5px 6px;
    padding: 0;
}

#galleryList li a {
    background-color: #176013 !important;
    border-top: 1px solid #176013;
    border-left: 1px solid #176013;
    border-right: 1px solid #176013;
    border-bottom: 1px solid #176013;
    display: block;
    padding: 4px;
}

#galleryList li a:hover {
    background-color: #CC1713 !important;
}

#galleryList li a img {
    border: none;
}

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

#galleryFooter {
    border-top: 1px solid #FFF;
    margin-top: 10px;
    padding: 3px;
}

#credit {
    float: right;
    font-size: .95em;
    margin: 4px 0;
}

#galleryFooter #credit a {
    color: #000;
}

#galleryFooter #credit a:hover {
    color: #CC1713;
    text-decoration: underline;
}


/* ---------------------------------------- */
/* ----|  PAGINATION  |-------------------- */
/* ---------------------------------------- */

#galleryPagination {
    color: #000;
    float: left;
    font-size: .95em;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center;
}

#galleryPagination li {
    border: 1px solid transparent;
    display: block;
    float: left;
    list-style: none;
    margin-right: 1px;
}

#galleryPagination li:hover {
    background-color: #CC1713;
    border-top: 1px solid #CC1713;
    border-left: 1px solid #CC1713;
    border-right: 1px solid #CC1713;
    border-bottom: 1px solid #CC1713;
}

#galleryPagination li.title {
    background: transparent url(../../page_white_stack.png) no-repeat left center;
    border: 1px solid transparent;
    font-weight: normal;
    padding: 3px 6px 3px 22px;
}

#galleryPagination li a, #galleryPagination li a:visited {
    color: #000;
    display: block;
    padding: 3px 6px;
    text-decoration: none;
}

#galleryPagination li a:hover {
    color: #FFF;
}

#galleryPagination li.current {
    color: #FFF;
    background-color: #176013;
    border-top: 1px solid #176013;
    border-left: 1px solid #176013;
    border-right: 1px solid #176013;
    border-bottom: 1px solid #176013;
    font-weight: bold;
    padding: 3px 6px;
}

#galleryPagination li.inactive {
    background-color: transparent;
    color: #000;
    border: 1px solid transparent;
    display: block;
    padding: 3px 6px;
}


/* ---------------------------------------- */
/* ----|  SYSTEM MESSAGES  |--------------- */
/* ---------------------------------------- */

#systemMessages {
    margin: 0;
}

#systemMessages li {
    background-color: #FFF;
    line-height: 1.4em;
    list-style: none;
    margin-bottom: 10px;
    padding: 5px;
    text-align: center;
    text-shadow: none;
}

#systemMessages li.notice {
    background-color: #CCF;
}

#systemMessages li.success {
    background-color: #CFC;
}

#systemMessages li.error {
    background-color: #FCC;
}


/* ---------------------------------------- */
/* ----|  MISCELLANEOUS  |----------------- */
/* ---------------------------------------- */

.line {
    background-color: #176013;
    border-bottom: 1px solid #176013;
    height: 1px;
    margin: 2em 0;
    overflow: hidden;
}

#galleryWrapper .line {
    background-color: #176013;
    border-bottom-color: #176013;
    margin: 10px 0;
}

#cboxWrapper {
    text-shadow: none !important;
}

#cboxCurrent {
    display: none !important;
}

#cboxTitle {
    font-size: 1em !important;
}
