.admin_hero {
    position: relative;
    color: #fff;
    background: #9C2B2D;
    overflow: hidden;
    z-index: 0;
    padding-bottom: 0px;
    margin: 0;
    padding-top: 0;
    border: none;
}

.contextual_dashboard_logo{
    float:left;
}

#editorTopMenu{
    display:flex;
    align-items: center;
}

#editorArea{
    background-color: #fcfcfc;
    height:100%;
    padding-top:20px;
    border-style: solid;
    border-color: #dadce0;
    border-width: 1px;
}

.editorNavigationArrow{
    border-radius:24px;
    height:48px;
    width:48px;
}

.leftEditorNavigationArrow{
    position:relative;
    left:0px;
    display:inline-block;
}

.rightEditorNavigationArrow{
    position:relative;
    right:0px;
    display:inline-block;
}

.editorNavigationArrow:hover{
    background-color: #dadce0;
}

#editorToolbar{
    border-style: solid;
    border-color: #dadce0;
    border-width: 1px;
    border-radius: 16px;
    padding: 10px;
    height:55px;
    margin-left:20px;
    margin-right:20px;
    width:90%;
    min-width:800px;
    margin-bottom:10px;
    margin-top:10px;
    background-color:#f0f4f9;
}

.ui-menu {
    width: 250px;
    position: absolute;
}

.ui-menu-item a {
    text-decoration: none;
}

.ui-icon{

}

.headerIcon{
    margin-right:10px;
}

.checkIcon{
    height:24px;
}

.modeMenuItem, .markMenuItem{
    display:flex;
    justify-content: start;
}

.modeMenuIcon{
    width:40px;
}

.modeMenuChecker{
    width:30px;
}

.modeMenuChecker img{
    height:32px;
}

.selected{
    font-weight:bold;
}

#annotationEdit{
    overflow:scroll;
    height:75%;
}

#annotationEditHeader{
    margin-top:20px;
    margin-bottom:10px;
    margin-left:70px;
    width:100%;
    display:flex;
    align-items: center;
}

#annotationEditHeader img{
    margin-right:20px;
}

#modeMenu{
    position: absolute;
    z-index: 10;
    font-size: 1.3em;
}

#markMenu{
    position: absolute;
    z-index: 10;
    font-size: 1.3em;
}

#markMenuHeader{
    border-radius:12px;
    padding:8px;
    margin-right:20px;
}

#markMenuHeader:hover{
    background-color: #dadce0;
}


#modeMenuHeader{
    border-radius:12px;
    padding:8px;
    margin-right:20px;
    background-color:#eeeeee;
}
.modeMenuContainer{
    float:right;
}

.ui-menuItem a{
    cursor:pointer;
    font-size:14px !important;
}

#modeMenuHeader:hover{
    background-color: #dadce0;
}

.triangleUp{
    margin-left:20px;
    width:20px;
    transform: rotate(90deg);
    -ms-transform: rotate(180deg); /* IE 9 */
    -moz-transform: rotate(180deg); /* Firefox */
    -webkit-transform: rotate(180deg); /* Safari and Chrome */
    -o-transform: rotate(180deg); /* Opera */
    vertical-align: bottom;
}

.triangleDown{
    margin-left:20px;
    width:20px;
    transform: rotate(0deg);
    -ms-transform: rotate(0deg); /* IE 9 */
    -moz-transform: rotate(0deg); /* Firefox */
    -webkit-transform: rotate(0deg); /* Safari and Chrome */
    -o-transform: rotate(0deg); /* Opera */
    vertical-align: bottom;
}

.headerIcon{
    width:16px;
}

.menuButton{
    padding:4px;
    width:32px;
    margin-right:4px;
}

.menuButton:hover{
    background-color: #dadce0;
    border-radius:8px;
}

.menuButton img{
    position:relative;
    left:3px;
    top:3px;
}

.lastEditedText{
    font-size:18px !important;
    margin-left:20px;
}

.vl{
    height:42px;
    margin-left:15px;
    margin-right:15px;
    border-right: 2px solid #999999;
}


#top_menu{
    float:left;
    background: #9C2B2D;
    overflow:hidden;
    padding: 4px 0 3px;
    height:50px;
    margin: 0;
    border: none;
    list-style: none;
}

#top_menu li{
    display:inline;
}
#top_menu li, .admin_hero h1, #left_menu li {
    line-height: 50px;
}

.admin_hero h1{
    font-size: 24px;
    padding-left:20px;
}


#top_menu li a, #left_menu li a{
    color:white;
    margin-right:10px;
}

#top_menu li a:link, #top_menu li a:visited, #left_menu li a:link, #left_menu li a:visited {
    text-decoration:none;
}

#top_menu{
    font-weight: 300;
    overflow:hidden;
}

@media (min-width: 1120px) {
    #top_menu {
        padding: 0 0
    }
}

@media (min-width: 1120px) {
    #top_menu {
        margin-left: 0;
        padding-left: max(min((100vw - 1120px) / 2, 80px), 32px);
        background-color: #9c2b2d;
        align-self: flex-end
    }
}

.documentEditor {
    border-style: solid;
    border-color: #dadce0;
    border-width: 1px;
    background: #FFFFFF;
    padding: 4px;
    margin-left: auto;
    margin-right: auto;
    max-width: 1184px;
}

#admin_index_area{
    padding: 10px;
    width: calc(100% - 220px);
    font-family: "Lucida Grande", Futura, serif;
    overflow: auto;
}

#admin_index_area h2{
    width:80%;
}

#admin_index_area h2{
    font-size: 24px;
}


#content{
    height: calc(100vh - 50px);
}

#left_menu{
    width:220px;
    background: #9C2B2D;
    padding-top:20px;
    margin: 0;
    padding-left: 0;
    list-style: none;
}

#left_menu ul{
    list-style: none;
    margin: 0;
    padding: 0;
}

#left_menu li{
    padding-left:20px;
    list-style: none;
}

#left_menu li:hover{
    background-color: darkgrey;
}

#content{
    display: flex;
}

.menu_icon{
    height: 20px;
    margin-right:8px;
}

#left_menu li.is-active{
    background-color: black;
}

#left_menu li.is-active:after{
    clip-path: polygon(100% 20%, 0 50%, 100% 80%);
    height:50px;
    width:20px;
    background-color: white;
    float:right;
    content:"";
}

/*******************************************/
/*  Styling of tables in the admin section */
/*******************************************/

.admin-table {
    border-collapse: collapse;
    overflow:hidden;
    margin: 25px 0;
    font-size: 0.8em;
    font-family: sans-serif;
    min-width: 400px;
    width:80%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    border-radius:6px;
}

.admin-table thead tr {
    background-color: #009879;
    color: #ffffff;
    text-align: left;
}

.admin-table th,
.admin-table td {
    padding: 12px 15px;
}

.admin-table tbody tr {
    border-bottom: 1px solid #dddddd;
}

.admin-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.admin-table tbody tr:last-of-type {
    /*border-bottom: 2px solid #009879;*/
}

.admin-table tbody tr.active-row {
    font-weight: bold;
    color: #009879;
}

.admin-button {
    background-color: darkgrey;
    border: none;
    color: white;
    padding: 10px 24px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    border-radius: 8px;
}

.admin-add-new-button{
    float:right;
    margin-left:10px;
}

.import-button{
    display: inline-block;
    font-size: 12px;
    padding:3px 8px;
    background-color: darkgrey;
    border: none;
    color: white;
    border-radius: 4px;
}

#right_menu{
    padding:20px;
    background-color: white;
    font-size: 1.1em;
    display:inline-block;
    border-left: black solid 1px;
    line-height: 1.3em;
    overflow: auto;
}


#right_menu ul ul, #bottomForms ul ul{
    margin-bottom:0.5em;
    margin-left: 0px;
    padding-left: 0px;
}

#right_menu p, #bottomForms p{
    margin-top:5px;
    padding-top:5px;
    margin-bottom:0px;
    padding-bottom:0px;
}

#right_menu ul, #bottomForms ul{
    margin-top:20px;
    padding-bottom:10px;
    min-width:300px;
}

#right_menu div{
    margin-bottom:10px;
    width:280px;
    display:block;
}

#imageEditor{
    width:100%;
    height: 1000px;
}

#MCEToolbarLocation{

}