@font-face {
	font-family: Cambay;
	src: url(/static/silvics/fonts/Cambay-Regular.ttf);
}

body { padding-bottom: 45px; font-family: Cambay, Tahoma, Verdana, sans-serif; font-size: 12px; color: #373737; }
.result-panel { padding-bottom: 90px; }
textarea { font-size: 12px; }
input[type=checkbox] { height: 15px; width: 15px; }
input.seamless { background-color: transparent !important; border: none !important; }

.form-row label, .form-row input, .form-row select, .form-row p,
	.selectize-input .item, fieldset label { font-size: 12px; color: #373737; font-family: Cambay, Tahoma, Verdana, sans-serif !important; }
h1 { font-size: 32px; color: #373737; }
.olMap .labelSpan { color: white; }
.form-row p { font-size: 12px !important; }

select { background-color: white; width: 325px; height: 25px; }
.squared, fieldset.module .squared { border-radius: 0 !important; }
fieldset.module { border: solid 1px black !important; border-radius: 0px !important; margin: 0 0 25px !important; }
fieldset.module select, fieldset.module input[type=text] { width: 265px; background-color: white; }
.footer-total { background-color: transparent !important; border: none !important; font-weight: bold !important; }

.form-content .mini-form.col-sm-6 fieldset.module .col-sm-12 select { width: 536px; }
.form-content .mini-form.col-sm-12 fieldset.module select,
	.form-content .mini-form.col-sm-12 fieldset.module input[type=text] { width: 300px; }
.auth-user .inline-related fieldset.module select,
	.auth-user .inline-related fieldset.module input[type=text] { width: 350px; background-color: white; }
.inline-stacked.inline-related fieldset.module select,
	.inline-stacked.inline-related fieldset.module input[type=text] { width: 300px; }
.inline-related fieldset.module label { width: 9em; }
fieldset.module input.vDateField { width: auto; }
.form-content fieldset.module textarea { width: 690px; }
fieldset.module label { font-weight: bold !important; }
form .aligned p.help { margin-left: 0; padding-left: 0; font-size: 10px !important; }

.messagelist { list-style: none outside none; width: 750px; padding-top: 12px; font-weight: bold; }
.messagelist .success { display: block; background-color: #6cc480; width: auto; padding: 3px; color: white; }
#message-bar { background-color: #f2f2f0; width: 100%; height: 55px; box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23); }
#message-area { padding-left: 265px; padding-right: 265px; padding-top: 15px; font-size: 15px; font-weight: bold; }
#message-area .message { padding-top: -10px; display: inline-block; }
#message-bar .fa-warning { font-size: 20px; color: #dc6060; }

.selector h2 { background: #373737 !important; color: white !important; font-size: 14px !important; padding: 7px !important; margin-bottom: 0; }
.selector select { width: 270px !important; }
.selector-available select { margin-top: -6px; height: 175px; }
.selector input[placeholder] { width: 175px !important; }

.datetimeshortcuts { display: none; }

ul.errorlist { padding: 0; }
ul.errorlist li { padding: 3px; background-color: #dc6060; color: white; font-weight: bold; font-size: 10px; list-style: none outside none; }
.accordion-label .fa-warning { color: #f3a19a; }

.vDecimalField, .vFloatField, .vIntegerField, .vCurrencyField { text-align: right; }

legend { padding-left: 12px !important; padding-right: 2px !important; display: block !important; border: 0 !important; /*margin: 0 0 25 !important;*/
                font-size: 12px !important; font-weight: bold !important; width: auto !important; padding: 0 2px !important;
                margin: 0 15px 0 !important; }
.inline-related fieldset.module { border-radius: 0 !important; }
.inline-group { border: 0; }
.form-content { top: 10px; }
.errornote { background-color: #dc6060; padding: 5px; font-weight: bold; color: white; text-align: center; }

#navbar { height: 65px; }

#browser-alert { display: none; }
.clear-all { clear: both; }
.dashboard #content { width:100%; }

ul.idx-tabs { width: 100%; list-style: none outside none; padding: 0; margin-bottom: 70px; cursor: pointer;}
ul.idx-tabs li { display: inline-block; width: 50%; font-size: 14px; text-align: center; padding: 15px; }
#app-tab { float: left; }
#applications .panel { min-height: 250px; }

.panel-silvics, .panel-silvics .panel-heading { border-radius: 0; border-color: black; }
.panel-silvics table tr { border-style: hidden; }
.panel-silvics, #result_list, .elevated, .hover-elevated:hover { box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23); }

td.app-tools { text-align: right; padding-right: 25px !important; }
td.app-tools span.fa { padding-left: 20px; }

.deletelink-box, .deletelink-box a { text-decoration: none; color: #dc6060; font-size: 16px; }

#left-column ul { margin: 0; padding: 0; }
li.dashboard-panel { width: 100%; padding: 30px 0px 30px 0px; background-color: white; border: solid 1px black; color: black; margin-bottom: 15px;
                                        line-height: 1.1; text-align: center; display: block; }
li.dashboard-panel:hover { box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23); }

#key-panel { padding: 15px; border: solid 1px black; }
#key-panel li { display: block; line-height: 25px; }
#key-panel li span { padding-right: 10px; }

/*#site-nav { margin-left: auto; margin-right: auto; width: 975px; }*/
#site-nav li { display: inline-block; min-width: 175px; font-size: 17px; font-weight: bold; text-align: center; padding: 15px 25px; }
#site-nav li a { text-decoration: none; }

#toolbar { float: right; position: absolute; right: 40px; top: 70px; }
#theme-switcher { position: absolute; top: 20px; right: 10px; }

.clear, .all, .question { display: none; }

#changelist-filter { height: 60px; margin-bottom: 5px; }
#changelist-filter li { display: inline; }
#changelist-filter li div { float: left; min-width: 150px; padding-right: 25px; }
#changelist-filter li div span { font-weight: bold; }
#changelist-filter li div select,
        .actions select, #result_list select { min-width: 125px; height: 30px; background-color: white; padding: 5px; font-size: 14px; }
#changelist-filter-submit,
        #action-submit, .object-tools div.btn,
        #search-btn { width: 75px; height: 30px; font-size: 10px; background-color: white; border: solid 1px black; font-weight: bold; }
#changelist-filter-submit { margin-top: 10px; }
.paginator { position: fixed; z-index: 1024; bottom: 20px; background: transparent !important; color: white; font-weight: bold; margin-left: 15px; width: 100%; }
.paginator a, .paginator .this-page { padding-left: 6px; padding-right: 6px; font-size: 12px; color: white; font-weight: bold; }
.paginator .this-page { padding-top: 2px; padding-bottom: 2px; }
.paginator input[type=submit] { position: absolute; right: 25px; }

/*
table thead th.sortable:hover {
    background: white url(../img/nav-bg-reverse.gif) 0 -5px repeat-x;
}
*/

thead th.sorted a.sortremove {
    visibility: hidden;
}

table thead th.sorted:hover a.sortremove {
    visibility: visible;
}

table thead th.sorted .sortoptions {
    display: block;
    padding: 4px 5px 0 5px;
    float: right;
    text-align: right;
}

table thead th.sorted .sortpriority {
    font-size: .8em;
    min-width: 12px;
    text-align: center;
    vertical-align: top;
}

table thead th.sorted .sortoptions a {
    width: 14px;
    height: 12px;
    display: inline-block;
}

table thead th.sorted .sortoptions a.sortremove {
    background: url(../admin/img/sorting-icons.gif) -4px -5px no-repeat;
}

table thead th.sorted .sortoptions a.sortremove:hover {
    background: url(../admin/img/sorting-icons.gif) -4px -27px no-repeat;
}

table thead th.sorted .sortoptions a.ascending {
    background: url(../admin/img/sorting-icons.gif) -5px -50px no-repeat;
}

table thead th.sorted .sortoptions a.ascending:hover {
    background: url(../admin/img/sorting-icons.gif) -5px -72px no-repeat;
}

table thead th.sorted .sortoptions a.descending {
    background: url(../admin/img/sorting-icons.gif) -5px -94px no-repeat;
}

table thead th.sorted .sortoptions a.descending:hover {
    background: url(../admin/img/sorting-icons.gif) -5px -115px no-repeat;
}


#result_list thead, #formset_removals thead, fieldset.module thead,
    .tablewrapper thead, #change-history thead { background-color: #373737; color: white; }
.inline-related h3 { background: #373737; color: white; font-size: 16px; padding: 8px; }
.inline-related .delete label { font-size: 14px !important; color: white !important; font-weight: bold !important;}
#result_list thead a { color: white; }
#result_list tbody, #change-history tbody { border: solid 1px #373737; border-top: solid 3px #373737; }
#result_list input[type=text] { width: 110px; }
#result_list select { width: 175px; }

#action-panel { margin-bottom: 5px; }
.actions label { font-size: 14px; }

.object-tools div.btn { min-width: 75px; width: auto; padding-left: 10px; padding-top: 10px; padding-bottom: 10px; height: 40px; }
.object-tools div.btn a { text-decoration: none; color: black;}
body.change-form .object-tools { z-index: 999; position: absolute; top: 80px; right: 15px; }
body.change-list .object-tools { float: right; }

body.change-form ul.object-tools { list-style: none outside none; }
body.change-form ul.object-tools li { padding: 10px; display: inline-block; margin-left: 5px; }
body.change-form ul.object-tools li a { color: white; font-weight: bold; }

#changelist-filter-submit, #action-submit { height: 30px; padding: 0; }
.object-tools div.btn a { color: white; font-weight: bold; }

.submit-row {
    /*background: url("../admin/img/nav-bg.gif") repeat-x scroll 0 100% white;*/
    background: transparent;
    border: none;
    bottom: -5px;
    left: 0;
    margin: 5px 0;
    overflow: hidden;
    padding: 5px 7px;
    position: fixed;
    text-align: right;
    width: 99%;
    z-index: 1024;
    height: 55px;
}

.submit-row input[type=submit], .submit-row input[type=button] { padding: 5px; }

#footer { position: fixed; bottom: 0; height: 65px; width: 100%; z-index: 1000; }
body.login #footer, body.login .submit-row { position: inherit; }
body.login .clear, body.login .all, body.login .question { display: block; }
body.login #content, body.login #container { background-color: #f2f2f0 !important; }

#save_msg { color: #dc6060; padding-left: 15px; font-size: 12px; font-weight:bold; }

.submit-row .deletelink { color: #993333; font-weight: bold; }
.active-link, .inactive-link { float: left; }
.form-row.field-active, .form-row.field-is_active { border: solid 1px lightgrey; }

.arrow-right {
  width: 0;
  height: 0;
  border-top: 22px solid transparent;
  border-bottom: 22px solid transparent;

  border-left: 22px solid #dc6060;
  float: left;
}

.circle-small {
        border-radius: 50%;
        width: 15px;
        height: 15px;
        display: inline-block;
        margin-right: 10px;
}

.left { float: left; }
.right { float: right; }
td.right, th.right { float: none; text-align: right; }

div.field-box { position: relative; }
div.field-box label { position: absolute; left: 5px; top: 5px; }
label.label-med { width: 250px; }
div.field-box select, div.field-box textarea { position: absolute; left: 115px; top: 5px; }
div.field-box textarea { height: 125px; }
.fa-plus-circle { color: #6cc480; }

/*[readonly] { background-color: #e2e1cf !important; }*/
[readonly] { background-color: transparent !important; border: none; }

/* Webmapper styles */
#map-container { position: relative; }
#map-options { max-height: 173px; }
#map-options .left { padding-right: 25px; padding-top: 15px; }
#map-options label { display: inline-block; width: 110px; }
#map-options .label-med { width: 250px; }
#map-options label.label-above { display: block; }
#map-options input.label-above { width: 300px; }
#map-options textarea { width: 325px; height: 125px; }
.form-accordion { float: left; }
.form-accordion ul, .sub-accordion { list-style: none outside none; padding: 0; margin: 0; }
.form-accordion li, .sub-accordion li { width: 230px; display: block; height: 45px; cursor: pointer; }
.form-accordion li div.accordion-label { width: 195px; padding-left: 25px; padding-top: 10px; padding-bottom: 10px;
                                                                                                font-weight: bold; border: solid 1px #ecece9; background-color: #f2f2f0;
                                                                                                height: 45px; float: left; }
.form-accordion li div.arrow-right { display: none; }
.form-accordion li.selected div.accordion-label { background-color: #dc6060; border: solid 1px #dc6060; color: white; }
.sub-accordion .sub-accordion-label { width: 195px; padding-left: 25px; padding-top: 10px; padding-bottom: 10px;
					font-weight: bold; background-color: #f2f2f0; border: solid 1px #e2e1cf;
					height: 45px; float: left; color: white; font-size: 12px; }
.form-accordion li.selected div.arrow-right { display: block; }

#map-elements h5 { font-weight: bold; }

#map-legend { width: 250px; height: 200px; border-right: solid 2px #f2f2f0; border-bottom: solid 2px #f2f2f0; position: absolute;
                        z-index: 999999; background-color: white; padding: 15px; }
#map-legend ul { list-style: none outside none; padding: 0; }
.legend-row input, #legend-title input { border: 0; background-color: transparent; width: 175px; }

#map-attribute-panel { position: absolute; right: 0; top: 0; width: 25%; background-color: #f2f2f0; }
#map-attribute-panel .accordion-item-header { padding: 10px; font-weight: bold; border-bottom: solid 2px #ecece9; border-top: solid 2px #ecece9; cursor: pointer; }
#map-attribute-panel .accordion-item-content { padding: 10px; overflow: auto; background-color: #f2f2ea; }
#map-attribute-panel .accordion-item-content h3 { text-decoration: underline; }
#close-attrs-panel { padding: 10px 7px 7px; position: absolute; bottom: 65px; font-size: 14px;}
#map-data .left:last-child .field-box { left: 450px; }

/* modal specific rules */
.modal { z-index: 99999999; }
.modal-header { color: white; font-weight: bold; font-size: 14px; }
.modal-body { background-color: #f9f9f9; }
.modal-footer { background-color: #f2f2f0; }
.modal label { font-size: 14px; font-weight: bold !important; }


/* override the selectize.js css */
.selectize-control { width: 265px; display: inline-block; }
.selectize-control .item { line-height: inherit; }
.selectize-input { padding: 0 0 0 5px; min-height: inherit; height: 25px; }
.selectize-dropdown-content .highlight { background: none !important; border: none !important; padding: 0 !important; margin: 0 !important; }

.form-row { min-height: 40px; }


/* page specific rules */
#budgetperiod_set-group { margin-bottom: 150px; }
#inspectionitem_set-group fieldset { overflow-x: scroll; overflow-y: hidden; margin-bottom: 130px !important; }
body.dashboard #admin .panel-silvics { min-height: 425px; }
/*body.dashboard #admin .col-sm-3 { min-height: 425px; }*/
body.budget-budget #id_name { width: 536px; }
body.budget-activity .field-stand select { width: 325px; }
#inventoryallocation_set-group fieldset.module { overflow-x: scroll; }
#portal-shortcuts ul { line-height: 30px; }
#portal-shortcuts .byline { font-size: 13px; line-height: 5px; }
#allocation_table { width: 1230px; }

/* screen size specific rules */
@media screen and (max-width:1645px) {
	body { font-size: 12px; }
	.form-row label, .form-row input, .form-row select, .form-row p, .selectize-input .item, fieldset label { font-size: 12px; }


	#portal-shortcuts li { font-size: 12px; }
	#portal-shortcuts .byline { font-size: 10px; line-height: 2px; }
}

@media screen and (max-width:1366px) {
	#navbar { height: 45px; }
	body, textarea, #navbar a, .accordion-label, .object-tools a { font-size: 12px; }
	h1 { font-size: 30px; }
	body.change-form ul.object-tools li { padding: 5px; }
	.form-accordion li, .sub-accordion li { width: 150px; height: 30px; }
	.form-accordion li div.accordion-label { width: 140px; height: 30px; }
	.sub-accordion .sub-accordion-label { width: 140px; font-size: 10px; }
	.sub-accordion .sub-accordion-label.blank { padding-left: 5px; font-size: 9.5px;}
	.arrow-right { border-top: 15px solid transparent; border-bottom: 15px solid transparent; }
	.arrow-right { border-left-width: 10px; border-left-style: solid; }
	.form-content .mini-form.col-sm-6 fieldset.module .col-sm-12 select { width: 435px; }
	.form-content fieldset.module textarea, .colM .aligned .vLargeTextField { width: 425px; }
	.form-row label, .form-row input, .form-row select, .form-row p,
		.selectize-input .item, fieldset label { font-size: 9px; }
	.submit-row, .submit-row a { font-size: 10px; }
	legend { font-size: 16px !important; }
	#site-nav li { padding: 5px 20px; }
	#branding img { height: 45px; }
	.submit-row { height: 35px; }
	#footer { height: 40px; }
	.paginator { bottom: 0; }
	.paginator a, .paginator .this-page { font-size: 11px; }
	li.dashboard-panel { padding: 20px 0px 20px 0px; }
	ul.idx-tabs li { font-size: 14px; padding: 10px; }
	#changelist-filter li div select, .actions select, #result_list select {
		min-width: 85px; height: 20px; font-size: 12px; width: 275px; padding: 0;
	}
	#changelist-filter-submit, #action-submit, .object-tools div.btn, #search-btn { font-size: 12px; }
	#changelist-filter-submit { margin-top: 0; }

	#inventoryallocation_set-group fieldset.module { font-size: 10px; }

	/* page specific rules */
	#portal-shortcuts li { font-size: 10px !important; }
	#portal-shortcuts ul { line-height: 20px; }
	#allocation_table { width: 768px; }
}

@media screen and (max-width:991px) {
	body.dashboard #admin .panel-silvics { min-height: 50px; }
}

@media screen and (max-width:970px) {
	/* see if we can combine this with 990px above */
	#map-legend { width: 150px; height: 100px; font-size: 10px; padding-top: 5px; }
	#map-legend h4 { font-size: 10px; }
	.circle-small { width: 8px; height: 8px; }
	.legend-row input, #legend-title input { width: 75px; }
	#map-options, .form-accordion, .accordion-label { font-size: 9px; }
	.accordion-label { font-size: 12px; }
	#map-data select { width: 125px; height: 16px; font-size: 8px; }
	#map-data select[multiple] { height: 65px; }
	#map-data .left:last-child > .field-box { left: 250px; }
	#map-options-accordion .accordion-label { height: 22px; }
	.form-accordion li, .sub-accordion li { height: 20px; }
	.arrow-right { border-left-width: 10px; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
	.form-accordion li div.accordion-label { padding-left: 15px; padding-top: 5px; }
	#map-data .left:last-child .field-box { left: 250px; }
	#footer { height: 20px; }
	#close-attrs-panel { bottom: 15px; font-size: 10px; }
	#map-attribute-panel .accordion-item-header { padding: 5px; font-size: 8px; }
	#branding img { height: 35px; }
	#site-nav ul li a { font-size: 9px; }
	#site-nav ul { padding-left: 0; }
	#site-nav li { min-width: 125px; }
	#site-nav li:hover { padding-top: 0; }
	#navbar { height: 35px; }

}

@media screen and (max-width:768px) {
	#applications .panel { min-height: 0; }
	#site-nav li {
		padding: 3px 0;
		min-width: 125px;
	}
	.form-content .mini-form.col-sm-6 fieldset.module .col-sm-12 select {
		width: 275px;
	}

	body.budget-budget #id_name {
		width: 275px;
	}
	#portal-shortcuts {
		display: none;
	}
}

@media screen and (max-width:600px) {
	#site-nav li {
		min-width: 95px;
	}
}

/*Bit o code to hide the Save and Add Another Buttons*/
[type=submit][name=_addanother] {display: none;}


#id_groups_from {
    height: 350px !important;
}