#sm4-section-header .width {
    width: auto;
    max-width: 1190px;
    min-width: 360px;
    margin: 0 auto;
    padding-left:20px;
}

.page-width {
    width: 97%;
}

.width {
    width: auto;
    max-width: 1190px;
    min-width: 360px;
    margin: 0 auto;
    padding-left:20px;
}

.grid-container .grid {
    margin-bottom:15px;
    opacity: 0;
}

.grid-container .grid.show-cols { opacity: 1; }

.grid-container {
    width: auto;
    min-width: 360px;
}

.grid section {
    width: 380px;
    margin-bottom:20px;
    font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
    border: 10px solid #efefef;
}

.grid section:hover {
    border: 10px solid #c2c2c2;
}

.grid section img {
    display:block;
}

.grid section div.main-content {
    margin: 0 25px;
    padding-top: 5px;
}

.grid section div.additional-resources {
    padding-bottom:0px;
}

.grid section div.resource-content {
    margin:0px 25px 15px 25px;
}

.grid section .small-grid {
  display: flex;
  justify-content: space-between;
  align-items: center; 
  margin-right: -22px;
}

.grid section .announcement {
    font-size:16px;
    color:#f77700;
    font-style: italic;
    text-transform: uppercase;
    margin-bottom:2px;
    flex: 1;
}

.grid section .category-icons {
  gap: 5px;
  margin-left: auto;
  display: flex;
}

.grid section span.category-icon img {
   max-width: 100%;
}

.grid section h1, .grid section h3 {
    font-weight: 400;
    font-size: 1.25rem;
    color:#222;
    line-height:1.2;
    margin-top: 2px;
    margin-bottom: 0.625rem;
}

.grid section p {
    font-size: .95rem;
    color:#535353;
    line-height:1.4;
    margin-bottom: 1.2rem;
    font-weight: 400;
}

.grid section hr {
    border: none;
    height: 2px;
    color: #dfdfdf;
    background-color: #dfdfdf;
    margin-bottom:20px;
}

.grid section .item {
    display:flex;
}

.grid section .item img {
  vertical-align:top;
  margin-right:0.625rem;
  margin-top:1px;
  display:inline-block;
  float:left;
  min-width:18px;
}

.grid section .item p {
    display:inline-block;
    font-size: 0.875rem;
    color: #dd1100;
    line-height:1.136;
    margin-bottom: 0.9375rem;
    overflow:hidden;
    float:left;
}

.grid section .item p a {
    font-size: 0.875rem;
    color: #dd1100;
    line-height:1.136;
}

.grid section .item p .time {
    font-size:0.75rem;
    color: #6e6e6e;
}

.grid section .item p a:hover, .grid section .item p a:hover .time {
  color: #f77700;
}

.grid section div.resource-content div:nth-last-child(1) div:nth-last-child(1) p {
  margin-bottom:0px;
}

.grid section div.main-content .primary-link-container p {
    color:#dd1100;
}

.grid section a:hover div.main-content .primary-link-container p, 
.grid section a:hover div.main-content .primary-link-container p .time {
  color: #f77700;
}

header p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 15px;
    max-width:970px;
}
header .intro {
    font-size: 1.32rem;
    line-height: 1.5;
    font-weight: 300;
    margin-top: 25px;
}
header .large {
    font-size: 1.375rem;
}

.navigation-tags {
    width: auto;
    border-top: 1px solid #d0d0d0;
    max-width: 1190px;
    min-width: 360px;
    margin: 0px auto 30px auto;
    text-align: left;
    padding-top:25px;
    padding-bottom:20px;
    padding-left:65px;
    padding-right:40px;
    background:#f3f3f3;
    line-height: 18px;
}


.navigation-tags a {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border: 1px solid #d0d0d0;
    border-radius: 0.25rem;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    margin-right:0.75rem;
    margin-bottom:0.75rem;
    background:#fff;
}

.navigation-tags a:link,.navigation-tags a:visited {
    color:#000;
}

.navigation-tags a:hover {
    border-color: #f77700;
    color: #fff;
    background: #f77700;
}

.navigation-tags a.active {
    background: #dd1100;
    color:#fff;
    border-color: #dd1100;
    position: relative;
}

.navigation-tags a.active:hover {
    color:#fff;
}

#links .width {
    padding: 20px 0 75px 0;
    text-align: center;
}
.divider {
    border-top: 1px solid #C1C1C1;
    overflow: hidden;
    clear: both;
    margin-top: 50px !important;
    min-width: 0;
}
#links .link {
    background: url(../img/links-2.png) no-repeat;
    background-size: 1.625rem;
    border: none;
    color: #7c7c7c;
    display: inline-block;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.625rem;
    margin: 0 1.5rem;
    min-height: 1.625rem;
    padding: 0 0 0 2.25rem;
}
#links a.link:hover { color:#f77700; }


p.subpage-popup {
    max-width:800px;
}

.category-example-container {
	display: table;
}

.category-example-container li {
    border-left: 1px solid #ccc;
    border-top: 1px solid #ccc;
    border-right: 1px solid #ccc;
    cursor: pointer;
    display: table-cell;
    vertical-align: middle;
    background: transparent;
    color: #000;
    font-size: 1.1rem;
    padding: 5px 14px;
}

.category-example-container li.selected {
    background: #dd1100;
    border: 1px solid #dd1100;
    color: #fff;
    position: relative;
}

.category-example-container li.selected a {
    color: #fff !important;
}

.category-example-container li.selected:after {
    border-style: solid;
    border-width: 8px 8px 0 8px;
    border-color: #dd1200 transparent transparent transparent;
    bottom: -6px;
    content: '';
    display: block;
    height: 0;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    width: 0;
}

.more.button {
    background: #dd1100;
    border: 1px solid #fff;
    border-radius: 5px;
    color: #fff;
    font-weight: 400;
    margin: 2.5rem auto 3.125rem auto;
    display: block;
    padding: 0.68rem 1rem;
    text-align: center;
    min-width: 157px;
    font-size: 18px;
}
.more.button:hover {
    background: #ff7e00;
}

.tile-grid {
	display: grid;
	grid-auto-columns: 1fr;
	max-width:360px;
	grid-template-rows: auto;
	grid-template-areas:
		"tile-header-image"
		"inner-tile-grid"
		"tile-title"
		"tile-paragraph";
}
.tile-header-image {
	grid-area:tile-header-image;
}
.tile-title {
	grid-area:tile-title;
}
.tile-inner-grid {
	display: grid;
	grid-auto-columns: 1fr 25px 25px;
	max-width:360px;
}
.tile-paragraph {
	grid-area:tile-paragraph;
}
.tile-announcement {
	grid-column: 1;
}
.tile-icon1 {
	grid-column: 2;
	align-self:center;
}
.tile-icon2 {
	grid-column: 3;
	align-self:center;
}
.tile-icon1 img, .tile-icon2 img {
	filter: invert(66%) sepia(7%) saturate(9%) hue-rotate(332deg) brightness(86%) contrast(87%);
}
.tile-icon1 img:hover, .tile-icon2 img:hover {
	filter: invert(70%) sepia(56%) saturate(6725%) hue-rotate(0deg) brightness(102%) contrast(106%);
}

a.tile-header-image div img {
    border: 1px solid #CCCCCC;
    width: 360px;
}

a.tile-announcement div, a.tile-title h3, a.tile-paragraph p {
	margin-left:25px;
	margin-right:25px;
}

a.tile-announcement div {
	padding-top:7px;
	padding-bottom:6px;
	font-size: 16px;
    color: #f77700;
    font-style: italic;
    text-transform: uppercase;
}
a.tile-icon1 div, a.tile-icon2 div {
	padding-top:5px;
	padding-bottom:5px;
}
/* Old Content
   ========================================================================== */

#example-intro {
    padding: 0 0 0px;
   
}

#example-intro .width {
    position: relative;
    max-width: 1015px;
    padding-left: 0px;
}

/* ShareThis */
#example-intro  .sharethis {
    display: inline-grid;
    position: absolute;
    right: 0;
    top: 53px;
    width:176px;
}

#example-intro  .sharethis * {
    box-sizing: border-box;
}
#example-intro .stButton {
    margin: 0 0 0 7px !important;
}

/* Intro blurb
   ========================================================================== */

#example-intro .width h2 {
    margin: 50px 0px 10px 20px;
    padding: 0px;
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1.3;
    color: #dd1100;
}

#example-intro .intro-left,
#example-content .compact-intro {
    display: inline-block;
    width: 697px;
    margin: 0;
}

#example-intro .intro-left p.intro,
#example-content .compact-intro {
    margin: 0 50px 0 20px;
    font-size: 1.21rem;
    line-height: 1.4;
    font-weight: 300;
}

#example-content .compact-intro a {
    font-size: 1.21rem;
}

#example-content .compact-intro {
    margin: 0 20px 30px 20px;
}

#example-intro .intro-right {
    display: inline-block;
    position: absolute;
    right: 0;
    top: 100px;
}
#example-intro .examples-compact .intro-right {
    top: 50px;
}

#example-intro .intro-right + .intro-right {
    top: 85px;
}

#example-intro .intro-right + .intro-right a {
    width: 183px;
    display: block;
    text-align: center;
}

#example-intro .intro-right a {
    outline: none !important;
    color: #fff !important;
}


/* Main content area
   ========================================================================== */

#example-content {
    padding: 0 0 10px;
   
}

#example-content .width {
    position: relative;
    max-width: 1015px;
    padding-left: 0px;
}

/* callouts */

#example-content .callout-wrap {
    width: 195px;
    padding-top: 25px;
    position: absolute;
    vertical-align: top;
    display: inline-block;
    top: 0;
    bottom: 0;
    left: 30px;
}

#content-main img {
    display: block;
}

#example-content .callout-wrap div.callout {
    position: absolute;
    width: 195px;
    background: url('/system-modeler/img/callout-arrow-left.gif') no-repeat top right;
    padding-top: 43px;
}

#example-content p.callout-title,
#example-content p.callout-title em,
#example-content a.callout-title {
    margin: 0px;
    font-size: 1rem;
    font-family: 'Walter Turncoat', Arial, Helvetica, sans-serif;
    font-weight: 400;
    line-height: 1;
}

#example-content p.caption-text a {
    font-size: 12px;
}

#example-content .callout-wrap .callout p {
    margin: 5px 0;
    font-weight: 400;
}

#example-content #content-main + .callout-wrap {
    width: 195px;
    padding-top: 25px;
    position: absolute;
    vertical-align: top;
    top: 0;
    bottom: 0;
    right: 30px;
    left: auto;
}

#example-content #content-main + .callout-wrap div.callout {
    position: absolute;
    width: 195px;
    background: url('/system-modeler/img/callout-arrow-right.gif') no-repeat;
    padding-top: 43px;
}

#example-content #content-main + .callout-wrap .callout p {
    margin: 5px 10px 0 0;
}

#example-content #content-main + .callout-wrap .callout img {
    margin-right: 10px;
}

#example-content p.caption-text {
    font-size: .8125rem;
    line-height: 1.38;
    color: #636363;
    font-weight: 400;
}

#example-content .callout p.interact a, .three-column-layout .callout p.interact a {
    display: block;
    height: 30px;
    padding-left: 35px;
    line-height: 28px;
}

#example-content a#cdf-callout-1 {
    background: url('/system-modeler/img/popup-cdf-th_off.png') no-repeat 0px 2px;
}

#example-content a#cdf-callout-1:hover,
#example-content a#cdf-callout-1.hover {
    background-image: url('/system-modeler/img/popup-cdf-th_on.png');
    color: #f77700;
}

#example-content a#vid-callout-1, .three-column-layout a#vid-callout-1{
    background: url('/system-modeler/img/popup-video-th_off.png') no-repeat 0px 2px;
}

#example-content a#vid-callout-1:hover,
#example-content a#vid-callout-1.hover, 
.three-column-layout a#vid-callout-1:hover, 
.three-column-layout a#vid-callout-1.hover {
    background-image: url('/system-modeler/img/popup-video-th_on.png');
    color: #f77700;
}


/* content cell */

#content-main {
    border: 1px solid #cfcfcf;
    box-shadow: 0px 3px 25px #b3b3b3;
    margin: 0px auto 0;
    position: relative;
    width: 500px;
}

#content-main a.colorbox {
    display: block;
    position: absolute;
    z-index: 100;
}

a#cdf-content-1 {
    background: url('/system-modeler/img/popup-cdf_off.png') no-repeat center center;
}

a#cdf-content-1.hover,
a#cdf-content-1:hover {
    background: url('/system-modeler/img/popup-cdf_on.png') no-repeat center center;
}

a#vid-content-1 {
    background: transparent url("/system-modeler/img/popup-video_off.png") no-repeat scroll center center;
    display: inline-block;
    position: absolute;
}

a#vid-content-1:hover,
a#vid-content-1.hover {
    background: transparent url("/system-modeler/img/popup-video_on.png") no-repeat scroll center center;
}

.caption {
    position: absolute;
    z-index: 4;
    font-size: 11px;
    line-height: 14px;
    font-style: italic;
    color: #666;
    text-align: right;
}

.footnote {
    margin: 10px auto 0;
    font-size: 10px;
    line-height: 14px;
    color: #747474;
    width: 500px;
}


/* Magnific
   ========================================================================== */

.mfp-title {
    font-family: 'Source Sans Pro', sans-serif;
    padding-top: 5px;
}


/* Compact
   ========================================================================== */

#example-content .compact-column-wrapper {
    width: 940px;
    position: relative;
}

#example-content .compact-download {
    width: 200px;
    float: left;
    margin: 0 0 0 31px;
}

#example-content .compact-pod {
    display: inline-block;
    width: 617px;
    margin: 0 0 0 46px;
    border: 1px solid #cfcfcf;
    background: #f2f2f2;
    padding: 20px;
    box-shadow: 0px 3px 25px #b3b3b3;
}

#example-content .compact-sidebar {
    display: inline-block;
    width: 258px;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
}

#example-content .callout {
    position: relative;
    width: 250px;
    margin: 0 0 65px 0;
    padding-top: 43px;
    background: url('/system-modeler/img/callout-arrow-right.gif') no-repeat;
}

#example-content h3.compact-h3 {
    display: inline-block;
    margin: 10px 0 15px 0;
    padding: 0;
    color: #dd1100;
    font-size: 16px;
    line-height: 19px;
    font-weight: normal;
}

#example-content .compact-p {
    font-weight: 400;
    width: 572px;
    margin: 0 0 15px 0;
    color: #343333;
    font-size: 13px;
    line-height: 17px;
}

#example-content .compact-p a {
    font-size: 13px;
}

#example-content .compact-video-wrapper {
    width: 570px;
    padding: 10px 0;
}

#example-content .compact-video {
    margin: 0 auto;
    text-align: center;
}

#example-content span.magnify {
    background: url('/system-modeler/img/magnifying-glass-small.png') no-repeat;
    width: 18px;
    height: 17px;
    display: inline-block;
    position: absolute;
    bottom: -10px;
    right: -11px;
    z-index: 10;
}

#example-content .compact-img {
    position: relative;
    display: inline-block;
}

#example-content .compact-img a {
    width: 572px;
    display: inline-block;
}

#example-content .compact-img img {
    border: 1px solid #bdbdbd;
    width: 100%;
}

#example-content a:hover span.magnify {
    background-position: 0 bottom;
}

#example-content .compact-caption.magnify {
    padding: 0;
}

#example-content .compact-img.no-caption {
    margin: 0 0 20px 0;
}

#example-content .compact-caption {
    margin: 10px 0 20px 0;
    color: #636363;
    font-size: 11px;
    line-height: 15px;
    font-style: italic;
}

#example-content .compact-caption a {
    font-size: 11px;
}

#example-content .compact-caption.no-image {
    margin: 0 0 20px 0;
    color: #343333;
    font-size: 13px;
    line-height: 17px;
    font-style: normal;
}

#example-content .compact-caption.no-top {
    margin: 0 0 20px 0;
}

#example-content a.compact-video-link {
    display: block;
    border: 1px solid #bdbdbd;
}

#example-content a.compact-video-link:link span,
#example-content a.compact-video-link:active span,
#example-content a.compact-video-link:visited span {
    display: block;
    width: 100%;
    height: 100%;
    background: url('/system-modeler/img/popup-video_off.png') no-repeat 50% 50%;
    cursor: pointer;
}

#example-content a.compact-video-link:link:hover span,
#example-content a.compact-video-link:active:hover span,
#example-content a.compact-video-link:visited:hover span {
    background: url('/system-modeler/img/popup-video_on.png') no-repeat 50% 50%;
}

#example-content .compact-video-large {
    display: none;
}

#example-content a.compact-cdf-link {
    display: block;
    border: 1px solid #bdbdbd;
}

#example-content a.compact-cdf-link:link span,
#example-content a.compact-cdf-link:active span,
#example-content a.compact-cdf-link:visited span {
    display: block;
    width: 100%;
    height: 100%;
    background: url('/system-modeler/img/popup-cdf_off.png') no-repeat 50% 50%;
    cursor: pointer;
}

#example-content a.compact-cdf-link:link:hover span,
#example-content a.compact-cdf-link:active:hover span,
#example-content a.compact-cdf-link:visited:hover span {
    background: url('/system-modeler/img/popup-cdf_on.png') no-repeat 50% 50%;
}

#example-content .compact-cdf-large {
    display: none;
}

#example-content .compact-img-left {
    width: 278px;
    display: inline-block;
    vertical-align: top;
}

#example-content .compact-img-right {
    width: 276px;
    display: inline-block;
    vertical-align: top;
    margin: 0 0 0 18px;
}

#example-content .callout-container {
    position: relative;
}

#example-content .callout-container .callout-left {
    position: absolute;
    left: -240px;
    width: 195px;
    top: -7px;
    border: 0px solid;
    padding-top: 43px;
    background: url('/system-modeler/img/callout-arrow-left.gif') no-repeat top right;
}

#example-content .callout-container .callout-right {
    position: absolute;
    right: -240px;
    width: 195px;
    top: -7px;
    border: 0px solid;
    padding-top: 43px;
    background: url('/system-modeler/img/callout-arrow-right.gif') no-repeat top left;
}

#example-content p.caption-text {
    margin-top: 9px;
}

#example-content .form-box {
    vertical-align: text-bottom;
}



/* End Old Content
   ========================================================================== */

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

#example-footer {
    border-top: 1px solid #b3b3b3;
    background: #f5f5f5;
    overflow: hidden;
    padding: 10px 0 40px 0px;
    zoom: 1;
}

.three-column-layout #example-footer {
     padding: 10px 0 40px 120px;
}

.examples-compact #example-footer {
    padding: 10px 0 40px 0;
}

#example-footer .footer-inner {
    width: 620px;
    margin: 0 auto;
    text-align: left;
}

.three-column-layout #example-footer .footer-inner {
    width: 620px;
}


.examples-compact #example-footer .footer-inner {
    width: 900px;
}

#example-footer .footer-inner {
    width: 900px;
}

.footer-related {
    color: #696969;
    font-size: .6875rem;
    line-height: 1.2;
    text-transform: uppercase;
}

#examples .footer-related {
    font-size: 11px;
}

.footer-list {
    width: 298px;
    margin: 20px 0 0 0;
    display: inline-block;
    vertical-align: top;
}

.footer-list.col-left {
    margin: 20px 18px 0 0;
}

.footer-list .list-title {
    padding: 0 0 4px 40px;
    color: #353535;
    font-size: .9375rem;
    line-height: 1.2;
    font-weight: bold;
    text-transform: uppercase;
}

#examples .footer-list .list-title {
    font-size: 15px;
}

.footer-list ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-list ul li {
    margin: 0 0 0 40px;
    background: none;
    padding: 5px 0;
    font-size: .9375rem;
    line-height: 1.2;
}

.footer-list ul li a {
    font-size: .9375rem;
}

#examples .footer-list ul li a {
    font-size: 15px;
    line-height:18px;
}

.footer-list a {
    color: #4d4d4d;
}

.footer-list a:hover,
.footer-list a:hover .chevron {
    color: #f57300;
}

#list-libraries {
    background: url('/system-modeler/img/icon-libraries.png') no-repeat;
    padding: 8px 0 0 0;
}

#list-examples {
    background: url('/system-modeler/img/icon-examples.png') no-repeat;
    padding: 8px 0 0 0;
}

#list-features {
    background: url('/system-modeler/img/icon-features.png') no-repeat;
    padding: 10px 0 0 0;
}

#list-blogs {
    background: url('/system-modeler/img/icon-blogs.png') no-repeat left 7px;
    padding: 10px 0 0 0;
}

.chevron {
    color: #dd1100;
    vertical-align: baseline;
    font-size: 1.2rem;
    line-height: 1;
    margin: 0 3px;
}

#try-buy-upgrade .level-2 span.no-bg-color a:hover,
#try-buy-upgrade .level-2 span.no-bg-color a:active {
    color: #f8d2ba;
}

#try-buy-upgrade .level-3 a:hover, #try-buy-upgrade .level-3 a:active {
    color: #f8d2ba;
}

/* Buttons
   ========================================================================== */
.intro-right {
    display: inline-block;
    position: absolute;
    right: 0;
    top: 100px;
}
.intro-right {
    top: 38px;
}

.intro-right + .intro-right {
    top: 85px;
}

.intro-right + .intro-right a {
    width: 183px;
    display: block;
    text-align: center;
}

.intro-right a {
    outline: none !important;
    color: #fff !important;
}


#content-1 .button, #alert-1 .button{
    border: 1px solid #dd1100;
    color: #dd1100;
    border-radius: 3px;
    background: #fff;
    padding: 4px 12px;
    cursor: pointer;
}
#content-1 .button.small, #alert-1 .button.small {
    font-size: .7rem;
}
#content-1 .button:hover, #alert-1 .button:hover {
    border: 1px solid #f77700;
    color: #f77700;
}
#content-1 .button.large, #alert-1 .button.large {
    letter-spacing: normal;
    font-size: 1rem !important;
    font-weight:400;
    padding: 9px 20px;
    border-radius: 5px;
    border: 1px solid #b00f00;
}
#content-1 .button.giant, #alert-1 .button.giant {
    padding: 7px 0;
    display: inline-block;
    line-height: 1;
    border-radius: 5px;
    border: 1px solid #b00f00;
    cursor: pointer;
}
#content-1 .button.red, #alert-1 .button.red {
    background: #dd1100 !important;
    color: #fff !important;
}
#content-1 .button.red:hover, #alert-1 .button.red:hover {
    color: #fff !important;
    background: #fe0000 !important;
}

#alert-1 {
    background: #fff;
    text-align: center;
    padding: 25px 20px;
    font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
}

#alert-1 h2 {
    font-size: 1.125rem;
}

#alert-1 p {
    margin: 0;
    padding: 0px;
    font-size: 14px;
    line-height: 15px;
    color: #313131;
    text-align: center;
}

#alert-1 h2 + p {
    margin: 20px 0px 5px !important;
    padding: 0px;
    font-size: .75rem;
    line-height: 1;
    color: #6d6d6d;
    text-align: left;
}

#alert-1 .button.large {
    padding: 7px 20px;
}

#alert-1 .button.giant {
    margin: 10px 0;
    width: 49%;
}

#alert-1.white-popup-block {
    max-width: 473px;
}


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

.three-column-container {
    position: relative;
}


@media (max-width: 1200px) {
    .grid-container { max-width: 800px; }
    #examples .grid-container { max-width:1200px; min-width: 1015px; }

    .grid section h1, .grid section h3 { font-size: 1.25rem; } 
    .more.button {
    	padding: 0.5rem 1rem;
    	min-width: 135px;
    	font-size: 17px;
  	 }
}

@media (max-width: 900px) {
    .navigation-tags a.active:after { display: none; }
    .navigation-tags {
    	padding-left: 15px;
    	padding-right: 15px;
    }
    .grid section h1, .grid section h3 { font-size: 1.45rem; line-height: 1.2; }
    .grid section p { font-size: 1.1rem; line-height: 1.3; }
    .grid section .item p a { font-size: 1rem; line-height: 1.2; }
    .more.button {
    padding: 0.35rem 1rem;
    min-width: 111px;
    font-size: 15px;
   }
    
}

@media (max-width: 800px) {
    .grid-container { max-width: 600px; }
     #examples .grid-container { max-width:1200px; min-width: 1015px; }
}

@media (max-width: 600px) {
    .navigation-tags a { padding: 0.3rem 0.6rem; }

    .grid-container .grid { width: 360px !important; margin:auto;}
    .grid section { border-width: 0.4rem !important; width: 360px !important; }
    .grid section img { max-width: 100%; }
    .grid section div.main-content { margin: 0 10px; }
    .grid section h3 { font-size: 1.56rem; line-height: 1.1; margin-bottom: 1rem; }
    .grid section p { font-size: 1.1rem; line-height: 1.3; margin-bottom: 1.5rem; }
    /*.grid section div.primary-link-container { margin: 0 10px; }*/
    .grid section div.resource-content { margin: 0 10px 15px; }
    
    .grid section .small-grid { margin-right: -7px;}
     header .intro {margin-top: 15px;}
    .navigation-tags {padding-top: 15px;padding-bottom: 5px;}
     a.tile-announcement div, a.tile-title h3, a.tile-paragraph p {
    	margin-left: 10px;
    	margin-right: 10px;
	}
	.more.button {
    padding: 0.35rem 1rem;
    min-width: 111px;
    font-size: 15px;
   }
}

@media (max-width: 600px) {
  .grid section {
    display: none;
  }
  .grid section:nth-child(1) {
    display: block;
  }  
}

@media (min-width: 601px) and (max-width: 1244px) {
  .grid section {
    display: none;
  }
  .grid section:nth-child(-n+4) {
    display: block;
  }
}

@media (min-width: 1245px) {
  .grid section {
    display: none;
  }
  .grid section:nth-child(-n+6) {
    display: block;
  }
}

