/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */
@import url(https://fonts.googleapis.com/css?family=Roboto:400,300,500,700);

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
    
}
body {
	max-width: 100vw;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ===== Initializr Styles ==================================================
   ========================================================================== */

body {
    font-family: 'Roboto', sans-serif;
	font-weight: 300;
	font-size: 14px;
    color: #34393c;
}

.grid-container {
  margin-left: 0;
  margin-right: 0;
  max-width: 1400px;
  padding-left: 10px;
  padding-right: 10px;
}

/* ==========================================================================
   Background
   ========================================================================== */
  
.background-primary {
   	    z-index:-1;
}
 	
 	
/* ===================
    ALL: Orange Theme
   =================== */


.main aside {
    background: #f16529;
}




/* ==============
    MOBILE: Menu
   ============== */

.aham-nav-primary {
	float: left;
	display: block;
	width: 100%;	
	height: 0px;
	background: #7ac143;
}

nav {
	padding-right: 10%;
    padding-left: 10%;
}

nav ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}


nav a {
    display: block;
    margin-bottom: 10px;
    padding: 20px 0;
    text-decoration: none;
    background: #7ac143;
    font-family: 'Roboto', sans-serif;
    font-weight: 400; 
    color: #ffffff;
    font-size: 18px; /* Approximation due to font substitution */
    text-align: center;
    text-transform: uppercase;
    white-space:nowrap;
}

nav a:hover,
nav a:visited {
    color: white;
}

nav a:hover {
    text-decoration: underline;
}

/* stretch */
/*@media screen and (min-width: 972px) {
    .aham-nav-primary ul:first-child {
        display: table;
        width: 100%;  
    }

    .aham-nav-primary ul:first-child li.rmItem {
        display: table-cell;
        text-align: center;
    }

    .MegaDropDownMenu li {
        text-align: left;
    }

    .aham-nav-primary a {
        display: block;
    }
}
*/
/* ==============
    Header
   ============== */
.aham-header-container {
   top: 0;
   left: 0;
   padding-top: 0px;
   height: auto;
   z-index: 1;
   width: 100%;
   float: left;
}

.aham-main-container {
    display: block;
    float: left;
    position: relative;
    width: 100%;
   
}

.full-width {
     display: none;
}

.mobile-width { 
     display: inline-block;
     position: relative;
     z-index: -40; 
}

.jumbotron-width {
     display: inline-block;
     width: 100%;
 }

.header-secondary-container {
	float: left;
	display: block;
	width: 100%;
	background-color: rgba(255, 255, 255, 0.9);
}

.logo-container {
	float: left;
	/*width: 360px;*/
	/*width: calc(100% - 644px);*/
    width: 100%;
    /*min-width: 200px;*/
    margin-left: 30%;
}


.logo-item {
	float: left;
	display: inline-block;
	padding-top: 6px;
    padding-bottom: 6px;
}


.triangle-spacer {
	float: right;
	display: none;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 47px 47px 0;
	border-color: transparent #ffffff transparent transparent;
	vertical-align:top;
}

.rectangular-box {
    float: right;
    display: inline-block;
    width: 100%;
    /*width: 644px;*/
    /*width: calc(100% - 360px);*/
    height: auto;
	background-color: #7ac143;
	vertical-align:top;
}

.auxiliary-container {
	float: right;
	display:inline-block;
    padding-top: 0px;
	padding-right: 0px;
}

.navbar-header {
    width: 100%;
}

.search-text-input{
    border-top:thin solid  #e5e5e5;
    border-right:thin solid #e5e5e5;
    border-bottom:0;
    border-left:thin solid  #e5e5e5;
    box-shadow:0px 1px 1px 1px #e5e5e5;
    float:left;
    height:17px;
    margin:.8em 0 0 .5em; 
    outline:0;
    /*padding:.4em 0 .4em .6em; */
    padding: 4px 0px;
    width:183px; 
}
  
.button-holder{
    background-color:#f1f1f1;
    border-top:thin solid #e5e5e5;
    box-shadow:1px 1px 1px 1px #e5e5e5;
    cursor:pointer;
    float:left;
    height:25px;
    margin:13px 0 0 0;
    text-align:center;
    width:50px;
}
  
.button-holder img{
    margin:0px;
    width:20px; 
}


.social-box {
   float: right;
   display: inline-block;
   height: 32px;
   margin-top: 10px;
   margin-bottom: 10px;
}

.social-box img {
	padding-right: 10px;
}

.search-box {
   float: right;
   display: none;
   height: 32px;
   margin-top: 10px;
   margin-bottom: 10px;
   padding-right: 2px;
}

.search-box img {
	padding-right: 10px;
	padding-left: 5px;
}

.search-container-sm {
    padding-right: 10px;
}

.footer-social-box {
   float: left;
   display: inline-block;
   height: 32px;
   padding-top: 3px;
}

.footer-social-box img {
	padding-right: 2px;
}

.footer-container {
    float: left;
    width: 100%;
    
}

#search-icon {
    float: right;
   
}

.auth-link-container-sm {
    margin-left: 7px;
}

.auth-link-container .auth-link{
    margin-left: 7px;
    vertical-align: top;
}

.auth-link{
    vertical-align: middle;
    display: inline-block;
}

.auxiliary-nav-box {
    display: none !important;
}

.search-container-sm {
    float: right;
    display: inline-block;
    clear: right;
}

.search-container-sm input[type="text"]{
    height: 30px;
    font-size: 80%;
}


.carousel-inner .item {
    height: 400px !important;
}

#navbar-collapse, #search-collapse {
    position: relative;
    z-index: 6;
}


/* ==============
    Footer
   ============== */

   
footer {
    height: 322px;
    background-image: radial-gradient(circle at 47% 45%, #005893, #00355f);
}


.footer-logo-container {
	background-color: #00355f;
	height: 81px;
}


.footer-logo-text {	
   position: relative;
   top: 50%; 
   transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
	font-family: 'Roboto', sans-serif;
   font-weight: 300; 
   font-size: 120%;
   color: #ffffff;
}



.footer-text {
  font-family: 'Roboto', sans-serif;
  font-weight: 500; 
  color: #ffffff;
}

.footer-text ul {
	padding-left: 0px;
}

.footer-text li  {
	display: inline;
	padding-right: 2px;
	padding-left: 2px;
}

.footer-links {
	font-weight: 700;
}


/* ==============
   Auxiliary
   ============== */

.nav-auxiliary {
    font-size: 14px;
}


/* ==============
    MOBILE: Main
   ============== */

.main {
   /* background-image: radial-gradient(circle at 47% 45%, #e6ecef, #d8e4eb); */
}

.main article h1 {
    font-size: 2em;
}

.main aside {
    color: white;
    padding: 0px 5% 10px;
}



/* ==============
    MOBILE: Feature
   ============== */

.feature {
   background-color: #ffffff;
}


/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */


.blue_button {
	border-radius: 5px;
	background-color: #4a7c9d;
	box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.25);
	color:white;
	padding: 9px 16px;
}




/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 480px) {

/* ====================
    INTERMEDIATE: Menu
   ==================== */

    nav a {
        float: left;
        margin: 0 0;
        padding: 5px 20px;
        margin-bottom: 0;
    }

    nav li:first-child a {
        margin-left: 0;
    }

    nav li:last-child a {
        margin-right: 0;
    }

/* ========================
    INTERMEDIATE: IE Fixes
   ======================== */

    nav ul li {
        display: inline;
    }

    .oldie nav a {
        margin: 0 0.7%;
    }
}


@media only screen and (min-width: 570px) {
    .footer-social-box {
        float: right;
        padding-top: 0px;
    }
}

@media only screen and (min-width: 650px) {
	
.grey-box {
   width: calc(100% - 380px);
}

}


/* ===============
    Maximal Width
   =============== */

  
    .aham-main-container .wrapper {
        /*width: 1026px;*/ /* 1140px - 10% for margins */
        width: 100%;
        margin: 0 auto;
        padding: 0px 5%;
    }
    
    
	
	.footer-logo-container .wrapper {
        width: 100%;
        margin: 0 auto;
        padding: 0px 5%;
        height: auto;
    }
	
	.footer-text-container .wrapper {
        width: 100%;
        margin: 0 auto;
        padding: 30px 5%;
	}



/* ===============
   AHAM Media
   =============== */


@media only screen and (min-width: 768px) {

    .navbar-collapse {
        width: 100%;
      }
    
    .full-width {
         display: block;
    }
    
    .mobile-width {
         display: none;
    }
    
    
    .jumbotron-width {
         top: 0;
         left: 0;
     }
    
    .aham-nav-primary {	
        height: 43px;
    }


    .triangle-spacer {
        display: inline-block;
    }
 
    .logo-container {
	   width: 50%;
       margin-left: 0%;
    }
    

    .logo-item {
        padding-bottom: 31px;
        padding-left: 5%;
        padding: 12px;
    }

    
    .rectangular-box {
        width: 50%;
        height: 47px;
        background-color: #ffffff;
    }
   
    .search-box {
        display: inline-block;
    }
    
    .aham-header-container {
       position: absolute;
    }

    
    .auxiliary-container {
        padding-top: 16px;
        padding-right: 10%;
    }
    
    
    .navbar-header {
        width: auto;
    }
    
    
    .footer-logo-text {	
       font-size: 167%;
    }

    .footer-text-container .wrapper {
        padding: 80px 5%;
	}
    
    .auxiliary-nav-box {
        display: inline-block !important;
    }
    
   
    .carousel-inner .item {
        height: 757px !important;
    }
 
    
    .footer-social-box img {
        padding-right: 10px;
    }
}

@media only screen and (min-width: 840px) {
   body {
        font-size: 15px;
    }
}

@media only screen and (min-width: 1030px) {
   .search-container-sm, .search-box {
      padding-right: 5%;
    }
    
    
    .logo-item {
      padding-left: 10%;
    }
}

@media only screen and (min-width: 1076px) {
    body {
        font-size: 16px;
    }
}

@media only screen and (min-width: 1140px) {
    
   .aham-nav-primary .wrapper {
        /*width: 1026px;*/ /* 1140px - 10% for margins */
        width: 90%;
        margin: 0 auto;
        padding: 0px 0%;
    }
    
     
    .aham-main-container .wrapper {
        padding: 0px 10%;
    }
    
    .footer-logo-container .wrapper {
        padding: 0px 10%;
    }
    
    
	.footer-text-container .wrapper {
       padding: 80px 10%;
	}
   
    
}

@media only screen and (min-width: 1240px) {
    body {
        font-size: 18px;
    }
}
/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}


 
/* ==========================================================================
   Images
   ========================================================================== */
   img.size-full {
	max-width: 97.5%;
	width: auto; /* Prevent stretching of full-size images with height and width attributes in IE8 */
	height: auto;
	}

 
/* ==========================================================================
   RadMenu AHAM custom
   ========================================================================== */

:focus {
  outline: -webkit-focus-ring-color auto 0px;
  outline-color: -webkit-focus-ring-color;
  outline-style: auto;
  outline-width: 0px;
}



/* ==========================================================================
   AHAM home page slideshow
   ========================================================================== */

#ste_container_HomeSlideshow .panel, .StandardPanel  {
  border: 0px;
  
} 

#ste_container_HomeSlideshow  .panel-body, .PanelBody {
    padding: 0px; 
}


/* ==========================================================================
   AHAM Tagged List Panel 
   h1 - h6
   ========================================================================== */
.TaggedListPanel .ContentHtml {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    color: #0067ac;  
}

h1, .h1, .PageTitle {
  text-transform: none;
}

h2, .h2, div.PanelTitle {
  border: 0px;
}

h3, .h3, .SectionTitle {
  font-size: 167%;
  font-weight: 300;
  line-height: 1.3em;
  color: #00355f;
}

h4, .h4, .SectionLabel {
  font-size: 100%;
}
/* ==========================================================================
   AHAM breadcrumb
   ========================================================================== */
.breadcrumb {
    text-transform: uppercase;
    font-size: 77%;
}

 
/* ==========================================================================
   buttons
   ========================================================================== */
.green_button {
	background-color: #7ac143;
	color: #ffffff;
	padding: 16px 33px;
	font-weight: 700;
	line-height: 1.64;
	text-transform: uppercase;
	border: 0px;
}


.big_button {
	font-size: 150%;
}


/* ==========================================================================
   links
   ========================================================================== */
.auth-link-container a {
    color: #ffffff;
}


/* ==========================================================================
   TaggedList
   ========================================================================== */

/* ribbon */

.ribbon
{
	position: relative;
	font-size: 90%;
	font-weight: 700;
	padding: 6px 70px 6px 20px;
	margin: 30px 10px 10px -10px;
	color: #ffffff;
	background-color: #7ac143;
	text-shadow: 0px 1px 2px #bbb;
	-webkit-box-shadow: 0px 2px 4px #888;
	-moz-box-shadow: 0px 2px 4px #888;
	box-shadow: 0px 2px 4px #888;
	display: inline-block;
	text-transform: uppercase;
    text-decoration: none;
}

.ribbon::after
{
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
	left: 0px;
	top: 100%;
	border-width: 5px 10px;
	border-style: solid;
	border-color: #417505 #417505 transparent transparent;
}

.ribbon::before, .ribbon::after
{
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
}

.ribbon:before
{
	width: 30px;
	left: -30px;
	top: 12px;
	border-width: 20px 10px;
	border-style: solid;
	border-color: #999 #999 #999 transparent;
}

.ribbon::before{
	width: 0px;
	left: auto;
	right: -2px;
	top: 0px;
	border-color: transparent #fff transparent transparent;
}

.ribbon a {
    color: #ffffff;
}