/* Overriding WordPress native styles */

.ocdi {
	max-width: none;
}
.ocdi svg{
	width: 45px;
  float: right;
  margin-left: 10px;
  position: relative;
}
.ocdi .ocdi__title{
	font-size: 24px;
  line-height: 37px;
  margin-bottom: 15px;
  color: #415aa8;
}
.ocdi .charsoogh-docs{
	position: absolute;
	left: 40px;
	top: 4px;
	border: 0;
	font-size: 14px;
	padding: 10px 10px;
	color: #868686;
	border-right: 1px dashed #ccd0d4;
}

.ocdi .charsoogh-docs:hover{
  border-right: 1px solid;
}

.ocdi h2 {
	text-align: inherit;
}

.ocdi h2:first-child,
.ocdi h3:first-child {
	margin-top: 0;
}

.ocdi hr {
	margin: 2.62em 0;
}

.feature-section + hr {
	margin-top: 0;
}

#wpbody select {
	height: auto;
	padding: .62em;
	line-height: inherit;
}

.ocdi .notice {
	display: block !important;
}

/* Plugin elements */

.ocdi__demo-import-files {
	width: 100%;
}

.ocdi__demo-import-preview-image-message {
	font-style: italic;
}

/* Plugin title */

.ocdi__title:before {
	width: auto;
	height: auto;
	font-size: inherit;
}

/* Plugin intro text */

.ocdi__intro-text ul {
	padding: 0 4%;
	list-style-type: square;
}

/* Plugin switch import mode link*/
.ocdi__import-mode-switch {
	float: right;
}

/* Plugin multi select import and Plugin file upload containers */

.ocdi__file-upload,
.ocdi__multi-select-import,
.ocdi__demo-import-notice:not(:empty) {
	padding: 4%;
	margin: 1.62em 0;
	background-color: #ffffff;
	border: 1px solid #e5e5e5;
}

.ocdi__file-upload {
	margin: 0;
	margin-bottom: -1px;
}

.ocdi__file-upload span {
	font-size: .81em;
	font-weight: normal;
	opacity: .66;
}

.ocdi__demo-import-notice:not(:empty) {
	border: 0;
	border-left: 4px solid #00a0d2;
	-webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
	box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
}

[dir="rtl"] .ocdi__demo-import-notice:not(:empty) {
	border: 0;
	border-right: 4px solid #00a0d2;
}

/* Plugin button */

.ocdi__button-container {
	margin-top: 1.62em;
}

/* AJAX loader */

p.ocdi__ajax-loader {
	font-size: 1.5em;
	display: none;
}

.ocdi__ajax-loader .spinner {
	display: inline-block;
	float: none;
	visibility: visible;
	margin-bottom: 6px;
}


/* New grid layout */

.ocdi__gl-navigation li a {
	-webkit-box-shadow: none;
	box-shadow: none;
}

.ocdi__gl-item {
	float: left;
	width: 100%;
	margin: 0 0 20px 0;
	position: relative;
	border: 1px solid #ddd;
	-webkit-box-shadow: 0 1px 1px -1px rgba(0,0,0,0.1);
	box-shadow: 0 1px 1px -1px rgba(0,0,0,0.1);
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	border-radius: 10px;
	overflow: hidden;
	-webkit-transition: all 0.3s ease-in-out 0s;
	transition: all 0.3s ease-in-out 0s;
}

.ocdi__gl-item:hover{
	box-shadow: 0px 0px 7px #c1c1c1;
}

.ocdi__gl-item-image-container {
	display: block;
	overflow: hidden;
	position: relative;
	-webkit-backface-visibility: hidden;
	-webkit-transition: opacity 0.2s ease-in-out;
	transition: opacity 0.2s ease-in-out;
}

.ocdi__gl-item-image-container::after {
	content: "";
	display: block;
	padding-top: 66.66666%;
}

.ocdi__gl-item-image {
	height: auto;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	-webkit-transition: opacity 0.2s ease-in-out;
	transition: opacity 0.2s ease-in-out;
}

.ocdi__gl-item-image--no-image {
	display: inline-block;
	width: 50%;
	text-align: center;
	position: absolute;
	top: 45%;
	right: 25%;
	left: 25%;
}

.ocdi__gl-item-footer {
	height: 30px;
	margin: 0;
	padding: 10px;
	-webkit-box-shadow: inset 0 1px 0 rgba(0,0,0,0.1);
	box-shadow: inset 0 1px 0 rgba(0,0,0,0.1);
	background: #ffffff;
	background: rgba(255,255,255,0.65);
}


h4.ocdi__gl-item-title {
	width: 70%;
	overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: inline-block;
  margin: 6px 0 0 0;
  text-align: revert;
  float: right;
}

.ocdi__gl-item-footer--with-preview h4.ocdi__gl-item-title {
	width: calc(100% - 165px);
	font-family: 'IRANSans', tahoma !important;
	font-size: 14px;
}

.ocdi__gl-item-button {
	float: right;
}

.ocdi__gl-item-button + .ocdi__gl-item-button {
	margin-right: 5px;
}

@media (max-width: 782px) {
	h4.ocdi__gl-item-title,
	.ocdi__gl-item-footer--with-preview h4.ocdi__gl-item-title {
		width: 100%;
		margin-bottom: 10px;
	}

	.ocdi__gl-item-button {
		width: calc(50% - 10px);
		margin-bottom: 10px;
	}

	.ocdi__gl-item-button + .ocdi__gl-item-button {
		float: left;
	}

	.ocdi__gl-item-footer {
		height: 72px;
	}
}

.ocdi__gl-header {
	display: inline-block;
	width: calc(100% - 40px);
	background-color: #ffffff;
	margin-bottom: 20px;
	padding: 0 20px;
	border-radius: 5px;
	margin-top: 1rem;
}

.ocdi__gl-navigation {
	font-size: 13px;
	width: 100%;
	float: right;
}

.ocdi__gl-navigation ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

.ocdi__gl-navigation li {
	float: right;
	margin: 0 15px;
}

.ocdi__gl-navigation li.active a,
.ocdi__gl-navigation li.active a:hover {
	border-bottom: 4px solid #028faf;
}

.ocdi__gl-navigation li a {
	display: block;
	text-align: center;
	text-decoration: none;
	color: #444444;
	border-bottom: 4px solid #ffffff;
	padding: 15px 0;
}

.ocdi__gl-navigation li a:hover {
	color: #00a0d2;
	border-bottom: 4px solid #ffffff;
	cursor:pointer;
}

.ocdi__gl-search-input {
	width: 100%;
	margin: 10px 0;
}

@media (min-width: 640px) {
	.ocdi__gl-navigation {
		width: calc(100% - 180px);
	}

	.ocdi__gl-navigation li {
		margin: 0;
	}

	.ocdi__gl-navigation li a {
		padding: 15px;
	}

	.ocdi__gl-search-input {
		display: inline-block;
		width: 180px;
		height: 30px;
		margin: 0;
		margin-top: 11px;
	}

	.ocdi__gl-item-container {
		margin-right: -20px;
	}

	.ocdi__gl-item {
		width: calc(50% - 20px);
		margin: 0 20px 20px 0;
	}
}

@media (min-width: 1120px) {
	.ocdi__gl-item-container {
		margin-right: -30px;
	}

	.ocdi__gl-item {
		width: calc(33.333% - 30px);
		margin: 0 30px 30px 0;
	}
}

/* Grid animations */
@keyframes ocdi-fade {
	from {
		opacity: 1;
	}

	to {
		opacity: 0;
	}
}

.ocdi-is-fadeout {
	animation: ocdi-fade linear 200ms 1 forwards;
}

.ocdi-is-fadein {
	animation: ocdi-fade linear 200ms 1 reverse forwards;
}

/* Grid layout modal window */

.ocdi__modal-image-container {
	width: 100%;
	height: 180px;
	margin: 0;
	overflow: hidden;
}

.ocdi__modal-item-title {
	margin-top: 0.5em;
	font-weight: bold;
	border-right: 4px solid #00a0d2;
	padding-right: 5px;
}

.ocdi__modal-image-container img {
	width: 100%;
}

.ocdi__modal-notice.ocdi__demo-import-notice:not(:empty) {
	border: 1px solid #e5e5e5;
	border-right: 4px solid #00a0d2;
	margin: 1em 0 0;
}

/* Redux */
.ocdi__redux-option-name-label {
	margin-right: 5px;
}
