/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
.modal-dialog {
	border-radius: 5px;
}

.modal-dialog .modal-dialog-content {
	/* flex children */
	display: flex;
	flex-direction: column;
}

.modal-dialog-overlay.current-focus-trap .modal-dialog-content {
	/* resize the dialog with current focus only, otherwise the resize handle shows through on Firefox */
	resize: both;
}

.modal-dialog .modal-dialog-form {
	/* size */
	margin: 0;
	padding: 0;
	overflow: hidden;
	
	/* flex in parent */
	flex: 1;

	/* flex children */
	display: flex;
	flex-direction: column;
}		
			
.modal-dialog .modal-dialog-header {
	border-radius: 5px 5px 0px 0px;
	background: #ffb158;
	margin: 0;
	padding-top: 4px;
	text-align: center;
}

.modal-dialog .modal-dialog-body {
	/* size */
	flex: 1;
	overflow-y: auto;
	
	padding: 20px;
}

.modal-dialog .modal-dialog-footer {
	padding: 5px;
}
