html {
    height: 100%;
}

body {
    color: #fff;
    background-color: #9c2f2f;
    font-family: sans-serif;
    font-size: 2em;
    height: 100%;
}
/*banner*/

.banner{
   background:#fff;
       color:#9c2f2f;
}
.banner img {
    vertical-align: middle;
    left: 50%;
    position: relative;
    transform: translate(-50%,0);
}
.header-ul-menu {
    list-style: none;
    color: #fff;
    background: #9c2f2f;
    margin-top: -60px;
}
.header-ul-menu .header-menu {
    font-size: 2em;
}

/*fine banner*/

.navbar::after,
.navbar-collapse::after,
.container::after {
    clear: none !important
}

ul,
p {
    background-color: rgba(255,255,255, 0);
}

a,
a:hover,
a:focus,
.entry-content a,
.entry-content a:hover,
.entry-content a:focus {
    color: #fff;
    text-decoration: none;
}


/* ci sono due selettori diversi perche' quando genera da markdown e da restructuredtext fa due output un po'
 * diversi */
#content .entry-content > h2,
#content .entry-content > .section:first-child>h2
{
    background-color: white;
   /* padding: 1em 0;*/
    color: black;
    margin-bottom: 1em;
    left: 0;
    font-size: 200%;
    text-align: center;
  /*  position: relative;
    width: 100vw;
    transform: translate(-8%,0);*/
}

h4 {
    font-size: 25px !important;
}

a.toc-backref,
h1,
h2,
h3,
h4,
strong,
tt {
     background: #fff;
    padding: 6px 10px;
    font-weight: 600;
    color: #9c2f2f;
    border-bottom; 0px;
}

.talk-resources h4 {
    background: none;
    color: white;
}

a.toc-backref,
h1,
h2,
h3,
h4,
tt {
     display: inline-block;      
}
a.toc-backref:hover {
    color: rgba(0,0,0,1);
}

tt.literal {
    font-size: 80%;
}
.navbar-brand {
    display: none;
}
.navbar {
    background-color: #000;
}

.navbar .navbar-brand,
.navbar .navbar-nav > li > a {
    color: #fff;
}

.navbar .navbar-nav > li > a {
    transition: background-color .3s;
    background-color: #000;
}

.navbar .navbar-nav > .active > a,
.navbar .navbar-nav > .active > a:hover,
.navbar .navbar-nav > .active > a:focus {
    color: #333;
    background-color: white;
}

.navbar .navbar-nav > li > a:hover,
.navbar .navbar-nav > li > a:focus,
.navbar .navbar-brand:hover,
.navbar .navbar-brand:focus {
    color: white;
    background-color: #333;
}

.navbar-brand {
    font-size: 21px;
}

.navbar-right li form {
    line-height: 21px;
    padding-top: 10px;
    padding-bottom: 10px;
}

#tipue_search_input {
    width: 2em !important;
    transition: all 0.5s;
}

#tipue_search_input:focus {
    width: 10em !important;
}

/* HOME {{{ */

.body-index blockquote {    
    font-size: 21px;
    margin-left: auto;
    margin-right: auto;
}

.body-index h3 {
    text-align: center;
    font-size: 24px;
}

/* END HOME }}} */

{
    position:relative;
    width:100%;
        
}
/* TALK {{{ */

.talk-grid {
    table-layout: auto;
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

.talk-grid > thead th:first-child {
    max-width: 5em;
}

.talk-grid > thead th {
    text-align: center;
}

.talk-grid tr {
    height: 1.5em;
}


.rooms-4 .talk {
    width: 25%;
}

.rooms-3 .talk {
    width: 33%;
}

.rooms-2 .talk {
    width: 50%;
}

.rooms-1 .talk {
    width: 100%;
}

td.talk {
    border: 1px solid #444;
    padding: 4px;
}

td.talk > a {
    text-decoration: none;
}

.talk-grid tr {
    line-height: 1em;
}

.talk-grid tr:hover td:first-child {
    background-color: rgb(152, 14, 14);
    background-color: rgba(152, 14, 14, 0.79);
}

.talk-grid tr:hover td {
    background-color: rgb(60, 22, 22)
}

.talk-title a, .talk-title a:hover, .talk-title a:focus {
    color: #9c2f2f;
    border-bottom: none;
}
.talk-description strong {
    background: inherit;
    color: inherit;
}

/* END TALK }}} */
/*media query*/
@media all and (min-width: 770px) {
 .navbar, .navbar .navbar-brand,
.navbar .navbar-nav > li > a {
    background-color: #9c2f2f;
}
}
