/* disabling find a doctor for site */
.find-doc-button { display: none !important; }

/* site-nav */
.site-nav .find-doc-button.mobile-link {
  display: block;
  font-size: 1.1em;
  padding: 0.5em 0;
  text-transform: uppercase;
}


/* modal */

.modal { display: block; filter:alpha(opacity=0); opacity: 0;

  -moz-transition: opacity 800ms ease; -webkit-transition: opacity 800ms ease; transition: opacity 800ms ease; }

.modal:hover { cursor: pointer; }



.modal-active .addthis-smartlayers { display: none!important; }

.modal-active .site-header { position: relative; z-index: 1000; }

.modal-active .modal { position: absolute; width: 100%; top: 0; z-index: 901; }



/* modal popup */

.modal-popup { display: none; }



.modal.popup-active { background-color: #000; filter:alpha(opacity=50); opacity: .5; z-index: 99999999; }

.modal-popup.show { display: block; position: fixed; width: 80%; max-width: 400px; top: 8%; right: 5%; left: 5%; margin: auto; z-index: 999999999; background-color: #fff; padding: 2em 5%; box-shadow: 0 0 25px 0 #000; text-align: center; }

.modal-msg { display: none; }

.modal-msg.show { display: block; }

.modal-msg > p { font-size: 1.1em;  }

.modal-msg .button { margin: 1em .5em 0 .5em; }





/* search module */

.search-module * { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;

  *behavior: url(/css/loring/boxsizing.htc); }

.search-module-inner { margin: 0 auto; max-width: 1050px; }



.search-module input,

.search-module select { display: inline-block; float: left; height: 40px; margin: 0 0 0 .5%; padding: 0 0 0 .5em; line-height: 1; outline: 0; border: 2px solid transparent; background-color: #fff; font-family: inherit; font-weight: 300; font-size: 1em; border-radius: 0; vertical-align: middle; }

.search-module input:focus,

.search-module select:focus { border: 2px solid #C4C4C4; }





.find-doc-button { margin: 0; color: #fff; background-color: orange; font-weight: 300; text-decoration: none; }

.find-doc-button:before { content: ''; display: inline-block; margin: -5px 10px 0 0; width: 32px; height: 32px;

  background: url(/images/addthis-find-doc.png) no-repeat -8px -149px; vertical-align: middle; }

.search-module .find-doc-button { position: relative; display: block; width: 100%; margin-bottom: 1em; padding: 10px 2%; font-size: 1.35em;

  -webkit-box-shadow: 1px 1px 3px #464646; -moz-box-shadow: 1px 1px 3px #464646; box-shadow: 1px 1px 3px #464646; }

.search-module .find-doc-button:after { content: 'X'; position: absolute; right: 3%; font-weight: 700; border: 3px solid #FFF;

    -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; width: 32px; height: 32px; top: 0; bottom: 0; margin: auto;

    text-align: center; font-size: 18px; line-height: 32px; }



.find-doc-button.vertical { position: fixed; right: 0; bottom: 305px; height: 185px; width: 48px; background: orange url(/images/addthis-find-doc.png) no-repeat center center!important; padding: 8px 0; z-index: 100021;

  -webkit-transition: width .15s ease-in-out;-moz-transition: width .15s ease-in-out; transition: width .15s ease-in-out; }

.find-doc-button.vertical:before { content: none; }

.find-doc-button.vertical:hover { width: 64px; }



.atss .find-doc-button.vertical { position: relative; right: auto; bottom: auto; }





/* search module | NAV */

.search-module-nav { display: none; font-weight: 300; padding-bottom: 1em; font-size: 1.25em; }

.search-module-nav .nav-strip { overflow: hidden; }

.search-module-nav .nav-strip.lvl-1 { display: inline-block; }



.search-module-nav .link,

.search-module-nav > span { display: inline-block; float: left; font-size: 1.25em; color: #000; margin: 0 20px 10px 0; border-bottom: 4px solid transparent; text-decoration: none; }

.search-module-nav .link:hover { cursor: pointer; border-bottom-color: #999; }

.search-module-nav .link.active { border-bottom-color: #92278f; }

/*.search-module-nav .link.txt-red { color: red; }*/



.search-input-container { display: none; position: relative; font-size: 1.5em; }

.search-module .search-input { float: none; width: 100%; display: block; height: 100%; margin: 0; padding: 10px; font-size: 1em; }

.search-module .search-button { position: absolute; top: 0; right: 0; bottom: 0; display: block; width: 20%; min-width: 100px; margin: 0; padding: 0; text-decoration: none; color: #fff; font-size: 1em; line-height: 1; background-color: #009AC7; text-align: center; font-weight: 300; }

.search-button > span { position: absolute; top: 0; right: 0; bottom: 0; left: 0; height: 50%; margin: auto; }

.search-button:hover { cursor: pointer; background-color: #333; }



.search-module-nav .specialty { width: 45%; margin-left: 0; }

.search-module-nav .distance  { width: 14.5%; }

.search-module-nav .address   { width: 29.5%; }

.search-module-nav .state     { width: 9.5%; }

.search-module-nav .insurance { width: 100%; margin: 4px 0 0 0; }



@media( max-width: 979px) { .find-doc-button.vertical  { display: none; } }

@media( max-width: 768px) {



  .search-module-nav .specialty { float: none; width: 100%; margin-bottom: .25em; }

  .search-module-nav .distance  { width: 24.5%; }

  .search-module-nav .address   { width: 55%; margin-left: 0; }

  .search-module-nav .state     { width: 19.5%; }

}

@media( max-width: 550px) {



  .search-module-nav,

  .search-input-container { font-size: 1.2em; }



  .search-module-nav .distance,

  .search-module-nav .address,

  .search-module-nav .state { float: none; width: 100%; margin: 0 0 .25em 0; }



  .search-module .search-button { position: relative; width: 100%; padding: 1.1em 0; }

}





/* search module | results */

.search-dropdown { display: block; position: absolute; top: 100%; left: 0; right: 20%; background-color: #fff; z-index: 999;

  -webkit-box-shadow: 2px 2px 6px #464646; -moz-box-shadow: 2px 2px 6px #464646; box-shadow: 2px 2px 6px #464646; }

.search-results:not(body) { padding: 20px 5%; border-top: 1px solid #ccc; }

.search-results:first-child { border-top: none; }

.search-results > h2 { margin: 0; font-weight: 400; font-size: 1em; }

.search-results.purple-theme > h2 { color: #92278f; }

.search-results.orange-theme > h2  { color: orange; }

.search-results.light-blue-theme > h2 { color: #009AC7; }



.result-list { display: block; width: 100%; margin: 10px 0; padding: 0; }

.result-list li { list-style: none; }

.result-item { display: block; margin: 5px 0; padding: 5px; text-decoration: none; color: #666; font-size: .75em; overflow: hidden; }

.result-item .result { float: left; }

.result-item .result .highlight { color: #fff; background-color: #009AC7; padding: 0 1px; }

.result-item .result-details { float: right; }

.result-item.view-more { position: relative; padding-right: 16px; font-weight: 700; color: #009AC7; }

.result-item.view-more:before { content: ''; position: absolute; top: 2px; bottom: 0; right: 4px; height: 1px; margin: auto; border-left: 8px solid #009AC7; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }



/* search module | active */

.search-module-active .search-module { position: absolute; left: 0; right: 0; }

.search-module-active .search-module-inner { padding: 55px 2% 110px 2%; }

.search-module-active .search-module-nav,

.search-module-active .search-input-container { display: block; }

.search-module-active .modal { background-color: #f1f1f1; filter:alpha(opacity=97); opacity:0.97; }

.search-module-active .modal.popup-active { background-color: #ccc; }



.search-module-active .search-module-nav > span,

.search-module-active .search-module .nav-strip,

.search-module-active .search-module .find-doc-button,

.search-module-active .search-module .search-input-container { position: relative; z-index: 902; }



@media (min-width: 1008px) {

  .site-nav .find-doc-button.mobile-link { display: none; }

  /* search module | active - reduce modal click area */

  .search-module-active .search-module { z-index: 902; }

}



@media (min-width: 801px) {



  .find-doc-button:hover { background-color: #333; } .result-item:hover { background-color: #eee; }

}

@media (max-width: 800px) {



  .modal-active .modal { background-color: #ddd; }



  .search-dropdown { right: 0; }

  .result-item { color: #000; margin: 10px 0; background-color: #eee; }

  .result-item .result { display: block; float: none; }

  .result-item .result-details { float: none; display: block; color: #666; }

  .result-item.view-more { padding: 10px 16px; color: #fff; background-color: #009AC7; }

  .result-item.view-more .result-details { color: #fff; }

  .result-item.view-more:before { border-left-color: #fff; right: 16px; }

}

@media (max-width: 500px) {



 .search-module-active .search-module { padding: 0; }

  .search-module-nav label { font-size: 1.35em; }

  .search-module-nav input { display: block; width: 100%; margin: 0; }

}





/* search module | find doc visible on page */

.find-doc-visible .search-module { position: relative; background-color: #fff; }

.find-doc-visible .search-module-inner { padding: 30px 2% 15px 2%; }

.find-doc-visible .search-input-container { display: block; }

.find-doc-visible .search-module .find-doc-button { display: none; }

.find-doc-visible .search-module input,

.find-doc-visible .search-module select { background-color: #e7e7e7; }

.search-module-active.find-doc-visible .modal { filter:alpha(opacity=25); opacity: 0.25; background-color: #fff; }

.search-module-active.find-doc-visible .modal.popup-active { background-color: #333; }

.search-module-active.find-doc-visible .search-module-inner { padding-top: 55px; }
