/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
#searchModal,
#dialog {
	display: none;
}

#dialog p {
    margin: 0;
    position: relative;
}

#dialog p.heading {
    font-weight: bold;
    margin-top: 5px;
    margin-bottom: 8px;
}

#dialog p .close {
    position: absolute;
    top: -2px;
    right: 2px;
    z-index: 9999;
    cursor: pointer;
    width: 21px;
    height: 21px;
}

#searchModal .modal-content {
 	width: 75%;
}

#dialog .modal-dialog {
    width: 75%;
    height: auto;
}
 
.btn-download {
	margin-top: 15px;
	float: right;
	margin-right: 1%;
}

#searchModal .modal-body .media .item .error {
	color: #b30033;
	font-size: 16px;
}

.modal-title {
	font-size: 20px;
}

.modal-title .serial_number,
.modal-title .part_number {
	font-style: italic;
	font-weight: normal;
}
.item_title {
	font-size: 18px;
}
.item p {
	font-size: 16px;
	color: red;
}

.search-form {
	float: right;
	position: relative;
	width: 250px;
}

.search-form .search-submit {
    bottom: 2px;
    position: absolute;
    right: 2px;
    top: 2px;
    width: 70px;
    background-color: #222;
    -webkit-appearance: button;
    border: none;
    cursor: pointer;
    text-align: center;
    line-height: 24px;
    color: #fff;
}

.search-form .search-submit .fa-search {
    height: 24px;
    top: -1px;
    left: -2px;
    width: 24px;
    display: inline-block;
    color: #fff;
    position: relative;
    vertical-align: middle;
}

/* to delete */
.fusion-logo-left.fusion-header-v4 .fusion-logo {
	height: 200px;
}
/* to delete */

@media (min-width: 768px) {
	.modal-dialog {
		width: 75%;
	}

	#searchModal .modal-body .media {
		height: 550px;
	}

	#searchModal .modal-body .media .item_container {
		max-height: 457px;
		margin: 0 1%;
		display: inline-block;
		text-align: center;
	}

	#searchModal .modal-body .media .item embed {
		height: 457px;
	}
}

@media (max-width: 767px) {
	p {
		margin-bottom: 0 !important;
	}
	.item_container {
		width: 100% !important;
		clear: both;
	}
	.item embed {
		height: auto !important;
	}
	.btn-download {
		margin-bottom: 20px;
	}
}

/* BS Helper class */
.vertical-alignment-helper {
    display:table;
    height: 100%;
    width: 100%;
    pointer-events:none; /* This makes sure that we can still click outside of the modal to close it */
}
.vertical-align-center {
    /* To center vertically */
    display: table-cell;
    vertical-align: middle;
    pointer-events:none;
}
.modal-content {
    /* Bootstrap sets the size of the modal in the modal-dialog class, we need to inherit it */
    width:inherit;
    max-width:inherit; /* For Bootstrap 4 - to avoid the modal window stretching full width */
    height:inherit;
    /* To center horizontally */
    margin: 0 auto;
    pointer-events: all;
}

#search_pdf label {
    display: none;
}