/*

Custom CSS for IDEA

*/

/*
Basic CSS
*/

body {

    font-family: georgia, sans-serif;
    font-size: 10pt;
    color: black;
    margin: 0px;
}

h1, h2, h3, h4 {

    margin-bottom: 5px;
    font-family: georgia, serif;
    color: #3d77a4;
    font-weight: bold;
    margin-top: 5px;

}

a, span.fakelink {

    color: #3d77a4;
    font-weight: bold;
    text-decoration: underline;
    cursor: pointer;
    
}

.elementcenter {

    text-align: center !important;

}

span.nobr {

    white-space:nowrap; 

}

/*
Layout
*/

div#idea_header {

    background-color: white;
    background-image: url(../images/topbar-cows5.png);
    background-repeat:repeat-x;
    background-position: top;
    height: 140px;


}

div#idea_headerpic {

    float: left;
}

img#headerlogo {

    border-style: none;

}

div#idea_headercontent {

    float:left;

}

div#idea_headertitle {

    font-family: georgia, sans-serif;
    margin-left: 20px;
    padding-top: 65px;
    font-family: serif;
    font-size: 25pt;
    font-weight: bold;
    color: white;
    text-shadow: 2px -2px 1px #003A4C;
}


div#idea_main {

    padding-left: 10px;
    padding-right: 10px;

}

div#idea_statusbar {

    margin-top: 12px;
    float: left;
}

div#idea_loggedinbar {

    display: block-inline;
    margin-top: 12px;
    padding-right: 10px;
    text-align: right;

}

div#idea_flash {
    
    padding-top: 3px;
    padding-bottom: 3px;
    text-align: center;
    font-weight: bold;
    background-color: #D1FFD1;
    margin-bottom: 10px;
    font-size: 12pt;

}

div#idea_footer {

    margin-top: 25px;
    text-align: center;    

}

div#idea_footer_content {

    padding-top: 4px;
    display: inline-block;
    width: 99%;
    border-top: 1px solid  #3d77a4;
    text-align: center;
}

div.toclear {

    float: none;
    clear: both;
}

div.error {
    color: red;
    padding: 3px;
}

div#actasselect {

    display: none;
    position: absolute;
    background-color: white;
    border: 1px solid black;
    width: 475px;
    height: 600px;
}

div#actasselectcontent {

    height: 570px;
    padding: 5px;

}

span#actasopener {

    display: block-inline;

}

div.closer {

    text-align: right;
    border-bottom: 1px solid black;
    margin-bottom: 10px;

}

iframe.actasiframe {

    width: 100%;
    height: 560px;
    border: 0px;

}

div.uploadfilebox {

	margin: 15px;
	
}

/*
General IDEA tables
*/
table.ideatab {

    background-color: white;
    border: 1px solid black;
    border-collapse:collapse;
    width: 97%;
    margin-bottom: 10px;
    border-spacing: 0;

}

/*
Fix for good, standards-compliant browsers
*/
div > table.ideatab {

    width: 100%;
    
}

table.ideatab thead {

    background-image: url(../images/topbar-cows5.png);
    border: 1px solid black;
    
}

table.ideatab th {

/*
    background-color: #3d77a4;
*/
    color: white;
    text-align: left;
    border: 1px solid black;
    padding-left: 5px;
    vertical-align: top;
}

table.ideatab tr {

    border: 1px solid black;
}

table.ideatab td {

    padding-left: 5px;
    padding-right: 5px;
    padding-top: 3px;
    padding-bottom: 3px;
    border: 1px solid black;
    vertical-align: top;

}

table.ideatab tr.flaggedrow td {

    background-color: #FFFFC0;
}

table.ideatab tr.flaggedrow td.flagged {

    background-color: #F1F154;
}

table.ideatab tr.flaggedrow td.flagged_c {

    background-color: #FFA4B0;
}

table.ideatab tr.flaggedrow td.flagged_g {

    background-color: #A4AAFF;
}

tr.ideatabselect:hover {

    background-color: #E7E7E7;

}

table.centertab {

    margin: auto;
}

table.ideatabnarrow {

    width: 0px !important;

}

div.title_colval {

    font-weight: bold;
    width: 200px;
    float: left;

}

/*
General form elements
*/

input[type="text"], input[type="password"] {

    width: 200pt;

}

/*
Error page
*/

div#errorimg {

    width: 300px;
    height: 300px;
    background-color: gray;
    margin-right: 20px;
    float: left;
}

div#errorimg img {

    border: 1px solid black;
}

div#errormess {

    width: 1000px;
}

div#errormess textarea {

    width: 450px;

}

/*
Standard hidden DIVs
*/
DIV.dhidden {

    border: 1px solid black;
    margin-bottom: 5px;

}

DIV.dhidden:hover {

    background-color: white;

}

DIV.udhidden {

    padding: 5px;

}

DIV.dhiddentop {

    padding-left: 3px;
    background-image: url(../images/topbar-cows5.png);
/*
    background-color: #3d77a4;
*/
    font-weight: bold;
    color: white;
    border-bottom: 1px;

}

span.showhide {

    color: white;
    font-size: 5pt;

}


/*
Query page
*/
div.animal-query-parent {
    width: 195px;
    max-width: 190px;
    height: 90px;
    background-color: white;
    border: 1px solid black;
    float: left;
    margin-left: 5px;
    margin-right: 5px;
    
}

div.animal-query-close {

    width: 300px;
    max-width: 300px;
    
}

div.parents_encompass {

    text-align: center;

}

div.animal-query-title {

    color: white;
    background-image: url(../images/topbar-cows5.png);
/*
    background-color: #3d77a4;
*/
    padding: 1px;
    font-weight: bold;
}

div.animal-query-body {

    padding: 1px;
}

div#animal-query-grandparents {

    width: 820px;
    margin: 0px;
    display: inline-block;
}

/*
Fix for good, standards-compliant browsers
*/
div>div#animal-query-grandparents {

    width: auto;
    
}

div#animal-query-parents {

    width: 620px;
    text-align: left;
    margin: 0px;
    display: inline-block;

}

/*
Fix for good, standards-compliant browsers
*/
div>div#animal-query-parents {

    width: auto;

}


div.query_offspring {

    padding: 0px;

}

div.animal-query-grandparent {

    height: 40px;

}

div#aqoffspring_wrapper {

    margin-bottom: 20px;

}

/*
Fix for good, standards-compliant browsers
*/
div>div#aqoffspring_wrapper {

    margin-bottom: 0px;

}

/*
Datatables formatting
*/

div.dataTables_wrapper {

    overflow: auto;
    margin-bottom: 3px;
}

div.dataTables_length {

    float: left;
    font-size: 8pt;
    margin-right: 20px;
    margin-bottom: 1px;

}

div.dataTables_length select {
    font-size: 8pt;
}

div.dataTables_filter {

    float: left;
    font-size: 8pt;
    margin-right: 20px;
    margin-bottom: 1px;
}

div.dataTables_filter input {
    font-size: 8pt;
}

div.dataTables_info {

    margin-left: 20px;
    float: left;
    font-size: 8pt;
    margin-top: 1px;

}

div.dataTables_paginate {

    float: right; 
    font-size: 8pt;
    margin-top: 1px;

}

a.paginate_enabled_previous, a.paginate_disabled_previous {

    margin-right: 10px;
}

a.paginate_enabled_next, a.paginate_disabled_next {

    margin-right: 20px;

}


/*
System config
*/

div.sysconf_row {

    padding-top: 20px;
}

div.sysconf_row textarea {

    width: 600px;
    height: 300px;
}

div.sysconf_inpdiv {

    float: left;

}

div.sysconf_help {

    float: left;
    margin-left: 20px;
}


div.sysconf_row input[type='text'] {

    width: 600px;
}

span.sysconf_title {

    font-weight: bold;

}

/*
Log page
*/

span.logerror {

    background-color: red;
    
}

/*
Duplicates
*/

div#duplicates_formbuttons {

    float: right;
    margin-top: 10px;

}

th.duplicate_option  {

    width: 0px !important;

}

/*
Popup help
*/

div.pophelpicon {

    display: block-inline;

}

div.phdiv {

    position: relative;
    
}

div.pophelp {

    display: none; 
    position: absolute; 
    top: 10px; 
    left: 10px;
    z-index: 100; 
    background-color: #D1FFD1; 
    width: 150px; 
    padding: 4px; 
    border: 1px solid #3d77a4;
    text-align: left;

}

div.pophelpleft {

    left: 10px;

}

div.ddtabpophelp {

    position: relative;
    top: 20px;
    text-align: right;
    margin-top: -20px;
    width: 40px;
    float: right;
    margin-left: auto;
}

/*

Multilookup

*/

textarea#mltext {

    width: 80%;
    height: 150px; 

}

/*

Upload

*/

img.upload_icon {

    float: left;
    margin-right: 50px;

}

/*
TimePicker
*/

.ui-timepicker-div .ui-widget-header { margin-bottom: 8px; }
.ui-timepicker-div dl { text-align: left; }
.ui-timepicker-div dl dt { height: 25px; margin-bottom: -25px; }
.ui-timepicker-div dl dd { margin: 0 10px 10px 65px; }
.ui-timepicker-div td { font-size: 90%; }
.ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; }

.ui-timepicker-rtl{ direction: rtl; }
.ui-timepicker-rtl dl { text-align: right; }
.ui-timepicker-rtl dl dd { margin: 0 65px 10px 10px; }

/*
Review page
*/

div.newreviewfilterbox, 
div.rundatafilterbox {

    margin-left: 20px;
    margin-right: 20px;
    float: left;
}

div#reviewtab_filter,
div#rundtab_filter,
div#anfoptab_filter,
div#anfotab_filter
 {

    visibility: hidden;

}

div.review_actions {

    float: left;
    margin-top: 4px;
    margin-right: 40px;
    

}

/*
Rundata
*/

div.rundatarows {

    border-top: 1px solid  #3d77a4;
    margin-top: 10px;
    padding-top: 10px;
}

/*
Messages
*/

div.messages {

    width: 500px;
    float: left;
    margin-right: 20px;

}

div.message {

    border-top: 1px solid black;
    padding: 5px;

}

div.messageheader {

    font-size: 8pt;
    margin-bottom: 10px;

}

div.messagesubmit {

    margin-top: 25px;
    float: left;

}

textarea.richedit_user {

    font-size: 12pt;

}

a.unreplied {

    color: red;
    
}

/*
Proof query
*/

div.proofs_queries {

/*
    width: 430px;
*/

}

div.proofs_queries div#pq_aid {

    margin-bottom: 10px;

}

div.proofph {

    float: right;
    padding-right: 8px;

}

div.proofs_queries div#run1 {

    float: left;

}

div.proofs_queries div#run2 {

    float: left;
    padding-left: 180px;

}

div.proofs_queries div.pqselects {

    margin-top: 10px;
    float:left;
    margin-right: 50px;
    
}

div.proofs_queries div.pqselects select {

    height: 150px;

}

div.proofs_queries div#cog {

    margin-top: 10px;
    float: left;

}

div.proofs_queries div#diffonly {

    margin-top: 10px;
    float: left;
    margin-left: 88px;

}

div.proofs_queries div#psubmit {

    margin-top: 10px;
    float: left;
    margin-left: 205px;

}

div.proofs_queries div#parsubmit {

    margin-top: 10px;
    float: left;
    margin-left: 350px;

}

/*
Web
*/

div#webcontent {

/*
    min-width: 1200px;
*/
}

div#webmenu {

    float:left;
    width: 180px;
    margin-left: -100%;

}

div#webarticlewrap {

    float: left;
    width: 100%;

}

div#webarticle {

    margin: 0px 230px 0px 185px;

}

div#webnews {

    float: right;
    width: 225px;
    margin-left: -230px;

}

div#webnews h3 {

    margin-top: 0px;

}


/*
Sysmods
*/

div.sysmod_item {

    font-weight: bold;
    min-width: 225px;
    margin-top: 10px;

}

/* animinfo */

div.aisel {

}

div.aisel select {

    min-width: 300px;

}

div.aiopts {

}

div#typediv, div#attribdiv, div#valuediv {

    min-width: 450px;
    float:left;
    
}


/* anim info */

div.anfo_type_query {

	float: left;
	margin-right: 30px;

}

span.igetype_beef {

	color: red;
}

span.igetype_ebv {

	color: green;
}
