/*
Theme Name: Flex-Lite
Author: Vincent Dubroeucq
Author URI: http://vincentdubroeucq.com
Theme URI:  http://vincentdubroeucq.com/themes/flex 
Description: A simple and clean responsive theme for your blog.
Version: 1.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: flex-lite
Tags: one-column, two-columns, right-sidebar, custom-background, custom-header, custom-menu, featured-images, full-width-template
*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
  font-family: sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
  display: block;
}

audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden],
template {
  display: none;
}

a {
  background-color: transparent;
}

a:active,
a:hover {
  outline: 0;
}

abbr[title] {
  border-bottom: 1px dotted;
}

b,
strong {
  font-weight: bold;
}

dfn {
  font-style: italic;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

mark {
  background: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

img {
  border: 0;
}

svg:not(:root) {
  overflow: hidden;
}

figure {
  margin: 1em 40px;
}

hr {
  box-sizing: content-box;
  height: 0;
}

pre {
  overflow: auto;
}

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}

button {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}

button[disabled],
html input[disabled] {
  cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input {
  line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

input[type="search"] {
  -webkit-appearance: textfield;
  box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

legend {
  border: 0;
  padding: 0;
}

textarea {
  overflow: auto;
}

optgroup {
  font-weight: bold;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

/*--------------------------------------------------------------
# Base Styles
--------------------------------------------------------------*/
html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
  box-sizing: inherit;
}

body {
  background-color: #fff;
}

hr {
  background-color: #0080ff;
  border: none;
  height: 3px;
  margin: 1.618em 0;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: #ff9933;
  text-decoration: none;
  transition: all .3s;
}

a:visited {
  color: #cc6600;
}

a:hover, a:focus, a:active {
  color: #FF7F00;
  text-decoration: underline;
}

thead {
  border-top: 3px solid transparent;
  border-bottom: 3px solid #0080ff;
}

tfoot {
  border-top: 3px solid #0080ff;
  border-bottom: 3px solid transparent;
  font-weight: bold;
}

td {
  padding: 10px;
}

tr:nth-child(even) {
  background-color: #e6e6e6;
}

/*  Forms
************/
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
  border: none;
  border-top: 5px solid transparent;
  border-bottom: 5px solid #ff9933;
  color: #666666;
  display: block;
  margin: .3em 0;
  padding: 5px;
  transition: border .3s;
}

input[type="text"]:focus, input[type="text"]:hover,
input[type="email"]:focus,
input[type="email"]:hover,
input[type="url"]:focus,
input[type="url"]:hover,
input[type="password"]:focus,
input[type="password"]:hover,
input[type="search"]:focus,
input[type="search"]:hover,
textarea:focus,
textarea:hover {
  border-bottom: 5px solid #FF7F00;
  color: #333;
}

textarea {
  width: 100%;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  background-color: #ff9933;
  border: none;
  color: #fff;
  display: block;
  padding: 5px 10px;
  margin: .3em 0;
  text-shadow: 1px 1px 1px #333;
  transition: all .3s;
}

button:hover, button:active, button:focus,
input[type="button"]:hover,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:hover,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:hover,
input[type="submit"]:active,
input[type="submit"]:focus {
  background: #FF7F00;
}

.button, .big-button,
a.big-button,
a.button,
a.big-button {
  border: none;
  background-color: #ff9933;
  color: #fff;
  display: inline-block;
  margin: .3em 0;
  padding: 5px 10px;
  text-decoration: none;
  text-shadow: 1px 1px 1px #333;
  transition: all .3s;
}

.button:hover, .big-button:hover, .button:active, .big-button:active, .button:focus, .big-button:focus, .button:visited, .big-button:visited,
a.button:hover,
a.big-button:hover,
a.button:active,
a.big-button:active,
a.button:focus,
a.big-button:focus,
a.button:visited,
a.big-button:visited {
  background-color: #FF7F00;
  color: #fff;
}

.big-button,
a.big-button {
  padding: 10px 20px;
}

/*	Typography
****************/
html {
  font-size: 1em;
}

body {
  background-color: white;
  color: #333;
  font-family: "Raleway", sans-serif;
  font-size: 0.9em;
  font-weight: 400;
  line-height: 1.6;
}

@media screen and (min-width: 641px) {
  body {
    font-size: 1em;
  }
}

@media screen and (min-width: 961px) {
  body {
    font-size: 1.125em;
  }
}

p,
ul,
ol {
  margin: 0 0 1.618em;
}

h1, h2, h3, h4 {
  font-family: "Rokkitt", serif;
  font-weight: 400;
  line-height: 1.2;
}

h1 {
  font-size: 2.441em;
}

h2 {
  font-size: 1.953em;
}

h3 {
  font-size: 1.563em;
}

h4 {
  font-size: 1.25em;
}

small, .font_small {
  font-size: 0.8em;
}

dfn, cite, em, i {
  font-style: italic;
}

blockquote {
  border-left: 5px solid #FF7F00;
  margin: 1em;
  padding-left: 20px;
}

blockquote cite {
  display: block;
  text-align: right;
}

address {
  margin: 0 0 1.5em;
}

pre {
  background-color: #e6e6e6;
  border-left: 5px solid #0080ff;
  display: block;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.8em;
  max-width: 100%;
  margin-bottom: 1.618em;
  overflow: auto;
  padding: 20px;
}

code, kbd, tt, var {
  font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr, acronym {
  border-bottom: 1px solid #333;
  cursor: help;
}

mark, ins {
  text-decoration: none;
}

big {
  font-size: 125%;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin: 0 auto;
}

.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

.wp-caption-text {
  text-align: center;
}

.gallery {
  margin-bottom: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  vertical-align: top;
  width: 100%;
}

.gallery-columns-2 .gallery-item {
  max-width: 50%;
}

.gallery-columns-3 .gallery-item {
  max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
  max-width: 25%;
}

.gallery-columns-5 .gallery-item {
  max-width: 20%;
}

.gallery-columns-6 .gallery-item {
  max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
  max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
  max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
  max-width: 11.11%;
}

.gallery-caption {
  display: block;
}

/*--------------------------------------------------------------
# Helper classes
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.screen-reader-text:focus {
  clip: auto !important;
  color: #333;
  display: block;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar. */
}

/*  Alignments  */
.alignleft {
  display: inline;
  float: left;
  margin: 1.5em;
  margin-left: 0;
}

.alignright {
  display: inline;
  float: right;
  margin: 1.5em;
  margin-right: 0;
}

.aligncenter {
  display: block;
  clear: both;
  margin: 1.5em auto;
}

/*  Clearings
***************/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
  content: "";
  display: table;
  table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
  clear: both;
}

/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  /* Theme Footer (when set to scrolling) */
  display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# Navbar
--------------------------------------------------------------*/
.navbar {
  -ms-flex-align: center;
  align-items: center;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  font-family: "Rokkitt", serif;
  -ms-flex-pack: justify;
  justify-content: space-between;
  line-height: 1;
  padding: 10px;
  position: relative;
}

.navbar a {
  color: #333;
  display: inline-block;
  text-decoration: none;
}

.navbar .site-title {
  font-size: 1.5rem;
  margin: 0;
}

.navbar .site-description {
  display: none;
}

.navbar .custom-logo {
  max-height: 40px;
  line-height: 1;
  width: auto;
}

.navbar .menu-toggle {
  cursor: pointer;
  line-height: 0;
}

.navbar ul {
  font-size: 1.125rem;
  list-style: none;
  padding-left: 20px;
  margin: 0;
}

.navbar ul li a {
  border-bottom: 5px solid transparent;
  border-top: 5px solid transparent;
  padding: 5px;
  transition: all .3s;
}

.navbar ul li a:hover {
  border-bottom: 5px solid #FF7F00;
}

.navbar ul ul {
  margin: 0;
  padding-left: 20px;
}

.navbar #menu-trigger {
  display: none;
}

.navbar .main-menu {
  -ms-flex-preferred-size: 100%;
  flex-basis: 100%;
  margin-top: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all .5s;
}

.navbar #menu-trigger:checked + .main-menu {
  margin-top: 10px;
  max-height: 1500px;
  opacity: 1;
  transition: all .5s;
}

@media screen and (min-width: 641px) {
  .navbar {
    padding: 10px 20px;
    line-height: 1.5;
  }
  .navbar .menu-toggle {
    display: none;
  }
  .navbar li {
    margin-right: 1em;
    display: inline-block;
  }
  .navbar li li {
    display: block;
  }
  .navbar .site-title {
    font-size: 2rem;
  }
  .navbar .main-menu,
  .navbar div.main-menu ul {
    -ms-flex-preferred-size: auto;
    flex-basis: auto;
    font-size: 1.125rem;
    margin: 0;
    max-height: 100%;
    min-width: 0;
    opacity: 1;
    padding: 0;
  }
  .navbar .main-menu .sub-menu,
  .navbar .main-menu li .children,
  .navbar div.main-menu ul .sub-menu,
  .navbar div.main-menu ul li .children {
    background-color: #fff;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 10px;
    position: absolute;
    transition: all .5s;
    visibility: hidden;
  }
  .navbar .main-menu li.menu-item-has-children:hover > ul.sub-menu,
  .navbar .main-menu li.page_item_has_children:hover > ul.children,
  .navbar div.main-menu ul li.menu-item-has-children:hover > ul.sub-menu,
  .navbar div.main-menu ul li.page_item_has_children:hover > ul.children {
    max-height: 1500px;
    opacity: 1;
    overflow: visible;
    visibility: visible;
  }
}

@media screen and (min-width: 961px) {
  .navbar {
    padding: 30px;
  }
  .navbar .site-description {
    display: block;
    font-size: 1.25rem;
    margin: 0;
  }
  .navbar .main-menu {
    font-size: 1.25rem;
  }
  .navbar .dropdown {
    font-size: 1rem;
  }
}

/*--------------------------------------------------------------
# Main Header
--------------------------------------------------------------*/
.main-header {
  background-color: #FF7F00;
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
  border-bottom: 3px solid #0080ff;
  border-top: 3px solid #0080ff;
  color: #fff;
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 0;
  text-align: center;
  text-shadow: 1px 1px 1px #333;
}

/*--------------------------------------------------------------
# Social Icons
--------------------------------------------------------------*/
.social-icons {
  margin: 0.67em 0;
}

.social-icons .icon {
  fill: currentColor;
  transition: all .3s;
}

.social-icons a {
  border-bottom: 5px solid transparent;
  border-top: 5px solid transparent;
  color: #fff;
  padding: 5px;
  transition: all .3s;
}

.social-icons a:hover {
  border-bottom: 5px solid #FF7F00;
}

.social-icons a:hover > .icon--ei-sc-facebook {
  fill: #3b5998;
}

.social-icons a:hover > .icon--ei-sc-twitter {
  fill: #55acee;
}

.social-icons a:hover > .icon--ei-sc-google-plus {
  fill: #dd4b39;
}

.social-icons a:hover > .icon--ei-sc-instagram {
  fill: #125688;
}

.social-icons a:hover > .icon--ei-sc-youtube {
  fill: #bb0000;
}

#colophon .social-icons a {
  color: #333;
}

/*--------------------------------------------------------------
# Layout and Containers
--------------------------------------------------------------*/
.page-container,
.full-width-container,
.flex-container,
.flex-navigation,
.post-header,
.post-content,
.comments-area,
.widget,
.signup-widget,
.main-footer {
  padding: 20px 10px;
}

@media screen and (min-width: 641px) {
  .page-container,
  .full-width-container,
  .flex-container,
  .flex-navigation,
  .post-header,
  .post-content,
  .comments-area,
  .widget,
  .signup-widget,
  .main-footer {
    padding: 20px;
  }
}

@media screen and (min-width: 961px) {
  .page-container,
  .full-width-container,
  .flex-container,
  .flex-navigation,
  .post-header,
  .post-content,
  .comments-area,
  .widget,
  .signup-widget,
  .main-footer {
    padding: 30px;
  }
}

.post,
.page,
.widget,
.comments-area,
.comment-list,
.flex-navigation {
  background-color: #fff;
  margin-bottom: 30px;
}

.page-container {
  margin: 0 auto;
  max-width: 640px;
}

@media screen and (min-width: 800px) {
  .page-container {
    max-width: 800px;
  }
}

.flex-container {
  max-width: 640px;
  margin: 0 auto;
}

@media screen and (min-width: 800px) {
  .flex-container {
    display: -ms-flexbox;
    display: flex;
    max-width: 960px;
  }
  .flex-container .site-main {
    margin: 0 2% 0 0;
    min-width: 0;
    -ms-flex: 1.618 0px;
    flex: 1.618 0px;
  }
  .flex-container .widget-area {
    margin: 0 0 0 2%;
    min-width: 0;
    -ms-flex: 1 0px;
    flex: 1 0px;
  }
}

@media screen and (min-width: 961px) {
  .flex-container {
    max-width: 1280px;
  }
  .flex-container .site-main {
    margin: 0 5% 0 0;
  }
  .flex-container .widget-area {
    margin: 0 0 0 5%;
  }
}

.full-width-container {
  margin: 0 auto;
  max-width: 1280px;
}

.flex-navigation {
  -ms-flex-align: center;
  align-items: center;
  background-color: #fff;
  border-bottom: 3px solid #0080ff;
  border-top: 3px solid #0080ff;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.flex-navigation a {
  -ms-flex-align: center;
  align-items: center;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
}

.flex-navigation a span {
  margin: 0 5px;
}

.thumbnail-container {
  text-align: center;
}

.thumbnail-container img {
  border-bottom: 3px solid #0080ff;
  border-top: 3px solid #0080ff;
  margin-bottom: 1.618em;
}

@media screen and (min-width: 960px) {
  .post-type-archive-jetpack-portfolio .post-content,
  .tax-jetpack-portfolio-type .post-content,
  .tax-jetpack-portfolio-tag .post-content {
    display: -ms-flexbox;
    display: flex;
  }
  .post-type-archive-jetpack-portfolio .post-content > div,
  .tax-jetpack-portfolio-type .post-content > div,
  .tax-jetpack-portfolio-tag .post-content > div {
    padding: 30px;
    -ms-flex: 1 1 0px;
    flex: 1 1 0px;
    min-width: 0px;
  }
}

.jetpack-testimonial .post-content {
  -ms-flex-align: center;
  align-items: center;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.jetpack-testimonial .post-content .thumbnail-container {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  min-width: 0px;
}

.jetpack-testimonial .post-content .thumbnail-container img {
  margin: 0;
}

.jetpack-testimonial .post-content .testimonial-content {
  -ms-flex: 1 1 350px;
  flex: 1 1 350px;
  min-width: 0px;
  padding: 30px;
}

/*--------------------------------------------------------------
# Content Area
--------------------------------------------------------------*/
body.page {
  margin-bottom: 0;
}

.sticky {
  display: block;
}

.post-title {
  font-size: 2.441em;
  margin-bottom: 0;
  margin-top: 0;
}

.post-title a {
  color: #333;
  transition: all .3s;
}

.post-title a:hover {
  color: #FF7F00;
  text-decoration: none;
}

.page-title {
  margin-bottom: 1em;
  margin-top: 0;
}

.post-meta {
  margin: 0;
  font-size: small;
}

.post-page-links {
  margin-bottom: 1.618em;
  text-align: center;
}

.post-page-links a {
  margin: 0 5px;
}

.post-edit-link,
.more-link {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
}

.post-edit-link span,
.more-link span {
  margin: 0 5px 0 0;
}

.site-main hr:last-of-type {
  display: none;
}

.profiles {
  text-align: center;
  margin: 0 auto;
}

@media screen and (min-width: 641px) {
  .profiles {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: stretch;
    align-items: stretch;
  }
}

.profile {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex: 1 1 0px;
  flex: 1 1 0px;
  min-width: 180px;
  max-width: 200px;
  margin: 0 auto 2em;
}

.profile p {
  margin-bottom: 0;
}

.profile a {
  color: #333;
}

.profile img {
  border-radius: 50%;
  max-width: 150px;
}

/*--------------------------------------------------------------
# Comments
--------------------------------------------------------------*/
.comment-list {
  padding: 0;
}

.comments-area ul {
  list-style: none;
}

.comments-title {
  margin: 0;
}

.comment-body {
  border-bottom: 3px solid #0080ff;
  border-top: 3px solid transparent;
  padding: 20px;
}

.comment-meta .avatar {
  float: left;
  margin-bottom: 10px;
  margin-right: 10px;
}

.comment-meta:after {
  display: table;
  content: "";
  clear: both;
}

.bypostauthor .comment-body {
  border-bottom: 5px solid #FF7F00;
}

.comment-metadata {
  font-size: small;
}

.comment-navigation {
  margin-top: 30px;
}

.comment-reply-title {
  margin: 0;
}

.comment-notes {
  font-size: small;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
  padding-bottom: 10px;
  padding-top: 10px;
}

.widget-title {
  font-size: 1.563em;
  margin-bottom: .5em;
  margin-top: 0;
  padding-bottom: 10px;
  padding-top: 10px;
  border-bottom: 3px solid #0080ff;
  border-top: 3px solid transparent;
}

.search-form {
  margin: 0 0 1.618em;
  display: -ms-flexbox;
  display: flex;
}

.signup-fields {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.signup-fields input[type=email] {
  -ms-flex-preferred-size: 250px;
  flex-basis: 250px;
}

/*--------------------------------------------------------------
## Custom Widget styles
--------------------------------------------------------------*/
.page-widget-title {
  font-size: 1.25em;
}

.recent-post {
  margin-bottom: 1.618em;
}

.recent-post p {
  margin-bottom: 1em;
}

.recent-post .thumbnail-container img {
  margin-bottom: 1em;
}

.recent-post .post-meta {
  margin: 0;
}

.recent-post-header {
  padding: 10px 0;
}

.recent-post-title {
  color: #333;
  font-size: 1.25em;
  margin: 0;
}

.recent-post-title:hover {
  color: #FF7F00;
}

.front-page-widget {
  margin: 90px 0;
}

.front-page-widget .widget-title {
  border: none;
  font-size: 1em;
  text-align: center;
  text-transform: uppercase;
}

.front-page-widget .page-widget-header {
  text-align: center;
}

.front-page-widget .page-widget-title {
  font-size: 1.953em;
  margin: .5em 0;
}

@media screen and (min-width: 800px) {
  .front-page-widget .page-widget-content {
    display: -ms-flexbox;
    display: flex;
  }
  .front-page-widget .page-widget-content > div {
    padding: 30px;
    -ms-flex: 1 1 0px;
    flex: 1 1 0px;
    min-width: 0px;
  }
  .front-page-widget .page-widget-content.right-thumbnail .thumbnail-container {
    -ms-flex-order: 1;
    order: 1;
  }
  .front-page-widget .page-widget-content .one-third {
    -ms-flex: .5 .5 0px;
    flex: .5 .5 0px;
  }
  .front-page-widget .page-widget-content .two-thirds {
    -ms-flex: 2 2 0px;
    flex: 2 2 0px;
  }
  .front-page-widget .page-widget-content .text-center {
    text-align: center;
  }
  .front-page-widget .page-widget-content .text-left {
    text-align: left;
  }
  .front-page-widget .page-widget-content .text-right {
    text-align: right;
  }
}

.front-page-widget .recent-post {
  -ms-flex-align: start;
  align-items: flex-start;
  display: -ms-flexbox;
  display: flex;
  -ms-flex: 1 1 0px;
  flex: 1 1 0px;
  -ms-flex-direction: column;
  flex-direction: column;
  padding: 0 20px;
  max-width: 100%;
}

.front-page-widget .recent-post > * {
  max-width: 100%;
}

.front-page-widget .recent-post .button, .front-page-widget .recent-post .big-button {
  margin-top: auto;
}

@media screen and (min-width: 641px) {
  .front-page-widget .two-posts {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }
}

@media screen and (min-width: 961px) {
  .front-page-widget .three-posts {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }
}

@media screen and (min-width: 961px) {
  .front-page-widget .four-posts {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
    justify-content: space-between;
    font-size: 80%;
  }
}

@media screen and (min-width: 1280px) {
  .front-page-widget .four-posts {
    font-size: 100%;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.main-footer {
  text-align: center;
}

@media screen and (min-width: 641px) {
  .main-footer {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }
}

/*--------------------------------------------------------------
# Contact Modal
--------------------------------------------------------------*/
.contact-modal {
  background-color: rgba(255, 255, 255, 0.8);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: -10;
  -ms-transform: scale(0.5);
  transform: scale(0.5);
  transition: all .3s;
}

.contact-modal .modal-content {
  padding: 10px;
  max-width: 90%;
  margin: 100px auto;
  background-color: #fff;
  position: relative;
}

.contact-modal .modal-content hr {
  margin-bottom: .5em;
}

.contact-modal .modal-content input,
.contact-modal .modal-content text-area {
  margin: .3em 0;
}

.contact-modal .modal-content .modal-close {
  position: absolute;
  right: 5px;
  top: 20px;
  cursor: pointer;
}

.contact-modal .modal-content .modal-title {
  margin: .3em 0;
  padding-bottom: .3em;
  border-top: 3px solid transparent;
  border-bottom: 3px solid #0080ff;
}

@media screen and (min-width: 481px) {
  .contact-modal .modal-content {
    max-width: 400px;
    padding: 20px;
  }
  .contact-modal .modal-content .modal-close {
    top: 30px;
    right: 15px;
  }
}

@media screen and (min-width: 641px) {
  .contact-modal .modal-content .modal-close {
    top: 33px;
  }
}

@media screen and (min-width: 961px) {
  .contact-modal .modal-content .modal-close {
    top: 35px;
  }
}

#modal-trigger {
  display: none;
}

#modal-trigger:checked + .contact-modal {
  opacity: 1;
  z-index: 10;
  -ms-transform: scale(1);
  transform: scale(1);
}
