/*!
 * Copyright 2017 - OlaSoft
 * https://www.olasoft.net
 * @OlaSoftBenin
 * contact@olasoft.net
 */

html:root{
    --nav-width: 240px;
    --header-height: 60px;
    --footer-height: 0px;

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

    --btn-height: 40px;
    --btn-font-size: 16px;
    --h1-size: 24px;
    --h2-size: 18px;

    --blocked-color: rgb(231, 63, 26);
    --pending-color: rgb(201, 0, 26);
    --inprogress-color: rgb(232, 204, 6);
    --available-color: rgb(10, 169, 188);
    --reviewed-color: rgb(255, 153, 0);
    --commented-color: rgb(232, 204, 6);
    --completed-color: var(--success-color-alt);

    --enabled-background: rgba(7, 165, 146, .15);
    --not-enabled-background: rgba(221,221,221,.3);
    --blocked-background: rgba(231, 63, 26, .15);
    --pending-background: rgba(201, 0, 26, .1);
    --inprogress-background: rgba(232, 204, 6, .1);
    --available-background: rgba(10, 169, 188, .1);
    --reviewed-background: rgba(255, 153, 0, .1);
    --commented-background: rgba(232, 204, 6, .1);
    --completed-background: var(--enabled-background);
}
@media(max-width:768px){
	html:root{
		--header-height: 50px;
	}
}

*{color: #4B4B4B;}
body{
    min-height: 100%;
    width: 100%;
    overflow: auto;
}

body > .container{padding: 25px 25px;}
fieldset h2{
    border-bottom: 1px solid #ccc;
    width: 100%;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    padding-bottom: 7px;
}

#btnMenu{
	height: 42px;
	width: 48px;
	top: 0;
	left: calc(var(--nav-width) - 48px);
	padding-right: 17.5px;
	z-index: 20;
    transition: all .2s;
}
@media(max-width:768px){
	#btnMenu{
		height: var(--header-height);
		width: var(--header-height);
	}
}

#btnMenu > span{
    height: 2px;
    width: 20px;
    background: var(--white-color);
    overflow: visible;
    position: relative;
}

#btnMenu > span::after, #btnMenu > span::before{
    position: absolute;
    content: "";
    height: 2px;
    display: block;
    background: inherit;
    right: 0;
    transition: all .2s;
}

#btnMenu > span::before{width: 16px; top: -6px;}
#btnMenu > span::after{width: 24px; bottom: -6px;}
#btnMenu:hover > span::before, #btnMenu:hover > span::after,
#btnMenu.closed:hover > span::before, #btnMenu.closed:hover > span::after
{width: 24px;}

nav{
    position: fixed;
    left: 0px;
    height: 100vh;
    width: var(--nav-width);
    z-index: 10;
    transition: all .2s;
    box-shadow: 0 1px 1px -2px rgba(0,0,0,.14), 0 1px 2px 0 rgba(0,0,0,.098), 0 1px 5px 0 rgba(0,0,0,.084);
}

nav > div:first-child{
    height: 48px;
    box-shadow: 0px 2px 1px 0px rgba(0,0,0,.14);
    padding: 0 10px;
}
@media(max-width:768px){
	nav > div:first-child{
		height: var(--header-height);
	}
}

nav h2{font-size: 24px; max-width: 100%; overflow: hidden; white-space: nowrap;}
nav.closed:not(:hover) h2{max-width: 0%}

#menubox > a{
    height: 24px;
    line-height: 24px;
    text-align: center;
    font-size: 12px;
    font-weight: 400;
}

#menubox{
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 10px 0px;
}

nav menu, nav ul{list-style-type: none;}
nav menu > li{
    color: inherit;
    font-size: 14px;
    line-height: 19px;
    position: relative;
    padding: 0 10px;
}

nav menu > li:hover, nav menu > li.opened{background: rgba(255,255,255,.08);}
nav menu > li + li{margin-top: 10px;}
nav menu > li > ul::after{
    position: absolute;
    display: block;
    content: "";
    height: 10px;
    width: 10px;
    right: 25px;
    top: 5px;
    border-right: 2px solid var(--white-color);
    border-bottom: 2px solid  var(--white-color);
    transform: rotate(45deg);
    transition: all linear .5s;
    opacity: 1;
}

nav menu > li.opened > ul::after{
    transform: rotate(225deg);
    top: 10px;
}
nav.closed:not(:hover) menu > li > ul::after{opacity: 0;}

nav menu > li > a, nav menu > li > span{
    height: unset;
    padding: 5px 0;
    vertical-align: middle;
    white-space: nowrap;
    cursor: pointer;
}

nav menu > li > span > i, nav menu > li > a > i{
    color: inherit;
    width: 18px;
    text-align: center;
    margin-right: 5px;
}

nav menu > li > ul{
    padding-left: 10px;
    color: inherit;
    max-height: 0vh;
    overflow: hidden;
    font-size: 14px;
    line-height: 19px;
    margin-bottom: 0px;
    border-top: 1px solid rgba(0,0,0,0);
    transition: all .5s linear;
}

nav menu > li.opened > ul{max-height: 100vh; border-top: 1px solid rgba(0,0,0,.1);}
nav menu > li > ul > li:last-child{margin-bottom: 10px;}

nav menu > li > ul > li > a{
    padding: 10px 0;
    position: relative;
    padding-left: 25px;
}

nav menu > li > ul > li + li > a{
    padding: 6px 0;
    position: relative;
    padding-left: 25px;
}

nav menu > li > ul > li > a::before{
    content: "";
    height: 8px;
    width: 8px;
    display: block;
    position: absolute;
    left: 0;
    top: 10px;
    border-right: 1px solid var(--white-color);
    border-top: 1px solid var(--white-color);
    transform: rotate(45deg);
    transform-origin: 0;
}

nav.closed:not(:hover){overflow: hidden;}
nav.closed:not(:hover) h2 span, nav.closed:not(:hover) div > a{display: none;}
nav.closed:not(:hover) menu *{overflow: hidden;}
nav.closed:not(:hover) > menu > li > ul::after{display: none;}

@media(min-width:769px){
	nav.closed:not(:hover),
	#btnMenu.closed + #container,
	#btnMenu.closed + #container > header,
	#btnMenu.closed + #container + div,
	nav.closed:not(:hover) + #btnMenu.closed,
	#btnMenu.closed + #container + div + #footer
	{--nav-width: 58px;}
}
@media(max-width:768px){
	nav{left: unset; right: calc(100% - var(--nav-width));}
	nav.closed{right: 100%;}
	nav.closed + #btnMenu{ left: 5px}
}

#container, #container + div{
    position: fixed;
    background-color: #fefefe;
    height: calc(100vh - var(--header-height) - var(--footer-height));
    top: var(--header-height);
    overflow: auto;
    width: calc(100% - var(--nav-width));
    max-width: calc(100% - var(--nav-width));
    left: var(--nav-width);
}

#footer{
    position: fixed;
    left: var(--nav-width);
    bottom: 0;
    width: calc(100% - var(--nav-width));
    height: var(--footer-height);
    opacity: 1;
    background-image: var(--background-image);
    background-position: center center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

#container + div{
    background: rgba(0, 0, 0, .15);
    z-index: 21;
}
@media(max-width:768px){
	#container, #container + div{
		left: 0;
		max-width: 100vw;
		width: 100vw;
		padding: 10px;
	}
}


#container + div{display: none;}
#container.loading + div{display: flex;}
#container.loading > *:not(header){filter: grayscale(100%);}

header{
    background-color: #fafafa;
    position: fixed;
    top: 0px;
    width: calc(100% - var(--nav-width));
    left: var(--nav-width);
    box-shadow: 0 1px 1px -2px rgba(0,0,0,.14), 0 1px 2px 0 rgba(0,0,0,.098), 0 1px 5px 0 rgba(0,0,0,.084);
    height: var(--header-height);
    z-index: 15;
}
@media(max-width:768px){
	header{
		left: 0;
		max-width: 100vw;
		padding: 5px 10px;
	}
}

header h1{
    color: #000;
    font-size: 18px;
    line-height: 23px;
    text-transform: uppercase;
    font-weight: 600;
}

header h2{
    color: var(--success-color);
    font-size: 16px;
    line-height: 21px;
    font-weight: 500;
}

.square{
    width: 40px;
    height: 40px;
    font-size: 22px;
    text-align: center;
    display: inline-block;
    cursor: pointer;
    vertical-align: middle;
}

.square.success{color: var(--success-color)}
.square.success.alt{color: var(--success-color-alt)}
.square.warning{color: var(--warning-color)}
.square.error{color: var(--error-color)}
.square.fa, .square > .fa{line-height: 40px;}
.square.radius{border-radius: 50%;}
.square.min{
    font-size: 18px;
    width: 28px;
    height: 28px;
}
.square.min.fa{line-height: 28px;}

*[data-notices]{overflow: visible; position: relative}
*[data-notices]::after{
	width: 18px;
	height: 18px;
	line-height: 18px;
	content: attr(data-notices);
	background: var(--warning-color);
	border-radius: 50%;
	position: absolute;
	left: 50%;
	top: -15%;
	color: #fff;
	font-size: 11px;
	font-family: var(--font-name);
	font-weight: 900;
	text-align: center;
}
li[data-notices]::after{left: 2%; top: 3%}

header .user{
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAZiS0dEAAAAAAAA+UO7fwAAAAlwSFlzAAAASAAAAEgARslrPgAAAwJJREFUaN7tmc1rk0EQxn9NbcUYLfbjILU3URFKA2rrBx4sPXnXqvUiIh7Uq1a9W681rVr8E8STX+DnxZPoSRHRkzVYaBQUS0krJB52Xygx72Znd9+EYh6YQ5LNMzO7s7Ozs9BEE/83WgLxtAKDwCFgF7AD2Axk9O8LwDfgI/AWeAm8BkqNnoA+4DqQB8pC+QpMAL2NMLwHmAGWHAyvlCXgJtBVL+NPAD8CGF4pBeBokoa3AXcSMLxSpoE1oY1PA4/qYHwk94F1IWdeYnwRmASGgPVahoAb+jeJE0FWQhI2eWDAwJVFlrGmfY0fE878gAVnVrgSzhu7B1m2mRRw5wS8BRxT7IxASRl1Ettir5BbHEpbkB9SGQF/RshdJObETsUoOA+0S70WQFqDrQXO2Q5uxa22STKEysAsVSa82goM4lZgnRSMHXPg7wN22wy84jA7UZxmLfizuBeB4zYO3HMkjw4ykxNZ3MIzkrs2Drz3UFDWs5tDxXlGyz79nW/5/c7GgSRK5VBSqDS22iaW5PN6Y4ONA6sK1crVBaDTk7eEusT/0p87UKnZt4nw28aBOQcHloEnwHPgFfABWKwYkwZ2AgeBES3S037OZpAkjX5BlR0uK9YJXECdsEHT6GULoj96XIh6qR24qjlr6b1kQ1irTlkGhgMYXokRzW3SvceGKIVqOsWRXEzA+AjjmMPVOmtOGIiSbEB1G/RekxCZLjSnEnTgdIzO2AuNCbdiyBZRtU1o7Nfc1XTmXAi7ge8xhD+1wlA4oDmr6ZrH42A9RnxMFoEznoa3AGcxt1mO+M7ObQN5GXgK9Dvw9gPPanBP+RoPqrX4sIaiEqr9eBzYaODqQHW3H+v/mDitWou2xVUadYwfthhbAj4Dn1BxDbAJ2AZsxS6XPwBG+bee8kIb8ZkppEzZzLwPRlE3o9CGzxNgw9qiC9XukzRpTdksh/8dxAm9qLJDUhJHMosqD7we+UI9s6ZQTadh1DPrdm3YymfWPGpjvwFeoJ5bG/7M2kQTqx1/AU1+x8lDo2PKAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDE4LTEyLTA0VDA4OjQwOjE4KzAwOjAwE0fm6QAAACV0RVh0ZGF0ZTptb2RpZnkAMjAxOC0xMi0wNFQwODo0MDoxOCswMDowMGIaXlUAAAAodEVYdHN2ZzpiYXNlLXVyaQBmaWxlOi8vL3RtcC9tYWdpY2stZWxuTTFFbTZO+i2PAAAAAElFTkSuQmCC);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}

header .actions-box{
    max-height: 0px;
    overflow: hidden;
    position: absolute;
    right: -15px;
    top: 35px;
    transition: all .2s;
    width: 300px;
    z-index: -1;
}
header span[data-notices] + .actions-box{top: 30px; right: -19px}
header .opened + .actions-box{max-height: 100vh;}

.user-actions, .notices{
    list-style-type: none;
    background: #fff;
    font-size: 14px;
    line-height: 19px;
    padding: 5px 20px 1px 20px;
    position: relative;
    box-shadow: 0px 0px 10px 2px rgba(0,0,0,.1);
    margin: 20px 10px 10px 10px;
    border-radius: 3px;
    max-height: calc(100% - 30px);
}

.user-actions li{
    padding: 10px 0;
    border-bottom: 1px solid rgba(10,55,100,.15);
    margin: 0 10px;
    text-transform: uppercase;
}

.user-actions li:first-child{margin-top: 15px; font-size: 18px; line-height: 23px; border-color: rba(10,55,100,35); margin: 0px;}
.user-actions li:last-child{margin-bottom: 15px}
.user-actions li i{
    width: 24px;
    text-align: center;
    margin-right: 2px;
}

.user-actions::after, .notices::after{
    content:"";
    position: absolute;
    right: 15px;
    top: -10px;
    width: 20px;
    height: 20px;
    transform: rotate(45deg);
    background: #fff;
}

.notices{
	color: #000;
	font-size: 13px;
    padding: 5px 10px 10px 10px;
}
.notices li{padding: 5px 0;}
.notices li time{font-size: 10px; color: rgba(201, 0, 26, 1); padding: 0 5px;}
.notices li::before{
	content: "";
	height: 1px;
	background: rgba(0, 0, 0, .08);
	position: absolute;
	top: 16px;
	left: 0px;
	width: 100%;
	z-index: 0;
}


#btnAdd{
    background: var(--success-color-alt);
    color: #fff;
    box-shadow: 1px 1px 10px 2px rgba(0,0,0,.15);
    position: relative;
    overflow: visible;
}

#btnAdd::after{
    content: "NOUVEAU";
    position: absolute;
    height: 100%;
    width: 0px;
    right: 20px;
    line-height: 40px;
    font-size: 16px;
    background: var(--warning-color);
    color: #fff;
    overflow: hidden;
    transition: all .5s;
    z-index: -1;
    border-radius: 20px 0 0 20px;
    font-weight: 600;
    padding-right: 20px;
    text-align: center;
}

#btnAdd:hover::after{width: 100px; padding-left: 20px;}

.btn-alt{
    width: auto;
    color: #fff;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0px 0px 50px 7px var(--gray-color-alt) inset;
    font-size: 14px;
}

.filter-box label{background: #ccc;}

#searchBox .os-input{
    border: 0;
    height: 40px;
    border: 1px solid #ccc;
    border-radius: 0;
    padding: 0 10px;
    font-size: 16px;
    font-weight: 400;
    margin: 0;
    background: #fff;
}

#tablebox + .counters-box{
    margin-top: 0px;
    margin-bottom: 20px;
}

.table-header .counters-box{margin-top: 0px;}
.table-header .counters-box b{margin: 0 30px;}
.table-header .counters-box label{font-size: 16px;}
.table-header .counters-box .disable{color: #ccc;}

#tablebox{
    width: 100%;
}

table{
    border-collapse: separate;
    border-spacing: 0px 10px;
    margin-top: 20px;
    margin-bottom: 20px;
    width: 100%;
    position: relative;
    border: 0;
    color: #000;
}

table thead tr{border-bottom: 2px solid rgba(0,0,0,.5);}
table tr{position: relative;}
table tr > *{
    font-size: 14px;
    line-height: 19px;
    padding: 10px 10px;
    margin: 0px;
    text-align: left;
}

#tablebox table tr th{
    font-size: 16px;
    line-height: 21px;
    font-weight: 400;
    text-transform: uppercase;
    border: 0;
    background: #f2f2f2;
    color: #000;
}

table:not(.record) tr{vertical-align: middle; background: rgba(0,0,0,.025);}
table tr:hover {background: rgba(244,244,244,.85);}
table tr td.hide{display: none;}
table tr.checkbox td{cursor: pointer; transition: all .5s;}
table tr.checked{
    font-weight: 400;
    color: rgb(0,104,40);
    background-color: rgba(0,104,40,.15);
}

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

table:not(.record) tr th:first-child:not(.noid), table:not(.record) tr td:first-child:not(.noid){
    width: 48px;
    max-width: 48px;
    white-space: nowrap;
    text-align: right;
    font-weight: 400;
}

table tr th.large:first-child, table tr td.large:first-child, table tr[data-enabled] td:first-child{
    width: auto;
    max-width: unset;
    white-space: normal;
    text-align: left;
}

table:not(.record) tr th:last-child:not(.noactions), table:not(.record) tr td:last-child:not(.noactions){
    text-align: right;
    white-space: nowrap;
    padding-left: 5px;
    padding-right: 5px;
}

table:not(.record) tr td:last-child:not(.noactions){font-size: 0;}
table:not(.record) tr td:last-child:not(.noactions) > *{font-size: 14px;}

table tr[data-enabled] td:first-child,
table tr[data-radio] td:first-child,
table tr[data-checked] td:first-child,
table tr[data-status] td:first-child,
table tr th.data-enabled-header{
    position: relative;
    padding-left: 34px;
}

table tr[data-radio] input[type='radio'],
table tr[data-checked] input[type='checkbox']{display: none;}

table tr[data-enabled] td:first-child::after,
table tr[data-radio] td:first-child::after,
table tr[data-checked] td:first-child::after,
table tr[data-status] td:first-child::after{
    content: "";
    position: absolute;
    left: 0px;
    top: 0px;
    height: 100%;
    width: 24px;
    display: inline-block;
    border-left: 4px solid var(--gray-color);
    background-color: #eee;
    background-image: 0;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 0px;
    transition: all .3s;
}

table tr[data-enabled="1"] td:first-child::after,
table tr[data-radio="1"] td:first-child::after,
table tr[data-checked="1"] td:first-child::after{
    border-left-color: var(--success-color-alt);
    background-color: var(--enabled-background);
    background-image: var(--enabled-icon);
    background-size: 24px;
}

table tr[data-enabled="0"] td:first-child::after,
table tr[data-radio="0"] td:first-child::after,
table tr[data-checked="0"] td:first-child::after{
    border-left-color: var(--error-color-alt);
    background-color: var(--not-enabled-background);
    background-image: var(--not-enabled-icon);
    background-size: 24px;
}

table tr[data-checked] td:first-child::after{
    background-image: var(--not-selected-icon);
    background-size: 24px;
}
table tr[data-checked="1"] td:first-child::after{background-image: var(--selected-icon);}

table tr[data-radio] td:first-child::after{
    background-image: var(--not-checked-icon);
    background-size: 24px;
    border-left-color: #ccc;
    background-color: #f2f2f2;
}
table tr[data-radio="1"] td:first-child::after{background-image: var(--checked-icon);}

table tr[data-status] td:first-child::after{
}

table tr[data-status="blocked"] td:first-child::after{
    border-left-color: var(--blocked-color);
    background-color: var(--blocked-background);
    background-image: var(--blocked-icon);
    background-size: 20px;
}

table tr[data-status="pending"] td:first-child::after{
    border-left-color: var(--pending-color);
    background-color: var(--pending-background);
    background-image: var(--pending-icon);
    background-size: 24px;
}

table tr[data-status="inprogress"] td:first-child::after{
    border-left-color: var(--inprogress-color);
    background-color: var(--inprogress-background);
    background-image: var(--inprogress-icon);
    background-size: 24px;
}

table tr[data-status="available"] td:first-child::after{
    border-left-color: var(--available-color);
    background-color: var(--available-background);
    background-image: var(--available-icon);
    background-size: 24px;
}

table tr[data-status="reviewed"] td:first-child::after{
    border-left-color: var(--reviewed-color);
    background-color: var(--reviewed-background);
    background-image: var(--reviewed-icon);
    background-size: 24px;
}

table tr[data-status="commented"] td:first-child::after{
    border-left-color: var(--commented-color);
    background-color: var(--commented-background);
    background-image: var(--commented-icon);
    background-size: 24px;
}

table tr[data-status="completed"] td:first-child::after{
    border-left-color: var(--completed-color);
    background-color: var(--completed-background);
    background-image: var(--completed-icon);
    background-size: 24px;
}

.notice-box, .error-box{
    max-height: 100px;
    overflow: hidden;
    animation: show-notice 1s;
    background: var(--warning-color);
    color: #fff;
    width: 600px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    position: relative;
    box-shadow: 0px 0px 0px 0px var(--success-color);
}
#container .notice-box, #container .error-box{
    position: fixed;
    left: calc(var(--nav-width));
    z-index: 21;
    top: 70px;
}

.error-box{background: var(--error-color); color: #fff;}
.notice-box > *, .error-box > *{color: inherit; text-align: center;}

@keyframes show-notice {
  0%   { max-height: 0px; }
  100% { max-height: 100px; }
}

.notice{
    font-size: 13px;
    padding: 7px 31px 7px 10px;
    font-weight: 400;
}

.notice-box .os-remove, .error-box .os-remove, .notice .os-remove{
    font-size: 16px;
    height: 100%;
    width: 16px;
    position: absolute;
    right: 5px;
    top: 0;
    background: var(--close-notice-icon) center center no-repeat;
    background-size: contain;
}

.action{
    margin: 0px 1px;
    display: inline-block;
    height: 20px;
    width: 20px;
    color: var(--success-color-alt);
    font-size: 14px;
    line-height: 20px;
    text-align: center;
}
.action:hover{color: #000;}

.os-form > div{margin-bottom: 20px;}
.os-form fieldset{
    padding: 10px 20px 20px 20px;
    border: 1px solid #f2f2f2;
    box-shadow: 0 3px 1px -2px rgba(0,0,0,.14), 0 2px 2px 0 rgba(0,0,0,.098), 0 1px 5px 0 rgba(0,0,0,.084);
    margin-bottom: 15px;
    border-radius: 3px;
    background: #fff
}
.container-popup .os-form fieldset{
    padding: 10px 0px 10px 0px;
    border: 0;
    box-shadow: none;
}
@media(max-width:768px){
	.os-form > div{margin-bottom: 10px;}
	.os-form fieldset{padding: 10px; margin-bottom: 10px}
}

.os-form fieldset.shrunk{
    width: 600px;
    max-width: 100%;
}

.os-form h2, .os-form h3{
    position: relative;
    padding-bottom: 5px;
    color: var(--success-color);
    border-bottom: 1px solid #f2f2f2;
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 26px;
    text-transform: uppercase;
    border-bottom: 2px solid #ccc;
    font-weight: 500;
}

.os-form .half, .os-form .flex:not(.wrap) > .half{width: calc(50% - 10px); min-width: calc(50% - 10px);}
@media(max-width:768px){
	.os-form .half, .os-form .half-10, .os-form .flex:not(.wrap) > .half{width: 100%;}
}

.os-form input[type='text'],
.os-form input[type='email'],
.os-form input[type='password'],
.os-form input[type='url'],
.os-form input[type='date'],
.os-form input[type='phone'],
.os-form input[type='tel'],
.os-form input[type='datetime'],
.os-form input[type='time'],
.os-form input[type='datetime-local'],
.os-form input[type='search'],
.os-form input[type='number'],
.os-form select,
.os-form textarea,
.os-input{
    height: 40px;
    line-height: 22px;
    font-size: 16px;
    font-weight: 300;
    padding: 7px 10px;
    background: #fcfcfc;
    border-radius: 0;
    border: 1px solid #f4f4f4;
    box-shadow: 0 -3px 1px -2px rgba(0,0,0,.054) inset, 0 -2px 2px 0 rgba(0,0,0,.018) inset, 0 -1px 5px 0 rgba(0,0,0,.014) inset;
    margin-bottom: 5px;
    width: 100%;
    min-width: 58px;
}
@media(max-width:768px){
	.os-form input[type='text'],
	.os-form input[type='email'],
	.os-form input[type='password'],
	.os-form input[type='url'],
	.os-form input[type='date'],
	.os-form input[type='phone'],
	.os-form input[type='datetime'],
	.os-form input[type='datetime-local'],
	.os-form input[type='search'],
	.os-form input[type='number'],
	.os-form select,
	.os-form textarea,
	.os-input{
		font-size: 14px;
	}
}

.os-form p{font-size: 16px;}
.os-form p:last-child{margin-bottom: 0px;}
.os-form fieldset div:not(.nomargin){margin-bottom: 7.5px;}

.os-form label:not(.square){
    height: 35px;
    line-height: 35px;
    font-size: 17px;
    font-weight: 400;
}

.os-form .las > div{margin-bottom: 0px;}
.las label{display: block;}
.os-form .las select.row option{
    line-height: 17px;
    font-size: 14px;
    padding-left: 10px;
    padding-right: 10px;
    margin-left: 10px;
    margin-right: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    border-bottom: .5px solid #ccc;
}

.os-form textarea{padding: 10px; height: 130px;}
.os-form textarea.long, .os-form .ck.ck-content.ck-editor__editable{height: 320px;}
.os-form .ck.ck-content.ck-editor__editable{
    font-size: 16px;
    line-height: 21px;
}

.os-form .ck.ck-content.ck-editor__editable h2,
.os-form .ck.ck-content.ck-editor__editable h3,
.os-form .ck.ck-content.ck-editor__editable h4{margin-bottom: 10px;}
.os-form .ck.ck-content.ck-editor__editable h2{font-size: 24px;}
.os-form .ck.ck-content.ck-editor__editable h3{font-size: 21px;}
.os-form .ck.ck-content.ck-editor__editable h4{font-size: 18px;}

.os-form .ck.ck-content.ck-editor__editable ul, .os-form .ck.ck-content.ck-editor__editable ol{
    padding-left: 10px;
    margin-bottom: 20px;
}

*[data-image]{cursor: pointer;}

.login-frame{
    min-height: 100vh;
    z-index: 1;
    width: 100%;
    background: url('../images/background.jpg') center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
    padding: 0px!important;
}

.login-frame > div{
    height: auto;
    min-height: 100vh;
    background: rgba(0,0,0,.5);
    padding: 20px 0;
}

.login-container{
    width: 450px;
    max-width: calc(100% - 40px);
    padding-bottom: 20px;
    position: relative;
    z-index: 2;
    background: #fff;
}

.login-container > figure{
    width: 100%;
    height: 15vh;
    z-index: 23;
    margin-bottom: 20px;
    margin-top: 20px;
}

.login-container > h1{
    font-size: 28px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgb(204,204,204);
}

.login-box{padding: 10px 20px!important;}
.login-box > div{margin: 10px 0px;}

.os-form .login-container input[type='email'],
.os-form .login-container input[type='password']{
    height: 48px;
    text-align: center;
    font-weight: 300!important;
    font-size: 16px!important;
}

.shortcuts h2{
    font-size: 24px;
    line-height: 36px;
    color: var(--success-color-alt);
}

.shortcut{
    height: 150px;
    max-width: 380px;
    background: #fff;
    box-shadow: 0 0 10px 0px rgba(0,0,0,0);
    padding: 20px 15px;
    margin: 20px;
    background: #f2f2f2;
    border: 1px solid rgba(56,56,56,.05);
}

.shortcut:hover{box-shadow: 0 0 10px 0px rgba(0,0,0,.1);}
.shortcut i{
    height: 100%;
    width: 90px;
    font-size: 54px;
    line-height: 110px;
}

.shortcut div + div{width: calc(100% - 90px);}
.shortcut h3{
    text-transform: uppercase;
    font-size: 22px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(56,56,56,.1);
    color: #000;
}

.shortcut span{
    text-transform: uppercase;
    font-size: 18px;
    margin-top: 10px;
    color: var(--success-color);
    font-weight: 400;
}
@media(max-width:768px){
	.shortcut{
		height: 100px;
		margin: 10px 0;
	}
	.shortcut i{
		height: 100%;
		width: 60px;
		font-size: 34px;
	}
	.shortcut div + div{width: calc(100% - 60px);}
	.shortcut h3{
		padding-bottom: 7px;
		margin-bottom: 7px;
	}
	.shortcut span{
		margin-top: 7px;
		color: var(--success-color);
	}
}

.popup, .container-popup{
    left: 0%;
    width: 100%;
}

.container-popup{
    background: rgba(0,0,0,.47);
    padding: 20px 0;
    max-height: 100%;
}
@media(max-width:768px){.container-popup {padding: 0 10px;}}

.container-popup > div{
    max-width: calc(100%);
    width: 800px;
    height: 100%;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0px 10px 0 rgba(0,0,0,.6);
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    text-align: left;
}
.container-popup.large > div{width: 100%}
.container-popup.semi > div{width: 950px}

.container-popup .header{
    height: 60px;
    width: 100%;
    background: var(--success-color);
    padding: 10px 20px;
    color: #fff;
    text-transform: uppercase;
    white-space: nowrap;
}

.container-popup .header h1{font-size: 18px; color: #f2f2f2; max-width: 100%;}
.container-popup .header h2{font-size: 14px; color: #ccc; max-width: 100%;}
@media(max-width:768px){.container-popup h2{display: none;}}

.container-popup .content{
    overflow: auto;
    height: 100%;
    padding: 0px;
}

.container-popup .content:not(.record){
    height: calc(100% - 60px);
    padding: 0px 20px;
}
@media(max-width:768px){
    .container-popup .content:not(.record){
        padding: 0px 15px;
    }
}
.container-popup table, table.record{margin: 10px 0; border-spacing: 0px 1px}
.container-popup table h3{font-size: 16px; color: var(--success-color); font-weight: 600; text-transform: uppercase;}
.container-popup table p{font-size: 14px; font-weight: 300; margin-bottom: 20px;}
.container-popup table h3 + *{margin-top: 7px;}
.container-popup .close{top: 5px; right: 5px;}

@media(max-width:768px){.os-form .flex:not(.mflex){display: block;}}


.record-box{border-radius: 5px;	padding: 20px 20px 0px 20px;}
.record-box:not(.noshadow){box-shadow: 0 3px 1px -2px rgba(0,0,0,.14), 0 2px 2px 0 rgba(0,0,0,.098), 0 1px 5px 0 rgba(0,0,0,.084)}
.record tr:not(:last-child) > *{border-bottom: 1px solid #ccc;}
.record tr > *{padding: 15px;}
.record th{width: 300px;}
.record td{font-weight: 300;}
