/******************************************************************************/
/* General specification*/
/******************************************************************************/
body
{
  font-size: 12px;
  background-color: #f3f3f3;
}
#container
{
}
#container_main
{
  width: 100%;
  margin-left: 0px;
  margin-right: 0px;
  padding-top: 5px;
}
#container_menu
{
  float: right;
  width: 7%;
}

#container_login
{
  float: right;
  width: 20%;
}

#header
{
  display: table;
  width: 100%;
  height: 61px;
  background: none;
}
#header h1
{
  height: 61px;
}
#header h1 a {
  display: block;
  width: 250px;
  height: 61px;
  padding-left: 125px;
  padding-top: 20px;
}
#header1_3
{
  width: 810px;
  height: 61px;
  background: url(../../images/old/bg-header-sw1_3.png) no-repeat white left top;
}
#header2_3
{
  height: 61px;
  background: url(../../images/old/bg-header-sw2_3.png) repeat-x white left top;
}
#header3_3
{
  width: 186px;
  height: 61px;
  background: url(../../images/old/bg-header-sw3_3.png) no-repeat white left top;
}
#header td, #header th
{
  padding: 0px;
}

#welcom
{
  width: 810px;
  height: 125px;
  background: url(../../images/old/welcom.jpg) no-repeat white left top;
}

#content
{
  float: left;
  width: 90%;
}
#content a:hover
{
  color: #3fa1b0;
}
#content input[type="submit"], #content input[type="submit"]
{
  font-size: 12px;
  background-color: #39ada7;
  color: #ffffff;
  font-weight: bold;
}

#image_wrap
{
  /* dimensions */
  width:677px;
  margin:15px 0 15px 40px;
  padding:15px 0;

  /* centered */
  text-align:center;

  /* some "skinning" */
  background-color:#ffffff;
  border:2px solid #fff;
  outline:1px solid #ddd;
  -moz-ouline-radius:4px;
}

a.browse {
    background: url(../../images/old/previous.png) no-repeat scroll 0 0 transparent;
    cursor: pointer;
    display: block;
    float: left;
    font-size: 1px;
    height: 30px;
    margin: 40px 10px;
    width: 30px;
}

.filter_button
{
  font-size: 12px;
  background-color: #39ada7;
  color: #ffffff;
  font-weight: bold;
}

.extra_button
{
  font-size: 12px;
  background-color: #39ada7;
  color: #ffffff;
  font-weight: bold;
}

#menu
{
  float: left;
  width: 80px;
  padding: 0px;
  margin: 0px;
  background-color: #ffffff;
  border:1px solid #dadada;
}
td, th
{
  padding: 5px;
}
th
{
  font-weight: bold;
}
#footer
{
  clear: both;
  padding: 25px;
  margin-top: 0;
  height: auto;
  font-family: "Lucida Grande",Lucida,arial,sans-serif;
  font-size: 10px;
  float: right;
  color: #666666;
  background: none;
}
#footer img
{
  vertical-align: middle;
}
#sf_admin_container fieldset h2
{
  font-size: 110%;
  font-family: "Lucida Grande",Lucida,arial,sans-serif;
  font-style: italic;
}
.sf_admin_form_field_logo div div
{
  margin-left: 120px;
}
#sf_admin_container .sf_admin_form_field_logo div div label
{
  display: inline;
  float: none;
}
#sf_admin_container ul li.sf_admin_action_disable a
{
  background: url(../../images/icons/tools/disable.png) no-repeat 0 0;
}
#sf_admin_container ul li.sf_admin_list a
{
  background: none;
  padding-left: 0px;
  list-style-image: none;
  list-style-position: inside;
  list-style-type: disc;
}
ul li
{
  list-style: none outside none;
}
/******************************************************************************/
/* Options bar specification */
/******************************************************************************/
.optionsbar
{
}
table.optionsbar
{
  float: right;
  border-collapse: collapse;
  margin: 0;
  margin-top: 6px;
  padding: 0;
}
table.optionsbar td
{
  color: #666666;
  height: 48px;
  width: 48px;
  padding: 1px 1px 1px 4px;
  text-align: center;
}
table.optionsbar a
{
  border: 1px solid transparent;
  cursor: pointer;
  display: block;
  font-size: 10px;
  padding: 5px 5px;
  white-space: nowrap;
  text-decoration: none;
}
table.optionsbar a:hover
{
  border-color: #eeeeee #cccccc #eeeeee #cccccc;
  border-left: 1px solid #eeeeee;
  border-style: solid;
  border-width: 1px;
  color: #0b55c4;
  text-decoration: none;
  background-color: #56adb4;
}
table.optionsbar span
{
  display: block;
  height: 32px;
  margin: 0 auto;
  width: 32px;
}
/* Title */
.title
{
  padding: 2px 0px;
}
#content .title h1
{
  padding: 0px 15px 0px 0px;
  font-size: 120%;
  font-weight: bold;
  text-transform: capitalize;
  line-height: 48px;
  color: #ffffff;
  white-space: nowrap;
}
#content .title h1 a
{
  color: #ffffff;
  text-decoration: none;
  font-style: normal;
  text-transform: capitalize;
  line-height: 32px;
}
table.bg_title
{
  border: 0px;
  padding: 0px;
  margin: 0px;
  width: 100%;
}
.bg_title1
{
  background: url(../../images/old/bg-listheader1_5.png) transparent no-repeat right;
  height: 61px;
  width: 17px;
  padding: 0px;
}
.bg_title2
{
  background: url(../../images/old/bg-listheader2_5.png) transparent repeat-x center;
  height: 61px;
  padding: 0px;
}
.bg_title3
{
  background: url(../../images/old/bg-listheader3_5.png) transparent no-repeat right;
  height: 61px;
  width: 40px;
  padding: 0px;
}
.bg_title4
{
  background: url(../../images/old/bg-listheader4_5.png) transparent repeat-x center;
  height: 61px;
  width: 10%;
  padding: 0px;
}
.bg_title5
{
  background: url(../../images/old/bg-listheader5_5.png) transparent no-repeat left;
  height: 61px;
  width: 18px;
  padding: 0px;
}

.option_default_rec
{
  background: url(../../images/icons/tools/default.png) transparent no-repeat center;
  width: 16px;
  height: 16px;
}
.option_edit_rec
{
  background: url(../../images/icons/tools/edit.png) transparent no-repeat center;
  width: 16px;
  height: 16px;
}
.option_add_rec
{
  background: url(../../images/icons/tools/add.png) transparent no-repeat center;
  width: 16px;
  height: 16px;
}



/******************************************************************************/
/* Module specifications */
/******************************************************************************/
ul.menubar
{
  border-collapse: collapse;
  margin: 0px;
  padding: 2px 1px;
  float: inherit;
}
ul.menubar li
{
  color: #666666;
  padding: 1px 4px;
  text-align: center;
  display: block;
  float: inherit;
}
ul.menubar a
{
  border: 1px solid transparent;
  cursor: pointer;
  display: block;
  float: left;
  font-size: 10px;
  padding: 1px 0px;
  white-space: nowrap;
  text-decoration: none;
  width: 68px;
}
ul.menubar a:hover
{
  border-color: #eeeeee #cccccc #eeeeee #cccccc;
  border-left: 1px solid #eeeeee;
  border-style: solid;
  border-width: 1px;
  color: #0b55c4;
  text-decoration: none;
  background-color: #dddddd;
}
ul.menubar span
{
  display: block;
  float: none;
  height: 48px;
  margin: 0 auto;
  width: 48px;
}

/******************************************************************************/
/* Submodules specifications */
/******************************************************************************/
.desk
{
  display: table;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
.desktop
{
  width: 100%;
}
.button_online
{
  width: 20px;
  height: 20px;
  padding: 0px;
  margin: 0px;
  border-collapse: collapse;
  margin-left: auto;
  margin-right: auto;
  padding: 2px 1px;
  border: 1px solid #fff;
  border-bottom: 2px solid #aaa;
  border-right: 2px solid #aaa;
  background-color: #F3F3F3;
  text-align: right;
  -moz-border-radius: 4px;
}
ul.button_online li
{
  color: #666666;
  padding: 1px 0px;
  text-align: center;
}
ul.button_online a
{
  border: 1px solid transparent;
  cursor: pointer;
  display: block;
  float: left;
  font-size: 10px;
  padding: 1px;
  white-space: nowrap;
  text-decoration: none;
  width: 16px;
}
ul.button_online a:hover
{
  border-color: #eeeeee #cccccc #eeeeee #cccccc;
  border-left: 1px solid #eeeeee;
  border-style: solid;
  border-width: 1px;
  color: #0b55c4;
  text-decoration: none;
  background-color: #ffffff;
}
ul.button_online span
{
  display: block;
  float: none;
  height: 16px;
  margin: 0 auto;
  width: 16px;
}
.submenu
{
  float: left;
  width: 64px;
  padding: 0px;
  margin: 0px;
}
div.submenu .content
{
  margin-right: 10px;
}
ul.submenu
{
  border-collapse: collapse;
  margin: 0px;
  padding: 2px 1px;
  float: left;
  border: 1px solid #fff;
  border-bottom: 2px solid #aaa;
  border-right: 2px solid #aaa;
  background-color: #e6e6e6;
  text-align: right;
  -moz-border-radius: 8px;
}
ul.submenu li
{
  color: #666666;
  padding: 1px 0px;
  text-align: center;
}
ul.submenu a
{
  border: 1px solid transparent;
  cursor: pointer;
  display: block;
  float: left;
  font-size: 10px;
  padding: 1px;
  white-space: nowrap;
  text-decoration: none;
  width: 60px;
}
ul.submenu a:hover
{
  border-color: #eeeeee #cccccc #eeeeee #cccccc;
  border-left: 1px solid #eeeeee;
  border-style: solid;
  border-width: 1px;
  color: #0b55c4;
  text-decoration: none;
  background-color: #ffffff;
}
ul.submenu span
{
  display: block;
  float: none;
  height: 48px;
  margin: 0 auto;
  width: 48px;
}

/******************************************************************************/
/* Filter specifications */
/******************************************************************************/
.deskfilter
{
  float: right;
  width: 300px;
  margin: 2px;
  background-color:  #f3f3f3;
  border:1px solid #aaaaaa;
}
.deskfilter .filter table
{
  width: 300px;
}
.deskfilter .filter td
{
  width: 200px;
  font-size: 9px;
  padding: 2px;
}
.deskfilter .filter th
{
  width: 100px;
  font-weight: normal;
  font-size: 10px;
  padding: 2px;
}
.deskfilter .filter select
{
  width: 180px;
  font-size: 10px;
}
.deskfilter .filter select.tq_date
{
  width: 50px;
  font-size: 10px;
}

.deskfilter .filter select.tq_hour_minute
{
  width: 70px;
  font-size: 10px;
}

.deskfilter .filter .double_list div
{
  margin-top: 0px;
}
.deskfilter .filter input[type='text']
{
  width: 180px;
  font-size: 10px;
}

/******************************************************************************/
/* Data especifications */
/******************************************************************************/
.data table
{
  text-align: center;
  border: #CCCCCC;
}
.data thead th
{
  background: url(../../images/old/ui-bg_highlight-soft_75_cccccc_1x100.png) repeat-x scroll 50% 50% #CCCCCC;
  border: 1px solid #aaaaaa;
  color: #222222;
  font-weight: bold;
  padding: 7px;
  font-size: 12px;
  white-space: nowrap;
}
.data thead th img
{
  vertical-align: middle;
}
table.data caption
{
  color: #666666;
  background: url(../../images/old/ui-bg_highlight-soft_75_94bcea_1x100.png) repeat-x scroll 50% 50% #CCCCCC;
  border: 1px solid #e9e9e9;
  font-size: 12px;
  padding: 7px;
  margin-bottom: 2px;
  font-weight: bold;
}
.odd tr, .odd td
{
  background-color: #f3f3f3;
  border-bottom: 1px solid #cccccc;
  border-right: 1px solid #cccccc;
  color: #1a1a1a;
  font-family: "Segoe UI",Candara;
  font-size: 12px;
  height: 19px;
  line-height: 1.4;
}
.even tr, .even td
{
  background-color: #cccccc;
  border-bottom: 1px solid #cccccc;
  border-right: 1px solid #cccccc;
  color: #1a1a1a;
  font-family: "Segoe UI",Candara;
  font-size: 12px;
  height: 19px;
  line-height: 1.4;
}
.data_center, .data_input, .data_id, .data_type, .data_code, .data_version, .data_revision, .data_mark
{
  text-align: center;
}
.data_state, .data_code
{
  white-space: nowrap;
}
/******************************************************************************/
/* Form especifications */
/******************************************************************************/
div.tq_form
{
  width: 87%;
  margin-left: auto;
  margin-right: auto;
}
div.tq_form_table
{
  width: 600px;
  margin-left: auto;
  margin-right: auto;
}

div.ac_results
{
  border: 1px solid groove;
  padding: 2px 2px;
  height: 20px;
  weight: 100px;
}

li.ac_even
{
  font-size:11px;
  padding: 2px 2px;
  height: 20px;
  background-color: white;
}

li.ac_over
{
  font-size:11px;
  font-color: blue;
  padding: 2px 2px;
  background-color: aliceblue;
}

li.ac_odd
{
  font-size:11px;
  padding: 2px 2px;
  height: 20px;
  background-color: white;
}

li.ac_over
{
  font-size:11px;
  font-color: blue;
  background-color: aliceblue;
}

table.tq_form_table
{
  width: 100%;
}
table.tq_form_table caption, table.tq_info_table caption.tq_form
{
  color: #666666;
  background: url(../../images/old/ui-bg_highlight-soft_75_94bcea_1x100.png) repeat-x scroll 50% 50% #CCCCCC;
  border: 1px solid #e9e9e9;
  font-size: 12px;
  padding: 7px;
  font-weight: bold;
}
table.tq_form_table th
{
  background-color: #f6f6f6;
  border-bottom: 1px solid #e9e9e9;
  border-right: 1px solid #e9e9e9;
  color: #666666;
  text-align: right;
  width: 30%;
  font-size: 12px;
  padding: 7px;
  height: auto;
}

table.tq_form_table th.th_title
{
  background-color: #f6f6f6;
  border-bottom:  solid #e9e9e9;
  border-right: solid #e9e9e9;
  color: #666666;
  text-align: center;
  width: 10%;
  font-size: 12px;
  padding: 2px;
  height: 10%;
}

.tq_form_table table.mceLayout td
{
  padding: 0;
}
table.tq_form_table td
{
  font-size: 11px;
  padding: 7px;
}
table.tq_form_table select
{
  font-size:11px;
}

table.tq_form_table select[multiple="multiple"]
{
  font-size:11px;
}

table.tq_form_table select.tq_date
{
  font-size:11px;
  width: 50px;
}

table.tq_form_table select.tq_hour_minute
{
  font-size:11px;
  width: 80px;
}

table.tq_form_table input
{
  font-size:11px;
  padding: 1px 2px;
}
table.tq_form_table input[type=text]
{
  font-size:11px;
  padding: 1px 2px;
  width: 200px;
}
table.tq_form_table input.tq_input_shortnumber
{
  width: 50px;
  text-align: center;
}
table.tq_form_table input.tq_input_longtext
{
  width: 100%;
}
table.tq_form_table textarea
{
  font-size:11px;
  padding: 2px 2px;
  width: 450px;
  height: 40px;
}

/*table.tq_form_table input.ac_input
{
  font-size:20px;
  padding: 2px 2px;
  width: 450px;
  height: 40px;
  background-color: blue;
}*/



input.formula
{
  width: 450px;
  height: 20px;
}
.notice
{
  background-color: #ffffcc;
  border-bottom: 1px solid #dddddd;
  border-top: 1px solid #dddddd;
  margin: 1px 1px 5px 1px;
  padding: 4px;
}
.notice_icon
{
  background: url(../../images/old/tick.png) no-repeat scroll 8px 4px #ffffcc;
  display: inline-block;
  width: 30px;
  height: 18px;
}
span.helper
{
  background: url(../../images/old/add.png) transparent no-repeat left;
  list-style: none outside none;
  padding: 2px;
  padding-left: 20px;
}
.error
{
  background-color: #ff3333;
  border-bottom: 1px solid #dddddd;
  border-top: 1px solid #dddddd;
  color: #ffffff;
  margin: 4px 10px;
  padding: 4px;
}
.error_icon
{
  background: url(../../images/old/error.png) no-repeat scroll 8px 4px #ff3333;
  display: inline-block;
  width: 30px;
  height: 18px;
}
/******************************************************************************/
/* Info especifications */
/******************************************************************************/
div.tq_info_show
{
  float: right;
  width: 87%;
  margin-left: auto;
  margin-right: auto;
}
div.tq_info_show_left
{
  float: left;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}
table.tq_info_table
{
  width: 100%;
}
table.tq_info_table tbody.tq_info_body
{
  display: none;
}
.tq_info_right
{
  float: right;
  width: 45%;
  margin-left: auto;
  margin-top: auto;
  margin-right: 0;
}
.tq_info_right_short
{
  position: absolute;
  width: 25%;
  margin-top: 0;
  margin-right: 0;
}
.tq_info_left
{
  float: left;
  width: 45%;
  margin-left: 0;
  margin-right: auto;
  margin-top: auto;
}
table.tq_info_basic, table.tq_info_advanced, tq_info_progress
{}
table.tq_info_table th
{
  background-color: #f6f6f6;
  border-bottom: 1px solid #e9e9e9;
  border-right: 1px solid #e9e9e9;
  color: #666666;
  text-align: right;
  width: 30%;
  font-size: 12px;
  padding: 7px;
  height: auto;
}
table.tq_info_basic_short
{
  text-align: left;
}
table.tq_info_table td
{
  font-size: 11px;
  padding: 5px;
}
table.tq_info_table caption
{
  color: #666666;
  background: url(../../images/old/ui-bg_highlight-soft_75_cccccc_1x100.png) repeat-x scroll 50% 50% #CCCCCC;
  border: 1px solid #e9e9e9;
  font-size: 12px;
  padding: 7px;
  font-weight: bold;
  cursor: pointer;
}
table.tq_info_table thead th
{
  background: url(../../images/old/ui-bg_highlight-soft_75_cccccc_1x100.png) repeat-x scroll 50% 50% #CCCCCC;
  border: 1px solid #aaaaaa;
  color: #222222;
  font-weight: bold;
  padding: 7px;
  font-size: 12px;
  white-space: nowrap;
}
table.tq_info_progress th
{
  background-color: #f6f6f6;
  border-bottom: 1px solid #cccccc;
  border-right: 1px solid #cccccc;
  color: #666666;
  text-align: left;
  width: auto;
  font-size: 11px;
  padding: 5px;
  height: auto;
}
.fold_in
{
  float: left;
  display: inline;
  width: 16px;
  height: 16px;
  margin-right: 2px;
  background: url(../lib/jqueryui/images/ui-icons_205f6a_256x240.png) no-repeat;
}
/******************************************************************************/
/* Page especifications */
/******************************************************************************/
.pagination_desc
{
  margin-left: 15px;
  margin-top: 10px;
  font-style: italic;
  color: #828f95;
}
.pagination_desc strong
{
  color: #176f94;
}
.pagination
{
  margin-top: 10px;
  float: right;
  margin-right: 10px;
  color: #176f94;
  font-size: 110%;
  font-weight: bold;
}
.pagination a
{
  margin: 0 1px;
  text-decoration: none;
  color: #828f95;
  font-size: 75%;
  vertical-align: 1px;
  font-weight: normal;
}
.pagination a:hover
{
  text-decoration: underline;
}
.pagination img
{
  vertical-align: -2px;
}
/******************************************************************************/
/* document workspace especifications */
/******************************************************************************/
.menuspace
{
  float: left;
  width: 10%;
  margin: 0;
  padding: 0;

  border: 1px solid #fff;
  border-bottom: 2px solid #aaa;
  border-right: 2px solid #aaa;
  background-color: #e6e6e6;
  text-align: right;
  -moz-border-radius: 8px;
}
.menuspace .active
{
  background-color: #94bcea;
}
.menuspace a:hover
{
  color: #3fa1b0;
}
.workspace_unique
{
  width: 75%;
  margin: 2px;
  margin-left: auto;
  margin-right: auto;
}
.workspace_unique_left
{
  width: 100%;
  margin: 2px;
  margin-left: 2px;
}
.workspace_form
{
  width: 65%;
  margin-top: auto;
  margin-left: auto;
  margin-right: auto;
  float: left;
}
.workspace
{
  float: right;
  width: 60%;
  margin: 2px;
}
.infospace
{
  float: right;
  width: 25%;
  margin: 2px;
  font-size: 10px;
  border: 1px solid #DADADA;
}
.tq_info_build
{
  background-color: #f3f3f3;
}
.tq_info_build table.tq_info_table th, .tq_info_content table.tq_info_table td
{
  font-size: 10px;
}
.tq_info_build ul li, .tq_info_table ul li
{
  padding-left: 0px;
  list-style-image: none;
  list-style-position: inside;
  list-style-type: disc;
}
#user_info .profile
{
  color: #008282;
  font-weight: bold;
}
#user_info .login
{
  color: #00aaaa;
}
.tq_info_body ul li.signed
{
  background: url(../../images/icons/tools/tick_2.png) transparent no-repeat left;
  list-style: none outside none;
  padding: 2px;
  padding-left: 20px;
}
.tq_info_body ul li.no-signed
{
  background: url(../../images/icons/tools/error.png) transparent no-repeat left;
  list-style: none outside none;
  padding: 2px;
  padding-left: 20px;
}

.tq_info_body ul li.add
{
  background: url(../../images/icons/tools/add.png) transparent no-repeat left;
  list-style: none outside none;
  padding: 2px;
  padding-left: 20px;
}

.user_logout
{
}
.sfTContainer input[type='submit']
{
  background: url(../../images/old/bg_msg-green.png) repeat-x #ffba00 left top;
}
.versioning
{
  margin-right: 20px;
}
span.selected
{
  color: #3fa1b0;
  font-size: 110%;
  font-weight: bold;
}
span.signed
{
  background: url(../../images/old/tick.png) transparent no-repeat left;
  list-style: none outside none;
  padding: 2px;
  padding-left: 20px;
}
.selected tr
{
  background-color: #2EFE2E;
  border-bottom: 1px solid #cccccc;
  border-right: 1px solid #cccccc;
  color: #1a1a1a;
  font-family: "Segoe UI",Candara;
  font-size: 15px;
  height: 19px;
  line-height: 1.4;
}
.task_rigth
{
  float: right;
  width: 60%;
  margin: 2px;
  border: 1px solid #DADADA;
}
.task_all
{
  float: right;
  width: 80%;
  margin: 2px;
  border: 1px solid #DADADA;
}
.task_left
{
  float: right;
  width: 25%;
  margin: 2px;
  font-size: 10px;
  border: 1px solid #DADADA;
}
.task_input
{
  height: 16px;
  width: 100%;
}

.search
{
  background-color: #F3F3F3;
}
#search_text
{
  font-size: 14px;
  height: 24px;
  width: 100%;
}
#tooltip {
	position: absolute;
	z-index: 3000;
	border: 1px solid #111;
	background-color: #eee;
	padding: 5px;
	opacity: 0.95;
}
#tooltip h3, #tooltip div { margin: 0; }

.pdf_download
{
  position: absolute;
  top: 0;
  right: 0;
  margin-right: 2px;
  background: url(../../images/icons/tools/export.png) no-repeat;
}

div.tq_info_show_matrix
{
  float: right;
  width: 89%;
  margin-left: auto;
  margin-right: auto;
}

#loading
{
  position: absolute;
  background-color: #efefef;
  opacity: 0.8;
  filter: alpha(opacity =50);
  margin: 0;
  padding: 1px 0;
  position: absolute;
  white-space: nowrap;
  z-index: 10000;
  width: 100%;
  height: 100%;
}

#img_loading
{
  position: absolute;
  left: 50%;
  top: 50%;
  width: 32px;
  height: 32px;
}

.hidden
{
  display: none;
}

#lean_overlay
{
  position: fixed;
  z-index: 10000;
  top: 0px;
  left: 0px;
  height:100%;
  width:100%;
  background: #000;
  display: none;
}

/** This class is used to format text as a link */
.clickable
{
  cursor: pointer;
  text-decoration: underline;
}

.clickable:hover
{
  color: #3FA1B0;
}

/* Styles for fancyBox Plugin
-------------------------------------------------------------------------------------- */

.fancybox-wrap,
.fancybox-skin,
.fancybox-outer,
.fancybox-inner,
.fancybox-image,
.fancybox-wrap iframe,
.fancybox-wrap object,
.fancybox-nav,
.fancybox-nav span,
.fancybox-tmp
{
  padding: 0;
  margin: 0;
  border: 0;
  outline: none;
  vertical-align: top;
}

.fancybox-wrap {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 8020;
}

.fancybox-skin {
  position: relative;
  background: #f9f9f9;
  border: 2px solid #006C80;
  color: #444;
  text-shadow: none;
  /*-webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;*/
}

.fancybox-opened {
  z-index: 8030;
}

.fancybox-opened .fancybox-skin {
  -webkit-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
     -moz-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
          box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.fancybox-outer, .fancybox-inner {
  position: relative;
}

.fancybox-inner {
  overflow: hidden;
}

.fancybox-type-iframe .fancybox-inner {
  -webkit-overflow-scrolling: touch;
}

.fancybox-error {
  color: #444;
  font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
  margin: 0;
  padding: 15px;
  white-space: nowrap;
}

.fancybox-image, .fancybox-iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.fancybox-image {
  max-width: 100%;
  max-height: 100%;
}

#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
  background-image: url(../lib/fancybox/fancybox_sprite.png);
}

#fancybox-loading {
  position: fixed;
  top: 50%;
  left: 50%;
  margin-top: -22px;
  margin-left: -22px;
  background-position: 0 -108px;
  opacity: 0.8;
  cursor: pointer;
  z-index: 8060;

  -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

#fancybox-loading div {
  width: 44px;
  height: 44px;
  background: url(../lib/fancybox/fancybox_loading.gif) center center no-repeat;
}

.fancybox-close {
  background: url(../../images/icons/tools/fancybox_close.png) no-repeat top center;
  position: absolute;
  top: 11px;
  right: 9px;
  width: 16px;
  height: 16px;
  cursor: pointer;
  z-index: 8040;
}

.fancybox-close:hover {
  background: url(../../images/icons/tools/fancybox_close.png) no-repeat bottom center;
}

.fancybox-nav {
  position: absolute;
  top: 0;
  width: 40%;
  height: 100%;
  cursor: pointer;
  text-decoration: none;
  background: transparent url(../lib/fancybox/blank.gif); /* helps IE */
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  z-index: 8040;
}

.fancybox-prev {
  left: 0;
}

.fancybox-next {
  right: 0;
}

.fancybox-nav span {
  position: absolute;
  top: 50%;
  width: 36px;
  height: 34px;
  margin-top: -18px;
  cursor: pointer;
  z-index: 8040;
  visibility: hidden;
}

.fancybox-prev span {
  left: 10px;
  background-position: 0 -36px;
}

.fancybox-next span {
  right: 10px;
  background-position: 0 -72px;
}

.fancybox-nav:hover span {
  visibility: visible;
}

.fancybox-tmp {
  position: absolute;
  top: -99999px;
  left: -99999px;
  visibility: hidden;
  max-width: 99999px;
  max-height: 99999px;
  overflow: visible !important;
}

/* Overlay helper */

.fancybox-lock {
  overflow: hidden;
}

.fancybox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  display: none;
  z-index: 8010;
  background: url(../lib/fancybox/fancybox_overlay.png);
}

.fancybox-overlay-fixed {
  position: fixed;
  bottom: 0;
  right: 0;
}

.fancybox-lock .fancybox-overlay {
  overflow: auto;
  overflow-y: auto;
}

/* Title helper */

.fancybox-title {
  visibility: hidden;
  font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
  position: relative;
  text-shadow: none;
  z-index: 8050;
}

.fancybox-opened .fancybox-title {
  visibility: visible;
}

.fancybox-title-float-wrap {
  position: absolute;
  bottom: 0;
  right: 50%;
  margin-bottom: -35px;
  z-index: 8050;
  text-align: center;
}

.fancybox-title-float-wrap .child {
  display: inline-block;
  margin-right: -100%;
  padding: 2px 20px;
  background: transparent; /* Fallback for web browsers that doesn't support RGBa */
  background: rgba(0, 0, 0, 0.8);
  -webkit-border-radius: 15px;
     -moz-border-radius: 15px;
          border-radius: 15px;
  text-shadow: 0 1px 2px #222;
  color: #FFF;
  font-weight: bold;
  line-height: 24px;
  white-space: nowrap;
}

.fancybox-title-outside-wrap {
  position: relative;
  margin-top: 10px;
  color: #fff;
}

.fancybox-title-inside-wrap {
  padding-top: 10px;
}

.fancybox-title-over-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  color: #fff;
  padding: 10px;
  background: #000;
  background: rgba(0, 0, 0, .8);
}