/* 
Theme Name:    WP Bootstrap Starter - Child for MQC
Theme URI:     
Description:   WP Bootstrap Starter Child is custom theme for MQC
Author:        FONTO
Author URI:    
Template:      wp-bootstrap-starter
Version:       1.0.0
Text Domain:   wp-bootstrap-starter-child
*/

.modal-dialog {
    max-width: 1111px;
    margin: 85px auto;
}

.modal-content {
    min-height: 710px;
}

.modal-body h1 {
    font-size: 2rem;
    font-weight: bold;
}

.modal-body hr {
    border-top: 2px solid rgba(0,0,0,.1);
}

html {
  height: 100%;
}

body {
  font-size: 1.2rem;
  min-height: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  padding-bottom: 152px;
}

.btn-primary,
.btn-primary:disabled {
    background-color: #2F4E91;
    border-color: #2F4E91;
}

.btn-primary:hover,
.btn-primary:disabled:hover,
.btn-primary:disabled:focus,
.btn-primary:focus {
    background-color: #2D7EB4;
    border-color: #2D7EB4;
}

.alert-box {
    background-color: #2F4E91;
    color: white;
    padding: 1rem 1.5rem;
}

/***** Gutter *****/

.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
  padding-left: 5px;
  padding-right: 5px;
}

.row {
  margin-left: -5px;
  margin-right: -5px;
}

h1,
.h1{
  color: #2F4E91;
  font-weight: 900;
}

h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  color: #2D7EB4;
  font-weight: 900;
}

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

h2,
.h2 {
  font-size: 1.7rem;
}

h3,
.h3 {
  font-size: 1.5rem;
}

h4,
.h4 {
  font-size: 1.4rem;
}

h5,
.h5 {
  font-size: 1.3rem;
}

h6,
.h6 {
  font-size: 1.2rem;
}

.single header {
  padding-bottom: 1rem;
}

.single header h1,
.single header .h1,
.single header h2,
.single header .h2,
.single header h3,
.single header .h4,
.single header h5,
.single header .h5,
.single header h6,
.single header .h6 {
  padding: 0;
  margin: 0;
}

.single header h1,
.single header .h1 {
  margin-bottom: 0.5rem;
}

.single header > p:first-child {
  color: #2F4E91;
}

.single header h6,
.single header .h6 {
  color: #212529;
  padding-top: .5rem;
}

a {
  color: #2F4E91;
}

a:hover,
a:focus {
  color: #2D7EB4;
}

.has-post-thumbnail .entry-content,
.navigation.post-navigation {
  padding-right: 5rem;
}

.entry-content, 
.entry-thumbnail {
    margin: 0 0 .5em 0;
}

.entry-thumbnail {
    margin-top: 9px;
}



.entry-thumbnail.hell > div {
    background-color: #2D7EB4;
}

.entry-thumbnail.dark > div {
    background-color: #2F4E91;
}

.entry-thumbnail > div img {
  mix-blend-mode: screen;
  -webkit-filter: grayscale(100%) contrast(100%);
  filter: grayscale(100%) contrast(100%);
  opacity: 0.9;
}

/***** Header + main nav *****/

header#masthead {
  background-color: transparent;
  box-shadow: none;
}

#masthead .navbar-brand #logo {
  display: block;
  width: 250px;
  height: 33px;
  padding: 6px 0;
  box-sizing: border-box;
}

#masthead .navbar-brand #logo svg {
  fill: #2F4E91;
}

body:not(.theme-preset-active) #masthead .navbar-nav > li > a {
  color: #2F4E91;
  font-size: 1.2rem;
  font-weight: 900;
  padding: 0.5rem 1rem 0 0;
}

body:not(.theme-preset-active) #masthead .navbar-nav > li > a:hover {
  color: #2D7EB4;
  font-weight: 900;
}

body:not(.theme-preset-active) #masthead .navbar-nav > li.current-page-ancestor > a,
body:not(.theme-preset-active) #masthead .navbar-nav li.current_page_item > a {
  color: #2D7EB4;
}

body:not(.theme-preset-active) #masthead .navbar-nav > .dropdown a.current {
  color: #2D7EB4;
}

.dropdown-toggle::after {
  display: none;
}

.dropdown-menu {
  border: none;
  border-radius: 0;
  margin: 0;
  padding: 0; 
  font-size: 1.1rem;
}



.dropdown-menu .dropdown-item {
  padding: 3px 1rem;
  white-space: nowrap;
}

.dropdown-item {
  font-weight: 900;
  padding: .35rem 1rem;
  color: #2F4E91;
}

.dropdown-item:hover {
  color: #2D7EB4;
}

.navbar-light .navbar-toggler {
    color: #000;
    border-color: #2F4E91;
    outline: none;
    margin-top: .5rem;
}

.navbar-light .navbar-toggler:hover {
    background: #2F4E91;
}

.navbar-light .navbar-toggler {
    position:relative;
}

.navbar-light .navbar-toggler::before {
    content: "\f0c9";
    font-family: "Font Awesome 5 Free";
    position: absolute;
    font-size: 2rem;
    color: #2F4E91;
    font-weight: 900;
    width: 100%;
    left: 0px;  
}

.navbar-light .navbar-toggler:hover::before {
    color: #fff;
}

.navbar-light .navbar-toggler[aria-expanded="true"]::before {
    content: "\f00d";
}

.navbar-light .navbar-toggler .navbar-toggler-icon {
  background: none;
}



/***** Global content *****/

#content.site-content {
  padding: 3rem 0;
}

.home #content.site-content {
  padding: 1.2rem 0 3rem 0;
}

/***** Home page *****/
.home .mqc-objects .bs-box {
  margin-bottom: 0;
}

.home .mqc-objects .bs-box:nth-child(1) {
  order: 2;
}

.home .mqc-objects .bs-box:nth-child(2) {
  order: 4;
}

.home .mqc-objects .bs-box:nth-child(3) {
  order: 5;
}

.home .mqc-objects .bs-box:nth-child(4) {
  order: 7;
}

.home .mqc-objects .bs-box:nth-child(5) {
  order: 1;
}

.home .mqc-objects .bs-box:nth-child(6) {
  order: 3;
}

.home .mqc-objects .bs-box:nth-child(7) {
  order: 6;
}

.home .mqc-objects .bs-box:nth-child(8) {
  order: 8;
}

.home aside {
  font-size: 1rem;
}

.home aside .communication-events-wrapper {
  background-color: #2F4E91;
  padding: 2rem;
  color: #fff;
  height: 100%;
}

.home aside h1 {
  font-size: 1.3rem;
  color: #fff;
}

.home aside a {
  color: #fff;
  text-decoration: none;
}

.home aside a:hover,
.home aside a:focus {
  color: #fff;
  text-decoration: underline;
}

.home aside #mqc-news {
  margin-bottom: 2rem;
}

.home aside #mqc-events article {
  margin-bottom: 1rem;
}

.home aside #mqc-events h2 {
  font-size: 1.2rem;
  margin: 0;
  padding-bottom: 0;
}

.home aside #mqc-events article p {
  margin: 0;
}

.home aside #mqc-events .all-events {
  margin-top: 0.5rem;
  display: inline-block;
}

.home aside #mqc-events .all-events {
  text-decoration: none;
}

.home aside #mqc-events .all-events:hover,
.home aside #mqc-events .all-events:focus {
  text-decoration: underline;
}

.mqc-objects .bs-box {
  margin-bottom: 10px;
}

.mqc-objects .bs-box.double {
  margin-bottom: 0;
}

.mqc-objects .bs-box.double:nth-child(1) {
  order: 1;
}

.mqc-objects .bs-box.double:nth-child(2) {
  order: 2;
}

.mqc-objects .bs-box.double:nth-child(3) {
  order: 3;
}

.mqc-objects .bs-box.double:nth-child(4) {
  order: 4;
}

.mqc-objects .bs-box.double:nth-child(5) {
  order: 5;
}

.mqc-objects .bs-box.double:nth-child(6) {
  order: 6;
}

.mqc-objects .bs-box.double:nth-child(7) {
  order: 8;
}

.mqc-objects .bs-box.double:nth-child(8) {
  order: 7;
}

.mqc-objects .bs-box.double:nth-child(9) {
  order: 10;
}

.mqc-objects .bs-box.double:nth-child(10) {
  order: 9;
}

.mqc-objects .bs-box.double:nth-child(11) {
  order: 12;
}

.mqc-objects .bs-box.double:nth-child(12) {
  order: 11;
}

.mqc-objects .bs-box .content-box {
  position: relative; 
  width: 100%; 
  padding-top: 200%;
}

.mqc-objects .bs-box .content-box svg,
.mqc-objects .bs-box .content-box .filtered {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

.mqc-objects .bs-box .content-box svg .hell {
  fill: #2D7EB4;
}

.mqc-objects .bs-box .content-box svg .dark {
  fill: #2F4E91;
}

.mqc-objects .bs-box .content-box svg text {
  font-weight: bold;
  font-size: 1.5rem;
  fill: #fff;
}

.mqc-objects .bs-box .content-box svg a .text-decoration {
  display: none;
}

.mqc-objects .bs-box .content-box svg a:hover .text-decoration {
  display: block;
}

.mqc-objects .bs-box .content-box .filtered {
  float: left;
  box-sizing: border-box;
  margin-bottom: 0;
  margin-top: 0;
}

.home #page .mqc-objects .bs-box .content-box .filtered,
.mqc-objects .bs-box .content-box .filtered {
  background: #2F4E91;
}

.home #page .mqc-objects .bs-box:nth-child(even) .content-box .filtered {
  background: #2D7EB4;
}

.mqc-objects .bs-box:nth-child(-2n+6) .content-box .filtered, 
.mqc-objects .bs-box:nth-child(6) ~ div:nth-child(-2n+11) .content-box .filtered, 
.mqc-objects .bs-box:nth-child(12) ~ div:nth-child(-2n+18) .content-box .filtered, 
.mqc-objects .bs-box:nth-child(18) ~ div:nth-child(-2n+23) .content-box .filtered, 
.mqc-objects .bs-box:nth-child(24) ~ div:nth-child(-2n+30) .content-box .filtered, 
.mqc-objects .bs-box:nth-child(30) ~ div:nth-child(-2n+35) .content-box .filtered, 
.mqc-objects .bs-box:nth-child(36) ~ div:nth-child(-2n+42) .content-box .filtered, 
.mqc-objects .bs-box:nth-child(42) ~ div:nth-child(-2n+47) .content-box .filtered, 
.mqc-objects .bs-box:nth-child(48) ~ div:nth-child(-2n+54) .content-box .filtered {
  background: #2D7EB4;
}

.mqc-objects .bs-box.double:nth-child(1) .content-box .filtered,
.mqc-objects .bs-box.double:nth-child(5) .content-box .filtered,
.mqc-objects .bs-box.double:nth-child(7) .content-box .filtered,
.mqc-objects .bs-box.double:nth-child(11) .content-box .filtered {
  background: #2F4E91 !important;
}

.mqc-objects .bs-box.double:nth-child(3) .content-box .filtered,
.mqc-objects .bs-box.double:nth-child(9) .content-box .filtered {
  background: #2D7EB4 !important;
}

.mqc-objects .bs-box .content-box .filtered img {
  mix-blend-mode: screen;
  -webkit-filter: grayscale(100%) contrast(100%);
  filter: grayscale(100%) contrast(100%);
  opacity: 0.9;
  display: block;
  max-width: 100%;
  box-sizing: border-box;
  transition-property: transform;
  transition-duration: 1s;
  position: absolute;
}

.mqc-objects .bs-box .content-box .filtered img.empty {
  width: 100%;
  height: 100%;
}

.mqc-objects .bs-box .content-box .filtered figcaption {
    position: relative;
    top: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: space-between;
    font-size: 1rem;
    font-weight: bold;
    color: #2F4E91;
}

.home #page .mqc-objects .bs-box:nth-child(even) .content-box .filtered figcaption {
    color: #2D7EB4;
}

.mqc-objects .bs-box .content-box .filtered figcaption div:only-child {
  margin-top: auto;
}

body:not(.home) .mqc-objects .bs-box:nth-child(-2n+6) .content-box .filtered figcaption .figcaption-title, 
body:not(.home) .mqc-objects .bs-box:nth-child(6) ~ div:nth-child(-2n+11) .content-box .filtered figcaption .figcaption-title, 
body:not(.home) .mqc-objects .bs-box:nth-child(12) ~ div:nth-child(-2n+18) .content-box .filtered figcaption .figcaption-title, 
body:not(.home) .mqc-objects .bs-box:nth-child(18) ~ div:nth-child(-2n+23) .content-box .filtered figcaption .figcaption-title, 
body:not(.home) .mqc-objects .bs-box:nth-child(24) ~ div:nth-child(-2n+30) .content-box .filtered figcaption .figcaption-title, 
body:not(.home) .mqc-objects .bs-box:nth-child(30) ~ div:nth-child(-2n+35) .content-box .filtered figcaption .figcaption-title, 
body:not(.home) .mqc-objects .bs-box:nth-child(36) ~ div:nth-child(-2n+42) .content-box .filtered figcaption .figcaption-title, 
body:not(.home) .mqc-objects .bs-box:nth-child(42) ~ div:nth-child(-2n+47) .content-box .filtered figcaption .figcaption-title, 
body:not(.home) .mqc-objects .bs-box:nth-child(48) ~ div:nth-child(-2n+54) .content-box .filtered figcaption .figcaption-title {
  background: #EDF1F9;
  color: #2D7EB4;
}

body:not(.home) .mqc-objects .bs-box:nth-child(-2n+6) .content-box .filtered figcaption .figcaption-details, 
body:not(.home) .mqc-objects .bs-box:nth-child(6) ~ div:nth-child(-2n+11) .content-box .filtered figcaption .figcaption-details, 
body:not(.home) .mqc-objects .bs-box:nth-child(12) ~ div:nth-child(-2n+18) .content-box .filtered figcaption .figcaption-details, 
body:not(.home) .mqc-objects .bs-box:nth-child(18) ~ div:nth-child(-2n+23) .content-box .filtered figcaption .figcaption-details, 
body:not(.home) .mqc-objects .bs-box:nth-child(24) ~ div:nth-child(-2n+30) .content-box .filtered figcaption .figcaption-details, 
body:not(.home) .mqc-objects .bs-box:nth-child(30) ~ div:nth-child(-2n+35) .content-box .filtered figcaption .figcaption-details, 
body:not(.home) .mqc-objects .bs-box:nth-child(36) ~ div:nth-child(-2n+42) .content-box .filtered figcaption .figcaption-details, 
body:not(.home) .mqc-objects .bs-box:nth-child(42) ~ div:nth-child(-2n+47) .content-box .filtered figcaption .figcaption-details, 
body:not(.home) .mqc-objects .bs-box:nth-child(48) ~ div:nth-child(-2n+54) .content-box .filtered figcaption .figcaption-details {
  background: #2F4E91;
}

.mqc-objects .bs-box.double:nth-child(1) .content-box .filtered figcaption .figcaption-title,
.mqc-objects .bs-box.double:nth-child(5) .content-box .filtered figcaption .figcaption-title,
.mqc-objects .bs-box.double:nth-child(7) .content-box .filtered figcaption .figcaption-title,
.mqc-objects .bs-box.double:nth-child(11) .content-box .filtered figcaption .figcaption-title {
  background: #EAEDF4 !important;
  color: #2F4E91 !important;
}

.mqc-objects .bs-box.double:nth-child(3) .content-box .filtered figcaption .figcaption-title,
.mqc-objects .bs-box.double:nth-child(9) .content-box .filtered figcaption .figcaption-title {
  background: #EDF1F9 !important;
  color: #2D7EB4 !important;
}

.mqc-objects .bs-box.double:nth-child(1) .content-box .filtered figcaption .figcaption-details,
.mqc-objects .bs-box.double:nth-child(5) .content-box .filtered figcaption .figcaption-details,
.mqc-objects .bs-box.double:nth-child(7) .content-box .filtered figcaption .figcaption-details,
.mqc-objects .bs-box.double:nth-child(11) .content-box .filtered figcaption .figcaption-details {
  background: #2D7EB4 !important;
}

.mqc-objects .bs-box.double:nth-child(3) .content-box .filtered figcaption .figcaption-details,
.mqc-objects .bs-box.double:nth-child(9) .content-box .filtered figcaption .figcaption-details {
  background: #2F4E91 !important;
}

.home #page .mqc-objects .bs-box .content-box .filtered figcaption .figcaption-title,
.mqc-objects .bs-box .content-box .filtered figcaption .figcaption-title {
    background: #EAEDF4;
    padding: 1rem;
    height: 25%;
    display: flex;
    align-items: center;
    width: 100%;
    align-content: center;
}

.home #page .mqc-objects .bs-box:nth-child(even) .content-box .filtered figcaption .figcaption-title {
    background: #EDF1F9;
}

.home #page .mqc-objects .bs-box .content-box .filtered:hover figcaption .figcaption-title,
.mqc-objects .bs-box .content-box .filtered:hover figcaption .figcaption-title {
    text-decoration: underline;
}

.mqc-objects .bs-box .content-box .filtered figcaption .figcaption-title span {
    display: block;
    width: 100%;
}

.home #page .mqc-objects .bs-box .content-box .filtered figcaption .figcaption-details,
.mqc-objects .bs-box .content-box .filtered figcaption .figcaption-details {
    background: #2D7EB4;
    color: #fff;
    padding: 1rem;
    height: 25%;
    display: flex;
    align-items: center;
    width: 100%;
    align-content: center;
    opacity: 0;
    transition-property: opacity;
    transition-duration: 1s;
}

.home #page .mqc-objects .bs-box:nth-child(even) .content-box .filtered figcaption .figcaption-details {
    background: #2F4E91;
}

.home #page .mqc-objects .bs-box .content-box .filtered:hover figcaption .figcaption-details,
.mqc-objects .bs-box .content-box .filtered:hover figcaption .figcaption-details {
    opacity: 1;
    text-decoration: underline;
}

.mqc-objects .bs-box .content-box .filtered figcaption .figcaption-details span {
    display: block;
    width: 100%;
}

.agenda article {
  padding-bottom: 1rem;
  border-bottom: 1px solid black;
  margin-bottom: 1rem;
}

.agenda article:last-child {
  border-bottom: 0;
}

.agenda h2,
.agenda h3,
.agenda p {
  margin: 0;
  padding: 0;
}

.objectDates {
  margin-left: 0;
  padding-left: 0;
  list-style: none;
}

/***** Object nav *****/


.post-navigation .nav-previous a,
.post-navigation .nav-next a {
    border: 0;
    display: inline-block;
    padding: 0.3rem 0;
    text-decoration: none;
    color: #2F4E91;
}

.post-navigation .nav-previous a:hover,
.post-navigation .nav-next a:hover {
    background-color: inherit;
    color: #2D7EB4;
}

.post-navigation .nav-previous a::before {
    content: "\f060";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    padding-right: 5px; 
}

.post-navigation .nav-next a::after {
    content: "\f061";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    padding-left: 5px; 
}

.post-navigation .nav-previous a span,
.post-navigation .nav-next a span {
    color: inherit;
}

/***** Formulaires *****/

.wpcf7 form label {
  width: 100%;
}

.wpcf7 .form-control {
  color: #212529;
}

.wpcf7 .form-control.wpcf7-checkbox {
  border: 0;
  padding-left: 0;
  font-size: 1.2rem;
}

.wpcf7 form span.requiered {
  color: #2F4E91;
}

.wpcf7 form p.requiered {
  font-size: 1rem;
}

.wpcf7 .wpcf7-radio > span,
.wpcf7 .wpcf7-acceptance > span,
.wpcf7 .wpcf7-checkbox > span {
  display: block;
  margin-left: 0;
}

.wpcf7 .wpcf7-radio > span input,
.wpcf7 .wpcf7-acceptance > span input,
.wpcf7 .wpcf7-checkbox > span input {
  margin-right: 5px;
}

.wpcf7 .wpcf7-not-valid-tip {
  font-size: 1rem;
  color: #2F4E91;
}

.wpcf7 div.wpcf7-response-output {
    margin: 1em 0;
    padding: 1em;
 }

 div.wpcf7-validation-errors, div.wpcf7-acceptance-missing {
    border: 2px solid #2D7EB4;
}

div.wpcf7-mail-sent-ok {
    border: 2px solid #2F4E91;
}

.disabledOption {
  margin-top: -1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

form.sent > hr,
form.sent > .disabledOption {
  display: none;
}

/***** Footer *****/

body:not(.theme-preset-active) footer#colophon {
  color: #fff;
  background-color: #2F4E91;
  position: absolute;
  bottom: 0;
  width: 100%;
  font-size: 1rem;
}

body:not(.theme-preset-active) footer#colophon .site-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

body:not(.theme-preset-active) footer#colophon .site-info p {
    margin: 0;
}

body:not(.theme-preset-active) footer#colophon .site-info p:first-child {
    font-weight: 900;
}

#footer-social-networks {
    display: flex;
    justify-content: flex-end;
    margin: 0;
}

#footer-social-networks li {
    list-style: none;
    margin-right: 2rem;
}

#footer-social-networks li:last-child {
    margin-right: 0;
}

#footer-social-networks li a:hover,
#footer-social-networks li a:focus {
    text-decoration: none;
    color: #2D7EB4;
}

#footer-social-networks li a::before {
    position: relative;
    font-size: 2rem;
}

#footer-social-networks li.email a::before {
  font-family: "Font Awesome 5 Free";
  content: "\f0e0";
}

#footer-social-networks li.facebook a::before {
  font-family: "Font Awesome 5 Brands";
  content: "\f082";
}

#footer-social-networks li.instagram a::before {
  font-family: "Font Awesome 5 Brands";
  content: "\f16d";
}

#footer-social-networks li.youtube a::before {
  font-family: "Font Awesome 5 Brands";
  content: "\f167";
}

#footer-social-networks li a span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

#wp_loginout {
    background-color: #ccc;
}

.wp_loginout {
    margin-bottom: 5px;
    text-align: right;
}

.wp_loginout a {
    color: black !important;
    font-size: 14px;
    line-height: 14px;
}

@media screen and (min-width: 1200px) {

  #main-nav {
    margin-left: 20px;
  }

  .dropdown > a {
    cursor: default;
  }

  .dropdown:hover>.dropdown-menu {
    display: block;
  }

  body:not(.theme-preset-active) #masthead .navbar-nav > li > a {
    padding-left: 1rem;
  }
}

@media screen and (max-width: 1199px) {
  
  .modal-dialog {
    max-width: 930px;
    margin: 90px auto;
  }

  .modal-content {
      min-height: 590px;
  }

  header#masthead {
   
  }

  #content.site-content {
    padding: 2rem 0 2rem 0;
  }

  .navbar-nav {

  }

  .navbar-nav .dropdown-menu {
    margin-left: 0;
  }

  .home aside .communication-events-wrapper {
    padding: 1rem;
  }

  .home aside h1 {
    font-size: 1.3rem;
    margin-bottom: 0;
  }

  .home aside #mqc-events article {
      margin-bottom: 0.8rem;
  }

  .home aside #mqc-events article h2 {
    font-size: 1.2rem;
  }

  .home aside #mqc-events article p {
    margin: 0;
  }

  .home aside #mqc-news {
    margin-bottom: 1rem;
  }

  .mqc-objects .bs-box .content-box .filtered figcaption {
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 991px) {
  
  .modal-dialog {
    max-width: 692px;
    margin: 90px auto;
  }

  .modal-content {
      min-height: 662px;
  }
  
  .navbar-light .navbar-toggler {
      border: 1px solid #2F4E91;
  }

  .home aside {
    margin-top: 10px;
  }

  .home aside .communication-events-wrapper {
    padding: 2rem;
  }

  .home aside #mqc-events article {
    margin-bottom: 1rem;
  }

  .has-post-thumbnail .entry-content,
  .navigation.post-navigation {
    padding-right: 5px;
  }

  .mqc-objects .bs-box.double:nth-child(1) {
    order: 1;
  }

  .mqc-objects .bs-box.double:nth-child(2) {
    order: 2;
  }

  .mqc-objects .bs-box.double:nth-child(3) {
    order: 3;
  }

  .mqc-objects .bs-box.double:nth-child(4) {
    order: 4;
  }

  .mqc-objects .bs-box.double:nth-child(5) {
    order: 6;
  }

  .mqc-objects .bs-box.double:nth-child(6) {
    order: 5;
  }

  .mqc-objects .bs-box.double:nth-child(7) {
    order: 8;
  }

  .mqc-objects .bs-box.double:nth-child(8) {
    order: 7;
  }

  .mqc-objects .bs-box.double:nth-child(9) {
    order: 9;
  }

  .mqc-objects .bs-box.double:nth-child(10) {
    order: 10;
  }

  .mqc-objects .bs-box.double:nth-child(11) {
    order: 11;
  }

  .mqc-objects .bs-box.double:nth-child(12) {
    order: 12;
  }

  .mqc-objects .bs-box .content-box .filtered figcaption {
    font-size: .9rem;
  }

  .mqc-objects .bs-box:nth-child(-2n+6) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(6) ~ div:nth-child(-2n+11) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(12) ~ div:nth-child(-2n+18) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(18) ~ div:nth-child(-2n+23) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(24) ~ div:nth-child(-2n+30) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(30) ~ div:nth-child(-2n+35) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(36) ~ div:nth-child(-2n+42) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(42) ~ div:nth-child(-2n+47) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(46) ~ div:nth-child(-2n+54) .content-box .filtered {
    background: #2F4E91;
  }
  .mqc-objects .bs-box:nth-child(-2n+4) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(4) ~ div:nth-child(-2n+7) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(8) ~ div:nth-child(-2n+12) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(12) ~ div:nth-child(-2n+15) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(16) ~ div:nth-child(-2n+20) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(20) ~ div:nth-child(-2n+23) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(24) ~ div:nth-child(-2n+28) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(28) ~ div:nth-child(-2n+31) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(32) ~ div:nth-child(-2n+36) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(36) ~ div:nth-child(-2n+39) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(40) ~ div:nth-child(-2n+44) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(44) ~ div:nth-child(-2n+47) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(48) ~ div:nth-child(-2n+52) .content-box .filtered {
    background: #2D7EB4;
  }

  .mqc-objects .bs-box.double:nth-child(1) .content-box .filtered,
  .mqc-objects .bs-box.double:nth-child(5) .content-box .filtered,
  .mqc-objects .bs-box.double:nth-child(9) .content-box .filtered {
    background: #2F4E91 !important;
  }

  .mqc-objects .bs-box.double:nth-child(3) .content-box .filtered,
  .mqc-objects .bs-box.double:nth-child(7) .content-box .filtered,
  .mqc-objects .bs-box.double:nth-child(11) .content-box .filtered {
    background: #2D7EB4 !important;
  }







  body:not(.home) .mqc-objects .bs-box:nth-child(-2n+6) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(6) ~ div:nth-child(-2n+11) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(12) ~ div:nth-child(-2n+18) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(18) ~ div:nth-child(-2n+23) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(24) ~ div:nth-child(-2n+30) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(30) ~ div:nth-child(-2n+35) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(36) ~ div:nth-child(-2n+42) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(42) ~ div:nth-child(-2n+47) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(46) ~ div:nth-child(-2n+54) .content-box .filtered figcaption .figcaption-title {
    background: #EAEDF4;
    color: #2F4E91;
  }
  body:not(.home) .mqc-objects .bs-box:nth-child(-2n+4) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(4) ~ div:nth-child(-2n+7) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(8) ~ div:nth-child(-2n+12) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(12) ~ div:nth-child(-2n+15) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(16) ~ div:nth-child(-2n+20) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(20) ~ div:nth-child(-2n+23) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(24) ~ div:nth-child(-2n+28) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(28) ~ div:nth-child(-2n+31) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(32) ~ div:nth-child(-2n+36) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(36) ~ div:nth-child(-2n+39) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(40) ~ div:nth-child(-2n+44) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(44) ~ div:nth-child(-2n+47) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(48) ~ div:nth-child(-2n+52) .content-box .filtered figcaption .figcaption-title {
    background: #EDF1F9;
    color: #2D7EB4;
  }

  body:not(.home) .mqc-objects .bs-box.double:nth-child(1) .content-box .filtered figcaption .figcaption-title,
  body:not(.home) .mqc-objects .bs-box.double:nth-child(5) .content-box .filtered figcaption .figcaption-title,
  body:not(.home) .mqc-objects .bs-box.double:nth-child(9) .content-box .filtered figcaption .figcaption-title {
    background: #EAEDF4 !important;
    color: #2F4E91 !important;
  }

  body:not(.home) .mqc-objects .bs-box.double:nth-child(3) .content-box .filtered figcaption .figcaption-title,
  body:not(.home) .mqc-objects .bs-box.double:nth-child(7) .content-box .filtered figcaption .figcaption-title,
  body:not(.home) .mqc-objects .bs-box.double:nth-child(11) .content-box .filtered figcaption .figcaption-title {
    background: #EDF1F9 !important;
    color: #2D7EB4 !important;
  }




  body:not(.home) .mqc-objects .bs-box:nth-child(-2n+6) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(6) ~ div:nth-child(-2n+11) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(12) ~ div:nth-child(-2n+18) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(18) ~ div:nth-child(-2n+23) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(24) ~ div:nth-child(-2n+30) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(30) ~ div:nth-child(-2n+35) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(36) ~ div:nth-child(-2n+42) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(42) ~ div:nth-child(-2n+47) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(46) ~ div:nth-child(-2n+54) .content-box .filtered figcaption .figcaption-details {
    background: #2D7EB4;
  }
  body:not(.home) .mqc-objects .bs-box:nth-child(-2n+4) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(4) ~ div:nth-child(-2n+7) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(8) ~ div:nth-child(-2n+12) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(12) ~ div:nth-child(-2n+15) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(16) ~ div:nth-child(-2n+20) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(20) ~ div:nth-child(-2n+23) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(24) ~ div:nth-child(-2n+28) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(28) ~ div:nth-child(-2n+31) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(32) ~ div:nth-child(-2n+36) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(36) ~ div:nth-child(-2n+39) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(40) ~ div:nth-child(-2n+44) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(44) ~ div:nth-child(-2n+47) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(48) ~ div:nth-child(-2n+52) .content-box .filtered figcaption .figcaption-details {
    background: #2F4E91;
  }

  body:not(.home) .mqc-objects .bs-box.double:nth-child(1) .content-box .filtered figcaption .figcaption-details,
  body:not(.home) .mqc-objects .bs-box.double:nth-child(5) .content-box .filtered figcaption .figcaption-details,
  body:not(.home) .mqc-objects .bs-box.double:nth-child(9) .content-box .filtered figcaption .figcaption-details {
    background: #2D7EB4 !important;
  }

  body:not(.home) .mqc-objects .bs-box.double:nth-child(3) .content-box .filtered figcaption .figcaption-details,
  body:not(.home) .mqc-objects .bs-box.double:nth-child(7) .content-box .filtered figcaption .figcaption-details,
  body:not(.home) .mqc-objects .bs-box.double:nth-child(11) .content-box .filtered figcaption .figcaption-details {
    background: #2F4E91 !important;
  }
}

@media only screen and (max-width: 960px) {
  .navbar-light .navbar-toggler::before {
    top: 4px;
  }
}


@media only screen and (max-width: 767px) {

  .modal-dialog {
    max-width: 510px;
    margin: 90px auto;
  }

  /*.modal-content {
      min-height: 662px;
  }*/

  .modal-body h1 {
    font-size: 2rem;
    font-weight: bold;
  }

  #content.site-content {
    padding: 1rem 0 1rem 0;
  }

  body:not(.home) .mqc-objects {
    margin-bottom: 1rem;
  }

  .home #main .bs-box:nth-child(1) {
    order: 2;
  }

  .home .mqc-objects .bs-box:nth-child(2) {
    order: 3;
  }

  .home .mqc-objects .bs-box:nth-child(3) {
    order: 6;
  }

  .home .mqc-objects .bs-box:nth-child(4) {
    order: 7;
  }

  .home .mqc-objects .bs-box:nth-child(5) {
    order: 1;
  }

  .home .mqc-objects .bs-box:nth-child(6) {
    order: 4;
  }

  .home .mqc-objects .bs-box:nth-child(7) {
    order: 5;
  }

  .home .mqc-objects .bs-box:nth-child(8) {
    order: 8;
  }

  .mqc-objects .bs-box.double:nth-child(1) {
    order: 1;
  }

  .mqc-objects .bs-box.double:nth-child(2) {
    order: 2;
  }

  .mqc-objects .bs-box.double:nth-child(3) {
    order: 4;
  }

  .mqc-objects .bs-box.double:nth-child(4) {
    order: 3;
  }

  .mqc-objects .bs-box.double:nth-child(5) {
    order: 5;
  }

  .mqc-objects .bs-box.double:nth-child(6) {
    order: 6;
  }

  .mqc-objects .bs-box.double:nth-child(7) {
    order: 8;
  }

  .mqc-objects .bs-box.double:nth-child(8) {
    order: 7;
  }

  .mqc-objects .bs-box.double:nth-child(9) {
    order: 9;
  }

  .mqc-objects .bs-box.double:nth-child(10) {
    order: 10;
  }

  .mqc-objects .bs-box.double:nth-child(11) {
    order: 12;
  }

  .mqc-objects .bs-box.double:nth-child(12) {
    order: 11;
  }

  .mqc-objects .bs-box .content-box .filtered figcaption {
    font-size: 1.6rem;
  }

  body:not(.home) .mqc-objects .bs-box .content-box .filtered figcaption {
    font-size: 1rem;
  }

  .mqc-objects .bs-box:nth-child(-2n+6) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(6) ~ div:nth-child(-2n+11) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(12) ~ div:nth-child(-2n+18) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(18) ~ div:nth-child(-2n+23) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(24) ~ div:nth-child(-2n+30) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(30) ~ div:nth-child(-2n+35) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(36) ~ div:nth-child(-2n+42) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(42) ~ div:nth-child(-2n+47) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(46) ~ div:nth-child(-2n+54) .content-box .filtered {
    background: #2F4E91;
  }
  .mqc-objects .bs-box:nth-child(-2n+4) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(4) ~ div:nth-child(-2n+7) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(8) ~ div:nth-child(-2n+12) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(12) ~ div:nth-child(-2n+15) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(16) ~ div:nth-child(-2n+20) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(20) ~ div:nth-child(-2n+23) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(24) ~ div:nth-child(-2n+28) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(28) ~ div:nth-child(-2n+31) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(32) ~ div:nth-child(-2n+36) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(36) ~ div:nth-child(-2n+39) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(40) ~ div:nth-child(-2n+44) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(44) ~ div:nth-child(-2n+47) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(48) ~ div:nth-child(-2n+52) .content-box .filtered {
    background: #2F4E91;
  }
  .mqc-objects .bs-box:nth-child(-2n+2) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(2) ~ div:nth-child(-2n+3) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(4) ~ div:nth-child(-2n+6) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(6) ~ div:nth-child(-2n+7) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(8) ~ div:nth-child(-2n+10) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(10) ~ div:nth-child(-2n+11) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(12) ~ div:nth-child(-2n+14) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(14) ~ div:nth-child(-2n+15) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(16) ~ div:nth-child(-2n+18) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(18) ~ div:nth-child(-2n+19) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(20) ~ div:nth-child(-2n+22) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(22) ~ div:nth-child(-2n+23) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(24) ~ div:nth-child(-2n+26) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(26) ~ div:nth-child(-2n+27) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(28) ~ div:nth-child(-2n+30) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(30) ~ div:nth-child(-2n+31) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(32) ~ div:nth-child(-2n+34) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(34) ~ div:nth-child(-2n+35) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(36) ~ div:nth-child(-2n+38) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(38) ~ div:nth-child(-2n+39) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(40) ~ div:nth-child(-2n+42) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(42) ~ div:nth-child(-2n+43) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(44) ~ div:nth-child(-2n+46) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(46) ~ div:nth-child(-2n+47) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(48) ~ div:nth-child(-2n+50) .content-box .filtered, 
  .mqc-objects .bs-box:nth-child(50) ~ div:nth-child(-2n+51) .content-box .filtered {
    background: #2D7EB4;
  }

  body:not(.home) .mqc-objects .bs-box:nth-child(-2n+6) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(6) ~ div:nth-child(-2n+11) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(12) ~ div:nth-child(-2n+18) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(18) ~ div:nth-child(-2n+23) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(24) ~ div:nth-child(-2n+30) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(30) ~ div:nth-child(-2n+35) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(36) ~ div:nth-child(-2n+42) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(42) ~ div:nth-child(-2n+47) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(46) ~ div:nth-child(-2n+54) .content-box .filtered figcaption .figcaption-title {
    background: #EAEDF4 !important;
    color: #2F4E91 !important;
  }

  body:not(.home) .mqc-objects .bs-box:nth-child(-2n+4) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(4) ~ div:nth-child(-2n+7) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(8) ~ div:nth-child(-2n+12) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(12) ~ div:nth-child(-2n+15) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(16) ~ div:nth-child(-2n+20) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(20) ~ div:nth-child(-2n+23) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(24) ~ div:nth-child(-2n+28) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(28) ~ div:nth-child(-2n+31) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(32) ~ div:nth-child(-2n+36) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(36) ~ div:nth-child(-2n+39) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(40) ~ div:nth-child(-2n+44) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(44) ~ div:nth-child(-2n+47) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(48) ~ div:nth-child(-2n+52) .content-box .filtered figcaption .figcaption-title {
    background: #EAEDF4 !important;
    color: #2F4E91 !important;
  }
  body:not(.home) .mqc-objects .bs-box:nth-child(-2n+2) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(2) ~ div:nth-child(-2n+3) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(4) ~ div:nth-child(-2n+6) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(6) ~ div:nth-child(-2n+7) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(8) ~ div:nth-child(-2n+10) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(10) ~ div:nth-child(-2n+11) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(12) ~ div:nth-child(-2n+14) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(14) ~ div:nth-child(-2n+15) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(16) ~ div:nth-child(-2n+18) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(18) ~ div:nth-child(-2n+19) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(20) ~ div:nth-child(-2n+22) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(22) ~ div:nth-child(-2n+23) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(24) ~ div:nth-child(-2n+26) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(26) ~ div:nth-child(-2n+27) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(28) ~ div:nth-child(-2n+30) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(30) ~ div:nth-child(-2n+31) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(32) ~ div:nth-child(-2n+34) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(34) ~ div:nth-child(-2n+35) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(36) ~ div:nth-child(-2n+38) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(38) ~ div:nth-child(-2n+39) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(40) ~ div:nth-child(-2n+42) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(42) ~ div:nth-child(-2n+43) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(44) ~ div:nth-child(-2n+46) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(46) ~ div:nth-child(-2n+47) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(48) ~ div:nth-child(-2n+50) .content-box .filtered figcaption .figcaption-title, 
  body:not(.home) .mqc-objects .bs-box:nth-child(50) ~ div:nth-child(-2n+51) .content-box .filtered figcaption .figcaption-title {
    background: #EDF1F9 !important;
    color: #2D7EB4 !important;
  }

  body:not(.home) .mqc-objects .bs-box:nth-child(-2n+6) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(6) ~ div:nth-child(-2n+11) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(12) ~ div:nth-child(-2n+18) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(18) ~ div:nth-child(-2n+23) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(24) ~ div:nth-child(-2n+30) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(30) ~ div:nth-child(-2n+35) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(36) ~ div:nth-child(-2n+42) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(42) ~ div:nth-child(-2n+47) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(46) ~ div:nth-child(-2n+54) .content-box .filtered figcaption .figcaption-details {
    background: #2D7EB4 !important;
  }
details
  body:not(.home) .mqc-objects .bs-box:nth-child(-2n+4) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(4) ~ div:nth-child(-2n+7) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(8) ~ div:nth-child(-2n+12) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(12) ~ div:nth-child(-2n+15) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(16) ~ div:nth-child(-2n+20) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(20) ~ div:nth-child(-2n+23) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(24) ~ div:nth-child(-2n+28) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(28) ~ div:nth-child(-2n+31) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(32) ~ div:nth-child(-2n+36) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(36) ~ div:nth-child(-2n+39) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(40) ~ div:nth-child(-2n+44) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(44) ~ div:nth-child(-2n+47) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(48) ~ div:nth-child(-2n+52) .content-box .filtered figcaption .figcaption-details {
    background: #2D7EB4 !important;
  }

  body:not(.home) .mqc-objects .bs-box:nth-child(-2n+2) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(2) ~ div:nth-child(-2n+3) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(4) ~ div:nth-child(-2n+6) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(6) ~ div:nth-child(-2n+7) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(8) ~ div:nth-child(-2n+10) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(10) ~ div:nth-child(-2n+11) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(12) ~ div:nth-child(-2n+14) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(14) ~ div:nth-child(-2n+15) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(16) ~ div:nth-child(-2n+18) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(18) ~ div:nth-child(-2n+19) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(20) ~ div:nth-child(-2n+22) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(22) ~ div:nth-child(-2n+23) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(24) ~ div:nth-child(-2n+26) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(26) ~ div:nth-child(-2n+27) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(28) ~ div:nth-child(-2n+30) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(30) ~ div:nth-child(-2n+31) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(32) ~ div:nth-child(-2n+34) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(34) ~ div:nth-child(-2n+35) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(36) ~ div:nth-child(-2n+38) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(38) ~ div:nth-child(-2n+39) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(40) ~ div:nth-child(-2n+42) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(42) ~ div:nth-child(-2n+43) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(44) ~ div:nth-child(-2n+46) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(46) ~ div:nth-child(-2n+47) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(48) ~ div:nth-child(-2n+50) .content-box .filtered figcaption .figcaption-details, 
  body:not(.home) .mqc-objects .bs-box:nth-child(50) ~ div:nth-child(-2n+51) .content-box .filtered figcaption .figcaption-details {
    background: #2F4E91 !important;
  }
    
  #footer-social-networks {
    padding-top: 1rem;
  }
}

@media only screen and (max-width: 575px) {

  .modal-dialog {
    max-width: 100%;
    margin: 90px 1rem;
  }

  /*.modal-content {
      min-height: 662px;
  }*/

  body {
    padding-bottom: 200px;
  }
  .mqc-objects .bs-box .content-box .filtered figcaption {
    font-size: 1.5rem;
  }
    
  .dropdown-menu .dropdown-item {
    white-space: wrap;
  }
    
  body:not(.theme-preset-active) footer#colophon .site-info {
    flex-wrap: nowrap;
    flex-direction: column-reverse;
  }

  #address {
    text-align: center;
  }

  .post-navigation .nav-previous a span,
  .post-navigation .nav-next a span {
    text-transform: capitalize;
  }

  .post-navigation .nav-previous a span.hidden,
  .post-navigation .nav-next a span.hidden {
    display: none;
  }
    
  #footer-social-networks {
    justify-content: center;
    margin-bottom: 1rem;
    padding: 0;
  }
}

@media only screen and (max-width: 460px) {
  .mqc-objects .bs-box .content-box .filtered figcaption {
    font-size: 1.3rem;
  }
}

@media only screen and (max-width: 400px) {
  .mqc-objects .bs-box .content-box .filtered figcaption {
    font-size: 1.1rem;
  }
}

@media only screen and (max-width: 384px) {
  header#masthead {
  padding-bottom: 0;
  }

  .navbar-light .navbar-toggler {
    margin-top: 1.2rem;
  }
}

@media only screen and (max-width: 360px) {
  .mqc-objects .bs-box .content-box .filtered figcaption {
    font-size: 1rem;
  }
}

@media only screen and (max-width: 1280px) {
  html {
    font-size: 100% !important;
  }
}

@media only print {
  * {
    font-family: arial;
  }

  iframe,
  .reservations,
  form,
  .entry-thumbnail,
  .post-navigation,
  #footer-social-networks,
  #wp_loginout,
  .navbar button {
    display: none;
  }

  .navbar {
      display: block;
    }

  .mqc-objects .bs-box .content-box .filtered figcaption {
    opacity: 1;
  }

  .mqc-objects .bs-box .content-box .filtered,
  .mqc-objects .bs-box.double:nth-child(odd) .content-box .filtered,
  .mqc-objects .bs-box.double:nth-child(even) .content-box .filtered {
      background: none!important;
  }

  .mqc-objects .bs-box .content-box .filtered figcaption {
      background: #2D7EB4!important;
      color: black!important;
  }

  .mqc-objects .bs-box:nth-child(even) .content-box .filtered figcaption {
      background: #2F4E91!important;
      color: black!important;
  }



  aside#secondary *,
  footer#colophon {
    color: black!important;
  }

  footer#colophon > .container {
    border-top: 3px solid #2F4E91;
    margin-top: 10px;
    padding-top: 10px;
  }
} 