/* testing */

/* 05/22/2019 added for Faculty List From Sections Razor */
.bios_section_info {
  margin:10px 0px;
    
}

iframe {
  max-width: 100%;
}
.bios_patient_stories {
  margin-top: 15px;
}
table[align="left"] {
  float: left;
  margin: 0 20px 15px 0;
}
#contentBody table:first-child tr:first-child td img:first-child {
  margin-top: 8px;
}
.backclick {
  z-index: 100;
}
@media only screen and (min-width: 1224px) {
  .conditions_procedures .full_width_content {
    max-width: 780px;
  }
  .conditions_procedures .full_width_content #contentBodyLeft {
    position: relative;
  }
  .conditions_procedures .full_width_content #contentBodyRight {
    position: absolute;
    right: -230px;
  }
  .conditions_procedures .full_width_content .callout {
    max-width: 100%;
  }
  #contentBodyLeft img.imgRightAlignBd,
  #contentBodyLeft img.imgLeftAlignBd,
  #contentBodyLeft img.imgLeftAlign,
  #contentBodyLeft img.imgRightAlign {
    max-width: 350px;
  }
  .conditions_procedures .full_width_content #contentBodyLeft img.imgRightAlignBd,
  .conditions_procedures .full_width_content #contentBodyLeft img.imgLeftAlignBd,
  .conditions_procedures .full_width_content #contentBodyLeft img.imgLeftAlign,
  .conditions_procedures .full_width_content #contentBodyLeft img.imgRightAlign {
    max-width: 50%;
  }
}

.centerFloat {
  float: left;
  max-width: 50%;
  margin: 0 15px 5px 0;
}
.centerFloat img {
  max-width: 100%;
  display: block;
  margin: 0 0 5px;
  width: 100%;
  height: auto;
}
.leftFloat {
  margin: 0 15px 5px 0;
}
.icon_news_img_div img,
.story_link_image img {
  display: block;
  margin: 0;
}
#sg_centerContentInt #content_footer,
#localContentFooter {
  margin-left: 0;
  margin-right: 0;
  /*need to fix this on site-styles */
}
/* UCSF Calendar widget */
#lw li.lwe {
  background: none;
}
.patient_story_bio_image img {
  width: 100%;
  height: auto;
}
#videosIframe[data-num-videos="1"] {
  height: 600px;
}
.bioMediaLinks h3,
.bio_patient_stories h2 {
  font-size: 1.8rem;
}
.bioMediaLinks .virtual_page_link {
  font-size: 2.4rem;
}
.bio_mentored_research_residents tr td:nth-child(2) {
  width: 15%;
}
.ellipse {
  margin-left: 6px;
}
.lw .lwd {
  font-size: 14px;
  line-height: 20px;
}
.lw .lwn0 {
  font-size: 12px;
}
.section_title {
  clear: both;
}
/* temporary for turning off View publications for research pages */
.research a[onclick^="getMore"],
.project_portfolio .research a[onclick^="getMore"] {
  display: none;
}
.syndicate .top {
  display: none;
  /* kill back to top here http://colorectal.surgery.ucsf.edu/conditions--procedures/fecal-incontinence.aspx */
}


/* remove index at top set by NIDDK */
.niddk-content .syndicate div div > ul {
  display: none;
}
.niddk-content .syndicate .top {
  display: inline-block;
}

.principalInvestigatorBox,
.with-coordinators .trial_coordinator {
  background: none;
}
#sg_mainContent_calendar #sg_centerSection {
  margin-left: 0;
  margin-right: 0;
}

/* news fix */
.news_featured,
.news_non_featured {
  padding: 0;
}
/* CSS for rightbar Physicians where there are no news or patient stories */
/* override previous for .mvc-rightbar #physician_list li:nth-child(n+4) when no News or PS  */
.mvc-rightbar #physician_list.empty-ps-news li:nth-child(n+4) {
  display: list-item;
}
/* for .mvc-rightbar Pyhsicians show up to 7 (or what every you choose) items when no News or PS */
.mvc-rightbar #physician_list.empty-ps-news li:nth-child(n+7) {
  display: none;
}
caption {
  caption-side: bottom;
  font-size: 85%;
  background: #e3e3e3;
  border-radius: 0 0 2px 2px;
  padding: 4px 6px;
  text-align: center;
}
caption + tbody td {
  border: 1px solid #e3e3e3;
  border-radius: 2px 2px 0 0;
  overflow: hidden;
}

.bios_img img,
#sg_biopic,
.sg_trials_image img {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 0;
}
@media only screen and (min-width: 960px) {
  #contentBody .clinic_map {
    float: right;
  }
  .clinic_button {
    clear: both;
  }
}
.research_description .fancybox {
  float: right;
}
#accordion .ui-accordion-header {
  background: #f9f9f9;
}
#accordion .ui-accordion-header:hover,
#accordion .ui-state-active {
  font-weight: 400;
  color: #fff;
  background: #513a52;
  border-color: #311a32;
}
#accordion .ui-widget-content.ui-accordion-content-active {
  border-color: #9a7e9a;
}
.clinics_appointments_title {
  color: #777;
}
.fancybox.imagelink {
  position: relative;
}
#accordion .ui-widget-content {
  color: #666;
}
.mvc-rightbar .clinic_map_driving_directions,
.rightbar_section .clinic_map_driving_directions {
  display: block;
}
.mvc-rightbar .clinic_map,
.rightbar_section .clinic_map,
.rightbar_section .clinic_popups_trigger {
  display: none;
}
.clinic_info {
  margin-bottom: 0;
}
.right_bar_items {
  padding-bottom: 0;
}
.news_rightbar_title {
  margin-bottom: 0;
}
/* Clinical Trial stuff */
#sg_centerContentInt.full_width_content #clinical_trial {
  max-width: 100%;
}
.clinicalTrialsItem {
  display: flex;
  border-top: 1px solid #ddd;
  padding-top: 10px;
  margin: 10px 0 5px;
}
.clinical_trial_section_sub + .clinicalTrialsItem {
  border: 0;
  padding-top: 0;
}
.with-coordinators .trial_name,
.with-coordinators .principalInvestigatorBox,
.with-coordinators .trial_coordinator {
  width: auto;
  padding-bottom: 10px;
}
.with-coordinators .trial_name {
  flex: 0 2 40%;
  padding-right: 1.5%;
}
.with-coordinators .principalInvestigatorBox {
  flex: 0 1 25%;
  padding-right: 1.5%;
  padding-left: 1.5%;
}
.with-coordinators .trial_coordinator {
  flex: 0 1 35%;
  background: none;
  padding-left: 1.5%;
}
.section_title {
  padding: 6px 10px;
}
.section_title h3 {
  background: none;
  color: #1a3256;
  font-weight: 400;
  padding: 0;
  margin: 0;
}
.section_title h2 {
  padding: 0;
  margin: 0;
}
#recruitingTrialsCB {
  padding: 0;
  font-weight: 700;
  color: green;
}
#recruitingTrialsCB input {
  font-size: 20px;
}
#CheckboxAndSelect {
  background: none;
  display:inline-block;
}
.record-cnt {
  display:inline-block;
  margin-left:10px;
}
#sg_biopic {
  background: url(/media/9343325/photo-not-available.jpg);
  min-height: 80px;
  background-size: cover;
  background-position: top center;
}
.faculty_list_name_titles_no_imgf {
  margin-left: 0;
}
.faculty_list_name_titles_no_img::before {
  content: "";
  background: url(/media/9343325/photo-not-available.jpg);
  background-position: top center;
  background-size: cover;
  width: 18%;
  float: left;
  min-height: 80px;
  padding: 8px 0 0 0;
  margin-right: 20px;
  max-width: 140px;
}

@media only screen and (min-width: 320px) {
  .faculty_list_name_titles_no_img::before {
    min-height: 100px;
  }

}
@media only screen and (min-width: 560px) {
  .faculty_list_name_titles_no_img::before {
    min-height: 140px;
  }

}
@media only screen and (min-width: 720px) {
  .faculty_list_name_titles_no_img::before {
    min-height: 160px;
  }

  
}
@media only screen and (min-width: 960px) {
  .faculty_list_name_titles_no_img::before {
    min-height: 195px;
  }
}
#faculty_main .bios {
  display: flex;
}
#faculty_main .bios .bios_img {
  flex: 0 1 18%;
  padding-right: 0;
  max-width: 140px;
}
#faculty_main .bios .faculty_list_name_titles_img {
  flex: 0 1 80%;
  float: none;
  width: auto;
  padding-left: 20px;
  margin: 0;
}
#faculty_main .bios .faculty_list_name_titles_no_img {
  flex: 0 1 100%;
  float: none;
  width: auto;
  margin: 0;
}
#faculty_main .bios_titles {
  width: auto;
}
.coord-bio-image img {
  width: 104px;
}
.principalInvestigatorGroup #clinicalTrialsCoordBox .contact_label {
  margin-bottom: 10px;
}
.right-bar-webform {
  clear: both;
  overflow: hidden;
  margin: 30px 0 0 20px;
}
.right-bar-webform .right_bar_title {
  padding: .6em .8em .6em .8em;
  font-size: 1.7rem;
  border: 1px solid #ddd;
  border-bottom: 2px solid #ccc;
  clear: both;
  margin: 0 0 10px;
  background: #eee;
  border-radius: 2px 2px 0 0;
}
.right-bar-webform ul {
  margin: 0;
  background: none;
  padding: 0;
  clear: both;
}
.right-bar-webform li {
  padding: 0 0 10px;
  border-bottom: 1px solid #ddd;
  margin: 6px 0 0;
  overflow: hidden;
  background: none;
}
.right-bar-webform li.associate_condition_procedure,
.right-bar-webform li.patient_story_condition_procedure {
  position: relative;
  padding-left: 26px;
}
.right-bar-webform li .condition-type::before,
.right-bar-webform li .procedure-type::before {
  background-color: #aaa;
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  line-height: 11px;
  width: 16px;
  height: 16px;
  border-radius: 8px;
  display: block;
  position: absolute;
  left: 2px;
  top: 4px;
}
.right-bar-webform li .procedure-type::before {
  content: "P";
  padding: 3px 0 0 5px;
}
.right-bar-webform li .condition-type::before {
  content: "C";
  padding: 3px 0 0 4px;
}
.right_bar_items {
  padding: 0;
}
.dtTextpage .full_width_content {
  max-width: 960px;
}
/* -----------------------------------------------------
Right Bar - Copied from mvc_styles.less only without specific widget styles
-------------------------------------------------------- */
.mvc-rightbar {
  clear: both;
  overflow: hidden;
  margin-bottom: 20px;
}
.mvc-rightbar > h3 {
  padding: .6em .8em .6em .8em;
  font-size: 17px;
  font-size: 1.7rem;
  border: 1px solid #ddd;
  border-bottom: 2px solid #ccc;
  clear: both;
  margin: 0 0 10px;
  background: #eee;
  border-radius: 4px 4px 0 0;
}
.mvc-rightbar ul,
.mvc-rightbar ol {
  background: none;
  padding: 0;
  clear: both;
}
.mvc-rightbar ul {
  margin: 0;
  border-bottom: 1px solid #ccc;
}
.mvc-rightbar li {
  padding: 0 0 10px;
  border-bottom: 1px solid #ddd;
  margin: 6px 0 0;
  overflow: hidden;
  background: none;
}
.mvc-rightbar li > a {
  display: block;
  overflow: hidden;
}
.mvc-rightbar ul:not(.filter-list) li:nth-child(n+4) {
  display: none;
}
.mvc-rightbar .ui-state-default {
  border: 1px solid #ccc;
  border-radius: 4px;
}
.mvc-rightbar .ui-state-active {
  border-radius: 4px 4px 0 0;
}


.section_title {
  /* background: none; */
  /* padding: 0; */
}
.section_title h3 {
  background: #eee;
  padding: 6px 10px;
}
.plastic_surgery_residency_acgme #formBioGroups {
  display: none;
}


a.orange-button {
  -moz-box-shadow: inset 0px 1px 0px 0px #faead7;
  -webkit-box-shadow: inset 0px 1px 0px 0px #faead7;
  box-shadow: inset 0px 1px 0px 0px #faead7;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(.05, #ffae4c), color-stop(1, #f08400));
  background: -moz-linear-gradient(center top, #ffae4c 5%, #f08400 100%);
  filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#ffae4c', endColorstr='#f08400');
  background-color: #ffae4c;
  -webkit-border-top-left-radius: 5px;
  -moz-border-radius-topleft: 5px;
  border-top-left-radius: 5px;
  -webkit-border-top-right-radius: 5px;
  -moz-border-radius-topright: 5px;
  border-top-right-radius: 5px;
  -webkit-border-bottom-right-radius: 5px;
  -moz-border-radius-bottomright: 5px;
  border-bottom-right-radius: 5px;
  -webkit-border-bottom-left-radius: 5px;
  -moz-border-radius-bottomleft: 5px;
  border-bottom-left-radius: 5px;
  text-indent: 0;
  border: 1px solid #e09514;
  display: inline-block;
  color: #363436;
  font-family: Arial;
  font-size: 13px;
  font-weight: bold;
  font-style: normal;
  height: 26px;
  line-height: 26px;
  width: 131px;
  text-decoration: none;
  text-align: center;
  text-shadow: 1px 1px 0px #edcc97
}

#data-table-list_filter label input {
    background: rgba(0, 0, 0, 0) url("/images/mag-glass-gray.png") no-repeat scroll 96% center;
}
  
/*@media only screen and (max-width: 726px) {
  #data-table-list_filter label input {
      background: rgba(0, 0, 0, 0) url("/images/mag-glass-gray.png") no-repeat scroll right;
  }

}
  */




/* EXTRA */
.department_of_surgery.about_us.department_of_surgery_websites #section_right_bar {
  display: none !important;

}
body.department_of_surgery.about_us.department_of_surgery_websites #sg_mainContent #sg_centerContentInt.full_width_content {
  width: 100% !important;
  
}

#sg_header {
  font-size: 1.3rem;
font-weight: 400;
height: 36px;
padding-top: 6px;
}
  
/* container to holds both search and slideshow */
#slide-and-search-container {
    margin: auto;
    position: relative;
}

/* DD #1398 - put lock sysmbol on level one items when protected */
.mega.item_protected h2 a::after {
    color: #ec9005;
    content: "";
    font-family: "FontAwesome";
    font-size: 0.9em;
    margin-left: 5px;
} 

/* move top bar menu items to float right per UCSF guidline except University of Calif */
#menu-slot-2, #menu-slot-3, #menu-slot-4, #menu-slot-5, #menu-slot-6, #menu-slot-7 {
    display: block;
    float: right !important;
}   


#menu-slot-5::after {
  content:"|";
  margin-left: 16px;      
}





.breadcrumb_folder {display:none}




@media only screen and (max-width: 726px) {
   #menu-slot-2, #menu-slot-3, #menu-slot-4 {
    display: none;
  }
}


.syndicate figure {display:table !important}



.title-filter-wrap .filter-list li {padding: .2em .6em .25em 20px !important;min-height: inherit !important;}


.title-filter-wrap .filter-list li.all {padding: 1px 0 !important;}



.view-abstract a:nth-child(n+2) {
  margin-left: 8px;
  padding-left: 10px;
  border-left: 1px solid #ccc;
} 

/* slideshow nav */

.simpleslideshow img {
  width: 100%;
  height: auto;
  display: block;
  position: absolute;
  margin: 0;
}
.simpleslideshow {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  overflow: hidden;
  margin-bottom: 25px;
}
.simpleslideshow.fullwidth {
  margin: 0 0 30px;
  padding-bottom: 40%;
}

.simpleslideshow-inner {
  position: relative;
  margin: 0 auto;
  max-width: 1270px;
}

.simpleslideshow-wrapper {
  background-color: #eee;
}
    
.simpleslideshow__img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}
.simpleslideshow__backimg {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

@media only screen and (min-width : 720px) { 
  margin-top: -20px;
}
.navbtn {
  display: none;
  z-index: 5;
  text-indent: -10000px;
  position: absolute;
  width: 10%;
  height: 100%;
}

@media only screen and (min-width : 720px) {
  .navbtn {
    display: block;
  }
}

.navbtn:hover {
  text-decoration: none;
}

.navbtn.prev {
  left: 0px;
}
.navbtn.next {
  right: 0px;
}

.navbtn::before {
  background-size: 32px 32px;
  background-repeat: no-repeat;
  background-color: rgba(0,0,0,1);
  position: absolute;
  border-radius: 50%;
  bottom: 20px;
  width: 60px;
  height: 60px;
  display: block;
  opacity: 0.4;
  z-index: 6;
  content: "";
}
.navbtn:hover::before {
  opacity: 1;
}
.navbtn.prev::before {
  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA0NzcuMTc1IDQ3Ny4xNzUnPjxwYXRoIGZpbGw9JyNmZmYnIGQ9J00xNDUuMTg4IDIzOC41NzVsMjE1LjUtMjE1LjVjNS4zLTUuMyA1LjMtMTMuOCAwLTE5LjFzLTEzLjgtNS4zLTE5LjEgMGwtMjI1LjEgMjI1LjFjLTUuMyA1LjMtNS4zIDEzLjggMCAxOS4xbDIyNS4xIDIyNWMyLjYgMi42IDYuMSA0IDkuNSA0czYuOS0xLjMgOS41LTRjNS4zLTUuMyA1LjMtMTMuOCAwLTE5LjFsLTIxNS40LTIxNS41eicvPjwvc3ZnPgo=);
  background-position: 11px 14px;
  left: 20px;
  top: 44%;
}
.navbtn.next::before {
  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA0NzcuMTc1IDQ3Ny4xNzUnPjxwYXRoIGZpbGw9JyNmZmYnIGQ9J00zNjAuNzMgMjI5LjA3NWwtMjI1LjEtMjI1LjFjLTUuMy01LjMtMTMuOC01LjMtMTkuMSAwcy01LjMgMTMuOCAwIDE5LjFsMjE1LjUgMjE1LjUtMjE1LjUgMjE1LjVjLTUuMyA1LjMtNS4zIDEzLjggMCAxOS4xIDIuNiAyLjYgNi4xIDQgOS41IDQgMy40IDAgNi45LTEuMyA5LjUtNGwyMjUuMS0yMjUuMWM1LjMtNS4yIDUuMy0xMy44LjEtMTl6Jy8+PC9zdmc+Cg==);
  background-position: 17px 15px;
  right: 20px;
  top: 44%;
}

.slideshow-nav-wrapper {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 30px;
  z-index: 10;
  text-align: center;

}
.slideshow-nav {
  display: inline-block;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  height: 20px;
}
.slideshow-nav a {
  text-indent: -100000px;
  background: rgba(0, 0, 0, 0.3);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
  margin: 3px 10px;
  float: left;
  border: 1px solid rgba(0, 0, 0, 0.3);
}

.slideshow-nav a.on, .slideshow-nav a:hover {
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid rgba(255, 255, 255, 1);
  width: 16px;
  height: 16px;
}

.slidecaption {
  position: absolute;
   bottom: 0;
  padding: 15px 25px;
  background: rgba(64, 64, 160, .458);
  /* background: rgba(33, 33, 33, 0.8); */
  color: #fff;
  z-index: 6;
  font-size: 2rem;
  width: 100%;
  text-align: center;
}

.slidecaption:empty {
display:none;
}

@media only screen and (max-width: 726px) {
  .slidecaption { 
    font-size: 1.3rem;
    padding: 8px 15px;
  }
}
  
@media only screen and (max-width: 576px) {
  .slidecaption { 
    display: none;
  }
}
  
.slidecaption:hover, .slidecaption.hover {
  
  background: rgba(45, 150, 212, 0.8);
  color: #fff;
}

.link {
  cursor: pointer;
}

.schedulesgeneric_class a:visited, .schedulesgeneric_class a:link {
font-size: inherit;
font-weight: inherit;
font-style: inherit;
text-decoration: none;
font-family: inherit;
color: #0450ac;
}

.fancybox-overlay {
  background: rgba(53, 53, 53, 0.7);
}

body:not(#home) .leftBarBoxesFreeform {display: none;}

#bioImg .autobio_video_link {
  display: inline-block;
  background-color: #659BD3;
  border-radius: 3px;
  padding: 2px 6px 2px 30px;
  color: #fff;
  margin-top: 4px;
  background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20491.858%20491.858%27%3E%3Cpath%20fill%3D%27%23fff%27%20d%3D%27M357.714%20423.331c0%209.328-10.676%2016.891-23.847%2016.891H23.847C10.676%20440.222%200%20432.659%200%20423.331V203.735c0-9.33%2010.676-16.892%2023.847-16.892h310.02c13.171%200%2023.847%207.564%2023.847%2016.892v219.596z%27%2F%3E%3Ccircle%20fill%3D%27%23fff%27%20cx%3D%2789.428%27%20cy%3D%27118.706%27%20r%3D%2759.619%27%2F%3E%3Ccircle%20fill%3D%27%23fff%27%20cx%3D%27253.381%27%20cy%3D%27103.801%27%20r%3D%2774.524%27%2F%3E%3Cpath%20fill%3D%27%23fff%27%20d%3D%27M491.858%20447.677s-1.986%2014.904-15.899%2014.904c-13.912%200-103.34-83.42-103.34-94.397V258.882c0-10.976%2087.443-94.398%20103.34-94.398%2015.899%200%2015.899%2014.905%2015.899%2014.905v268.288z%27%2F%3E%3C%2Fsvg%3E%0A);
    background-repeat: no-repeat;
  background-size: 17px;
  background-position: 6px 4px;
  border: #1064a6;
  width:100%;
}

#bioImg .autobio_video_link:hover {
  text-decoration: none;
   background-color: #3b5998;
}

#bioImg {
float: left;
width: 20%;
max-width: 144px;}

#bioImg #sg_biopic {
  width: 100%;
}


#google_calendar .calander iframe, .google-calendar iframe {
    width:100%;
}





.news_frontpage_container {
    height: 335px;
}

#middle_right_section .news_frontpage_container li, #sg_bottomBoxContainer .news_frontpage_lab_li, .news_frontpage_lab li {
  margin: 10px 0;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px !important;
  list-style: none;
}

.twitter-timeline {text-align:center}

.twitter-follow-btn {
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAB9klEQVRIid2VMWsUURSFz30EWWQJEkSCiEUQSSFaKEFEJIhY+BOCoJWCtY2VhYVYWEiwM5Voa0BsTSFRwUpETbOlpghGjAZUsuez2HnLMOzMrtvpgWEuj3vPO+fOfW+kfx0xThEgSXOSLkk6IGlL0lNgOaX0u8hpSWrlggVgZkTyXcBd213bANimiF8AF4Dbtl8B0wIS8BZ4D8wU6mph+zrQpRnfgAXbhwVMAuuFgo7tMw3qW8CXiupB8Sfb72xfzpY7paRftu8DB6tugLmcN+TZtn2lXw8sDbC5Uayft72vEDI/pDUZj4BUVjZre6OckS2XNnsDrJbXG+LFzJ2AKUlXI+Ix4NIY5s0F7JV0AjhVWlNDvJ7rJyRtAeci4khE71jkd1M8BB/6DiJiR9JSNaPq4i9iS3pZJdtt+0nD2I0cAysDPdlu275TfNBx0bV9sczbH6WImJR0VtLP+tYObdFaRCzXbfA5Il4D+5umpIF8B7gRET9q1dluA4vA9hjtuQdMNLnPapLto8At4HuVpeZwPaN3PQ8HvctvwXYnkzRMThd4CLTr+AI4CcxKmoqI45JOq/cTSXVFhZDNiLgJPEgp1Q8GsMf2NeBj5f4ZCNtfi34fGqUj/bNP8RsE5iUdi4hp9e4qRcSmpDVJq5KeR0TjKP9f+AOMELkib7gadQAAAABJRU5ErkJggg==);
  background-repeat: no-repeat;
    background-position: 5px 4px;
    background-color: #2897dd;
    background-size: 12px;
    color: #fff;
    border-radius: 3px;
    padding: 3px 7px 2px 21px;
    text-decoration: none;
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: inline-block;
  display: none;
}

.twitter-follow-btn:hover {
  text-decoration: none;
}

.findAProgramPopoutUL li {
  font-size: 90%;
  padding: 0;
  margin: 0 0 5px 0;
  list-style: none;
}

@media only screen and (min-width: 720px) {
  .findAProgramPopoutUL {
    width: auto;
    padding: 0;
    float: none;
    columns: 3;
  }
    
    
}

.findAProgramPopoutUL a[href*="/surgery-dropdown-headings/"] {
  font-weight: 700;
  color: #513a52;
  margin-top: 14px;
      display: inline-block;
      border-bottom: 1px solid #fff;
}

.findAProgramPopoutUL a[href*="/clinical-programs"]:hover, 
.findAProgramPopoutUL a[href*="/research"]:hover,
.findAProgramPopoutUL a[href*="/education--training"]:hover {
  cursor: default;
}


.google_search_results #section_left_bar {
  display: none;
}

.gsc-table-cell-thumbnail {padding: 0 10px 0 0;}

.google_search_results #sg_centerContentInt.full_width_content {max-width: 69%}
.gsc-control-cse, .gsc-control-cse .gsc-table-result {font-size: 1.5rem}
.cse .gsc-control-cse, .gsc-control-cse {padding: 0}
.gsc-results .gsc-cursor-box {text-align: center}

#findAProgramLabSystemWide {
  padding-top: 35px;
}
.findAProgramColumnDiv {
  font-size: 22px;
  border: 0;
  position: absolute;
  top: 0px;
  font-weight: 400;
  height: auto;
  color: #2d494f;
}

.fancybox-close {
  background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20384.97%20384.97%27%3E%3Cpath%20d%3D%27M360.909%200H24.061C10.767%200%200%2010.767%200%2024.061v336.848c0%2013.293%2010.767%2024.061%2024.061%2024.061h336.848c13.281%200%2024.061-10.767%2024.061-24.061V24.061C384.97%2010.767%20374.191%200%20360.909%200zm0%20360.909H24.061V24.061h336.848v336.848z%27%2F%3E%3Cpath%20d%3D%27M111.533%20273.172c4.74%204.692%2012.439%204.692%2017.191%200l64.049-63.52%2063.472%2063.472c4.74%204.752%2012.439%204.752%2017.179%200s4.74-12.475%200-17.227l-63.376-63.388%2063.015-62.497c4.74-4.704%204.74-12.319%200-17.011-4.74-4.704-12.439-4.704-17.179%200l-62.931%2062.413-63.869-63.881c-4.74-4.752-12.439-4.752-17.179%200-4.74%204.764-4.74%2012.475%200%2017.227l63.773%2063.785-64.134%2063.604c-4.751%204.704-4.751%2012.331-.011%2017.023z%27%2F%3E%3C%2Fsvg%3E);
  background-position: 0 0;
  background-size: 22px;
  background-repeat: no-repeat;
  top: 10px;
  right: 10px;
  width: 22px;
  height: 22px;
  border-radius: 1px;
  background-color: #eee;
}
.fancybox-close:hover {
  background-color: rgb(195, 204, 208);
}

body.department_of_surgery.former_chairs .leftbar_items {
  display: none;
}

body.department_of_surgery.former_chairs .faculty_sections {
  float: none;
  padding-left: 10px;
}


figure img {margin-bottom: 8px;}

.wrap_right_img_div.multi_img {
border: 0;
border-radius: 0;
  display: flex;
   flex-direction: row-reverse;
}

.wrap_right_img_div.multi_img div {
border: 1px solid #ddd;
border-radius: 4px;
  overflow: hidden;
}
.wrap_right_img_div.multi_img .primary-img {
margin-right: 10px;
}

@media only screen and (max-width: 720px) {
  figure.imgLeftAlign {
  display: table
  }
}

#sg_centerContentInt #sg_footer {width: auto !important;}

#sg_leftBarEditableRegion a {font-weight: 400}

.social-follow li a.fontawesome-rss,.social-follow li a.fontawesome-mail-alt {display: none !important;}

.sg_int_table {background: transparent;margin-bottom: 15px;}

.sg_int_table tr:nth-child(N+2) td {padding:3px 8px; font-size: 1.2rem;}

table.imgRightAlign tr:nth-child(N+2) td {padding:6px 0; font-size: 1.2rem;}

#accordion .ui-widget-content a {display: inline-block;}

.news_frontpage_lab ul, .news_frontpage_lab li {
list-style: none;
}


#findAProgramLabSystemWide a[href$="surgery.ucsf.edu/find-a-program-links/education-training"] {font-weight: 700;
color: #513a52;
margin-top: 14px;
display: inline-block;
border-bottom: 1px solid #fff;}

.callout td p, p.callout, div.callout {font-weight: 400; border-radius: 2px;boorder: 1px solid #eee}
.twitter-timeline-div, .twitter-timeline-div iframe {max-width:100%; margin-left:0px;}

/* temporary change until Elon reverts to show timeline */
.twitter-timeline-div, .twitter-timeline-div iframe {
  max-width:100%; margin-left:0px;
  border: 0px solid #ccc;
    padding: 0px;
    
}

.twitter-timeline-div .temp-twitter {
  margin: 0px;
  border: 0px solid #eee;
  padding: 20px;
}

.twitter-timeline-div .temp-twitter {
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.12), 0 2px 10px 0 rgba(0, 0, 0, 0.19);
}
.ucsf-twit {
  width: 30px;
  color: rgb(29, 155, 240) !important;
  fill: currentColor;
}
.ucsf-twitter-site {
  color: rgb(29, 155, 240) !important;
}
.left-bar-twitter-title {
  margin:auto;
  padding-bottom:10px;
  font-weith:bold;
  font-size:18px;
  text-align:center;
}

/* end temp twitter timeline changes */

.clear-right {clear:right}
.clear-left {clear:left}


.lab_research_level_1_class #section_left_bar, .dtLabLevel1Publications #section_left_bar {
display: none !important; /*can't kill from admin so doing it with css */
}
.lab_research_level_1_class #sg_centerContentInt, .dtLabLevel1Publications #sg_centerContentInt {
 max-width: 66.6666%;
}

#patient_stories_list .story_title {
margin-top:0;
}
.patient_stories_ul {
  margin-top: 1rem;
  list-style: none;
  padding: 0;
}
.patient_story_in_list {
    padding: 0;
  background: none;
  margin: 2rem 0 0;
  clear: both;
  list-style: none;
}
.bio_patient_stories h2 {
  margin-top: .5rem;  
}
.story_person {
  font-weight: 700; 
}
.faculty_sections_head_content h2:first-child {
  margin-top: 0;
}

div.imgRightAlign, div.imgLeftAlign {
    border: 0;
    float: none;
    margin: 0;
    display: inline;
}
figure {
    float: none;
    border: 0;
    margin: 0 0 1em;
    padding: 0;
}

div.imgRightAlign figure, div > figure.imgRightAlign {
    width: 25%;
    float: right;
    margin-left: 1em;
}
div.imgLeftAlign figure, div > figure.imgLeftAlign {
    width: 25%;
    float: left;
    margin-right: 1em;
}
div.imgLeftAlign > figure img, div.imgRightAlign > figure img, figure.imgLeftAlign img, figure.imgRightAlign img {
    margin: 0;
  width: 100%;
}
div > figure img {
    margin: 0;
}
div.imgLeftAlign > figure > figcaption, 
div.imgRightAlign > figure > figcaption, 
figure.imgLeftAlign > figcaption, 
figure.imgRightAlign > figcaption,
div.imgCenterAlign > figure > figcaption, 
figure.imgCenterAlign > figcaption {
    font-size:90%;
    padding: 5px 8px 5px;
    background: #eee
}

div.imgCenterAlign figure, div > figure.imgCenterAlign {
    width: 100%;
  text-align: center;
  clear: both;
}

div.imgCenterAlign img, div > figure.imgCenterAlign img {
    display: block;
  width: 100%;
}

.button, .button-left, .button-right {
  display: inline-block;
  background: #4d93e4;
  float: none;
  padding: 3px 10px;
  margin: 0 6px 0px 6px;
  border-radius: 5px;
  color: #fff;
  font-weight: 400;
  border: 0;
  box-shadow: none;
}

.button:hover, .button-left:hover, .button-right:hover {
  text-decoration: none;
  background: #052049;
  color: #fff;
}
.button-left  {
  float: left;
  margin: 0 12px 10px 0;}
.button-right  {
  float: right;
}

.button.big {
  width: 10em;
  margin: 0 0 .5em;
  padding: 14px 8px;
  font-size: 24px;
  line-height: 30px;
  font-weight: 200;
  text-align: center;
  float: none;
}

.button.medium {
  width: 10em;
  margin: 0 0 .5em;
  padding: 14px 8px;
  font-size: 16px;
  line-height: 30px;
  font-weight: 200;
  text-align: center;
  float: none;
  white-space: normal !important;
}

.button.center {
  display: block;
   margin-left: auto;
   margin-right: auto;
}
.button.float-left {
  float: left;
  margin-right: 1em;
}
.button.float-right {
  float: right;
  margin-left: 1em;
}
.button.navy {
  background: #052049;
}
.button.navy:hover {
  background: #000000;
}
.button.light-navy {
  background: #506380;
}
.button.light-navy:hover {
  background: #052049;
}
.button.teal {
  background: #058488;
}
.button.teal:hover {
  background: #052049;
}
.button.purple {
  background: #716FB2;
}
.button.purple:hover {
  background: #052049;
}
.button.green {
  background: #6EA400;
}
.button.green:hover {
  background: #052049;
}
.button.red {
  background: #EB093C;
}
.button.red:hover {
  background: #000000;
}
.button.black {
  background: #000000;
}
.button.black:hover {
  background: #052049;
}
.button.orange {
  background: #F26D04;
}
.button.orange:hover {
  background: #052049;
}
.button.dark-gray {
  background: #4D4D4D;
}
.button.dark-gray:hover {
  background: #052049;
}

table[id^='flowchart'] {
  background: #f6f6f6;
}

table[id^='flowchart']  tr:nth-child(n+2) th {
  position: relative;
  padding-top: 60px;
  
}

table[id^='flowchart'] td {
  padding: .6em 1em .8em;
}
table[id^='flowchart'] tr:nth-child(n+2) th::before {
  content: '\002b07';
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  font-size: 50px;
  background: #fff;
  color: #513a52;
  height: 55px;
  line-height: 55px;
}


div[style="padding: 56.25% 0 0 0; position: relative;"] {
  margin-bottom: 2.5em;
}

.twitter-tweet {
  width: 320px !important;
}

.replacement-text {
width: 100% !important;
flex: 0 0 100% !important;
}

.figure-div {margin: 0 0 10px}


/* END */


/* new Clinical Trials styles */

/* sort on header column  */
.header-select {
  cursor: pointer;
}


/*.header-select {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}
*/

.header-select:after {
  position: relative;
  top: 0px;
  right: -3px;

}

.header-select:hover:after {
  content:  "\2193";
}

.header-select.active {
  color: #fff;
}
.header-select.active:after {
  content:  "\2193";
}


/*.header-select-text .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  

  position: absolute;
  z-index: 1;
  top: -5px;
  left: 105%;
}
  */

.header-select:hover .tooltiptext {
  visibility: visible;
}



/* end sorting of header */

#formClinicalTrials {
  margin-bottom: 10px;
}
#recruitingTrialsCB {
  color: inherit;
  font-weight: 400;
}

#header-form {
  position: sticky;
  top: 0px;
}

.ClinicalTrials #sg_centerContentInt.full_width_content, .clinical_trials_new  #sg_centerContentInt.full_width_content {
    flex: 1 0 auto;
    width: 100% !important;
    padding: 0 15px;
}

.ct-container.header,
.raf-container.header-raf {
  font-weight: 700; 
  margin-bottom: 10px;
  color: #fff;
  background: #215967;
}

.ct-container, .ct-grid-container {
  display: grid; 
  width:100%;
  max-width:1130px;
  grid-template-columns: 27% 19% 27% 27%; 
  grid-gap: 1px;  
  padding: 0px;
} 

.the-values { 
  background-color:#e1e2e3;
  padding:4px;
} 

.ct-grid-container > div, .ct-container > div {
    padding: 8px;
}

.ct-grid-container .ct-info {
  grid-column: 1/2;
}

.ct-grid-container .ct-pi {
  grid-column: 2/3;
}
  

.ct-grid-container .ct-conditions {
  grid-column: 3/4;
}

.ct-grid-container .ct-interventions {
    grid-column: 4/5;
}

.ct-grid-container .recruiting {
  color: green;
}
.ct-grid-container .not-recruiting {
  color: darkred;
}

.ct-grid-container .not-yet-recruiting {
  color: darkgoldenrod;
}


@media only screen and (max-width: 720px) {

  .ClinicalTrials #sg_centerContentInt.full_width_content, 
  .clinical_trials_new  #sg_centerContentInt.full_width_content {
    flex: 1 0 auto;
    width: 100% !important;
    padding: 0;
  }

  .ct-container.header {
    font-weight:normal; 
    margin-bottom:10px;
  }
  
  .ct-container.header .ct-conditions, .ct-container.header .ct-interventions {
    display: none;
  }

  .ct-container, .ct-grid-container {
    grid-template-columns: 60% 40%;  
  } 
  .the-values {
    background-color:#e1e2e3;
    padding:4px;
  }
    
  .ct-grid-container .ct-conditions,
  .ct-grid-container .ct-interventions {
    grid-column: 1 / 3;
  }

  .ct-grid-container .ct-interventions {
    border-bottom: 1px solid #ddd;
      padding-bottom: 20px;
      margin-bottom: 10px;
  }

  .ct-grid-container .ct-conditions::before {
    content: "Conditions: ";
      font-weight: 700;
  }
  .ct-grid-container .ct-interventions::before {
    content: "Interventions: ";
    font-weight: 700;
  }

    .ct-grid-container > div, .ct-container > div {
      padding: 6px;
      overflow: visible;
  }

  .ct-grid-container .recruiting {
    color:green;
  }
  .ct-grid-container .not-recruiting {
    color:orange;
  }
}







/* Research Activities and Funding */

/* sort on header column  */
.header-select-raf {
  font-weight:bold;
}
.header-select-raf {
  cursor: pointer;
}


/*.header-select {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}
*/

.header-select-raf:after {
  position: relative;
  top: 0px;
  right: -3px;

}

.header-select-raf:hover:after {
  content:  "\2193";
}

.header-select-raf.active {
  color:#FFF;
}
.header-select-raf.active:after {
  content:  "\2193";
}
.the-dates div {
    display: inline-block;
}


/*.header-select-text .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  

  position: absolute;
  z-index: 1;
  top: -5px;
  left: 105%;
}
  */

.header-select:hover .tooltiptext {
    visibility: visible;
}

/* end sorting of header */

#formClinicalTrials {
  margin-bottom: 10px;
}
#recruitingTrialsCB {
  color: inherit;
  font-weight: 400;
}


/* Research Activities and Funding */
.CtsiResearchActivitiesAndFunding   #sg_centerContentInt.full_width_content {
    flex: 1 0 auto;
    width: 100% !important;
    padding: 0 15px;
}

.raf-container.header {
  font-weight: 700; 
  margin-bottom: 10px;
  color: #fff;
  background: #215967;
  position: sticky;
  top: 0px;
}

.raf-container, .raf-grid-container {
  display: grid; 
  width: 100%;
  max-width: 1130px;
  grid-template-columns: 24% 32% 23% 21%; 
  column-gap: 0;  
  padding: 0px;
} 

.the-values { 
  background-color: #e1e2e3;
  padding: 4px;
}

.raf-container.header-raf .raf-name {
  padding-left: .5em;
}

.raf-grid-container > div, .raf-container > div {
    padding: 8px 0;
}

.header-raf .raf-title, .header-raf .raf-sponsor, .header-raf .raf-term-award {
  padding-left: 1em;
}

/*Columns: name, title, role, sponsor, term of award */
.raf-grid-container .the-pi {
  grid-column: 1/2;
  
}
.the-role-span {
  display: block;
}

.raf-grid-container .the-title {
  grid-column: 2/3;
  padding-left: 1em;
}
.raf-grid-container .change-pi {
  border-top: 1px solid #ddd;
}

.raf-grid-container .the-sponsor {
    grid-column: 3/4;
  padding-left: 1em;
  color: green; 
}

.raf-grid-container .sponsor-award-id {
  color: #666;
}
.raf-grid-container .the-term {
    grid-column: 4/5;
  padding-left: 1em;
}

.raf-grid-container.recruiting {
  color: green;
}
.raf-grid-container.not-recruiting {
  color: darkred;
}

.ctsi-attribution {
    font-size: 12px;
    margin-bottom: 6px;
}

@media only screen and (max-width: 720px) {
  .raf-container, .raf-grid-container{
    grid-template-columns: 40% 60%;
  }
  .header-raf .raf-role, .header-raf .raf-sponsor, .header-raf .raf-term-award {
    display: none;
  }
  
  .raf-container.header-raf .raf-title,
  .raf-grid-container .the-title {
    padding-left: 1em;
  }
  
  .raf-grid-container .the-sponsor {
    grid-column: 1/2;
    padding-top: 0;
    padding-left: 0;
    border-bottom: 1px solid #ddd;
  }
  .raf-grid-container .the-term {
    grid-column: 2/3;
    border-bottom: 1px solid #ddd;
    padding-left: 1em;
    padding-top: 0;
  }
  .sponsor-award-id {
    display: inline;
  }
  .sponsor-award-id::before {
    content: " (";
  }
  .sponsor-award-id::after {
    content: ")";
  }
  .raf-grid-container .change-pi {
    border-top: 0;
  }

}

/* end Research Activities and Funding */

.bioNewsListDivBody img {
  padding: 0;
}
  
.wrap_right_img_div.multi_img div {
  border: 0;
  border-radius: 0;
}

/* Temp till ucsf_compliant_banner.css is versioned */
body #slide_text {
  margin: 0 !important;
  width: auto;
}

.research_funding {
color: #fff !important;}

#floating-index h3 .index-top-link {
  text-indent: -10000px;
  position: relative;
  top: 2px;
  width: 26px;
  height: 26px;
  display: inline-block;
  visibility: hidden;
}
#floating-index h3 .index-top-link::after {
  content: "\f062";
    font-family: fontawesome;
  color: #fff;
  position: absolute;
    right: 8px;
    top: 6px;
    font-size: 12px;
    text-indent: 0;
}

#floating-index.float-nav h3 .index-top-link {
  visibility: visible;
}

img {
  margin: 10px 0 5px;
}

.fellowshipItem {
  font-weight: 700;
}

/* UCSFScheduleGenericWithLeftbar template changes */

@media only screen and (min-width: 769px) {
  .UCSFScheduleGenericWithLeftbar #sg_centerContentInt.full_width_content {
    width: 100%;
  }
  .UCSFScheduleGenericWithLeftbar #sg_centerContentInt.full_width_content .schedule_content_title, 
  .UCSFScheduleGenericWithLeftbar #sg_centerContentInt.full_width_content .calendar_intro, 
  .UCSFScheduleGenericWithLeftbar #sg_centerContentInt.full_width_content .calendar_footer {
    width: 66.666%;
  }
}
/* add for lab front page new section below intro text */
.lab-fp-middle-content {
    margin: 15px 0;
    border-bottom: 1px solid #dadde2;
    padding-bottom: 6px;
}

/* front page leftbar sg_labbox center img */
#home #sg_labbox .inner div:first-child {
    margin: auto;
    text-align: center;
}
/* END */

/* EDITOR PROPERTIES - PLEASE DON'T DELETE THIS LINE TO AVOID DUPLICATE PROPERTIES */
