.dialog,
.dialog__overlay {
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}

.dialog {
	position: fixed;
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	-webkit-justify-content: center;
	justify-content: center;
	pointer-events: none;
	z-index:1000;
}

.dialog__overlay {
	position: absolute;
	z-index: 1;
	background: rgba(48, 123, 160, 0.9);
	opacity: 0;
	-webkit-transition: opacity 0.3s;
	transition: opacity 0.3s;
	-webkit-backface-visibility: hidden;
}
.dialog p.close {
	text-align:right;
	position:absolute;
	right:30px;
	top:30px;
}
.dialog p.close i {
	font-size:30px;
	color:#307ba0;
}
.dialog--open .dialog__overlay {
	opacity: 1;
	pointer-events: auto;
}

.dialog.teamprofile .dialog__content {
	width:100%;
	max-width: 860px;
	min-width: 690px;
}
.dialog__content {
	width: 90%;
	max-width: 660px;
	min-width: 490px;
	background: #fff;
	padding: 30px 40px;
	text-align: left;
	position: relative;
	z-index: 5;
	opacity: 0;
}
.dialog__content label.error {
	color:#940303;
}
.dialog--open .dialog__content {
	pointer-events: auto;
}
.dialog__content p.upload_cv {
	color:#ffffff;
	margin-top:0;
	text-transform:uppercase;
	width:200px;
	font-size:16px;
	height:50px;
	line-height:50px;
}
.dialog__content p.upload_cv:hover {
	background-color:#ffa800;
}
.dialog__content .field input {
	height:46px;
}
.dialog__content .field input, .dialog__content .field textarea {
	border-radius:0;
}
/* Content */
.dialog h2 {
	margin: 0;
	padding:0;
	margin: 0 0 20px 0;
	font-size: 30px;
	font-weight: 700;
	color: #444444;
}
.dialog.teamprofile h2 {
	margin:0 0 6px 0;
}

.dialog__overlay {
	-webkit-transition-duration: 0.4s;
	transition-duration: 0.4s;
}

.dialog.dialog--open .dialog__content,
.dialog.dialog--close .dialog__content {
	-webkit-animation-duration: 0.4s;
	animation-duration: 0.4s;
	-webkit-animation-fill-mode: forwards;
	animation-fill-mode: forwards;
}

.dialog.dialog--open .dialog__content {
	-webkit-animation-name: anim-open;
	animation-name: anim-open;
	-webkit-animation-timing-function: cubic-bezier(0.6,0,0.4,1);
	animation-timing-function: cubic-bezier(0.6,0,0.4,1);
}

.dialog.dialog--close .dialog__content {
	-webkit-animation-name: anim-close;
	animation-name: anim-close;
}

.dialog ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
	color:#888888;
	font-size:16px;
	.weight(600);
}
.dialog :-ms-input-placeholder { /* Internet Explorer 10-11 */
	color:#888888;
	font-size:16px;
	.weight(600);
}
.dialog ::-ms-input-placeholder { /* Microsoft Edge */
	color:#888888;
	font-size:16px;
	.weight(600);
}
.dialog .fileupload {
	position:relative;
}
.dialog .fileupload:before {
	content:"Upload file";
	background: #307ba0;
	color:#ffffff;
	text-align:center;
	cursor:pointer;
	height:55px;
	width:210px;
	display:inline-block;
	font-weight: 700;
	font-size: 14px;
	line-height:55px;
	text-transform:uppercase;
}
.dialog .fileupload input {
	opacity:0;
	position:absolute;
	top:0;
	left:0;
	width:200px;
	height:44px;
}
.dialog .fileupload span {
	font-weight:700;
	font-size:14px;
	margin-left:15px;
	color:#940303;
	position: absolute;
	line-height: 22px;
}
.dialog .fileupload  #cvfile-error {
	position:absolute!important;
	top:64px;
}
.dialog .fileupload:hover:before {
	background: #26627f;
}
.dialog .optin {
	margin-top:15px;
}
.dialog .optin p {
	line-height:22px;
	color:#444444;
	font-size:13px;
}
.dialog .optin p.gdpr {
	color:#444444;
	font-size:13px;
	line-height:22px;
}
.dialog .optin p.gdpr a {
	color:#444444;
	font-weight:500;
}
.dialog .optin p.gdpr input {
	margin-right:7px;
}
.dialog button {
	font-size:13px;
	font-weight:700;
	text-transform:uppercase;
	letter-spacing:2px;
	color:#ffffff;
	background: #189366;
	background: linear-gradient(90deg, #189366 0%, #7bbe75 100%);
	transition: all 0.65s ease-in-out;
	width:142px;
	height:40px;
	border:0;
	border-radius:20px;
	margin-top:15px;
}
.dialog button:hover {
	background: rgb(123,190,117);
	background: linear-gradient(90deg, rgba(123,190,117,1) 0%, rgba(24,147,102,1) 100%);
	transition: all 0.65s ease-in-out;
}
.dialog .optin label, .dialog .optin p {
	font-size:15px!important;
	line-height:26px;
}
.dialog .new_btn.orange {
	height:50px;
}
.dialog form input.applybtn {
	background:#307ba0;
	border:0;
	color:#ffffff;
	font-size:14px;
	font-weight:700;
	height:55px;
	width:200px;
	text-transform:uppercase;
}
.dialog form input.applybtn:hover {
	background:#26627f;
}
.dialog form .optin p input {
	height:auto;
	padding:0;
	margin:0 8px 0 0;
	width:auto;
}
@media only screen and (max-width: 1100px) {
.dialog__content {
	max-width:100%;
	min-width:100%;
	height:80%;
	overflow-y:scroll;
}
}
@-webkit-keyframes anim-open {
	0% { opacity: 0; -webkit-transform: scale3d(0, 0, 1); }
	100% { opacity: 1; -webkit-transform: scale3d(1, 1, 1); }
}

@keyframes anim-open {
	0% { opacity: 0; -webkit-transform: scale3d(0, 0, 1); transform: scale3d(0, 0, 1); }
	100% { opacity: 1; -webkit-transform: scale3d(1, 1, 1); transform: scale3d(1, 1, 1); }
}

@-webkit-keyframes anim-close {
	0% { opacity: 1; }
	100% { opacity: 0; -webkit-transform: scale3d(0.5, 0.5, 1); }
}

@keyframes anim-close {
	0% { opacity: 1; }
	100% { opacity: 0; -webkit-transform: scale3d(0.5, 0.5, 1); transform: scale3d(0.5, 0.5, 1); }
}
