/* ================================================================= */
/* NOTIFICATION MODAL CSS */
/* ================================================================= */

/* MODAL CONTRUCTION */
/*https://codepen.io/chireenjavier/pen/LkaEBg*/
/*
Copyright (c) 2021 by Chireen Javier (https://codepen.io/chireenjavier/pen/LkaEBg)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
/* MODAL CONTRUCTION */

/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v7.0.29,
* Autoprefixer: v9.7.6
* Browsers: last 4 version
*/

/* WP Admin Bar Offset */
@media (max-width: 782px) 
{
	.admin-bar .modal-wrapper {
		top: 66px !important;
	}
}

/* WP Admin Bar Offset */
@media (min-width: 783px) 
{
	.admin-bar .modal-wrapper {
		top: 52px !important;
	}
}

.modal-wrapper {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	cursor: pointer;
	position: fixed;
	z-index: 9999999;
	top: 20px;
	text-align: center;
	left: 50%;
	-webkit-transform: translate(-50%,0);
	    -ms-transform: translate(-50%,0);
	        transform: translate(-50%,0);
	-webkit-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
	margin: 0 auto;
	max-width: 350px;
}

.alert {
	display: grid;
	grid-template-rows: auto auto;
	grid-template-columns: auto;
	padding: 0;
	text-align: left;
	position: fixed;
}

.alert-title {
	font-size: 2em;
	margin-bottom: .5em;
}

.alert-success,
.alert-processing,
.alert-error,
.alert-invalid {
	-webkit-box-shadow: 0 12px 15px 0 rgba(0, 0, 0, 0.25);
	        box-shadow: 0 12px 15px 0 rgba(0, 0, 0, 0.25);
	background: var(--notif);
	border: none;
	color: #fff;
	-webkit-transition: ease-in-out;
	-o-transition: ease-in-out;
	transition: ease-in-out;

	/* 12.11.22 */
	height: auto;
	
	font-size: var(--buttonTxtLrg);
	font-weight: var(--bld);
	margin-bottom: .5em;
	min-width: 305px;
	padding: 1em;
}

.alert-success i,
.alert-processing i,
.alert-error i,
.alert-invalid i {
	background: #1c6f73;
	height: 100%;
	padding: 20px;
	margin-right: 5px;
}

.alert-success a,
.alert-processing a,
.alert-error a,
.alert-invalid a {
	padding: 10px;
	color: #fff;
	margin-top: 3px;
}

.alert-success a:hover,
.alert-processing a:hover,
.alert-error a:hover,
.alert-invalid a:hover {
	text-shadow: none;
	color: #1c6f73;
}
