@charset "utf-8";


.mfp-ajax-holder .mfp-content {
	max-height: 90vh;
}
#asset-popup, #note-popup {
	margin: 20px auto;
	padding: 0;
	background: #EEE;
	position: relative;
	width: 95%;
	max-width: 2000px;
	display: flex;
	align-items: center;
}
#asset-popup *, #note-popup * {
    box-sizing: border-box;
}
#asset-popup .asset-display {
	width: 70%;
	height: 100%;
	background: #EEE;
	position: relative;
	top: 0;
	left: 0;
}
#asset-popup .asset-placeholder-wrap {
	width: 100%;
	height: 100%;
	position: relative;
}
#asset-popup .asset, #asset-popup .asset-placeholder {
	object-fit: contain;
	width: 100%;
	height: 100%;
	max-height: 90vh;
	display: block;
}	
#asset-popup .asset-placeholder {
	opacity: 0;
}
#asset-popup .asset-placeholder-wrap:after {
    content: '';
    background: url(../images/loading.gif) no-repeat center center;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}
#asset-popup .asset-details {
	display: block;
	width: 30%;
	padding: 20px;
	background: #FFF;
	color: #333;
	height: 100%;
	position: absolute;
	top: 0;
	right: 0;
	overflow-y: auto;
}
#asset-popup .asset-details h1 {
	font-size: 24px;
	font-weight: 400;
	line-height: 1.3;
	border-bottom: 1px solid #DDD;
	margin-bottom: 5px;
}
#asset-popup .asset-details .description {
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	margin-bottom: 25px;
}
#asset-popup .asset-details .asset-meta li {
	margin-bottom: 15px;
}
#asset-popup .asset-details a {
	text-decoration: none;
	font-weight: 400;
}
#asset-popup .asset-details a:hover {
	text-decoration: underline;
}
#asset-popup .asset-details label, #asset-popup .asset-details legend {
	display: block;
	text-transform: uppercase;
	font-size: 10px;
	font-weight: 600;
	line-height: 1.4;
}
#asset-popup .asset-details .photo-location-map img {
	width: 100%;
	height: auto;
}
#asset-popup .asset-details fieldset {
	border: 1px dashed #BBB;
	background: #EEE;
	padding: 10px;
	margin: 0 0 10px 0;
}
#asset-popup .asset-details fieldset ul {
	margin-bottom: 0;
}
#asset-popup .asset-details .item-social-share {
	margin-bottom: 0;
}
#note-popup {
    display: block;
    max-width: 1000px;
	padding: 20px;
	background: #FFF;
	color: #333;
    font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
}
#note-popup .error {
    display: none;
}
#note-popup .error p {
    font-weight: 600;
    margin: 0 30px;
}  
#note-popup .error ul {
    margin: 0;
}    
#note-popup h1 {
    margin-top: 0;
    font-size: 18px;
}
#note-popup form li {
    padding: 0 10px 10px 0;
}
#note-popup form li > label {
    display: block;
    font-weight: 700;
}
#note-popup form li > label span {
    font-weight: 400;
    font-style: italic;
    color: #888;
}
#note-popup form li input {
    margin: 0;
}
#note-popup form li input[type=checkbox] {
    width: 30px;
}
#note-popup form li input+label {
    font-weight: 400;
    display: inline-block;
    user-select: none;
}
#note-popup form select {
    padding: 3px 5px;
}
#note-popup form #submit-btn {
    padding: 10px 25px;
    font-size: 14px;
}
#note-popup form #submit-btn.loading {
    background-image: url(../images/loading.gif);
	background-repeat: no-repeat;
	background-position: center center;
	cursor: default;
}
#note-popup form .close-popup {
    font-size: 12px;
    margin-left: 30px;
    cursor: pointer;
    color: #666;
    float: right;
    border: 1px solid #999;
    padding: 5px;
    border-radius: 5px;
}
#note-popup form #submit-btn.delete {
    background: #F00;
    border-color: #000;
    box-shadow: none;
    text-shadow: none;
}

@media only screen and (max-width: 1050px) {
    #asset-popup {
		min-height: 40vh;
	}
	#asset-popup .asset-details {
		padding: 15px;
	}
	#asset-popup .asset-details h1 {
		font-size: 18px;
	}
	#asset-popup .asset-details .description {
		font-size: 12px;
	}
}

@media only screen and (max-width: 601px) {
    #asset-popup {
        display: block;
        width: 98%;
    }
    #asset-popup .asset-display {
        width: 100%;
    }
    #asset-popup .asset-details {
        padding: 8px;
        top: auto;
        width: 100%;
    }
    #asset-popup .asset-details h1 {
        font-size: 16px;
    }
    #asset-popup .asset-details .description {
        font-size: 11px;
    }
    #asset-popup .mfp-close {
        width: 30px;
        height: 30px;
        line-height: 30px;
        top: -30px;
        right: 0;
        background: #FFF;
    }
}