/**************************HEADER***********************/
.rutanCMS header,
main > div.content > header
{
    background: rgb(52, 52, 52);
    max-height: 40px;
    border-bottom: 3px solid #000;
    z-index: 1600;
    display: flex;
}

.rutanCMS header *,
main > div.content > header *
{
    color:rgb(130,130,130) ;
    border-color:rgb(130,130,130);
}

.rutanCMS header input[type='search'],
main > div.content > header input[type='search']
{
    border:none;
    background: none;
    border-bottom: 3px solid transparent;
    padding:7px 12px 6px;
    width:100%;
    margin-bottom: 0;
}
.rutanCMS header input[type='search']:focus,
main > div.content > header input[type='search']:focus
{
    background: #000;
}

.rutanCMS div.searchInput{
    max-width: 200px;
    position: relative;
    margin: 0 25px;
    width: 100%;
}

.rutanCMS div.searchInput div.inputGroup{
    padding-top:0;
}

.rutanCMS div.searchInput div.inputGroup .bar,
.rutanCMS div.searchInput div.inputGroup .bar:after,
.rutanCMS div.searchInput div.inputGroup .bar:before{
    height:3px;
    bottom:0px;
}

.rutanCMS div.cmsSearchResults{
    position: absolute;
    background: #000;
    left:0;
    right:0;
    max-height: 500px;
    overflow:hidden;
    width: 300px;
    top:40px;
    padding:10px;
}

.rutanCMS header input[type='search']:placeholder-shown ~ div.cmsSearchResults,
.rutanCMS header input[type='search']:placeholder-shown:focus ~ div.cmsSearchResults,
.rutanCMS header input[type='search']:not(:placeholder-shown):not(:focus) ~ div.cmsSearchResults{
    display: none;
}
.rutanCMS header div.cmsSearchResults:active{
    display:block !important;
}

.rutanCMS ul#cmsSearchResults{
    max-height: 500px;
    overflow-x:hidden;
    overflow-y:scroll;
    width:calc(100% + 100px);
}

.rutanCMS div.cmsSearchResults ul li a{
    width:calc(100% - 85px);
}

.rutanCMS div.inputField{
    display:flex;
}

.rutanCMS div.pagefuncs {
    align-self: auto;
    flex: 1 1 auto;
    display:flex;
}

.rutanCMS  div.cmsControls{
    white-space: nowrap;
    display: inline-flex;
    flex-grow: 1;
}
/****************************** MESSAGE ***************************/
.rutanCMS header dialog ul,
main > div.content > header dialog ul{
    height: 29px;
    overflow: hidden;
    padding:0;
}

.rutanCMS header dialog li,
main > div.content > header dialog li{
    display:block;
    padding:6px 15px;
    background:#000;
    font-size: 14px;
    cursor: pointer;
}

.rutanCMS header dialog,
main > div.content > header dialog
{
    display: inline-block;
    vertical-align: top;
    box-shadow: none;
    position: relative;
    text-align:left;
    width:auto;
    min-width: 100px;
    margin-top:10px;
    left:auto;
    margin-left: 0;
    top:0;
    max-height: 27px;
    background: transparent;
}

.rutanCMS header div.inputGroup label,
main > div.content > header div.inputGroup label{
    color:rgb(130,130,130);
}

/****************************** MAIN NAVI ***************************/
main > div.main nav {
    background: rgb(52, 52, 52);
    height:calc(100% - 39px);
    width: 60px;
    user-select: none;
    -moz-user-select: none;
    overflow: hidden;
display: flex;
flex-direction: column;
}

main > div.main nav > ul:after{
    border-right: 3px solid #000;
    position:absolute;
    left:57px;
    top:0;
    bottom:0;
    content:'';
}

main > div.main nav *,
main > div.main nav i{
    color:rgb(130,130,130);
}

main > div.main nav > ul {
    width:calc(100% + 18px);
    padding:0 25px 0 0;
    overflow-x: hidden;
    overflow-y: scroll;
    position: relative;
    background:rgb(52, 52, 52);
    flex: 1 1 auto;
}

main > div.main nav > ul li {
    display:block;
    list-style-type: none;
    text-align: center;
    width: 60px;
    float:left;
    border-left: 5px solid transparent;
    padding-right: 2px;
    border-right: 3px solid transparent;
    z-index: 1;
    overflow: hidden;
    height:50px;
}

main > div.main nav > ul li:first-child{
    margin-top:25px;
}

main > div.main nav > ul > li:last-child{
    margin-bottom: 30px;
}

main > div.main nav ul li a{
    width: 100px;
    text-align: center;
    position: relative;
    display: flex;
    margin-left: -50px;
    transition: margin .3s ease-in-out;
    height: 100%;
    flex-basis: 50px;
    flex-wrap: wrap;
    align-self: center;
}

main > div.main nav ul li a span,
main > div.main nav ul li a i{
    width:50px;
    display: table-cell;
    vertical-align: middle;
    white-space: normal;
}

main > div.main nav ul li a span{
    font-size: 13px;
    text-transform: uppercase;
    overflow: hidden;
    hyphens: auto;
    font-family: "Rutan-Medium";
    line-height: 1.2em;
    align-self: center;
}

main > div.main nav ul li a i{
    line-height: 50px;
    letter-spacing: 1.5px;
    text-align: center;
    height:50px;
}

main > div.main nav ul li:not(.active) a:hover{
    margin-left: 0;
}

main > div.main nav > ul li.active{
    background: #ebebeb;
    border-left-color:rgb(235, 91, 37);
    position: relative;
    border-right-color: #ebebeb;
}

main > div.main nav > ul li.active i{
    color:rgb(235, 91, 37);
}

main > div.main nav > ul li i svg{
    width:100%;
    height:100%;
    padding:9px;
}

main > div.main nav > ul li i svg *{
    fill:rgb(130,130,130);
}

main > div.main nav > ul li.active i svg *{
    fill:rgb(235, 91, 37);
}

/****************************** OTHER NAVI ***************************/
.rutanCMS header button,
.rutanCMS  header .button,
main > div.content > header .button,
main > div.content > header button{
    padding:6.5px 12px;
    margin-right: 3px;
}

.rutanCMS header button i + span,
.rutanCMS header .button i + span,
main > div.content >  header button i + span,
main > div.content > header .button i + span{
    line-height: 23px;
}

.rutanCMS header button i,
.rutanCMS header .button i,
main > div.content >  header button i,
main > div.content > header .button i{
    margin-bottom: -5px;
    margin-top: -1px;
}

@-moz-document url-prefix() {
    .rutanCMS header button i,
    .rutanCMS header .button i,
    main > div.content > header button i,
    main > div.content > header .button i{
	margin-top: -3px;
    }
}


/****************************** BOTTOM MENU ***************************/
.rutanCMS div.bottomMenu > div{
    position: relative;
    border-bottom:3px solid #000;
}

.rutanCMS div.bottomMenu  > div > a > img{
  height:24px;
}
.rutanCMS div.bottomMenu > div > a{
  padding:8px 10px;
  display:block;
  font-size: 0;
  text-align: center;
  line-height: 0;
  line-height: 0;
}
.rutanCMS div.bottomMenu > div > a > i{
  font-size: 24px;
padding: 0;
line-height: 23px;
}
.rutanCMS div.bottomMenu > div > a:hover{
  background: #000;
}

/****************************** SERVER VERSION ***************************/
.rutanCMS div.bottomMenu{
    padding:0;
    background:rgb(52, 52, 52);
    text-align: center;
    width:60px;
    cursor:default;
    border-top: 3px solid rgb(0,0,0);
    border-right: 3px solid rgb(0,0,0);
    flex:0 1 auto;
}
.rutanCMS div.serverVersion b{
    display: block;
    color:#fff;
    text-transform: uppercase;
    line-height:0;
    padding:20px 0 19px;
    font-family: 'Rutan-Medium';
}

.rutanCMS div.serverVersion b.dev {
    background: rgb(124,178,73);
}


.rutanCMS div.serverVersion b.online{
    background:rgb(213,20,25);
}

.rutanCMS div.serverVersion b.release{
    background:rgb(246,191,59);
}

/****************************** NOTIFICATIONS ***************************/
.rutanCMS div.notifications > a{
    position: relative;
}

.rutanCMS div.notifications.open,
.rutanCMS div.notifications:hover{
    background:#000;
}

.rutanCMS div.notifications.selected > a:after{
    content:' ';
    border-radius: 50%;
    width:10px;
    height:10px;
    position: absolute;
    left:30px;
    top:8px;
    background:rgb(213,20,25);
}

.rutanCMS ul.notficiationList{
    display:none;
}

.rutanCMS div.notifications.open ul.notficiationList{
    display:block;
    background: #000;
    padding:10px;
    width:250px;
    bottom:42px;
    box-shadow: 0 0 3px 3px rgba(0,0,0,0.2);
    position: fixed;
    z-index:9999999;
}
.rutanCMS ul.notficiationList li{
    display: block;
    margin: 0;
    padding: 6px 15px;
    text-align: left !important;
    white-space: normal;
    width: 100%;
    position: relative;
}

.rutanCMS ul.notficiationList li:hover{
    background:rgb(52,52,52);
}

.rutanCMS ul.notficiationList li a:last-child{
    border-bottom: 0;
}

.rutanCMS ul.notficiationList li a{
    position: absolute !important;
    top:0;
    left:0;
    right:0;
    bottom:0;
    width:100% !important;
    margin-left: 0 !important;
    display:block !important;
    border-bottom:1px solid rgba(255,255,255,0.5);
}

.rutanCMS ul.notficiationList li b{
    display:block;
}
