@charset "utf-8";

/* RESET
----------------------------------------------------------------------------------------*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    vertical-align: baseline;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}
img, embed, object, video { max-width: 100%; }
.ie6 img.full, .ie6 object.full, .ie6 embed, .ie6 video { width: 100%; }

/* BASE
----------------------------------------------------------------------------------------*/

html,
body{
    position:relative;
    min-height: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    font-family: 'Roboto', sans-serif;
	font-size:17px;
}
strong{
    font-weight: 500;
}
i{
    font-style: italic;
}
.overflow-hidden{
    position: relative;
    overflow: hidden;
}
.content a{
    color: #00a8e3;
    text-decoration: none;
}
.content a:hover{
    text-decoration: underline;
}
.scroll-to-link{
    cursor: pointer;
}
p, .content ul, .content ol{
    color: #777A7A;
    margin-bottom: 16px;
    line-height: 1.6;
    font-weight: 300;
}

code,
pre{
    font-family: 'Source Code Pro', monospace;
}
.higlighted{
    background-color: rgba(0,0,0,0.05);
    padding: 3px;
    border-radius: 3px;
}

/* LEFT-MENU
----------------------------------------------------------------------------------------*/

.left-menu{
    position: fixed;
    z-index: 3;
    top: 0;
    left: 0;
    bottom: 0;
    width: 300px;
    box-sizing: border-box;
    background-color: #f4f5f8;
    overflow-x: hidden;
    font-size: 18px;
	margin-top:50px
}
.content-infos {
    position: relative;
    padding: 12px 0;
    max-width: 1000px;
    margin: 0 auto;
}
}
.info {
    position: relative;
    margin-top: 5px;
    color: #777A7A;
}
.info b {
    font-weight: 500;
    color: #034c8f;
}
.content-logo{
    position: relative;
    display: inline-block;
    box-sizing: border-box;
	min-width: 240px;
}
.content-logo img{
    display: inline-block;
    max-width: 70%;
    vertical-align: middle;
}
.content-logo span{
    display: inline-block;
    margin-left: 10px;
    vertical-align: middle;
    font-size: 1.1em;
}
.content-menu{
    padding: 0 0 100px;
}
.content-menu ul{
    list-style: none;
    margin: 2px 0;
    padding: 0 10px;
    line-height: 28px;
}
.content-menu ul li{
    list-style: none;
    margin: 3px 0;
    padding: 0;
    line-height: 0;
	border-radius: 6px;
	position: relative;
}
.content-menu ul li:hover,
.content-menu ul li.active{
    background-color:#DCDEE9;
}

.top-bar{
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 4;
	background-color: #f4f5f8;
	height: 38px;
	padding: 6px 12px;
}



@media (hover: none) {
    .content-menu ul li:not(.active):hover {
        background-color: inherit;
    }
    .content-menu ul li:not(.active):hover a {
        color: #777A7A;
    }
}
.content-menu ul li a{
    padding: 12px 20px 12px 8px;
    color: #777A7A;
    letter-spacing: 0.025em;
    line-height: 1.1;
    display: block;
}

.content-menu ul > ul a{
	padding: 6px 10%;
	font-size: 0.9em;
	margin: 2px 0;
}

.content-menu ul > ul{
	display: none;
}

.content-menu ul > ul.active{
	display: block;
}

/* CONTENT-PAGE
----------------------------------------------------------------------------------------*/

.content-page {
    position: relative;
    box-sizing: border-box;
    margin-left: 300px;
    z-index: 2;
    background-color: #fff;
    min-height: 100%;
    padding-bottom: 1px;
	margin-top: 50px;
}
.content-code{
    width: 50%;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: #323f4c;
    border-color: #323f4c;
}
.content {
    position: relative;
    z-index: 30;
	padding: 1em;
	padding-top: 2em;
}
.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6,
.content p,
.content table,
.content aside,
.content dl,
.content ul,
.content ol,
.content .central-overflow-x {
    padding: 0 28px;
    box-sizing: border-box;
    display: block;
}
.content .central-overflow-x {
    margin-right: calc(50% + 28px);
    margin-left: 28px;
    padding: 0;
    overflow-y: hidden;
    max-width: 100%;
    display: block;
}
.content p .central-overflow-x {
    margin-right: 0;
    margin-left: 0;
}
.break-word {
    word-break: break-word;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6 {
    margin-top: 0.5em;
    margin-bottom: 0.8em;
	padding: 0;
}

h1{
	font-size: 2.5em;
}

h2{
	font-size: 2em;
}

h3{
	font-size: 1.7em;
}

h4{
	font-size: 1.2em;
}

h5{
	font-size: 1em;
}

h6{
	font-size: 0.8em;
}

.content pre{
    background-color: #323f4c;
    border-color: #323f4c;
    color: #fff;
    padding: 0 28px 2em;
    margin: 0;
    width: 50%;
    float: right;
    clear: right;
    box-sizing: border-box;
}
.content pre code, .content pre {
    font-size: 12px;
    line-height: 1.5;
}
.content blockquote,
.content pre,
.content pre code{
    padding-top: 0;
    margin-top: 0;
}

.content pre{
	background-color: #1E2224;
}

.content blockquote p{
	margin: 0;
	color: #eee;
}

.content pre code{
    margin-top: -2em;
}

.content table {
    font-size: 0.9em;
    margin-bottom: 1.5em;
    border-collapse: collapse;
    border-spacing: 0;
}
.content table tr:last-child {
    border-bottom: 1px solid #ccc;
}
.content table th {
    font-size: 0.925em;
    padding: 5px 18px 5px 0;
    border-bottom: 1px solid #ccc;
    vertical-align: bottom;
    text-align: left;
    line-height: 1.6;
}
.content table td {
    padding: 5px 18px 5px 0;
    text-align: left;
    vertical-align: top;
    line-height: 1.6;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    color: #777A7A;
}


/* burger-menu-icon
----------------------------------------------------------------------------------------*/
.burger-menu-icon {
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
    padding: 0;
    position: absolute;
    right: 26px;
    top: 3px;
    display: none;
}
.burger-menu-icon .line {
    fill: none;
    stroke: #000;
    stroke-width: 6;
    transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
        stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}
.burger-menu-icon .line1 {
    stroke-dasharray: 60 207;
    stroke-width: 6;
}
.burger-menu-icon .line2 {
    stroke-dasharray: 60 60;
    stroke-width: 6;
}
.burger-menu-icon .line3 {
    stroke-dasharray: 60 207;
    stroke-width: 6;
}
html.menu-opened .burger-menu-icon .line1 {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
    stroke-width: 6;
}
html.menu-opened .burger-menu-icon  .line2 {
    stroke-dasharray: 1 60;
    stroke-dashoffset: -30;
    stroke-width: 6;
}
html.menu-opened .burger-menu-icon  .line3 {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
    stroke-width: 6;
}

/* RESPONSIVE
----------------------------------------------------------------------------------------*/

@media only screen and (max-width:980px){
    .content h1, .content h2, .content h3, .content h4, .content h5, .content h6, .content p, .content table, .content ul, .content ol, .content aside, .content dl, .content ul, .content ol {
        margin-right: 0;
    }
    .content .central-overflow-x {
        margin: 0;
        padding: 0 28px;
    }
    .content-code{
        display: none;
    }
    .content pre, .content blockquote {
        padding: 28px;
        display: block;
        width: auto;
        float: none;
    }
    .content pre code {
        margin-top: 0;
    }
	
	.content pre{
		margin-bottom: 28px;
	}
}

@media only screen and (max-width:680px){
    html {
        scroll-padding-top: 83px;
    }
    html.menu-opened {
        overflow: hidden;
    }
    .left-menu {
        position: relative;
        width: auto;
		margin-top:0px;
    }
    .left-menu .content-menu {
        position: fixed;
        width: 400px;
        max-width: 90vw;
        z-index: 3;
        top: 0;
        bottom: 0;
        right: -405px;
        left: auto;
        background-color: #fff;
        margin: 0;
        overflow-x: hidden;
        padding-top: 83px;
        padding-bottom: 20px;
    }
    .left-menu .content-menu ul {
        position: relative;
    }
    .left-menu .mobile-menu-closer {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 2;
        background-color: rgba(50, 63, 76, .5);
        opacity: 0;
        visibility: hidden;
    }
    html.menu-opened .left-menu .mobile-menu-closer {
        opacity: 1;
        visibility: visible;
    }
    html.menu-opened .left-menu .content-menu {
        right: 0;
    }
    .left-menu .content-logo {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 4;
        background-color: #f4f5f8;
    }
    .content-logo .logo {
        margin-right: 65px;
    }
    .content-page{
        margin-left: 0;
    }
    .burger-menu-icon {
        display: block;
    }
    #menu_hide_button {
        display: none !important;
    }
	
	.content-infos{
		padding: 12px;
	}
	
	body.dark .left-menu .content-menu {
		background-color: #2F3136;
	}
	
	#new_button,
	#sort_button,
	.top_button,
	.search{
		display:none !important;
	}
	
	.content{
		padding-top:1em;
	}
}

/* BROWSER AND NON-SEMANTIC STYLING
----------------------------------------------------------------------------------------*/

.cf:before, .cf:after { content: ""; display: block; }
.cf:after { clear: both; }
.ie6 .cf { zoom: 1 }

.save-statusbar {
	position: fixed;
	bottom: 0;
	right: 0;
	left: 0;
	background: #222527;
	border-radius: 8px;
	padding: 8px 15px;
	z-index: 10;
	user-select: none;
	color: white;
	max-width: 50vw;
	margin: auto;
	margin-bottom: 10px;
	transition: all 0.1s ease-out;
}

.save-statusbar {
	visibility: hidden;
	bottom: -100%;
	opacity: 0;
}
.save-statusbar.active {
	opacity: 1;
	visibility: visible;
	bottom: 0;
}

.save-statusbar span{
	font-size: 1.2em;
	line-height: 1.8em;
}

.save-statusbar button{
	display: inline-block
}

button.save-button {
	display: inline-block;
	padding: 8px 12px;
	transition: all 150ms ease;
	cursor: pointer;
	border-radius: 0.3rem;
	background: #3BA55D;
	text-align: center;
	user-select: none;
	color: white;
	border: 0;
	font-size: 1em;
	
}

button.save-button:hover {
	background: #2D7D46;
}

button.btn-link {
	display: inline-block;
	padding: 8px 12px;
	transition: all 150ms ease;
	cursor: pointer;
	background: transparent;
	text-align: center;
	user-select: none;
	color: #777A7A;
	border: 0;
	font-size: 1em;
}

button.btn-link:hover {
	text-decoration:underline;
}

.buttons-statusbar{
	float: right;
}

.hide{
	transition: opacity 1s ease-out;
	opacity: 0;
	display: none !important;
}

.avatar {
	display:inline-block;
	vertical-align: middle;
	max-width: 100%;
	border-radius: 50%;
	height: auto;
	position: relative;
	/* border: 2px solid #fff; */
}

.avatar_block{
	display:inline-block;
	position: relative;
}

.avatar_block .online,
.avatar_block .online-home{
	display: none;
}

.avatar_block.selected::after{
	font-family: 'FontAwesome';
	font-size: 3em;
	content: "\f00c";
	position: absolute;
	color: green;
	left: 35%;
	top: 25%;
	transition: .2s all ease;
}

.avatar_block.selected:hover::after{
	opacity: 0.4;
	transition: .2s all ease;
}

.avatar_block.selected:hover .avatar{
	opacity: 0.7;
	transition: .2s all ease;
}

.avatar_block.selected .avatar{
	opacity: 0.3;
	transition: .2s all ease;
}

.avatar text{
	font-family:Impact;
	font-size: 4em;
}

small{
	font-size: 0.8em;
}

button.btn {
	padding: 8px 12px;
	transition: all 150ms ease;
	cursor: pointer;
	border-radius: 0.3rem;
	text-align: center;
	user-select: none;
	color: white;
	border: 0;
	font-size: 1em;
	display:inline-block;
	line-height: 1.2em;
}

button.btn.green{
	background: #3BA55D;
}

button.btn.green:hover {
	background: #2D7D46;
}

button.btn.red{
	background: #B22222;
}

button.btn.red:hover {
	background: #CD5C5C;
}

button.btn.white{
	background: #F9F9F9;
	color: #777A7A;
	border: 1px solid #E8E8E8;
}

button.btn.white:hover {
	background: #E8E8E8;
}


.cdx-anchor-tune-wrapper {
    display: flex;
}

.cdx-anchor-tune-icon {
    width: 12px;
    height: 22px;
    margin-left: 7px;
}

.cdx-anchor-tune-icon svg {
    vertical-align: inherit;
}

.cdx-anchor-tune-input {
    width: 80px;
    border: 0;
    box-sizing: border-box;
    margin-left: 7px;
    outline: none;
}

.cdx-anchor-tune{
	width:0;
	height:0;
	display: block;
}

.ce-tune-alignment--center img {
	margin-left: auto;
	margin-right: auto;
}

.tc-cell:first-child{
	border-left: 1px solid var(--color-border);
}

body.dark .tc-wrap {
	--color-border:#777;
}

body.dark .cdx-quote__text {
	background-color: #2f3136;
}

body.dark .image-tool--loading .image-tool__image{
	background-color: #2f3136;
}

.text-center{
	text-align:center;
}

.modal {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	align-items: center;
	justify-content: center;
	display: none;
	overflow-y: auto;
	z-index: 1100;
}

.modal .modal-dialog {
	position: relative;
}

.modal.active {
	display: flex;
}

.modal {
	background: rgba(0, 0, 0, 0.5);
	cursor: pointer;
}

.modal-dialog {
	padding: 20px 10px 10px 10px;
	background: #fff;
	width: 100%;
	max-width: 500px;
	cursor: auto;
	border-radius:6px;
	min-height: 50px;
	padding-top: 40px;
}

.modal_cross {
	width: 20px;
	height: 20px;
	position: absolute;
	top: 10px;
	right: 10px;
	fill: #444;
	cursor: pointer;
}

#modal_content{
	max-height: 80vh;
	overflow-y: auto;
	overflow-x: hidden;
}

@media(max-width: 768px) {
	.modal-dialog {
		min-height: calc(100vh - 20px);
	}
}

.size-10 .image-tool__image-picture{
	width: 10%;
}
.size-20 .image-tool__image-picture{
	width: 20%;
}
.size-30 .image-tool__image-picture{
	width: 30%;
}
.size-40 .image-tool__image-picture{
	width: 40%;
}
.size-50 .image-tool__image-picture{
	width: 50%;
}
.size-60 .image-tool__image-picture{
	width: 60%;
}
.size-70 .image-tool__image-picture{
	width: 70%;
}
.size-80 .image-tool__image-picture{
	width: 80%;
}
.size-90 .image-tool__image-picture{
	width: 90%;
}


.plus2X{
	font-size: 2em;
}

.text-center{
	text-align: center;
}

.top_button{
	position: fixed;
	bottom: 15px;
	right: 15px;
	background-color: #fff;
	border: 2px solid #e1e1e1;
	border-radius: 6px;
	padding: 6px 12px;
	z-index: 2;
	cursor: pointer;
}

.themes{
	display: inline-block;
	float: right;
	padding: 4px;
}

.themes > button{
	width: 22px;
	height: 22px;
	border-radius: 6px;
	border: 1px solid #b8b9b49e;
	outline: 0;
	cursor: pointer
}

body.gray .content-page{
	background-color: #E2E2E2;
}

body.dark{
	color: #DCDDDE;
}

body.dark .content-page, html{
	background-color: #36393F;
}

body.dark .left-menu,
body.dark .top-bar{
	background-color: #2F3136;
}

body.dark .content-menu ul li:hover, 
body.dark .content-menu ul li.active {
	background-color: #42464D;
	color:#DCDDDE;
}

body.dark .content-menu ul li a{
	color:#DCDDDE;
}

.menu_show_button{
	position: fixed;
	top: 15px;
	left: 15px;
	background-color: #fff;
	border: 2px solid #e1e1e1;
	border-radius: 6px;
	padding: 6px 12px;
	z-index: 2;
	cursor: pointer;
	display: none;
}

body.menu_hide .content-page{
	margin-left: 0px;
}

body.menu_hide .left-menu {
	width: 0;
}

body.menu_hide .menu_show_button{
	display: block;
}

.arrow-icon {
	width: 16px;
	display: block;
	padding: 4px;
	margin: 1em auto;
	position: relative;
	cursor: pointer;
	border-radius: 4px;
	position: absolute;
	right: 0;
	top: 0;
}

.left-bar {
	position: absolute;
	background-color: transparent;
	top: 0;
	left: 0;
	width: 12px;
	height: 3px;
	display: block;
	transform: rotate(35deg);
	float: right;
	border-radius: 2px;
}
.left-bar:after {
	content: "";
	background-color: #777A7A;
	width: 12px;
	height: 3px;
	display: block;
	float: right;
	border-radius: 6px 10px 10px 6px;
	transition: all 0.5s cubic-bezier(0.25, 1.7, 0.35, 0.8);
	z-index: -1;
}

.right-bar {
	position: absolute;
	background-color: transparent;
	top: 0px;
	left: 8px;
	width: 12px;
	height: 3px;
	display: block;
	transform: rotate(-35deg);
	float: right;
	border-radius: 2px;
}
.right-bar:after {
	content: "";
	background-color: #777A7A;
	width: 12px;
	height: 3px;
	display: block;
	float: right;
	border-radius: 10px 6px 6px 10px;
	transition: all 0.5s cubic-bezier(0.25, 1.7, 0.35, 0.8);
	z-index: -1;
}

li.open .left-bar:after {
	transform-origin: center center;
	transform: rotate(-70deg);
}
li.open .right-bar:after {
	transform-origin: center center;
	transform: rotate(70deg);
}

.search{
	margin: 0px 20px;
	width: 310px;
	display: inline-block;
	position: relative;
}

.search input{
	padding: 9px 18px;
	border-radius: 9px;
	background-color: #ECECEC;
	font-size: 16px;
	line-height: 19px;
	border: 0px;
	outline-width: 0;
	width: 100%;
	box-sizing: border-box;
	transition: background-color 0.1s linear, 
				border-color 0.1s linear, 
				box-shadow 0.1s linear, 
				-webkit-box-shadow 0.1s linear;
}

.search input:hover,
.search input:active,
.search input:focus{
	background-color: #ffffff;
	border: 0px;
	outline: none;
}

.search > .search-results{
	line-height: 1.5em;
	background-color: #fff;
	-webkit-box-shadow: 0 4px 8px rgba(0,0,0,0.06), 0 0 1px rgba(0,0,0,0.25);
	box-shadow: 0 4px 8px rgba(0,0,0,0.06), 0 0 1px rgba(0,0,0,0.25);
	border-radius: 8px;
	overflow: hidden;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	position: absolute;
	width: 100%;
	margin-top: 5px;
	display: none;
}

.search-content{
	padding: 5px;
	min-height: 30px;
}

.search-results a{
	border-radius: 6px;
	padding: 6px 12px;
	width: 100%;
	display: block;
	box-sizing: border-box;
}

.search-results a:hover{
	cursor: pointer;
	background: rgba(0,0,0,0.05);
}

.search-results p{
	margin:0px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/*
.search.active input:focus + .search-results{
	display: block;
}
*/

.search.active > .search-results{
	display: block;
}


.image-tool__caption,
.embed-tool__caption{
	margin-top: 0px !important;
	box-shadow: unset !important;
	padding: 0 !important;
	color: #777A7A;
	font-style: italic;
}
.ce-toolbox{
	color: black;
}

.icon_date{
	background-color: #777A7A;
	-webkit-mask: url(../images/calendar-days-solid.svg) no-repeat center;
	mask: url(../images/calendar-days-solid.svg) no-repeat center;
	width: 1em;
	height: 1em;
	display: inline-block;
}

.ce-popover__items,
.left-menu{
	scrollbar-width: thin;
}

body.dark .search input{
	background-color: #36393f;
	color: #DCDDDE;
}

body.dark .search input{
	background-color: #36393f;
	color: #DCDDDE;
}
body.dark .search input:hover,
body.dark .search input:active,
body.dark .search input:focus,
body.dark .search > .search-results{
	background-color: #42464D;
}

body.dark .ce-toolbar__plus,
body.dark .ce-toolbar__settings-btn{
	color: #DCDDDE;
}

body.dark .ce-toolbar__plus:hover,
body.dark .ce-toolbar__settings-btn:hover{
	color: black;
}


body.dark .icon_date{
	background-color: #DCDDDE;
}

body.dark .burger-menu-icon .line{
	stroke: #DCDDDE;
}

body.dark .modal-dialog {
	background: #2f3136;
}

/*
body.dark .btn.white{
	background-color: #42464D !important;
	color: #DCDDDE;
	border: 1px solid #2F3136 !important;
}
*/