/**
 * @package		Evangelical Training Database
 * @subpackage	UI Component
 * @copyright	Copyright (C) 2010 The Missionary Training Service. All rights reserved.
 * @license		GNU/GPL, see GPL-2.0.txt
 */

/* Generic table styles */
table.etd-main			{ margin-top: 10px; margin-bottom: 10px; }
table.etd-main th		{ background: #d0d0d0; border: 1px solid #a0a0a0; }
table.etd-main th img	{ margin-left: 10px; }
table.etd-main .odd		{ background: #f3f3f3; }
table.etd-main .even	{ background: #ededed; }
table.etd-main tr		{ border-bottom: 1px dashed #a0a0a0; }
table.etd-main tr:hover	{ background: #e8fae8; }
table.etd-main td		{ padding-left: 5px; border-right: 1px solid #a0a0a0; border-left: 1px solid #a0a0a0; }
table.etd-main .filter td { border-right: white; border-left: white; margin-bottom: 10px; padding-bottom: 5px; }
table.etd-main .filter:hover { background: white; }

/* Generic form styles */
fieldset.etd-main		{ border: 1px solid #dedede; margin-bottom: 10px; background: #f4f4f4; clear: both; }
fieldset.etd-main legend{ font-size: 1.2em; border: 1px solid #dedede; background: white; padding: 2px 10px 2px 10px; }
fieldset.etd-main ul	{ list-style-type: none; }
fieldset.etd-main li	{ background-image: none; margin-bottom: 5px; clear: both; }
fieldset.etd-main label	{ float: left; width: 12em; margin-right: .5em; }
.etd-buttons .button	{ cursor: pointer; text-transform: none; }
.etd-buttons-top		{ float: right; margin-right: 10px; margin-left: 20px; }
.etd-pagination a		{ cursor: pointer; }
.pages-counter,
.pages-links,
.pages-limitbox			{ clear: both; }
.pages-links li			{ float: left; }

/* AJAX */
/*.ajax-loading			{ margin-left: 30px; } */

/* Miscellaneous */
.etd-warning			{ color: red; }

/* Print preview styles */
td.etd-print-label	{ width: 45%; vertical-align: top; padding: 5px; text-align: right; }
td.etd-print-data	{ width: 55%; vertical-align: top; padding: 5px; }

/* Academic levels styles */
table.etd-acadlevels .AcdOrder	{ width: 15%; }
table.etd-acadlevels .AcdCode	{ width: 20%; }
table.etd-acadlevels .WrdText	{ width: 65%; }

/* Accrediting bodies styles */
table.etd-accredbodies .AcrOrder{ width: 15%; }
table.etd-accredbodies .AcrCode	{ width: 20%; }
table.etd-accredbodies .WrdText	{ width: 32%; }
table.etd-accredbodies .TrnText	{ width: 33%; }

/* Categories styles */
table.etd-categories .CatOrder	{ width: 15%; }
table.etd-categories .CatCode	{ width: 20%; }
table.etd-categories .WrdText	{ width: 65%; }

/* Cost ranges styles */
table.etd-costranges .CrgOrder	{ width: 15%; }
table.etd-costranges .CrgCode	{ width: 20%; }
table.etd-costranges .WrdText	{ width: 65%; }

/* Countries styles */
table.etd-countries .CtyOrder	{ width: 15%; }
table.etd-countries .CtyCode	{ width: 20%; }
table.etd-countries .WrdText	{ width: 50%; }
table.etd-countries .CtyIntl	{ width: 15%; }

/* Course lengths styles */
table.etd-courselengths .ClnOrder{ width: 15%; }
table.etd-courselengths .ClnCode{ width: 20%; }
table.etd-courselengths .WrdText{ width: 65%; }

/* Course search styles */
table.etd-courses .CrsName		{ width: 30%; }
table.etd-courses .CrsFullTime	{ width: 10%; }
table.etd-courses .CtyName		{ width: 28%; }
table.etd-courses .TrnText		{ width: 32%; }

#etd-course-search				{ margin-bottom: 10px; }
#etd-course-search h3			{ font-size: 1.6em; padding: 20px 0 0 60px; margin-bottom:8px;
								  height: 2em; border: 1px solid #dedede; }
#etd-course-search h3.pane-toggler			{ background: #f0f0f0 url( ../images/blue-right-arrow.gif) no-repeat 10px center; }
#etd-course-search h3.pane-toggler:hover	{ background: #c0c0c0 url( ../images/orange-right-arrow.gif) no-repeat 10px center; }
#etd-course-search h3.pane-toggler-down	{ background: #f0f0f0 url( ../images/orange-down-arrow.gif) no-repeat 10px center; }

ul.etd-search label				{ width: 16em; line-height: 1.3em; margin-top: 5px; text-align: right; }
div.etd-search-narrow			{ float: left; width: 50%; }

/* Course search results */
.etd-search-criteria			{ margin-left: 10px; }
.etd-search-criteria .etd-label	{ font-weight: normal; }
.etd-search-criteria .etd-field	{ font-weight: bold; margin-right: 10px; }
.etd-search-criteria .etd-or	{ color: green; text-transform: uppercase; }
.etd-criteria-label				{ text-decoration: underline; }

/* Course details page styles */
ul.etd-course .etd-label		{ line-height: 1em; margin: 5px 0 8px 0; float: left; width: 34%; text-align: right; }
ul.etd-course .etd-field		{ line-height: 1.2em; float: right; width: 63%; background: white; border: 1px solid #e0e0e0;
								  padding: 3px 7px 2px 9px; margin-bottom: 5px; min-height: 1.6em; }
ul.etd-course select			{ margin-left: 7px; }
ul.etd-course a					{ margin-left: 15px; }

/* Validate courses styles */
table.etd-coursesvalidate .CrsName	{ width: 29%; }
table.etd-coursesvalidate .CtyName	{ width: 29%; }
table.etd-coursesvalidate .TrnText	{ width: 29%; }
table.etd-coursesvalidate .CrsUpdated	{ padding-right: 5px; }
table.etd-coursesvalidate .CrsValidated	{ width: 13%; }

td.etd-label	{ line-height: 1em; width: 25em; vertical-align: top; text-align: right; padding: 4px 5px 5px 0; }
td.etd-field	{ vertical-align: top; padding: 0px 5px 10px 0; }
td.etd-title	{ padding: 0 0 0 6px; }
td.etd-delete	{ padding: 0 0 0 14px; }

/* Evangelical associations styles */
table.etd-evangassns .EvgOrder	{ width: 15%; }
table.etd-evangassns .EvgCode	{ width: 15%; }
table.etd-evangassns .WrdText	{ width: 40%; }
table.etd-evangassns .EvgWebsite{ width: 30%; }

/* Languages styles */
table.etd-languages .LangOrder	{ width: 10%; }
table.etd-languages .LangCode	{ width: 10%; }
table.etd-languages .LangEngName{ width: 35%; }
table.etd-languages .LangOwnName{ width: 35%; }
table.etd-languages .LangDir	{ width: 10%; }

/* Providers styles */
table.etd-providers .PrvName	{ width: 35%; }
table.etd-providers .PrvAddCity	{ width: 15%; }
table.etd-providers .PrvAddCntry{ width: 15%; }
table.etd-providers .CourseCount{ width: 10%; text-align: center; }
table.etd-providers .EvgWebsite	{ width: 25%; }

/* Provider course styles */
fieldset.etd-providercourses .PrvWebsite{ margin-left: 10px; }
fieldset.etd-providercourses .PrvEmail2	{ margin-left: 10px; }
table.etd-providercourses .CrsName		{ width: 65%; }
table.etd-providercourses .CrsFullTime	{ width: 15%; }
table.etd-providercourses .AcdName		{ width: 20%; }

/* Provider course list styles */
table.etd-providercourselist .CrsName		{ width: 47%; }
table.etd-providercourselist .CrsHits		{ width: 13%; text-align: center; }
table.etd-providercourselist .CrsFullTime	{ width: 12%; }
table.etd-providercourselist .AcdName		{ width: 18%; }
table.etd-providercourselist .CrsValidated	{ width: 10%; text-align: center; }

/* Provider email styles */
fieldset.etd-prvemail-send p	{ font-size: 110%; margin-left: 10px; }
table.etd-prvemail-send td		{ border: 1px solid #dedede; padding: 10px; vertical-align: top; }

/* Provider registration styles */
ul.etd-provider label			{ width: 25em; line-height: 1em; margin-top: 5px; text-align: right; }

/* Provider course registration styles */
td.etd-field .etd-courseaccredbodies	{ display: block; width: 100%; }

/* Providers validate list styles */
table.etd-providersvalidate .PrvName		{ width: 26%; }
table.etd-providersvalidate .PrvAddCity		{ width: 20%; }
table.etd-providersvalidate .PrvAddCntry	{ width: 20%; }
table.etd-providersvalidate .PrvWebsite		{ width: 22%; }
table.etd-providersvalidate .PrvValidated	{ width: 12%; }
table.etd-providersvalidate .PrvLastLoggedIn { padding-right: 5px; }

/* Regions styles */
table.etd-regions .RgnOrder		{ width: 10%; }
table.etd-regions .RgnCode		{ width: 10%; }
table.etd-regions .CtyName		{ width: 30%; }
table.etd-regions .WrdText		{ width: 30%; }
table.etd-regions .UsrSurname	{ width: 20%; }

/* Standard email styles */
fieldset.etd-stdemailsedit .etd-buttons { margin-bottom: 10px; }
fieldset.etd-stdemailedit p		{ font-size: 110%; margin-left: 10px; }
table.etd-stdemailedit th		{ border: 1px solid #dedede; padding-left: 10px; }
table.etd-stdemailedit td		{ border: 1px solid #dedede; padding: 10px; vertical-align: top; }

fieldset.etd-stdemail-send p	{ font-size: 110%; margin-left: 10px; }
table.etd-stdemail-intro		{ margin-bottom: 30px; }
table.etd-stdemail-intro td		{ padding: 10px; vertical-align: top; }
td.etd-stdemail-label			{ text-align: right; }
table.etd-stdemail-send th		{ border: 1px solid #dedede; padding-left: 10px; }
table.etd-stdemail-send td		{ border: 1px solid #dedede; padding: 10px; vertical-align: top; }

/* Bulk email styles */
fieldset.etd-bulkemail-send p	{ font-size: 110%; margin-left: 10px; }
td.etd-bulkemail-label			{ text-align: right; }
table.etd-bulkemail-send td		{ border: 1px solid #dedede; padding: 10px; vertical-align: top; }

/* Subcategories styles */
table.etd-subcategories .SctOrder{ width: 10%; }
table.etd-subcategories .SctCode{ width: 10%; }
table.etd-subcategories .WrdText{ width: 40%; }
table.etd-subcategories .CatName{ width: 40%; }

/* Users styles */
table.etd-users .UsrName		{ width: 25%; }
table.etd-users .UsrForename	{ width: 25%; }
table.etd-users .UsrSurname		{ width: 25%; }
table.etd-users .UsrLevel		{ width: 25%; }

/* Wordgroups styles */
table.etd-words .GrpCode		{ width: 15%; }
table.etd-words .GrpDesc		{ width: 85%; }

table.etd-words .WrdCode		{ width: 8%; vertical-align: top; padding: 5px 0 0 5px; }
table.etd-words .WrdText		{ width: 45%; vertical-align: top; padding: 5px 0 0 5px; }
table.etd-words .TrnText		{ width: 45%; }

/* Print-specific styles */
@media print {
html				{ margin: 0; padding: 0; }
body				{ margin: 0; padding: 0; }

.etd-buttons		{ display: none; }

table.etd-main		{ margin-top: 10px; border-collapse: collapse; }
table.etd-main th	{ background: white; border: 1px solid #a0a0a0; }
table.etd-main tr	{ border-top: 1px dashed #a0a0a0; border-bottom: 1px dashed #a0a0a0; }
table.etd-main td	{ padding: 5px; border-right: 1px solid #a0a0a0; border-left: 1px solid #a0a0a0; }

td.etd-print-label	{ width: 45%; vertical-align: top; padding: 5px; text-align: right; }
td.etd-print-data	{ width: 55%; vertical-align: top; padding: 5px; }
}