html,
body {
  height: 100%;
}

body {
  font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
}



.container {
  position: relative;
}

header {
  /* position: fixed; */
  background-color: #52757a;
  color: #f19100;
  width: 100%;
  height: 3em;
  z-index: 3;
  border-bottom: 2px solid #f19100;
}

.header-content {
  max-width: 760px;
  margin: auto;
  z-index: 2;
}

a {
  color: #f19100;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

a:hover {
  color: #f19100;
}

/*
b {
  font-weight: 600;
} */

strong {
  font-weight: 600;
}

h1 {
  font-size: 3em;
  color: #52757a;
  font-weight: 900;
  text-align: center;
}

h2 {
  font-size: 1.3em;
  color: #52757a;
  text-transform: uppercase;
  font-weight: 600;
  padding-bottom: 0.5em;
}

h3 {
  font-size: 1.2em;
  color: #52757a;
  text-transform: uppercase;
  font-weight: 200;
  padding-bottom: 0.5em;
}

p {
  padding: 1em 0 0.5em 0;
  font-weight: 300;
  line-height: 1.3em;
}

.pwrapper {
  padding-bottom: 1em;
  font-weight: 300;
  line-height: 1.3em;
}

.pwrapper p {
  font-weight: 300;
  padding: 0;
  font-size: 16px;
  margin: 0;
}

#logo {
  display: inline-block;
}

#logo img {
  padding: 5px;
  height: 38px;
}

nav {
  display: inline-block;
  text-transform: uppercase;
  font-size: 13px;
  /* float: right; */
}

nav ul li {
  display: inline-block;
  padding: 1em;
}

footer {
  position: relative;
  background-color: #d9d9d9;
  color: #52757a;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
}

footer .footerLink {
  display: inline-block;
  margin: 1em 0.5em;
  cursor: pointer;
}

footer .footerLink:hover {
  color: #f19100;
}

select {
  border-radius: 10px;
  border-color: #f19100;
  background-color: #52757a;
  border: none;
  font-family: 'Roboto', sans-serif;
  color: #f19100;
  margin: 1em;
  padding: 0.3em 1.3em;
  font-size: 13px;
  -moz-appearance: none;
  -webkit-appearance: none;
  background-image: url('/static/img/expand.svg');
  background-position: right;
  background-size: 10px;
  background-repeat: no-repeat;
}

*:focus {
  outline: none;
}

#lang {
  display: inline-block;
  float: right;
}

.slide {
  position: relative;
  /*z-index: -1;*/
}

.slide .content h2 {
  margin: 0;
  padding: 0;
  border: 0;
  line-height: 1.3em;
}

.bold {
  font-weight: 500;
}

.angle {
  background-color: #d9d9d9;
  content: '';
  display: block;
  height: 8em;
  position: absolute;
  left: 0;
  right: 0;
  z-index: -1;
  -webkit-backface-visibility: hidden;
}

.angle.angle-left {
  transform: skewY(-1.5deg);
  transform-origin: 0 100%;
}

.angle.angle-right {
  transform: skewY(1.5deg);
  transform-origin: 100% 0;
}

.angle.top {
  top: -4em;
}

.angle.bottom {
  bottom: -6em;
}

.big-text .line2 {
  margin-left: -0.3em;
  margin-top: -0.55em;
}

.big-text .line3 {
  margin-left: 0.8em;
  margin-top: -0.55em;
}

#slide2,
#slide4 {
  background-color: #d9d9d9;
  z-index: 1;
  padding-top: 0;
}

.dash {
  margin: 2em 0;
  width: 10em;
  border-bottom: 3px solid #f19100;
}

.disabled {
  color: #666;
}

.spacer {
  clear: both;
  height: 3em;
}

nav .button {
  background-color: #e3e3e3;
  margin: 1em;
  padding: 0.3em 1.5em;
  border: 1px solid #52757a;
  cursor: pointer;
  color: #52757a;
  border-radius: 10px;
}

b {
  font-size: 1.3em;
  color: #52757a;
  text-transform: uppercase;
  font-weight: 600;
}

.popup {
  display: none;
  position: relative;
  color: #f19100;
  padding: 1em;
  background-color: white;
  height: 1em;
  margin: 0 1em;
  right: 0;
  max-width: 300px;
  text-align: center;
  z-index: 1000;
  left: 50%;
  margin-left: 50px;
  transition: opacity 0.3s;
  border: 1px solid #52757a;
}

.show {
  opacity: 1;
}

.hide {
  opacity: 0;
  transition: opacity 1500ms;
}

.centered-content {
  margin: 0 25%;
}

.ico-link {
  /*margin: 0 20%;*/
  font-size: 3em;
  padding: 1em 0;
  font-weight: 800;
  color: #f19100;
  text-align: center;
}

.ico-box {
  border: 6px solid #527580;
  padding: 2%;
  margin-right: 20%;
}

.ico-p p {
  text-align: center;
  padding-top: 1em;
}

.invisible {
  display: none;
}

/* this mimics jQuery slideToggle() method*/
/* always present */
.showSlide-transition {
  height: 100%;
  transition: all .3s ease;
  -webkit-transition: all .3s ease;
  /* For Safari 3.1 to 6.0 */
  overflow: hidden;
}

/* .showSlide-enter defines the starting state for entering */
/* .showSlide-leave defines the ending state for leaving */
.showSlide-enter,
.showSlide-leave {
  height: 0;
  opacity: 0;
  scroll-behavior: smooth;
}

#news {
  background-color: #e3e3e3;
  border: 1px solid #52757a;
  height: 100%;
  font-weight: 100%;
  padding: 0.3em;
}

.mdl-card__supporting-text p {
  /* remove attributes so that enriched text is wysiwyg */
  padding: 0;
  margin-bottom: 0;
}



.double-card-page-container {
  /*position: absolute;
  left: 0;
  right: 0;*/
  margin: auto;
  margin-top: 6em;
}

.card-page-container {
  margin: auto;
  width: 80%;
}

.loading {
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: white;
  opacity: 0.7;
  z-index: 10;
}

.loading .message {
  position: absolute;
  margin: auto;
  text-align: center;
  top: 100px;
  left: 0;
  right: 0;
}

.error {
  position: absolute;
  height: 100%;
  width: 100%;
  z-index: 10;
}

.error .mdl-dialog {
  position: absolute;
  z-index: 100;
  margin: auto;
  left: 0;
  right: 0;
  top: 30%;
  padding: 10px;
  background-color: white;
}

#error-dialog {
  width: 50%;
}

.loading .message .label {
  padding: 10px;
}

/*.card-page-container {
  width: 50%;
}
.double-card-page-container {
  width: 70%;
}*/

.float-left {
  float: left;
}

.float-right {
  float: right;
}

.clearfix {
  clear: both;
}

.display-none {
  display: none;
}

.validation-error {
  font-size: 12px;
  color: #ea1e3a;
  visibility: visible;
}

/*.mdl-card {*/
/*z-index: unset;*/
/*}*/

.fill {
  width: auto;
  display: block;
}

.inner-grid {
  padding-left: 0;
  padding-right: 0;
}

.inline {
  padding: 0;
}

.rel {
  position: relative;
}

.bottom {
  position: absolute;
  bottom: 0;
}

.attachment-label,
.delivery-label {
  line-height: 40px;
}

.attachment-label,
.delivery-label,
.form-label {
  color: rgba(0, 0, 0, .26);
  /*font-size: 16px !important;*/
}

.margin-bottom {
  margin-bottom: 10px !important;
}

.material-icons.md-18 {
  font-size: 18px;
}

.material-icons.md-24 {
  font-size: 24px;
}

.material-icons.md-36 {
  font-size: 36px;
}

.material-icons.md-48 {
  font-size: 48px;
}


#captcha-root {
  width: 300px;
  margin: auto;
}

.edit-textfield {
  padding: 0px !important;
}

.link {
  font-size: 16px;
  color: #f19100;
  margin: 10px;
}

.link:hover {
  text-decoration: underline;
  cursor: pointer;
}

.badge {
  height: 40px;
  width: 120px;
  display: inline-block;
  margin: 0 5px;
  background-size: contain;
  background-repeat: no-repeat;
}

.appstore-badge {
  background-image: url('../img/app-badge.png');
}

.playstore-badge {
  background-image: url('../img/play-badge.png');
}

.modal {
  position: fixed;
  background-color: white;
  z-index: 1000;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
}

.modal .mdl-dialog {
  width: 90vw;
  height: 100%;
  overflow-y: auto;
}

@media (min-width: 840px) {
  .modal .mdl-dialog {
    width: 40vw;
    height: auto;
  }
}

/*.mdl-layout .mdl-layout__drawer-button {*/
/*display: none;*/
/*}*/

.mdl-layout__header .mdl-layout__drawer-button {
  position: absolute;
  color: rgb(255, 255, 255);
  background-color: inherit;
}

@media screen and (max-width: 480px) {
  .mdl-layout__header .mdl-layout__drawer-button {
    margin: 4px;
  }

  .mdl-layout__drawer-button {
    margin: 4px;
    color: rgba(0, 0, 0, 0.5);
  }

  .profile-label {
    padding-bottom: 5px;
    color: #52757a;
  }

  .profile-text {
    padding-bottom: 5px;
  }
}

@media screen and (min-width: 481px) {
  .mdl-layout__drawer-button {
    line-height: 54px;
  }

  .mdl-layout--no-desktop-drawer-button .mdl-layout__drawer-button,
  .mdl-layout--fixed-drawer>.mdl-layout__drawer-button,
  .mdl-layout--no-drawer-button .mdl-layout__drawer-button {
    display: none;
  }

  .profile-label {
    padding-bottom: 20px;
    color: #52757a;
  }

  .profile-text {
    padding-bottom: 20px;
  }
}

/* rtl */

.rtl .mdl-textfield__label {
  text-align: right;
}

.rtl input {
  text-align: right;
}

.rtl .logo {
  background-position: center right;
}

.rtl .mdl-checkbox.is-upgraded {
  padding-left: 0;
  padding-right: 24px
}

.rtl .mdl-checkbox__focus-helper,
.rtl .mdl-checkbox__box-outline {
  right: 0;
  left: auto;
}

.rtl .getmdl-select .mdl-icon-toggle__label {
  float: left;
}
.rtl .ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{
  right: auto;
}
.rtl .ql-editor{
  text-align: right;
}
.rtl .mdl-right{
  flex-wrap: row-reverse;
  text-align: right;
}
.rtl .mdl-card__menu.profile-edit{
  left:16px !important;
  right: auto !important;
  -moz-transform: scale(-1, 1);
  -webkit-transform: scale(-1, 1);
  -o-transform: scale(-1, 1);
  -ms-transform: scale(-1, 1);
  transform: scale(-1, 1);
}
