﻿/*foundation resets for SharePoint*/
*, *:before, *:after {
	-moz-box-sizing: content-box;
	-webkit-box-sizing: content-box;
	box-sizing: content-box; /*border-box causes many issues with SP*/
}
* .columns, * .columns:before, * .columns:after,
* .columns *, * .columns *:before, * .columns *:after {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box; 
}
img {
	max-width: none;
	width: auto;
}
* .columns img {
	max-width: 100%; /*for images inside span grid*/
}
#scriptWPQ2 img, img.ms-webpart-menuArrowImg, #applist img  {
	width: auto; /*within a span may still need to have width of image not 100% for SP2013 OOTB features/imges*/
	max-width: none;
}
.ms-siteactions-imgspan {
	float: none;
	margin: 0px;
}
.navbar-inner {
	padding: 0px;
}
/*foundation general table override*/
/*foundation table layouts cause major issues on site setting pages templates, add them back for specific tables you use*/
table { background: transparent; -webkit-border-radius: 0px; -moz-border-radius: 0px; -ms-border-radius: 0px; -o-border-radius: 0px; border-radius: 0px; margin: 0px; border: none; }
table thead tr th, table tfoot tr th, table tbody tr td, table tr td, table tfoot tr td { display: table-cell; font-size: 14px; line-height: 18px; text-align: left; }
table thead tr th, table tfoot tr td { padding: 0px; font-size: 14px; font-weight: bold; color: #222; }
table thead tr th:first-child, table tfoot tr td:first-child { border-left: none; }
table thead tr th:last-child, table tfoot tr td:last-child { border-right: none; }
table tbody tr:nth-child(even) { background: transparent; }
table tbody tr td { color: #333; padding: 0px; vertical-align: top; border: none; }
/*end foundation tables*/

* .columns .ms-WPBody table, * .columns .ms-siteSettings-root table {
    background: transparent none;
    border: none;
    border-radius: none;
    margin: 0px;
}
* .columns .ms-WPBody table tbody tr td, * .columns .ms-siteSettings-root table tbody tr td {
    border: none;
    padding: 0px;
}
* .columns .ms-siteSettings-root table tbody tr td.ms-linksection-columnBox {
	padding-right: 50px;
}
label {
    display: inline-block;
}
input[type="text"], input[type="password"], input[type="date"], input[type="datetime"], input[type="email"], input[type="number"], input[type="search"], input[type="tel"], input[type="time"], input[type="url"], textarea {
	display: inline-block;
	width: inherit;
}
select {
	display: inline-block;
	width: auto;
}
.ms-dialog input[type="text"], .ms-dialog input[type="password"] {
	width: 100%;;
}
.ms-dialog .sp-peoplepicker-topLevel, .ms-dialog .sp-peoplepicker-topLevelDisabled {
    width: 371px !important;
}

h1,h2,h3,h4,h5,h6 {
	margin-top:0;
	margin-bottom:0;
}

#page .item {padding-left:0;padding-top:0;} /* item is a SharePoint and a Cycle-Slideshow class, this resets a problem with padding on items within the slideshow. */
/*end foundation resets*/
