.modal-open {
	overflow: hidden;
}

.modal {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1050;
	display: none;
	overflow: hidden;
	outline: 0;
}

.modal-open .modal {
	overflow-x: hidden;
	overflow-y: auto;
}

.modal-dialog {
	position: relative;
	width: auto;
	margin: 0.5rem;
	pointer-events: none;
}

.modal.fade .modal-dialog {
	transition: -webkit-transform 0.3s ease-out;
	transition: transform 0.3s ease-out;
	transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
	-webkit-transform: translate(0, -25%);
	transform: translate(0, -25%);
}

@media screen and (prefers-reduced-motion: reduce) {
	.modal.fade .modal-dialog {
		transition: none;
	}
}

.modal.show .modal-dialog {
	-webkit-transform: translate(0, 0);
	transform: translate(0, 0);
}

.modal-dialog-centered {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-align: center;
	align-items: center;
	min-height: calc(100% - (0.5rem * 2));
}

.modal-content {
	position: relative;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-direction: column;
	flex-direction: column;
	width: 100%;
	pointer-events: auto;
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 0.3rem;
	outline: 0;
}

.modal-backdrop {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1040;
	background-color: #000;
}

	.modal-backdrop.fade {
		opacity: 0;
	}

	.modal-backdrop.show {
		opacity: 0.5;
	}

.modal-header {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-align: start;
	align-items: flex-start;
	-ms-flex-pack: justify;
	justify-content: space-between;
	padding: 1rem;
	border-bottom: 1px solid #e9ecef;
	border-top-left-radius: 0.3rem;
	border-top-right-radius: 0.3rem;
}

	.modal-header .close {
		padding: 1rem;
		margin: -1rem -1rem -1rem auto;
	}

.modal-title {
	margin-bottom: 0;
	line-height: 1.5;
}

.modal-body {
	position: relative;
	-ms-flex: 1 1 auto;
	flex: 1 1 auto;
	padding: 1rem;
}

.modal-footer {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-align: center;
	align-items: center;
	-ms-flex-pack: end;
	justify-content: flex-end;
	padding: 1rem;
	border-top: 1px solid #e9ecef;
}

	.modal-footer > :not(:first-child) {
		margin-left: .25rem;
	}

	.modal-footer > :not(:last-child) {
		margin-right: .25rem;
	}

.modal-scrollbar-measure {
	position: absolute;
	top: -9999px;
	width: 50px;
	height: 50px;
	overflow: scroll;
}

@media (min-width: 576px) {
	.modal-dialog {
		max-width: 500px;
		margin: 1.75rem auto;
	}

	.modal-dialog-centered {
		min-height: calc(100% - (1.75rem * 2));
	}

	.modal-sm {
		max-width: 300px;
	}
}

@media (min-width: 992px) {
	.modal-lg {
		max-width: 800px;
	}
}

/* Custom */
.modal .close {
	font-size: 17px;
	height: 75px;
	position: absolute;
	right: -12px;
	top: -12px;
	width: 75px;
	z-index: 1050;
	background: #000;
	border: none;
	outline: none;
	color: #fff;
	padding: 0;
	border-radius: 50%;
	transition: all ease .3s;
	font-weight: bold;
}

	.modal .close:hover {
		color: #000;
		background-color: #fff;
		transition: all ease .3s;
	}

.modal .close:focus {
	box-shadow: none;
	outline: none;
}

body.modal-open .modal.fade.right {
	opacity: 1;
}

.modal.fade .modal-dialog {
    -ms-transition: -webkit-transform 0.25s ease-out;
    -o-transition: -webkit-transform 0.25s ease-out;
    -webkit-transition: -webkit-transform 0.25s ease-out;
    transition: -webkit-transform 0.25s ease-out;
	transition: transform 0.25s ease-out;
	transition: transform 0.25s ease-out, -webkit-transform 0.25s ease-out;
}

.modal.right form {
	height: calc(100% - 65px);
}

.modal.right .modal-header {
/*	background-color: #f3f3f4;
*/	border-bottom: transparent;
	border-radius: 0;
	display: block;
	height: 120px;
	padding: 1.4rem;
}

.modal.right .modal-header.padding {
	padding: 1.4rem;
}

.modal .modal-content {
	-webkit-box-shadow: 5px 1px 40px rgba(0, 0, 0, 0.1);
	box-shadow: 5px 1px 40px rgba(0, 0, 0, 0.1);
}

.modal.right .modal-header .modal-title {
	color: #fff;
	font-size: 11px;
	position: absolute;
	top: 45px;
	left: 45px;
}

.modal.right .modal-header.black .modal-title {
	color: #000;
}

.modal.right .modal-header .modal-header-icon {
	background: #f2f6f8;
	display: inline-block;
	font-size: 22px;
	height: 72px;
	line-height: 70px;
	margin-right: 10px;
	text-align: center;
	width: 72px;
}

.modal .modal-body .row-xl {
	background: rgba(0, 0, 0, 0.05);
	margin: 10px -25px 0;
	padding: 10px 25px;
}

.modal-footer {
	bottom: 0;
	padding: 0;
	display: inline-block;
	height: 65px;
	position: fixed;
	width: 100%;
}

	.modal-footer .btn {
		border-radius: 0;
		height: 100%;
		line-height: 62px;
		margin: 0;
		padding: 0;
	}

/* slide-right & slide-left*/

.modal.right.show .modal-dialog,
.modal.left.show .modal-dialog {
	-moz-transform: translate3d(0, 0, 0);
	-ms-transform: translate(0, 0);
	-o-transform: translate3d(0, 0, 0);
	-webkit-transform: translate3d(0, 0, 0);
	border: none;
	transform: translate3d(0, 0, 0);
}

.modal.right .modal-dialog {
	-ms-transform: translate(100%, 0);
	-webkit-transform: translate3d(100%, 0, 0);
	height: 100%;
	margin: 0;
	position: absolute;
	right: 0;
	transform: translate3d(100%, 0, 0);
}

.modal.left .modal-dialog {
	-ms-transform: translate(-100%, 0);
	-webkit-transform: translate3d(-100%, 0, 0);
	height: 100%;
	left: 0;
	margin: 0;
	position: absolute;
	transform: translate3d(-100%, 0, 0);
}

.modal.right .modal-dialog .modal-content,
.modal.left .modal-dialog .modal-content { height: 100%; }

.modal .modal-content {
	border: none;
	border-radius: 0;
}

.modal.right .modal-body {
	height: calc(100% - 81px);
	max-height: calc(100% - 81px);
	overflow: auto;
	padding: 40px 60px 0;
}

.modal.right .modal-sm .modal-body {
	padding: 25px;
}


/* Responsive Handlers: Modals
------------------------------------
*/

@media (min-width: 768px) {

	.modal .modal-content {
		-ms-box-shadow: none;
		-webkit-box-shadow: none;
		box-shadow: none;
	}

    .modal-sm-plus {
        width: 475px;
    }

	.modal-sm {
		width: 400px;
		max-width: 400px;
	}

	.modal-md {
        width: 720px;
		max-width: 100%;
	}

    .modal-lg {
        width: calc(100% - 260px);
        max-width: calc(100% - 260px);
    }

	
}


.modal-scrollable { height: calc(100% - 117px); }

.modal-form { height: calc(100% - 74px); }

.modal-scrollable.isform { height: calc(100% - 57px) }

.modal-scrollable.with-subtitle { height: calc(100% - 74px); }

.modal-scrollable.with-subtitle.with-footer { height: calc(100% - 135px); }

.modal-scrollable.isform.with-subtitle.with-footer { height: calc(100% - 57px) }


/* Modal Extensor Complement
------------------------------------
*/

#modal-extensor {
	-o-transition: all 0.2s linear;
	-webkit-transition: all 0.2s linear;
	background: #f3f3f4;
	border-right: 1px solid rgba(0, 0, 0, .04);
	height: 100%;
	position: absolute;
	top: 0;
	transition: all 0.2s linear;
	width: 300px;
}

#modal-extensor.in {
	-moz-transform: translate3d(-100%, 0, 0);
	-ms-transform: translate(-100%, 0);
	-o-transform: translate3d(-100%, 0, 0);
	-webkit-transform: translate3d(-100%, 0, 0);
	transform: translate3d(-100%, 0, 0);
}

#modal-extensor.md { width: 400px; }

.modal-header.has-picture > .has-picture-picture a {
	display: inline-block;
	position: relative;
}

	.modal-header.has-picture img.profile-avatar {
		border: 3px solid #ccc;
	}

	.modal-header.has-picture i {
		bottom: 10px;
		color: #ccc;
		position: absolute;
		right: 10px;
	}

.modal-header.has-picture .modal-title {
	height: 72px;
	line-height: 1.2em;
	/*padding-left: 100px;*/
	padding-top: .3rem;
	vertical-align: middle;
}

.modal-header.has-picture.services-modal .modal-title {
    padding-left: 170px;
}

.modal-header.has-picture > .modal-title > small {
	display: block;
	font-size: 13px;
}

.modal-header.has-picture > .picture-block {
	position: absolute;
	top: 10px;
	z-index: 9;
}

	.modal-header.has-picture > .picture-block.block {
		background-color: #ebecec;
		display: inline-block;
		height: 72px;
		left: 0;
		text-align: center;
		top: -1px;
		width: 92px;
	}

.modal-header.has-picture > .picture-block a > * {
	transition: all ease .3s;
}

.modal-header.has-picture > .picture-block a:hover i {
	color: #b8b8b8;
}

	.modal-header.has-picture > .picture-block a:hover img {
		border-color: #b8b8b8;
	}

.modal-backdrop.show {
	opacity: 0.2;
}



/* For NewsViewer */
.modal-body embed {
    height: calc(100% - 54px);
}

/* About */
.about-logo {
	text-align: center;
	margin-bottom: 15px;
}

.about-caption {
	margin: 0 auto;
	font-size: 42px;
	font-weight: bold;
	text-align: center;
	margin-bottom: 55px;
}

.about-text {
	padding-bottom: 40px;
	display: block;
}

.about-text p {
	font-size: 19px;
	text-align: center;
	color: #757167;
}

.c-journal-home_wrap_title.c-journal-about {
	margin-left: -60px;
	margin-right: -60px;
	background-color: black;
	color: #fff;
	padding: 40px 50px 30px;
}

