/* Body Styling */

*, html, body,
h4, h5, h6, 
p, li, dd, dl, 
select, input,
.top-bar-section ul li > a, 
button, .button, 
.pricing-table .title, .pricing-table .price, 
.tabs dd > a, .tabs .tab-title > a, 
.side-nav, .side-nav li.active > a:first-child:not(.button), 
.accordion .accordion-navigation > a, .accordion dd > a, 
.sub-nav dt, .sub-nav dd, .sub-nav li, 
.label { font-family: 'Open Sans', Arial, sans-serif; font-weight:300; color: #444; }

body { margin: 0;padding: 0;width: 100%; background: #fff;  background-size: cover; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

h1 {font-weight: 600;letter-spacing: -2.5px;margin-top: 20px;margin-bottom: 20px;font-family: 'Open Sans', Arial, sans-serif;color: #308CC2;}
h2 {font-weight: 600;letter-spacing: -2px;margin-top: 10px;margin-bottom: 10px;font-family: 'Open Sans', Arial, sans-serif;color: #308CC2;}
h3 {font-weight: 600;letter-spacing: -1px;margin-top: 10px;margin-bottom: 10px;font-family: 'Open Sans', Arial, sans-serif;color: #308CC2;}
h4 {text-align:center;line-height:  1.2em;font-weight: 300;font-size:2em;font-family: 'Open Sans', Arial, sans-serif;}

header {margin-top: 1rem;}
footer {padding-top: 1rem;}
.row {max-width: 90rem;}

/* Navigation Styling */

.fixed { box-shadow: 0 0 3px #000;background:#fff;}
.nav-bar {display: flex;justify-content: space-between;align-items: center;background: #fff;font-family: "Open Sans", sans-serif;}
.nav-bar .nav-bar-logo {padding: 1.8rem;}
.nav-bar a {color: #fff;transition: color 0.2s ease-in;}
.nav-bar a:hover {color: #a8b8c3;}
@media screen and (max-width: 39.9375em) {.nav-bar {height: 53.57143px; }}
.nav-bar .offcanvas-trigger {display: flex;align-items: center;justify-content: center;padding: 1.6rem;color: #fff;font-family: "Open Sans", sans-serif;
                             text-transform: uppercase;background-color: #1b387a;transition: background-color 0.2s ease-in;cursor: pointer;}
.nav-bar .offcanvas-trigger .offcanvas-trigger-text {margin-right: 0.25rem;margin-top: 0.25rem;}
.nav-bar .offcanvas-trigger:hover {background-color: #fff;}
@media screen and (max-width: 39.9375em) {.nav-bar .offcanvas-trigger {padding: 0.9rem; }}
.off-canvas {background: #222b31;padding: 20px;color: #fff;font-family: "Open Sans", sans-serif;}
.off-canvas > .menu {margin-bottom: 1rem;}
.off-canvas .menu a {color: rgba(255, 255, 255, 0.6);padding-top: 7px;padding-bottom: 7px;transition: color .2s ease-in;}
.off-canvas .menu a:hover {color: #fff;}
.off-canvas .fa {color: #fff;}
.off-canvas .is-accordion-submenu-parent > a::after {border-color: rgba(255, 255, 255, 0.6) transparent transparent;}
.off-canvas .social-links {margin-left: 20px;}
.off-canvas .social-links li {margin-right: 5px;}
.off-canvas .social-links a:hover .fa {color: #bfbfbf;transition: color .2s ease-in; }
.off-canvas .social-links .fa {font-size: 2.2rem;}
.body-info {text-align: center;font-family: "Open Sans", sans-serif;color: #2c3840;}
.body-info .button {margin: 1rem 0;padding: 0.85em 2em;}
.is-open + .off-canvas-content .hamburger .line:nth-child(1),
.is-open + .off-canvas-content .hamburger .line:nth-child(3) {width: 12px;}
.is-open + .off-canvas-content .hamburger .line:nth-child(1) {transform: translateX(-5px) rotate(-45deg);}
.is-open + .off-canvas-content .hamburger .line:nth-child(3) {transform: translateX(-5px) rotate(45deg);}
.hamburger .line {width: 20px;height: 3px;background-color: #fff;display: block;margin: 4px auto;transition: all 0.3s ease-in-out;margin-left: 5px; }
.hamburger .line:last-child {margin-bottom: 0; }
.nav-bar-left p{font-size: 2.2rem;font-weight: 600;letter-spacing: -2px;float: left;margin-left: 20px;margin-top: 15px;margin-bottom: -20px;color:white;}
.dropdown.menu > li.is-dropdown-submenu-parent > a::after {display: block;width: 0;height: 0;border: inset 6px;border-bottom-width: 6px;border-top-style: inset;
                                                           border-top-color: currentcolor;border-right-color: currentcolor;border-bottom-color: currentcolor;
                                                           border-left-color: currentcolor;content: '';border-bottom-width: 0;border-top-style: solid;
                                                           border-color: rgba(255, 150, 0, 0.6) transparent transparent;right: 5px;margin-top: -3px;}

.top-bar-section ul li, .menu.vertical > li { margin-bottom: 0; }    
.top-bar-left li { font-size: 1.1em !important; }
.dropdown.menu li a { font-weight: 300 !important; margin-left: 0 !important; padding: 10px 7px; }
.dropdown.menu li a:hover { background: rgba(255, 255, 255, 0.4) !important; }
.dropdown.menu li:first-child a { margin-left: -7px !important; }
.dropdown.menu li.is-submenu-item a { margin-left: 0px !important; }
.dropdown.menu > li.is-dropdown-submenu-parent > a::after { border-color: rgba(255, 255, 255, 0.9) transparent transparent; }
.is-dropdown-submenu-parent { padding-right: 10px !important; }

/*.slide-navigation { height:auto; position: relative!important; background: #fff; color: #272727; margin: 0 auto; padding: 5px 0; width: 100%; }
.slide-navigation p { font-family: Palatino,"Palatino Linotype","Palatino LT STD","Book Antiqua",Georgia,serif; font-weight: bold !important; font-size: 1.3em !important; line-height: 1em !important; color: #fff !important; letter-spacing: -1px; }
.slide-navigation p span { font-family: Palatino,"Palatino Linotype","Palatino LT STD","Book Antiqua",Georgia,serif; font-weight: bold; }*/

.contain-to-grid { margin: 0 !important; }

.slide-white .row { padding: 2em 0em; }
.slide-navigation img { margin-top: 0.1em !important; }
.nav-bar-right { position: fixed; top: 0.5em !important; right: 0em !important; background: transparent !important;z-index:999999; float: right;margin-top: 7.5px;}
.nav-bar-right li { background: rgba(117,189,233,0.6) !important; border-radius: 10px 0 0 10px; }
.offcanvas-trigger{ background: transparent !important; padding: 0 1em!important; margin: 0 !important; line-height: auto; height: auto; }

/* Maint Navigation Styling */

.title-bar {background: #f8f8f8;padding: 0.9rem;}
.top-bar {background: #f8f8f8;}
top-bar ul {background: #f8f8f8;}
.top-bar ul li {background: #f8f8f8;}
.top-bar ul li a {color: #000;}
.menu-text {color: #000;}
.menu-text {color: #000;}
@media only screen and (max-width: 40em) {
    .menu-text {display: none !important; }
}
@media only screen and (min-width: 40em) {
    .menu:last-child {border-left: 1px solid #4e4e4e;}
    .menu:first-child {border-left: none;}
}
.dropdown.menu .submenu {border: none;}
.js-off-canvas-overlay.is-overlay-fixed {position: fixed;z-index: 9999;}

/* Social Icons Styling */

.size-12 { font-size: 12px; }
.size-14 { font-size: 14px; }
.size-16 { font-size: 16px; }
.size-18 { font-size: 18px; }
.size-21 { font-size: 21px; }
.size-24 { font-size: 24px; }
.size-36 { font-size: 36px; }
.size-48 { font-size: 48px; }
.size-60 { font-size: 60px; }
.size-72 { font-size: 72px; }

.rounded-social-buttons {margin-bottom: 20px;}
.rounded-social-buttons .social-button {display: inline-block;position: relative;cursor: pointer;width: 2.7rem;height: 2.7rem;border: 0.125rem solid transparent;padding: 0;
                                        text-decoration: none;text-align: center;color: #fefefe;font-size: 1.2rem;font-weight: normal;line-height: 2em;border-radius: 1.6875rem;
                                        margin-right: 0.25rem;margin-bottom: 0.25rem;}

.rounded-social-buttons .social-button.facebook {background: #3b5998;}
.rounded-social-buttons .social-button.facebook:before {font-family: "FontAwesome";content: "";}
.rounded-social-buttons .social-button.facebook:hover, .rounded-social-buttons .social-button.facebook:focus {color: #3b5998;background: #fefefe;border-color: #3b5998;}

.rounded-social-buttons .social-button.twitter {background: #55acee;}
.rounded-social-buttons .social-button.twitter:before {font-family: "FontAwesome";content: "";}
.rounded-social-buttons .social-button.twitter:hover, .rounded-social-buttons .social-button.twitter:focus {color: #55acee;background: #fefefe;border-color: #55acee;}

.rounded-social-buttons .social-button.youtube {background: #bb0000;}
.rounded-social-buttons .social-button.youtube:before {font-family: "FontAwesome";content: "";}
.rounded-social-buttons .social-button.youtube:hover, .rounded-social-buttons .social-button.youtube:focus {color: #bb0000;background: #fefefe;border-color: #bb0000;}

.rounded-social-buttons .social-button.instagram {background: #125688;}
.rounded-social-buttons .social-button.instagram:before {font-family: "FontAwesome";content: "";}
.rounded-social-buttons .social-button.instagram:hover, .rounded-social-buttons .social-button.instagram:focus {color: #125688;background: #fefefe;border-color: #125688;}

.rounded-social-buttons .social-button.pinterest {background: #cb2027;}
.rounded-social-buttons .social-button.pinterest:before {font-family: "FontAwesome";content: "";}
.rounded-social-buttons .social-button.pinterest:hover, .rounded-social-buttons .social-button.pinterest:focus {color: #cb2027;background: #fefefe;border-color: #cb2027;}

.rounded-social-buttons .social-button.google-plus {background: #dd4b39;}
.rounded-social-buttons .social-button.google-plus:before {font-family: "FontAwesome";content: "";}
.rounded-social-buttons .social-button.google-plus:hover, .rounded-social-buttons .social-button.google-plus:focus {color: #dd4b39;background: #fefefe;border-color: #dd4b39;}

/* Slide Styling */

.slide-navigation {background: #75bde9; color:#272727; margin:0 auto; overflow:hidden; padding: 5px 0 0 0; width:100%;height: 80px;}
.slide-navigation p {font-family: Montserrat;font-size: 2.25rem;letter-spacing: -2px;font-weight: 600!important;color: #fff !important;text-align: left;margin-top: 5px;}
.slide-maintnav {background: #f8f8f8; color:#272727; margin:0 auto; overflow:hidden; padding:0; width:100%; }
.slide-breadcrumbs {background: #eaeaea; color:#272727; margin:0 auto; overflow:hidden; padding:0; width:100%; max-height: 28px;}
.slide-white {background: #fff; color:#272727; margin:0 auto; overflow:hidden; padding:10px 0; width:100%; }
.slide-background-header {background: url(../img/header-example.jpg) 50% 0 #222; color: #fff; padding: 180px 0; background-size: cover; }
.slide-current-year {background: url(../img/year-background.jpg) 50% 0 #222; color: #fff; padding: 50px 0; background-size: cover; }
.slide-background-homepage {color: #fff; padding: 350px 0; background-size: cover; }
.slide-twitter { background: #55acee; color: #fff;}
.slide-twitter h1 {margin-top: 65px;color: white;text-align: center;}
.slide-twitter h4 {color: #fff;text-align: center;font-weight: 600;letter-spacing: -1px;margin-top: 5px;}
.slide-twitter p {font-weight: 600;color: white;text-align: center;letter-spacing: -1px;font-size: 1.25rem;margin-top: -15px;}

.slide-footer { background: #bcbcbc; color: #fff;}
.slide-footer h3 { text-align:left; color:#fff;}


/* Grid Styling */

.component-grid, .grid { width: 100%; max-width: 100%; padding-bottom: 0; }
.component-grid { padding: 0px; }
.grid figure {position: relative; float: left; overflow: hidden; margin: 10px 0px; min-width: 100%; max-width: 480px;
              max-height: 360px; background: #3085a3; text-align: center; cursor: pointer;}
.grid figure figcaption {padding:1em;}
.grid figure img {margin-left: auto;margin-right: auto;width: 100%;height:auto!important;display:block;}
.grid figure h2, .grid figure p {color:#fff;word-spacing:0;}
.grid figure h2 {font-size:1.75rem;font-weight:600;}
.component-grid li {width:33%}
.component-grid figure {width: 100%; max-width: 100%;}
.component-grid figure img {margin-left: auto; margin-right: auto; width: 100%;}

figure.effect-oscar figcaption {background:none;}

/* Edit Link Styling */

.editLink {float:none !important; position: fixed; bottom: -2px; left: 46%; border-radius: 10px 10px 0 0 !important; background: #15c !important;
           box-shadow: 0px 0px 5px #999, 0px 2px 3px #4ae inset; width: auto !important; height: 55px; text-align: center; padding: 10px 10px 0px 10px !important;
           vertical-align: center; z-index: 100000;}

.fi-page-edit {margin-left:-25px;float:left;}

/* Image Styling */

img { height: auto !important; }
p img { margin-bottom: 1rem; }
img.left { float: left; margin: 5px 20px 10px 0px; }
img.right { float: right; margin: 5px 0px 10px 20px; }
.calendar img {max-width:none;}

/* Button Styling */

.button.success {background-color: #3adb76;color: #ffffff;}

/* News Box Styling */

.news-card-tag {margin-bottom: 0.5rem;}
.news-card-tag .label {border-radius: 0.125rem;background-color: #1779ba;color: #fefefe;}
.news-card-tag .label a {background-color: inherit;color: inherit;}
.news-card-tag .label:hover, .news-card-tag .label:focus {background-color: #14679e;}
.news-card-tag .label:hover a, .news-card-tag .label:focus a {background-color: inherit;color: inherit;}
.news-card {background-color: #fefefe;font-weight: 400;margin-bottom: 1.6rem;border-radius: 0.125rem;box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);}
.news-card .card-section {background-color: inherit;}
.news-card .card-section .news-card-date {font-size: 0.9em; line-height: 1.2em;color: #8a8a8a;}
.news-card .card-section .news-card-article {background-color: inherit;}
.news-card .card-section .news-card-article .news-card-title {line-height: 1.3;padding-top: 10px;font-weight: bold;}
.news-card .card-section .news-card-article .news-card-title a {text-decoration: none;color: #8a8a8a;transition: color 0.5s ease;}
.news-card .card-section .news-card-article .news-card-title a:hover {color: #1779ba;}
.news-card .card-section .news-card-article .news-card-description {color: #8a8a8a;}
.news-card .card-section .news-card-author {overflow: hidden;padding-bottom: 1.6rem;}
.news-card .card-section .news-card-author .news-card-author-image {display: inline-block;vertical-align: middle;}
.news-card .card-section .news-card-author .news-card-author-image img {border-radius: 50%;margin-right: 0.6em;}
.news-card .card-section .news-card-author .news-card-author-name {display: inline-block;vertical-align: middle;}

/* Homepage News Box Styling */

.article-row-section {max-width: 90rem;margin-right: auto;margin-left: auto;display: -webkit-flex;display: -ms-flexbox;display: flex;-webkit-flex-flow: row wrap;
                      -ms-flex-flow: row wrap;flex-flow: row wrap;-webkit-justify-content: center;-ms-flex-pack: center;justify-content: center;}
.article-row-section-inner {-webkit-flex: 0 0 100%;-ms-flex: 0 0 100%;flex: 0 0 100%;max-width: 100%;padding-right: 0.625rem;padding-left: 0.625rem;max-width: 100%;}
.article-row-section-header {padding: 1.5rem 0;margin: 0;line-height: 1;}
.article-row {display: -webkit-flex;display: -ms-flexbox;display: flex;-webkit-flex-direction: column;-ms-flex-direction: column;flex-direction: column;padding: 1.5rem 0;
              box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);margin-bottom: 50px;}
.article-row-img img {width: 100%;}
.article-row-content {padding: 1.5rem 0 0;color: #0a0a0a;}
.article-row-content-header {font-size: 1.4rem;margin-top: -5.75px;}
.article-row-content-description {text-align: left;font-size: 0.9em;line-height: 1.2em;padding-left: 2px;padding-right: 20px;}
.article-row-content-author {font-size: 0.875rem;margin-bottom: 0;color: #8a8a8a;}
.article-row-content-time {font-size: 0.875rem;margin-bottom: 0;color: #8a8a8a;}
.article-row-reversed .article-row-content {-webkit-order: 2;-ms-flex-order: 2;order: 2;padding: 0 1.5rem 0 0;}
.article-row-reversed .article-row-img {-webkit-order: 1;-ms-flex-order: 1;order: 1;padding: 0 0 1.5rem 0;}

/*  Gallery Styling */

.masonry-css {-webkit-column-count: 1;-moz-column-count: 1;column-count: 1;-webkit-column-gap: 2.5px;-moz-column-gap: 2.5px;column-gap: 2.5px;}
.masonry-css-item {-webkit-column-break-inside: avoid;page-break-inside: avoid;break-inside: avoid;margin-bottom: 2.5px;}

.reveal {width: auto;max-width: 78vw!important;height: auto;max-height: 77.5vh!important;margin-top: 45px;}
.reveal img {display: inline-block;vertical-align: middle;max-width: 100%;height: auto!important;max-height: 73.5vh!important;-ms-interpolation-mode: bicubic;}
.reveal p {line-height: 22px;}

/* Override for Foundation reveal overlay */

.reveal-overlay {overflow: auto;}
.reveal-modal-bg{position:fixed;}
.reveal-modal{position:fixed;}

/* Override for Foundation reveal (modal) */

.gallery-reveal {position: absolute;top: 50%;left: 50%;min-height: 1px;height: auto;border: 0;box-shadow: 0 remy(2px) remy(4px) rgba(0, 0, 0, .5);transform: translate(-50%, -50%);}

.callout-gallery {position: relative;padding: 20px;border: none;border-radius: 0;background-color: #495e71;}
.callout-gallery p {color:#fff;line-height: 22px;text-align:center;margin-bottom:20px;}
.callout-twitter-card {position: relative;margin: 0 0 1rem 0;border: 1px solid rgba(10, 10, 10, 0.25);border-radius: 0;background-color: white;color: #0a0a0a;}

/* Custom styles for author */
.modal-author {margin-bottom: remy(8px);font-size: remy(16px);}
.close-button {transition: color .25s cubic-bezier(.4, 0, 1, 1);background:none;}
.featured-image-block-grid-header {margin-left: auto;margin-right: auto;}
.featured-image-block {margin-bottom: 20px;}
.featured-image-block .featured-image-block-title {font-weight: 600;margin-top: 10px;text-transform: uppercase;letter-spacing: 1px;font-size: 1em;color: #404040;}
.featured-image-block a:hover p {color: #1779ba;}

.homepage-callout {position: relative;margin: 0 0 1rem 0;padding: 1rem;border: 1px solid rgba(10, 10, 10, 0.25);border-radius: 0;background-color: white;
                   color: #0a0a0a;box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);}
.homepage-callout h2 {color:#308CC2;text-align: left;font-size: 1.25rem;line-height: 25px;letter-spacing: -1px;}
.homepage-callout p {font-size: 0.9rem;text-align: left;line-height: 20px;}

.grid.main .large-3.columns {padding: 25px;margin-top: 160px;}

@media screen and (min-width: 25em) {
    .masonry-css {-webkit-column-count: 2;-moz-column-count: 2;column-count: 2;}
}

@media screen and (min-width: 37.5em) {
    .masonry-css {
        -webkit-column-count: 3;-moz-column-count: 3;column-count: 3;}
}

@media screen and (min-width: 50em) {
    .masonry-css {-webkit-column-count: 4;-moz-column-count: 4;column-count: 4;}
}

@media screen and (min-width: 68.75em) {
    .masonry-css {-webkit-column-count: 6; -moz-column-count: 6;column-count: 6;}
}


.input-group-rounded .input-group-field {
  border-radius: 5000px 0 0 5000px;
  padding-left: 1rem;
}

.input-group-rounded .input-group-button .button {
  border-radius: 0 5000px 5000px 0;
  font-size: 0.8rem;
}

.button {
    display: inline-block;
    vertical-align: middle;
    margin: 0 0 1rem 0;
    padding: 0.85em 1em;
    -webkit-appearance: none;
    border: 1px solid transparent;
    border-radius: 0;
    transition: background-color 0.25s ease-out, color 0.25s ease-out;
    font-size: 0.9rem;
    line-height: 1;
    text-align: center;
    cursor: pointer;
    background-color: #308CC2;
    color: #fefefe!important;
}

hr {
    clear: both;
    max-width: 100vw;
    height: 0;
    margin: 1.25rem auto;
    border-top: 0;
    border-right: 0;
    border-bottom: 1px solid #308cc2;
    border-left: 0;
    /* width: 100%; */
}

/*.homepage-column {padding: 25px;margin-top: 160px;}*/

.grid figure.effect-honey h2 { font-size: 1.2em; font-family: Montserrat; color: #fdcb00; font-weight: 700; letter-spacing: -1px; background: rgba(48, 140, 194, 0.5); height: 1rem; line-height:0rem; padding: 2rem 3rem; width:100%; margin-bottom:1rem; }
.effect-honey h2 span { font-weight: 600!important;color: #fff; letter-spacing: -1px; }
figure.effect-honey figcaption::before {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background:#308CC2;
    content: '';
    -webkit-transform: translate3d(0,10px,0);
    transform: translate3d(0,10px,0);
}

// Function to convert px to rems
@function remy($value, $base: 16px) {
    @return ($value / $base) * 1rem;
}

// Variables
$breakpoint-xlarge: 1200px;

/* Extending Foundation grid */
@media screen and (min-width: $breakpoint-xlarge) {
    .xlarge-1 {flex: 0 0 8.33333%;max-width: 8.33333%;}
    .xlarge-2 {flex: 0 0 16.66667%;max-width: 16.66667%;}
    .xlarge-3 {flex: 0 0 25%;max-width: 25%;}
    .xlarge-4 {flex: 0 0 33.33333%;max-width: 33.33333%;}
    .xlarge-5 {flex: 0 0 41.66667%;max-width: 41.66667%;}
    .xlarge-6 {flex: 0 0 50%;max-width: 50%;}
    .xlarge-7 {flex: 0 0 58.33333%;max-width: 58.33333%;}
    .xlarge-8 {flex: 0 0 66.66667%;max-width: 66.66667%;}
    .xlarge-9 {flex: 0 0 75%;max-width: 75%;}
    .xlarge-10 {flex: 0 0 83.33333%;max-width: 83.33333%;}
    .xlarge-11 {flex: 0 0 91.66667%;max-width: 91.66667%;}
    .xlarge-12 {flex: 0 0 100%;max-width: 100%;}
}

/* Your Style Changes Below */



/* Screen Size CSS Below */

// Small screens
@media only screen {
    .main-content-row {margin-top:70px;}
    .slide-navigation p {font-family: Montserrat;font-size: 1.25rem;letter-spacing: -2px;font-weight: 300!important;color: #000!important;text-align: left;
                         margin: 0;height: 45px;line-height: 25px;margin-top: 2px;}
    .slide-navigation {background: #fff;color: #272727;margin: 0 auto;overflow: hidden;padding: 5px 0 0 0;width: 100%;height: 70px;}
} /* Define mobile styles */

@media only screen and (max-width: 40em) {
    .main-content-row {margin-top:1px;}
    .slide-navigation p {font-family: Montserrat;font-size: 1.6rem;letter-spacing: -2px;font-weight: 600!important;color: #fff!important;text-align: left;margin: 0;
                         height: 45px;line-height: 25px;margin-top: 15px;}
    .slide-navigation {background: #75bde9;color: #272727;margin: 0 auto;overflow: hidden;padding: 5px 0 0 0;width: 100%;height: 70px;}
    .nav-bar-right {margin-top: 1.5px;}
    .grid.main .large-3.columns {padding: 25px;margin-top: -30px;}
} /* max-width 640px, mobile-only styles, use when QAing mobile issues */

// Medium screens
@media only screen and (min-width: 40.063em) {
    .main-content-row {margin-top:70px;}
    .grid.main .large-3.columns {padding: 25px;margin-top: -47px;}
} /* min-width 641px, medium screens */

@media only screen and (min-width: 40.063em) and (max-width: 64em) {
    .main-content-row {margin-top:1px;}
    .grid.main .large-3.columns {padding: 25px;margin-top: -30px;}
} /* min-width 641px and max-width 1024px, use when QAing tablet-only issues */

// Large and up
@media screen and (min-width: 64em) {

}

// Large only
@media screen and (min-width: 64em) and (max-width: 74.9375em) {

}

@media print, screen and (min-width: 40em) {
    .article-row-section-inner {
        padding-right: 0.9375rem;
        padding-left: 0.9375rem;
    }
}

@media print, screen and (min-width: 40em) {
    .article-row-section-inner {
        padding-right: 0.625rem;
        padding-left: 0.625rem;
        max-width: 100%;
    }
}

@media print, screen and (min-width: 40em) and (min-width: 40em) {
    .article-row-section-inner {
        padding-right: 0.9375rem;
        padding-left: 0.9375rem;
    }
}

@media print, screen and (min-width: 40em) {
    .article-row {
        -webkit-flex-direction: row;
        -ms-flex-direction: row;
        flex-direction: row;
    }
}

@media print, screen and (min-width: 40em) {
    .article-row-img img {
        max-width: none;
        width: auto;
    }
}

@media print, screen and (min-width: 40em) {
    .article-row-content {
        padding: 0 0 0 1.5rem;
    }
}

@media print, screen and (min-width: 40em) {
    .article-row-reversed .article-row-content {
        -webkit-order: 1;
        -ms-flex-order: 1;
        order: 1;
    }
    .article-row-reversed .article-row-img {
        -webkit-order: 2;
        -ms-flex-order: 2;
        order: 2;
    }
}