/*
* Base styles for provider directory form
*/
#chopcarpd-form  {
  border: 1px solid #fff;
  background-color: #7895c4;
  text-align: center;
  width: 350px;
  margin: 0 auto 20px auto;
  color: white;
}

 #chopcarpd-searchbyname-form {
  text-align: center;
  color: white;
 }


#chopcarpd-form label, #chopcarpd-searchbyname-form label {
  width:290px;
  text-align:center;
  height:17px;
  margin-right:15px;
  vertical-align: middle;
  margin-bottom: 6px;
  font-weight: 400;
  max-width: 100%;
}
#chopcarpd-form select#pd-category {
  /*margin-top: 12px;*/
  margin-bottom: 12px;
  width: 230px;
  text-align: center;
}


#chopcarpd-form input#pd-input {
  /*margin-top: 12px;*/
  margin-bottom: 12px;
  width: 230px;
  text-align: center;
}
#chopcarpd-form input#pd-distance {
  /*margin-top: 12px;*/
  margin-bottom: 12px;
  width: 230px;
  text-align: center;
}
#chopcarpd-searchbyname-form #pd-providername {
  margin-bottom:12px;
  width: 290px;
  text-align: center;
  max-width: 100%;
}
#chopcarpd-form input#pd-search,  #chopcarpd-searchbyname-form input#pd-search2{
  margin-top: 12px;
  margin-bottom: 12px;
  width: 150px;
  text-align: center;
}


#chopcarpd-form  #pd-title-text, #chopcarpd-searchbyname-form #pd-title-text{
  font-weight: bold;
  font-size: 120%;
}
#content-directory{
  display: none;
  margin-top: 40px;
  background-color: #fff;
  padding-top: 10px;
  width: 71.468085106383%;
}
#content-directory h3{
  font-size: 1em;
  max-width: 50%;
  color: #1a3358;
}
#content-directory .post-entry{
  color: #77787b;
  font-size: 0.875em;
  position: relative;
}
#content-directory .provider-address{
  /* position: absolute;  Joy */
  float:right;
  width: 40%;
  top: 0;
  right: 0;
  text-align: right;
  font-size: 0.857142em;
  line-height: 1.25em;
}
#content-directory .provider-address address{
  margin: 0;
  font-size: 1.083333em;
  font-weight: 500;
  color: #1a3358;
  margin-bottom: 5px;
}
#content-directory .provider-address a, #content-directory .providerdata{
  text-transform: none;
  color: #8c8b8b;
}
#content-directory .providerlabel{
  color: #1a3358;
  padding: 0;
  margin: 0;
}
#content-directory .provider-description{
  max-width: 50%;
  float:left;
}
#directory-results-wrapper {
  margin: 20px 20px 100px 20px;
}
.ui-accordion-content {
  border: solid 2px #7895c4;
  padding: .3em;


}

.ui-widget { 
font-size: 1em;
}
#mobile-provider-dir{
  display: none;
}
#nav-wrapper-directory{
  display: none;
}
#provider-directory{
  position: fixed;
  bottom: 98px;
  left:0;
  width: 100%;
  margin-top: 0;
  z-index: 10; /*
  			  * CAR-224 Webkit browsers place this element below the footer
			  *	which is set at z-index:8
			  * AB 2013-06-20
			  */
        clear:both;

}

.home #provider-directory {
  position: static;
}

.pdwrap{
  background-color: #2a5086;
  margin: 8px;
  /*margin-top: 3em;*/
  padding: 12px;
  color: #fff;
  font-size: 1em;
  font-weight: 400;
  width: 350px;
  border: solid white 1px;
  float:left;
  max-width: 90%;
}

#provider-directory-banner, .provider-directory-banner{
  background-image: url('provider-bar-bg.png');
  background-repeat: repeat-x;
  background-position: center top;
  box-shadow: 0 -1px 2px rgba(0,0,0,0.3);
  width: 100%;
  height: 31px;
  /*margin-top: -31px; */
  background-color: #7895c4;
}
#provider-directory-content-wrapper{
  background-color: #7895c4;
  padding-top: 50px;
  max-width: 960px;
  border-left: 1px solid #fff;
  border-right: 1px solid #fff;
  margin-top: 43px;
  margin-left: auto;
  margin-right: auto;
  min-height: 900px;
  padding-bottom:75px;
}
#provider-directory-handle, .provider-directory-handle{
  background-image: url('provider-bump.png');
  background-repeat: no-repeat;
  background-position: center top;
  width: 289px;
  margin-top: 0;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  position: relative;
  height: 68px;
  text-align: center;
}
#provider-directory-handle-wrapper, .provider-directory-handle-wrapper{
  width: 100%;
  position: relative;
  z-index: 10;
}
#provider-directory-handle h1, .provider-directory-handle h1{
  color: #fff;
  font-style: italic;
  text-transform: capitalize;
  margin-top: 0;
  position:relative;
  z-index: 5;
}
#provider-directory-handle-view{
  font-size: 10px;
  text-transform: uppercase;
  padding-top: 6px;
  color: #364461;
}
#provider-directory-outer-wrapper{
  background-color: #7895c4;
  display: none;
  z-index: 3;
  position: relative;
  margin-top: -28px;
}
#provider_top_text{
  font-size: 1.125em;
  color: #fff;
  text-align: center;
  font-style: italic;
  font-weight: 500;
  max-width: 500px;
  float:right;
}
#provider_top_text a{
  text-transform: none;
  color: #364461;
}
#tag-bar-directory{
  padding-left: 20px;
  padding-right: 20px;
}
#widgets-directory{
  display: none;
}

.wordbreak_ok {
  word-wrap:break-word;
}



@media screen and (max-width: 835px) {  
#provider-directory{
   /*  display: none;  */ 
   position: static;

  }

}

/* @media screen and (max-width: 980px) {  */
@media screen and (max-width: 635px) {  
  #mobile-provider-dir{
    display: block;
  }
  #provider-directory{
   /*  display: none;  */ 
   position: static;

  }
  .provider-directory-handle h1{
    padding-top: 28px;
  }
  body.page-template-mobile-directory-page-php #content-directory ,
  body.page-template-mobile-directory-page-php #widgets-directory{
    margin: 0 auto;
    width: 100%;
  }
  body.page-template-mobile-directory-page-php #content-directory .provider-address{
    position: relative;
    top: auto;
    right: auto;
    text-align: left;
  }
  body.page-template-mobile-directory-page-php #content-directory h3 ,
  body.page-template-mobile-directory-page-php #content-directory #provider-description{
    max-width: 100%;
  }
}

body.page-template-mobile-directory-page-php{
  background-color: #7895c4;
}
body.page-template-mobile-directory-page-php #chopcarpd-form{
  border: none;
  margin-top: 10px;
  width: 100%;
}
body.page-template-mobile-directory-page-php #chopcarpd-form input#pd-input{
/*  width: 30%; */
}

body.page-template-mobile-directory-page-php #nav-wrapper ,
body.page-template-mobile-directory-page-php #nav-wrapper ,
body.page-template-mobile-directory-page-php #provider-directory , 
body.page-template-mobile-directory-page-php #mobile-provider-dir 
/*body.page-template-mobile-directory-page-php #footer-wrapper*/{
  display: none;
}
body.page-template-mobile-directory-page-php #wrapper{
  border: none;
}
/*-------------------------------------------------------------- */
@media screen and (max-width: 1000px) {

#provider_top_text{
   float:none;
   margin: 0px auto;
 }

 .pdwrap{
  float:none;
  margin:8px auto;
}


}

@media print {

  body, #wrapper, #container, .textwidget {
           background: #fff;
           color:black;
  }
  #widgets, #widgets-directory, .taxonomies, #logo, #widget-wrapper, .widget-title, #top-widget, #nav-wrapper, #main-nav, .addthis_toolbox, .read-more, .clear-search, #provider-directory, #footer_wrapper, #footer, .pdwrap, #chopcarpd-form {
    display: none;
  }
.provider-address {
float:left;
}

#print-header, #print-footer {
display:block;
}
  #content-archive, #content-directory, #directory-results-wrapper {
    width: 100%;
  }
  .post, .providers {
    margin:0px auto;
    width: 100%;
  }
  .social-icons {
    display:none;
  }
  #footer-wrapper {

    position:static;
    bottom:0px;
}


  
  #footer_copyright, .contact_info {

    width:100%;
    margin:10px auto; 
    padding:0px;
  }
  .fixed_content {
    left:0px;
  }

  h1,  h2,  h3,  h4,  h5,  h6 {
    page-break-after: avoid;
  }

  ul,  ol,  dl {
    page-break-before: avoid;
  }
  .page-template-mobile-directory-page-php {
    background: white;
  }
}