/*** SIDE PANEL ***/

.sticky-btn-wrapper {
	margin-top:-1.8em;
}

/* The left sidepanel - tips */
.open-sidepanel-tips-btn {
	display:none;
}

.close-sidepanel-tips-btn {
	display:none;
}

/* The right sidepanel - synonyms */
.open-sidepanel-synonyms-btn {
	display:none;
}

.close-sidepanel-synonyms-btn {
	display:none;
}

.sidepanel {
	width:100%;
}
.activated-sidepanel {
	width:0%;
}
.inactivated-sidepanel {
	width:100%;
}



/*** FORMS ***/
input, label {
    display:block;
}

label {
	font-weight:600;
	font-size:.8em;
}

input[type=text], select {
  width: 100%;
  display: inline-block;
}


/*** GRID ***/



.main-col-content {
	height:100%;
	width:100%;
	/*padding-left: 1.5em;
    padding-right: 1.5em;*/
}
.left-field-col {
	width:20%;
	float:left;
	font-size: 12px;
	padding-right:2em;
	padding-left:2em;
}
.left-field-col p {
	margin-bottom:0.8em !important;
	line-height:1.3;
}

.sticky {
	position: static;	
	/*top: 0;*/
	/*padding-top: 1em;*/
}

.sticky-header-tools {
	
}

.main-field-col {
	width:60%;
	float:left;
}

.right-field-col {
	width:20%;
	float:left;
	padding-left:1em;
}

.field {
	width:100%;
	float:left;
	padding-top:1em;
}
.full-column {
	width:100%;
	float:left;
}
.one-column {
	width:25%;
}
.two-columns {
	width:50%;
}

.two-columns-left {
	float:left;
}

.two-columns-right {
	float:right;
}

.two-columns-right p {
	margin-bottom:0;
	font-size:12px;
	font-weight:500;
}

.three-columns {
	width:75%;
}

.four-columns {
	width:100%
}

.column-one-forth {
	float:left;
	width:25%;
}

.column-one-forth p{
	font-size:12px;
	font-weight:500;
}

.left {
	float:left;
	padding-right:1em;
}
.right {
	float:right;
	padding-left:1em;
}


/***** MESSAGES *****/
.msg-wrapper {
	position: -webkit-sticky;
	position: sticky;
	width:100%;
	top: 40%;
	z-index:20;
	display: inline-block;
    /*margin-top: -50px;*/
}

.msg-card {
	width:60%;
	margin-left:20%;
	padding:.5em;
	padding-left:1em;
	background-color:#fff;
	box-shadow: 0px 0px 1px 1px lightgray, 0 0 15px darkgray;
}

.notice-msg {
	border-left:50px solid #E9E9E9;
}
.error-msg {
	border-left:50px solid red;
}
.success-msg {
	border-left:50px solid green;
}

.msg-head {
	font-weight:600;
	font-size:1em;
	text-transform: uppercase;
	margin-bottom:0px !important;
}

.msg-body {
	font-weight:400;
	font-size:.8em;
	margin-bottom:0px !important;
}
.notice-msg .msg-head{
	color:black;	
}
.error-msg .msg-head{
	color:red;	
}
.success-msg .msg-head{
	color:green;
}

/*** BUTTONS ***/

/* Run analysis button */
.tools-wrapper {
	width: 100%;
    float: left;
}

.save-project-btn{
	margin-top:1em;
}


/*** Quick save button ***/
.sticky-save-btn-wrapper {
	position: -webkit-sticky;
	position: sticky;
	top: 70%;
	z-index:20;
	display: inline-block;
    float: right;
    margin-top: -50px;
}

.quick-save-btn {
	border-radius:10px !important;
	background-color:#E9E9E9 !important;
	color:#000 !important;
    font-weight: 500 !important;
	font-size:0.9em !important;
	float:right;
	padding-left: 1em !important;
	padding-right:1em !important;
	margin-right:1em;
	box-shadow: 0px 0px 1px 1px lightgray, 0 0 15px darkgray;
}

.quick-save-btn:hover {
	background-color:#e1e1e1 !important;
}



.dewriter-btn {
	border-radius:10px !important;
	background-color:#E9E9E9 !important;
	color:#000 !important;
    font-weight: 500 !important;
	font-size:0.9em !important;
	padding-left: 1em ;
	padding-right:1em ;
	margin-bottom:1.5em;
	margin-right:1em;
	line-height:1.5 !important;
}
.dewriter-btn:hover {
	background-color:#e1e1e1 !important;
}
.activeAnalysisBtn {
	background-color:#d3d3d3 !important;
}

.activeArticlesBtn {
	background-color:#d3d3d3 !important;
}
.activeSettingsBtn {
	background-color:#d3d3d3 !important;
}

/* articles tools buttons */
.action-btn {
	border-radius:5px !important;
	background-color:#E9E9E9 !important;
	color:#000 !important;
    font-weight: 500 !important;
	font-size:1.2em !important;
	padding-left: 1em !important;
	padding-right:1em !important;
	margin-right:1em;
}
.action-btn:hover { 
	background-color:#e1e1e1 !important;
}


/*** TABLES ***/
.dewriter-table, th, tr, td {
    border: none;
	font-size:12px;
}
.dewriter-table thead {
	font-weight:bold;
}
.dewriter-table, td {
    border-bottom: 1px solid lightgray !important;
}

/* Synonym search button */
.get-synonym-btn {
	width: 20% !important;
    padding: 0.75em !important;
    float: left;
    line-height: 1.3 !important;
	background-color:#E9E9E9 !important;
	color:#000 !important;
	border-radius:0px !Important;
}
.get-synonym-btn:hover{
	background-color:#e1e1e1 !important;
}

/*** EDITOR ***/
.ck-editor__editable_inline {
    min-height: 500px !important;
}

/*** CONTENT TIPS ***/
.tips-heading {
	padding-top:0.5em;
	font-weight:bold;
	font-size:1.1em;
}

/*** ANALYSIS TABS ***/
.analysis-field-wrapper {
	margin-top:1em;
	width:100%;
}
.analysis-field {
	width:100%;
	float:left;
	padding-top:1em;
	padding-bottom:2em;
	border: 1px solid #ECECEC;
}

.tab-link-wrapper {
	padding-left:1em;
}

.tab-link {
	margin-right:2em;
	font-size:1.1em;
	font-weight:700;
	color:#7E7F7F;
}
.tab-link-wrapper>.active {
	color:#2B2B2B !important;
}
.tab-link .active {
	
}

.tab-content {
	padding-left:1em;
	padding-top:1em;
}

.tab-content>.analysis-content {
	display:none;
}
.tab-content>.active {
	display:inline-block !important;
}

.text-analysis-description {
	font-weight:600 !important;
}

.dewriter-summary-divider {	
	border-bottom: 1px solid lightgray !important;
    margin-top: 1em !important;
    margin-bottom: 1em !important;	
	margin-right:1em !important;
}

.keywords {
	font-size:0.9em;
}
.key-words-col {
	float:left;
	padding-right:2em;
}
.key-phrases-col {
	float:left;
}


/*** SYNONYMS ***/

.get-synonym-input {
	/*width:70% !important;*/
	float:left;
}

form.index-search-form {
  	position: relative;
  	display: inline-flex;
	clear:both;
}

button[name="submit"] {
  position: absolute;
  top: 0;
  right: 0;
}

input.search-box {
  	width: 100% !important;
  	font-family: FontAwesome;
  	padding: 2px 0;
	border-radius:0px !important;
}

.synonym-card-btn {
	margin-top:-1em;
	margin-bottom:1.5em;
	font-size: .8em;
	cursor: pointer;
}
.synonym-btn-text {
	padding-top:0.3em;
	padding-bottom:0.3em;
}

.synonym-def-data {
	line-height:1.5;
	font-size:14px;
	clear:both;
}
.def-title {
	font-weight:700;
	margin-bottom: 0em !important;
}

/*** BETA CONTENT ***/
.restricted-title {
	font-weight:700;
	font-size:0.8em;
	margin-top:30px;
	margin-bottom:0.5em;
}
.restricted-text {
	font-size:0.8em;
}

/*** WIKI ***/
.wiki-wrapper a{
	font-size:12px;
}
.wiki-title {
	font-weight:700;
	margin-bottom: 0em !important;
}
.wiki-summary p{
	margin-bottom:.5em;
}

.wiki-sumary-text {
	font-size:0.8em;
}

.wiki-url-wrapper {
	margin-bottom: 30px !important;
}

.wiki-url-wrapper>.back-to-synword-href {
	padding-left:1em;
}
.wiki-related-data {
	font-size:12px;
	font-weight:600;
	margin-top:1em;
	margin-bottom:0px !important;
}

.wiki-href {
	padding-right:.6em;
}

/*** BULLETS ***/
.bad {
  display:list-item;
  list-style:none;
  margin-left:1em;
}
.bad::before {
  	content: "\2022"; color: red;
  	font-size:1.5em;
  	display: inline-block; width: 1em;
  	margin-left: -1em
}

.ok {
  display:list-item;
  list-style:none;
  margin-left:1em;
}
.ok::before {
  content: "\2022"; color: orange;
  font-size:1.5em;
  display: inline-block; width: 1em;
  margin-left: -1em
}
.good {
  display:list-item;
  list-style:none;
  margin-left:1em;
}
.good::before {
  content: "\2022"; color: green;
  font-size:1.5em;
  display: inline-block; width: 1em;
  margin-left: -1em
}


/*** SPINNER ***/
.spinner {
	display:inline-block;
	border: 4px solid #f3f3f3; /* Light grey */
	border-top: 4px solid #bdbdbd; /* darker gray */
	border-left: 4px solid #d4d3d3; /* darker gray */
	border-bottom: 4px solid #e6e4e4;
	border-radius: 50%;
	width: 20px;
	height: 20px;
	animation: spin 1.5s linear infinite;
	float:left;	
	margin-bottom:1em;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.spinner-project {
	margin-left:50%;
}

.spinner-synonyms {
	width: 100%;
    padding-left: 35%;
    margin-top: 1em;
	clear:both;
}

/*** TOOLS ***/

.divider-solid {
	margin-top:1.5em;
	margin-bottom:1.5em;
	border-bottom: 1px solid #ECECEC;
}

/*** FOOTER ***/
.site-footer {
	margin-top:60px;
}


/**********************/
/***** PDF EXPORT *****/
/**********************/

.pdf-main-field-col {
	max-width:70%;
}

.pdf-content-meta-wrapper {
	
}
.pdf-content-meta-left {
	width:50%;
	float:left;
	padding:1em;
	font-size:0.8em;
}

.pdf-content-meta-right {
	width:50%;
	float:left;
	padding:2em;
	font-size:0.8em;
	background-color:rgb(248, 248, 248);	
}
.pdf-project-meta {
	margin-bottom:0em !important;
	font-size:1em;
}
.pdf-content-meta {
	margin-bottom:0em !important;
	font-size:1em;
}

.pdf-project-title {
	padding-left:1em;
}
.pdf-title {
	font-size:1.5em !important;
	font-weight:600;
}

.pdf-heading {
	font-size:1.5em !important;
	font-weight:600;
	text-transform: uppercase;
}
.pdf-full-column {
	float:left;
	clear:both;
	padding:1em;
	width:100%;
}
.pdf-main-content {
	margin-top:2em;
}

.pdf-raw-content {
	padding:2em;
	background-color:rgb(245, 245, 245);
}
.pdf-markup code{
	font-size:0.8em;
}

#export-to-pdf-btn {
	border-radius:10px !important;
	background-color:#E9E9E9 !important;
	color:#000 !important;
    font-weight: 500 !important;
	font-size:0.9em !important;
	padding: 1em ;
	text-transform:uppercase;
}
#export-to-pdf-btn:hover{
	background-color:#e1e1e1 !important;
}




/***********************/
/****** FOR MOBILE *****/
/***********************/
@media only screen and (max-width: 768px) {
  
	/*** set some new grid sizes ***/
	.main-col-content {
		height:100%;
	}
		
	.left-field-col {
		width: 100%;
		padding-left: 2em;
		padding-right: 2em;
	}
	
	.main-field-col {
		width: 100%;
	}
	
	.right-field-col {
		width: 100%;
		float: left;
		padding-left: 2em;
		padding-right: 2em;
	}
	
	.column-one-forth {
		width:50%;
	}
	
	
	/* The left sidepanel - tips */
	.open-sidepanel-tips-btn {
		display:inline-block;
	}
	
	.close-sidepanel-tips-btn {
		float:right;
		display:inline-block;
	}
	
	.sidepanel-tips {
		height: 100%; /* Specify a height */
		/*width: 0; /* 0 width - change this with JavaScript */
		position: fixed; /* Stay in place */
		z-index: 50; /* Stay on top */
		top: 0;
		left: 0;
		bottom: 30px;
		background-color:#fff;
		overflow-x: hidden; /* Disable horizontal scroll */
		overflow-y: scroll;
		padding-top: 60px; /* Place content 60px from the top */
		transition: 0.5s; /* 0.5 second transition effect to slide in the sidepanel */
	}
	
	/* The right sidepanel - synonyms */
	.open-sidepanel-synonyms-btn {
		display:inline-block;
		float:right;
		margin-right:0 !important;
	}
	
	.close-sidepanel-synonyms-btn {
		float:right;
		display:inline-block;
	}
	
	.sidepanel-synonyms {
		height: 100%; /* Specify a height */
		/*width: 0; /* 0 width - change this with JavaScript */
		position: fixed; /* Stay in place */
		z-index: 50; /* Stay on top */
		top: 0;
		right: 0;
		bottom: 30px;
		background-color:#fff;
		overflow-x: hidden; /* Disable horizontal scroll */
		overflow-y: scroll;
		padding-top: 60px; /* Place content 60px from the top */
		transition: 0.5s; /* 0.5 second transition effect to slide in the sidepanel */
	}
	
	
	.activated-sidepanel {
		width:100%;
	}
	.inactivated-sidepanel {
		width:0%;
	}
	
	.sticky {
		position: static;
		padding-top: 1em;
	}
	
	.sticky-header-tools {
		padding-top: 30px;
	}
	
	/*** Buttons ***/
	.action-btn {
		border-radius: 0 !important;
		background-color: #fff !important;
		color: #000 !important;
		font-weight: 500 !important;
		font-size: 1em !important;
		padding-left: .5em !important;
		padding-right: .5em !important;
		margin-right: 0; 
	}
	
	/*** Sticky buttons ***/
	
	.sticky-btn-wrapper {
		position: -webkit-sticky;
		position: sticky;
		top: 20%;
		z-index:20;
		
	}
	
	.sticky-save-btn-wrapper {
		top: 80%;
	}
	
	.open-sidepanel-btn {
		box-shadow: 0px 0px 1px 1px lightgray, 0 0 15px darkgray;
	}
		
	.open-sidepanel-tips-btn {
		float:left;
	}
	

}