.wrap-modal-login { max-width: 600px; margin: 0 auto; } .wrap-modal-search { max-width: 250px; margin: 0 auto; text-align: center; } .modal { position: fixed; width: 100%; height: 100%; left: 0; top: 0; right: 0; bottom: 0; background: rgba(14, 27, 43, .5); z-index: 10; opacity: 0; visibility: hidden; @include transition(); &.active { visibility: visible; opacity: 1; } } .modal-banner { z-index: 20; background: rgba(6, 13, 22, .95); width: 100%; color: #fff; padding: 50px 0; margin: 24vh 0 0 0; float: left; @include transition(); .active & { margin: 25vh 0 0 0; } } .icon-content-load { background: url(../img/content-load.gif) no-repeat; width: 32px; height: 32px; opacity: .9; display: block; margin: 0 auto; } .modal-para { font-size: 17px; text-transform: uppercase; font-weight: 300; text-shadow: 0 0 10px rgba(255, 255, 255, 0.6); color: #8798ac; margin: 20px 0 50px 0; } .btn-sub { color: darken(#8798ac, 30%); cursor: pointer; text-transform: uppercase; @include transition(); &:hover { color: #8798ac; } .wrap-modal-login & { margin: 30px 0 0 0; float: left; } }