html, body {
    font-family: Tahoma, Helvetica, Arial, Sans-Serif;
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
/*    font-size: 15px;*/
}

body {
        color: black;
        background-color: #FFFFFF;
}

@media screen and (max-width : 640px)
{
        body { 
                font-size: 7px;
        }
}

@media screen and (max-width : 750px) and (min-width : 641px)
{ 
	body {
		font-size: 10px;
	}
}

@media screen and (max-width : 900px) and (min-width : 751px)
{ 
	body {
		font-size: 12px;
	}
}

@media screen and (min-width : 901px)
{
        body {
                font-size: 15px;
        }
}

div.roundAbsolute {
    opacity:0.8;
    /*border:5px solid;*/
    border-radius:20px;
    padding: 15px;

    /* position in the middle*/
    position: absolute;
    text-align: center;
}

div#searchBox {
    font-size: 2.3em;
    background-color: #F0F0F6;
    color: #3D3D3D;
    text-shadow: 0px 2px 3px #A0A0A0;

/*    right: 10%;
    font-size: 40px;
    top: 2%;
    width: 180px;
    height: 95px;
    margin-top: -150px;*/ 
    margin-top: 20px;
    width: 5.2em;
    height: 2.75em;
    position: relative;
    float: right;
}

div#explanation {
    font-size: 0.6em;
    text-align: justify;
}

input#similarity {
	width: 220px;
}

div#frontStats {
    color: #707070;
    margin-left: 5px;
    font-size: 1.5em;
}

a.ShowLink:link, a.ShowLink:visited, a.ShowLink:active {
  font: bold 11px Arial;
  text-decoration: none;
  background-color: #EEEEEE;
  color: #333333;
  padding: 2px 6px 2px 6px;
  border-top: 1px solid #CCCCCC;
  border-right: 1px solid #333333;
  border-bottom: 1px solid #333333;
  border-left: 1px solid #CCCCCC; 
 
/*    font-size: 1.2em;
    font-weight:bold;
*/
}

/*
div#frontStats div {
    padding-top: 10px;
}
*/

div#newStructures form {
    font-size: 0.7em;
}

div#frontStats span {
    display:inline-block;
    font-size: 1.2em;
    font-weight:bold;
    color: #505050;
    padding-bottom: 10px;
}

div#frontStats span.news {
    font-size: 1em;
    font-weight:normal;
}

div#frontStats span.news span {
    font-size: 1.6em;
    font-weight:bold;
}

div#frontStats span.news h2 {
    font-size: 1.1em;
    margin: 1px;
}

div#frontStats span.news h3 {
    font-size: 1.0em;
    margin: 1px;
}

div#frontStats span.flagWarning {
    color: red;
}

span.news_headlines h2 {
    margin: 1px;
}

div#userinput input#pdb-code {
    border-radius:5px;
/*    font-size: 30px;
    width: 165px;*/
    font-size: 0.65em;
    width: 8em;
    text-align: center;
    background: -webkit-gradient(linear, left top, left 25, from(#FFF), color-stop(4%, #AAA), to(#FFF));
    background: -moz-linear-gradient(top, #FFF, #AAA 1px, #FFF 25px);
    background: -o-linear-gradient(top, #FFF, #AAA 1px, #FFF 25px);
    background: linear-gradient(top, #FFF, #AAA 1px, #FFF 25px);
}

h4 {
    font-size: 15px;
    margin: 10px 0px 10px 0px;
}

img#logo {
    position: relative;
    float: left;
/*    left: 50%;
    margin-left: -410px;*/
    width : 600px;
    height: auto;
/*    max-width : calc(100% - 210px);*/
    max-width : 70%;

}

hr.main {
    border: none;
    width: 100%;
    height: 1px;
    background-color: #888888;
    clear: both;
}

a:link {
    color: brown;
   text-decoration: underline;
}

a:visited {
    color: orange;
    text-decoration: underline;
}

a:hover {
    color: #2848FB;
}

div#content {
    width: 80%; margin: 0 auto;
}

div.menuwrapper {
    position: relative;
    height: 1.7em;
}

div.contentwrapper {
/*    position: relative;
    min-height: 530px;
    width: 100%;*/
}

div.contentwrapper:after {
	content:""; clear:both; display:block;
}


div#menu {
    width: calc(100% - 8em);
    position: absolute;
    font-size: 1.3em;
    margin-left: 5px;
    left: 0px;
}

span.menuItem {
    padding-left: 1%;
    padding-right: 1%;
    border-right: 1px solid #D8D8D8;
}

span.menuItem.last {
    border-right: 0px solid #D8D8D8;
}

div#stats {
    position: absolute;
/*    width: 130px;*/
    width: 12em;
    right: 0px;
    margin-right: 5px;
/*    font-size: 12px;*/
    font-size: 0.8em;
    text-align: right;
}

div#footer img {
    position: absolute;
    right: 10%;
    padding-bottom: 5px;
    margin-left: calc(-1*20%);
    max-width: 20%;
/*    margin-left: -255px;
    width: 250px;*/
}

div.floatNext {
    display: inline-block;
    vertical-align: top;
    margin-right: 3em;
    z-index: 1;
}

div.floatNext:last-child {
    margin-right: 0px;
}

div.floatNext td {
    padding-right: 30px; 
    vertical-align: top;
    z-index: 1;
}

table {
    border-collapse: separate;
    border-spacing: 0px;
    height: 30px;
}

div#searchOptions {
    position: relative;
/*    min-height: 350px; */
}

div#viewport {
    z-index: 0;
}

div#searchOptions div{
/*    position: absolute; */
    vertical-align: top;
    width: 33%;
    float: left;
}

div#searchOptions:after {
    content: '';
    height: 15px;
    display:block;
    clear: both;
}

/*div#searchOptions div:nth-child(1) {
    left: 0%;
}
div#searchOptions div:nth-child(2) {
    left: 33%;
}
div#searchOptions div:nth-child(3) {
    left: 66%;
}*/

div.containNext {
    position: relative;
    height: 180px;
}

div.middle {
    position: absolute;
    width:  200px;
    height: 180px;
    margin-left: -100px;
    top: 0%;
    left: 50%;
    text-align: center;
}

div#searchButton {
    position: relative;
    left: 50%;
    margin-left: -63px;
    width: 126px;
}

div#indexContent {
    width: 55%;
    padding-right: 3%;
/*    position: inline-block;*/
    float: left;
    margin-top: 20px;
}

div#kinomeDiv {
    width: 42%;
/*    position: inline-block;*/
    float: left;
    margin-top: 0%;
    background-color: white;
}

div#kinomeDivResults {
    width: 50%;
/*    position: inline-block;
    float: center;
    margin-top: 0%;*/
    background-color: white;
    display : none;
/*    border : 1px solid black;*/
    position: relative;
/* Max-width of the kinome on wide screen */
    max-width: 701px;
}

div#kinomeDivResults div.close {
    position: absolute;
    z-index: 1;
    top: 3px;
    right: 3px;
}

div.close img {
    height: 20px;
    width : 20px;
}

div#kinomeDiv:after, div#kinomeDivResults:After {
    content: '';
    height: 1px;
    display:block;
    clear: both;
    text-align: left;
}

div#kinomeDiv img {
    width: 100%;
    height: auto;
}


input#searchStart {
    -moz-box-shadow:inset 0px 1px 0px 0px #fed897;
    -webkit-box-shadow:inset 0px 1px 0px 0px #fed897;
    box-shadow:inset 0px 1px 0px 0px #fed897;
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #f6b33d), color-stop(1, #d29105) );
    background:-moz-linear-gradient( center top, #f6b33d 5%, #d29105 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f6b33d', endColorstr='#d29105');
    background-color:#f6b33d;
    -webkit-border-top-left-radius:20px;
    -moz-border-radius-topleft:20px;
    border-top-left-radius:20px;
    -webkit-border-top-right-radius:20px;
    -moz-border-radius-topright:20px;
    border-top-right-radius:20px;
    -webkit-border-bottom-right-radius:20px;
    -moz-border-radius-bottomright:20px;
    border-bottom-right-radius:20px;
    -webkit-border-bottom-left-radius:20px;
    -moz-border-radius-bottomleft:20px;
    border-bottom-left-radius:20px;
    text-indent:0;
    border:1px solid #eda933;
    display:inline-block;
    color:#FFFFFF;
    font-size:22px;
    font-weight:bold;
    height:50px;
    line-height:50px;
    width:126px;
    text-align:center;
    text-shadow:1px 1px 0px #cd8a15;
}

div.deprecated {
    font-size: 1.75em;
    color: red;
    font-weight: bold;
    padding-bottom: 2%;
    text-align: center;
}

div.kinaseFullName {
    font-size: 1.55em;
    font-weight: bold;
    padding-bottom: 1%;
}

div.kinaseFullName img {
    height: 20px;
}

div.kinaseFullName a {
/*    color: black;*/
    text-decoration: none;
}

/* Detail formatting */
div.kinase {
    position: relative;
/*    height: 480px;*/
}

div.kinase:after {
    content: '';
    height: 1px;
    display:block;
    clear: both;
}

div.kinase div {
	position: relative;
/*    position: absolute;
    top: 0%;*/
}

div.kinase div:nth-child(1) {
    /*width: 17em;
    float: left;*/
/*    left: 0%;*/
}

div.kinase div:nth-child(2) {
/*    float: right; */
/*    right: 0px;*/
    /*width: calc(100% - 250px);*/
}

div#pymolContent {
    float: right;
    max-width: 60%;
}

div#structInfo {
    float: left;
    max-width: 40%;
}

div#pymolContent div#floater3d {
    position: absolute;
    left: 0px;
    top: 0px;
    z-index : 1;
}

div#pymolContent div#NextPreviousfloat {
    position: absolute;
    right: 0px;
    top: 0px;
    z-index: 1;
}

div.kinase img.structure {
/*    width: 641px;
    height: 480px;
    margin-top: -50px;*/
    max-width:100%;
    height: auto;
    width: auto\9; /* ie8 */
    float: right;
}

table img.ligandImage {
    max-height: 220px;
    max-width: 100%;
    width: auto;
}

div.kinase img.ligandImage {
    max-height: 220px;
    max-width: 100%;
    width: auto;
}

/* IFP coloring */
div#IFP-coding {
    text-align: center;
}

span.ifp {
    font-size: 20px;
}

span.hyd {
    color: #888888;
}

span.aff {
    color: #006600;
}

span.afe {
    color: #4CD43D;
}

span.don {
    color: #FF0000;
}

span.acc {
    color: #3A33FF;
}

span.ionpos {
    color: #EE7600;
}

span.ionneg {
    color: #00CCCC;
}

/* information table */
td.detailHeader, div.detailHeader {
    font-weight: bold;
    color: #0000FF;
    font-size: 1.5em;
}

          
td.detailName {
    font-weight: bold;
}   

td.detailInfo {

}  

td.pocketRes {
      font-family: "Courier New", Courier, monospace;
/*      font-size: 1.3em;*/
/*      font-size: 18px;*/
} 

/* 85 residues coloring for tables */

table.residueSearch {
    width: 100%;
}

table.residueSearch tr td {
    text-align: center;
    width: 5%;
}

table.residueSearch span.res {

}

table.residueSearch span.xray {
    font-size: 0.8em;
    font-style:italic;
}

table.residueSearch span.mutated {
    color: red;
    font-weight: bold;
}

table.residueSearch tr td.yellow {
    background-color: #F8F66C;
}

table.residueSearch tr td.green {
    background-color: #4CD43D;
}

table.residueSearch tr td.red {
    background-color: #F27272;
}

table.residueSearch tr td.gold {
    background-color: #FFD000;
}

table.residueSearch tr td.magenta {
    background-color: #FF75FD;
}

table.residueSearch tr td.cyan {
    background-color: #00FFFF;
}

table.residueSearch tr td.orange {
    background-color: #FFA600;
}

table.residueSearch tr td.blue {
    background-color: #6698FF;
}

td.residueSearchHeader {
    font-weight: bold;
}

td.residueSearch {
    border-right: 1px solid #FFF6D1;
    border-left: 1px solid #FFF6D1;
}

td.residueSearchBottom {
    border-right: 1px solid #FFF6D1;
    border-left: 1px solid #FFF6D1;
    border-bottom: 1px solid #FFF6D1;
}

/* tablesorter */
table.tablesorter {
    font-family:arial;
    background-color: #CDCDCD;
/*    margin:10px 0pt 15px;
    font-size: 8pt;*/
    margin: 0.5em 0px 1em;
    font-size: 0.75em;
    width: 100%;
    text-align: center;
}

table#chemblDetails {
    width: auto;
}

table#overviewStructs {
	width: auto;
}
	
table.tablesorter thead tr th, table.tablesorter tfoot tr th {
    background-color: #e6EEEE;
    border: 1px solid #FFF;
/*    font-size: 8pt;*/
    padding: 0.5em;
    padding-right: 20px;
}
table.tablesorter thead tr .header {
    /* background-image: url("/images/bg.gif"); */
    background-image: url(data:image/gif;base64,R0lGODlhFQAJAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAkAAAIXjI+AywnaYnhUMoqt3gZXPmVg94yJVQAAOw==);
    background-repeat: no-repeat;
    background-position: center right;
    cursor: pointer;
}
table.tablesorter tbody td {
    color: #3D3D3D;
/*    padding: 4px;*/
    padding: 0.5em;
    background-color: #FFF;
/*    vertical-align: top;*/
}
table.tablesorter tbody tr.odd td {
    background-color:#F0F0F6;
}
table.tablesorter thead tr .headerSortUp {
    /* background-image: url("/images/asc.gif"); */
    background-image: url(data:image/gif;base64,R0lGODlhFQAEAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAQAAAINjI8Bya2wnINUMopZAQA7);
}
table.tablesorter thead tr .headerSortDown {
    /* background-image: url("/images/desc.gif"); */
    background-image: url(data:image/gif;base64,R0lGODlhFQAEAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAQAAAINjB+gC+jP2ptn0WskLQA7);
}
table.tablesorter thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp {
    background-color: #8dbdd8;
}

input.submitLink {
    background-color: transparent;
    text-decoration: underline;
    border: none;
    color: brown;
    font-size : 1em;
    padding : 0px;
    margin : 0px;
    cursor: pointer;
}

div#klifsFavs {
    position: absolute;
    top: 25%;
    right: 0px;
    border: 1px solid black;   
}

img#switchR_Search {
    height : 12px;
    margin-bottom: 0.05em;
}

img#switchI_Search {
    height : 12px;
    margin-bottom: 0.05em;
}

td.residueSearch select {
    width: 40px;
}

span.contactList {
    font-size: 0.85em;
    font-weight: normal;
}

table#ifpPatternSearch {
    display: none;
}

table#residuePocketSearch {
/*    display: none;*/
}

div#seqSearch {
	display: none;
}

img.imgFav {
    height: 10px;
}

span.floatLeft {
    float : left;
}

span.floatRight {
    float : right;
}

div#NextPreviousfloat {
        float : right;
        background-color: white;
        opacity: 0.8;
        filter: alpha(opacity=80);
}

div#floater3dmob {
	z-index : 1;
	position: absolute;
	left: 0px;
	top: 0px;
}


div#floater3d a img {
	height: 50px;
}

div#floater3dmob a img {
	height: 30px;
	margin: 5px;
}

span#imagePrevious img {
        height: 30px;
}

span#imageNext img {
        height: 30px;
}

img#imgFollow {
    width: 250px;
    height: 250px;
    border: 1px solid #222222;
}

div#showLigand {
    display: none;
    position: absolute;
    z-index: 1;
    max-width: 30%;
}

div#showLigand img {
    height: auto;
    max-width: 100%;
}

tr.blank_row {
    height:15px;
    background-color: #FFFFFF;
}

.scroll {
    float: left;
    height: 235px;
    overflow: auto;
}

.clear{
    clear: both;
}

.tutorial_title {
    padding-top: 15px;
    font-size: 1.2em;
    color: #303030;
}

.tutorial_subtitle {
    padding-top: 10px;
    font-size: 1.1em;
    color: #303030;
}

.tutorial_text {
    margin-top: 2px;
    font-size: 1em;
    color: #707070;
}

.tutorial_menu {
    margin-left: auto;
    margin-right: auto;    
    display: block;
    width: 460px;
    background-color: #F0F0F6;
}
.tutorial_images {
    border: 1px solid black;
    max-width:90%;
    max-height:90%;
    
}

.tutorial_menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.tutorial_menu li {
    float: left;
    padding-left: 20px;
    font-size: 1.1em;
}

div.FAQquestion {
    margin-top: 10px;
    font-size: 1em;
    color: #303030;
}

div.FAQanswer {
    margin-top: 2px;
    font-size: 0.9em;
    color: #707070;
}

img.FAQimage {
    max-width: 90%;
    max-height: 400px;
}

div.FAQlogo {
    margin-top: 5px;
    width: 150px;
    height: 40px;
    text-align: center;
    float: left;
}

div.FAQlogo img {
    max-width: 150px;
    max-height: 40px;
}

div.FAQbrand {
    float: left;
    height: 40px;
    padding-left: 10px;
    line-height: 40px;
}

div.FAQkinome {
    line-height: normal;
    max-width: calc(100% - 165px);
}

div.logoWrapper:after {
    content: '';
    height: 1px;
    display:block;
    clear: both;
}

img.kinomeBIG {
    width: 100%;
    height: auto;
}

#cookie-bar {margin: 10px; border-radius:10px; background:#4e4e4e; height:auto; min-height:24px; line-height:24px; color:#eeeeee; text-align:center; padding:3px 0;}
#cookie-bar.fixed {position:fixed; top:0; left:0; width:100%;}
#cookie-bar.fixed.bottom {bottom:0; top:auto;}
#cookie-bar p {margin:0; padding:0;}
#cookie-bar a {color:#ffffff; display:inline-block; border-radius:3px; text-decoration:none; padding:0 6px; margin-left:8px;}
#cookie-bar .cb-enable {background:#007700;}
#cookie-bar .cb-enable:hover {background:#009900;}
#cookie-bar .cb-disable {background:#990000;}
#cookie-bar .cb-disable:hover {background:#bb0000;}
#cookie-bar .cb-policy {background:#0033bb;}
#cookie-bar .cb-policy:hover {background:#0055dd;} 

div#container {
	position: relative;
}
		
canvas#kinome {
	z-index: 0;
	position: absolute;
	left : 0;
	top : 0;
	background-color: white;
}
		
canvas#kinomeoverlay {
	z-index: 1;
	position: absolute;
	left : 0px;
	top : 0px;
}

img#kinomeInteractive {
	display: none;
}

img.qm {
	height: 15px;
	width : auto;
}

span.tooltipster img {
	max-height: 35%;
}

span.tooltipster div.FAQquestion {
	color: white;
}

span.tooltipster div.FAQanswer {
	color: #AAAAAA;
}

span.flag {
	color: red;
}

table.tablesorter tbody tr.highlightChEMBL td {
	background-color: #FAE6E6;
}

tr.sliders_header td {
    font-weight:bold;
}
