/*
 * Small devices (landscape phones, 576px and up)
 */
@media (min-width: 576px) {

	#hero.homepage h1 .h-sm i {
		vertical-align: top;
		display: inline-block;
	}

	#hero.homepage h1 .h-md,
	#hero.homepage h1 .h-lg {
		font-size: 76px;
		line-height: normal;
	}
	
	#homepage-columns .content .menu li a i {
		width: auto;
	}
	
	#content-grid .content-grid-boxes .content-grid-box > .row > div[class*="col-"]:first-of-type {
		padding-bottom: 250px;
	}
    
     #hero.interior {
        padding-top: 49px; /* base padding */
    }
    
    img.align-image-right,
    img.align-image-left {
        margin: 0 1rem 1rem;
        width: auto;
    }
    
}

/*
 * Medium devices (tablets, 768px and up)
 */
@media (min-width: 768px) {
	
	#hero.homepage .featured-message {
		background-color: transparent;
	}
	
	#content-grid .content-grid-box {
		padding: 15px;
	}
	
	#content-grid .content-grid-boxes .content-grid-box:nth-of-type(1)  {
		border-right: 1px solid #d8e1eb;
		border-bottom: 1px solid #d8e1eb;
		padding-left: 0;
		padding-top: 0;
	}

	#content-grid .content-grid-boxes .content-grid-box:nth-of-type(2) {
		border-bottom: 1px solid #d8e1eb;
		padding-right: 0;
		padding-top: 0;
	}

	#content-grid .content-grid-boxes .content-grid-box:nth-of-type(3) {
		border-right: 1px solid #d8e1eb;
		padding-left: 0;
		padding-bottom: 0;
	}

	#content-grid .content-grid-boxes .content-grid-box:nth-of-type(4) {
		padding-right: 0;
		padding-bottom: 0;
	}
	
	#content-grid .content-grid-boxes .content-grid-box > .row > div[class*="col-"]:first-of-type  {
		padding-bottom: 150px;
	}
    
    #hero.interior {
        padding-top: 51px; /* base padding */
    }
    
     #interior #job-opportunity-page .sidebar-content .btn {
        width: auto;
    }

}

/*
 * Large devices (desktops, 992px and up)
 */
@media (min-width: 992px) {
	
	#header {
		visibility: visible;
		padding-top: 0;
	}
	
	#header a.logo {
		display: inline-block;
	}
	
	#header ul.menu li {
		display: inline-block;
	}
	
	#header ul.menu li a {
		padding: 5px;
	}
	
	#header ul.menu li:after {
		content: '';
		height: 14px;
		vertical-align: middle;
		margin: 2px 3px 0;
		display: inline-block;
		width: 1px;
		position: relative;
		background-color: #6a7785;
	}
	
	.num-of-jobs {
		right: 5px;
		top: -5px;
	}
	
	#header .primary-menu {
		text-align: right;
	}
    
    #header .secondary-menu {
        padding-right: 0;
    }
	
	#header .primary-menu:before,
	#header .secondary-menu:before {
		display: none;
	}
	
	#header.scrolling a.site-logo-small {
		opacity: 1;
		-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
		display: inline-block;
	}
	
	#search-block-form {
		margin:  0 0 0 auto;
	}
	
	#search-block-form .search-pref-group {
		right: 0;
		text-align: right;
		left: auto;
	}
	
	#search-block-form .form-type-radio:first-of-type {
		padding-left: 5px;
	}
	
	#header.scrolling .search-box {
		text-align: right;
	}

	#header.scrolling #search-block-form {
		padding-bottom: 0;
		display: inline-block;
		max-width: 250px;
		width: 100%;
	}

	#header.scrolling #search-block-form .form-group {

	}

	#header.scrolling #search-block-form p {
		display: none;
	}

	#header.scrolling #search-block-form .search-pref-group {
		right: 100%;
		height: 25px;
		margin: auto;
		top: 0;
		bottom: 0;
		width: 100px;
		padding-top: 10px;
	}

	#header.scrolling #search-block-form .form-type-radio {
		padding: 0 5px;
	}

	#header.scrolling #search-block-form .form-type-radio:last-of-type {
		padding-right: 10px;
	}

	#header.scrolling #search-block-form p,
	#header.scrolling #search-block-form .winnefox-radio-class {
		font-size: 12px;
	}
	
	#mobile-menu-row {
		display: none;
	}
	
	body #header .header-menu-container {
		height: auto;
		overflow: hidden;
	}
    
    #interior .main-content {
        padding: 0;
    }
    
    #interior #library-resource .image > img {
        width: auto;
    }
    
    /*#interior .job-opportunities > div[class*="col-"] {
        padding-bottom: 0;
    }*/
    
    #content-grid .resource-content h3 {
        font-size: 28px;
        line-height: 36px;
    }
	
	/*---------------------------------------------- Hero */
	
	#hero.homepage h1 {
		text-align: center;
		font-size: 54px;
		padding-top: 100px; /* TODO: Adjust with JS after page load */
	}

	#hero.homepage h1 .h-sm i {
		vertical-align: top;
		display: inline-block;
		font-size: inherit;
	}

	#hero.homepage h1 .h-md,
	#hero.homepage h1 .h-lg {
		padding: 25px 0 0;
		font-size: 126px;
		line-height: unset;
	}

	#hero.homepage h1 .h-md {
		font-size: 76px;
	}
	
	#hero.homepage .featured-message {
		background-color: transparent;
		margin-bottom: 0;
	}

	#hero.homepage .featured-message > div:nth-child(1) {
		text-align: right;
	}

	#hero.homepage .featured-message > div:nth-child(2) {
		text-align: center;
	}

	#hero.homepage .featured-message > div:nth-child(3) {
		text-align: left;
	}

	#hero.homepage .featured-message > div > i {
		font-size: 48px;
	}

	#hero.homepage .featured-message > div > i:after {
		margin: 0;
	}
	
	/*---------------------------------------------- Columns */
	
	#homepage-columns > .row > div[class*="col-"] {
		bottom: -50px;
		padding-bottom: 0;
	}
	
	#homepage-columns .content .menu li a i {
		font-size: 48px;
		padding-right: 10px;
		width: auto;
	}
	
	/*---------------------------------------------- Grid */
	
	#content-grid {
		padding: 100px 0 0;
	}
	
	#content-grid .resource-content {
		padding: 0 0 0 15px;
	}
    
    #content-grid .content-grid-box {
        border-bottom: none;
        margin-bottom: 0;
    }
	
	/*---------------------------------------------- Highlighted */
	
	#highlighted .news-image {
		height: 75px;
		background-position: top;
	}
	
	/*---------------------------------------------- Footer */
	
	#footer > .container > .row {
		padding: 30px 0 60px;
	}
	
	#footer .menu > li:last-of-type {
		border-bottom: transparent;
	}

	#footer h4 {
		padding-top: 0;
		padding-bottom: 15px;
	}
	
	#second-footer p {
		font-size: 14px;
		line-height: 22px;
	}
	
	#second-footer div[class*="col-"]:last-of-type p {
		text-align: right;
	}
    
    #hero.interior {
        padding-top: 146px; /* base padding */
    }
    
    #hero.homepage hr {
        width: 100%;
    }
    
    #hero.homepage a.featured-message:hover > div:nth-child(1) {
        -webkit-transform: translateX(-10px) translateZ(0);
                transform: translateX(-10px) translateZ(0);
    }

    #hero.homepage a.featured-message:hover  > div:nth-child(3) {
        -webkit-transform: translateX(10px) translateZ(0);
                transform: translateX(10px) translateZ(0);
    }
    
    #roi-calc .calc-label p {
        padding: 0;
    }
    
    #roi-calc .calc-item {
        padding: 5px 0;
    }
    
    #roi-calc .calc-item:before {
        display: none;
    }
    
    #interior .board-reports-list .board-report .report-minutes .btn {
        margin-bottom: 0;
        width: auto;
    }
    
    #interior .library-resource-list .library-resource .image-with-description .description {
        font-size: 12px;
        padding: 10px 10px;
    }
    
    #interior .library-resource-list .library-resource h4 {
        padding-top: 0;
    }
    
/*    #interior .job-opportunities .job-opportunity .btn {
        margin-top: 0;
    }*/
    
    #interior .pagination {
        display: -ms-flexbox;
        display: flex;
    }
    
    #interior .pagination .pager__item,
    #interior .pager li {
        margin: 0 5px 0 0;
    }
	
}

/*
 * Extra large devices (large desktops, 1200px and up)
 */
@media (min-width: 1200px) {
	
	#homepage-columns .content .menu li a span {
		width: auto;
	}
	
}