/* zzCustom.css */

/* Typography */

/* ----------> OPTIMA FONT */

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .PageTitle, .PanelTitle, .SectionTitle, .SectionLabel, .SectionLabelSmaller,
.RadMenu.RadMenu_Austin .rmRootGroup > .rmItem > .rmLink,.TextButton,
#hpTabbed .ui-tabs-nav li a,
.myProfileLink_Placeholder  {
	font-family: Optima, Segoe, 'Segoe UI', Candara, Calibri, Arial, sans-serif;
	font-weight:normal!important;
	border:none;
}


/* Text Shadow */
#hpTabbed .ui-tabs-active a,
.TextButton {
	text-shadow:0 0 10px rgba(0,0,0,.8);
}


.MySQA .panel-title, .MySQA H2
{font-size: 150%;
}
/* GLOBAL THEME OVERRIDES */


/* ============> Header  */


#masterHeaderBackground, .header {
	padding-bottom:0;
}

/* SOCIAL ICONS */
.socialicons {
    /* border:1px solid white; */
    margin: 0;
    display: inline-block;
    padding: 0;
}

.socialicons li {
    list-style: none;
    float: left
}

.socialicons li a {
    opacity: .9;
    display: block;
    margin-right: 5px;
    line-height: 0em;
}

.socialicons li a:before {
    font-family: 'FontAwesome';
    color: #124454;
    font-size: 25px;
    /* text-shadow: 2px 2px 2px #000; */
}

.socialicons li a span {
    display: none;
}

.socialicons a.twitter:before {
    content: "\f081";
}

.socialicons a.facebook:before {
    content: "\f082";
}

.socialicons a.instagram:before {
    content: "\e055";
}

.socialicons a.linkedin:before {
    content: "\f08c";
}


#masterHeaderBackground, .header {
	border-bottom:none;
}


.header-bottom-container .header-container {
  max-width:none;
  padding-right: 0;
  padding-left:0;
}

/*  Logo  */
a.hdLogo {
	display:block;
	text-indent:-2000px;
	background-image:url(images/sqa/SQA_hd_Logo.png);
	background-repeat:no-repeat;
	height:50px;
	width:400px;
	margin-top:3rem;
	margin-bottom:3rem;
}


.nav-primary {
  background-color:#124454;
  float:none;
  clear: both;
  }

.RadMenu.RadMenu_Austin .rmRootGroup {
  /* display:table; */
  /* width: 100%; */
  max-width:1170px;
  margin:auto;
}
  /* NOT ON MOBILE */
  @media(min-width:768px){

    .RadMenu.RadMenu_Austin .rmRootGroup > .rmItem {
      /* display: table-cell; */
      /* float:none; */
    }
    .RadMenu.RadMenu_Austin .rmRootGroup > .rmItem > .rmLink {
      font-size:18px;
      text-align: center;
      text-shadow: 1px 1px 4px rgba(51, 51, 51, 0.75);
    }

  }

.RadMenu_Austin .rmSlide .rsmTwoLevels > .rsmItem > .rsmLink,
  .RadMenu_Austin .rmSlide .rsmTwoLevels > .rsmItem.rsmDisabled > .rsmLink:hover,
  .RadMenu_Austin .rmSlide .rsmTwoLevels > .rsmItem.rsmDisabled > .rsmLink:focus {
  	color:#eee;
  }

  .RadMenu_Austin .rmSlide .rmLink:hover, .RadMenu_Austin .rmSlide .rmLink.rmFocused,
  .RadMenu_Austin .rmSlide .rsmLink:hover,
  .RadMenu_Austin .rmSlide .rsmLink.rmFocused,
  .RadMenu_Austin .rmSlide .rsmTwoLevels > .rsmItem > .rsmLink:hover,
  .RadMenu_Austin .rmSlide .rsmTwoLevels > .rsmItem > .rsmLink.rmFocused {
    background-color: transparent;
    color: #fff;
    }


  .RadMenu_Austin .rmSlide .rsmTwoLevels > .rsmItem > .rsmLink,
  .RadMenu_Austin .rmSlide .rsmTwoLevels > .rsmItem.rsmDisabled > .rsmLink:hover,
  .RadMenu_Austin .rmSlide .rsmTwoLevels > .rsmItem.rsmDisabled > .rsmLink:focus {
    text-transform:initial;
    color: #ccc;
   font-weight:normal!important; 
    }


.rmExpanded .rmExpandRight,
.rmVertical .rmSlide .rmGroup{background-color:#5d0003;}




/* Auxilary Nav Area */
div.ProfileLoginLinks {
	margin-top:1.5rem;
	display:block;
	clear:both;
	text-align:right;
}

div.ProfileLoginLinks .TextButton {
	color:#fff;
}

.myProfileLink_Placeholder {
	display:inline-block;
}

.myProfileLink_Placeholder a {
	text-decoration:none;
	line-height:1em;
}
.myProfileLink_Placeholder .nav-text span {
	display:block;
	color:#2d85a2;
}





/* Base Styles Ovveride */
.CalloutArea1,
.CalloutArea2 {
	padding:2rem;
	box-shadow: none;
	color:initial;
}

.CalloutArea1 {background-color: #CCD5D8}
.CalloutArea2 {background-color: #E8E8E8}

/* HOME PAGE */

/* 	Hide on Home Page  */

#masterContentArea {margin-top:0;margin-bottom: 50px;}

.HomePage .iMIS-WebPart > .ContentItemContainer, 
.HomePage .WebPartZone > .ContentItemContainer {
	margin-bottom:0;
}


body.HomePage .breadcrumb-obo-container {
	display:none;
}

/* override Max-width on .container on homepage only */
body.HomePage #masterContentArea.container {
	max-width:none;
	
}

/* Set padding for all rows on Homepage */
body.HomePage .col-primary > div > .row {
	padding:3rem 0;
}


/* ======== HERO  */

body.HomePage .col-primary > div > .row:first-child {padding:0;}


body.HomePage .col-primary > div > .row:first-child > .container,
body.HomePage .col-primary > div > .row:first-child > .container > .col-sm-12{
Max-width:none;
padding:0;
margin:0;
}


.unslider-wrap.unslider-carousel>li {
	max-height:500px;
}

.unslider-arrow,
.unslider-arrow:hover {
  text-decoration:none!important;
}

.unslider-nav {
    text-align: center;
    position: absolute;
    bottom: 5px;
    z-index:999;
    right: 0;
}

.unslider-nav li {
    margin:0 3px!important;
    width: 11px;
    height: 11px;
    display: inline-block;
    border: 1px solid #fff!important;
    cursor: pointer;
    text-indent: -9999px;
    -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
    -o-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
    box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}

.unslider-nav li:hover {
    background: #333;
    background: rgba(0, 0, 0, 0.7);
}

.unslider-nav li.unslider-active {
    background: #000;
    background: rgba(255, 255, 255, 0.9);
    cursor: default;
}


.unslider-arrow {
  text-decoration:none;
  position:absolute;
  color:#fff;
  bottom: 15%;
  height: 65px;
  width: 68px;
  overflow:hidden;
  text-align: center;
  }

.unslider-arrow:before{
    font-family:"fontawesome";
    font-size:4em;
    line-height: 62px;
    color: rgba(255, 255, 255, 0.75);
    display: block;
    margin-bottom: 2em;
    text-shadow:0 0 10px rgba(0,0,0,.4);
}
.unslider-arrow.prev:before {
    content: '\f0a8';
}
.unslider-arrow.next:before {
       content: '\f0a9';
}

.hpHeroSlider .inner {
  max-width:1110px;
  z-index: 1;
  position: relative;
  margin: auto;
}

.hpHeroSlider .caption {
  position:absolute;
  background-color:rgba(0,0,0,.5);
  bottom:0;
  left:0;
  right:0;
  color:#fff;
  padding:2em;
  text-shadow:0 0 5px #333;
}
.hpHeroSlider .caption a:not(.TextButton) {
  color:#c4c09c;
}

.hpHeroSlider .caption h1 {
  color:#fff;
  font-size:50px;
}

.hpHeroSlider .TextButton {
  border:1px solid #fff;
  color:#fff;
}

.hpHeroSlider img {
  width:100%;
  z-index: 0;
  position: relative;
}



/* ======== Welcome Blurb  */
body.HomePage .col-primary > div > .row:nth-child(2) {}

body.HomePage .col-primary > div > .row:nth-child(2) .col-sm-9 {font-size:18px;}


/* ======== Features  */
body.HomePage .col-primary > div > .row:nth-child(3) {
	background-color:#E5E9EB;
	border-top:1px solid #ccc;
	border-bottom:1px solid #ccc;
}

body.HomePage .col-primary > div > .row:nth-child(3) h2{
	font-size:20px;
	font-weight:600!important;
}

body.HomePage .col-primary > div > .row:nth-child(3) img {
	display:block;
	margin:0 auto;
}



/* ======== Tabbed Content and Twitter Feed  */
body.HomePage .col-primary > div > .row:nth-child(4) {}


.ui-state-hover, 
.ui-state-active { 
    background: none;
    height:auto!important;
}

.accordion_container > h3 {
    display: none;
}

/* Accordion toggles to Tabs below Tablet */
@media(max-width: 767px) {
	/* Hide tabs */
	#hpTabbed > ul:first-child {
		display: none;
	}
	.ui-accordion-content {
		border-bottom:1px solid #000;
	}
	/* Show Accordion Header */
	#hpTabbed .accordion_container > h3 {
		display: block;
	}

	#hpTabbed .accordion_container .ui-accordion-header {
		border:1px solid #ccc;
		background-color:#e5e9eb;
		padding: 1rem;
	}
	#hpTabbed .accordion_container .ui-accordion-header-active {
		background-color:#800007;
		color:#fff;
	}
	#hpTabbed .accordion_container .ui-accordion-header:focus {
		outline-color:transparent;
		box-shadow:none;
	}
	/* Toggle icon if panel is expanded */
	#hpTabbed .accordion_container .ui-accordion-header:before {
		content:"\f138";
		font-family:"FontAwesome";
		margin-right:.5rem
	}
	#hpTabbed .accordion_container .ui-accordion-header-active:before {
		content:"\f13a";
		font-family:"FontAwesome";
		margin-right:.5rem
	}


}

#hpTabbed .ui-tabs-nav {
	list-style:none;
	margin:0;
	padding:0 0 1rem 0;
	border-bottom:1px solid #333;
}

#hpTabbed .ui-tabs-nav li {
	padding:0;
	margin:0;

	display:inline-block;
	width:24%;
	text-align:center;
}

#hpTabbed .ui-tabs-nav li a {
	font-size:1em;
	color:#333;
	text-decoration:none;
	display:block;
	padding:.5em 1em;
	line-height: 1em;
}

#hpTabbed .ui-state-hover a{
	background-color:#e5e9eb;
}


#hpTabbed .ui-tabs-active a{
	background-color:#800007;
	color:#fff!important;
}


/* Int Content Pages */

.nav-secondary {
  background-color: #094C61;
  margin-bottom: 1em;
  font-size:14px; }


/* hover */
.RadTreeView.RadTreeView_Austin a.rtIn:hover, .RadTreeView.RadTreeView_Austin a.rtIn:focus, .RadTreeView.RadTreeView_Austin a.rtIn:active {
	background-color:rgba(255,255,255,.25);
}

/* Hide Sub Nav Head */
  .nav-secondary .sub-nav-head {display:none; }

  .RadTreeView.RadTreeView_Austin a.rtIn {
    color: #fff;
    font-weight:normal!important;}

  .RadTreeView.RadTreeView_Austin .rtSelected > a.rtIn,
  .RadTreeView.RadTreeView_Austin .child-is-selected.rtIn {
    background-color: transparent;
    color: #fff; }

	.RadTreeView.RadTreeView_Austin > .rtUL {
		margin:0;
	}

  .RadTreeView.RadTreeView_Austin > .rtUL > .rtLI {
    /* add a separator border to the first-level sub-nav items only */
    border-top: 1px solid #35657E; }

	/* tertiary menu bg */

	.RadTreeView.RadTreeView_Austin > .rtUL > .rtLI > .rtUL {
	  /* this makes the children section padding even */
		background-color:#35657E;
/* 		padding:0;
		margin:0; */
	  }

	.RadTreeView.RadTreeView_Austin > .rtUL > .rtLI > .rtUL > li {
		border-left:3px solid #094C61;
	}



/* FOOTER */

#ft {
	background-color:#124454;
	font-size:14px;
}

#ft > div {
	padding-top:1rem;
	padding-bottom:1rem;
}

#ft .FtContact {
	background-color:#264C5D;

}

#ft a {text-decoration:none;}

a.ToTop {
	display:block;
	position:relative;
	top:-45px;
	color:#fff;
	background-color:#124454;
	margin:0 auto -45px auto;
	width:65px;
	height:50px;
	text-align:center;
	font-size:.8em;
	text-transform:uppercase;
	text-decoration:none;
	padding:1rem;
	transition:top .5s;
}
a.ToTop:hover {
		color:#fff;
		top:-50px;
}

#ft a.ToTop:before {
	content:"\f139";
	font-family:"FontAwesome";
	margin-right:.5rem
}

#ft .AuxNavAndSocial {
	float:right;
}

#ft .AuxNavAndSocial > div {
	display:inline-block;
}

#ft .ftAux a{
	line-height: 25px;
	color: #fff;
}

#ft .socialicons li a:before{
	color:#fff;
}


#ft .QuickLinksToggle {
	line-height: 35px;
}

#ft .QuickLinksToggle:before {
	content:"\f138";
	font-family:"FontAwesome";
	margin-right:.5rem
}

#ft .clicked.QuickLinksToggle:before {
	content:"\f13a";
	font-family:"FontAwesome";
}


#ft .QuickLinksPanel {
	border-top:1px solid rgba(255, 255, 255, 0.16);
}


#ft .QuickLinksPanel h2 {
	color:#eee;
	font-size:1.25em;
}

#ft .QuickLinksPanel ul {
	list-style:none;
	margin:0;
	padding:0;
}

#ft .QuickLinksPanel a {
	color:#fff;
}


/* ======================= */
/* The following declarations are required to reposition page elements via appendAround  */
/* ======================= */

/* Hide on Desktop - container used for mobile */
    .AuxNav-small {display:none;}
/* Show on Desktop - container used for desktop */
    .AuxNav-lrg  {display: inline-block;}


@media (max-width:767px) {

/*   HIDE on Mobile - containter used for desktop  */
      .AuxNav-lrg  {display:none!important; }

/*   Show on Mobile - contaiers used for Mobile  */
    .AuxNav-small  {display: block!important;}

    .AuxNav-small .AuxNav {
    	display:block!important;
/*     	border:1px solid red; */
    	padding:.5em;
    	background-color:rgb(229, 233, 235)
    }
    .navbar-collapse > .auth-link-container {
    	background-color:rgb(229, 233, 235)
}
    .auth-link-container {
    	border-bottom:none;
    	/* background-color: #83060f; */
    }

    .myProfileLink_Placeholder {
/*     	border:1px dashed white; */
    	float: left;
    }

    .myProfileLink_Placeholder .nav-text span {
    	display:none;
    }
}



/* ======================= */
/* RWD */
/* ======================= */
/* TESTING ONLY */
/* @media(width:1024px){body{border:1px solid yellow;}} */
/* @media(width:768px){body{border:1px solid purple;}} */
/* @media(max-width:767px){body{border:1px solid blue;}} */



/* Tablet Landscape */
@media(width:1024px){
	/* Adjust Logo Size */
	a.hdLogo {
		display:block;
		background-size:contain;
		height:40px;
		width:300px;
	}

}


/* BELOW Tablet Landscape */
@media(min-width:768px) and (max-width:1023px){


	/* Adjust header formatting */
	.navbar-header .NavigationUnorderedList {
		display:block!important;
		clear:Both;
	}

	/* Force HomePage Features to go two column */
	body.HomePage .col-primary > div > .row:nth-child(3) .col-sm-3 {
		text-align:center;
		width:50%;
	}
	body.HomePage .col-primary > div > .row:nth-child(3) .col-sm-3 img {
		width:100%;
		max-width:100%;
	}

	/* Adjust header formatting */
	.navbar-header .NavigationUnorderedList {
		display:block!important;
		clear:Both;
		text-align: right;
	}
	/* Adjust Logo Size */
	a.hdLogo {
		display:block;
		background-size:contain;
		height:40px;
		width:300px;
	}

	/* Home Page Slider */
		/* Make sure arrows are not over caption text */
		.hpHeroSlider .inner {
			margin:0 60px;
		}
		/* Position arrow */
		.unslider-arrow {
			bottom:calc(50% - 25px);
		}


	/* HomePage Tabbed Content Tab Formatting */
	#hpTabbed .ui-tabs-nav li a {
		font-size:1em;
		line-height:1em;
		}


}


/* Below Tablet */
@media(max-width:767px){

	/* Header Layout */
		
		/* Logo */
		.header-logo-container {
			float:none;
		}

		/* Adjust Logo Size */
		a.hdLogo {
			display:block;
			background-size:contain;
			height:12vw;
			width:100%;
		}

	/* Primary Nav	 */
	.nav-primary {
		padding:0 1em;
	}

	.nav-primary .RadMenu .rmVertical .rmItem .rmText {
		display:inline-block;background-image:none;
	}
	.nav-primary .RadMenu .rmVertical .rmItem {
		border-bottom:1px solid rgba(0,0,0,.25);
		border-collapse:collapse;
	}
	.nav-primary .RadMenu .rmVertical .rmVertical{
		background-color:rgb(99, 0, 3);
	}

	
	/* Homepage */
		/* HERO */		

		.col-sm-12 .unslider {
			background-color:#124554;
		}
		.unslider-wrap.unslider-carousel>li {
			max-height:initial;
		}
		.unslider-wrap.unslider-carousel>li .caption {
		  position:static;
		  background-color:transparent;
		}
		
		.unslider-arrow {
			left:0;
			top:42%;
		  	bottom:auto;
		  	height: 35px;
		  	width: 35px;
		 }

		  .unslider-arrow.next {
		  	right:0;
		 }

		.unslider-arrow:before{
			font-size:1.5em;
			line-height: 30px;
		}


/* 	FOOTER  */
	#ft .AuxNavAndSocial,
	.footer .col-md-6.pull-right {
		float:none!important;
	}

}



/* --------------------------------------------------------------------------------------------------------------------------- */
/* Home page buttons for Organization Chart, Board of Directors, Committees, Specialty Sections */
/* Side-by-side on wider screens. Stacked on screen widths at which iParts stack. */

@media (min-width: 768px) {
    .hpOrgButton {
        width: 18.5%;
        margin: 0 0 0 .4em;}
    .LeftOrgButton {
        margin: 0 !important;}
}
@media (max-width: 767px) {
    .hpOrgButton {
        width: 99%;
        margin: 0 auto .8em auto;}
}



/* --------------------------------------------------------------------------------------------------------------------------- */
/* Hanging indent hack for pages such as SQA Copyright Policy with a decimal-based list */
/* The decimal list-type is not really a decimal. It is a whole number, at least as implemented in browsers, and displays only as 
   a whole number, even when li value is set to something like 1.2 for example. */
/* The W3C standard on the ::marker pseudo-element is still in draft form and not browser supported as of December 2017. */
/* The ::before pseudo-element inserts content before the text node of li, not the marker, 
   even when the list is styled with list-style-position: inside.
   The ::first-line pseudo-element cannot be used with margins or padding.
   The ::first-letter pseudo-element is a single character and will not work for decimal numbers. */
/* As hack, the following classes have been created for use with div tags to immitate a hanging indent for use on the 
   SQA Copyright Policy page. */

.HangingIndentItem {display: block; width: 100%; margin:0; padding: 0 0 .8em 0;}
.HangingIndent {display: block; text-align: left;}

.indent1 {float: left; width: 2em;}
.indent1-text {padding-left: 2em;}

.indent2 {float: left; margin-left: 2em; width: 2.5em;}
.indent2-text {padding-left: 4.5em;}

.indent3 {float: left; margin-left: 4.5em; width: 3em;}
.indent3-text {padding-left: 7.5em;}

.indent4 {float: left; margin-left: 7.5em; width: 3.5em;}
.indent4-text {padding-left: 11em;}

.indent5 {float: left; margin-left: 11em; width: 4em;}
.indent5-text {padding-left: 15em;}


/* Hover boxes on Member Types Page */

.imgbox {
  opacity: 1.0; filter: alpha(opacity=100); 
}

.imgbox:hover {
	  opacity: 0.6;
    filter: alpha(opacity=60); 
}



/* TIMELINE
末末末末末末末末末末末末末末末末末末末末末末末末末 */

.timeline {
  white-space: nowrap;
  overflow-x: auto;
}

.timeline *,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.timeline ol {
  font-size: 0;
  width: 100vw;
  height: 100%;
  padding: 400px 0;
  transition: all 1s;
}

.timeline ol li {
  position: relative;
  display: inline-block;
  list-style-type: none;
  width: 160px;
  height: 3px;
  background: #fff;
}

.timeline ol li:last-child {
  width: 280px;
}

.timeline ol li:not(:first-child) {
  margin-left: 14px;
}

.timeline ol li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  left: calc(100% + 1px);
  bottom: 0;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #800007;
}

.timeline ol li div {
  position: absolute;
  left: calc(100% + 7px);
  width: 280px;
  padding: 10px;
  font-size: 1.2rem;
  line-height: 90%;
  white-space: normal;
  color: black;
  background: white;
}

.timeline ol li div::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
}

.timeline ol li:nth-child(odd) div {
  top: -16px;
  transform: translateY(-100%);
}

.timeline ol li:nth-child(odd) div::before {
  top: 100%;
  border-width: 8px 8px 0 0;
  border-color: white transparent transparent transparent;
}

.timeline ol li:nth-child(even) div {
  top: calc(100% + 16px);
}

.timeline ol li:nth-child(even) div::before {
  top: -8px;
  border-width: 8px 0 0 8px;
  border-color: transparent transparent transparent white;
}

.timeline time {
  display: block;
  font-size: 1.75rem;
  font-weight: bold;
  color: #800007;
  margin-bottom: 12px;
}
.timeline p {
  display: block;
  font-size: 1.25rem;
  line-height: 1.3em;
  margin-top: 0em;
  margin-bottom: 0.25em;
}

/* TIMELINE ARROWS
末末末末末末末末末末末末末末末末末末末末末末末末末 */

.timeline .arrows {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.timeline .arrows .arrow__prev {
  margin-right: 20px;
}

.timeline .disabled {
  opacity: .5;
}

.timeline .arrows img {
  width: 45px;
  height: 45px;
}


/* GENERAL MEDIA QUERIES
末末末末末末末末末末末末末末末末末末末末末末末末末 */
@media screen and (max-width: 599px) {
  .timeline ol,
  .timeline ol li {
    width: auto; 
  }
  
  .timeline ol {
    padding: 0;
    transform: none !important;
  }
  
  .timeline ol li {
    display: block;
    height: auto;
    background: transparent;
  }
  
  .timeline ol li:first-child {
    margin-top: 25px;
  }
  
  .timeline ol li:not(:first-child) {
    margin-left: auto;
  }
  
  .timeline ol li div {
    width: 94%;
    height: auto !important;
    margin: 0 auto 25px;
  }
  
  .timeline ol li div {
    position: static;
  }
  
  .timeline ol li:nth-child(odd) div {
    transform: none;
  }
  
  .timeline ol li:nth-child(odd) div::before,
  .timeline ol li:nth-child(even) div::before {
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    border: none;
    border-left: 1px solid white;
    height: 25px;
  }
  
  .timeline ol li:last-child,
  .timeline ol li:nth-last-child(2) div::before,
  .timeline ol li:not(:last-child)::after,
  .timeline .arrows {
    display: none;
  }