/*

# ------------------ BEGIN LICENSE BLOCK ------------------

#

# This file is part of MowXml : http://www.mowxml.org

#

# Package:		theme.css

# Copyright (c) 2018, 2019 MowXml

# Authors		Daniel F., Cédric F.

#

# ------------------- END LICENSE BLOCK -------------------

*/



/* ---------- Authentication ---------- */



.logo {

	background-image: url(images/mowxml.png);

	margin: 10% auto 20px auto;

	height: 80px;

	width: 250px;

}



.auth {

	border: 1px solid #bbb;

	border-radius: .6rem;

	overflow: hidden;

}



.auth .error {

	background-color: #e43d29;

	color: #eee;

	padding: .7rem;

	text-align: center;

}



/* ---------- Main ---------- */



.main.grid {

	margin-right: 0;

}



/* ---------- Aside ---------- */



.aside {

	background-color: #222;

	bottom: 0;

	overflow: auto;

	padding-right: 0;

	position: fixed;

	top: 0;

}



.aside,

.aside a {

	color: #ddd;

}



.aside .header {

	line-height: 1.3;

}



.aside .unstyled-list {

	margin-bottom: 0;

	margin-top: 0;

	padding: .7rem;

}



.aside .unstyled-list.profil {

	background-color: #333;

	border-top: 1px solid #888;

	border-bottom: 1px solid #888;

}



.aside .unstyled-list a:hover {

	text-decoration: none;

}



.aside .version {

	color: #aaa;

}



.aside .menu.expanded .badge,

.aside .menu.expanded .active a .badge {

	background-color: #e43d29;

	color: #fff;

	font-size: 1rem;

}



.aside .menu.expanded li:hover {

	background-color: #444;

}



.aside .menu-config {

	background-color: #333;

	white-space: nowrap;

}



.aside .menu.expanded li a {

	border-radius: 0;

}



.aside .menu.expanded li.active a,

.aside .menu.expanded li.active:hover {

	background-color: #fff;

	color: #444;

}



a.lnkdelete {

	font-weight: bold;

	text-decoration: underline;

}



a.lnkdelete:hover {

	text-decoration: none;

}



/* ---------- Section ---------- */



.section {

	margin-bottom: 2rem;
	margin-top: 13rem;

}



.section .action-bar {

	background-color: #eee;

	border-bottom: 1px solid #ddd;

	left: 16.6666%;

	right: 0;

	margin-left: -1.5rem;

	height: 12rem;

	padding: .7rem 1.7rem .7rem 1.7rem;

	position: fixed;

	top: 0;

	z-index: 1;

}



.section .action-bar p,

.section .action-bar ul {

	margin: .2rem 0;

}



.section .action-bar h2 {

	font-size: 2.5rem;

	margin-top: 0;

	margin-bottom: 0;

}



@media (max-width: 1023px) {

	.section .action-bar {

		left: 25%;

	}

}



@media (max-width: 767px) {

	.auth {

		margin-top: 0;

	}

	.aside .header {

		background-color: #555;

		padding-top: 3.5rem;

	}

	.aside .header li {

		display: inline;

	}

	.aside .header .unstyled-list {

		padding: 1rem;

	}

	.aside .responsive-menu {

		max-height: 200px;

		overflow-y: auto;

		position: fixed;

		top: 0;

		width: 100%;

		z-index: 9999;

	}

	.aside .responsive-menu,

	.aside .responsive-menu label {

		background-color: #222;

		text-align: right;

	}

	.aside .back-site:after,

	.aside .back-blog:after {

		content: ' |';

	}

	.aside .profil {

		border: none;

	}

	.aside,

	.section .action-bar {

		position: relative;

	}

	.section,

	.section .action-bar {

		left: 0;

	}

	.section .action-bar {

		/*background-color: inherit;*/

		margin: 0 0 1.5rem 0;

		padding: 0;

		z-index: inherit;

	}

	.section {

		margin-top: 1.5rem;

		padding: 0 1rem 0 2.5rem;

	}

}



.selected {

	color: #444;

}



.p_page,

.p_prev,

.p_first,

.p_last,

.p_next,

.p_current {

	padding: 4px 5px;

	display: inline-block;

}



.p_current {

	color: #258fd6;

}



.p_page:first-letter {

	text-transform: uppercase;

}



a.btnDelete {

	display: inline;

	color: #e43d29;

	text-decoration: none;

}



.divtitle {

	display: inline;

}



.icon {

	text-align: center;

}



.new td[colspan="2"],

.new td[colspan="3"] {

	text-align: center;

}



button,

input,

select,

textarea {

	width: auto;

}



#id_content,

#id_chapo,

#id_frontend,

#id_backend {

	resize: vertical;

}



#statics-table input:not([type="checkbox"]),

#categories-table input:not([type="checkbox"]),

#users-table input:not([type="checkbox"]) {

	width: 100%;

}



input[maxlength="3"] {

	width: 4rem !important;

	text-align: right;

}



#medias-table td {

	height: 6rem;

}



#articles-table td:nth-child(4),

#comments-table td:nth-child(3),

#medias-table td:nth-child(3),

#plugins-table td:nth-child(3) {

	width: 100%;

	min-width: 200px;

	/* Mozilla, since 1999 */

	white-space: -moz-pre-wrap !important;

	/*Chrome & Safari */

	white-space: -webkit-pre-wrap;

	/* Opera 4-6 */

	white-space: -pre-wrap;

	/* Opera 7 */

	white-space: -o-pre-wrap;

	/* css-3 */

	white-space: pre-wrap;

	/* Internet Explorer 5.5+ */

	word-wrap: break-word;

	word-break: break-all;

	white-space: normal;

}



#plugins-table img,

#medias-table img {

	max-width: 48px;

	padding-top: 7px;

}



#medias-table {

	margin-top: 10px;

}



#medias-table td:nth-of-type(5) {

	text-align: right;

}



#medias-table td:nth-of-type(6) {

	text-align: center;

}



.publication input {

	font-weight: bold;

	color: #777;

}



.day,

.month {

	width: 2.8rem;

}



.year,

.time {

	width: 4.5rem;

}



.inline-form.publication input,

.inline-form.creation input,

.inline-form.update input {

	font-size: 1.3rem;

}



.readonly {

	background-color: #ddd;

	color: #aaa;

}



input.readonly:focus {

	border-color: #aaa;

}



input.readonly:hover {

	cursor: not-allowed;

}



#id_link {

	width: 100%;

}



.alert {

	margin: 0 0 1rem;

}



.help {

	cursor: help;

}



form .col {

	position: inherit;

}



a.hint {

	width: 16px;

	height: 16px;

	cursor: help;

	display: inline-block;

	text-decoration: none;

	font-size: 1.2rem;

}



a.hint::before {

	color: #fff;

	background-color: #999;

	width: 16px;

	height: 16px;

	display: inline-block;

	border-radius: 100%;

	font-size: 12px;

	text-align: center;

	text-decoration: none;

	-webkit-box-shadow: inset -1px -1px 1px 0px rgba(0, 0, 0, 0.25);

	-moz-box-shadow: inset -1px -1px 1px 0px rgba(0, 0, 0, 0.25);

	box-shadow: inset -1px -1px 1px 0px rgba(0, 0, 0, 0.25);

	content: '?';

}



a.hint span {

	background-color: #777;

	color: #fff;

	display: none;

	margin-left: 1.3rem;

	margin-top: 1.3rem;

	max-width: 300px;

	padding: .4rem;

	position: absolute;

	z-index: 9999;

}



a.hint:hover span,

a.hint:focus span {

	display: inline-block;

}



.ddcat {

	width: 150px;

	border-color: transparent;

	background-color: transparent;

	margin-left: 0;

	padding-left: 0;

	padding-right: 15px;

	position: relative;

	/*Removes border*/

	border: 0 !important;

	/*Removes default chrome and safari style*/

	-webkit-appearance: none;

	/*Removes default style Firefox*/

	-moz-appearance: none;

	background: url(images/arrow-down.png) no-repeat;

	/*Position of the background-image*/

	background-position: 100% 7px;

	text-indent: 0.01px;

	text-overflow: "";

}



.ddcat::-ms-expand {

	width: 0;

	border: none;

	background: transparent;

}



.type-admin {

	background-color: #F0F8FF;

	padding: 2px 5px;

}



.in-action-bar {

	top: 0;

	margin-top: 4em;

	position: fixed;

	z-index: 99999;

	width: 100%;

}



@media (max-width: 767px) {

	.section .action-bar {

		text-align: center;

	}

	.in-action-bar {

		position: absolute;

		margin-top: 3.5rem;

		z-index: -1;

	}

	#plugin .section,

	#parametres_plugin .section,

	#parametres_plugincss .section,

	#parametres_pluginhelp .section {

		margin-top: 1rem;

	}

	button,

	input[type="button"],

	input[type="reset"],

	input[type="submit"] {

		margin-top: 3px;

	}

}



.notification {

	position: fixed;

	top: -1px;

	z-index: 999999;

	text-align: center;

	margin: 0 auto;

	padding: 2px 15px 2px 15px;

	border: 1px solid;

	font-size: 13px;

	font-weight: bold;

	color: #000;

}



.error {

	background-color: #ffcfcf;

	border-color: #df8f8f;

}



.success {

	background-color: #fff1a8;

	border-color: #e6db55;

}



.warning {

	margin: 10px 320px 10px 0;

	padding: 10px 5px 10px 20px;

	border: 1px solid #df8f8f;

	font-size: 13px;

	width: 100%;

	background-color: #ffcfcf;

}



tr input {

	margin: .2rem 0;

}



td {

	white-space: nowrap;

}



td.wrap {

	white-space: normal;

}



th.checkbox {

	width: 15px;

}



/* pour l'indentation des commentaires */



.level-0 {

	margin-left: 0;

}



.level-1 {

	margin-left: 50px;

}



.level-2 {

	margin-left: 100px;

}



.level-3 {

	margin-left: 150px;

}



.level-4 {

	margin-left: 200px;

}



.level-5 {

	margin-left: 250px;

}



#id_answer {

	margin-bottom: 10px;

	padding: 15px;

	border: 1px solid #eee;

	width: 100%;

	background: #fafafa;

	display: none;

}



.comment {

	background-image: url('images/user.png');

	background-repeat: no-repeat;

	margin-bottom: 2rem;

	padding-left: 4rem;

}



.comment blockquote {

	margin-left: 0;

}



.nbcom {

	background-color: #258fd6;

	color: #fff;

	padding: .2rem .3rem;

}



.author {

	max-width: 12rem;

	text-overflow: ellipsis;

	overflow-x: hidden;

}



/* pour la fenêtre modale de la visionneuse d'image */



.modal {

	display: block;

	width: 100%;

	position: absolute;

}



.modal__overlay {

	background: #000;

	top: 0;

	right: 0;

	bottom: 0;

	left: 0;

	position: fixed;

	z-index: 999;

	text-align: right;

}



.modal__box {

	text-align: center;

}



.modal input {

	position: absolute;

	right: 100px;

	top: 30px;

	z-index: -10;

	display: none;

}



.modal label {

	color: #fff;

	cursor: pointer;

	display: inline-block;

	font-weight: bold;

	-webkit-transition: all 0.55s;

	transition: all 0.55s;

	padding: 10px;

}



@media (max-width: 767px) {

	.modal label {

		background-color: #000;

		position: fixed;

		right: 0;

		top: 2rem;

	}

}



.modal label:hover {

	color: #258fd6;

	-webkit-transform: scale(0.97);

	-ms-transform: scale(0.97);

	transform: scale(0.97);

}



.modal__box img {

	max-height: 100%;

}



.modal__overlay {

	opacity: 0;

	overflow: hidden;

	-webkit-transform: scale(0.5);

	-ms-transform: scale(0.5);

	transform: scale(0.5);

	-webkit-transition: all 0.75s cubic-bezier(0.19, 1, 0.22, 1);

	transition: all 0.75s cubic-bezier(0.19, 1, 0.22, 1);

	visibility: hidden;

}



input:checked~.modal__overlay {

	opacity: 1;

	-webkit-transform: scale(1);

	-ms-transform: scale(1);

	transform: scale(1);

	-webkit-transition: all 0.75s cubic-bezier(0.19, 1, 0.22, 1);

	transition: all 0.75s cubic-bezier(0.19, 1, 0.22, 1);

	z-index: 800;

	visibility: visible;

}



/* gestion des themes */



.img-preview {

	width: 200px;

	max-width: 200px;

	height: 200px;

	background-color: #ccc;

	border: 1px solid #ddd;

	padding: 5px;

	-moz-border-radius: 7px;

	-webkit-border-radius: 7px;

	border-radius: 7px;

}



.img-preview.current {

	background-color: #E4EFFF !important;

	border: 1px solid #9FC6FF;

}



tr.checked {

	background-color: #E4EFFF;

}



/* image d'accroche */



#id_thumbnail_img {

	margin-top: 10px;

}



#id_thumbnail_img img {

	max-width: 100%;

}



/* champs de recherche */



#index-search,

#medias-search,

#plugins-search {

	background: url('images/search.png') 5px 7px no-repeat;

	padding-left: 30px;

}



/* gestionnaire de médias */



div.ico {

	font-size: 16px;

	color: #ccc;

	display: inline-block;

	margin-left: 5px;

	position: relative;

}



div.ico:hover {

	cursor: pointer;

	color: #555;

}



div.ico div {

	font-size: 11px;

	display: none;

	background-color: #666;

	color: #eee;

	display: none;

	padding: 1px 3px 1px 3px;
	margin-left: 5px;

	border-radius: 2px;

	border: 1px solid #888;

}



/* The Dialog (background) */



.dialog {

	/* Hidden by default */

	display: none;

	/* Stay in place */

	position: fixed;

	/* Sit on top */

	z-index: 9999;

	/* Location of the box */

	padding-top: 100px;

	left: 0;

	top: 0;

	/* Full width */

	width: 100%;

	/* Full height */

	height: 100%;

	/* Enable scroll if needed */

	overflow: auto;

	/* Fallback color */

	background-color: rgb(0, 0, 0);

	/* Black w/ opacity */

	background-color: rgba(0, 0, 0, 0.4);

}



/* Dialog Content */



.dialog-content {

	background-color: #fefefe;

	margin: auto;

	padding: 20px;

	border: 1px solid #888;

	width: 40%;

	min-width: 250px;

}



/* The Close Button */



.dialog-close {

	color: #aaaaaa;

	float: right;

	font-size: 28px;

	font-weight: bold;

}



.dialog-close:hover,

.dialog-close:focus {

	color: #000;

	text-decoration: none;

	cursor: pointer;

}



/* ------- MEDIASMANAGER ------ */



body.mediasManager .aside {

	display: none;

}



body.mediasManager main.grid {

	margin-left: 0;

}



body.mediasManager .section .action-bar {

	left: 0;

	right: 0;

	margin-right: 0;

	margin-left: 0;

}



@media (min-width: 48rem) {

	body.mediasManager .col.med-offset-3 {

		margin-left: 0;

	}

	body.mediasManager .col.med-9 {

		width: 100%;

	}

}



@media (min-width: 64rem) {

	body.mediasManager .col.lrg-offset-2 {

		margin-left: 0;

	}

	body.mediasManager .col.lrg-10 {

		width: 100%;

	}

}



/* ----------- Drag and Drop for sorting table rows ---------- */



table[data-rows-num] th:first-of-type,

table[data-rows-num] td:first-of-type {

	padding-left: 12px;

}



table[data-rows-num] tr[draggable] td:first-child {

	background: url(' data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAECAYAAACzzX7wAAAAGUlEQVR42mNggIKCgoL/IIyLj1sB+TqhAAB5gyTxdLI4kwAAAABJRU5ErkJggg==') left repeat-y;

}



table[data-rows-num] tr[draggable]:hover {

	background-color: #f9f9f9;

}



table[data-rows-num] tr[draggable].dragElem {

	opacity: 0.3;

}



table[data-rows-num] tr[draggable].over {

	background-color: #d8d8d8;

}



select {

	height: 30px;

	margin: 8px 0;

	background: #fff url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAAPFBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADQLyYwAAAAE3RSTlMADQ46Ozw9SElKS0y5x+zz9Pj5WslQRAAAAQdJREFUeJztzlcOwkAQBFFyxjbM/e9KFsbrNGK3V6Cq/1a/yYSIiIiIiIiIiIiIfqRp8kF/q2LtG+yLedT/yk4uwf5sZUTBsjJzCa7/FlFw//cI7v/xBMvSzCV4/scSLF7/ZueN6z+OoPY/TlD7jyI4mLkEH/9mh68Bs6NL0Pg/zr4G+AQJ/l2CJP8OQaL/ULAV/48UJPwfJUj6P0KQ+H9QkPx/QCD4DwU78X+PQPTfKZD9dwiE/60C6X+LQPwfCtT/gUD+3yfQ/HcLVP9dAt1/u0D53ybQ/ocC9X9ToP//FOT4rwvy/L8Fuf5fgnz/D0HO/5sg7/9VkPmfiIiIiIiIiIiIiP6gC0vzP5P1npi3AAAAAElFTkSuQmCC") no-repeat;

	background-size: 20px;

	background-position: right center;

	font-family: 'Arial';

	-webkit-appearance: none;

	-moz-appearance: none;

	overflow: hidden;

	padding: 0 20px 0 3px;

}



select {

	/*for firefox*/

	-moz-appearance: none;

	/*for chrome*/

	-webkit-appearance: none;

}



/*for IE10*/



select::-ms-expand {

	display: none;

}





/* ---- parametres_plugins ---- */



#form_plugins span[data-scope] {

	padding: 2px 5px 0 5px;

	font-size: 1.2rem;

}



#plugins-table tbody tr[data-scope] td.wrap strong:first-of-type {

	padding: 0.2rem 0.5rem;

}



#form_plugins span[data-scope="admin"],

#plugins-table tbody tr[data-scope="admin"] td.wrap strong:first-of-type {

	background-color: #258fd6;

	color: #fff;

}



#form_plugins span[data-scope="site"],

#plugins-table tbody tr[data-scope="site"] td.wrap strong:first-of-type {

	background-color: green;

	color: #fff;

}

