/*-------------------------------------------------------------------------*/
/*	1.	Browser Reset + Font Face
/*-------------------------------------------------------------------------*/

:root {
	--red: #f73149;
	--black: #000;
	--white: #fff;
	--accent: #146c82;
	--dashboardAccent: #2271b1;
	--grey: #c5c5c5;
    --bigWidth: 1400px;
    --mediumWidth: 980px;
}

html, body, div, span, applet, object, iframe, table, caption, tbody, tfoot, thead, tr, th, td, 
del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, 
h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, 
dl, dt, dd, ol, ul, li, fieldset, form, label, legend{vertical-align:baseline; font-family:inherit; font-weight:inherit; font-style:inherit; font-size:100%; outline:0; padding:0; margin:0; border:0}
*{scroll-behavior: smooth;}

:focus{outline:0}
p:empty{display: none;}
input[type=submit]{appearance:none}
html{text-rendering: optimizeLegibility;max-width:  100%; overflow-x:hidden; overflow-y: auto;}

body{max-width:  100%; background:white; font-family:'Open Sans',sans-serif; color:#000; position:relative; min-height: 100vh;display: flex;flex-flow: column nowrap;-webkit-overflow-scrolling: touch;}

body:not(.page-dashboard){overflow:hidden;}

ol, ul{list-style:none}

input[type=text]::-ms-clear{    display:none}

sup{font-size:10px; vertical-align:super}

sub{font-size:10px; vertical-align:sub}
 
/*p:empty{display:none}*/
a{text-decoration: none;cursor: pointer;}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section{    display:block}




@font-face {
	font-family: 'OpenSans';
	src: url('fonts/OpenSans-Regular.ttf')  format('truetype');
	font-weight: normal;
	font-display: swap;
	
}

@font-face {
	font-family: 'OpenSans';
	src: url('fonts/OpenSans-Bold.ttf')  format('truetype');
	font-weight: bold;
	font-display: swap;
}

.menu,
.flex{
	display: flex;
}
.grid{
	display: grid;
}
.col-1{
	grid-template-columns: repeat(1, 1fr);
}
.col-2{
	grid-template-columns: repeat(2, 1fr);
}
.col-3{
	grid-template-columns: repeat(3, 1fr);
}
.col-4{
	grid-template-columns: repeat(4, 1fr);
}
.col-5{
	grid-template-columns: repeat(5, 1fr);
}
.col-6{
	grid-template-columns: repeat(6, 1fr);
}
.col-7{
	grid-template-columns: repeat(7, 1fr);
}
.col-8{
	grid-template-columns: repeat(8, 1fr);
}
.col-9{
	grid-template-columns: repeat(9, 1fr);
}
.col-10{
	grid-template-columns: repeat(10, 1fr);
}
.col-11{
	grid-template-columns: repeat(11, 1fr);
}
.col-12{
	grid-template-columns: repeat(12, 1fr);
}


.width-100{
    width: 100%;
}

.height-200 {
    height: 280px;
}


.justifyCenter{
	justify-content:center;
}

.justifyBetween{
	justify-content: space-between;
}


.alignCenter{
	align-items: center;
}
.flexColumn{
	flex-flow: column;
}
.flexWrap{
    flex-wrap: wrap;
}



.edit_page{
    position: fixed;
    top: 0;
    z-index: 9999;
    width: 100vw;
    background-color: #23282d;
    padding: 12px 0;
    color: #fff;
}
.edit_page img{
	height: 22px;
	margin: 0 8px;
	filter: invert(1);
}

.edit_page a {
    text-align: right;
    color: #fff;
    opacity: 1;
    transition: opacity .4s;
    margin: 0 32px 0 10px;
    font-size: 16px;
}

.edit_page a:hover{
	opacity: .7;
}

body.edit_page_open{
	margin: 46px 0 0;
}
body.edit_page_open .editPageButton{
	display: none;
}


body.page-dashboard{
	padding: 0;
}

body.page-dashboard header{
	display: none;
}

.dasboard{
	min-height: 100vh;
	grid-template-columns: 160px 1fr;
	background-color: #f0f0f1;
}

.dasboard aside,
.dasboard main{
	height: 100%;
}

.dasboard aside{
	grid-column: 1 / 2;
	background-color: #23282d;
}
.dasboard main {
    grid-column: 2 / 13;
    background-color: #f0f0f1;
    width: 100%;
}

.dasboard aside ul {
    margin: 12px 0;
    position: sticky;
    top: 12px;
}


.dasboard aside ul li {
    padding: 8px 0px 8px 5px;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
}
.dasboard aside ul li a{
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    color: #fff;
    justify-content: flex-start;
    border-left: 4px solid transparent;
}

.dasboard aside ul.submenu{
	display: none;
	background-color: #2c3338;
}


.dasboard aside li.current ul.submenu{
	display: block;
}


.dasboard aside ul.submenu li a {
    height: 34px;
    display: flex;
    align-items: center;
    padding: 0 0 0 8px;
    line-height: 1.5;
}

.dasboard aside ul li a:hover{
	border-left-color: var(--dashboardAccent);
}

.dasboard aside ul li.current > a:hover{
	border-left-color: var(--white);
}

.dasboard aside ul li a:hover,
.dasboard aside ul li.current a{
	position: relative;
}
.dasboard aside ul li.current > a::after{
	content: '';
	display: block;
	right: 0;
    border: solid 8px transparent;
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-right-color: #f0f0f1;
    top: 50%;
    margin-top: -8px;
}

.dasboard aside ul li.current > a{
    background-color: var(--dashboardAccent);
}

.dasboard aside ul li .icon__wrap{
	width: 36px;
    height: 34px;
    filter: invert(1);
    margin: 0 4px 0 0;
    opacity: 0.6;
}


.dasboard aside ul li.current a .icon__wrap,
.dasboard aside ul li a:hover .icon__wrap{
	opacity: 1;
}

.dasboard aside ul li .icon__wrap img{
	padding: 7px 0;
    display: block;
    width: 100%;
    height: auto;
}

.dasboard main h1{
	padding: 16px 0 16px 24px;
	font-size: 20px;
    color: #000;
	font-weight: bold;
}
.dasboard main table{
	padding: 8px 12px;
	border-collapse: collapse;
    border-spacing: 0;
	width: 100%;
}

.dasboard main table tr th,
.dasboard main table tr td{
	padding-left: 48px;
    padding-top: 8px;
    padding-bottom: 8px;
    font-size: 13px;
    color: rgba(0, 0, 0, 0.87);
    border-bottom: solid 1px #DDDDDD;
    white-space: normal;
    overflow: hidden;
    vertical-align: middle;
    text-align: left;
	background-color: #fff;
}

.dasboard main table tr td.title {
    width: 405px;
	max-width: 405px;
}
.dasboard main table tr td.num {
    width: 90px;
	max-width: 90px;
}

.dasboard main table thead th{
	border-top: solid 1px #DDDDDD;
	font-weight: bold;
	color: #000;
	background-color: #fff;
}


.dasboard main table tr th:first-of-type,
.dasboard main table tr td:first-of-type{
	padding: 0 0 0 24px;
	border-left: solid 1px #DDDDDD;
	width: 170px;
}

.dasboard main table tr th:last-of-type,
.dasboard main table tr td:last-of-type{
	border-right: solid 1px #DDDDDD;
	padding-right: 16px;
}

.dasboard main table tr.unpublished td:nth-of-type(2){
	text-decoration: line-through;
}

.dasboard main table tr td:last-of-type{
	padding: 0 14px 0 48px;
}

.dasboard main table tr:nth-of-type(odd) td{
	background-color: #f6f7f7;
}

#table__posts{
	padding: 0 24px 24px;
}

.dasboard .pagination__wrap .button{
	display: inline-block;
}

.dasboard .pagination__wrap{
	padding: 8px 0;
}



.dasboard #table__posts .title a:visited,
.dasboard #table__posts .title a,
.dasboard #table__posts .category a:visited,
.dasboard #table__posts .category a{
	color: var(--dashboardAccent);
	font-weight: normal;
	display: inline;
	text-decoration: underline;
}

.dasboard .form-search input{
	padding: 0 8px;
	line-height: 2;
	min-height: 30px;
}

.dasboard .form-search button{
	display: inline-block;
    text-decoration: none;
    font-size: 13px;
    line-height: 2.15384615;
    min-height: 30px;
    margin: 0;
    padding: 0 10px;
    cursor: pointer;
    border-width: 1px;
    border-style: solid;
    -webkit-appearance: none;
	appearance: none;
    border-radius: 3px;
    white-space: nowrap;
    box-sizing: border-box;
	color: #2271b1;
    border-color: #2271b1;
    background: #f6f7f7;
	margin: 0 0 0 12px;
}
.dasboard .form-search button:hover{
	background: #f0f0f1;
	border-color: #0a4b78;
	color: #0a4b78;
}

.permalink{
	margin: 6px 0 0;
    display: block;
}


body.template-admin h1 {
    font-size: 36px;
    font-weight: bold;
    margin: 30px 0 !important;
}

.ui-dialog {
    border: none;
    padding: 0;
    z-index: 10000;
}