/* Custom CSS for the calpolystandard theme

History:
2012-09-06 Added cp_admin_link properties to handle the "Administer Site" link at the top of a page
2012-09-11 Added closure_region, region_header_content, cp_update_level, and temporary fix for doublegreen line #mainColFull
2012-10-10 Removed override/temporary fix for mainColFull top content line (greenbar) as CP template 5.1.0 was implemented
2013-08-14 Added overrides to make the vertical tabs (.vertical-tabs) within the node editing page function better.
2013-08-14 Added z-index override to #cp in order to allow D7's toolbar module to be above all.
2013-09-27 Added overrides to #dailyBox .contextual-links-wrapper to display gear properly. Work done in DR-444.
2013-11-14 Added table_noStyle <a> styling to remove green background and style correctly
2013-11-15 Added styling to table to override the border-collapse of system.css
2014-01-10 Added styling to fix the more_news article list page
2014-01-13 Added styling to fix the "moderate article" page links changing size on hover
2014-01-15 Added styling to fix the even-odd table striping for the Blocks admin page
2014-09-18 Per DR-724 Override form widths for input width:initial, input [type=text] width:initial,
           textarea width:initial so no width specified. Removed width from input[type=password] and added
           input[type=email] padding: 5px 1% l] to override width and control padding.
           (with these changes user must set width using Webform module when creating field.
           Allows user greater layout freedom)
2015-04-09 Added checkbox and radio button positioning fixes
           Added fixes for link layout of menu-utility-nav and added styling for #contact
           Added fixes for webform report table layout and styling
*/

/*---| "ADMINISTER SITE" LINK - appears at top of home page when authenticated |----------*/
#cp_admin_link {
  font-family: verdana, "Calibri", Arial, Helvetica, sans-serif;
  margin: 10px 0;
}

#cp_admin_link p {
  font-family: verdana, "Calibri", Arial, Helvetica, sans-serif;
   color:#336699;
  font-size: .9em;
  line-height: 1.3em;
  font-weight: bold;
  margin: 0;
  padding: 0;
}

#cp_admin_link p a {
  font-family: verdana, "Calibri", Arial, Helvetica, sans-serif;
  margin-top:0;
  font-weight: bold;
   text-decoration: underline;
}

#cp_admin_link a:link, #cp_admin_link a:visited {
  font-size: .9em;
  color: #336699;
}

#cp_admin_link a:hover, #cp_admin_link a:focus, #cp_admin_link a:active {
  font-size: .9em;
  color:#6F6345;
}

/*---| HEADER CONTENT REGION - Don't show anything, used for analytics scripts only |---*/
.region-header-content {
  display: none;
}


/*---| ADMINISTER MENU Expand and Collapse |-------------*/
ul li.leaf,
ul li.expanded,
ul li.collapsed {
  list-style-type: none;
  list-style-image: none;
}


/*-----------------------------------------*/
.draggable a.tabledrag-handle{
  border:0 none;
}

/*---|FORM ELEMENTS|---*/

form input {
  width: initial;
}

form input[type="text"] { /* overrides specificity called out in cp_screen.css */
  width: initial;
}

form input[type="email"] { /* handles override of width and control of padding, not in cp_screen.css */
  width: initial;
  padding: 5px 1%;
}

form input[type="password"] {
  padding: 5px 1%;
}

form input[type="radio"] {
  margin: 3px 2px 6px 0;
}

form input[type="checkbox"] {
  margin: 4px 2px 6px 0;
}

form textarea {
  width: initial;
}


/*---| UNDERLINES LINKS IN VIEWS OUTPUT - e.g. Block Links, Page Links, Node Alias and Title, Node Input Format|---*/
#mainLeft .views-row a, #mainLeftFull .views-row a, #mainColFull .views-row a {
  text-decoration: underline;
}



/*---| CLOSURE REGION - Don't show anything, used for analytics scripts only |---*/
.region-closure {
  display: none;
}


/*---| CP UPDATE NOTICE - appears at bottom of pages when authenticated |--------*/
#cp_update_level {
  text-align:center;
  font-size:12px;
  padding-top: 20px;
}

/*---| #CP UNDERNEATH TOOLBAR MODULE - z-index of toolbar:600, change #cp to 550|---*/
#cp{
  z-index:550;
}

/*---| NODE/EDIT VERTICAL TABS - Style so that they fill the width and look nice when on node/edit|---*/
#content .vertical-tabs{
  margin: 1em 0em 1em 0em;
}

#content .vertical-tabs ul.vertical-tabs-list{
  list-style:none;
  padding-left:0px;
  float:left;
  margin:-1px 0 -1px 0;
  width:12em;
}

#content .vertical-tabs ul.vertical-tabs-list li{
  line-height:0;
  margin-left:0;
}

#content .vertical-tabs ul.vertical-tabs-list li a {
  line-height: 1em;
}

#content .vertical-tabs ul.vertical-tabs-list li a strong{
  font-size:12px;
}

#content .vertical-tabs ul.vertical-tabs-list li a span{
  font-size:10px;
}


/*---| DAILYBOX CONTEXTUAL LINKS FIX |----------------*/
#rightCol #dailyBox .contextual-links-wrapper{
  border: none;
  background: none;
  padding: 0;
  overflow: visible;
}

/*---| PAGE&BLOCK LINKS table_noStyle th fix | ------------*/
#mainLeftFull .view-page-links-view-d7 table.table_noStyle th,
#mainLeftFull .view-block-links-view-d7 table.table_noStyle th,
#mainLeftFull .view-node-author table.table_noStyle th{
  border-bottom:1px solid #29551a;
  text-transform:none;
}

#mainLeftFull .view-page-links-view-d7 table.table_noStyle th a:link,
#mainLeftFull .view-page-links-view-d7 table.table_noStyle th a:visited,
#mainLeftFull .view-block-links-view-d7 table.table_noStyle th a:link,
#mainLeftFull .view-block-links-view-d7 table.table_noStyle th a:visited,
#mainLeftFull .view-node-author table.table_noStyle th a:link,
#mainLeftFull .view-node-author table.table_noStyle th a:visited{
  color: #29551a;
  background:none;
  text-transform:none;
}

/*---| Table border collapse fix | ------------*/
table {
  border-collapse: separate;
  border-spacing:  2px;
}

/*---| Autocomplete dropdown ul not styled .views-exposed-form #autocomplete ul fix |---------*/
.views-exposed-form #autocomplete ul{
  list-style: none;
  list-style-image: none;
  margin: 0;
  padding:0;
}
.views-exposed-form #autocomplete ul li{
  margin:0;
}

/*======| DR-549 Toolbar needs to be able entire page as #header ul has zindex of 900. |========*/
#toolbar{
  z-index:1000;
}


/*======| DR-593 Fix Recent News display with imageCaptionRight images inside them |========*/
#mainLeftFull div.articleEntry p.subtitle,
#mainLeft div.articleEntry p.subtitle {
  margin-bottom: 0px;
  border: 0;
}

.articleEntry hr {
  margin-top: 0px;
}

#mainLeft div.articleEntry div.newsThumbnail,
#mainLeftFull div.articleEntry div.newsThumbnail {
  float: none;
  margin-bottom: 0px;
}

#mainLeft div.articleEntry p.subtitle,
#mainLeftFull div.articleEntry p.subtitle {
  width: inherit;
}

#mainLeft div.articleEntry div.newsThumbnail,
#mainLeftFull div.articleEntry div.newsThumbnail {
  width: 100%;
}

#mainLeft .articleEntry a.continueReading,
#mainLeftFull .articleEntry a.continueReading {
  cursor: default;
  display: inline-block;
}

.articleEntry .newsThumbnail {
  margin: 0px;
}

#mainLeft .articleEntry div.continueReading,
#mainLeftFull .articleEntry div.continueReading {
  float: right;
  width: inherit;
  font-family: "Calibri",Arial,Helvetica,sans-serif;
  font-size: 13px;
}

#mainLeft .articleEntry div.continueReading a,
#mainLeftFull .articleEntry div.continueReading a {
  font-weight: bold;
}

/*======| DR-528 Fixing a font-size change on :hover for certain li elements |=======*/
#mainLeft ul li a:link,
#mainLeftFull ul li a:link {
  font-size: inherit;
}


/*======| DR-64 Fixing table striping for Blocks Admin Page |=======*/
.region-title.even, .region-title.odd {
  background-color: #29551a;
  color: white;
  font-weight: bold;
  text-transform: uppercase;
}

/*======| DR-1212 Fix Form CSS for Checkbox and Radio button positioning |=======*/
.multicolumncheckboxesradios-column,
.multicolumncheckboxesradios-column-heading,
.multicolumncheckboxesradios-row-heading,
.multicolumncheckboxesradios-heading-corner {
  font-weight: normal;
  padding: 5px 10px 5px 0;
  width: 10em;
}

/*======| DR-1034 Fix table styling on Webform Report results tables |=======*/
table.webform_report .even {
  background-color: #e6e4dc;
}
table.webform_report .odd {
  background-color: #f6f3ec;
}
td.active {
  background-color: inherit;
}
table.webform_report td,
table.webform_report th {
  padding: 4px 5px;
  text-align: left;
  line-height: 17px;
}

/*======| No ticket for this - letting the admin tabs be pushed to the next line when editing a page |======*/
ul.tabs.primary {
  white-space: normal;
}
ul.tabs.primary li {
  display: inline-block;
}

/*======| DR-1223 Contact link - modify cp_custom.css to make new link layout correctly |=======*/
#header ul li#quicklinks, #header ul li#azindex, #header ul li#maps, #header ul li#contact {
  position: relative;
  margin-left: 0px;
  overflow: visible;
  margin-right: 10px;
  padding-top: 0;
  padding-bottom: 0;
}
#header ul li#quicklinks a, #header ul li#azindex a, #header ul li#maps a, #header ul li#contact a {
  padding: 5px 15px 5px 15px;
  font-weight: normal;
  white-space: nowrap;
}
#header ul li#maps, #header ul li#contact {
  margin-left: 0px;
  margin-right:10px;
  width:auto;
}
#header ul li#maps a, #header ul li#contact a{
  padding-left: 0px;
  padding-right: 2px;
  background:none;
  margin: 0 0.5em 0 0.5em;
}

/*======| DR-1315 Theme - Publishing managment area is incorrectly right justified |=======*/
div.vertical-tabs {
  border: 0;
  margin: 0;
}
div.vertical-tabs ul.vertical-tabs-list {
  margin: 0 0 10px 0 !important;
  padding: 0 !important;
}
div.vertical-tabs ul.vertical-tabs-list li {
  list-style: none;
  margin-left: 0 !important;
}