

@media screen and (min-width: 740px) {
  body.app textarea, body.app input, a.link-button {
    font-size: 12px;
    font-family:verdana,arial, sans-serif;
  }
  .mobile {
    display: none !important;
  }
  .desktop {
    display: "" !important;
  }
}
@media screen and (max-width: 1023px) {
  html, body {
    overflow-x:hidden;
  }
  #mobile_protected_area {
    display: none;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: 90000;
  }
  #mobile_protected_header {
    width: 100%;
    height: 60px;
  }
  #mobile_protected_content {
    width: 100%;
    height: 100%;
  }
  #menu, header {
    display:none !important;
  }
  #mobile_header {
    display:block;
    float: left;
    border-bottom: 1px solid #2da7fb;
    width: 100%;
    min-width: 325px;
    height: 60px;
    box-shadow: 0px 5px 20px #bbedff;
    z-index: 10000;
  }
  #mobile_logo {
    float: left;
  }
  #container #company_logo {
    margin-top: 0px !important;
  }
  #mobile_menu_button button {
    z-index: 90001;
  }
  #mobile_logo, #mobile_menu_button {
    padding: 10px 15px 10px 15px;
    height: 60px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  #mobile_logo img, #mobile_menu_button button {
    height: 100% !important;
  }
  #mobile_menu_button {
    display: block;
    position: absolute;
    top: 0px;
    right: 0px;
    background-color: transparent;
    z-index: 90001;
  }
  #mobile_menu_button img {
    position: relative;
    width: 30px;
    height: 30px;
  }
  #mobile_menu {
    display: block;
    float: right;
    width: auto;
    height: 100%;
    background-color: #2da7fb !important;
    border: 1px solid #2da7fb;
    border-top: 0px;
    padding: 10px;
    -webkit-transition: width 2s, -webkit-transform 2s;
    transition: width 2s, transform 2s;
  }
  #mobile_menu ul {
    list-style: outside none none;
  }
  #mobile_menu a {
    color: #FFFFFF !important;
    text-decoration: none !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
  }
  #mobile_menu li {
    line-height: 200%;
    border-bottom: dotted 1px #FFFFFF;
  }
  #mobile_menu li:last-child {
    border-bottom: none;
  }
  #mobile_menu li li {
    max-height: 0;
    transition: all 1s;
  }
  #mobile_menu li.current li, #mobile_menu li.active li, #mobile_menu li:hover li {
    max-height: 50em;
  }
  #mobile_menu img {
    padding: 0px 5px 5px 0px;
  }

  div#container {
    width: 100% !important;
  }
  div#subcontainer {
    min-height: 707px;
    width: 100% !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
  }
  div#subcontainer, div#content {
    border-radius: 0 0 0 0;
  }
  div#app, div#container, div#content {
    width: 100%;
    box-sizing: border-box;
  }
  img {
    max-width: 100%;
    height: auto;
  }
  div#content {
    width: 100%;
    min-width: 100%;
    padding: 25px 15px 0px 15px;
    float: left;
    -webkit-transition: width 2s, -webkit-transform 2s;
    transition: width 2s, transform 2s;
    background: transparent;
  }
  div#subcontainer, mobile_header, body {
    background: white;
  }
  body div#content div#app form div.field {
    margin-bottom:12px !important;
  }
  body.admin #content {
    border:none;
  }
  body.admin {
    margin: 0 0 0 0;
  }
  .field textarea.text, .field textarea.mceEditor {
    width: 95%;
  }

  .search_header {
    height: auto;
  }
}
@media screen and (max-width: 739px) {
  body, p, div, span, textarea, input[type="text"], img, ul, table, ul li a, form label, body app content input {
    font-size: 14px !important;
  }
  .mobile {
    display: "" !important;
  }
  .desktop {
    display: none !important;
  }
  h1 {
    display: none;
  }
  div.page-body iframe {
    max-width: 100%;
  }
  div.action .aspect_ratio_iframe iframe {
    max-width: 100%;
    max-height: 100%;
    position: absolute;
    left: 0px;
    top: 0px;
  }
  div.action .aspect_ratio_iframe {
     position: relative;
     width: 100%;
     height: 0px;
     padding-bottom: 56%;
  }
  a.link-button, .actions button, .actions input[type=submit], button.submit, .actions input[name='commit'], .pagination a {
    font-size: 14px !important;
    height: 28px !important;
  }
  body div#content div.actions a.button-to button,
  div.actions button,
  div.actions input[type=submit],
  div.actions button a {
    # font-size: 16px !important;
    font-weight: bold !important;
  }
  .pagination a {
    border-radius: 6px;
    height: 24px;
    padding: 3px 7px 5px 7px !important;
    box-sizing: border-box;
    background-color: #bbedff;;
    color: black !important;
    margin-right: 5px;
    text-decoration: none;
    font-weight: normal;
  }
}
@media screen and (min-width: 1024px) {
  body:not(#tinymce) {
    background-color: #fff;
  }
}
@media screen and (max-width: 1023px) {
  body .pagination a:not(.next_page):not(.previous_page), .pagination span.gap {
    display: none;
  }
}
/* a hack, because tinymce uses iframes */
@media screen and (min-device-width: 740px) {
  #tinymce p {
    font-size: 12px !important;
  }
}
