/*********************************************************
*
*   File: Integration Stylesheet
*   Author: Craig Nelson / Classic Labs
*
*/

  /* portfolio template */
  #companies-container {
    margin: 15px 0;
    padding: 15px;
    color: #000;
    line-height: 17px;
    overflow: hidden;
    border: 2px solid #ccc;
    background: #fff;
  }
    #companies-container h4 {
      float: right;
      margin: 0 0 5px;
      font-size: 15px;
    }
    #companies-container #company-logo { float: left; }
    #companies-container .adr {
      clear: right;
      float: right;
      margin: 0 0 5px;
      width: 45%;
      text-align: right;
    }
      #companies-container #company-street { display: block; }
      #companies-container #company-phone {
        display: block;
        margin: 5px 0;
      }
    #companies-container p {
      clear: left;
      float: left;
      margin: 15px 0;
      width: 55%;
    }
    #companies-container #company-links {
      clear: left;
      float: left;
      margin: 0;
      padding: 0;
      width: 320px;
    }
  #search-container {
    margin: 0 0 20px;
    padding: 0;
    border: none;
  }
    #search-fields { width: 100%; }
    #search-fields,
	  #search-fields tr,
	  #search-fields td { border: none; }
	  /*
	  #search-fields .field { position: relative; }
	    #search-fields #suggestions {
	      position: absolute;
	      right: 0px;
	      bottom: 0px;
	      width: 250px;
	    }
	      #search-fields #suggestions li {
	        float: left;
	        padding: 1px 3px;
	      }
	  */
	  #search-fields .field,
	  #search-fields .controls { text-align: right; }
	  #search-fields .special { width: 60px; }
	  #search-fields .controls a,
	  #search-fields .controls span,
	  #search-fields .controls img {
	    margin-left: 4px;
	    vertical-align: middle;
	  }
	  #search-fields .controls span a { margin: 0; }
    #search-location-container { margin: 5px 31px; }
    #search-container a {
      color: #BF0B2C;
      text-decoration: underline;
    }
    #search-container a.search-active {
      color: #DFA200;
      font-weight: bold;
      text-decoration: none;
    }
  #help-container {
    margin: 0 0 20px;
    padding: 0 15px;
    border: 1px solid #BF0B2C;
    background: #fff;
  }
    #help-container h4 {
      margin: 15px 0;
      height: 22px;
    }
    #help-close {
      float: right;
      margin: 15px 0;
    }
    img.icon { vertical-align: middle; }
    #pages-container {
      display: none;
      margin-bottom: 10px;
      overflow: hidden;
    }
      #pages-container h5 {
        float: left;
        margin: 0 5px 0 0;
        color: #BF0B2C;
        font-size: 12px;
      }
      #pages {
        margin: 0;
        padding: 0;
        overflow: hidden;
      }
        #pages li { display: inline; }
          #pages li a {
            display: block;
            float: left;
            margin: 0 5px 5px 0;
            padding: 1px 4px;
            color: #777;
            font-size: 12px;
            line-height: normal;
            border: 1px solid #777;
          }
          #pages li a:hover,
          #pages li a.active {
            color: #fff;
            font-weight: normal;
            border: 1px solid #444;
            background: #BF0B2C;
          }
    #projects-container { overflow: hidden; }
    ul.portfolio,
    ul.portfolio-services {
      margin: 0;
      padding: 15px 0 0 0;
    	list-style: none;
    }
    ul.portfolio.social { display: none; }
      ul.portfolio li {
      	float: left;
      	margin: 0 25px;
      	width: 128px;
        height: 250px;
        text-align: center;
      }
        ul.portfolio li img {}
        ul.portfolio li h3 {
          margin: 5px 0 0 0;
          padding: 0;
          color: #000;
        	font-size: 14px !important;
        	font-weight: normal;
        	text-transform: none;
        }
    ul.portfolio-services li.results {
      margin-bottom: 20px;
      padding: 20px;
      overflow: hidden;
      border: 1px solid #ccc;
    }
      ul.portfolio-services li img {
        float: right;
        margin: 0 0 5px 20px;
        width: 81px;
        height: 81px;
        background: #777;
      }
      ul.portfolio-services li.results h3 {
        margin: 0 0 10px;
        font-size: 16px !important;
      }
      ul.portfolio-services li.results a.view {
        clear: right;
        float: right;
        margin: 0 0 20px;
        padding: 2px 0 0;
        width: 81px;
        font-size: 12px;
        text-align: center;
        /*border: 1px solid #ccc;
        background: #eee;*/
      }
      ul.portfolio-services li.results a.view:hover {
        /*border: 1px solid #aaa;
        background: #7FBCFF;*/
      }
      ul.portfolio-services p.location {
        margin: 0;
        font-size: 12px;
      }
      ul.portfolio-services .companies {
        margin: 0;
        padding-left: 20px;
      }
      ul.portfolio-services .companies h4 {
        margin: 10px 0;
        font-size: 14px;
        font-weight: normal;
      }
        ul.portfolio-services .companies h4 a {}
        ul.portfolio-services .companies h4 a:hover { text-decoration: underline; }
        ul.companies div.services { padding-left: 20px; }
        ul.companies div.services span { font-weight: bold; }
  /* --portfolio template */

  /* project template */
  #gallery {
    padding: 0;
    width: auto;
  }
  #gallery h2 { text-transform: none; }
  h4.subtitle {
    margin: -15px 0 10px;
    padding: 0;
    font-size: 14px;
  }
  #gallery-thumbnails {
    position: static;
  	float: none;
    margin: 0 0 5px 0;
  	padding: 0;
  	width: 525px;
  	list-style: none;
  }
    #gallery-thumbnails li {
    	float: none;
    	display: inline;
    	margin: 0;
    	padding: 0;
    	height: auto;
    	width: auto;
      border: none;
    	background: none;
    }
      #gallery-thumbnails li img {
      	display: block;
        float: left;
        margin: 0 7px 7px 0;
        width: 35px;
      }
  #default-photo { background: none; }
  /* photo captions */
  .photo-wrapper,
  .photo-wrapper #magic img { display: block; }
    .photo-wrapper span.photo-caption {
      top: auto; /* need to remove from photo.css */
      left: 0px;
      bottom: 0px;
      margin: 0;
    }
    .photo-wrapper.mlarge span.photo-caption { /* need to add individual selectors to photo.css for each large photo width */
      width: 517px;
    }
  /* --photo captions */
  /* photo masking
  *******************************************/
  #default-photo-container {
    clear: both;
    overflow: hidden;
  }
    .mask {
      position: absolute;
      display: block;
      top: 0; /* should set pixle value (ex: 2px) if we are using a div with padding to achieve a border around the image */
      left: 0; /* should set pixle value (ex: 2px) if we are using a div with padding to achieve a border around the image */
      border: none;
    }
  /* photo masking */
  /* project.css overrides for stats */
  dl.stats {
  	padding-bottom: 0;
  	overflow: hidden;
  }
  .stats dt,
  .stats dd { margin-bottom: 5px; }
  .stats dt {
  	position: static;
  	clear: none;
  	float: none;
  	padding: 0;
  }
    .stats dd {}
  /* --project.css overrides for stats */
  #descriptions,
  #descriptions p,
  #descriptions span,
  #descriptions strong,
  #descriptions em,
  #descriptions b,
  #descriptions i {
    color: #252525 !important;
    font-family: arial, helvetica, sans-serif !important;
    font-size: 14px !important;
    line-height: 22px !important;
  }
  #descriptions p { margin: 20px 0 !important; }
  #descriptions h4 {
    margin-bottom: -15px;
    color: #BF0B2C !important;
  }
  .adr { font-size: 13px; }
  .map {
  	font-weight: bold;
  	text-decoration: none;
  }
  /* --project template */

  /* project.css overrides */
  #companies {
    clear: none;
  	margin: 0;
    padding: 0;
  	border: none;
  	background: none;
  }
  	#companies ul {
  		margin: 0;
      padding: 0;
  	}
  	  #companies li {
  	    font-family: inherit;
    		margin-bottom: 10px;
    		font-size: normal;
    	}
  /* --project.css overrides */

  /* marks.css overrides */
  #collaborators { color: #000; }
  #collaborators .fn {
  	color: #BF0B2C;
  	font-family: inherit;
  	font-size: 13px;
    font-weight: bold;
    background: none;
  }
  #collaborators .contribution {
    color: #000;
    font-size: 12px;
    font-weight: normal;
  	font-style: italic;
  }
    .mark .fn {
  		margin: 0 !important;
  		color: #000 !important;
  		font-weight: bold !important;
  	}
  	.mark .role {
  	  font-size: 12px;
  	  overflow: hidden;
  	  background-color: #f7f7f7;
  	}
  /* --marks.css overrides */

  #ascribe-logo-container,
  #social-networking {
    text-align: right;
  }
  
  /* marketing */
  #marketing-ascribe,
  #marketing-ascribe .join-ascribe { text-align: right; }
  #marketing-ascribe {
    clear: both;
    margin: 0;
    padding: 30px 0 5px;
  }    
    #marketing-ascribe a img { border-style: none; }
    #marketing-ascribe .join-ascribe,
    #marketing-ascribe .join-ascribe a { font-size: 11px; }
    #marketing-ascribe .join-ascribe a { margin-right: 2px; }
    #marketing-ascribe .join-ascribe { display: block; }
    #marketing-ascribe img.icon { vertical-align: middle; }
  /* --marketing */

  /* ascribe links */
  #ascribe-links {
    padding: 0 0 5px;
    border-bottom: 1px dotted #ccc;
  }
  #ascribe-links #logo {
    float: right;
    margin: 0;
  }
    #ascribe-links li {
      display: inline;
      margin-right: 8px;
    }
      /*#ascribe-links li a { color: #000; }
            #ascribe-links li a:hover { color: #ccc; }*/
        #ascribe-links a img { border-style: none; }
  /* --ascribe links */

  /* social networking */
  #social { margin: 20px 0; }
    .social { margin-right: 15px; }
    .social.last { margin-right: 0; }
  #add-this {
    clear: both;
    padding: 0 0 20px;
    text-align: right;
  }
  /* --social networking */
  
  /* mailchimp form */
  #mc_embed_signup fieldset {
    margin: 0;
    padding: 0;
    border: none;
  }
    .mc-field-group { color: #fff; }
      .mc-field-group label { display: block; }
    .indicate-required,
    .note-required { color: #f00; }
    #group-profiles { display: none; }
    #submit-container { margin-top: 10px; }
  /* --mailchimp form */
