/*
    Vertical navigation
*/
/*@mixin transition($val, $isImportant: false) {
    $important: is-important($isImportant);

    -webkit-transition: $val $important;
    -moz-transition: $val $important;
    -o-transition: $val $important;
    transition: $val $important;
}*/
@keyframes rotating {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}

/*---
title:   Overlays
section: Components
---

Overlay is a component which fills entire screen. It is generally used for loading screens:

```example:html
<div class="well">
    <p>
        Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s.
    </p>
<div>

<div class="s-overlay s-overlay--active s-loader--active">
    <div class="s-overlay-content">
        <div class="s-loader"></div>
    </div>
</div>
```
*/
.s-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  z-index: 7;
  padding: 0;
  opacity: 0;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.8);
  transform-origin: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  -webkit-transition: opacity 0.4s ease, width 0s linear 0.4s, transform 0.4s ease 0s, filter 0.4s ease 0s;
  -moz-transition: opacity 0.4s ease, width 0s linear 0.4s, transform 0.4s ease 0s, filter 0.4s ease 0s;
  -o-transition: opacity 0.4s ease, width 0s linear 0.4s, transform 0.4s ease 0s, filter 0.4s ease 0s;
  transition: opacity 0.4s ease, width 0s linear 0.4s, transform 0.4s ease 0s, filter 0.4s ease 0s;
}

.s-overlay--active {
  opacity: 1;
  width: 100%;
  -webkit-transition: opacity 0.4s ease, width 0s linear 0s, transform 0.4s ease 0s, filter 0.4s ease 0s;
  -moz-transition: opacity 0.4s ease, width 0s linear 0s, transform 0.4s ease 0s, filter 0.4s ease 0s;
  -o-transition: opacity 0.4s ease, width 0s linear 0s, transform 0.4s ease 0s, filter 0.4s ease 0s;
  transition: opacity 0.4s ease, width 0s linear 0s, transform 0.4s ease 0s, filter 0.4s ease 0s;
}

.s-overlay--active .s-overlay-content {
  opacity: 1;
  transform: translateY(0);
}

.s-overlay--top {
  left: auto;
  right: 0;
  align-items: flex-start;
  justify-content: flex-start;
  -webkit-transition: all 0.4s ease 0.4s;
  -moz-transition: all 0.4s ease 0.4s;
  -o-transition: all 0.4s ease 0.4s;
  transition: all 0.4s ease 0.4s;
}

.s-overlay--top .s-overlay-content {
  width: 100%;
  background-color: #fff;
  height: 50px;
  box-shadow: 0 4px 20px 0px rgba(0, 0, 0, 0.15);
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

.s-overlay--top.s-overlay--active {
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

.s-overlay--top.s-overlay--active .s-overlay-content {
  -webkit-transition: all 0.4s ease 0.4s;
  -moz-transition: all 0.4s ease 0.4s;
  -o-transition: all 0.4s ease 0.4s;
  transition: all 0.4s ease 0.4s;
}

.s-overlay-content {
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateY(-100%);
  transform-origin: center;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

/*---
title:   Loaders
section: Components
---

Loading element is made entirely in CSS and later is applied to the other KendoUI components.
Loader element modifiers:

```example:html
<div class="s-loader s-loader--active"></div>
```
*/
.s-loader {
  position: relative;
  display: block;
  height: 26px;
  width: 26px;
}

.s-loader:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  background-color: transparent;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border-left: 3px solid rgba(77, 105, 255, 0.9);
  border-right: 3px solid rgba(77, 105, 255, 0.2);
  border-top: 3px solid rgba(77, 105, 255, 0.2);
  border-bottom: 3px solid rgba(77, 105, 255, 0.2);
  transform-origin: center;
  -webkit-box-sizing: border-box !important;
  -moz-box-sizing: border-box !important;
  box-sizing: border-box !important;
}

.s-loader--xs {
  height: 15px;
  width: 15px;
}

.s-loader--xs:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  background-color: transparent;
  width: 15px !important;
  height: 15px !important;
  border-radius: 50%;
  border-left: 2px solid rgba(77, 105, 255, 0.9);
  border-right: 2px solid rgba(77, 105, 255, 0.2);
  border-top: 2px solid rgba(77, 105, 255, 0.2);
  border-bottom: 2px solid rgba(77, 105, 255, 0.2);
  transform-origin: center;
  -webkit-box-sizing: border-box !important;
  -moz-box-sizing: border-box !important;
  box-sizing: border-box !important;
}

.s-loader--style-01 {
  display: inline-block;
  height: 13px;
  width: 13px;
}

.s-loader--style-01:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  background-color: transparent;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border-left: 1px solid rgba(255, 193, 7, 0.9);
  border-right: 1px solid rgba(255, 193, 7, 0.2);
  border-top: 1px solid rgba(255, 193, 7, 0.2);
  border-bottom: 1px solid rgba(255, 193, 7, 0.2);
  transform-origin: center;
  -webkit-box-sizing: border-box !important;
  -moz-box-sizing: border-box !important;
  box-sizing: border-box !important;
}

.s-loader--style-02 {
  display: inline-block;
}

.s-loader--style-02:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  background-color: transparent;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border-left: 2px solid rgba(255, 255, 255, 0.9);
  border-right: 2px solid rgba(255, 255, 255, 0.2);
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  transform-origin: center;
  -webkit-box-sizing: border-box !important;
  -moz-box-sizing: border-box !important;
  box-sizing: border-box !important;
}

.s-loader:not(.s-loader--style-01) {
  z-index: 8;
}

.s-loader--active .s-loader:before, .s-loader--active.s-loader:before {
  animation: rotating linear 0.5s infinite;
}
