/* block bad ad references */
.google-auto-placed {
    display: none;
}

/* voting is closed */
.vote1{
    display: none;
}

/* disable email links in officer candidates page temp */

form[action$="officer-candidates" i] .contact-name-email a{
    pointer-events: none;
    cursor: default;
}
/* except admins */
.personabar-visible form[action$="officer-candidates" i] .contact-name-email a{
    pointer-events: auto;
    cursor: pointer;
}

/* end officer candidates temp */

/* post DNN9 upgrade fixes */

img[alt="rss"],
img[alt="RSS"]{
  display: none;
}
a:empty,
a[href=""]{
    display: none;
}
span.PF_EventLocationCity:empty{
    display: none;
}

.mtop.ui-tabs-tab a.ui-tabs-anchor{
        color: #61a63a;
}
.mtop.ui-tabs-tab.ui-state-active{
        background: transparent;
}
.livetabsflick .ui-tabs .ui-tabs-nav li:hover{
    background: #eee !important;
}



#speakers .organizing-committee.instructor .cols2 span.instructor-description{
  	color: #fff;
}
/* typography */
.h5 h5{
  padding-right: 95px;
}
.cc-2{
    column-count: 2;
    column-gap: 15px;
}
/* end typography */
/* fix ui tabs in livetabsflick */

.livetabsflick .ui-tabs-nav .ui-state-active a:link,
.livetabsflick .ui-tabs-nav .ui-state-default a:link{
    color: #46708a;
}

.livetabsflick .ui-tabs-nav .ui-state-active:hover a:link,
.livetabsflick .ui-tabs-nav .ui-state-default:hover a:link{
    color: #fff;
}

/* figure in manual image attachment */
figure{
  float: right; clear: right;
  margin: 0 0 10px 10px;
  border: 1px solid #aaa;
  width: 150px;
  display: block;
  flex: 0 0 calc(20% - 20px);
}
figure.left{
    margin: 0 10px 10px 0;
}
figcaption{
  font-size: 80%;
  text-align: center;
  line-height: 1.1em;
  padding: 5px;
  border-top: 1px solid #aaa;  
}
.content-image-panel figure{
  float: none;
  clear: none;
  display: inline-block;
}
.content-image-panel{
  display: flex;
  align-items: stretch;
}
.box a{
  word-break: break-all;
}
.sponsors-wrapper .bannerDisplayCellDiv {
  padding: 0 13px !important;
}

/* responsive styles */
img{
  max-width: 100%;
  height: auto;
}
.Left9Pane .hero-standalone img, .Left8Pane .hero-standalone img {
  width: calc(100% - 10px) !important;
  height: auto !important;
}
div.hero-standalone{
  max-width: 100% !important;
  height: auto !important;
}
.No_Title_White #lt-149242086-details div p{
  margin: 0 0 15px !important;
}
/* hero slider images on some pages */


    .hero .slider-image{
        width: 100%;
        height: auto;
    }

/* hide the qr code */

#qr{
  display: none !important;
}
/* end qr code */
/* hide CFA in details tab */
#details .related-cfa{
  display: none;
}

#accommodations-link a {
  visibility: hidden;
  position: relative;
}
#accommodations-link a::after {
  visibility: visible;
  position: absolute;
  content: "Lodging";
  left: 0;
  text-align: center;
  display: block;
  width: 100%;
  padding: .5em 0;
  top: 0;
}
/* end accommodations */

/* cols2 */
.cols2{
  display: inline-block;
  vertical-align: top;
  margin: 10px .8%;
}
@media(max-width: 992px){
  .cols2{
    width: 100%;
    margin: 0;
  }
}
  /* hide closed offices in mininav in header */

/* .mininav a[href="/global/africa"], */
.mininav a[href="/about/aapg/offices/policy"],
.mininav a[href="/global/asiapacific"]{
    display: none !important;
}

  /* speakers in events */
#speakers .contact-list-item.youngpros.cols2{
  height: auto !important;
}
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}
.box p{
  line-height: 1.3em;
}
/* shortcodes in all but Explorer */

.divPFMainShortCode{
    clear:both;
}
/* small sponsor carousel */

.bannerDisplayCellDiv{
    position: relative;
}

/* customized nomination forms */
/*
div[id*="nomination-form"] .alert-info{
    visibility: hidden;
    position: relative;
}
div[id*="nomination-form"] .alert-info:before{
    visibility: visible;
    content: "Active membership is required to make a nomination. Please login.";
    font-weight: bold;
    position: absolute;
  left: 0;
  width: 100%;
  display: block;
  text-align: center;
}
*/

.snailmail-forms{
    text-align: center;    
}

.snailmail-forms a{
    display: inline-block;
    margin: 10px;
    padding: .3em .5em;
    background: #F7941E;
    color: #fff !important;
    width: 100px;
    text-shadow: 0px -1px 1px #185b93;
}
.snailmail-forms:before{
    display: block;
    content: "SnailMail Forms";
    color: #185b93;
    font-weight: bold;
    font-size: 18px;
}
.snailmail-forms a:hover{
    opacity: .8;
}
.snailmail-forms:after{
    display: block;
    content: "...but while you're here, we prefer you use the online form. Thanks!";
    font-size: 90%;
    color: #777;
    font-style: italic;
}
/* end nomination forms. */


/* fix the one plus four */

#OnePlusFourcarousel{
    width: auto !important;    
}
#OnePlusFourcarousel img{
    opacity: 1 !important;
}
/* it is fixed! */
/* blogs */

.detail_standard_article h6{
  line-height: 1.2em;
}

/* hide things on the student chapters page
https://www.aapg.org/students/student-chapters
 */


.student-chapter-list .student-chapter-name .contact-website,
.student-chapter-list .student-chapter-name .contact-email,
.student-chapter-list .tags .schema{
    display: none;
}

/* end student chapters */
/* tables */
/* program tables */
#program .program-details table.aapg-default td{
  font-size: 15px !important;
}

#program .program-details table.aapg-default table td:first-of-type{
    width: 250px !important;
  }
/* end program tables */
/* fix an li in tables */
.aapg-default td li{
font-size: 14px;
  margin: 0 0 0 0;
}
/* end fix li */

/* for dark mode on Opera */
.menu-bg{
  background-color: #002038;
}

/* hide the outrigger */

#portamento_container_dnn_AdsPane{
display: none !important}
/* outrigger */

/* event contacts */

#contacts span.contact-committee-title, span.contact-optional-title{
  width: auto;
}
/* certification applicants  form */
form[action*="certification-applicants" i]{    
    .table-responsive.dnnsf-grid-table{
        padding-top: 65px;
    }
    
    .angrid-grid tr:first-of-type td{
        position: relative !important;
    }
    .angrid-grid tr td:last-of-type,
    .angrid-grid tr th:last-of-type
    {
        display: none;
    }

    .angrid-grid tr:first-of-type td:before{
        position: absolute;
        top: -65px;
        width: 100%;
        display: block;
        font-weight: bold;
        font-size: 16px;
        color: #f7941e;
        padding: 10px 8px;
        background: #59595b;
        left: 0;
        height: 65px;
        content: " ";
        white-space: pre-wrap;
        border-right: 1px solid #ccc;
    }    
    .angrid-grid tr:first-of-type td:first-of-type:before{
        content: "Name";        
    }
    .angrid-grid tr:first-of-type td:nth-of-type(2):before{
        content: "Company";        
    }
    .angrid-grid tr:first-of-type td:nth-of-type(2){
        min-width: 75px
    }
    .angrid-grid tr:first-of-type td:nth-of-type(3):before{
        content: "City";        
    }
    .angrid-grid tr:first-of-type td:nth-of-type(4){
        min-width: 70px
    }
    .angrid-grid tr:first-of-type td:nth-of-type(4):before{
        content: "State or Province";
    }
    .angrid-grid tr:first-of-type td:nth-of-type(5){
        min-width: 80px;
    }
    .angrid-grid tr:first-of-type td:nth-of-type(5):before{
        content: "Sponsors";
    }    
    .angrid-grid tr:first-of-type td:nth-of-type(6){
        min-width: 100px
    }       
    .angrid-grid tr:first-of-type td:nth-of-type(6):before{
        content: "Certification";        
    }
    .angrid-grid tr:first-of-type td:nth-of-type(7):before{
        content: "Publish Date";        
    }    
}
/* end certificats application form */

/* pricing table for mobile view in AAPG events */

/* page tabs */
@media(max-width: 768px){
    .livetabssmoothness.mtop  .ui-tabs-nav li{
    width: 100% !important;
    display: block;
}
}
@media(max-width: 768px){
form[action*="64424"] .pricing-list{
    display: none;
}
}

@media(max-width: 768px){
  #pricing .pricing-list{
    display: none;
  }
}

/* manual pricing table for mobile */
.pricing-details{
  display: block !important;
}
table.event-pricing-table{
width: 100%;
border-spacing: 0 20px;
}
table.event-pricing-table td{
font-family: "Roboto Condensed", san-serif;
}
table.event-pricing-table td:first-of-type{
background: #59595b;
color: #f7941e;
text-align: right;
position: relative;
padding: 6px;
font-size: 20px;
line-height: 27px;
z-index: 1;
}
table.event-pricing-table td:last-of-type{
color: #f7941e;
font-size: 33px;
text-align: left;
padding-left: 30px;
vertical-align: top;
padding-top: 8px;
  width: 110px;
}
table.event-pricing-table td:first-of-type:after{
display: block;
content: " ";
width: 28px;
height: 28px;
transform: rotate(45deg);
position: absolute;
right: -14px;
top: 5.5px;
background: #59595B;
  z-index: -1;
  border-radius: 2px 0 2px 2px;
}
  table.event-pricing-table{
    display: none;
  }
table.event-pricing-table.solo{
  display: table;
  margin-top: -20px;
}
@media(max-width: 768px){
  table.event-pricing-table{
    display: table;
  }
  table.event-pricing-table.solo{
  display: table;
}
}
/* end mobile pricing list */

/* multitab program */


#mega3-program table.aapg-default{
    width: 100% !important;
    margin: 20px 0;
}

#mega3-program .aapg-tabs table.aapg-default{
    margin: 0;
}

#mega3-program tr td:first-of-type{
    width: 80px;
    
}
#mega3-program tr td tr td:first-of-type{
    width: 50%
}

#mega3-program h6{
    font-weight: bold;
}

#mega3-program .ui-tabs-panel table.aapg-default{
    width: calc(100% + 46px) !important;
    margin: -30px -23px -22px
}
/* end multitab program */

/* images in the sponsors tab */

#sponsors .align-right{
  float: right; 
  margin: 0 0 .5em .5em; 
  width: 30%;
}
#sponsors .sponsorship:after{
content: "";
  clear: both;
  display: table;
}
/* end images in sponsors tab */

/* show more snippet */
.show-more-snippet:not(".fade")  .summary{
    white-space: pre-wrap;
}
/* end show more */

/* webinar events list summary */
.Webinar .summary{
  white-space: pre-wrap;
}

#lt-149242087-program .aapg-default small{
  font-size: 90%;
}

/* fix overflow in home carousel */

#jssor_1.event-jssor .jssort121 .p .t{
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

#jssor_1.event-jssor .jssort121 .p .d{
  white-space: pre;
}
/* end overflow in home carousel */

/* flick */
/* broke other things. needs better targeting
.flick .contact-company{
    width: auto;
    max-width: 100% !important;
    clear: none !important;
    text-indent: -6px;
    display: inline-block;
    overflow: hidden;
}
*/
/* end flick */
/* fix last-child styles */
.ui-tabs-panel > div.program-details,
.ui-tabs-panel > div:last-child{
  display: block !important;
}

/* div.box li */

div.box li{
font-size: 14px;
  line-height: 18px;
}

/* cols-2 */

.cols-2{
  width: calc(50% - 20px) !important;
  float: left;
}
.slider-image-tag.custom-caption{
  font-size: 18px !important;
}

.ui-tabs-panel .row{
    min-width: 0;
  width: auto;
  padding: 0;
  margin: 0 -10px;
}

.ui-tabs-panel .row .cols-2{
    padding: 10px;
  width: calc(50% -20px);
    
}

#activities .content-image-panel.headshots figure{
    flex: 0 0 calc(25% - 20px);
}





table.aapg-default.split td:nth-of-type(1),
table.aapg-default.split td:nth-of-type(3){
    width: 85px;
}

table.aapg-default.split td:nth-of-type(2),
table.aapg-default.split td:nth-of-type(4){
    width: 50% !important;
}

table.aapg-default{
    margin: 20px 0;
}

/*  carousel on landing pages and hot items on home have lost their prev/next arrows. Here's a fix */

/* hot items */
#slideshow_arrows_carousel #prev,
#slideshow_arrows_carousel #next{
    display: none;
}

#OnePlusFourcarousel{
    margin: 0 -15px !important; 
}

#OnePlusFourcarousel .cycle-slide{
    margin: 0 15px !important;
    
}

/* carousel */

#slideshow_arrows #prev,
#slideshow_arrows #next{
    text-align: center;
    opacity: .7;
    color: #78e;
}

#slideshow_arrows #prev img,
#slideshow_arrows #next img,
img#pauseToggle{
    visibility: hidden;
}
#slideshow_arrows #prev:before,
#slideshow_arrows #next:before{
    font-size: 60px;
    position: absolute;
    z-index: 100;
    display: inline-block;
    top: 50%;
    margin-top: -15px;
    width: 100%;
    height: 1em;
    vertical-align: middle;
    
    
}
#slideshow_arrows #prev:hover,
#slideshow_arrows #next:hover{
    background: #8886;

}

#slideshow_arrows #prev:hover:before{
    content: "<";
}


#slideshow_arrows #next:hover:before{
    content:">";
}

/* hide hubspot overlay in login popup */

.DnnModule-iMISAuthenticationModule div[id*="hs-overlay"]{
    display: none;
}

/* tweak TA star in member directory */

.MemberDirectoryTable-name-imis img[title="Trustee Associate"]{
    width: 18px;
    margin: -2px 0 0 5px
}


.google-embed{
    position:relative;
    width: 100%;
    height:0;
    padding-bottom: 300px;
}
.google-embed iframe{
    width: 100%;
    height: 100%;
    position: absolute;
}
.google-embed.pdf{
    padding-bottom: 128%;
}


/* ***** */
.No_Title_White h6{
    line-height: 23px;
}
form[action*="/middleeast/events/"] .contact-list  .contact-image,
form[action*="/middleeast/events/"] .organizing-committee .contact-image{
    display: none;
}

form[action*="/middleeast/events/"]  .PF_EventLocationCity:after{
    content: ", ";
}

form[action*="/middleeast/events/"]  .PF_EventLocationCity:after{
    content: ", ";
}

form[action*="/middleeast/events/"] .contact-list-item .contact-name-text{
    width: 100% !important;
    min-width: 100% !important;
}
@media only screen and (min-width: 1025px) {
form[action*="/middleeast/events/"] div.contact-list-item.cols2 table {
    min-width: 100%;
    float: none !important;
      width: 100% !important;
      margin-left: -5px;
  }
}
form[action*="/middleeast/events/"] div.contact-list-item.cols2 table {
  min-width: 100%;
  float: none !important;
    width: 100% !important;
    display: block;
    margin-left: -5px;
}

  form[action*="/middleeast/events/"] .contact-list-item.youngpros.cols2 {
    min-height: 100px !important;
      height: auto !important;
  }


.empty-header{
    display: none;
}

.livetabssmoothness .ui-tabs .ui-tabs-panel {
  padding: 0 1.4em 1em !important;
}


/* pfid 67306 ends 15 apr 2025 */

form[action$="/articleid/67306"] .committee .contact-committee-title1{
    display: none;
}
form[action$="/articleid/67306"]  .staff-contacts .contact-list{
    display: flex;
    flex-direction: row-reverse;
}

form[action*="67306"] .contact-list-item .contact-company-title:after{
    visibility: visible;
    position: absolute;
    top: 0;
    left: 0;
}

form[action*="67306"] .IMISID-10120833 .contact-company-title,
form[action*="67306"] .IMISID-721111 .contact-company-title,
form[action*="67306"] .IMISID-10210164 .contact-company-title,
form[action*="67306"] .IMISID-10061505 .contact-company-title,
form[action*="67306"] .IMISID-10173439 .contact-company-title,
form[action*="67306"] .IMISID-10080028 .contact-company-title,
form[action*="67306"] .IMISID-827185 .contact-company-title,
form[action*="67306"] .IMISID-10052320 .contact-company-title,
form[action*="67306"] .IMISID-796984 .contact-company-title,
form[action*="67306"] .IMISID-10260736 .contact-company-title{
    visibility: hidden;
    position: relative;
}

form[action*="67306"] .IMISID-10260736 .contact-company-title:after{
    content: "DeGolyer and MacNaughton";   
}


form[action*="67306"] .IMISID-10173439 .contact-company-title:after,
form[action*="67306"] .IMISID-796984 .contact-company-title:after,
form[action*="67306"] .IMISID-10080028 .contact-company-title:after{
    content: "Kuwait Oil Company"
}

form[action*="67306"] .IMISID-10261669 .contact-company-title{
    display: block; 
    width: 100% !important;
}


form[action*="67306"] .IMISID-10052320 .contact-company-title:after{
    content: "Ben Nevis Energy"
}



form[action*="67306"] .IMISID-827185 .contact-company-title:after{
    content: "Cambridge Carbonates"
}

form[action*="67306"] .IMISID-10061505 .contact-company-title:after{
    content: "Kuwait University"
}

form[action*="67306"] .IMISID-10210164 .contact-company-title:after{
    content: "Saudi Aramco"
}

form[action*="67306"] .IMISID-721111 .contact-company-title:after{
    content: "SLB"
}

form[action*="67306"] .IMISID-10120833 .contact-company-title:after{
    content: "Target Group"
}

/* end 67306 */


/* form required elements -- nomination forms */





/* social share */

.social-icons a:hover .aapg-linkedin-large{
	background-position:32px -40px;}
.social-icons a:hover .aapg-facebook-large{
	background-position:272px -40px;}
.social-icons a:hover .aapg-twitter-large{
	background-position:232px -40px;}
.social-icons a:hover .aapg-email-large{
	background-position:112px -40px;}
#dnn_SocialMediaPane .social-icons::before, 
.SocialMediaPane .social-icons::before {
	content: "Share this page";
	text-align: right;
	display: inline-block;
	width: 72px;
	text-transform: uppercase;
	color: #95ABBC;
	margin-right: 5px;
	font-weight: normal;
	font-size: 15px;
	line-height: 16px;
	vertical-align: top;
	}


/* committees list pages */

form[action*="overview/committees"] listing-main.listing-inline .data-container tbody{
    display: flex;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
}

form[action*="overview/committees"] listing-main.listing-inline .data-container tr{
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
    box-sizing: border-box;
}
form[action*="overview/committees"] listing-main.listing-inline paa-listing-views-display-errors,
form[action*="overview/committees"] listing-main.listing-inline .listing-container .footer,
form[action*="overview/committees"] listing-main.listing-inline .data-container table thead,
form[action*="overview/committees"] listing-main.listing-inline .data-container tr.inline-details,
form[action*="overview/committees"] listing-main.listing-inline td.item-buttons{
    display: none;
}

form[action*="overview/committees"] listing-main.listing-inline .data-container{
    overflow: hidden !important;
}

form[action*="overview/committees"] listing-main.listing-inline .data-container tr .cols3{
    width: 100% !important;
    float: none;
}

form[action*="overview/committees"] listing-main.listing-inline .data-container tr .cols3 img{
    max-width: 100%;
    margin-bottom: 5px;
    height: auto !important;
    min-height: 0;
}
form[action*="overview/committees"] listing-main.listing-inline .data-container td.text-left{
    text-align: center;
}

/* lodging cfa */

.Workshop.Housing + div.text {
    visibility: hidden;
    position: relative;
}

.Workshop.Housing + div.text:before{
    position: absolute;
    content: "AAPG Lodging Available";
    visibility: visible;
    top: 0;
    left: 0;
    font-size: 95%;    
}

/* field seminar old template */

#lt-133065-itinerary,
#lt-133062-description{
    padding-top: 20px !important;
    
}


/* pf id 67857 ends Feb 1, 2025 */

form[action$="articleid/67857"] #LI-lt-133467-instructors,
form[action$="articleid/67857"] #lt-133467-instructors{
    display: none;
}
/* end 67857 */


.align-right{
    float: right;
}
img.align-right{
    margin: 0 0 .5em .5em;
}

.align-left{
    float: left;
}
img.align-left{
    margin: 0 .5em .5em 0;
}


.Left9Pane .sponsors-wrapper .bannerDisplayDiv, .Left9Pane .sponsors-wrapper .bannerDisplayRowDiv {
  min-width: 200em !important;
}


/* hq short course details */

form[action*="/in-person/short-courses"] #lt-1743116-description,
form[action*="/in-person/short-courses"] #lt-1743113-venue,
form[action*="/in-person/short-courses"] #lt-1743112-pricing{
    margin-top: 20px;
}
form[action*="/in-person/short-courses"] #dnn_ctr1743_View_ctl00_ctl00_ctr1753_ModuleContent div:nth-of-type(2) h5:first-of-type{
    display: none;
}

/*remove/add instructor heading*/
.venue + h3{display: none;}



























