.wrap-modal { max-width: 600px; margin: 0 auto; } .wrap-modal-search { max-width: 250px; margin: 0 auto; } .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; //float: left; 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; float: left; clear: both; width: 100%; text-align: center; } .btn-cancel { float: left; clear: both; margin: 50px 0 0 0; width: 100%; text-align: center; color: darken(#8798ac, 30%); cursor: pointer; @include transition(); &:hover { color: #8798ac; } }