/**
 * @file
 * Page Styling
 *
 * Style the markup found in page.tpl.php. Also includes some styling of
 * miscellaneous Drupal elements that appear in the $content variable, such as
 * ul.links, .pager, .more-link, etc.
 */


/*
 * Body
 */

body {
  margin: 0;
  padding: 0;
}

/* force vertical scroll bar to appear */
html, body {
  height: 100%;
  margin: 0 0 100px;
  padding: 0;
}

#page {
}

#page,
.region-bottom {
  border: 1px #000 solid;
}
#page {
  border-bottom: none;
}

.lt-ie9 #page,
.lt-ie9 .region-bottom {
	border: 1px #000 solid;
}

.lt-ie9 #page {
	border-bottom: none;
}

/*
 * The skip-link link will be completely hidden until a user tabs to the link.
 * See the element-focusable rule in system.base.css.
 */

#skip-link {
  margin: 0;
}
#skip-link a,
#skip-link a:visited {
  display: block;
  width: 100%;
  padding: 2px 0 3px 0;
  text-align: center;
  background-color: #666;
  color: #fff;
}

/*
 * Header
 */

#header {
}

#logo { /* Wrapping link for logo */
  float: left; /* LTR */
  margin: 0;
  padding: 0;
}
#logo img {
  vertical-align: bottom;
}

#name-and-slogan { /* Wrapper for website name and slogan */
  float: left;
}

#site-name { /* The name of the website */
  margin: 0;
  font-size: 2em;
  line-height: 1.5em;
}
#site-name a:link,
#site-name a:visited {
  color: #000;
  text-decoration: none;
}
#site-name a:hover,
#site-name a:focus {
  text-decoration: underline;
}

#site-slogan { /* The slogan (or tagline) of a website */
  margin: 0;
  font-size: 1em;
}

.region-header { /* Wrapper for any blocks placed in the header region */
  clear: both; /* Clear the logo */
}

/*
 * Main (container for everything else)
 */

a:link,
a {
  color: #96451D;
}

#main {
	background: url(../images/main-bg.png) 0 0 repeat-y;
}

.no-sidebars #main {
	background: #FFF;
}

.front #main,
.node-type-slide-node #main {
	padding-top: 26px;
}

/*
 * Content
 */
 
 /* spacing for lists in body of page */
#content ol > li {
  /* Sets 1 unit of vertical rhythm on the top and bottom margin. */
  margin: 1.5em 0;
}


.sidebar-second #content {
/* 
	height: 423px;  to remove internal scrolling
 */
  min-height: 423px;
/* 
	overflow: auto;
 */
	overflow: hidden;
	padding: 0 36px;
/* 
	width: 831px;
 */
}

/* for map page for now */
.page-node-11.sidebar-second #content {
  width: 902px;
  padding: 0;
  min-height: inherit;
  height: 420px;
  overflow: hidden;
}

article {
  margin-bottom: 20px;
}

/* for map page for now */
.page-node-11 article {
  margin-bottom: 0;
}

.sidebar-second.node-type-bio #content {
  padding-right: 21px;
	width: 903px;
}

.front #content,
.node-type-slide-node #content {
	height: auto;
	overflow: hidden;
	padding: 0;
	width: 903px;
}

#content:focus {
	outline: none;
}

.region-highlighted {
}

.breadcrumb { /* The path to the current page in the form of a list of links */
}
.breadcrumb ol {
  margin: 0;
  padding: 0;
}
.breadcrumb li {
  display: inline;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

h1.title, /* The title of the page */
h2.node-title, /* Title of a piece of content when it is given in a list of content */
h2.block-title, /* Block title */
h2.title, /* Comment section heading */
h2.comment-form, /* Comment form heading */
h3.title,
h2.pane-title { /* Comment title */
  margin: 0;
}

h2, h3, .intro-text {
	color: #8d7e5e;
	font-family: "trajan-pro-3", serif;
	font-weight: 600;
}

.intro-text {
  font-size: 40px;
}

.node-type-bio .field-name-field-position, .node-type-bio .field-name-field-division,
#page-title {
	background: url(../images/title-bg.png) 0 bottom no-repeat;
	color: #8d7e5e;
	font-family: "trajan-pro-3", serif;
	font-size: 24px;
	font-weight: normal;
	margin: 15px 0 5px 36px;
/* 
	max-width: 450px; why is this here?
 */
	padding: 0 200px 15px 0;
	line-height: 1em;
}

.lt-ie9.node-type-bio .field-name-field-position, 
.lt-ie9.node-type-bio .field-name-field-division,
.lt-ie9 #page-title,
.lt-ie9 h2,
.lt-ie9 h3,
.lt-ie9 .intro-text {
  font-family: 'ff-meta-serif-sc-web-pro';
  font-weight: 500;
}


.page-node-29 #page-title {
  background: none; /*override for corp responsiblity page */
  padding: 0;
  margin-left: 0;
  max-width: 600px;
}

.node-type-bio #page-title {
  background: none;
  margin-bottom: 0;
  padding-bottom: 4px;
  max-width: 310px;
}

.node-type-bio .field-name-field-position, .node-type-bio .field-name-field-division {
  background: none;
  padding: 0 0 4px 0;
  margin: 0;
}

.node-type-bio .field-name-field-position {
  font-size: 21px;
}

.node-type-bio .field-name-field-division {
  font-size: 19px;
}

.node-type-bio .field-name-body {
	background: url(../images/title-bg.png) -180px top no-repeat;
	margin: 0;
	padding: 10px 0;
}

.node-type-bio .field-name-body p {
	margin-top: 0;
}
#page-title.graphic {
	margin: 0 0 0 36px;
}

.gtitle {
	padding-top: 20px;
}

.node-type-landing-page #content .field-name-body {
  max-width: 350px;
}

tr.even { /* Some tables have rows marked even or odd. */
  /* background-color: #eee; */ /* Drupal core uses a #eee background */
}

tr.odd {
  /* background-color: #eee; */ /* Drupal core uses a #eee background */
}

div.messages { /* Important messages (status, warning, and error) for the user. See also the declarations in messages.css. */
  margin: 1.5em 0; /* Drupal core uses "6px 0" margin */
}
div.messages ul {
  margin-top: 0;
  margin-bottom: 0;
}

div.status { /* Normal priority messages */
}

div.warning,
tr.warning { /* Medium priority messages */
  /* border: 1px solid #f0c020; */ /* Drupal core uses: 1px solid #f0c020 */
}

div.error,
tr.error { /* High priority messages. See also the .error declaration below. */
}

.error { /* Errors that are separate from div.messages status messages. */
  /* color: #e55; */ /* Drupal core uses a #e55 background */
}

.warning { /* Warnings that are separate from div.messages status messages. */
  /* color: #e09010; */ /* Drupal core uses a #e09010 background */
}

.tabs { /* See also the tabs.css file. */
}

.region-help { /* Help text on a page */
}

.more-help-link { /* Link to more help */
}

.region-content { /* Wrapper for the actual page content */
}

ul.inline { /* List of links generated by theme_links() */
  display: inline;
  padding: 0;
}
ul.inline li {
  display: inline;
  list-style-type: none;
  padding: 0 1em 0 0; /* LTR */
}

span.field-label { /* The inline field label used by the Fences module */
  padding: 0 1em 0 0; /* LTR */
}

.item-list .pager { /* A list of page numbers when more than 1 page of content is available */
  padding: 0;
}
.item-list .pager li { /* Each page number in the pager list */
  padding: 0 0.5em;
}

.feed-icon { /* The link to the RSS or Atom feed for the current list of content */
}

.more-link { /* Aggregator, blog, and forum more link */
}

/*
 * First sidebar (on left in LTR languages, on right in RTL)
 *
 * Remember to NOT add padding or margin to your .region-sidebar-first
 * (see the layout.css file.)
 */

.region-sidebar-first {
}

/*
 * Second sidebar (on right in LTR languages, on left in RTL)
 *
 * Remember to NOT add padding or margin to your .region-sidebar-second
 * (see the layout.css file.)
 */

.region-sidebar-second {
	position: absolute;
	top: 67px;
}

/*
 * Footer
 */

#footer {
}

/*
 * Page bottom
 */

.region-bottom { /* Wrapper for any blocks placed in the page bottom region */
	border-top: 1px #707070 solid;
	padding: 5px 0;
}

#slider .pane-node-body {
/* 
	height: 174px;  to remove internal scrolling
 */
	height: auto;
	min-height: 174px;	
	overflow: auto;
	padding: 10px 36px;
	width: 831px;
}

#slider .pane-node-body p {
  margin: 0 0 10px;
}

.page-search .form-wrapper {
  margin-top: 1.5em;
}

.page-news-archive .views-field-title {
  margin-top: 1em;
}

/* misc */

.text-col {
  float: left;
}

.clear {
  clear: both;
}

/* temp fix for too much space for list following a paragraph */
ol, ul {
  margin-top: 0;
}

.page-sitemap h2 {
  display: none;
}

#pdf_reader {
  margin-bottom: 1.5em;
}

/* 
#shipping-routes {
  background: url(/sites/default/files/images/shipping-routes-map.jpg);
  width: 902px;
  height: 400px;
  margin-top: 20px;
}
 */


/* header new */
#logo img {
  display:block;
  margin:0 auto;
}
#logo {
  float:none;
  background:url(/sites/all/themes/pasha/images/pasha_header_bg.png) repeat-x;
  display:block;
}

/* responsive search */
#block-block-1 {
  display:none;
}



/* NEW */
/* 
.center-graphs-wrapper {
  margin:0 auto;
  width:100%;
}
 */

.center-graphs {
  text-align:center;
}
.center-graphs p {
  float:left;
  text-align:center;
  display:inline-block;
}
.center-graphs:after {
  content:'';
  display:block;
  clear: both;
}
.center-graphs p {
  min-width:160px;
}
.center-graphs.half p {
  width:50%;
}
.center-graphs.third p {
  width:33%;
}
.center-graphs.quarter p {
  width:25%;
}
.center-graphs.fifth p {
  width:20%;
}

#shoppertext {
  text-align:center;
}
  
#saposition {
  position:fixed;
  bottom:10px;
  right:10px;
  z-index:999;
}
.page-node-104 #saposition,
.page-node-105 #saposition {
  bottom: 100px; /*move above talkdesk */
}

/* image captions */
span.caption {
  display:block;
}
span.caption p {
  text-align: center;
  margin-top: 0;
  font-style: italic;
}

/* colorbox - move close to upper right */
#colorbox #cboxClose {
  top: 0;
  right: 0;
}
#cboxLoadedContent {
  margin-top:28px;
  margin-bottom:0;
}


@media all and (max-width: 460px) {
  .center-graphs.half p,
  .center-graphs.third p,
  .center-graphs.quarter p,
  .center-graphs.fifth p {
    width:100%;
  }
  .node-article .col {
    width:100% !important;
  }
}

/* from it page */
#logo img {
  display:block;
  margin:0 auto;
}
#logo {
  float:none;
  background:url(/sites/all/themes/pasha/images/pasha_header_bg.png) repeat-x;
  display:block;
}
/* 

.it-frame {
    position: relative;
    padding-bottom: 64%;
    height: 0;
    overflow: hidden;

    overflow:auto;
    -webkit-overflow-scrolling:touch;
}
.it-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height:938px;
}
 */

iframe#ifITContent {
  width: 100%;
  height:1150px;
/* 
  min-height:938px;
 */
  overflow:auto;
  -webkit-overflow-scrolling:touch;
}

#block-block-3 {
  display:none;
}

a.button-link {
	-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
	-webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
	box-shadow:inset 0px 1px 0px 0px #ffffff;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf));
	background:-moz-linear-gradient(top, #ededed 5%, #dfdfdf 100%);
	background:-webkit-linear-gradient(top, #ededed 5%, #dfdfdf 100%);
	background:-o-linear-gradient(top, #ededed 5%, #dfdfdf 100%);
	background:-ms-linear-gradient(top, #ededed 5%, #dfdfdf 100%);
	background:linear-gradient(to bottom, #ededed 5%, #dfdfdf 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf',GradientType=0);
	background-color:#ededed;
	border:1px solid #545454;
	display:inline-block;
	cursor:pointer;
	color:#545454;
	font-weight:bold;
	font-size:11px;
	padding:6px 24px;
	text-decoration:none;
	text-shadow:0px 1px 0px #ffffff;
	text-transform: uppercase;
}
a.button-link:hover {
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, #ededed));
	background:-moz-linear-gradient(top, #dfdfdf 5%, #ededed 100%);
	background:-webkit-linear-gradient(top, #dfdfdf 5%, #ededed 100%);
	background:-o-linear-gradient(top, #dfdfdf 5%, #ededed 100%);
	background:-ms-linear-gradient(top, #dfdfdf 5%, #ededed 100%);
	background:linear-gradient(to bottom, #dfdfdf 5%, #ededed 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#ededed',GradientType=0);
	background-color:#545454;
}
a.button-link:active {
	position:relative;
	top:1px;
}

@media all and (max-width: 1019px) {
/* 
  .it-frame {
    min-height:938px;
  }
 */
  hr {
    margin: 1em !important;
  }
  #logo img {
    min-height:60px;
  }
  #main {
    padding-top:45px;
  }
  #page {
    border:none;
  }
  #page-title {
    padding-right:10px;
    margin-left:10px;
  }
  #navigation {
/* 
    top:10px;
    left:10px;
 */
    padding:10px 0 0 10px;
    width:100%;
  }
  .block-flexnav {
    display:block !important;
    float:left;
  }
  #block-menu-block-7,
  #block-menu-block-1 {
    display:none !important;
  }
      
  ul.flexnav {
    padding-left:0;
    float:left;
/* 
    max-height:2000px !important;
 */
    position:relative;
    z-index:999;
  }
  ul.flexnav {
    width:200px;
  }
  ul.flexnav ul.menu {
    padding-left:10px !important;
  }
  ul.flexnav ul.menu > li {
    width:190px;
  }
  #block-block-2.active {
    padding:100%;
    position:absolute;
    z-index:90;
  }
  .block-flexnav .menu-button {
    z-index:999;
    width:70px;
    color: #545454;
    background: #e3e3e3;
    padding:.7em .75em .5em .75em;
    border-radius: 5px;
    box-shadow: #B3B3B3 2px 1px 2px;
    text-transform: uppercase;
    font-size:1.1em;
    text-align:center;

    background: #eeeeee;
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNlNWU1ZTUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top,  #eeeeee 0%, #dadada 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eeeeee), color-stop(100%,#dadada));
    background: -webkit-linear-gradient(top,  #eeeeee 0%,#dadada 100%);
    background: -o-linear-gradient(top,  #eeeeee 0%,#dadada 100%);
    background: -ms-linear-gradient(top,  #eeeeee 0%,#dadada 100%);
    background: linear-gradient(to bottom,  #eeeeee 0%,#dadada 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#dadada',GradientType=0 );

  }
  
  .front .block-flexnav .menu-button {
    line-height: 46px;
    padding-top: 2px;
    padding-bottom: 0;
  }

  .block-flexnav .menu-button .touch-button {
    display:none;
  }
  
  .block-flexnav .menu-button.active {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  }
  
/* 
  .menu-button .touch-button .navicon {
    top:.6em;
  }
 */
  .flexnav li ul li a,
  .flexnav ul li ul li a {
      background: #e3e3e3;
  }

.flexnav li span,
.flexnav li a {
    position: relative;
    display: block;
/* 
    padding: 1.5em .96em;
 */
    padding: 1em .96em;
    z-index: 100;
    overflow: hidden;
    color: #545454;
    background: #e3e3e3;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);

    background: #eeeeee;

}
#navigation ul.flexnav ul.menu li {
  float:none;
  padding:0;
  z-index: 999;
}
#navigation a {
  color:#96451D !important;
}
#navigation .flexnav li {
  z-index:999;
  margin:0;
/* 
  line-height:0;
 */
}

.flexnav .touch-button {
    position: absolute;
    z-index: 999;
    top: 0;
    right: 0;
    width: 30px;
    height: auto;
    display: inline-block;
    background: #acaca1;
    background: rgba(0, 0, 0, 0.075);
    text-align: center;
}
.flexnav .touch-button .navicon {
    position: relative;
    top: inherit;
    font-size: inherit;
    color: #666;
}

.front .panel-display {
  padding-top:30px;
}

/* home buttons */
#block-block-3 {
  display:block;
  width:198px;
  float:right;
  margin: 10px 10px 0 0;
  
  /* move to upper right, search below */
  float:none;
  margin:0;
  position:absolute;
  right:10px;
  z-index: 1;
  
}
#block-block-3 div {
  float:left;
}
#block-block-3 .button1 {
  margin-right:10px;
}  
  .region-bottom {
    display:none;
/* 
    border:none;
 */
  }
  .region-bottom .menu li {
    display:none;
  }
  .region-bottom .menu li.search {
    display:block;
  }
 .region-bottom form {
    position:absolute;
    top:100px;
    display:block;
    right:10px;
    margin:0;
  }

 .region-bottom form .search-submit,
 .region-bottom form label {
    display:none;
  }
 
 .region-bottom form input {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
    height:auto;
    width:auto;
    padding-left:1em;
 }

  #block-block-1 {
    display:block;
    position:absolute;
    right:10px;

    /* move to upper right, search below */
    

  }
 
/* 
  #responsive-search {
    float:right;
    margin:6px 10px 0 0;
  }
 */
  #responsive-search input {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
    height:28px;
    width:143px;
    box-sizing:border-box;
    padding-left:.25em;
    vertical-align: bottom;
    background-color: #EEEEEE;
    border: 1px #777 solid;

    /*turn off ios rounding*/
    -webkit-appearance:none;
    border-radius: 0;
 }
  #block-block-1 input.search-submit {
    border-left:none;
    width:auto;
    height:28px;
    padding:0;

    /*turn off ios rounding*/
    -webkit-appearance:none;
    border-radius: 0;
  }
 
 
 .node-type-landing-page .gtitle {
  background:none !important;
 }
 #page-title.graphic {
  margin-left:10px;
 }
 
 #shoppericon {
  display:none;
 }

}

article .column {
  float: left;
}
article .row:after {
  content:'';
  display:block;
  clear:both;
}
article .row .column.half:first-child {
  margin-right: 10px;
}
article .column.half {
  width: 48%;
}
article .row .column.third:last-child {
  margin-right: 0;
}
article .column.third {
  width: 32%;
  margin-right: 10px;
}

@media all and (max-width: 768px) {
  article .column.third {
    width: 100%;
    float: none;
    margin-bottom: 2em;
  }
}
@media all and (max-width: 520px) {
  article .column.half {
    width: 100%;
    float: none;
    margin-bottom: 2em;
  }
}

.grey-box {
  background: #d3d3d3;
  padding: 1em;
  font-size: 1.1em; 
  font-weight: bold;
}

table {
  border-collapse: collapse;
  width: 100%;
}

table, th, td {
  border: 1px solid black;
}

th {
  background:lightgrey;
  text-align:center;
}

th, td {
  padding: .2em .5em;
}

dl {
	counter-reset: faqcount;
}
dt::before {
	content: counter(faqcount) ". ";
	counter-increment: faqcount;
}

dt {
  font-weight: bold;
  margin-bottom: .5em;
}
dt:hover {
  text-decoration: underline;
  cursor: pointer
}
dd {
  margin: 0 0 1.5em 0;
}


