/* формируем кнопку закрытия */ .close { position: absolute; padding: 0; top: -24px; right: -24px; opacity: 1; text-align: center; text-decoration: none; font-weight: bold; line-height: 20px; -webkit-transition: background-color ease .7s; -moz-transition: background-color ease .7s; -ms-transition: background-color ease .7s; -o-transition: background-color ease .7s; transition: background-color ease .7s; &:hover { &:before{ color: #efba00; } } } .close:before { color: rgba(255, 255, 255, 0.9); content: '\2715'; text-shadow: 0 -1px rgba(0, 0, 0, 0.9); font-size: 22px; color: #fcd016; } .has-error input { border: 1px solid #dc0a05!important; box-shadow: none!important; } .form-control { display: block; box-sizing: border-box; width: 100%; height: 34px; padding: 6px 12px; font-size: 14px; line-height: 1.42857143; color: #555; background-color: #fff; background-image: none; border: 1px solid #ccc; border-radius: 4px; -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075); box-shadow: inset 0 1px 1px rgba(0,0,0,.075); -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s; -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s; transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s; } .has-error{ label,.help-block { color: red; } input { border: 1px solid red; box-shadow: none!important; } } .form-group{ margin-bottom: 20px; label{ line-height: 24px; } } .form-group-2-l{ display: flex; label{ line-height: 24px; height: 34px; padding: 5px; } } .form-footer{ padding-top: 20px; text-align: center; } .modal { text-align: center; padding: 0!important; &:before { content: ''; display: inline-block; height: 100%; vertical-align: middle; margin-right: -4px; } .modal-header { padding-bottom: 0; border-bottom: none; } @include respond-to('md'){ .modal-header{ padding: 40px 180px 0; } .modal-body{ padding: 0 180px 40px; } } } .modal-dialog { display: inline-block; text-align: left; vertical-align: middle; margin: 30px; }