/* Public display classes */
#photogallery_public_list {
}

li.photogallery_public_list {
    position: relative;
    padding: 5px;
    vertical-align: top;
    min-height: 74px;
}

a.photogallery_public_list_title {
    display: block;
    font-size: 1.1em;
}

img.photogallery_public_list {
    float: left;
    border: 1px solid black;
    margin-top: 3px;
    margin-right: 3px;
    margin-bottom: 0px;
}

span.photogallery_public_list_description {
    font-style: italic;
    text-align: justify;
}

span.photogallery_public_list_created {
    position: absolute;
    top: 4px;
    right: 3px;
    font-size: 0.7em;
    font-style: italic;
}

span.photogallery_public_list_edited {
    position: absolute;
    top: 13px;
    right: 3px;
    font-size: 0.7em;
    font-style: italic;
}

p.photogallery_public_error {
}



/* There exists various fixes for IE and FF problems in the respective fix.tpl files */

#photogallery_small_photos {
    position: relative;
    width: 85%;
    margin: 0 auto;
}

ul.photogallery_small_photos {
   padding: 0;
   margin: 0;
}

li.photogallery_small_photo {
	width: 170px;
        height: 190px;
	text-align: center;
	position: relative;
	float: left;
	display: inline;
	margin: 3px;
}

div.photogallery_small_photo {
    height: 170px;
    width: 168px;
    border: 1px solid black;
    background-color: #FFF;
    display: table-cell;
    vertical-align: middle;
}

img.photogallery_small_photo {
    border: 1px solid black;
}

p.photogallery_small_photo_caption {
    background-color: #FFF;
    padding: 2px;
    border: 1px solid black;
    margin-top: -1px;
    font-size: 0.8em;
    text-align: center;
}

div.gallery_clear {
    clear: both;
}

/* Gallery box CSS */
#photogallery_modal {
    font: 12px sans-serif;
    color: #333333;
}

#photogallery_modal a:link { color: #666666;}
#photogallery_modal a:visited { color: #666666;}
#photogallery_modal a:hover { color: #000;}
#photogallery_modal a:active { color: #666666;}
#photogallery_modal a:focus{ color: #666666;}

#photogallery_overlay {
    position: fixed;
    z-index: 100;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
}

.photogallery_overlay_mac_ff_bg {
    background: url(mac_ff_bg.png) repeat;
}

.photogallery_overlay_bg {
    background-color: #000000;
    opacity: 0.75;
}

#photogallery_modal {
    position: fixed;
    background: #ffffff;
    z-index: 102;
    color: #000000;
    display: none;
    border: 4px solid #3b3b3b;
    text-align: left;
    top: 50%;
    left: 50%;
}

#photogallery_modal img#photogallery_image {
    display: block;
    margin: 15px 0 0 15px;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-top: 1px solid #666;
    border-left: 1px solid #666;
}

#photogalery_modal_caption {
    text-align: justify; 
    margin-bottom: 5px; 
    margin-right: 17px; 
    margin-left: 17px; 
    font-style: italic;
}

div.photogallery_modal_navigator {
    float: left;
    margin-bottom: 2px;
    margin-left: 5px;
    font-size: 0.95em;
    color: #666666;
}

div.photogallery_modal_close {
    float: right;
    margin-bottom: 2px;
    margin-right: 5px;
    font-size: 0.95em;
    color: #666666;
}

div.photogallery_modal_clear {
    clear: both;
}

#photogallery_load{
    position: fixed;
    display: none;
    height: 13px;
    width: 208px;
    z-index: 103;
    top: 50%;
    left: 50%;
    margin: -6px 0 0 -104px;
}

#photogallery_iframe_hider{
    z-index: 99;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #fff;
    border: none;
    opacity: 0;
    height: 100%;
    width: 100%;
}


/* Content admin classes */
h1.content_admin_title {
    margin-bottom: 30px;
    text-align: center;
    line-height: 20px;
}

p.content_admin_message {
    text-align: center;
    padding-top: 100px;
    text-align: center;
}

p.content_admin_error {
    text-align: center;
    padding-top: 50px;
    text-align: center;
    color: red;
}

ol.content_admin {
    position: relative;
    padding-bottom: 5px;
    padding-top: 5px;
    margin-left: -4px;
    margin-right: -4px;
}

a.content_admin_add {
    float: left;
    margin-top: -15px;
    margin-left: 1px;
    padding-left: 5px;
    padding-right: 5px;
    line-height: 20px;
    text-decoration: none;
    font-style: italic;
    background-color: #CCC;
}

a.content_admin_add:hover {
    background-color: #DDD;
}

a.content_admin_float_list {
    position: absolute;
    margin-right: 2px;
    margin-left: 2px;
    width: 65px;
    text-align: center;
}

form.content_admin {
    padding: 5px;
    background-color: #AAA;
}

label.content_admin_form {
    font-size: 90%;
    text-align: right;
    width: 120px;
}

input.content_admin_form {
    padding-left: 0;
    padding-right: 0;
    font-size: 90%;
}

textarea.content_admin_form {
    padding-left: 0;
    padding-right: 0;
    font-size: 90%;
}

/* Specific for content listing */
#content_admin_add {
}

#content_admin_list {
}

li.content_admin_list {
    padding-top: 5px;
    padding-bottom: 5px;
}

span.content_admin_list_id {
    position: absolute;
    left: 5px;
    width: 40px;
    text-align: right;
    font-weight: bold;
}

span.content_admin_list_title {
    margin-left: 60px;
    font-weight: bold;
}

a.content_admin_list_edit {
    right: 215px;
}

a.content_admin_list_photos {
    right: 145px;
}

a.content_admin_list_delete {
    right: 75px;
}

a.content_admin_list_deactive {
    right: 5px;
    color: red;
}

a.content_admin_list_active {
    right: 5px;
    color: green;
}

/* Specific for content form */
#content_admin_form {
    position: relative;
    height: 200px;
    width: 740px;
    margin: 0 auto;
}

#content_admin_form_title_label {
    position: absolute;
    top: 30px;
    left: 5px;
}

#content_form_title {
    position: absolute;
    top: 30px;
    left: 145px;
    width: 590px;
}

#content_admin_form_textual_id_label {
    position: absolute;
    top: 60px;
    left: 5px;
}

#content_form_textual_id {
    position: absolute;
    top: 60px;
    left: 145px;
    width: 590px;
}

#content_admin_form_description_label {
    position: absolute;
    top: 90px;
    left: 5px;
}

#content_form_description {
    position: absolute;
    top: 90px;
    left: 145px;
    width: 590px;
    height: 60px;
}

#content_submit {
    position: absolute;
    bottom: 15px;
    left: 380px;
    width: 100px;
    padding-left: 5px;
    padding-right: 5px;
}

#content_cancel {
    position: absolute;
    bottom: 15px;
    right: 380px;
    width: 100px;
    padding-left: 5px;
    padding-right: 5px;
}


a.photo_add {
    margin-top: -21px;
    margin-left: 5px;
}

#photo_list {
}

li.photo_list {
}

img.photo_list_image {
    border: 1px solid black;
    padding: 0;
    margin-left: 5px;
    margin-top: 5px;
    margin-bottom: 5px;
}

span.photo_list_caption {
    position: absolute;
    top: 5px;
    left: 175px;
    right: 100px;
}

span.photo_list_order {
    position: absolute;
    font-size: 0.7em;
    right: 25px;
    top: 35px;
}

a.photo_list_edit {
    right: 75px;
}

a.photo_list_delete {
    right: 5px;
}


#photo_admin_form {
    position: relative;
    width: 500px;
    margin: 0 auto;
}

form.photo_add {
    height: 150px;
}

form.photo_edit {
    height: 285px;
}

#photo_form_caption_label {
    position: absolute;
    top: 30px;
    right: 410px;
}

#photo_form_caption {
    position: absolute;
    top: 30px;
    left: 110px;
    width: 380px;
}

#photo_form_sort_key_label {
    position: absolute;
    top: 60px;
    right: 410px;
}

#photo_form_sort_key {
    position: absolute;
    top: 60px;
    left: 110px;
    width: 50px;
}

#photo_form_file_label {
    position: absolute;
    top: 90px;
    right: 410px;
}

#photo_form_file {
    position: absolute;
    top: 90px;
    left: 110px;
    width: 380px;
}

#photo_form_image_span {
    position: absolute;
    top: 90px;
    right: 410px;
}

#photo_form_image {
    position: absolute;
    top: 90px;
    left: 110px;
    border: 1px solid black;
}

#photo_submit {
    position: absolute;
    bottom: 15px;
    left: 260px;
    width: 100px;
    padding-left: 5px;
    padding-right: 5px;
}

#photo_cancel {
    position: absolute;
    bottom: 15px;
    right: 260px;
    width: 100px;
    padding-left: 5px;
    padding-right: 5px;
}

