/*  Small screens */
@media only screen {
.off-canvas a{color:  #fff;}

} /* Define mobile styles */

@media only screen and (max-width: 40em) {
.small-only-float-left {float: left !important;}	
.small-only-float-right {float: right !important;}
.small-only-float-center {display: block; margin-right: auto; margin-left: auto;}
.text-center-small {text-align: center;}
.small-align-center {-ms-flex-pack: center; justify-content: center;}
.widget-container, #top-row, .tagline, .text-right{text-align: center;}
img.alignright, img.alignleft{float: none !important;display: block;margin: 0 auto;	}

.tagline h1{
    font-size:  1.5rem;
    line-height: 1;
}

.tagline h1 span{
    font-size:  1.125rem;
    line-height: 1;
}
.homerow-1col .contentblock {
    padding: 0 10px;
}

.ribbon p {
    margin-left: 10px;
    margin-bottom: 0;
    font-size: 21px;
    line-height: 1;
    font-weight: bold;
    color: #fff;
}
		.logo-container.columns{
		padding-top: 0;
		padding-bottom: 0;
	}	
	.logo img{
		display: block;
		margin: 0 auto;
		max-height: 100px;
        width: auto;
	}

} /* max-width 640px, mobile-only styles, use when QAing mobile issues */

/*  Medium screens */
@media only screen and (min-width: 40.063em) { } /* min-width 641px, medium screens */

@media only screen and (min-width: 40.063em) and (max-width: 63.938em) {
.medium-float-left {float: left !important;}	
.medium-float-right {float: right !important;}
.text-center-medium {text-align: center;}
.medium-align-center {-ms-flex-pack: center; justify-content: center;}

.homerow-1col .contentblock {
    padding: 0 10px;
}
.tagline h1{
    font-size:  2.5rem;
    line-height: 1;
}
	
	.logo-container.columns{
		padding-top: 0;
		padding-bottom: 0;
	}	
	.logo img{
		display: block;
		margin: 0 auto;
		max-height: 100px;
        width: auto;
	}
	
} /* min-width 641px and max-width 1023px, use when QAing tablet-only issues */

/* Large screens */
@media only screen and (min-width: 64.000em) {

	
} /* min-width 1024px, large screens */

@media only screen and (min-width: 64.000em) and (max-width: 90em) {
.large-float-left {float: left !important;}	
.large-float-right {float: right !important;}
.text-center-large {text-align: center;}
.large-align-right {-ms-flex-pack: end; justify-content: flex-end;}
#header-menu.dropdown.menu>li>a {
    padding: 0.7rem 0.6rem;
}

.tagline h1{
    font-size:  2.5rem;
}

#header-menu.dropdown.menu>li.is-dropdown-submenu-parent>a {
    position: relative;
    padding-right: 1.5rem;
}


	
#middle-row .large-3 {
        -webkit-box-flex: 0;
        -webkit-flex: 0 0 16.66667% !important;
        -ms-flex: 0 0 16.66667% !important;
        flex: 0 0 16.66667% !important;
        max-width: 16.66667% !important;
    }
#middle-row  .large-9 {
        -webkit-box-flex: 0;
        -webkit-flex: 0 0 83.33333% !important;
        -ms-flex: 0 0 83.33333% !important;
        flex: 0 0 83.33333% !important;
        max-width: 83.33333% !important;
 }

} /* min-width 1024px and max-width 1440px, use when QAing large screen-only issues */
@media only screen and (min-width: 64.000em) and (max-width: 67.5em) {
#header-menu a{
	font-size: 0.906rem;
}
}/* min-width 1024px and max-width 1080px */

/*  XLarge screens */
@media only screen and (min-width: 90.063em) { 
.logo img{
	position: absolute;
	z-index: 20;
	left:  50%;
	top:  -80px;
	transform: translateX(-50%);
}
#middle-row{height: 90px}

} /* min-width 1441px, xlarge screens */

@media only screen and (min-width: 90.063em) and (max-width: 120em) {
.xlarge-float-left {float: left !important;}	
.xlarge-float-right {float: right !important;}
.text-center-xlarge {text-align: center;}
} /* min-width 1441px and max-width 1920px, use when QAing xlarge screen-only issues */

/*  XXLarge screens */
@media only screen and (min-width: 120.063em) {
.xxlarge-float-left {float: left !important;}	
.xxlarge-float-right {float: right !important;}
.text-center-xxlarge {text-align: center;}
} /* min-width 1921px, xxlarge screens */

/*  Tablet Portrait screens */
@media only screen and (min-width: 37.500em) and (max-width: 56.250em) and (orientation: portrait) {
.hide-tablet-portrait {display: none !important;}
.show-tablet-portrait {display: inherit !important;}
 } /* tablet-only issues min-600px max-900px */
 @media only screen and (min-width: 49.900em) and (max-width: 85.250em) and (orientation: portrait) {
 } /* tablet-only issues min-800px max-1200px */