/*Correctly place and size the ntnu-logo*/
#polytext-logo
{
    float: right;

    width: 20%;
    margin-top: 1em;
}

#polytext-logo img
{
	width: 300px;		
}

/* Style the content boxes as bootstrap overrides the default styling or something*/
#toc, .toc
{
    display: table;

    padding: 7px;
    padding-left: 20px;

    border: 1px solid #aaa;
    background-color: #f9f9f9;
}

#toc h2
{
    font-size: 100%;
    font-weight: bold;

    display: inline;

    padding: 0;
}

/* Edit the background for the special pages */
.specialPage
{
/*    background-color: rgba(238, 125, 17, .0);
    box-shadow: 0 0 10px gray;*/
}

/*Styling thumbnails*/

div.thumb
{
    width: auto;
    margin: 10px;
    padding: 3px !important;
    /*margin-bottom: .5em;
        border-style: solid;
        border-color: white;*/

    border: 1px solid #ccc;
    background-color: #f9f9f9;
}

div.thumbinner
{
    /*border: 1px solid #ccc;
        padding: 3px !important;
        background-color: #f9f9f9;*/
    font-size: 94%;

    overflow: hidden;

    text-align: center;
}

html .thumbimage
{
    margin-right: auto;
    margin-left: auto;

    border: 1px solid #ccc;
}

html .thumbcaption
{
    font-size: 94%;
    line-height: 1.4em;

    padding: 3px !important;

    text-align: left;

    border: none;
}

.image
{
    margin: 10px;
}

div.thumbinner > .image
{
    margin: 0;
}


/*Portal of languages special page styling*/
.portalOfLang tr > th {
  padding-right: 90px;
}
.portalOfLang tr > td {
  padding-right: 115px;
}
.portalOfLang > p {
  font-size: 16px;
}
.portalOfLangLang tr > th, td {
  padding-right: 15px;
}
.portalOfLangLang > p {
  font-size: 16px;
}

.portalOfLangLang table,
.portalOfLang table {
	background-color: rgba(0,0,0,0);
}

/*Styling of all pages having phrase examples*/
.tc_phr_tx {
  margin-top: 7px;
  margin-bottom: 7px;
  margin-left: 5px;
}
.tc_phr_tr {
  margin-bottom: 10px;
  margin-left: 5px;
}
.tc_phr {
  border: 1px dotted orange;
  padding: 15px, 15px, 15px, 15px;
}
.tc_phr tbody {
  border-right: 1px dotted black;
  padding-left: 5px;
  padding-right: 5px;
}
#mw-content-text > i > p {
  margin-top: 10px;
}
.tc_t {
  display: inline-table;
  margin-left: 5px;
  margin-right: 5px;
  margin-bottom: 5px;
}
.tc_gt {
  color: blue;
}

.tc_gt:before {
}

.tc_gt.first:before {
	content: "";
}

.tc_pos {
  color: green;
}

/* Add dots between gloss-tags */
.tc_c > .tc_gt:before {
	content: "";
}

.tc_c > .tc_gt ~ .tc_gt:before {
	content: ".";
}

/*Center mw-headlines*/
.mw-headline {
	margin-left: auto;
	margin-right: auto;
	display: block;
	/*text-align: center;*/
}

/* Overwrite bootstrap blue shrink of main content */
@media (min-width: 1200px) {
  .container-fluid {
    width: 90% !important;
  }
}

/*Fix up styling*/
.nav > a {
	padding-left: 10px;
}

.nav > li > a {
	padding-left: 35px;
}

.nav > li,
.nav > a {
	width: 100%;
}

.nav > li
{
	
}

/*Override bootstrap blue*/
table {
	background-color: rgba(0,0,0,0);
}

body.mw-special-Userlogin #firstHeading, body.page-Special_UserLogin #firstHeading {
  display: none;
}

/* MY TEXTS TABLE */

.texts_table {
  width: 100%;
  border-spacing: 10px;
  font-family: Arial, Helvetica, sans-serif;
  color: #000;
  box-sizing: border-box;
}

.texts_table tr:first-child {
  border-bottom: 1px solid #788090;
}

.texts_table th, .texts_table td {
  text-align: left;
}

.texts_table th {
  font-size: 20px;
  font-style: normal;
  font-weight: normal;
  padding-left: 10px;
  padding-right: 10px;
}

.texts_table .mw_text_name {
  max-width: 600px;
}

.texts_table tr:nth-child(2n) td{
  background-color: #f2f2ef;
}

.texts_table tr:nth-child(2n+1) td{
  background-color: rgba(255, 192, 13, 0.07);
}

.texts_table tr {
  height: 40px;
  font-size: 12px;
}

.texts_table td.filler {
  width: 40px;
  border-bottom: 0 !important;
  background-color: transparent !important;
  padding: 0;
}

.texts_table td {
  border-bottom: 1px solid #788090;
  padding-left: 25px;
  padding-right: 25px;
}

.texts_table tr:hover {
  cursor: pointer;
  color: #ffc00d;
 /* -moz-box-shadow: 0px 2px 2px black;
 -webkit-box-shadow: 0px 2px 2px black;
  box-shadow: 0px 2px 2px black;*/
  z-index: 5;
}

.texts_table tr:hover {
/*
  border-bottom: 3px solid #ffc00d;
  text-shadow: 0 0 1px #000;
*/
}

.texts_table tr:hover th{
  background-color: transparent;
  color: #000;
  /*border-bottom: 1px solid #788090 !important;
  text-shadow: none;*/
}

.texts_table td.filler span {
  position: relative;
  display: none;
  font-size: 14px;
}

body.page-Special_TypeCraft_MyTexts h1.firstHeading {
  display: none;
}
