/*
div.content {
    border: #48f solid 3px;
    clear: left;
    padding: 1em;

    -moz-border-radius: 14px;
    -webkit-border-radius: 14px;
    -khtml-border-radius: 14px;
    border-radius: 14px;
}

div.content.inactive {
    display: none;
}

ol#toc {
    height: 2em;
    list-style: none;
    margin: 0;
    padding: 0;
}

ol#toc a {
    background: #bdf url(../images/tabs.gif);
    color: #008;
    display: block;
    float: left;
    height: 2em;
    padding-left: 10px;
    text-decoration: none;
}

ol#toc a:hover {
    background-color: #3af;
    background-position: 0 -120px;
}

ol#toc a:hover span {
    background-position: 100% -120px;
}

ol#toc li {
    float: left;
    margin: 0 3px 0 0;
}

ol#toc li a.active {
    background-position: 0 -60px;
    color: #fff;
    font-weight: bold;
}

ol#toc li a.active span {
    background-position: 100% -60px;
}

ol#toc span {
    background: url(../images/tabs.gif) 100% 0;
    display: block;
    line-height: 2em;
    padding-right: 10px;
}
*/

/* 15.10.2013 */
div.content {
    border: #0070c0 solid 2px;
    clear: left;
    /* padding: 1em; */
    padding: 0; /* 27.5.2014 */
    display:inline-block; /* 20.5.2014 */
    width:100%; /* 27.5.2014 */
    -moz-border-radius: 14px;
    -webkit-border-radius: 14px;
    -khtml-border-radius: 14px;
    border-radius: 14px;
}

div.content.inactive {
    display: none;
}

ol#toc {
    list-style: none;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

ol#toc a {
    text-decoration: none;
}

ol#toc li {
    float1: left;
    display: inline-block;
    margin: 0 3px 0 0;
}

/*
ol#toc a:hover span {
    background-color: #d3da83;
}
*/

ol#toc li:nth-child(1) a:hover span { background-color: #7bbaf6; }
ol#toc li:nth-child(2) a:hover span { background-color: #c6cf5a; }
ol#toc li:nth-child(3) a:hover span { background-color: #77cc7a; }
ol#toc li:nth-child(4) a:hover span { background-color: #7bbaf6; }
ol#toc li:nth-child(5) a:hover span { background-color: #c6cf5a; }
ol#toc li:nth-child(6) a:hover span { background-color: #77cc7a; }

ol#toc li a.active {
    color: #fff;
    font-weight: bold;
}

.createEntitySubmit {
    color: #fff;
    font-weight: bold;
    background:none; 
    border:none; 
    cursor:pointer;
    font-size:1.0em;    
}

ol#toc span {
    display: block;
    line-height: 2.2em;
    padding-right: 2em;
    padding-left: 2em;
    background-color: #0070c0;
    color: #fff;
	
    -moz-border-radius-topleft: 10px;
    -webkit-border-top-left-radius: 10px;
    border-top-left-radius: 10px;

    -moz-border-radius-topright: 10px;
    -webkit-border-top-right-radius: 10px;
    border-top-right-radius: 10px;
    
    white-space: nowrap;
}

ol#toc li.firstTab {
  padding-left: 15px;
}

/*
.selectTabs a.active span { 
  -moz-box-shadow: 10px 10px 5px #888;
  -webkit-box-shadow: 10px 10px 5px #888;
  box-shadow: 10px 10px 5px #888; 
}
.selectTabs a:hover span { 
  -moz-box-shadow: 10px 10px 5px #888;
  -webkit-box-shadow: 10px 10px 5px #888;
  box-shadow: 10px 10px 5px #888;
}
*/

/* 27.5.2014 Overriding with:100% so that right border would not fall in middle of block */
@media only screen and (max-width: 767px) {
  .content {width:auto !important;}
}