-.c-media__popup {
- position: fixed;
- z-index: 10;
- top: 0;
- left: 0;
- height: 100%;
- align-items: flex-start;
- justify-content: center;
- background-color: rgba($color-black, 0.35);
- display: none;
- overflow-y: scroll;
- padding: 10vh 40px 40px 40px;
- width: 100%;
-
- &.is-open {
- display: flex;
+ .c-media__settings {
+ position: absolute;
+ left: 0;
+ right: 0;
+ top: 0;
+ z-index: 5;
+ min-height: 30px;
+ overflow: hidden;
+
+ .icon {
+ position: absolute;
+ transition: .5s rotate;
+ bottom: 0;
+ right: 0;
+ line-height: 30px;
+ width: 40px;
+ text-align: center;
+ margin: 0;
+ }
+ > div {
+ height: 0;
+ transition: .5s height;
+ overflow: hidden;
+ background: #F2F2F2;
+ border-bottom: 5px solid #D5ECED;
+ margin-top: -5px;
+ > div {
+ padding: 30px;
+ }
+ }
+ &.active {
+ .icon {
+ rotate: 180deg;
+
+ }
+ > div {
+ height: 150px;
+ }
+ }