#cc-post-republisher-modal-container {
    position: fixed;
    display: none;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1000;
    width: 100%;
    height: 100vh;
}

#cc-post-republisher-modal {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1001;
    width: 100%;
    height: 100vh;
    padding: 4em 2em;
    overflow-y: auto;
}

#cc-post-republisher-modal-button-open,
#cc-post-republisher-modal-button-close {
    background-color: #efefef;
    color: #333;
    border: 1px solid #999;
    padding: 0.5rem;
    line-height: 1;
    font-weight: 700;
    display: block;
    margin-bottom: 1rem;
    text-decoration: none;
    width: auto;
}

#cc-post-republisher-modal-button-open img {
	vertical-align: middle;
	margin-right: 1rem;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-radius: 0;
    border: none;
    display: inline;
}

#cc-post-republisher-modal-button-close {
    display: inline-block;
    cursor: pointer;
    font-size: 2rem;
    float: right;
    margin-top: -0.6rem;
}

#cc-post-republisher-modal-button-open:hover,
#cc-post-republisher-modal-button-open:focus,
#cc-post-republisher-modal-button-open:active,
#cc-post-republisher-modal-button-close:hover,
#cc-post-republisher-modal-button-close:focus,
#cc-post-republisher-modal-button-close:active {
	cursor: pointer;
    color: #efefef;
    background-color: #333;
}

#cc-post-republisher-license {
    line-height: 1;
    font-weight: 700;
    display: block;
    margin-bottom: 2rem;
    text-decoration: none;
}

#cc-post-republisher-license img {
	vertical-align: middle;
	margin-right: 1rem;
}

#cc-post-republisher-post-content {
	padding: 0.5rem;
    background-color: #efefef;
    color: #333;
}

#cc-post-republisher-post-content textarea {
    width: 100%;
    padding: 0.8rem;
    font-family: monospace;
    font-size: 1rem;
    line-height: 1.4;
    background: #f0f0f0;
    border: none;
    border-radius: 0;
    resize: none;
    box-shadow: none;
    overflow: scroll;
    outline: none;
    -webkit-box-flex: 1;
    -webkit-flex: 1 0 auto;
    -moz-box-flex: 1;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
    height: 32rem;
}

#cc-post-republisher-post-content textarea::selection {
	background-color: rgba(255, 252, 0, 0.35);
	color: #333;
}

@media only screen and (min-width: 961px) {

	#cc-post-republisher-modal {
		width: 50%;
	}

}
