﻿/* Styles for media devices */
@media only screen and (max-width:1150px) {
  .card {
    width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
  }
  .cardlrg {
    height: auto;
  }
  button.pointeButton {
    font-size: 105%;
    font-weight: bolder;
  }
}
@media only screen and (max-width:850px) and (orientation: portrait) {
  body {
    margin: 5px;
    width: 100%;
  }
  #Wealdlake h1 {
    font-size: 250%;
  }
  .access_aid {
    display: block;
  }
  #topHome a {
    font-size: 200%;
    padding: -10px;
    margin: 30px;
  }
  #masthead_hom {
    width: 100%;
  }
  #column_l {
    width: 100%;
    float: none;
  }
  #cor_column_l {
    width: 100%;
    background-size: 100%;
  }
  #cor_text {
    width: 100%;
    margin-left: 7%;
    margin-top: 10%;
    background-color: white;
  }
  .content {
    border: thin;
    border-bottom-color: gold;
    border-bottom-style: groove;
    width: 100%;
    position: relative;
    box-sizing: border-box;
    margin: 5% 0 5% 5%;
  }
  .galleryCanton {
    height: 100px;
  }
  .panel {
    width: 100%;
    flex-direction: column;
  }
  .classroom {
    font-size: small;
  }
  #column_r {
    width: 100%;
    float: none;
  }
  #column_r ul li a {
    font-size: medium;
  }
  footer {
    font-size: medium;
  }
  footer p {
    font-size: medium;
  }
  footer a {
    font-size: medium;
  }
  footer h5 {
    font-size: medium;
  }
  h2, h3, h4, h5, h6 {
    font-size: medium;
  }
  .calendar {
    font-size: large;
    margin-right: 20px;
  }
  .wood {
    width: 35%;
    float: left;
    position: relative;
  }
  .wooda {
    width: 40%;
    float: left;
    position: relative;
  }
  h1 {
    color: rgb(0, 51, 0);
    font-weight: 700;
    font-size: large;
  }
  .teaser .content {
    top: 60%;
    font-size: large;
  }
  ul#menu li {
    white-space: wrap;
    font-size: small;
    word-wrap: normal;
  }
  ul#menu ul.topmenu {
    left: 15px;
    border-radius: 2.5px;
    border-color: white;
    font-size: medium;
    word-wrap: normal;
  }
  ul#menu {
    font-size: medium;
  }
  ul#menu ul a {
    font-size: medium;
  }
  ul#menu a {
    font-size: medium;
  }
  ul#menu li.topfirst > a {
    border-radius: 2.5px 0 0 2.5px;
    -moz-border-radius: 2.5px 0 0 5px;
    -webkit-border-radius: 2.5px;
    -webkit-border-top-right-radius: 0;
    -webkit-border-bottom-right-radius: 0;
  }
  ul#menu li.toplast > a {
    border-radius: 0 2.5px 2.5px 0;
    -moz-border-radius: 0 2.5px 2.5px 0;
    -webkit-border-radius: 0;
    -webkit-border-top-right-radius: 2.5px;
    -webkit-border-bottom-right-radius: 2.5px;
  }
  ul#menu ul.topmenu {
    left: 105px;
    border-radius: 2.5px;
  }
  ul#menu, ul#menu ul {
    margin: auto;
    list-style: none;
    padding: 1px;
    border-width: 1px;
    border-style: solid;
    border-color: transparent;
    -moz-border-radius: 2.5px;
    -webkit-border-radius: 2.5px;
    border-radius: 2.5px;
    z-index: auto;
  }
  ul#menu ul {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    -moz-box-shadow: 1.5px 1.5px 2.5px #000000;
    -webkit-box-shadow: 1.5px 1.5px 2.5px #000000;
    box-shadow: 1.5px 1.5px 2.5px #000000;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-color: #d4d4d4;
  }
  ul#menu1 a {
    display: block;
    vertical-align: right;
    text-align: left;
  }
  #sticky {
    position: fixed;
    width: 100%;
    top: 0;
  }
  button.faire {
    color: white;
    background-color: blue;
    cursor: pointer;
    padding: 2%;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
    font-family: 'Arial';
    font-size: 105%;
    font-weight: bolder;
  }
  button.pointeButton {
    font-size: 100%;
    font-weight: bolder;
  }
  button.threadsButton {
    font-size: 100%;
    font-weight: bolder;
  }
  button.horsesButton {
    background-image: url('../_images/equestrian/horsesButton.png');
    font-size: 100%;
    font-weight: bolder;
  }
  .card {
    width: 100%;
    height: auto;
  }
}
/* end media