html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,font,img,ins,kbd,q,s,samp,small,strike,sub,sup,tt,var,center,dl,dt,dd,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td {background:transparent;border:0;font-family:inherit;font-style:normal;font-weight:normal;margin:0;padding:0;outline:0;}

table {border-collapse:collapse;border-spacing:0;}

.eventtable {min-width: 115px;font-weight:bold;vertical-align: top;padding: 3px; border: 1px solid #777!important;}

.article-info {border-bottom:1px; border-bottom-style:solid;border-bottom-color: #dedede;}
.sidebyside {width: 748px; float: left; }

/* Main Layout */
html {height:100%;margin-bottom:1px;}
body {font:62.5%/1.2 Helvetica, Arial, sans-serif;color:#555;            text-align:justify;text-justify:auto;}
h1,h3,h4,.componentheading {font-weight:bold;margin:0em 0 1.1em;}
h2 {font-family: Helvetica, Arial, sans-serif; font-weight:bold;}
h1,.componentheading {font-size:160%;}
h2 {font-size:150%;}
h3 {font-size:130%;}
h4 {font-size:110%;}
a {color:#2E3150/*#34647F*/;text-decoration:none;font-weight:bold;                text-align:left!important;text-justify:none!important; }
ul {margin:1em 1em 0em 1em;line-height:19px}
p {margin-top:10px;margin-bottom:10px;line-height:19px;/*overflow: hidden;*/}
sup {vertical-align: baseline;position: relative;top: -0.4em;
}

.span12{padding-bottom: 20px;}

h2 a {    border-bottom: 1px;
    border-bottom-style: solid;
    border-bottom-color: #dedede;
    padding-bottom: 5px;
    padding-top: 10px;
    display: block;
    width:100%;}


/*img {margin-bottom: 20%;}*/
li {line-height:19px;                                                    text-align:left!important;text-justify:none!important; }
#main {font-size:12px;margin-top:-20px!important;}
.background {overflow:hidden;width:100%;height:137px;position:absolute;background:url(../images/background.png) repeat-x;overflow:hidden;}
#main .foreground, #showcase, .leading, #page {position:relative;}
#message, #showcase {z-index:0;}
#message {position:relative;height:10px;}
#main-content {border-bottom:1px solid #ddd;}
.dp20,.dp25,.dp33,.dp50,.dp100 {float:left;margin-top:15px;}
.dp20 {width:20%;}
.dp25 {width:25%;}
.dp33 {width:33.33%;}
.dp50 {width:50%;}
.dp100 {width:100%;margin-top:0;}
.clr {clear:both;font-size:0;}
#colmask {clear:both;overflow:hidden;position:relative;width:100%;}
#maincol, #wrapper {position:relative;}
.s-c-s #colmid, .s-c-x #colright {float:left;position:relative;width:200%;}
.s-c-s #colright {float:left;left:50%;position:relative;width:100%;}
.s-c-s #col1wrap {float:right;position:relative;right:100%;width:50%;}
.s-c-s #col1pad, .x-c-s #col1, .x-c-s #colmid {overflow:hidden;}
.s-c-s #col1 {overflow:hidden;width:100%;}
.s-c-s #col2 {float:left;position:relative;overflow:hidden;margin-left:-50%;        text-align:left!important;}
.s-c-s #col3 {float:left;position:relative;overflow:hidden;left:0;                  text-align:left!important;}
.s-c-x #col1wrap {float:right;position:relative;width:50%;}
.s-c-x #col1 {overflow:hidden;position:relative;right:100%;}
.s-c-x #col2 {float:left;position:relative;}
.x-c-s #colright {float:left;position:relative;right:100%;width:200%;}
.x-c-s #col1wrap {float:left;left:50%;position:relative;width:50%;}
.x-c-s #col3 {float:right;position:relative;}
.s-c-s .ctr-color1, .s-c-s .ckl-color1, .s-c-x .ckl-color1, .x-c-s .cdr-color1 {background:#ccc;} /* {background:#eee;} */
.s-c-s .ctr-color2, .s-c-s .ckl-color2, .s-c-x .ckl-color2, .x-c-s .cdr-color2 {background:#D4DEE3;}
.s-c-s #col1pad, .s-c-x #colright, .x-c-s #colright, #wrapper, body {background:#fff;}
.cols1 {display:block;float:none;margin:0;width:100%;}
.cols2 {width:49%;overflow:hidden;}
.cols3 {width:30%;}
.column1, .column2 {position:relative;float:left;margin:0;}
.colpad {padding:0 10px; position:relative;}
.column2 {float:right;width:49%;}
.article_row {overflow:hidden;margin:20px -10px 15px -10px;}

.leading img:first-child {width: 80px; height:auto; margin-right: 10px; margin-bottom: 90px; float: left;}
.blog_intro2 img:first-child {width: 80px; height:auto; margin-left:-90px; margin-right: 10px;}
.blog_intro2 p {margin-left:90px;}
.component-pad img {float:left; margin-right:10px; margin-bottom:10px;}

/* Header */
#logo {position:relative;width:314px;height:99px;background:url(../images/igd_unisa_logo.jpg) no-repeat;display:block;margin:20px 15px;z-index:0!important;overflow:visible!important;}
/*#header {overflow-y:hidden;overflow-x:visible;}*/
#header li {list-style:none;float:left;padding-left:15px;font-weight:bold;}
#header {position:relative;height:99px!important;z-index:100!important;}


/*#header{background:url(http://www.igd.org.za/worldpic/igdheader.jpg);overflow:visible!important;}*/
/*#header{background:url(../images/headerbg.jpg);overflow:visible!important;align:right;}*/


/*#message{background:url(http://www.igd.org.za/worldpic/igdheader.jpg) 0 -108px;overflow:visible!}*/
/*#message{background:url(../images/headerbg.jpg) 0 -108px;overflow:visible!}*/



#nav {height:38px;background:url(../images/nav_bg.png);z-index:50!important;position:relative;}
#nav ul {margin:-11px 0 0 18px;}
#nav li {list-style:none;float:left;padding-left:25px;height:34px;position:relative;}
#nav li a {display:block;padding:0 7px;line-height:30px;color:#fff;font-weight:normal;}
#nav li.active a {background:#fff;color:#2E3150;}/*#476FA5*/
#nav li a:hover, #nav li:hover a, #nav li.sfHover a {background:#2E3150;color:#fff;text-decoration:none;} /*#34647F*/
#nav li ul {position:absolute;width:170px;left:-999em;margin-left:20px;border:1px solid #565A88;border-top:0;}/*#295770*/
#nav li ul ul {margin:-31px 0 0 170px;}
#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li:hover ul ul ul ul, #nav li.sfHover ul ul, #nav li.sfHover ul ul ul, #nav li.sfHover ul ul ul ul {left:-999em;}
#nav li li {padding:0;height:auto;background:#fff;width:170px;}
#nav li li a, #nav li li.active a, #nav li li a:hover {margin:0;height:30px;line-height:30px;background:#fff;border-top:1px solid #565A88;color:#34647F;}
#nav li li a, #nav li.active li a {font-weight:normal;}
#nav li:hover ul, #nav li.sfHover ul {left:4px;}
#nav li li:hover ul, #nav li li li:hover ul, #nav li li li li:hover ul, #nav li li.sfHover ul, #nav li li li.sfHover ul, #nav li li li li.sfHover ul {left:0;}

/* Showcase */
#showcase {margin:0px 0 8px 0;position:relative;color:#000;}
#showcase .background {position:absolute;width:100%;height:130px;background:url(../images/light4.png) 0 -514px repeat-x;}
#showcase .foreground {border:1px solid #dfeaee;overflow:hidden;padding-bottom:0px;height:321px;}
#showcase h1 {font-weight:normal;font-size:3.0em;line-height:105%;margin:25px 55px 10px 25px;}
#showcase h3 {font-weight:normal;font-size:1.4em;font-weight:normal;text-align:left;font-weight:bold;}
#showcase b {font-weight:normal;color:#7F8C51;}
#showcase .pad {padding:0 50px 25px 25px;}
#showcase .num {float:left;background:#7F8C51;text-align:center;line-height:90%;color:#fff;font-size:2em;padding:3px 8px;}
#showcase .pad h2 {font-size:1.4em;font-weight:bold;margin:0 0 5px 40px;}
#showcase .pad p {margin-left:40px;}

/* Content styles */
p.buttonheading {position:absolute;top:2px;right:10px;margin:0;margin-top:32px;}
.buttonheading .icon {display:block;width:16px;height:16px;float:left;margin-left:5px;}
.buttonheading .pdf {background:url(../images/light4.png) -57px -366px;}
.buttonheading .print {background:url(../images/light4.png) -21px -366px;}
.buttonheading .email {background:url(../images/light4.png) -39px -366px;}
.iteminfo {font-size:90%;overflow:hidden;border-bottom:1px solid #dedede;margin-bottom:20px;display:block;margin-top:-10px;width:100%;}
.modifydate, .createdby, .createdate {display:block;}
.createdby {font-weight:bold;}
a.readon, a.readon2 {display:block;margin-top:15px;font-style:italic;}
a.readon2 {background:url(../images/light4.png) 100% -344px;display:block;float:right;color:#fff;font-weight:bold;line-height:20px;}
a.readon2 span {background:url(../images/light4.png) 0 -344px;display:block;margin-right:10px;height:21px;float:left;padding:0 5px 0 15px;}
.breadcrumbs-pad {padding:0 1px;}
div.breadcrumbs {background:url(../images/light4.png) 0 -68px repeat-x;border-bottom:1px solid #e6e6e6;font-size:110%;font-weight:bold;margin:0;padding:7px 15px 5px;color:#777;border-top:1px solid #d9d9d9;}
div.breadcrumbs .sep {padding:0 5px;}
.component-pad {padding:10px;}
.mainmodule-pad {padding:0px;}
div.mainmodule {color:#777}


.pagination ul li{
display: inline;
padding: 0px 10px 0px 5px;
}


.banneritem_text {margin-bottom:10px;}
#modlgn_username, #modlgn_passwd {border:1px solid #ccc;padding:3px;}
.pagination span, .pagination a {margin-right:5px;}
#colmask ul li {list-style:circle;}
#colmask ul ul {margin-top:0;}
#colmask ul ul li {list-style:square;}
.colpad h2.contentheading {padding-right:65px;}
.sectiontableheader {font-weight:bold;line-height:25px;text-align:left;}
tr.sectiontableentry0 td, tr.sectiontableentry1 td, tr.sectiontableentry2 td, td.sectiontableentry0, td.sectiontableentry1, td.sectiontableentry2 {text-align:left;padding:0 4px;vertical-align:middle;border-top:1px solid #ddd;}/*line-height:30px;*/
span.attention {display:block;margin:15px 0;padding:8px 10px 8px 10px;background:#FFF3A3;border:1px solid #E7BD72;color:#B79000;}

/* Modules */
.module{border-bottom-color: #CCC;border-bottom-style: dotted;border-bottom-width: 0px;/*1px;*/}
.m-none{border-bottom-color: #CCC;border-bottom-style: none!important;border-bottom-width: 0px;/*1px;*/}
.m-none{margin-top:30px;}
.mnone{border-bottom-color: #CCC;border-bottom-style: none!important;border-bottom-width: 0px;}

.module {padding:0px;}
.module-title {font-size:140%;font-weight:bold;margin:0;padding:7px 15px 5px;}
.module-body {padding:10px 15px 15px;}
.mnone div {padding:0 0 0 0!important;
			background-color:#fff;
			border-style:none;}
.mnone {
	padding:none;}
.color1 .module-title {background:url(../images/light4.png) 0 -204px repeat-x;border-bottom:1px solid #ddd;color:#777;}
.color1 .module-body {border-top:1px solid #eee;}
.color2 .module-title {background:url(../images/light4.png) 0 -136px repeat-x;border-bottom:1px solid #c3d9e1;color:#50646d;}
.color2 .module-body {border-top:1px solid #dfeaef;}
#colmask .m_menu {background:#34647F;color:#fff;}
#colmask .m_menu .module-title {background:url(../images/light4.png) 0 -0px repeat-x;border-bottom:1px solid #3C5F80;color:#fff;}
#colmask .m_menu .module-body {border-top:1px solid #597C9E;}
#colmask .m_menu a {color:#fff;}
#colmask .m_menu ul {margin:0 1em;}
#mainmods, #mainmods2 {overflow:hidden;padding-top:15px;}
#mainmods2container {border-bottom-color: #CCC;border-bottom-style: dotted;border-bottom-width: 1px;}
#mainmods3 {background:#eee;border-top:1px solid #fff;border-bottom:1px solid #ddd;overflow:hidden;}
.spacer .module {float:left;}
.spacer.w99 .module {width:100%;}
.spacer.w49 .module {width:49.2%;}
.spacer.w33 .module {width:32.8%;height:150px;}
#header .module {float:right;margin-left:325px;}
#main-content li .active a {font-weight: normal;}

.mevents h3 {font-size:115%;font-weight:bold;background-color:#ddd;margin:0px 7px;padding:3px 15px;}

/* Footer */
#footer {background:#f7f7f7;border-top:1px solid #fff;}
.footer-pad {padding:10px 15px;overflow:hidden;}
#logo2 {width:165px;height:50px;background:url(../images/light4.png) 5px -656px no-repeat;display:block;float:right;margin-left:15px;margin-top:15px;}
#footer ul {margin:0;}
#footer li {list-style:none;float:left;padding-right:20px;font-weight:bold;}

/* Phoca Gallery for Multimedia Page */
/* Phoca Gallery http://www.phoca.cz */


#phocagallery-pane .pg-box1,
#phocagallery .pg-box1,
.pg-box1 {
  /*overflow: hidden;*/
  display: table;
  vertical-align:middle;
}
#phocagallery-pane .pg-box2,
#phocagallery .pg-box2,
.pg-box2 {
  display: table-cell;
  vertical-align: middle;
}
#phocagallery-pane .pg-box3,
#phocagallery .pg-box3,
.pg-box3 {
  text-align:center;
}



.ph-tabs-iefix {
  font-size:1px;
  height:1px;
  margin:0px;
  padding:0px;
}












#phocagallery {
  padding:0;
  margin:0;
  width: auto;
}

#phocagallery a img {
  padding:0;
  margin:0;
  border:0px;
}

#phocagallery .phocagallery-cat-desc {
  margin: 10px 0 10px 0;
}
#phocagallery .category {
  margin: 5px;
}
#phocagallery.pg-detail-view {
  margin:0px;
  padding:0px;
}



#phocagallery .pg-detail-tags,
#phocagallery .pg-cat-tags {
  text-align: right;
  font-size: x-small;
}

#phocagallery-pane .phocagallery-box-file,
#phocagallery .phocagallery-box-file,
.phocagallery-box-file {
  position:relative;
  float:left;
  text-align:center;
  /*overflow:visible;*/
  /*
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  */
}
#phocagallery-pane .phocagallery-box-file-first,
#phocagallery .phocagallery-box-file-first,
.phocagallery-box-file-first {
  
  /*overflow: hidden;*/
  display: table;
  vertical-align:middle;
}
#phocagallery-pane .phocagallery-box-file-second,
#phocagallery .phocagallery-box-file-second,
.phocagallery-box-file-second {
  display: table-cell;
  vertical-align: middle;
}
#phocagallery-pane .phocagallery-box-file-third,
#phocagallery .phocagallery-box-file-third,
.phocagallery-box-file-third {
  text-align:center;
}

#phocagallery-pane a img,
#phocagallery a img,
#phocagallery-statistics a img,
#phocagallery-pane a img:hover,
#phocagallery a img:hover,
#phocagallery-statistics a img:hover{
  border: 0px;
}

#phocagallery a:hover, #phocagallery a:active, #phocagallery a:focus,
#phocagallery-statistics a:hover, #phocagallery-statistics a:active, #phocagallery-statistics a:focus {
  background: none;
  
  text-decoration:none;
}

#phocagallery .pg-name,
#phocagallery-statistics .pg-name{ 
  margin:0px;
  padding:0px;
  margin-top:2px;
  color:#135cae;
  text-align:center;
}
#phocagallery .detail,
#phocagallery-statistics .detail {
  text-align:right;
  margin:0px;
  padding:0px;
}

#phocagallery .phocagallery-box-file:hover,
#phocagallery .phocagallery-box-file.hover,
#phocagallery-pane .phocagallery-box-file:hover,
#phocagallery-pane .phocagallery-box-file.hover,
.phocagallery-box-file:hover, 
.phocagallery-box-file.hover  {
  /*border:1px solid #135cae;
  background:#f5f5f5;*/
  text-decoration:none;
  /*
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  */
}

/*hotnew*/
#phocagallery div.pg-box1 img.pg-img-ovr1 {
  position: absolute;
  top: 3px;
  left: 3px;
}

#phocagallery div.pg-box1 img.pg-img-ovr2 {
  position: absolute;
  top: 3px;
  left: 35px;
}

#phocagallery .pg-cat-img-detail {
  padding:0;
  margin:0;
  margin-top:10px;
  margin-bottom:5px;
}
#phocagallery .pg-cat-img-detail-box {
  position:relative;
  float:left;
  margin:0;
  padding:0;
}

.pg-cats-box-float {
  position: relative;
  float: left;
}


/*detail*/
.phocagallery-box-file-d  {
  position:relative;
  float:left;
  border:1px solid #E8E8E8;
  background:#fcfcfc;
  text-align:center;
  overflow:visible;
  width:640px;
  height:480px;
}

.phocagallery-box-file-first-d {
  background:#f5f5f5;
  width:640px;
  height:480px;
  overflow: hidden;
  display: table;
  vertical-align:middle;
}

/*download message*/
#download-msg{
  font-family:sans-serif;
  font-size:83%;
  position:absolute;
  left: 10%;
  top:10%;
  background-color: #ebecff;
  border: 5px solid #cccccc;
  filter:alpha(opacity=80);
  opacity: 0.8;
  -moz-opacity:0.8;
  z-index:1000;
}
  
/*download message text*/ 
#download-msg div table{ 
  padding: 10px; 
  filter:alpha(opacity=100); 
  opacity: 0.8; 
  -moz-opacity:0.8; 
  position: relative; 
  z-index:1000; 
  background-color:#ebecff; 
} 
#download-msg div table tr td, 
#download-msg div table tr td small, 
#download-msg a { 
  color:#000000; 
  font-weight: bold; 
}

#phocagallery .main-switch-image {
  margin:0px;
  padding:7px 5px 7px 5px;
  margin-bottom:15px;
}
#phocagallery .main-switch-image-table {
  /*border:1px solid #c2c2c2;*/
}
#loading-label-ytb,
#loading-label,
#loading-label-user{
  text-align:center;
  display:none;
}

#phocaGalleryImageBox,
#image-box {
  position:relative;
}
#description-msg{
  font-size:83%;
  text-align:left;
  margin:0;padding:0;
  position:absolute;
  bottom: 0px;
  left:0px;
  right:0px;
  background-color: #000;
  filter:alpha(opacity=60);
  opacity: 0.6;
  -moz-opacity:0.6;
  z-index:1000;
  width:100%;
}

#description-text{
  color:#fff;
  padding:10px;
/*  filter:alpha(opacity=100); 
  opacity: 0.8; 
  -moz-opacity:0.8; */
  position: relative; 
  z-index:1000; 
  background-color:#000;
}



#phocagallery-categories-detail {
clear: both;
}
/* Pane*/

#phocagallery-votes,
#phocagallery-comments,
#phocagallery-upload,
#phocagallery-ytbupload,
#phocagallery-javaupload ,
#phocagallery-multipleupload ,
#phocagallery-category-creating,
#phocagallery-subcategory-creating,
#phocagallery-statistics,
#phocagallery-user{
  margin-top:0px;/*IE bug*/
  margin-bottom:15px;
}

#phocagallery-votes a img,
#phocagallery-comments a img,
#phocagallery-upload a img,
#phocagallery-ytbupload a img,
#phocagallery-javaupload  a img,
#phocagallery-multipleupload  a img,
#phocagallery-category-creating a img,
#phocagallery-subcategory-creating a img,
#phocagallery-user a img,
#phocagallery-statistics a img{
  border: 0px;
}
#phocagallery-categories-detail fieldset, 
#phocagallery-votes fieldset,
#phocagallery-comments fieldset,
#phocagallery-upload fieldset,
#phocagallery-ytbupload fieldset,
#phocagallery-javaupload  fieldset,
#phocagallery-multipleupload fieldset,
#phocagallery-category-creating fieldset,
#phocagallery-subcategory-creating fieldset,
#phocagallery-user fieldset,
#phocagallery-statistics fieldset {
  border:1px solid #ccc;
  padding:10px;
  margin:5px;
}
#phocagallery-categories-detail legend, 
#phocagallery-votes legend,
#phocagallery-comments legend,
#phocagallery-upload legend,
#phocagallery-ytbupload legend,
#phocagallery-javaupload legend,
#phocagallery-multipleupload legend,
#phocagallery-category-creating legend,
#phocagallery-subcategory-creating legend, 
#phocagallery-user legend,
#phocagallery-statistics legend {
  font-weight:bold;
  color:#aa0000;
  padding:10px;
}
#phocagallery-votes small, 
#phocagallery-comments small, 
#phocagallery-upload small ,
#phocagallery-ytbupload small,
#phocagallery-javaupload small,
#phocagallery-multipleupload  small,
#phocagallery-statistics small,
#phocagallery-category-creating small,
#phocagallery-subcategory-creating small, 
#phocagallery-user small {
  color:#ccc;
}

#phocagallery-votes form,
#phocagallery-comments form,
#phocagallery-upload form,
#phocagallery-ytbupload form,
#phocagallery-javaupload form,
#phocagallery-multipleupload form,
#phocagallery-category-creating form,
#phocagallery-subcategory-creating form,
#phocagallery-user form {
  margin:0;
  padding:0;
}


#phocagallery-comments .comment-input,
#phocagallery-upload .comment-input,
#phocagallery-ytbupload .comment-input,
#phocagallery-javaupload .comment-input,
#phocagallery-multipleupload .comment-input,
#phocagallery-category-creating .comment-input,
#phocagallery-subcategory-creating .comment-input,
#phocagallery-user .comment-input {
  width: 98%;
}

#phocagallery-comments .comment-input2,
#phocagallery-upload .comment-input2,
#phocagallery-ytbupload .comment-input2,
#phocagallery-javaupload .comment-input2,
#phocagallery-multipleupload .comment-inpu2t,
#phocagallery-category-creating .comment-input2,
#phocagallery-subcategory-creating .comment-input2,
#phocagallery-user .comment-input {
  width: 40px;
  border:0px;
  font-weight:bold;
}


/* tabs */
form {
  margin: 0;
  padding: 0;
}


dl.tabs {
  float: left;
  margin: 10px 0 -1px 2px;
  z-index: 50;
  
}

dl.tabs dt {
  float: left;
  padding: 4px 10px;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  border-top: 1px solid #ccc;
  margin-left: 3px;
  background: #f0f0f0;
  color: #666;
  
}

dl.tabs dt.open {
  background: #ffffff;
  border-bottom: 1px solid #ffffff;
  z-index: 100;
  color: #000;
  
}

dl.tabs a {
  text-decoration: none;
  font-weight: normal;
}
dl.tabs a:hover {
  background: transparent !important;
}

div.current {
  clear: both;
  border: 1px solid #ccc;
  padding: 10px 10px;
  background: #ffffff;
  
}

div.current dd {
  padding: 0;
  margin: 0;
}

#uploadForm {
  margin:0;
  padding:0;
}

#phocagallery-comments-form{
  margin:0;
  padding:0;
}

#phoca-exif{
  padding:10px;

}

#phoca-exif h2.phocaexif {
  font-size:130%;
  background: url(../../images/icon-info.gif) left center no-repeat;
  padding-left: 20px;
}

#phoca-exif table{
  border-collapse:collapse;

}
#phoca-exif table tr.first{
  background:#fdfdfd;
  border-bottom:1px dotted #ccc;
  border-collapse:collapse;

}
#phoca-exif table tr.second{
  background:#fff;
  border-bottom:1px dotted #ccc;
  border-collapse:collapse;

}
#phoca-exif table tr td{
  padding:5px;
  border-collapse:collapse;

}


/* IE Shadowbox */
#shadowbox_title,
#shadowbox_info {
  border: 0px;
}

#phocagallery-img-votes {
  margin:0;
  padding:0;
  margin-left:10px;
  margin-right:10px;
}

/** Table styles **/

#phocagallery-subcategory-creating  table.adminlist,
#phocagallery-upload  table.adminlist {
  width: 100%;
  border-spacing: 1px;
  background-color: #e7e7e7;
  color: #666;
}

#phocagallery-subcategory-creating  table.adminlist td,
#phocagallery-subcategory-creating  table.adminlist th,
#phocagallery-upload  table.adminlist td,
#phocagallery-upload  table.adminlist th { 
  padding: 4px;
}

#phocagallery-subcategory-creating  table.adminlist thead th,
#phocagallery-upload  table.adminlist thead th {
  text-align: center;
  background: #f0f0f0;
  color: #666;
  border-bottom: 1px solid #999;
  border-left: 1px solid #fff;
}

#phocagallery-subcategory-creating  table.adminlist thead a:hover,
#phocagallery-upload  table.adminlist thead a:hover { text-decoration: none; }

#phocagallery-subcategory-creating  table.adminlist thead th img,
#phocagallery-upload  table.adminlist thead th img { vertical-align: middle; }

#phocagallery-subcategory-creating  table.adminlist tbody th,
#phocagallery-upload  table.adminlist tbody th { font-weight: bold; }

#phocagallery-subcategory-creating  table.adminlist tbody tr,
#phocagallery-upload  table.adminlist tbody tr            { background-color: #fff;  text-align: left; }
#phocagallery-subcategory-creating  table.adminlist tbody tr.row1,
#phocagallery-upload  table.adminlist tbody tr.row1           { background: #f9f9f9; border-top: 1px solid #fff; }

#phocagallery-subcategory-creating  table.adminlist tbody tr.row0:hover td,
#phocagallery-subcategory-creating  table.adminlist tbody tr.row1:hover td,
#phocagallery-upload  table.adminlist tbody tr.row0:hover td,
#phocagallery-upload  table.adminlist tbody tr.row1:hover td { background-color: #ffd ; }

#phocagallery-subcategory-creating  table.adminlist tbody tr td,
#phocagallery-upload  table.adminlist tbody tr td      { height: 25px; background: #fff; border: 1px solid #fff; }

#phocagallery-subcategory-creating  table.adminlist tbody tr.row1 td,
#phocagallery-upload  table.adminlist tbody tr.row1 td { background: #f9f9f9; border-top: 1px solid #FFF; }

#phocagallery-subcategory-creating  table.adminlist tfoot tr,
#phocagallery-upload  table.adminlist tfoot tr { text-align: center;  color: #333; }
 
#phocagallery-subcategory-creating  table.adminlist tfoot td,
#phocagallery-subcategory-creating  table.adminlist tfoot th,
#phocagallery-upload  table.adminlist tfoot td,
#phocagallery-upload  table.adminlist tfoot th { background-color: #f3f3f3; border-top: 1px solid #999; text-align: center; }

#phocagallery-subcategory-creating  table.adminlist td.order,
#phocagallery-upload  table.adminlist td.order    { text-align: center; white-space: nowrap; }

#phocagallery-subcategory-creating  table.adminlist td.order span,
#phocagallery-upload  table.adminlist td.order span { float: left; display: block; width: 20px; text-align: center; }


#phocagallery .pg-center,
#phocagallery-upload .pg-center,
#phocagallery-subcategory-creating .pg-center {
  text-align:center;
  vertical-align:middle;
}
#phocagallery .pg-inline,
#phocagallery-upload .pg-inline,
#phocagallery-subcategory-creating .pg-inline {
  margin:0 10px 0 10px;
  display:inline;
}

.bgPhocaClass {
  padding:10px;
  /*border:1px solid #d2d2d2;*/
}

/* 1.6*/ 

#phocagallery table,
#phocagallery tr,
#phocagallery td {
  border-style: none;
  border: 0px;
}

#phocagallery table tr td div.pg-imgbg a,
#phocagallery table tr td div.pg-imgbg a img,
#phocagallery table tr td div.pg-imgbg {
  margin:0 auto;
  padding:0;
  text-align: center;
}

#phocagallery table tr td div.pg-imgbgd a,
#phocagallery table tr td div.pg-imgbgd a img,
#phocagallery table tr td div.pg-imgbgd {
  margin:0 auto;
  padding:0;
}


/*
 * If Beez template is not used, the following code
 * can be removed
 * Because of using !important methods in Beez
 */

#phocagallery-comments table,
#phocagallery-comments table tr td,
#phocagallery-comments table tr,
#phocagallery table,
#phocagallery-pane table,
#phocagallery-pane table tr,
#phocagallery-pane table tr td{
  border-style: none !important;
  
}

#phocagallery-pane table tr td {
  padding:3px;
}
#phocagallery-multipleupload form fieldset{
  text-align:left;
  padding:5px;
}

#phocagallery-pane .actions
{
       text-align:left;
     width: auto;
       padding:10px 5px !important;
     margin:10px 0 !important;
}

#phocagallery-pane ul#flash_uploader_filelist
{
        margin:0px;
}


#phocagallery div.phocagallery-box-file-third a:hover,
#phocagallery div.phocagallery-box-file-third a:active,
#phocagallery div.phocagallery-box-file-third a:focus,
#phocagallery table tr td div#phocaGalleryImageBox a:hover,
#phocagallery table tr td div#phocaGalleryImageBox a:active,
#phocagallery table tr td div#phocaGalleryImageBox a:focus,
#phocagallery table tr td div.pg-imgbg a:hover,
#phocagallery table tr td div.pg-imgbg a:active,
#phocagallery table tr td div.pg-imgbg a:focus,
#phocagallery table tr td a:hover img,
#phocagallery table tr td a:active img,
#phocagallery table tr td a:focus img,
#phocagallery a:hover img,
#phocagallery a:active img,
#phocagallery a:focus img,
#main #phocagallery a:hover img,
#main #phocagallery a:active img,
#main #phocagallery a:focus img {
     background-color: transparent;
     background: none;
}

/* Plugin */

#main div.phocagallery div.phocagallery-box-file-first a,
#main div.phocagallery div.phocagallery-box-file-second a,
#main div.phocagallery div.phocagallery-box-file-third a,
#main div.phocagallery a img,
#main div.phocagallery div.detail a img,
#main div.phocagallery div.detail a ,
#main div.phocagallery div.detail a:hover img,
#main div.phocagallery div.detail a:active img,
#main div.phocagallery div.detail a:focus img,
#main div.phocagallery a:hover img,
#main div.phocagallery a:active img,
#main div.phocagallery a:focus img {
     background-color: transparent;
     background: none;
     border: none;
     padding:0;margin:0;
}


#main div.phocagallery a img,
#main div.phocagallery a:hover img,
#main div.phocagallery a:active img,
#main div.phocagallery a:focus img {
  vertical-align:middle;
}



.bgPhocaClass {
  padding:10px;
  /*border:1px solid #d2d2d2;*/
}
.bgPhocaClass {
  border-collapse: separate;
}

.bgPhocaClass tr,
.bgPhocaClass tr td {
  border: none;
}

/*
 * End of specific code for Beez template
 */


.pgerrormsg {
  background:#FFC2C2;
  border:1px solid #bf3030;
  color: #a60000;
  padding:10px;
  margin-top:5px;
  margin-bottom:5px;
}
.pgsuccessmsg {
  background:#ceffc1;
  border:1px solid #4ebd30;
  color: #23a600;
  padding:10px;
  margin-top:5px;
  margin-bottom:5px;
}
.pgunsetmsg {
  background:#fff2c1;
  border:1px solid #bda130;
  color: #a68400;
  padding:10px;
  margin-top:5px;
  margin-bottom:5px;
}

#phocagallery table #image-box{
   margin: 0 auto;
}




/*icons - buttons*/
#phocagallery #pg-icons{
  float:right;
  margin-right:5px;
}

/* Multibox */
#phocagallery.pg-detail-view-multibox {
  margin:  0px;
  padding:0px;
  border: 0px;
  overflow:hidden;
  text-align: left;
}

#phocagallery.pg-detail-view-multibox table.pg-multibox-table {
  width: auto;
  padding:0px;
  margin:0px;
  border: 0px;
  text-align: left;
}

#phocagallery.pg-detail-view-multibox table tr td.pg-multibox-lefttd{
  padding: 0px;
  margin:0px;
}
#phocagallery.pg-detail-view-multibox table tr td.pg-multibox-righttd{
  text-align: left;
  padding: 0px;
  margin:0px;
}

#phocagallery.pg-detail-view-multibox table .pg-multibox-left {
  margin: 0px 5px;
  font-size: small;
  position: relative;
}

#phocagallery.pg-detail-view-multibox table .pg-multibox-right {
  padding: 5px 5px;
  margin: 0px;

  overflow: -moz-scrollbars-vertical;
    -ms-overflow-y: scroll;
    overflow-y: scroll;
}
#phocagallery.pg-detail-view-multibox .pg-multibox-desc,
#phocagallery.pg-detail-view-multibox .pg-multibox-user,
#phocagallery.pg-detail-view-multibox  table tr td {
  font-size: small;
}

#phocagallery.pg-detail-view-multibox .pg-rating-msg {
  font-size: xx-small;
}
#phocagallery.pg-detail-view-multibox .pg-multibox-tags-box,
#phocagallery.pg-detail-view-multibox .pg-multibox-desc {
  padding: 5px 0px;
}
#phocagallery.pg-detail-view-multibox .pg-multibox-tags,
#phocagallery.pg-detail-view-multibox .pg-multibox-user {
  font-weight: bold;
}
#phocagallery.pg-detail-view-multibox .pg-multibox-username,
#phocagallery.pg-detail-view-multibox .pg-multibox-avatar {
  float: left;
}
#phocagallery.pg-detail-view-multibox .pg-multibox-thumbs-box,
#phocagallery.pg-detail-view-multibox .pg-multibox-comments {
  padding: 5px 0px;
}

#phocagallery.pg-detail-view-multibox .pg-multibox-thumbs-box .pg-multibox-thumbs-item {
  margin: 3px;
  padding: 2px;
  float: left;
  border: 1px solid #dfdfdf;
}

#phocagallery.pg-detail-view-multibox .pg-multibox-comments-iframe {
  border:none;
  padding:0px;
  margin:0px;
  /*overflow: -moz-scrollbars-vertical;
    -ms-overflow-y: scroll;
    overflow-y: scroll;*/
  overflow: auto;
}


#phocagallery .pg-multibox-title {
  font-weight: bold;
}

#phocagallerymultiboxnext {
  position: absolute;
  right: 20px;
  top: 45%;
  display:none;
}



#phocagallerymultiboxprev {
  position: absolute;
  left: 20px;
  top: 45%;
  display:none;
}


/* To not be in coflict with beez */

#phocagallery.pg-detail-view-multibox table .pg-multibox-left a,
#phocagallery.pg-detail-view-multibox table .pg-multibox-left a img,
#phocagallery.pg-detail-view-multibox table .pg-multibox-left a:hover img,
#phocagallery.pg-detail-view-multibox table .pg-multibox-left a:active img,
#phocagallery.pg-detail-view-multibox table .pg-multibox-left a:focus img,

#phocagallerymultiboxprev a,
#phocagallerymultiboxprev a img,
#phocagallerymultiboxprev a:hover img,
#phocagallerymultiboxprev a:active img,
#phocagallerymultiboxprev a:focus img,

#phocagallerymultiboxnext a,
#phocagallerymultiboxnext a img,
#phocagallerymultiboxnext a:hover img,
#phocagallerymultiboxnext a:active img,
#phocagallerymultiboxnext a:focus img {
     background-color: transparent !important;
     background: none !important;
     border: none !important;
     text-decoration: none !important;
}

/* JAK no borders*/
div.window-container table,
div.window-container table tr,
div.window-container table tr td {
  border: 0px;
}

#phocagallery .pg-multi-img {
   position: 	relative;
   float:		left;
   max-width: 	100%;
}
#phocagallery .pg-multi-img::before {
	content: 	"";
	position: 	absolute;
	top: 		0;
	bottom: 	0;
	left: 		0;
	right: 		0;
	-webkit-box-shadow: inset 0px 0px 0px 1px #fff;
	box-shadow: inset 0px 0px 0px 1px #fff;
}
#phocagallery .pg-multi-img img{
	float:left;
}  
#pg-msnr-container {
	padding: 0;
	margin: 0;
}

#phocaMap img,
#phocagallery img {
	max-width: none;
}


.ph-cb {
	clear:both
}

.highslide img {
	border: 0px;
}

/* Bootstrap 3 conflict */
#phocagallery *,
#phocagallery *:before,
#phocagallery *:after {
  -webkit-box-sizing: content-box !important;
  -moz-box-sizing: content-box  !important;
  box-sizing: content-box !important;;
}
