/**** tag definitions ****/

body {
    margin: 0px;
    background: #FFF;
}


/**** global container definitions ****/

#global_container {
    margin: 0px auto;
    
    text-align: center;
    font-family: 'Roboto', sans-serif;
    background: #FFF;
}


/**** main container definitions ****/

#msc_container {
    position: relative;
    
    width: 960px;
    margin: auto;
    color: #555;
    text-align: left;
    vertical-align: top;
    background: #FFF;
}

#msc_container a,
#msc_image a {
    text-decoration: none;
}

#msc_container a:hover,
#msc_image a:hover {
    text-decoration: none;
}

#thumbs_cont table,
#thumbs_cont tr,
#thumbs_cont td {
    border: 0px !important;
    margin: 0px !important;
    padding: 0px !important;
    
}

#pravy, #lavy{
    vertical-align: top;
    
}
/**** menu container definitions ****/

#msc_menu {
    position: relative;
    float: left;
    width: 250px;
    margin: 0px;
    margin-bottom: 10px;
    padding-top: 15px;
    padding-bottom: 20px;
    font-family: 'Roboto', sans-serif;
    font-size: 10px;
    
    }



#msc_menu h1 {
    margin: 0px;
    padding: 6px 0 12px 10px;
    color: #FFF;
    font-size: 18px;
    line-height: 21px;
    font-weight: normal;
}

#msc_menu a {
    color: #333;
    font-style: normal;
    font-size: 100%;
    font-weight: 300;

    line-height: 130%;
    font-family: 'Roboto',sans-serif;
    text-decoration: none;
}

#msc_menu a:active, a:visited {
    color: #333;
    text-decoration: none;
}

#msc_menu a:hover{
    color: #f4a007;
    text-decoration: none;
}

#msc_menu a img.lock {
    padding: 0 3px 3px 0;
    vertical-align: middle;
    border: none;
}

#msc_menu span,
#msc_menu #galleries_menu span {
    display: block;
    padding: 6px 0px 6px 10px;
    font-size: 12px;
    background: #E9E9E9;
}

#msc_menu ul {
    display: block;
    margin: 10px 0px 10px 0px;
    padding: 4px 0px 4px 0px;
    font-size: 12px;
}

#msc_menu ul li {
    display: block;
    /*min-height: 14px;*/

    width: 200px; 
    padding-right: 20px;
    padding-bottom: 8px;
    padding-top: 8px;
    font-size: 130%;
    line-height: 30px; 
    color: #333;

    /*white-space: nowrap;*/
}


#msc_menu ul li.odd {
    background: #E9E9E9;
}

#msc_menu ul li.even {
    background: #E9E9E9;
}

#msc_menu ul li.topline {
    border-top: 1px dashed #E6E7DC;
   
}

#msc_menu ul li em {
    font-style: normal;
    font-weight: normal;
    font-size: 9px !important;
    font-size: 10px;
}

#msc_menu ul li a,{
    font-size: 12px;
    /*padding-left: 4px;*/
    border-left: 1px solid #666;
  
  }
#msc_menu ul li a:link,
#msc_menu ul li a:active,
#msc_menu ul li a:visited {

}

#msc_menu ul li a.nonum,
#msc_menu ul li a.nonum:link,
#msc_menu ul li a.nonum:active,
#msc_menu ul li a.nonum:visited {
    border-left: 0px;
}

#msc_menu #galleries_menu small {
    color: #999;
}

/*** gallery select menu *****/

#gallery_select_menu select#select_menu {
    font-size: 1em !important;
}


/**** tools menu definitions [NOT USED] ****/

#msc_menu #toolmenu {
    display: none;
    padding: 4px 0px;
    background: #666;
}

#toolmenu a#toolshowhide {
    float: left;
    padding-left: 10px;
    color: #999;
    font-size: 11px;
}

#toolmenu a#toolshowhide:hover {
    color: #FFF;
}

#toolmenu h1 {
    margin: 0px;
    padding: 0px 10px 2px 10px;
    font-size: 12px;
    line-height: 14px;
    color: #FFF;
}

#utilities {
    display: none;
    width: 200px;
}

#utilities ul {
    margin: 0px;
    padding: 0px;
    border-bottom: 0px;
    background: #E9E9E9;
}

#utilities ul li {
    display: inline;
    clear: both;
    width: 188px !important;
    padding: 6px;
    color: #FFF;
    font-size: 11px;
    background: #E9E9E9;
}

#utilities ul li.settings {
    display: block;
    height: auto !important;
    color: #333;
    font-family: 'Roboto', sans-serif;
    font-size: 10px;
    line-height: 18px;
    background: #E9E9E9;
    border-bottom: 1px solid #666;
}

#utilities ul li a,
#utilities ul li a:link,
#utilities ul li a:active,
#utilities ul li a:visited {
    padding-left: 0px;
    font-size: 11px;
    line-height: 14px;
    color: #FFF;
    font-weight: bold;
    border: 0px;
}

#utilities ul li a:hover {
    color: #666;
}

#utilities ul li input.button {
    margin: 6px 0px 0px 0px;
    font-size: 10px;
    line-height: 10px;
    z-index: -20;
}

#utilities ul li select {
    font-size: 10px;
    line-height: 10px;
    z-index: -20;
}

/**** thumbs container definitions ****/

#msc_thumbs {
    margin: 0px 0px 10px 0px;
    width: 580px;
    padding: 0px 0px 6px 0px;
    background: #FFF;
    
    vertical-align: top;
}

/**** url info container definitions ****/

/* NEW SELECT MENU */

#top_menu {
    height: 24px;
    margin-bottom: 14px;
    padding-top: 12px;
    padding-right: 4px;
}

#top_menu.menu_bg {
    padding: 12px 0 8px 0 !important;
    background: #666;
    border-bottom: 1px solid #999;
}

#top_menu div {
    display: inline;
    float: left;
    padding: 0px 10px;

    font-family: 'Roboto', sans-serif;
    font-size: 10px;
    line-height: 10px;
}

#galleries_select select {
    font-size: 1.4em;
}

#msc_thumbs #top_menu #tools_menu {
    float: right !important;
    display: none;
    margin: 6px 0 0 0;
    padding: 0px 10px 0 10px;
}

#tools_menu span,
#tools_menu span a {
    color: #999;
    font-size: 10px;
    line-height: 10px;
}

#tools_menu span a:hover {
    color: #E9E9E9;
}

#gallery_url {
    /*display: block;
    width: 550px;*/
    /*height: 16px;*/
    float: right !important;
    margin: 6px 0px 0px 0px;
    padding: 6px 0px 0px 10px;
    /*color: #999;
    font-family: 'Roboto', sans-serif;
    font-size: 10px;
    line-height: 10px;*/
}

#gallery_url div#light_menu {
    display: none;
    /*float: left;*/
}

#gallery_url a#permalink_a {
    /*float: right;*/
    color: #999 !important;
}

#gallery_url a#permalink_a:hover {
    color: #E9E9E9 !important;
}


/**** info container definitions ****/

#gallery_data {
    width: 570px;
    margin: 6px 0px 0px 0px;
    padding: 0px;
    padding-left: 10px;
}

#gallery_description {
    display: none;
    width: 570px;
    margin: 10px 0px 2px 0px;
    padding: 0px;
    padding-left: 10px;
    color: #555;
}

#gallery_description p {
    margin: 0px;
    padding: 0px 0px 10px 0px;
    color: #555;
    font-size: 12px;
    font-weight: normal;
    line-height: 16px;
    font-family: Verdana, Tahoma, Geneva, Arial;
    background: #FFF;
    border: 0px;
}

#gallery_description a {
    color: #666;
    font-size: 12px;
    line-height: 16px;
    font-family: 'Roboto', sans-serif;
    text-decoration: underline;
}

#gallery_description a:hover {
    color: #999;
}

#gallery_title {
    display: block;
    margin: 0px;
    padding: 0px;
    color: #555;
    font-size: 18px;
    line-height: 24px;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    text-align: center;
    padding-bottom: 15px;
}

#gallery_title span.xtra {
    color: #999;
}

#gallery_title span.xtra a {
    color: #999;
    font-size: 12px;
    line-height: 26px;
    vertical-align: middle;
}

#gallery_title span.xtra a:hover {
    color: #555;
}


/* thumbs navigation */

#gallery_nav,
#gallery_nav2 {
    display: none;
    font-size: 11px;
    line-height: 11px;
    color: #999;
}

#gallery_block,
#gallery_block2 {
    display: block;
    margin: 4px 0px 0px 0px;
    padding: 4px 4px 6px 10px;
    color: #555;
    font-family: 'Roboto', sans-serif;
    font-weight: normal;
    text-align: left;
    background: #FFF;
}

#gallery_block2 {
    float: left;
    width: 98%;
}

#gallery_block a,
#gallery_block2 a {
    font-size: 11px;
    line-height: 14px;
    color: #999;
}

#gallery_block a:hover,
#gallery_block2 a:hover {
    color: #333;
}


/**** thumbnails styles ****/

#thumbs_div {
    width: 580px;
    margin: 0px !important;
    padding: 0px !important;
    color: #FFF;
    font: 10pt/12pt bold 'Roboto', sans-serif;
    background: #FFF;
}

#thumbs_load {
    display: none;
    width: 546px !important;
    width: 530px;
    margin: 4px 0px 0px 10px;
    border: 1px solid #F90;
}

#thumbs_load div#loadbar {
    height: 14px;
    width: 0px;
    margin: 0px;
    padding: 0px;
    background: #F90;
}


#thumbs_load div#loadbar p {
    margin: 0px;
    padding: 0px;
    padding-left: 10px;
    font-size: 10px;
    font-weight: bold;
    color: #555;
}


/* thumbs container */

#thumbs_cont {
    width: 580px;
    margin: 4px 0px 0px 0px;
    padding: 0px;
    color: #555;
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
}

#thumbs_cont p {
    padding: 14px 0px 0px 0px;
    color: #F30;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
}

#thumbs_cont p.noimg {
    padding-left: 10px;
}

#thumbs_cont span.load {
    display: block;
    width: 570px !important;
    margin: 6px 0px 6px 0px;
    padding: 20px 0px 20px 10px;
    color: #999;
    font-size: 18px;
}

/*div.thumb_frame {
        width: 91px;
        height: 91px;
        border: 1px solid #f30 !important;
}*/

#thumbs_cont ul {
    visibility: visible;
    list-style: none;
    width: 570px !important;
    margin: 6px 0px 0px 10px !important;
    padding: 0px !important;
}

#thumbs_cont ul li {
    visibility: visible;
    float: left;
    width: 85px;
    height: 105px;
    margin: 0px 8px 8px 0px !important;
    padding: 0px !important;
    border: none;
    /*border-top: 4px solid #FFF !important;*/
    background: #FFF;
}

#thumbs_cont ul li p {
    height: 16px;
    margin: 1px 0px 0px 0px;
    padding: 2px 0px 4px 0px;
    font-weight: normal;
    font-size: 10px;
    line-height: 10px;
    color: #666;
    background: #FFF;
    border: 1px solid #FFF;
}


#thumbs_cont ul li a p {
    color: #666;
}

#thumbs_cont ul li a:hover p {
    color: #333;
}

#thumbs_cont ul li.normal {
    background-color: #FFF;
}

#thumbs_cont ul li.selected {
    background-color: #666;
}

#thumbs_cont ul li.visited {
    background-color: #E9E9E9;
}

#thumbs_cont ul li a,
#thumbs_cont ul li a:link,
#thumbs_cont ul li a:active,
#thumbs_cont ul li a:visited {
    cursor: hand;
}

#thumbs_cont ul li a div.th_load_div {
    height: 105px;
    margin: 0;
    padding: 4px 0 0 10px;
    font-size: 8px;
    background: url('./images/spinner.gif') no-repeat 4px 4px !important;
}

#thumbs_cont ul li a div.th_load_div img {
    border: none;
}

#thumbs_cont ul li img.thumb_img {
    margin: 3px !important;
    padding: 0px !important;
    vertical-align: middle;
    border: none;
    /*border-top: 4px solid #666 !important;*/
    background: url('images/spinner.gif') no-repeat 4px 4px !important;
}

#thumbs_cont ul li img.thumb_img:hover {
    border: none;
    /*border-top: 4px solid #333 !important;*/
}

#thumbs_cont ul li img.thumb_loader {
    margin: 6px !important;
    padding: 0px !important;
    vertical-align: middle;
    border: none;
    background: none;
}


/**** image container styles ****/

#msc_image {
    position: absolute;
    display: none;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    width: 100%;
    margin: 0px;
    padding: 0px;
    z-index: 1000;
}

body > div#msc_image {
    position: fixed;
}

/**** url info container definitions ****/

#image_url {
    position: absolute;
    display: block;
    top: 0px;
    width: 100%;
    margin: auto;
    padding-top: 4px;
    height: 16px;
    color: #FFF;
    font-size: 10px;
    text-align: center;
}

#image_url a {
    color: #333;
}

#image_url a:hover {
    color: #999;
}

#image_div {
    height: 100%;
    padding: 16px;
    color: #FFF;
    font-size: 10px;
    line-height: 12px;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
}

#image_container {
    width: 100%;
    height: 100%;
    text-align: center;
}

#image_container #img {
    width: 400px;
    height: 300px;
    margin: 10px auto;
    padding: 0px;
    background: #FFF;
    text-align: center;
    vertical-align: middle;
}

#image_container #img img.imagen {
    display: block;
    margin: 0px !important;
    padding: 1px;
    background: #FFF;
    border: 8px solid #FFF;
}

#image_container div.imagen_desc {
    display: none;
    padding: 4px 10px;
}

#image_container div.imagen_desc div.description {
    width: 370px !important;
    margin: auto;
    text-align: left;
    color: #fff;
    font-weight: normal;
    font-size: 1em;
    line-height: 1.2em;
    border: 1px solid #f30;
}

#image_container #img #loaddiv {
    display: none;
    color: #666;
    font-size: 11px;
    margin-top: 20px;
    padding: 8px;
    font-weight: normal;
    font-family: 'Roboto', sans-serif;
    background: #FFF;
    border: 1px solid #FFF;
}

#image_container #img #loaddiv strong {
    color: #999;
}

#image_container #img #loaddiv img#loadimg {
    border: 1px solid #FFF;
    margin-top: -4px;
    vertical-align: middle;
    background: none;
}

#image_container small,
#image_container a small {
    margin: 0px;
    padding: 0px;
    font-size: 11px;
    font-weight: normal;
    font-family: 'Roboto', sans-serif;
    color: #666;
}

#image_container p {
    margin: 0px;
    padding: 0px 0px 10px 0px;
    font-size: 11px;
    font-weight: normal;
    font-family: 'Roboto', sans-serif;
    color: #666;
    background: #FFF;
}

#image_container a:hover small {
    color: #999; 
}

#image_menu {
    display: block;
    width: 100%;
    margin: 2px auto 4px auto;
    color: #666;
    text-align: center;
}

#image_menu a {
    color: #999;
}

#image_menu a:hover {
    color: #999;
}

#image_menu span#close_win {
    float: left;
    top: 20px;
    right: 20px;
    text-align: right;
}

#image_menu span#close_win a {
    padding: 4px;
    font-size: 14px;
    font-weight: bold;
    font-family: 'Roboto', sans-serif;
    /*background: #666;*/
}


/**** image navigation div definitions ****/

#nav_container {
    width: 410px;
    height: 50px;
    margin: 10px auto 0px auto;
    padding: 0px 4px;
    text-align: center;
    background: url('../images/thumbnails_bg_all.png');
}

#nav_container #prev {
    float: left;
    width: 25px;
    margin-top: 3px;
}

#nav_container #next {
    float: right;
    width: 25px;
    margin-top: 3px;
}

#nav_container #prev a#a_prev,
#nav_container #next a#a_next {
    display: none;
    margin: 0px;
    padding: 0px;
    background: none;
    border: none;
}

#nav_container #prev a#a_prev:hover,
#nav_container #next a#a_next:hover {
    color: #999;
}

#nav_container #prev a#a_prev img,
#nav_container #next a#a_next img {
    background: none;
    border: none;
    }

#nav_container #prev a#a_prev img:hover,
#nav_container #next a#a_next img:hover {
    }

#nav_container #prev a#a_prev img:hover {

}

#nav_container #next a#a_next img:hover {

}


/**** thumb navigation div ****/

#nav_container #nav_thumbs {
    float: left;
    margin: 0px auto;
    margin-left: 44px;
    padding: 3px 0px;
    text-align: center;
}

#nav_container #nav_thumbs div.navthumb {
    /*display: inline;*/
    float: left;
    width: 44px;
    margin-left: 10px;
}

#nav_container #nav_thumbs div.nav_select {
    /*display: inline;*/
    float: left;
    width: 44px;
    margin-left: 10px;
    border: 2px solid #FFF;
}

#nav_container #nav_thumbs div.navthumb a {
    color: #333;
}

#nav_container #nav_thumbs div.navthumb a:hover {
    color: #FFF;
}

#nav_container #nav_thumbs div.navthumb a img {
    margin: 0px;
    padding: 0px;
}

#nav_container #nav_thumbs div.navthumb a img.loader {
    margin-top: 16px;
}

#nav_container #nav_thumbs div.navthumb a img.th {
    width: 40px;
    height: 40px;
    border: 2px solid #FFF;
    /*margin: 0px 4px 0px 4px;*/
    filter:alpha(opacity=60);
    -moz-opacity: 0.6;
    opacity: 0.6;
}

#nav_container #nav_thumbs div.navthumb a img.sel {
    width: 40px;
    height: 40px;
    border: 2px solid #FFF;
    /*margin: 0px 4px 0px 4px;*/
    filter:alpha(opacity=100);
    -moz-opacity: 1.0;
    opacity: 1.0;
}

#nav_container #nav_thumbs div.navthumb a:hover img.th,
#nav_container #nav_thumbs div.navthumb a:hover img.sel {
    border: 2px solid #FFF;
    filter:alpha(opacity=100);
    -moz-opacity: 1.0;
    opacity: 1.0;
}


/**** image div definitions ****/

#image_header {
    margin: auto;
    padding: 0px;
    text-align: center;
    width: 100%;
}

#image_header #image_title {
    height: 22px;
    margin: 0px;
    padding: 8px 0px 0px 0px;
    color: #FFF;
    font-size: 18px;
    line-height: 18px;
    font-family: 'Roboto', sans-serif;
    font-weight: normal;
    text-align: center;
}

#image_header #image_title small {
    font-size: 12px;
    color: #999;
}

#image_header #image_title span#ind {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

#image_header #timer {
    display: none;
    margin: 0px;
    padding: 0px;
    height: 16px;
    text-align: center;
}

#image_header #timer span,
#image_header #timer span a {
    color: #FFF;
    font-weight: normal;
}

#image_header #timer span a:hover {
    color: #999;
}

#image_info {
    padding: 12px 0 20px 24px;
    color: #666;
    font-size: 12px;
    line-height: 16px;
    font-family: 'Roboto', sans-serif;
}

#image_info a {
    color: #666;
    font-size: 12px;
    line-height: 16px;
    font-family: 'Roboto', sans-serif;
}

#image_bg {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: -10;
    background-color: #000;
    filter:alpha(opacity=80);
    -moz-opacity: 0.8;
    opacity: 0.8;
}

body > #image_bg {
    position: fixed;
}

/**** alert div definitions ****/

#alert {
    display: none;
    margin-bottom: 4px;
    padding: 2px;
    text-align: left;
    background: url('themes/dark/') 4px 2px no-repeat #F30;
}

#alert img {
    display: inline;
    margin-top: 4px;
    vertical-align: top;
}

#alert span#msg {
    display: block;
    margin: 4px 20px 0px 45px;
}

#alert p {
    margin: 0px;
    padding: 0px;
    color: #FFF;
    font-family: 'Roboto', sans-serif;
    font-size: 11px;
    line-height: 14px;
    font-weight: normal;
}

#alert p small {
    color: #F90;
}

#alert p a#dismiss {
    display: block;
    text-align: right;
    margin: 5px 10px 5px 45px;
    padding: 0px;
    color: #F90;
    font-weight: normal;
}

#alert p a#dismiss:hover {
    color: #FFF;
}


/**** footer container definitions ****/

#msc_foot {
    position: relative;
    float: left;
    width: 570px !important;
    margin: 0px;
    padding: 0px;
    padding-left: 10px;
    text-align: left;
    background: #FFF;
}

#msc_foot span#footer_cont {
    display: block;
    /*width: 580px;*/
    padding: 6px 0px 6px 0px;
    color: #333;
    font-family: 'Roboto', sans-serif;
    font-weight: normal;
    font-size: 9px;
    line-height: 12px;
}

#msc_foot span#footer_cont a,
#msc_foot span#footer_cont a:link,
#msc_foot span#footer_cont a:active,
#msc_foot span#footer_cont a:visited {
    color: #333;
    font-size: 9px;
    line-height: 12px;
    font-weight: bold;
    text-decoration: none;
}

#msc_foot span#footer_cont a:hover {
    color: #666;
}


/**** DEBUGGING ****/

#tooltip {
    position: absolute;
    left: 0px;
    top: 0px;
    display: none;
    padding: 1px;
    color: #FFF;
    font-size: 11px;
    border: 1px solid #666;
    background: #666;
}

/**** DEBUGGING ****/

#debug {
    position: fixed;
    display: none;
    float: left;
    bottom: 0px;
    width: 100%;
    height: 100px;
    overflow: auto;
    margin: 0px 0px 0px 0px;
    padding: 2px;
    padding-left: 10px;
    background: #F30;
    z-index: 100000;
    clear: both;
}

#debug p {
    margin: 0px;
    padding: 2px;
    color: #FFF;
    font-family: 'Roboto', sans-serif;
    font-size: 11px;
    line-height: 14px;
    font-weight: normal;
    text-align: left;
}

#debug_information {
    position: relative;
    float: left;
    margin: 20 auto;
    padding: 20px;
    border: 10px solid #f30;
}