@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document url("http://cursos.itesm.mx/webapps/portal/tab/_1_1/index.jsp") {

table tr td font[size="4"]{
  color: #656565 !important;
  font-family: "Georgia", serif !important; 
  font-size: 1.5em !important;
  letter-spacing: .1em !important;
  font-variant: small-caps !important;
}

table tr td[bgcolor="#CCCCCC"]{
background-color: transparent !important;
border-bottom: 1px solid #ccc !important;
}

a{
text-decoration: none !important;
border-bottom: 1px dotted #4166aa !important;
color: #4166aa !important;
}

td, a, font[size="2"]{
font-family: "Trebuchet MS", Verdana, Sans-Serif !important;
color: #414141;
}

table table table[bgcolor="#336666"]{
display: none;
}

table table table td[bgcolor="#eeeeee"]{
background-color: #f1f1f1 !important;
}

table table[bgcolor="#336666"]{
background-color: #ccc !important;
}

table table[bgcolor="#336666"] table table tr td img{
display: none;
}

/*Sidebar Links*/

table table[bgcolor="#336666"] table table tr td a{
display: block !important;
padding-left: 22px !important;
border-bottom: 1px solid #ccc !important;
margin-bottom: 1px !important;
}

/*sidebar links*/

table table[bgcolor="#336666"] table table tr td a[href="http://cursos.itesm.mx/bin/common/announcement.pl?action=LIST&context=mybb&scope=_all"]{
background-image: url("http://temporadadepatos.net/foros/my-templates/tdepatos/images/image-thread.png");
background-repeat: no-repeat;
}

table table[bgcolor="#336666"] table table tr td a[href="http://cursos.itesm.mx/bin/common/calendar.pl?location=mybb&subroutine=day&filter=showAll"]{
background-image: url("http://www.temporadadepatos.net/foros/my-templates/tdepatos/images/date.png");
background-repeat: no-repeat;
}

table table[bgcolor="#336666"] table table tr td a[href="http://cursos.itesm.mx/bin/common/tasks.pl"]{
background-image: url("http://www.temporadadepatos.net/foros/my-templates/tdepatos/images/pencil.png");
background-repeat: no-repeat;
}

table table[bgcolor="#336666"] table table tr td a[href="http://cursos.itesm.mx/webapps/gradebook/do/student/viewCourses"]{
background-image: url("http://temporadadepatos.net/foros/my-templates/tdepatos/images/image-sticky.png");
background-repeat: no-repeat;
}

table table[bgcolor="#336666"] table table tr td a[href="http://cursos.itesm.mx/webapps/blackboard/execute/myEmailTool"]{
background-image: url("http://www.temporadadepatos.net/foros/my-templates/tdepatos/images/mail-message-new.png");
background-repeat: no-repeat;
}

table table[bgcolor="#336666"] table table tr td a[href="http://cursos.itesm.mx/bin/common/search.pl?action=FORM&context=USERDIR&type=SEARCH&operation=VIEW"]{
background-image: url("http://www.temporadadepatos.net/foros/my-templates/tdepatos/images/user_comment.png");
background-repeat: no-repeat;
}


table table[bgcolor="#336666"] table table tr td a[href="http://cursos.itesm.mx/bin/common/search.pl?action=FORM&context=ADDRESSBOOK&type=SEARCH&operation=VIEW&nav=my_addressbook"]{
background-image: url("http://temporadadepatos.net/tiradero/basura/book_addresses.png");
background-repeat: no-repeat;
}

table table[bgcolor="#336666"] table table tr td a[href="http://cursos.itesm.mx/webapps/blackboard/execute/personalInfo"]{
background-image: url("http://temporadadepatos.net/tiradero/basura/vcard.png");
background-repeat: no-repeat;
background-position: 0 center;
}

/*List items (though no ul or ol anywhere!)*/
li{
list-style: square !important;
margin-left: 25px;
color: #414141;
}

/*Table Headers*/
font[size="2"] b{
font-variant: small-caps !important;
}

/*Table Headers too, but in a different module*/
td[bgcolor="#f0f0f0"], th[bgcolor="#f0f0f0"]{
background-color: transparent !important;
border-bottom: 1px solid #f1f1f1 !important;
padding-top: 10px !important;
}

/*Links inside the Table Headers*/
th[bgcolor="#f0f0f0"] font[size="2"] a{
  padding-left: 20px !important;
  background-image: url(http://temporadadepatos.net/tiradero/basura/book_open.png) !important;
  background-repeat: no-repeat;
}

/*Remove images from the Table Headers so I can use my own*/
th img{
display: none;
}

/*Remove Module Link*/
td[width="50%"] table tr td table tr td[align="right"] a[onclick="return removeModule();"] img{
display: none;
}

td[width="50%"] table tr td table tr td[align="right"] a[onclick="return removeModule();"]{
display: block !important;
width: 16px !important;
height: 16px !important;
background-image: url(http://temporadadepatos.net/tiradero/basura/cross.png) !important;
  background-repeat: no-repeat;
}

/*Minimize*/
td[width="50%"] table tr td table tr td[align="right"] a[href^="update_module.jsp?action=minimize"] img{
display: none;
}

td[width="50%"] table tr td table tr td[align="right"] a[href^="update_module.jsp?action=minimize"]{
display: block !important;
width: 16px !important;
height: 16px !important;
background-image: url(http://temporadadepatos.net/tiradero/basura/application_delete.png) !important;
  background-repeat: no-repeat;
}


/*Maximize*/
td[width="50%"] table tr td table tr td[align="right"] a[href^="update_module.jsp?action=maximize"] img{
display: none;
}

td[width="50%"] table tr td table tr td[align="right"] a[href^="update_module.jsp?action=maximize"]{
display: block !important;
width: 16px !important;
height: 16px !important;
background-image: url(http://temporadadepatos.net/tiradero/basura/application_add.png) !important;
  background-repeat: no-repeat;
}


/*Edit*/
td[width="50%"] table tr td table tr td[align="right"] a[href^="edit_module"] img{
display: none;
}

td[width="50%"] table tr td table tr td[align="right"] a[href^="edit_module"]{
display: block !important;
width: 16px !important;
height: 16px !important;
background-image: url(http://www.temporadadepatos.net/foros/my-templates/tdepatos/images/pencil.png) !important;
  background-repeat: no-repeat;
}

/*Modify Content/Layout*/
a[href="contents.jsp"], a[href="layout.jsp"]{
padding-left: 22px !important;
background-image: url(http://temporadadepatos.net/tiradero/basura/application_form_edit.png) !important;
background-repeat: no-repeat !important;
background-color: transparent !important;
border: 0 !important;
}


a[href="contents.jsp"]{
background-image: url(http://temporadadepatos.net/tiradero/basura/application_form_edit.png) !important;
}

a[href="layout.jsp"]{
background-image: url(http://temporadadepatos.net/tiradero/basura/color_swatch.png) !important;
}



}