/* CSS Components */
/* Author: Andrii Kirushyn */
/* GIT: https://github.com/WanSpi/SiteComponents/tree/main */

/* LoadAnimation */
/* https://github.com/WanSpi/SiteComponents/tree/main/Components/LoadAnimation */

[lanim]{opacity:0}

/* Modal */

.cms-window-background {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 99999999;
  background: rgba(0, 0, 0, .6);
  opacity: 0;
  transition: .4s all ease-in-out;
  overflow: hidden;
}
.cms-window-open {
  opacity: 1;
  overflow: auto;
}
.cms-window {
  width: 90rem;
  box-shadow: 0 0 14px 0 rgba(0, 0, 0, .75);
  position: fixed;
  z-index: 21000;
  max-width: 100%;
  border-radius: 2.8rem;
}
.cms-window-small .cms-window {
  width: 415px;
}
.cms-window-big .cms-window {
  width: 1011px;
}
.cms-window-full .cms-window {
  width: calc(100% - 200px);
}
.cms-window-modal {
  top: 50px;
  position: relative;
  margin: 0 auto 200px;
  transition: .4s all ease-in-out;
  z-index: 1;
}
.cms-window-open .cms-window-modal {
  top: 100px;
}
.cms-window-title-block {
  background: #7A7A7A;
  position: relative;
  z-index: 2;
}
.cms-window-title {
  margin: 0 60px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  color: #FFF;
  font-size: 22px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cms-window-close {
  width: 5rem;
  height: 5rem;
  float: right;
  position: absolute;
  z-index: 2;
  right: .8rem;
  top: .8rem;
  cursor: pointer;
}
.cms-window-close:before {
  content: '';
  background: #31343B;
  height: 1px;
  width: 1.2rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  transition: .2s all ease-in-out;
}
.cms-window-close:after {
  content: '';
  background: #31343B;
  height: 1px;
  width: 1.2rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  transition: .2s all ease-in-out;
}
.cms-window-close:hover:before,
.cms-window-close:hover:after {
  background: #567981;
}
.cms-window-buttons {
  background: #D9D7D8;
  line-height: 30px;
  position: relative;
  z-index: 2;
}
.cms-window-button {
  margin-left: 10px;
  height: 30px;
  line-height: 30px;
  padding: 0 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #000;
  position: relative;
  transition: .2s all ease-in-out;
}
.cms-window-button:hover {
  background: #113251;
  color: #FFF;
}
.cms-window-button-add {
  padding-left: 40px;
}
.cms-window-button-add:before {
  content: '';
  display: block;
  position: absolute;
  width: 30px;
  height: 30px;
  background: #113251 url(/Images/CMS/Icons/Plus.svg) no-repeat center;
  left: 0;
  top: 0;
  background-size: 14px;
  transition: .2s all ease-in-out;
}
.cms-window-button-add:hover:before {
  background-color: #000;
}
.cms-window-content {
  background: #FFF;
  position: relative;
  z-index: 2;
  padding: 2.4rem;
  border-radius: 2.8rem;
}
.cms-window-content:after {
  content: '';
  clear: both;
  display: block;
}
.cms-window-loader {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6) url(/Images/CMS/Loader.svg) no-repeat center;
  opacity: 0;
  transition: .2s opacity ease-in-out, 0s z-index linear .2s;
}
.cms-window-loader-show {
  z-index: 3;
  opacity: 1;
  transition: .2s opacity ease-in-out, 0s z-index linear;
}