/*! HTML5 Boilerplate v6.0.1 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    font-family: 'Muli', sans-serif;
    color: #282828;
    font-size: 24px;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

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

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

/*
 * A better looking default horizontal rule
 */

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

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
a{
    color: #00638f;
    text-decoration: none;
}
p{
    margin: 0;
}
.inside-page input[type=text],
.inside-page input[type=email],
.inside-page input[type=password],
.inside-page label{
    box-sizing: border-box;
    display: inline-block;
    font-size: inherit;
    font-family: inherit;
    line-height: 150%;
    margin:5px 0;
}
.inside-page input[type=text],
.inside-page input[type=email],
.inside-page input[type=password],
.inside-page input[type=button],
.inside-page input[type=submit],
.inside-page button[type=submit],
#top-right input[type=text]{
    border:1px solid #008ac9;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    padding: 0 5px;
}
.inside-page input[type=button],
.inside-page input[type=submit],
.inside-page button[type=submit]{
    padding: 5px 10px;
    cursor: pointer;
}
.blue-bg{
    background-color: #00638f;
    color: white;
}
.grey-bg{
    background-color: #eeeeee;
}
.blue-frame{
    border:8px solid #008ac9;
    border-collapse: collapse;
}
.blue{
    color: #00638f;
}
.blue-gradient{
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#008ac9+0,00638f+100 */
    background: #008ac9; /* Old browsers */
    background: -moz-linear-gradient(top, #008ac9 0%, #00638f 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #008ac9 0%,#00638f 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #008ac9 0%,#00638f 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#008ac9', endColorstr='#00638f',GradientType=0 ); /* IE6-9 */
}
.big-blue-gradient{
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#00638f+0,008ac9+66 */
    background: #00638f; /* Old browsers */
    background: -moz-linear-gradient(top, #00638f 0%, #008ac9 66%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #00638f 0%,#008ac9 66%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #00638f 0%,#008ac9 66%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00638f', endColorstr='#008ac9',GradientType=0 ); /* IE6-9 */
}
.white-bg{
    background-color: white;
}
.row{
    clear: both;
}
.no-list, 
.menu ul{
    list-style: none;
    padding: 0;
    margin: 0;
}
#header{
    padding-top: 30px;
    padding-bottom: 50px;
}
#aim-logo{
    width: 636px;
    height: auto;
}
.header button{
    display: none;
}
#header #top-right{
    text-align: right;
    float: right;
    font-size: 20px;
    line-height: 100%;
}
#header #top-right a img{
    max-height: 20px;
}
#header #top-right .youtube-link a img{
    max-height: 24px;
}
#header #top-right .linkedin-link a img{
    max-height: 15px;
}
#header #top-right ul,
#header #top-right ul li,
#header #top-right form,
#header #top-right input{
    display: inline-block;
    padding: 0;
    margin: 0;
    vertical-align: middle;
}
#header #top-right input{
    padding: 0 5px;
}
#header #top-right ul li{
    margin: 0 15px;
    width: 20px;
    text-align: center;
}
#header #top-right input[type=submit]{
    background-image: url(../svg/search-icon.svg);
    background-repeat: no-repeat;
    background-color: white;
    border: 0;
    padding: 0;
    height: 20px;
    width: 20px;
    text-indent: -9999em;
    cursor: pointer;
}
#header #top-right input[type=text]{
    height: 20px;
    font-size: 14px;
    width: auto;
}


.main-banner{
    position: relative;
    height: 500px;
}
.main-banner .slideshow{
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.main-banner .slideshow *{
    height: 100%;
}
.main-banner .slideshow .slide{
    background-size: cover;
    background-position: center;
}
.main-banner .menu-container,
.main-banner .box-container{
    position: absolute;
    height: 100%;
    width: 100%;
}
.main-banner .menu-container{
    z-index: 3;
}
.main-banner .box-container{
    bottom: 0;
    z-index: 2;
}
.main-banner .box-container .grid{
    height: 100%;
}
.main-banner .col-1-3{
    position: relative;
    height: 100%;
    bottom: 0;
}
.main-banner .text-box{
    position: absolute;
    bottom: 0;
    padding: 50px 26px 50px 36px;
    margin-right: 30px;
    font-size: 28px;
    font-weight: bold;
    color: white;
}

.menu ul ul{
    display: none;
    position: absolute;
    width: 18%;
    background-color: rgba(238, 238, 238, 0.9);
    padding-bottom: 40px;
}
.menu > ul > li{
    display: inline-block;
}
.menu > ul > li > a{
    font-size: 22px;
    font-weight: bold;
    color: white;
    display: block;
    padding: 5px 15px;
    margin-right: 15px;
}
.menu > ul > li ul li{
    padding: 15px 15px 0 15px;
    display: block;
}
.menu > ul > li li a{
    font-size: 20px;
    color:#105975;
}
.menu > ul > li li.active a{
    color:#008ac9;
}

/* WIDGETS */
.widget{
    position: relative;
    border: 8px solid #00638f;
    font-size:24px;
}
.widget .widget-content{
    box-sizing: border-box;
    padding: 15px;
    height: 264px;
    overflow: auto;
    font-size:20px;
}
.widget .widget-content a{
    color:#282828;
}
.widget .widget-content a:hover{
    color:#00638f;
}
.widget.quote .widget-content{
    height: 364px;
}
.widget.banner img{
    background-color: #3690cc;
    text-align: center;
}
.widget.summary h3{
    padding:0 0 8px 0;
}
.widget.summary .widget-content,
.widget.banner .widget-content{
    padding: 0;
}
.widget.banner .widget-content{
    overflow: hidden;
    text-align: center;
}
.widget.summary ul{
    font-size: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.widget.summary ul li{
    padding: 15px;
    border-bottom: 1px solid #008ac9;
}
.widget.summary ul li:last-child{
    border-bottom:0;
}

.widget.summary .mCustomScrollbar{
    padding-left:0px !important;
}
.mCustomScrollbar{
    padding-right: 0px !important;
}
.mCustomScrollbar.mCS_no_scrollbar{
    padding-right: 20px !important;
    padding-left: 20px !important;
}
.widget.summary .mCustomScrollbar.mCS_no_scrollbar{
    padding-right: 0 !important;
}
.widget .mCSB_inside > .mCSB_container{
    margin-right: 11px;
}

.widget-archives-link{
    font-size: 16px;
    font-weight: bold;
    position: absolute;
    bottom: -36px;
    right: 0;
}
.widget.archive-widget .widget-content{
    height: 180px;
}
.archive-widget .dates{
    margin-bottom: 10px;
}
.archive-widget .dates a{
    display:inline-block;
    padding: 20px 10px;
    background-color: #eeeeee;
    margin-left: 25px;
}
.archive-widget .dates a.active{
    color: white;
    background-color: #00638f;
}
.archive-widget .widget-content .year-content{
    display: none;
}
.archive-widget .widget-content .year-content .result{
    padding-bottom: 5px;
}
.archive-widget .widget-content .year-content.active{
    display: block;
}
.archive-widget .widget-content .year-content a.active{
    color:#00638f;
}

.widget h3{
    font-size: 24px;
    background-color: #00638f;
    text-align: center;
    color: white;
    padding: 8px 10px 0 10px;
    margin:0;
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 92px;
    line-height: 150%;
}
.widget img{
    width: 100%;
    height: auto;
}
.widget.quote{
    font-size: 20px;
    font-weight: bold;
    font-style: italic;
    color: #00638f;
}
.widget.quote small{
    display: block;
    font-style: normal;
    margin-top: 10px;
}
.bigquote{
    font-weight: bold;
    font-size: 26px;
    padding:50px 34px 40px 34px;
    color: #00638f;
    position: relative;
    height: 100%;
    box-sizing: border-box;
}
.bigquote .arrow{
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 32px 55px 0 55px;
    border-color: #008ac9 transparent transparent;
    padding-bottom: 20px;
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -55px;
}
.bigquote small{
    display: block;
    font-size:60%;
    margin-top: 40px;
}

#cta a{
    font-weight: bold;
    display: block;
    text-align: center;
    color: white;
}
#newsletter{
    height: 300px;
    font-size: 50px;
    line-height: 2em;
    font-style: italic;
    margin-bottom: 30px;
}

#newsletter img{
    width: 112px;
    margin-top: 17px;
    height: auto;
}
#in-the-media{
    padding: 30px 10px;
    height: 298px;
    font-size: 50px;
    background-image: url(../svg/world-icon.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 75%;
    background-color: #008ac9;
    border: 8px solid #00638f;
    box-sizing: border-box;
}
#news{
    height: 100%;
    box-sizing: border-box;
}
#news h3{
    color: #008ac9;
    font-size: 30px;
    text-align: center;
    padding: 10px 0;
    border-bottom: 0;
    margin: 0;
    border-bottom:8px solid #008ac9;
}
#news div{
    padding: 15px;
}
#news > div{
    min-height: 422px;
}
#news a{
    color: #008ac9;
    font-weight: bold;
    display: block;
}

.members{
    margin: 160px 0;
    font-size: 22px;
}
.members .grid-pad{
    padding-top: 20px;
    padding-bottom: 50px;
}
.logos-main-banner{
    background-color: white;
    max-width: 1140px;
    margin: 20px auto;
    overflow: hidden;
    height: 200px;
}
.logos-main-banner .logo-box{
    margin: 0 80px 0 0;
    display: inline-block;
}
.logos-main-banner .logo-box a{
    display: block;
    width: 200px;
    height: 200px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
}
.footer{
    padding: 50px 0;
    text-align: center;
    font-size: 14px;
}
.footer a{
    display: inline-block;
    padding: 0 30px;
    color: white;
}
.home-widgets .col-1-3{
    margin-bottom: 80px;
}

/* INSIDE PAGES */
.inside-page,
.list-page,
.private-page{
    font-size: 20px;
}
.inside-page img,
.private-page img{
    max-width:100% !important;
    height: auto !important;
}
.inside-page iframe,
.private-page iframe{
    max-width:100% !important;
}
.inside-page .inner-div{
    padding: 15px 20px;
    margin-right: 30px;
}
.inside-page .widget,
.inside-page .inner-div
{
    margin-bottom: 60px;
}
.private-page .no-horizontal-pad [class*="col-"]:last-child,
.inside-page .no-horizontal-pad [class*="col-"]:last-child{
    padding-right: 30px;
}
.private-page .widget{
    margin-bottom: 80px;
}
.private-page{
    padding: 80px 30px 0 60px; 
}
.private-page.grid{
    max-width:1264px;
}
.private-page.no-vertical-pad{
    padding-top: 0;
    padding-bottom: 0;
}
.no-horizontal-pad{
    padding-right: 0;
}
.private-page .archive-widget .dates a{
    margin-left: 18px;
}
.archives-link{
    font-size: 16px;
    float:right;
    padding: 15px 0;
    line-height: 1em;
}
.list-page .archives-link{
    padding-right: 15px;
}
.border-box{
    border: 8px solid #eee;
    position: relative;
}
.breadcrumb{
    padding-top:20px;
    padding-bottom:20px;
}
.breadcrumb h2,
.breadcrumb h3{
    display: inline-block;
    margin: 0;
}
.breadcrumb .breadcrumb-container{
    padding-left:28px;
}
.private-header .breadcrumb .breadcrumb-container{
    padding: 0;
}
.breadcrumb h2{
    font-size:20px;
    margin-right: 5px;
}
.breadcrumb h3{
    font-size:30px;
}
.grey-bg .breadcrumb{
    padding-left: 45px;
}
.grey-bg .breadcrumb h2{
    color: #00638f;
    margin-left: 0;
}
.list-page .title,
.list-page li{
    padding: 20px;
}
.striped-list{
    list-style: none;
    margin:0;
    padding: 0;
}
.striped-list span{
    display: block;
}
.striped-list li{
    margin:0;
}
.striped-list li:nth-child(even){
    background-color: #eee;
}
.striped-list a{
    display: block;
    color:inherit;
}
.list-page .logo-row{
    margin:30px 30px 40px 30px;
}
.list-page .org-name{
    padding-top: 25px;
}
.list-page .logo-box a{
    display: block;
    width:198px;
    height:128px;
    border: 1px solid #00638f;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    float: left;
    margin-right: 52px;
}

.title{
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1em;
}
.article{
    box-sizing: border-box;
    float: left;
    width: 358px;
    height: 412px;
    overflow: auto;
    border: 8px solid #00638f;
    margin-bottom: 30px;
    padding:20px;
}
.article:nth-child(odd){
    margin-right:30px;
}
.article img{
    float:left;
    padding: 6px 10px 0px 0;
}
.article .article-excerpt{
    color: #282828;
}
h4{
    text-transform: uppercase;
    font-size: 20px;
    margin:0 0 20px 0;
}
.thumbnail{
    margin-bottom: 20px;
}
.dl-link a,
a.dl-link{
    display: block;
    background-image: url(../svg/download-icon.svg);
    background-repeat: no-repeat;
    background-position: 0 14px;
    background-size: 16px;
    padding: 7px 0 0px 32px;
}
.pagination{
    text-align: center;
    margin:0;
}
.pagination li{
    background-image: none;
    padding: 5px;
    display: inline-block;
}
.guard-form{
	padding: 20px;
}
/* SLIDESHOW */
.slick-arrow{
    position: absolute;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    top: 50%;
    z-index: 99;
    opacity: 0.7;
    text-indent: -9999px;
    overflow: hidden;
    text-decoration: none;
    height: 61px;
    width: 38px;
    margin-top: -30px;
    border:0;
    cursor: pointer;
}
.slick-arrow.slick-next{
    background: transparent url("../img/responsiveslides.gif") no-repeat left top;
    left: 0;
}
.slick-arrow.slick-prev{
    background: transparent url("../img/responsiveslides.gif") no-repeat right top;
    right:0;
}
.content-slideshow{
    position: relative;
    width:500px;
    height:400px;
    margin-top:20px;
}
.download-zip{
    line-height: 300%;
}
.content-slideshow .slick-track,
.content-slideshow .slick-list,
.content-slideshow .slick-slide{
    height:100%;
    width:100%;
}
.content-slideshow .slick-slide{
    background-size: cover;
    background-position: center;
}
.content-slideshow .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    /*text-align: center;*/
    background: #00638f;
    background: rgba(0,99,143, .8);
    color: #fff;
    font-size: 16px;
}

/* MEMBER ZONE */
.private-banner{
    background-image: url('../img/private-banner.jpg');
    height:365px;
    background-size: cover;
    margin-top:95px;
    position:relative;
}
.private-banner .intro-container{
    position: absolute;
    z-index: 1;
    bottom: 0;
    width: 100%;
}
.private-banner .intro-container .blue-bg{
    padding:5px 30px 40px 30px;
    font-size: 20px;
    line-height: 36px;
    font-weight: normal;
}
.private-banner .intro-container .blue-bg h2{
    font-weight: bold;
    text-align: center;
    font-size: 24px;
    margin-bottom: 0;
}
.private-header{
    font-weight: bold;
    font-size: 16px;
    color:white;
}
.private-header .blue-gradient{
    padding: 50px 0;
}
.private-header a{
    display: inline-block;
    color: white;
}
.private-header h1{
    font-weight: normal;
    font-size: 30px;
    display: inline-block;
    margin:0 110px 0 82px;
    vertical-align: middle;
}
.private-header #logout-link{
    float: right;
    margin-top: 7px;
}
.private-header #public-link{
    background-image: url(../svg/home-icon.svg);
    background-size: 16px;
    background-repeat: no-repeat;
    background-position: 0 4px;
    padding-left: 22px;
}
.private-header .menu-container{
    position: absolute;
    z-index: 2;
    width:100%;
    margin-top:30px;
}
.private-header .menu > ul > li{
    float:left;
    width:33.33%;
    margin: 0;
    padding:0;
    position:relative;
}
.private-header .menu > ul > li > a{
    display: block;
    text-align: center;
    background-color: #00638f;
    font-size: 20px;
    padding: 18px 0 19px;
    margin-right: 30px;
}
.private-header .menu > ul > li > a.active{
    background-color: #008ac9;
}
.private-header .menu > ul > li:last-child a{
    margin-right: 0;
}
.private-header .menu > ul ul{
    position: static;
    margin: 0 30px 0 0px;
    width: auto;
}
.private-header .menu > ul > li li a{
    text-transform: uppercase;
    font-size: 18px;
}
.private-header .menu > ul > li li a.active{
    color: #008ac9;
}
.private-header .breadcrumb{
    color: #008ac9;
}
#news .image{
    width:280px;
    border-right:8px solid #008ac9;
    height:100%;
    float: left;
    background-size: cover;
}
.next-meeting{
    width: 100%;
}
.next-meeting .image{
    width:280px;
    padding:0;
}
.next-meeting .content{
    padding:0 60px;
}
.next-meeting h3{
    text-align: center;
}
.event{
    padding: 40px 0;
    border-bottom: 1px solid #00638f;
    color:#00638f;
}
.event:last-child{
    border: 0;
}
.event img{
    border: 8px solid #00638f;
    margin: 0 20px 0 0;
    float:left;
}
/* FORMS */
.row-eq-height{
  display: flex;
}
fieldset.grey-bg{
    box-sizing: border-box;
    display: block;
    padding: 15px;
    height:100%;
}
fieldset.grey-bg legend{
    float:left;
    font-size: 24px;
}
fieldset.grey-bg label input,
fieldset.grey-bg label span{
    display: block;
}
fieldset.grey-bg label{
    display: block;
    clear: both;
}
fieldset.grey-bg label input{
    margin: 10px 10px 10px 0;
    float:left;
}
#results{
    width: 100%;
    border-collapse:collapse;
    border: 0;
}
#results th{
    border-bottom: 1px solid #008ac9;
    text-align: left;
    text-transform: uppercase;
    font-weight: normal;
    font-size: 24px;
    padding: 10px;
}
#results td{
    padding: 10px;
}
#results thead{
    margin-bottom: 5px;
}
#results tbody tr:nth-child(odd){
    background-color: #eeeeee;
}
.input-group{
    display: flex;
    margin-bottom: 40px;
}
.input-group input{
    padding: 15px;
    border: 2px solid #008ac9;
}
.input-group input[type="submit"]{
    background-color: #008ac9;
    color:#FFF;
    cursor: pointer;
}
.input-group input:first-child{
    flex-grow:1;
    border-right: 0;
    -webkit-border-top-left-radius: 10px;
    -webkit-border-bottom-left-radius: 10px;
    -moz-border-radius-topleft: 10px;
    -moz-border-radius-bottomleft: 10px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}
.input-group input:last-child{
    border-left: 0;
    -webkit-border-top-right-radius: 10px;
    -webkit-border-bottom-right-radius: 10px;
    -moz-border-radius-topright: 10px;
    -moz-border-radius-bottomright: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}
.separator{
    margin-bottom: 80px;
}
/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    -webkit-clip-path: none;
    clip-path: none;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}
@media only screen and (max-width: 1199px) {
    .main-banner .text-box{
        font-size: 26px;
    }
    .menu > ul > li{
        margin-right: 0;
        padding: 5px 10px;
        
    }
    .menu > ul > li a{
        font-size: 20px;
    }
    .widget .widget-content{
        height: auto;
    }
}
@media only screen and (max-width: 767px) {
    .main-banner .menu-container{
        height: 0;
    }
    .grid{
        padding-left: 14px;
        padding-right: 7px;
    }
    [class*="col-"]{
        padding-right: 7px;
    }
    .archive-widget .dates a,
    .private-page .archive-widget .dates a{
        margin-left: 10px;
        font-size: 20px;
    }
    .grid-pad{
        padding-top: 0;
    }
    .grid-pad > [class*="col-"]:first-child{
        margin-top: 0;
    }
    .private-page{
        padding-top: 15px;
        padding-bottom: 30px;
    }
    .inside-page, .list-page, .private-page{
        font-size: 16px;
    }
    .content-slideshow{
        max-width: 100%;
    }
    .row-eq-height{
        display:block;
    }
    #results,
    #results td{
        display: block;
    }
    #results td:empty {
        display: none;
    }
    #results thead{
        display: none;
    }
    #header{
        padding-top: 65px;
        padding-bottom: 30px;
    }
    #aim-logo{
        width: 234px;
    }
    .header button{
        display: block;
        position:fixed;
        padding: 0;
        margin: 0;
        right: 15px;
        text-align: center;
        background-color: white;
        border: 0;
        display: block;
        width:44px;
        height:44px;
        z-index:9999;
    }
    .header #open-menu{
        background-color: rgba(255, 255, 255, 0.5);
        top: 68px;
    }
    .private-header.header #open-menu{
        top: 0px;
    }
    .header #close-menu{
        background-color: white;
        top: 0px;    
    }
    .menu-container .menu{
        position: fixed;
        top:0;
        height: 100%;
        width:100%;
        overflow: auto;
        z-index: 9999;
        background-color: #00638f;
        padding-right: 0;
    }
    .menu-container .menu > ul{
        margin-top: 50px;
    }
    .private-banner{
        margin-bottom: 15px;
        margin-top: 0;
        height: 120px;
    }
    .private-banner .intro-container{
        display: none;
    }
    .grid-pad.breadcrumb{
        padding: 15px;
    }
    #header #top-right{
        position: absolute;
        top: 15px;
        right: 30px;
        float: none;
    }
    #header #top-right ul li{
        margin: 0 15px 0 0;
    }
    #header #top-right input[type="text"]{
        width:80px;
    }
    .main-banner,
    .main-banner .box-container,
    .menu ul ul,
    .main-banner .text-box
    {
        position: static;
        height: auto;
    }
    .main-banner .box-container{
        margin-bottom: 10px;
    }
    .main-banner .text-box{
        padding:20px 15px;
    }
    .main-banner .slideshow{
        height: 120px;
    }
    .private-header .menu ul ul,
    .menu ul ul{
        width: 100%;
        padding-bottom: 15px;
        margin: 0;
        background-color: white;
    }
    .private-header .menu > ul > li,
    .menu > ul > li{
        box-sizing: border-box;
        display: block;
        width: 100%;
        border-bottom: 5px solid white;
        background-image: url(../svg/arrow-right.svg);
        background-repeat: no-repeat;
        background-position: 90% 18px;
        background-size: 15px 15px;
        padding:0;
    }
    .private-header .menu > ul > li > a,
    .menu > ul > li > a{
        display: block;
        padding: 10px 15% 10px 15px;
        margin:0;
    }
    .private-header .menu > ul > li{
        background-color :#00638f;
    }
    .private-header .menu > ul > li > a{
        text-align: left;
        background-color: transparent;
    }
    /*.menu > ul > li:last-child{
        border: 0;
    }*/
    .menu > ul > li.open{
        background-image: url(../svg/arrow-down.svg);
    }
    
    .main-banner .text-box{
        margin:0;
    }
    .main-banner .grid-pad, 
    .main-banner .col-1-1,
    .main-banner .col-1-3{
        padding: 0;
        margin: 0;
    }
    .bigquote{
        padding: 15px;
        font-size: 16px;
        margin: 0 15px;
    }
    .bigquote small{
        margin-top: 10px;
        font-size: 80%;
    }
    .bigquote .arrow{
        display: none;
    }
    .widget h3{
        font-size: 19px;
        height:80px;
    }
    .members {
        margin: 40px 0;
    }
    .private-header h1{
        margin: 0;
    }
    .private-header .blue-gradient{
        padding: 20px 0 20px 0;
    }
    .private-header .white-bg .breadcrumb,
    .next-meeting td.image{
        display: none;
    }
    .breadcrumb .breadcrumb-container{
        padding-right: 0;
    }
    .next-meeting .content{
        padding: 20px;
    }
    .private-header .menu-container .grid-pad{
        padding: 0;
    }
    .border-box{
        padding-left: 0 !important;
        padding-right: 0 !important;
        border: 0;
    }
    
    .private-header #logout-link{
        margin-top: 0;
    }
    .private-page .widget,
    .separator{
        margin-bottom: 15px;
    }
    .breadcrumb h2{
        font-size: 16px;
    }
    .breadcrumb h3{
        font-size: 24px;
    }
    /* HOME BOXES */
    .no-mobile-pad,
    .no-mobile-pad [class*="col-"]{
        padding-left:0;
        padding-right: 0;
    }
    #newsletter{
        font-size: 30px;
        height: 240px;
        margin-bottom: 10px;
        
    }
    #in-the-media{
        padding: 10px;
        font-size: 40px;
        height: 240px;
    }
    #newsletter,
    #in-the-media{
        margin-left: 15px;
        margin-right: 15px;
    }
    #newsletter img{
        margin-top: 0;
    }
    #news{
        border-left: 0;
        border-right: 0;
    }
    #news h3{
        font-size: 19px;
        padding: 26px 0;
    }
    #news > div{
        font-size: 16px;
        padding: 5px 0;
        min-height: 0;
    }
    #news > div div{
        padding: 10px 15px;
    }
    .input-group input:first-child{
        width: 50%;
    }
    
    .event img{
        box-sizing: border-box;
        margin-bottom:5px;
        width:100%;
        height:auto;
        display:block;
        float:none;
    }
    .home-widgets .col-1-3{
        margin-bottom: 10px;
    }
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

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

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

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

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

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