/*
Theme Name: GSM Al Maghrib Portal
Theme URI: https://intranet.gsmalmaghrib.ma
Author: GSM Al Maghrib
Description: Portail iframe plein écran vers les pages ASPX.
Version: 2.0.0
License: GPL-2.0-or-later
Text Domain: gsm-portal
*/

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #f8fafc;
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

#app-content {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.gsm-aspx-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
  margin: 0;
  padding: 0;
  background: #ffffff;
}

body.admin-bar #app-content {
  top: 32px;
  height: calc(100% - 32px);
}

@media screen and (max-width: 782px) {
  body.admin-bar #app-content {
    top: 46px;
    height: calc(100% - 46px);
  }
}