/**
 * This is our main variables file. It in turn imports the `variables` file from
 * Twitter Bootstrap. We must include it last so we can overwrite any variable
 * definitions in our imported stylesheets.
 */

/* ----------------------------------
            Font definitions
   ---------------------------------- */

html,
body {
  height: 100%;
  width: 100%;
}
body {
  overflow: hidden;
  background-color: var(--ace-silver-45, #f6f6f6);
  font-size: 16px;
  margin: 0;
  font-family: Helvetica, Arial, sans-serif;
}

button::-moz-focus-inner {
  border: 0;
}
@font-face {
  font-family: 'pebble';
  font-weight: bold;
  src: url('fonts/Pebble-CAPS-subset.otf') format('opentype');
}

#line {
  width: 100%;
  position: absolute;
  z-index: -1;
  left: 0px;
  bottom: -70px;
}
.cg-focus-outline {
  outline: 0;
  box-shadow: 0 0 5px rgba(66, 139, 202, 1) !important;
}

* {
  -webkit-transition: box-shadow 0.3s ease-in-out;
  -moz-transition: box-shadow 0.3s ease-in-out;
  -ms-transition: box-shadow 0.3s ease-in-out;
  -o-transition: box-shadow 0.3s ease-in-out;
  transition: box-shadow 0.3s ease-in-out;
  font-family: Helvetica, Arial, sans-serif;
}
:focus {
  outline: 0;
}

button:focus,
button.focused {
  outline: 0;
  box-shadow: 0 0 5px rgba(66, 139, 202, 1) !important;
}

input:focus {
  outline: 0;
  box-shadow: 0 0 5px rgba(66, 139, 202, 1) !important;
}

input::-ms-clear {
  display: none;
}

#errorMsg {
  width: 35%;
  font-size: 28px;
  margin-left: auto;
  margin-right: auto;
}

img {
  vertical-align: top;
}

.fade-enter-active,
.fade-leave-active {
  transition: opacity 2s;
}

.fade-enter {
  opacity: 0;
}

.fade-leave-to {
  opacity: 0;
}

p {
  margin: 0;
}

.baseElement {
  font-weight: regular; /* lighter; */
  font-family: 'Lato', Helvetica, Arial, sans-serif;
  border-radius: 4px;
  display: inline-block;
  font-size: 17px;
  margin: 0px;
  padding: 0px;
  position: relative;
  border: none;
}

.loginContainer {
  margin-left: auto;
  margin-right: auto;

  opacity: 1;
}
.formContainer {
  margin-left: auto;
  margin-right: auto;
  opacity: 1;
}

/**
 * Now that all app-wide styles have been applied, we can load the styles for
 * all the submodules and components we are using automatically.
 */
#canvasContainer {
  width: 100%;
  position: absolute;
  z-index: -1;
  left: 0px;
  bottom: 0px;
  opacity: 0.5;
}

body > svg {
  display: none;
}
icon {
  display: inline-block;
  position: relative;
  width: 24px;
  height: 100%;

  & > svg {
    display: block;
    position: relative;
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;

    & > use {
      display: block;
      position: relative;
      margin: 0;
      padding: 0;
    }
  }
}

/* Flexbox */
.cg-flex.left {
  justify-content: flex-start;
}

.cg-flex.center {
  justify-content: center;
}

.cg-flex.right {
  justify-content: flex-end;
}

.cg-flex.space-between {
  justify-content: space-between;
}

.cg-flex.space-around {
  justify-content: space-around;
}

.cg-flex.top {
  align-items: flex-start;
}

.cg-flex.middle {
  align-items: center;
}

.cg-flex.bottom {
  align-items: flex-end;
}

/* ----------------------------------
                Buttons
   ---------------------------------- */

/* Buttons */

.cg-btn-primary {
  width: 80px;
  font-size: 14px;
  color: var(--plain-white, #fff);
  background-color: var(--ace-deep-blue-sky-90, #198eaa);
  border: 1px solid var(--ace-deep-blue-sky, #0081a1);
  box-shadow: 1px 2px 1px 0 rgba(0, 0, 0, 0.4);
  border-radius: 3px;
}

.cg-btn-primary:hover {
  cursor: pointer;
  background-color: var(--ace-deep-blue-sky-85, #2694af);
}

.cg-btn-primary:disabled {
  background-color: var(--ace-silver-70);
  color: var(--telia-dark-grey-40);
  border: 0px;
  cursor: not-allowed;
}

.cg-btn-cancel {
  padding: 0;
  border: none;
  background: none;
  color: var(--ace-deep-blue-sky-90, #198eaa);
}

.cg-btn-cancel:hover {
  cursor: pointer;
  color: var(--ace-deep-blue-sky-85, #2694af);
  text-decoration: underline;
}

.card.small {
  width: 100%;
}
.cardContentButtons {
  display: block;
}

.cardContentButtons {
  zoom: 1;
}
.buttonShowHideWrap {
  display: block;
  text-align: center;
  width: 100%;
}

// Scale up the modal
@media screen and (max-width: 1166px) {
  #line {
    bottom: -50px;
  }
}

// Scale up the modal
@media screen and (max-width: 980px) {
  #line {
    bottom: -30px;
  }
}
// Scale up the modal
@media screen and (max-width: 770px) {
  #line {
    bottom: -10px;
  }
}

// Scale up the modal
@media screen and (max-width: 600px) {
  #line {
    display: none;
  }
}

// Scale up the modal
@media screen and (max-height: 685px) {
  #line {
    display: none;
  }
}
