html,
body {
    height: 100%;
    color: #777;
    font-size: 12px;
    font-family: Raleway;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    bottom: 0;
    height: 60px;
    padding-top: 20px;
    position: fixed;
    width: 100%;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}


a {
    color: #777;
    text-decoration: none;
}

a:hover {
    color: #7c7b7b;
    text-decoration: none;
}

.menu {
	text-align:center;
	margin: 10px auto 40px;
}
.menu p{
    font-size: 1.45em;
    text-transform: uppercase;
    text-align: center; 
	text-justify: inter-word;	
}
.menu p a{
	margin: 0 20px;
}

h1.sn {
    font-size: 1.5em;
    text-transform: uppercase;
}

.site-index{
    margin-top: 0;
	width: 100%;
}
.site-index .menu{
    margin-top: 0;
}
.site-home .menu {
    margin-top: 0;
	width: 100%;
}
.pMe p {
    /*font-size: 0.7em;*/
    margin: 0 0 5px;
}

.pMe img {
    width: 100%;
    float: right;
    margin-left: 20px;
    margin-bottom: 20px;
}

.pHome {
    font-size: 2em;
	text-align: center;
	text-transform: uppercase;
}

.pPipe p {
    /*width: 4px;*/
    /*height: 25px;*/
    /*margin: 0 12px 5px;
    display: inline-block;*/
    background: rgba(0, 0, 0, 0) url("/images/pipe.png") no-repeat scroll left top;
    padding-left: 10px;
}

.content-table {
    display: table;
    width: 100%;
}

.content-cell {
    height: 50px;
    display: table-cell;
    vertical-align: middle;
}

.content-cell .row {
    margin: 5px 0 5px 10px;
}

.content-cell label {
    
    padding-right:10px;
}

.content-cell input, .content-cell textarea {
    width: 85%;
    float:right;
    text-align: left;
    border: 1px solid #bbb;
}

.content-cell input[type=submit] {
    width:100%;
    text-align: center;
}


/* GALLERY */

.galInfobar{
    min-height:30px;
    line-height:28px;
    right:20px;
    position:fixed;
    bottom:60px;
    left:20px;
    z-index:999999999;
    text-align:center;
    color:#777;
    background-color: #fff;
    display: none;
}
span#galDescription{
    display:none;
}
span#galLoading{
    display:none;
    padding-right: 30px;
    background:transparent url(/images/loading.gif) no-repeat center right;
}
#galThumbsWrapper{
    overflow:hidden;
    position:relative;
    height:100%;
    width:100%;
    left:0px;
    right:0px;
    bottom:0px;
}
#galContent{
    position:relative;
    top:0px;
    height:100%;
    width:100%;
    left:0px;
    display:none;  
}

#galContent .galImg {
    height: 150px;
    float: left;
    margin: 2px;
    position: relative;
    opacity: 0.4;
}

.editPanel #galContent .galImg {
	text-align: center;
}

#galContent .galImg img{
    max-height: 100%;
    cursor:pointer;
    filter:progid:DXImageTransform.Microsoft.Alpha(opacity=40);
}
#galContent .galImg .remove {
    position: absolute;
    right: 10px;
    top: 0;
    width: 15px;
    height: 15px;
    font-size: 20px;
    font-family: Arial;
    cursor: pointer;
    margin-top: -24px;
}
#galContent .galImg .editTitle {
    position: absolute;
    left: 10px;
    top: 0;
    width: 15px;
    height: 15px;
    font-size: 20px;
    font-family: Arial;
    cursor: pointer;
    margin-top: -24px;
}

.galPlaceholder{
    float:left;
    clear:both;
    width:100%;
    height:30px;
}
#galPanel{
    background-color:#fff;
    width:100%;
    position:fixed;
    bottom:0px;
    left:0px;
    right:0px;
    height:0px;
    text-align:center; 
}
#galPanel img{
    cursor:pointer;
    position:absolute;
	left: 0;
	right: 0;
	margin: 0 auto;
    display:none;
}

#galWrapper{
    position:relative;
    margin:55px auto 0px auto;
	width: 100%;
	height: 100%;
}

a#next,
a#prev{
    width:50px;
    height:50px;
    position:fixed;
    cursor:pointer;
    outline:none;
    display:none;
    background: url(/images/nav.png) no-repeat top left;
}
a#next:hover, a#prev:hover{
    background-color:#fff;
}
a#next{
    right:0px;
    top:50%;
    margin-top:-20px;
    background-position: 0px 0px;
}
a#prev{
    left:0px;
    top:50%;
    margin-top:-20px;
    background-position: 0px -50px;
}

a#close {
    width:50px;
    height:50px;
    position:fixed;
    cursor:pointer;
    outline:none;
    display:none;
    background: url(/images/close.png) no-repeat top left;
    right: 10px;
    top: 10px;
    -moz-transition:all 0.4s ease-in-out;
    -ms-transition:all 0.4s ease-in-out;
    -o-transition:all 0.4s ease-in-out;
    -webkit-transition:all 0.4s ease-in-out;
    opacity:0.85;
    z-index: 100;
}
a#close:hover{
	transform:rotate(180deg);
	-moz-transform:rotate(180deg);
	-ms-transform:rotate(180deg);
	-o-transform:rotate(180deg);
	-webkit-transform:rotate(180deg);
	opacity:1;
}*



.btn01 {
    color: #777;
}

.contOperation {
    width:200px;
    height: 50px;
}

#contUpload {
    width: 100%;
    display: none;
}

#fileupload table{
    width: 100%;
}

#fileupload table td{
    padding: 3px;
}

#fileupload table td p {
    margin-bottom: 1px;
}

#fileupload table td input {
    width: 100%;
}

#dialog-confirm-remove,
#dialog-message01,
#dialog-add-year,
#dialog-add-year-notice,
#dialog-edit-year,
#dialog-edit-year-notice,
#dialog-edit-title,
#dialog-edit-title-notice
{
    display: none;
}

#newYear, #changedYear, #changedTitle {width: 320px;}

.editYear {cursor: pointer;}

#galYears div {margin: 7px 0;}

.inline {display: inline-block;}
.galYear {clear: both;padding-top:30px;margin-bottom: 15px;overflow: hidden;display: block;}

.photo01 {
    width: 100%;
}

@media (max-width: 768px) { 
    .site-index {
        margin-top: 0 !important;
    }
    
    .wrap > .container {
        padding: 0px 15px 20px !important;
    }
}

.logout {
    color: #aa0000;
}

.wrap > .container.contMain {
	padding-top:10px;
}

.title01 {
	font-size: 1.45em;
	text-transform: uppercase;
        text-align: center;
}

.mainContent {
	margin-top: 50px;
}

.galYear {
    cursor: pointer;
}
.galClose {
    display: none;
}