﻿
/* 
Theme: BootStrap - Modified by Koneka
Author: Raptor Concepts (http://www.raptorconcepts.com), Koneka (http://koneka.com)
Copyright: 2012 
*/

@media screen and (min-width: 1200px) {
    .span1 {width: 100px;}
    .span2 {width: 200px;}
    .span3 {width: 300px;}
    .span4 {width: 400px;}
    .span5 {width: 500px;}
    .span6 {width: 600px;}
    .span7 {width: 700px;}
    .span8 {width: 800px;}
    .span9 {width: 900px;}
    .span10 {width: 1000px;}
    .span11 {width: 1100px;}
    .span12 {width: 1200px;}
    #layout-top-buttons, #layout-main, #subnavmenu, #layout-header {
        width: 1200px;
    }

    .container, .navbar-fixed-top .container, .navbar-fixed-bottom .container, #header {
        width: 1160px;
    }

    .modal-big .editor-field {
        height: 500px;
    }

    .top-info {
        max-width: 650px;
    }

    ul#subclauses {
        max-width: 100%;
    }
}

@media screen and (max-width: 1200px) {
    .span1 {width: 80px;}
    .span2 {width: 160px;}
    .span3 {width: 240px;}
    .span4 {width: 320px;}
    .span5 {width: 400px;}
    .span6 {width: 480px;}
    .span7 {width: 560px;}
    .span7 {width: 640px;}
    .span9 {width: 720px;}
    .span10 {width: 800px;}
    .span11 {width: 880px;}
    .span12 {width: 960px;}
    #layout-top-buttons, #layout-main, #subnavmenu, #layout-header {
        width: 960px;
    }

    .container, .navbar-fixed-top .container, .navbar-fixed-bottom .container, #header {
        width: 920px;
    }

    .modal-big .editor-field {
        height: 426px;
    }

    .top-info {
        max-width: 430px;
    }

    ul#subclauses {
        max-width: 100%;
    }
}

/* From http://twitter.github.com/bootstrap/examples/fluid.html 
***************************************************************/
body {
    background: #F1F1F1 url('img/body-bg.png') repeat;
}

fieldset {
    min-width: 0px;
}

.width25 { width: 25%; float: left; margin: 0; }
.width30 { width: 30%; float: left; margin: 0; }
.width50 { width: 50%; float: left; margin: 0;}
.width70 { width: 70%; float: left; margin: 0; }
.width75 { width: 75%; float: left; margin: 0;}
.width100 { width: 100%; float: left; margin: 0;}

/* This is to override -webkit-min-width on fieldset */
#layout-header {
    margin: 4px auto;
}

.container-box-shadow {
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

#layout-top-buttons {
    background: white;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    padding: 0px;
    border-bottom: 1px solid #ddd;
    -webkit-border-top-left-radius: 4px;
    -webkit-border-top-right-radius: 4px;
    -moz-border-radius-topleft: 4px;
    -moz-border-radius-topright: 4px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

#layout-top-metadata {
    padding: 2px 10px;
    display: none;
}

#layout-top-metadata span.clause-meta {
    margin: 0px;
}

#top-buttons, #top-info {
    padding: 0px 13px;
    position: relative;
}

#top-buttons {
    margin: 0px 0px 2px 0px;
}

#top-info {
    margin: 4px 0px 2px 0px;
}

    #top-info h2 {
        display: inline-block;
        vertical-align: middle;
    }

#layout-content {
    padding: 0px;
    position: relative;
    z-index: 9;
}

#layout-content-main {
    position: relative;
}
.layout-content {
       padding: 8px 13px;
}
#layout-content-main .content
#layout-content-footer {
    border-top: 1px solid #DDD;
    padding: 0px;
}

#layout-main {
    background: #fff;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    -webkit-border-bottom-left-radius: 4px;
    -webkit-border-bottom-right-radius: 4px;
    -moz-border-radius-bottomleft: 4px;
    -moz-border-radius-bottomright: 4px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    padding: 0px 0px;
}

    /*#layout-main.landing-page {
        background: #fff url('img/edilex-icon-bg.jpg') no-repeat center;
    }*/

#aside-second.layout-content {
    padding-left: 9px;
}
#left-pane {
    padding: 0px;
    background: #EFEFEF;
    height: 100%;
    position: relative;
}
#aside-first {
    border-right: 1px solid #DDD;
    border-bottom: 1px solid #EFEFEF;
}
    #left-pane .nav-tabs, #left-pane #tab-pane-Log {
        padding: 0px;
        margin: 0px;
    }

    #left-pane .tab-pane {
        padding: 8px 10px;
        margin: 0;
        background: #ffffff;
        border-bottom: 1px solid #ddd;
    }

    #layout-content-main, #left-pane .tab-pane {
        overflow-x: hidden;
        overflow-y: auto;
    }

a.btn {
    vertical-align: middle;
}

ul {
    list-style: none;
    margin: 0px;
}

.navbar .brand {
    width: 181px;
}

.brand img {
    width: 181px;
}

#left-pane {
    z-index: 10;
}

    #left-pane .nav-tabs > li > a {
        padding-top: 8px;
        padding-bottom: 8px;
        line-height: 18px;
        border-right: 1px solid #ddd;
        border-left: 0px;
        border-top: 0px;
        border-bottom: 0px;
        -webkit-border-radius: 0 0 0 0;
        -moz-border-radius: 0 0 0 0;
        border-radius: 0 0 0 0;
    }

    #left-pane .nav-tabs > li > a {
        padding-right: 9px;
        padding-left: 9px;
        margin: 0px;
    }

    #left-pane .nav-tabs > .active > a, #left-pane .nav-tabs > .active > a:hover {
        color: #555;
        cursor: default;
        background-color: white;
        border-bottom-color: transparent;
    }

.edit-item legend {
    margin: 0px;
    display: inline-block;
    width: auto;
    padding: 2px 4px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    background-color: #fff;
    border: 1px solid #666;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    line-height: normal;
    font-size: 16px;
}

.edit-item fieldset.alert {
    border: 1px solid #666;
    color: inherit;
    text-shadow: 0;
}

/* Navigation additions for Advanced Menu -- duplicate logic for additional levels needed */
ul.nav > li.dropdown.active > a {
    background-color: #D2EBFF !important;
}

ul.nav > li.dropdown.sfHover > a {
    color: #FFF !important;
}

.nav-main {
    display: inline-block;
    vertical-align: bottom;
}
/* Level 1 */
ul.nav > li > ul > li > a:hover {
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

ul.nav > li > ul > li.active > a {
}

    ul.nav > li > ul > li.active > a:hover {
        color: #FFF !important;
        background-color: #08C !important;
    }

ul.nav > li > ul > li.dropdown > .dropdown-toggle .caret {
    border-left-color: #555;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 4px solid #000000;
    margin-top: 5px;
    margin-left: 8px;
}

ul.nav > li > ul > li.active > .dropdown-toggle .caret {
    border-left-color: #FFF !important;
}

ul.nav > li > ul > li > .dropdown-toggle:hover .caret {
    border-left-color: #FFF !important;
}
/* Level 2 */
ul.nav > li > ul > li > ul.dropdown-menu {
    margin-left: 160px;
    margin-top: -29px;
}

    ul.nav > li > ul > li > ul.dropdown-menu:before {
        content: '';
        display: inline-block;
        border-top: 7px solid transparent;
        border-bottom: 7px solid transparent;
        border-right: 7px solid #CCC;
        border-right-color: rgba(0, 0, 0, 0.2);
        position: absolute;
        top: 8px;
        left: -14px;
    }

    ul.nav > li > ul > li > ul.dropdown-menu:after {
        content: '';
        display: inline-block;
        border-top: 6px solid transparent;
        border-bottom: 6px solid transparent;
        border-right: 6px solid #FFF;
        position: absolute;
        top: 9px;
        left: -12px;
    }

ul.nav > li > ul > li > ul > li.active > a {
    background-color: #D2EBFF !important;
}

ul.nav > li > ul > li > ul > li > a:hover {
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

ul.nav > li > ul > li > ul > li.active > a:hover {
    color: #FFF !important;
    background-color: #555 !important;
}

ul.nav > li > ul > li > ul > li.dropdown > .dropdown-toggle .caret {
    border-left-color: #555;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 4px solid #000000;
    margin-top: 5px;
    margin-left: 8px;
}

ul.nav > li > ul > li > ul > li.active > .dropdown-toggle .caret {
    border-left-color: #FFF !important;
}

ul.nav > li > ul > li > ul > li > .dropdown-toggle:hover .caret {
    border-left-color: #FFF !important;
}
/* Level 3 */
ul.nav > li > ul > li > ul > li > ul.dropdown-menu {
    margin-left: 160px;
    margin-top: -29px;
}

    ul.nav > li > ul > li > ul > li > ul.dropdown-menu:before {
        content: '';
        display: inline-block;
        border-top: 7px solid transparent;
        border-bottom: 7px solid transparent;
        border-right: 7px solid #CCC;
        border-right-color: rgba(0, 0, 0, 0.2);
        position: absolute;
        top: 8px;
        left: -14px;
    }

    ul.nav > li > ul > li > ul > li > ul.dropdown-menu:after {
        content: '';
        display: inline-block;
        border-top: 6px solid transparent;
        border-bottom: 6px solid transparent;
        border-right: 6px solid #FFF;
        position: absolute;
        top: 9px;
        left: -12px;
    }

ul.nav > li > ul > li > ul > li > ul > li.active > a {
    background-color: #D2EBFF !important;
}

ul.nav > li > ul > li > ul > li > ul > li > a:hover {
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

ul.nav > li > ul > li > ul > li > ul > li.active > a:hover {
    color: #FFF !important;
    background-color: #555 !important;
}

ul.nav > li > ul > li > ul > li > ul > li.dropdown > .dropdown-toggle .caret {
    border-left-color: #555;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 4px solid #000000;
    margin-top: 5px;
    margin-left: 8px;
}

ul.nav > li > ul > li > ul > li > ul > li.active > .dropdown-toggle .caret {
    border-left-color: #FFF !important;
}

ul.nav > li > ul > li > ul > li > ul > li > .dropdown-toggle:hover .caret {
    border-left-color: #FFF !important;
}

/* General 
***************************************************************/ 
header h1 { font-size: 1.5em; } 
.controls .btn {padding: 1px 3px 1px;}
.controls .btn i {margin-top: 1px;}
.pad-left {
    margin-left: 24px;
}
.pad-left.wide {
    margin-left: 48px;
}

ul.pageStatus {
    display: inline;
    clear: both;
}

.pageStatus li {
    float: left;
}

/* Forms 
***************************************************************/
fieldset ol {
    list-style: none;
    margin-left: 0;
}

fieldset li {
    /*margin-bottom: 1em;*/
}

fieldset.horizontal {
    margin-bottom: 6px;
}

fieldset label {
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
}

    fieldset label:after {
        content: ': ';
    }

fieldset button, fieldset input, fieldset select, fieldset textarea {
    vertical-align: baseline;
    vertical-align: top;
}

fieldset.horizontal label {
    display: inline-block;
    margin-top: 4px;
}

fieldset.horizontal label{width: 230px;}
fieldset.horizontal.wide label{width: 250px;}

fieldset.horizontal.wide input{width: 400px;}
fieldset.horizontal.wide input[type="checkbox"]{width: auto; margin-top: 7px;}

fieldset.horizontal .term label, fieldset.horizontal.widht-auto label{width: auto;}

.clause-edit .clause-content
{
    padding: 4px;
    margin-bottom: 8px;
    background-color: white;
    border-bottom-color: #CCC;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-left-color: #CCC;
    border-left-style: solid;
    border-left-width: 1px;
    border-right-color: #CCC;
    border-right-style: solid;
    border-right-width: 1px;
    border-top-color: #CCC;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    border-top-style: solid;
    border-top-width: 1px;
    box-shadow: rgba(0, 0, 0, 0.0742188) 0px 1px 1px 0px inset;
    -webkit-box-shadow: rgba(0, 0, 0, 0.0742188) 0px 1px 1px 0px inset;
}

/* Form Validation */
.validation-summary-errors {
    padding: 8px 35px 8px 14px;
    margin: 0px 12px 8px;
    color: #b94a48;
    background-color: #f2dede;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    border: 1px solid #b94a48;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

    .validation-summary-errors li {
        margin-bottom: 0px;
    }

input.input-validation-error, 
textarea.input-validation-error, 
select.input-validation-error, 
.content-token-input-wrapper input.input-validation-error, 
.content-token-input-wrapper textarea.input-validation-error, 
.content-token-input-wrapper select.input-validation-error{
    color: #B94A48;
    background-color: #F2DEDE;
    border-color: #EED3D7;
}

input:focus.input-validation-error, textarea:focus.input-validation-error, select.input-validation-error {
    border-color: #953b39;
    -webkit-box-shadow: 0 0 6px #d59392;
    -moz-box-shadow: 0 0 6px #d59392;
    box-shadow: 0 0 6px #d59392;
}

/* Misc 
***************************************************************/
.oforms {
    display: none;
}

/* Orchard Specific 
***************************************************************/
/* Content lists and details */
.content-description {
    font-size: 1.154em;
}

.content-items {
    padding: 0;
    margin: 0;
    list-style: none;
}

    .content-items li {
        padding: 0;
        margin: 0;
    }

    .content-items .content-item {
        border-top: 1px solid #eee;
        padding: 6px 0 6px 0;
    }

        .content-items .content-item header {
        }

            .content-items .content-item header h1 {
                font-size: 1.308em;
            }

                .content-items .content-item header h1 a {
                    color: #434343;
                }

                    .content-items .content-item header h1 a:hover {
                    }

/* Tags */
.tags span {
    margin-top: 12px;
    font-weight: bold;
}

.tags a {
    background-color: #f5f5f5;
    padding: 3px 6px;
    color: #555;
}

    .tags a:hover {
        background-color: #404040;
        color: #fff;
    }

/* Metadata */
.metadata {
    margin: 0 0 4px 0;
    color: #999;
    font-size: 0.846em;
    clear: both;
}

    .metadata .published {
        display: inline;
        margin: 0 4px 0 0;
    }

    .metadata .commentcount {
        display: inline;
    }

.meta {
}

.meta-isdraft {
    background: #fcf8e3;
}

/* Blog */
.blogPosts {
    margin: 0px;
    padding: 0px;
}

    .blogPosts li {
        padding: 30px 0px 0px 0px;
        list-style: none;
        border-top: solid 1px #e2e2e2;
    }

.blog-description {
    font-size: 14px;
    line-height: 22px;
}

    .blog-description p {
        font-size: 14px;
        line-height: 22px;
    }

/* Comments */
#comments {
    padding-top: 20px;
    border-top: dashed 1px #e2e2e2;
    padding-bottom: 10px;
    margin-top: 30px;
}

.comments {
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
}

    .comments li {
        margin: 12px 0 0 0;
        padding: 12px 24px;
        background-color: #f5f5f5;
        border: 1px solid #eee;
        border: 1px solid rgba(0, 0, 0, 0.05);
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        border-radius: 4px;
        -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
        -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
        box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
    }

.comment {
    margin: 0;
    padding: 0;
}

    .comment h4 {
        font-size: 1.077em;
    }

    .comment .who {
    }

    .comment .what {
    }

    .comment #add-comment {
    }

.comment-form #comment-by {
    font-size: 1.231em;
    font-weight: normal;
    margin: 0 0 1.2em 0;
    border: none;
}

.comment-form #comment-text {
    width: 33.2em;
}

.comment-form input[type="text"] {
    width: 32em;
}

.comment-disabled {
}

.comment-count {
    font-size: 1.231em;
}

/* Turn off Admin Edits */
.manage-actions {
    display: none;
}

/* Header and Breadcrumb */
#header {
    margin: 0px auto;
    position: relative;
    border-radius: 0px;
    -webkit-border-top-left-radius: 4px;
    -webkit-border-top-right-radius: 4px;
    -moz-border-radius-topleft: 4px;
    -moz-border-radius-topright: 4px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

#layout-header.with-navsubmenu #header {
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

#layout-header.with-navsubmenu {
    -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
}

    #layout-header, #layout-header.with-navsubmenu #header, #layout-header.with-navsubmenu #subnavmenu {
        -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
        -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    }


.zone-header {
    display: inline-block;
}

#subnavmenu {
    margin: 0px auto 0px;
    min-height: 0px;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
    border-radius: 0px;
    -webkit-border-bottom-left-radius: 4px;
    -webkit-border-bottom-right-radius: 4px;
    -moz-border-radius-bottomleft: 4px;
    -moz-border-radius-bottomright: 4px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

    #layout-header.with-navsubmenu #subnavmenu {
        margin-top: 4px;
        -webkit-border-radius: 0px;
        -moz-border-radius: 0px;
        border-radius: 0px;
        padding-bottom: 2px;
    }

    #subnavmenu .container {
        background-color: #005496;
        background-image: -ms-linear-gradient(top, #005496, #054899);
        background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#005496), to(#054899));
        background-image: -webkit-linear-gradient(top, #005496, #054899);
        background-image: -o-linear-gradient(top, #005496, #054899);
        background-image: -moz-linear-gradient(top, #005496, #054899);
        background-image: linear-gradient(top, #005496, #054899);
        background-repeat: repeat-x;
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        border-radius: 4px;
    }

    #subnavmenu .nav-pills > .active > a, #subnavmenu .nav-pills a:hover {
        border-bottom: 4px solid #f8fbfd;
    }

    #subnavmenu .nav-pills > li {
        border: 0px;
        height: auto;
        margin: 0px;
    }

    #subnavmenu .nav-pills > li > a {
        color: white;
        font-size: 13px;
        -webkit-border-radius: 0px;
        -moz-border-radius: 0px;
        border-radius: 0px;
        background-color: transparent;
        padding: 4px 0px;
        margin: 0px 6px;
    }

/* Subnavs */
.subnav.navbar-inner {
    width: 100%;
    padding: 5px 0 0 0;
    background: #005496;
    -webkit-border-top-left-radius: 0px;
    -webkit-border-top-right-radius: 0px;
    -moz-border-radius-topleft: 0px;
    -moz-border-radius-topright: 0px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}

.subnav .nav {
    margin-bottom: 0;
}

.subnav-fixed .nav {
    margin: 0 auto;
    padding: 0 1px;
}

.zone-nav-sub-menu .disabling-pane {
    background-color: transparent !important;
}

/* 
* Refactoring of main menu 
****************************************/
.navbar .nav.menu-main > li > a {
    padding: 0px;
}

.navbar .nav.menu-main .active > a, .navbar .nav.menu-main .active > a:hover {
    background-color: transparent;
}

.navbar .nav .active > a.menu-item:hover,
.navbar .nav .highlight > a.menu-item:hover,
.navbar .nav > li > a.menu-item:hover,
.drop-menu-item > a.menu-item:hover {
    color: #ffffff;
    font-weight: bold;
    background-color: #005496; /* fallback color if gradients are not supported */
    background-image: -webkit-linear-gradient(top, #054899, #005496); /* For Chrome and Safari */
    background-image:    -moz-linear-gradient(top, #054899, #005496); /* For old Fx (3.6 to 15) */
    background-image:     -ms-linear-gradient(top, #054899, #005496); /* For pre-releases of IE 10*/
    background-image:      -o-linear-gradient(top, #054899, #005496); /* For old Opera (11.1 to 12.0) */ 
    background-image:         linear-gradient(to bottom, #054899, #005496); /* Standard syntax; must be last */
    border-top-left-radius:4px;
    border-top-right-radius:4px;   
}

.navbar .nav .active > a.menu-item,
.navbar .nav .highlight > a.menu-item {
    background-color: #005496; /* fallback color if gradients are not supported */
    background-image: -webkit-linear-gradient(top, #054899, #005496); /* For Chrome and Safari */
    background-image:    -moz-linear-gradient(top, #054899, #005496); /* For old Fx (3.6 to 15) */
    background-image:     -ms-linear-gradient(top, #054899, #005496); /* For pre-releases of IE 10*/
    background-image:      -o-linear-gradient(top, #054899, #005496); /* For old Opera (11.1 to 12.0) */ 
    background-image:         linear-gradient(to bottom, #054899, #005496); /* Standard syntax; must be last */

    font-weight: bold;
    color: #ffffff;
    -webkit-box-shadow: 0px -1px 2px 0px rgba(1, 1, 1, .25);
    box-shadow: 0px -1px 2px 0px rgba(1, 1, 1, .25);
    padding-bottom: 7px;
    border-top-left-radius:4px;
    border-top-right-radius:4px;
}

.navbar .nav > li > a.menu-item {
    display: inline-block;
    color: #58595b;
    background-color: transparent;
    padding: 4px 10px;
    line-height: normal;
    margin: -5px 4px 0 4px;
    vertical-align: baseline;
    font-size: 16px;
    font-weight:bold;
}

.navbar .nav > li {
    border-right: 2px solid #58595b;
    height: 16px;
    margin-bottom: 6px;
    overflow: visible;
}
.navbar .nav > li:last-child {
    border-right: 0px;
}

.dropdown-menu .menu-item {
    background-image: none;
    line-height: normal;
    margin-top: 0px;
    color: #1A1849;
}

/* ------------------ */
/* Clauses and SubClauses */
/* ------------------ */
.hiddenTitle {
    display: none;
}

.subtitle {
    font-style: italic;
    color: #777 !important;
    margin-bottom: 4px;
}

.clause-suppletive.well, .clause-normal.well {
    margin-bottom: 8px;
    position: relative;
}

.clause-suppletive.clause-recent.well > ul, .clause-normal.clause-recent.well > ul {
    margin-left: 0;
}

.clause.ui-draggable-dragging {
    width: 250px;
}

.clause-suppletive {
    background-color: #F2DEDE;
    border-color: #EED3D7;
}

.edit-clause-tags {
    display: none;
}

.block-level0 {
    margin: 8px 8px 8px 0px;
}

.block-level1 {
    margin: 8px 8px 8px 16px;
}

.block-level2 {
    margin: 8px 8px 8px 32px;
}

.block-level3 {
    margin: 8px 8px 8px 48px;
}

.block-level4 {
    margin: 8px 8px 8px 64px;
}

.block-level5 {
    margin: 8px 8px 8px 80px;
}

.block-level6 {
    margin: 8px 8px 8px 96px;
}

.block-level7 {
    margin: 8px 8px 8px 112px;
}

.block-level8 {
    margin: 8px 8px 8px 128px;
}

.clause-notes {
    font-style: italic;
    border: 1px dashed #58595b;
    background: #eeeeee;
    padding: 4px;
}

.clause-version {
    font-style: italic;
    color: #58595b;
}

.clause h2, .clause-normal h2 {
    font-size: 15px;
}

.clause h3, .Clause h3, .SubClause h3, .Poste h3, .docBlock h3 {
    font-size: 14px;
    margin-bottom: 12px;
}

.clause h4, .clause-normal h4, .Clause h4, .docBlock h4 {
    font-size: 13px;
}

.clause h2, .clause h3, .clause h4, .clause-normal h2, .clause-normal h4 {
    text-decoration: none;
    color: #000;
    line-height: normal;
}

    .clause h1 a, .clause h2 a, .clause h3 a {
        text-decoration: none;
        color: #000;
    }

.clause table[align="right"], .docBlock table[align="right"] {
    margin-left: auto;
    float: none;
}

.clause table[align="left"], .docBlock table[align="left"] {
    margin-right: auto;
    float: none;
}

.contentorder-sortable li {
    margin-bottom: 5px;
}

ul.sortable, .clause ul:not(.pageStatus) {
    margin-left: 16px;
}

    ul.sortable ul {
        margin-left: 16px;
    }

    ul.sortable li {
        position: relative;
    }

    ul.sortable li.ContentBlock {
        margin-left: -16px;
    }

.sortable li .data-container.supplementaire {
    background: #F2DEDE;
    border-color: #b94a48;
}

.annotation {
    font-style: italic;
    border: 1px dashed #666;
    background: #EEE;
    padding: 4px;
    min-height: 22px;
}

#dlAnnotation .editor-field {
    padding: 4px;
}

/*.content { margin-bottom: 18px; }*/

/* NOTE spoissant: cheesy, should use a more generic approach for all buttons */
.clause-controls {
    float: right;
    visibility: hidden;
    margin-right: 3px;
}

.clause:hover .clause-controls {
    visibility: visible;
}

/* 
* Search results 
*****************************/
#clause-search-modal .input-append {
    width: 300px;
    float: left;
    overflow: hidden;
    height: 100%;
    padding-left: 6px;
    border-right: 1px solid #ddd;
}
/*[CB-2194] Add paging functionality in the search clauses dialog when creating a new rule*/ 
#clauses-result.bottom-padding {
    padding-bottom : 20px
}
/*[CB-2194] Add paging functionality in the search clauses dialog when creating a new rule*/ 
#result-pager.fixed-at-foot {
    position: absolute;
    left: 300px;
    bottom: 0;
    width: 50%;
    background-color: white
}

.clause-search-item {
    position: absolute;
    top: 2px;
    right: 4px;
}

.search-result-type.search-result-clause {
}

.search-result-type.search-result-section {
    background: lightyellow;
}

.search-result-type.search-result-poste {
    background: #FF8888;
}

/*
* TaxonomyField styling
********************************/
.terms-container {
    vertical-align: top;
    margin-bottom: 8px;
}

.terms {
    margin: 0;
}

ul.terms:nth-child(1n+3) {
    margin-left:25px;
}

.term.active, .term.active input, .term.active label {
    cursor: pointer;
}

    .term.active label:hover {
        background-color: #8096B0;
        color: #fff;
        border: 1px solid #005496;
        cursor: pointer;
    }

.term, .term label {
    cursor: default;
    text-transform: none;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    border: 1px solid transparent;
}

.term {
    margin: 0px;
    padding: 0px 2px;
}

fieldset .term label {
    padding: 5px;
    line-height: normal;
    color: inherit;
    margin: 0px;
    font-size: 12px;
    font-weight: normal;
    min-width: 0px;
}

.term label input {
    display: inline;
    margin: 0px 0px 0px 4px;
}

.term .title-term {
    font-weight: bold;
}

.term label:after {
    content: '';
}


.term:not(.active) > label > input:disabled {
    display: none;
}

    .term input:disabled.stay-visible {
        display: inline-block;
    }


.term-clear {
    clear: both;
    height: 0px;
    margin: 0px;
    line-height: 0px;
}

.alert .term {
    border-color: transparent;
}

.well .term {
    border-color: transparent;
}

.terms-container .well {
    margin-bottom: 10px;
}

/*
* Top Buttons Styling
*******************************/
#top-buttons .btn {
    margin: 2px 0 2px 4px;
    float: right;
}

.documents-links {
    display: inline-block;
    margin-left: 25%;
    padding-left: 5px;
}


/*
* Editor window
********************************/
#PublishLater_ScheduledPublishTime {
    margin: 0 6px 0 6px;
}

.edit-item-actions {
    margin: 4px 0px;
}

    .edit-item-actions .action-button {
        float: left;
        margin-right: 4px;
    }

.edit-item-sidebar button, .edit-item-sidebar input {
    float: right;
    margin-left: 4px;
}

    .edit-item-sidebar input#PublishLater_ScheduledPublishDate {
        margin: 0;
    }

#clause-rules select {
    width: auto;
    margin-bottom: 2px;
}

#clause-rules, #rule-dialog select {
    width: 100%;
}

#rule-dialog p {
    width: 100%;
    margin: 0;
}

#rule-dialog td {
    vertical-align: top;
}

#rule-dialog .clause-search-input {
    float: left;
}

#rule-dialog h4 {
    font-size: 13px;
    line-height: 18px;
}

.rulecurrentitem {
    background: lightblue;
}
/*
* Modal dialogs
**********************************/
.modal {
    overflow: hidden;
}

.modal-big {
    height: auto;
    width: 85%;
    position: absolute;
    top: 10% !important;
    left: 7.5%;
    margin: 0px;
}

    .modal-big .modal-header {
    }

    .modal-big .editor-field {
        overflow-x: hidden;
        overflow-y: auto;
        padding: 0px 5px;
    }

    .modal-big .modal-footer {
        height: 28px;
    }

.search-result-type {
    display: inline-block;
    font-size: 11px;
    text-align: center;
    border: 1px solid black;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    color: black;
    background: #EFEFEF;
    overflow: hidden;
    vertical-align: bottom;
    margin-right: 4px;
    min-width: 42px;
}

/*
* Clause Number 
**************************/
#layout-top-buttons .clause-meta {
    margin: 8px 0px;
}

.clause-meta {
    min-width: 22px;
    padding: 0px 1px;
    height: 18px;
    display: inline-block;
    font-size: 11px;
    text-align: center;
    border: 1px solid black;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    color: black;
    background: #efefef;
    overflow: hidden;
    vertical-align: bottom;
}

    .clause-meta.meta-edilexnotes {
        overflow: visible;
        min-height: 18px;
        height: auto;
    }

div.clause-meta, #layout-top-buttons div.clause-meta {
    margin-right: 4px;
}

.clause-meta.alert-success {
    color: #468847;
    background-color: #dff0d8;
}

.clause-meta.alert-danger {
    color: #b94a48;
    background-color: #f2dede;
}

.clause-meta.alert-info {
    color: #3a87ad;
    background-color: #d9edf7;
}

.clause-meta.alert-warning {
    color: #C09853;
    background-color: #FCF8E3;
}
/*
* Auto-resizing div side by side
**********************************/
.autowidth-left {
    overflow: hidden;
}

.autowidth-right {
    float: right;
}

.autowidth-left-master > .autowidth-left {
    float: left;
    overflow: inherit;
    max-width: 55%;
}
.autowidth-left-master > .autowidth-right {
    overflow: hidden;
    float: none;
}

/*
* Content Tokens
****************/
.content-token, .approbation-chkb-select, .approbation-email-chkb-select, .content-token-input-wrapper input, .content-token-input-wrapper select {
    border: 1px solid #666;
    background: #eee;
}

.content-token.cross-reference {
    border-style: dotted;
}

::-webkit-input-placeholder { 
    color: #A3A3A4;
    font-style: italic;
}

:-moz-placeholder { 
    color: #A3A3A4;
    font-style: italic;
    opacity: 1.0;
}

::-moz-placeholder { 
    color: #A3A3A4;
    font-style: italic;
    opacity: 1.0;
}

:-ms-input-placeholder { 
    color: #A3A3A4;
    font-style: italic;
}

.required::-webkit-input-placeholder { 
    color: #A3A3A4;
    font-style: italic;
}

.required:-moz-placeholder { 
    color: #A3A3A4;
    font-style: italic;
    opacity: 1.0;
}

.required::-moz-placeholder {
    color: #A3A3A4;
    font-style: italic;
    opacity: 1.0;
}
.required:-ms-input-placeholder { 
    color: #A3A3A4;
    font-style: italic;
}

.content-token-input-wrapper {
    display: inline-block;
    vertical-align: top;
}

/*[CB-1661]*/
.width-token-dates-panel {
   display: table-cell;
   vertical-align: bottom;
}

#idtddate td {
   vertical-align: bottom;
}

.content-tokens-table {
    text-align: center;
}

    .content-tokens-table fieldset.horizontal label {
        width: 350px;
        font-size: 13px;
        text-align: right;
    }

.content-token-values input {
    display: block;
}

.content-token-values .token-values {
    display: inline-block;
}

.content-token-values label {
    vertical-align: top;
}

fieldset.edilex-token {
    background: lightblue;
}

.token-section-content {
    margin-left: 16px;
    padding-top: 14px;
}

select.content-token {
    min-width: 0px;
}

table.multiplechoice-tokens-table {
    display:inline-block;
    width: auto;
    min-width: 0;
}
    table.multiplechoice-tokens-table > tbody > tr > td, table.multiplechoice-tokens-table > tbody > tr > th {
        border: none !important;
        padding: 0;
    }
    table.multiplechoice-tokens-table > tbody > tr > th > label {
        min-width: 183px !important;
        width: auto !important;
        text-align: center !important;
    }

/*
* UTILITY
****************/
.disabled {
    cursor: default !important;
}

/*
* ContentTokens 
*******************/
#dlContentTokens .editor-row {
    margin: 5px;
    overflow: auto;
}

    #dlContentTokens .editor-row label {
        display: inline-block;
        width: 260px;
        text-align: right;
        margin-right: 4px;
    }

        #dlContentTokens .editor-row label:after {
            content: ': ';
        }

/*
* Sections
***************/
#sections span.controls {
    position: absolute;
    top: 10px;
    right: 10px;
}

#sections .data-container.selected {
    color: #468847;
    background: #dff0d8;
    border-color: #468847;
}

/*
* Data containers
******************/
.client {
    position: relative;
}

.data-container {
    min-height: 22px; /* for buttons */
}

    .data-container .controls, .client .controls {
        position: absolute;
        top: 2px;
        right: 2px;
        display: none;
    }

    .data-container:hover .controls, .client:hover .controls {
        display: block;
    }

/*
* Repositories
* **********************/
#RepositoriesDisplay h1, #RepositoriesDisplay h2 {
    display: inline;
    vertical-align: middle;
    color: #005496;
}

#RepositoriesDisplay h2 {
    padding-left: 4px;
    color: #005496;
}

.repo-icon {
    width: 22px;
    height: 22px;
}

.meta-repository {
    background: #ffffff;
}

    .meta-repository .repo-icon {
        width: auto;
        height: 18px;
        margin-top: -2px;
        max-width: 22px;
    }

#RepositoryList {
    display: none;
    position: absolute;
    background-color: transparent;
    padding: 36px 0px 0px 0px;
    z-index: 9999;
    left: 0px;
    top: -4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

    #RepositoryList h2 {
        font-size: 10pt;
        line-height: 20px;
    }

    #RepositoryList .repo-icon {
        width: 15px;
        height: 15px;
    }

    #RepositoryList li {
        background: white;
        padding: 0px 4px 0px 4px;
        border: 1px solid transparent;
        cursor: pointer;
    }

        #RepositoryList li:hover {
            color: #fff;
            text-decoration: none;
            background-color: #005496;
            -webkit-border-radius: 4px;
            -moz-border-radius: 4px;
            border-radius: 4px;
        }

            #RepositoryList li:hover a {
                color: #fff;
            }

            #RepositoryList li:hover h2 {
                color: white;
            }

#CurrentRepository {
    margin: 4px 0px;
    display: inline-block;
    cursor: pointer;
}

    #CurrentRepository .icon-chevron-down {
        vertical-align: middle;
        margin: 0px 0px 2px 3px;
    }

    #CurrentRepository a {
        text-decoration: none;
        color: #005496;
    }

#RepositoryList ul {
    overflow-y: scroll;
    max-height: 400px;
}

#CurrentRepository:hover > #RepositoryList {
    /*display: block;*/
    min-width: 300px;
}

.shadow {
    border: 1px solid #DDD;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

/*
* SORTABLE
***************/
.sortable li {
    padding: 0;
}

    .border-rules, .sortable li .data-container {
        border: 1px solid #d4d4d4;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
        border-color: #D4D4D4 #D4D4D4 #BCBCBC;
        padding: 6px;
        margin: 0;
        cursor: move;
        background: #f6f6f6;
        background: -moz-linear-gradient(top, #ffffff 0%, #f6f6f6 47%, #ededed 100%);
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(47%,#f6f6f6), color-stop(100%,#ededed));
        background: -webkit-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%);
        background: -o-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%);
        background: -ms-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%);
        background: linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 );
        overflow: hidden;
    }

        .border-rules.inherited {
            border: 1px solid red;
        }

.sortable.non-editable li .data-container {
    cursor: default;
}

.placeholder {
    /*border: 1px dashed #4183C4;*/
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

/*
* SUBCLAUSES
*************/
.subclausetype {
    font-weight: bold;
    font-size: 13px;
    float: right;
}

.subclause_contentblock_row .subclause_contentblock {
    margin-left: 0px;
}

.subclause_contentblock, .sortable li .data-container.subclause_contentblock_row {
    margin-left: -16px;
}

.search-result .subclause_contentblock {
    margin-left: 0px;
}

#SearchResult .subclause_contentblock {
    display: none;
}

.preview-box .subclause_contentblock {
    margin-left: 0px;
}

/*
* DOCUMENTS
************/
/*.docBlock {
    position: relative;
}*/

.docBlockLi {
    min-height: 26px;
    list-style: none;
    margin-bottom: 12px;
}

    .docBlockLi.Poste, .docBlockLi.Section {
        margin-bottom: 0px;
    }

/*.docblock-level-1 {margin-left: 16px;}
.docblock-level-2 {margin-left: 32px;}
.docblock-level-3 {margin-left: 48px;}
.docblock-level-4 {margin-left: 64px;}
.docblock-level-5 {margin-left: 80px;}
.docblock-level-6 {margin-left: 96px;}
.docblock-level-7 {margin-left: 112px;}*/

li.nav-level-0 {
    padding-left: 0px;
    font-size: 15px;
    font-weight: bold;
    text-decoration: underline;
    margin-top: 12px;
}

    li.nav-level-0 a {
        color: Black;
    }

li.nav-level-1 {
    padding-left: 0px;
    font-weight: bold;
}

li.nav-level-2 {
    padding-left: 8px;
}

li.nav-level-3 {
    padding-left: 16px;
}

li.nav-level-4 {
    padding-left: 24px;
}

li.nav-level-5 {
    padding-left: 32px;
}

li.nav-level-6 {
    padding-left: 40px;
}

li.nav-level-7 {
    padding-left: 48px;
}

.in-revision .docblock-level-1 {
    margin-left: 16px;
}

.in-revision .docblock-level-2 {
    margin-left: 32px;
}

.in-revision .docblock-level-3 {
    margin-left: 48px;
}

.in-revision .docblock-level-4 {
    margin-left: 48px;
}

.in-revision .docblock-level-5 {
    margin-left: 48px;
}

.in-revision .docblock-level-6 {
    margin-left: 48px;
}

.in-revision .docblock-level-7 {
    margin-left: 48px;
}

.in-revision .docblock-level-1 p {
    margin-left: 32px;
}

.in-revision .docblock-level-2 p {
    margin-left: 16px;
}

.in-revision .docblock-level-3 p {
    margin-left: 0px;
}

.in-revision .docblock-level-4 p {
    margin-left: 0px;
}

.in-revision .docblock-level-5 p {
    margin-left: 0px;
}

.in-revision .docblock-level-6 p {
    margin-left: 0px;
}

.in-revision .docblock-level-7 p {
    margin-left: 0px;
}

.in-revision .title {
    margin-top: 4px;
    margin-bottom: 4px;
}

/*.tabbable.docblock-level-1 {margin-left: 0px;}
.tabbable.docblock-level-2 {margin-left: 16px;}
.tabbable.docblock-level-3 {margin-left: 32px;}
.tabbable.docblock-level-4 {margin-left: 48px;}
.tabbable.docblock-level-5 {margin-left: 64px;}
.tabbable.docblock-level-6 {margin-left: 80px;}
.tabbable.docblock-level-7 {margin-left: 96px;}

.tabbable.docblock-level-1 .docblock-level-1 {margin-left: 0px; }
.tabbable.docblock-level-1 .docblock-level-2 {margin-left: 16px;}
.tabbable.docblock-level-1 .docblock-level-3 {margin-left: 32px;}
.tabbable.docblock-level-1 .docblock-level-4 {margin-left: 48px;}
.tabbable.docblock-level-1 .docblock-level-5 {margin-left: 64px;}
.tabbable.docblock-level-1 .docblock-level-6 {margin-left: 80px;}
.tabbable.docblock-level-1 .docblock-level-7 {margin-left: 96px;}

.tabbable.docblock-level-2 .docblock-level-2 {margin-left: 0px; }
.tabbable.docblock-level-2 .docblock-level-3 {margin-left: 16px;}
.tabbable.docblock-level-2 .docblock-level-4 {margin-left: 32px;}
.tabbable.docblock-level-2 .docblock-level-5 {margin-left: 48px;}
.tabbable.docblock-level-2 .docblock-level-6 {margin-left: 64px;}
.tabbable.docblock-level-2 .docblock-level-7 {margin-left: 80px;}
                                                           
.tabbable.docblock-level-3 .docblock-level-3 {margin-left: 0px; }
.tabbable.docblock-level-3 .docblock-level-4 {margin-left: 16px;}
.tabbable.docblock-level-3 .docblock-level-5 {margin-left: 32px;}
.tabbable.docblock-level-3 .docblock-level-6 {margin-left: 48px;}
.tabbable.docblock-level-3 .docblock-level-7 {margin-left: 64px;}

.tabbable.docblock-level-4 .docblock-level-4 {margin-left: 0px; }
.tabbable.docblock-level-4 .docblock-level-5 {margin-left: 16px;}
.tabbable.docblock-level-4 .docblock-level-6 {margin-left: 32px;}
.tabbable.docblock-level-4 .docblock-level-7 {margin-left: 48px;}

.tabbable.docblock-level-5 .docblock-level-5 {margin-left: 0px; }
.tabbable.docblock-level-5 .docblock-level-6 {margin-left: 16px;}
.tabbable.docblock-level-5 .docblock-level-7 {margin-left: 32px;}

.tabbable.docblock-level-6 .docblock-level-6 {margin-left: 0px; }
.tabbable.docblock-level-6 .docblock-level-7 {margin-left: 16px;}

.tabbable.docblock-level-7 .docblock-level-7 {margin-left: 0px; }*/

.tabbable > .title {
    margin-bottom: 0;
}

.current-document {
    position: absolute;
    top: 34px;
    line-height: 26px;
    height: 22px;
    color: Black;
    text-decoration: underline;
    font-size: 15px;
    font-weight: bold;
    display: block;
    background: white;
    padding: 4px 10px;
    width: 263px; /* cheesy */
}

.in-revision .docBlock.Clause {
    z-index: 1000;
}

.in-revision .docBlock {
    padding-right: 32px;
}

    .in-revision .docBlock:hover {
        background: #EBEBEB;
    }

    .in-revision .docBlock.IsRemoved:hover {
        background: #FF8888;
    }

/* Styling the tabbable */
.tabbable .nav {
    margin: 0px;
}

.docDiv .tabbable.disabled .nav-tabs a {
    cursor: not-allowed;
}

.position-top-right {
    position: absolute;
    top: 2px;
    right: 2px;
}

.position-top-left {
    position: absolute;
    top: 2px;
    left: 2px;
}

.hidden {
    display: none;
}

.IsRemoved h3, .IsRemoved p {
    text-decoration: line-through;
}

.IsHidden, .docBlock.IsRemovedByRule, .docBlock.IsRemoved, .tabbable.IsRemoved {
    display: none;
}

.tabbable.Optional.IsRemoved {
    display: block;
}

.docDiv .nav-tabs > li.disabled-by-rules > a, .docDiv .nav-tabs > li.disabled-by-rules > a:hover {
    color: #b94a48;
    background-color: #f2dede;
    border-color: #b94a48;
    cursor: not-allowed;
}

.docDiv .nav-tabs > li.hidden-by-rules > a {
    display: none;
}

.docDiv .tabbable {
    margin-top: 4px;
}

.docDiv .tab-content {
    border-left: 2px solid #005496;
    border-bottom: 2px solid #005496;
    border-right: 2px solid #005496;
    padding: 4px;
    margin-top: -1px;
}

.docDiv .tabbable.IsRemoved .tab-content,
.docDiv .tabbable.IsRemovedByRule .tab-content,
.docDiv .tabbable.TabRemovedByRule .tab-content {
    padding: 0px;
}

.docDiv .tabbable > .title {
    border-left: 2px solid #005496;
    border-right: 2px solid #005496;
    border-top: 2px solid #005496; /*color: White;
    background: #005496;*/
    background-color: #ceebf3;
    padding: 0px 8px;
}

.docDiv .tabbable.IsRemoved > .title,
.docDiv .tabbable.IsRemovedByRule > .title,
.docDiv .tabbable.TabRemovedByRule > .title,
.docDiv .tabbable.IsRemoved .nav-tabs,
.docDiv .tabbable.IsRemovedByRule .nav-tabs,
.docDiv .tabbable.TabRemovedByRule .nav-tabs,
li.IsRemoved {
    background: #FF8888;
}

.docDiv .nav-tabs {
    border-top: 2px solid #005496;
    border-left: 2px solid #005496;
    border-right: 2px solid #005496;
    background-color: #ceebf3;
}

.warningMessageReordering
{
    text-align: center;
    color: white;
    position: absolute;
    z-index: 999999999;
    background-color: red;
    padding: 6px 10px;
    left: 35%;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
}

.IsDraftIndicatorReordering
{
    height: 100%;
    width: 3px;
    background: red;
    position: absolute;
    top: 0px;
    left: -5px; 
} 


.docDiv .nav-tabs > li {
    margin-bottom: 0px;
    width: 100%;
}

.docDiv .nav-tabs > li > a {
    background-color: #6a92b2;
    border-radius: 0px;
    border: 0px;
    border-bottom: 2px solid #005496;
    color: #EFEFEF;
    outline: 0px;
    font-weight: bold;
    margin: 0px;
    padding: 4px 8px;
}

    .docDiv .nav-tabs > li > a:hover {
        color: white;
    }

    .docDiv .nav-tabs > .active > a, .docDiv .nav-tabs > .active > a:hover {
        background-color: #005496;
        color: #FFF;
        cursor: default;
        border: 0px;
        border-bottom: 2px solid #005496;
    }

.docDiv {
    margin-bottom: 24px;
}

.docTitle {
    background: #ceebf3;
    color: #666;
    padding: 4px;
    border: #ceebf3 1px solid;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.forceHidden {
    display: none !important;
}

.rule-notification {
    display: none;
}

.docBlock input,
.docBlock textarea,
.docBlock select,
.docBlock .uneditable-input {
    padding: 2px;
}

.docBlock select {
    line-height: 24px;
    height: 24px;
    max-width: 500px;
}

.docBlock .input-prepend .add-on,
.docBlock .input-append .add-on {
    padding: 2px 3px;
}
/* 
* PREVIEW BOX
*********************/
.preview-box-connector {
    width: 6px;
    overflow: hidden;
    position: absolute;
    top: 0px;
    right: -3px;
    height: 100%;
    z-index: 9999;
    display: none;
    background-color: #E7E7E7;
}

.well.preview-box {
    position: absolute;
    display: none;
    z-index: 9000;
    overflow: auto;
    background-color: #E7E7E7;
    border-color: #333;
}

.preview-box ul {
    margin-left: 10px;
}

#tab-pane-Search .well {
    background-color: #E7E7E7;
}

    #tab-pane-Search .well.clause-suppletive {
        background-color: #F2DEDE;
        border-color: #EED3D7;
    }

#tab-pane-Search label{
    margin: 5px 0 0 0;
}

/*
* Loading Splash
*******************/
#loadingSplash {
    display: none;
}

    #loadingSplash .splash-content {
        display: table-cell;
        position: fixed;
        width: 50%;
        height: 50%;
        top: 25%;
        left: 25%;
        vertical-align: middle;
        text-align: center;
    }

    #loadingSplash .splash-content-with-frame {
        top: 10px;
        width: 100%;
        height: 100%;
        left: 0;
        display: table-cell;
        position: fixed;
        vertical-align: middle;
        text-align: center;
    }

    #loadingSplash .splash-frame-container {
        margin: 20px 5% 0 5%;
        height: 100%;
    }

#loadSplash .splash-frame {
    width: 100%;
    height: 100%;
    margin: 0 20px 0 20px;
}

#loadingSplash .message {
    color: White;
    font-size: 24px;
    padding: 12px;
}

/*
* Log
* *********/
#tab-pane-Log .log {
    border-radius: 0px;
    margin: 0px;
    padding: 4px;
}

    #tab-pane-Log .log .close {
        right: 0px;
    }

/*
* [CB-1346] Remove class 'alert' to prevent closing logs
* *******/
.log-old {
    background: #ffffff;
    color: #999;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    border: 1px solid #999;
}

    .log-old.alert-info:hover {
        color: #3a87ad;
        background-color: #d9edf7;
        border-color: #3a87ad;
    }

/*
* *******/

.alert.log-old {
    background: #ffffff;
    color: #999;
    border-color: #999;
}

    .alert.log-old.alert-success:hover {
        color: #468847;
        background-color: #dff0d8;
        border-color: #468847;
    }

    .alert.log-old.alert-danger:hover {
        color: #b94a48;
        background-color: #f2dede;
        border-color: #b94a48;
    }

    .alert.log-old.alert-info:hover {
        color: #3a87ad;
        background-color: #d9edf7;
        border-color: #3a87ad;
    }

    .alert.log-old.alert-warning:hover {
        color: #C09853;
        background-color: #FCF8E3;
        border-color: #C09853;
    }


/*
* RFP GENERATION
**********************/
#RFPProgress {
    margin: 4px 0;
}
.well.alert-danger
{
      color: #b94a48;
  background-color: #f2dede;
  border-color: #b94a48;
}
div.section {
    margin-bottom: 24px;
}
div.section-content {
    margin: 0px 8px 10px;
}
div.section.span6 {
    width: 50%;
}
div.section.span4 {
    width: 33.333%;
}
div.section.span12 {
    width: 100%;
}
#dlNewRFP .modal-footer {
    text-align: center;
}

.relances.section, .relances.section .section, .relances.section .section-content {
    margin-bottom: 12px;
}
.relance-event {
    padding: 4px 8px;
    margin-top: 6px;
    margin-bottom: 0px;
}
.relance-event fieldset.horizontal, .relance-event fieldset.horizontal label {
    margin: 0px;
    font-size: 13px;
}

/* FOR DEBUGGING PURPOSES. WE WILL REMOVE EVENTUALLY ONCE WE HAVE TESTED ENOUGH. */
/*.docBlock, .docBlock.IsHidden, .content.IsHidden { display: block; }*/
/*.tab-content > .tab-pane { display: block; }*/
/*.IsHidden { background: lightYellow; }
.IsRemovedByRule, .IsRemoved, .TabRemovedByRule, .IsHidden.IsRemoved, .IsHidden.IsRemovedByRule{ background: #FF8888; }
.rule-notification { display: block; color: red !important; font-weight: bold; padding: 3px; font-style: italic; text-align: right; }*/
/* END OF DEBUGGING STYLE */

/*
* FOOTER
**************************/
#footer {
    border-right: 1px solid #DDD;
    border-left: 1px solid #DDD;
    border-bottom: 1px solid #DDD;
    background: #EFEFEF;
}
/* RFP INDEX PAGE
**************************************/
.rfp-controls { float: right; visibility: hidden; margin-right: 10px; }
.well:hover .rfp-controls { visibility: visible; }

/* PAGER 
**************************************/
.pager-footer {
    margin-left: 12px;
    margin-right: 12px;
    vertical-align: middle;
    min-height: 28px;
}

.page-size-options {
    float: left;
    padding-right: 40px;
    margin-left: auto;
}

.pager-footer .pager {
    float: left;
}

html.dyn #submit-pager, html.dyn .apply-bulk-actions-auto { display:none; }
.pager
{
  list-style: none; 
  padding: 0; 
  margin: 4px 0 0 0; 
  overflow: hidden; 
  display: inline-block;  
  margin-bottom: 0;
  margin-left: 0;
  -webkit-border-radius: 3px;
     -moz-border-radius: 3px;
          border-radius: 3px;  
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
     -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
          box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.pager li {
   display: inline;
}

/*a mean enabled, span mean disabled*/
.pager a, .pager span
{
  float: left;
  padding: 0 10px;
  line-height: 20px;
  text-decoration: none;
  border: 1px solid #ddd;
  border-left-width: 0;
}

.pager span 
{
  background-color: #f5f5f5;
  cursor: default;
}

.pager a:hover,
.pager .active a {
  background-color: #f5f5f5;
}

.pager .active a {
  color: #58595b;
  cursor: default;
}

.pager li:first-child a,
.pager li:first-child span {
  border-left-width: 1px;
  -webkit-border-radius: 3px 0 0 3px;
     -moz-border-radius: 3px 0 0 3px;
          border-radius: 3px 0 0 3px;
}

.pager li:last-child a,
.pager li:last-child span {
  -webkit-border-radius: 0 3px 3px 0;
     -moz-border-radius: 0 3px 3px 0;
          border-radius: 0 3px 3px 0;
}

.pager-centered {
    text-align: center;
}

.pager-right {
    text-align: right;
}

.page-results {
    margin-top: 6px;
    position: absolute;
    padding-left: 5px;
}

/*
* USER PROFILE
* *******************/
.userprofile-role-sections {
    display: inline-block;
}

.userprofile-role-sections .role-label {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 13px;
    line-height: 18px;
    color: black;
    font-weight: normal;
    text-transform: none;
    margin: 0px !important;
    width: auto;
}

.userprofile-role-sections label.role-label:after {
    content: '';
}

.userprofile-role-sections .userprofile-roles-visibilities a {
    text-decoration: none;
    cursor: pointer;
}

.userprofile-role-section:not(.no-section-name) .userprofile-role {
    padding-left: 18px;
}

.userprofile-role-section {
    margin-bottom: 4px;
    margin-top: 4px;


}


/*
* HELPERS
********************/
.inline-block {
    display: inline-block;
}

.float-left {
    float: left;
}

.clear-both {
    clear: both;
}

/*.highlighted {
    background: #ceebf3;
    color: #666;
}*/

.highlighted {
    background: #ceebf3;
    color: #666;
}

.build-version {
    text-align: right;
    color: #999999;
    padding: 0px 4px;
}

/*
* DOCUMENTS SHARING
********************/
.explanation-panel {
    border: 1px solid #DDD;
    border-collapse: separate;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    padding: 10px;
}

.folderlist-panel {
    border: 1px solid #DDD;
    border-collapse: separate;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    margin-top: 20px;
    padding: 10px;
}

/*
* TRANSACTION 
*********************/
.transaction-in-progress {
    position: absolute;
    top: 0;
    right: 18px;
    background: white;
    border-left: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    -webkit-border-bottom-left-radius: 4px;
    -moz-border-radius-bottomleft: 4px;
    border-bottom-left-radius: 4px;
    display: none;
}

.transaction-in-progress span{font-size: 13px; font-weight: bold;}
.transaction-in-progress img{width: 24px; height: 24px;}
.create-alternative {float: left;}

/*
    * CONTRACT MANAGEMENT
    *********************/

.edilex-style .nav-tabs {
    border: 0px;
    margin-bottom: 2px;
}
.edilex-style .nav-tabs > li {margin-bottom: 0px;}
.edilex-style .nav-tabs.level-0 > li > .breadroot {
    background-image: url('img/breadcrumb-inactive.png');
    background-repeat: repeat-x;
    background-position: 0 -60px;
    
}
.edilex-style .nav-tabs.level-0 > li > .breadroot-fin {
    background-image: url('img/breadcrumb-inactive-fin.png');
    background-repeat: repeat-x;
    background-position: 0 -60px;
}

.edilex-style .nav-tabs.level-0 > li > .breadroot-before-active {
    background-image: url('img/breadcrumb-inactive-before-fin.png');
    background-repeat: repeat-x;
    background-position: 0 -60px;
}

.edilex-style .nav-tabs.level-0 > li.active > .breadroot {
    background-image: url('img/breadcrumb-active.png');
}

.edilex-style .nav-tabs.level-0 > li.active > .breadroot-fin {
    background-image: url('img/breadcrumb-active-fin.png');
}
.edilex-style .nav-tabs.level-0 > li > .breadtail {
    background-position: 0px 0px;
    width: 11px;
    height: 30px;
    display: inline-block;
}
.edilex-style .nav-tabs.level-0 > li:first-child > .breadtail {
    background-position: 0px -30px;
}
.edilex-style .nav-tabs.level-0 > li > .breadhead {
    background-position: 0 -90px;
    width: 11px;
    height: 30px;
    display: inline-block;
    margin-left: -4px;
}
.edilex-style .nav-tabs > li > a {
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    color: #DDD;
    outline: 0px;
    font-weight: bold;
    margin: 2px 4px;
    padding: 4px 8px 2px;
}
.edilex-style .nav-tabs.level-0 > li > a {
    border: 0px solid black;
    color: #666665;
    outline: 0px;
    font-weight: bold;
    margin: 0px 0px;
    padding: 0px 4px 0px 0px;
    min-width: 107px;
    display: inline-block;
    -webkit-border-radius: 0px 0px 0 0;
    -moz-border-radius: 0px 0px 0 0;
    border-radius: 0px 0px 0 0;
    height: 30px;
    vertical-align: top;
    margin-left: -4px;
    text-align: center;
    line-height: 30px;
}
.edilex-style .nav-tabs.level-1  > li > a, .edilex-style .nav-tabs.level-2  > li > a {
    background: #ffffff;
    color: #666665;
    border: 1px solid #777;
}
    .edilex-style .nav-tabs.level-0  > li > a.disabled-menu, 
    .edilex-style .nav-tabs.level-1  > li > a.disabled-menu, 
    .edilex-style .nav-tabs.level-2  > li > a.disabled-menu,
    .edilex-style .nav-tabs.level-0  > li > a.disabled-menu:hover, 
    .edilex-style .nav-tabs.level-1  > li > a.disabled-menu:hover, 
    .edilex-style .nav-tabs.level-2  > li > a.disabled-menu:hover {
        color: #A3A3A3;
        cursor: not-allowed;
    }

.edilex-style .nav-tabs > li > a:hover {
    color: #005496;
}
.edilex-style .nav-tabs.level-1  > li > a:hover, .edilex-style .nav-tabs.level-2  > li > a:hover {
    color: #005496;
}
.edilex-style .nav-tabs.level-0 > .active > a,
.docDiv .nav-tabs.level-0 > .active > a:hover
{
    color: #FFF;
    cursor: default;
    border: 0px solid black;
}
.edilex-style .nav-tabs > .active > a,
.docDiv .nav-tabs > .active > a:hover,
.edilex-style .nav-tabs.level-1  > .active > a,
.edilex-style .nav-tabs.level-1  > .active > a:hover,
.edilex-style .nav-tabs.level-2  > .active > a,
.edilex-style .nav-tabs.level-2  > .active > a:hover {
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#054899', endColorstr='#005496'); /* for IE */
    background-image: -webkit-gradient(linear, left top, left bottom, from(#054899), to(#005496)); /* for webkit browsers */
    background-image: -moz-linear-gradient(top,  #054899,  #005496); /* for firefox 3.6+ */
    background-image: -ms-linear-gradient(top, #054899, #005496); /* IE10+ */

    color: #FFF;
    cursor: default;
    border: 1px solid #005496;
}

.approbation-chkb span {
    vertical-align:top;
}

.fileuploadfield-displayname {
    vertical-align: middle;
    font-weight: bold;
    font-size: 14px;
    color: #444444;
}

.date input {
    min-width: 100px;
}

fieldset.horizontal label.collection-display-name {
    width: 240px;
}

.add-new-selectedbidder {
    float: right;
}

.pad-label-right label {
    padding-right: 240px;
}

.total-line {
    width: 240px;
    margin-left: 422px;
    border: 2px solid black;
    margin-top: 4px;
    margin-bottom: 4px;
}

.span4 fieldset.horizontal label {
    width: 118px;
}

div.inline-block-fieldset {
    display: inline-block;
    vertical-align: top;
}

div.inline-block-fieldset fieldset.horizontal {
        display: inline-block;
        text-align:center;
        width: 129px;
        overflow: hidden;
}

/* CB-1758 */
.content-item-collection[data-contenttype="Bidder"] div.inline-block-fieldset fieldset.horizontal {
    width: 124px;
}

/* CB-1758 */
.content-item-collection[data-contenttype="Bidder"] div.inline-block-fieldset select {
    min-width: 106px;
    width: 106px;
}

div.inline-block-fieldset fieldset.horizontal.approbation-chkb {
    width: 140px;
}

div.inline-block-fieldset fieldset.horizontal.approbation-chkb span {
    max-width: 46px;
    display: inline-block;
    overflow: hidden;
}

div.inline-block-fieldset fieldset.horizontal label {
    width: 130px;
}

div.inline-block-fieldset input, div.inline-block-fieldset select {
    min-width: 110px;
    width: 110px;
}

div.inline-block-fieldset input[type='checkbox'] {
    min-width: 0px;
    width: auto;
}

.content-tokens-table.table.table-bordered td {
    max-width: 160px;
    overflow:hidden;
}

.section label {
    text-transform: none;
}

.hidden-title, .hiddenTitle {
    color: #bbb;
}

.publish-later {
    display: inline-block;
    float: right;
}

#top-buttons .publish-later .btn {
    float: none;
}

.publish-later input {
    min-width: 0px;
}

#updatesList, #edilexRemovalList {
    position: relative;
}

.widget-aside-second {
    margin-bottom: 6px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    overflow:hidden;
}

.widget > header{
    border-bottom: 5px solid #005496 !important;
    color: #005496;
}

/* [CB-1758] styling for bidder items within the collection */
.content-item-collection[data-contenttype="Bidder"] .collection-item, .selected-bidders-display .collection-item {
    border: 2px solid darkblue;
}

.control-list-values tr:nth-child(even) {
    background-color: lightgrey;
}

.control-list-values th:first-child {
    width: 450px;
}

.control-list-values th:not(:first-child) {
    width: 100px;
    text-align:center;
}

.control-list-values td:not(:first-child) {
    text-align:center;
}

/*************************** Wordpress LatestPost Widget *******************************/
.widget-aside-second .widget-container {
        /* IE10 Consumer Preview */
    background-image: -ms-linear-gradient(top, #FFFFFF 0%, #D3D3D3 100%);
    /* Mozilla Firefox */
    background-image: -moz-linear-gradient(top, #FFFFFF 0%, #D3D3D3 100%);
    /* Opera */
    background-image: -o-linear-gradient(top, #FFFFFF 0%, #D3D3D3 100%);
    /* Webkit (Safari/Chrome 10) */
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #FFFFFF), color-stop(1, #D3D3D3));
    /* Webkit (Chrome 11+) */
    background-image: -webkit-linear-gradient(top, #FFFFFF 0%, #D3D3D3 100%);
    /* W3C Markup, IE10 Release Preview */
    background-image: linear-gradient(to bottom, #FFFFFF 0%, #D3D3D3 100%);
}

.latestpost-widget-container .post-item {
    margin-left: 6px;
    padding: 0px 20px 0px 33px;
    background: url('img/edilex-icon-sml.png') no-repeat 0px 2px;
}
.latestpost-widget-container .post-item .post-title {
    font-weight: bold;
}
    .latestpost-widget-container .post-item .post-title a {
        color: #005496;
    }

    .latestpost-widget-container .post-item.last .post-author {
        border: 0px;
    }

.latestpost-widget-container .post-item .post-author {
    margin-top: 5px;
    padding-bottom: 13px;
    color: #58595b;
    font-size: 12px;
    border-bottom: 1px solid gray;
}

.latestpost-widget-container .post-item .post-date {
    display:none;
}

.collapsed-content {
    display: none;
}

.clause-content-versions {
    width: 100%;
}
    .clause-content-versions .version {
        overflow: hidden;
        float: left;
        padding: 0px 6px 4px 6px;
    }

        .clause-content-versions .version span.header, .document-version-title {
            display: inline-block;
            background-color: #DFDFDF;
            text-align: center;
            padding: 3px 0px;
            font-weight: bold;
            font-size: 14px;
            width: 100%;
            margin-bottom: 4px;
        }

    .clause-content-versions .updated {
        width: 48%;
        border-left: 3px solid black;
        margin-left: -3px;
    }

    .clause-content-versions .new {
        width: 99%;
    }

    .clause-content-versions .updated.previous {
        margin-left: 0px;
        border-left: 0px;
        border-right: 3px solid black;
        padding-left: 0px;
    }

/* [CB-1678] Hide the spin box for input type "number"*/
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

 /* ***************************************
    ** Diff related styles
    *****************************************/

    ins {
        background-color: #CBDAF0;
	    text-decoration:none;
    }

    del {
	    color: #E60000;
	    background-color:none;
        text-decoration:line-through;
    }

    ins.mod, .mod {
        background-color: #FFFF90;
    }

    /* Styling tooltip */
    .tooltip-inner {
        text-align: center;
        text-decoration: none;
        border: 3px solid;
        font-size: 12px;
    }
    .tooltip.in {
        opacity: 1;
    }
    .tooltip.top {
        margin-top: 0;
    }
    .tooltip-arrow {
        display: none;
    }
    .tooltip-insert .tooltip-inner{
        border-color: #386dd9;
        background: #c6dbf2;
        color: #386dd9;
    }

    .tooltip-delete .tooltip-inner{
        border-color: #E60000;
        background: #ffc5c5;
        color: #E60000;
    }

    .tooltip-modify .tooltip-inner{
        border-color: #FFFF90;
        background: #fffff3;
        color: #a5a500;
    }

/*
* Client edit page.
* **********************/
.content-item-collection[data-contenttype="ControlListItem"] article h1 {
    font-size: 14px;
}

.content-item-collection[data-contenttype="ControlListItem"] .collection-item {
    padding-left: 5px;
}

/*
* [CB-1665] New Clauses in Updated Clauses List.
* **********************/
.document-update-section {
    margin-bottom: 20px;
}

/* style for comment feature*/

.view-comments {
    position: absolute;
    display: none;
    opacity: .25;
}
    .view-comments:hover, .view-comments.has-comment {
        opacity: 1;
    }

    .view-comments.has-comment {
        display: block;
    }
        .view-comments .icon-white { display: none; }
        .view-comments.has-comment .icon { display: none; }
        .view-comments.has-comment .icon-white { display: inline-block; }

    .rfp-comments.view-comments {
        left: 0px;
    }
    .doc-comparing-comments.view-comments {
        left: 17px;
    }

    .docBlockLi:hover > .docBlock .view-comments, .docBlock:hover .view-comments, .tabbable:hover .view-comments {
        display: block;
    }

form .docDiv > .docBlock, form .docDiv > .tabbable {
    padding-left: 54px;
    position: relative;
}

#comments-dialog .modal-footer {
    text-align: left;
}

#comments-dialog .comment-item {
    padding: 4px;
    margin-bottom: 4px;
    background: #eee;
    clear: both;
}

#comments-dialog .comment-item .comment-metadata {
    clear:both;
    text-align: right;
    color: grey;
    margin-top: 4px;
}

#comments-dialog .reply-comment {
    clear:both;
    margin-left: 32px;
    margin-bottom: 8px;
}

#comments-dialog .comments-list.first {
    margin-left: 0px;
}

#comments-dialog .comments-list {
    margin-left: 32px;
}

textarea.textarea-comment {
    width: 98%; 
    resize: none;
}

/*
* [CB-1873] Guest user.
* **********************/
/*.invite-guest {
    float:right;
}*/

#share-rfp-guests fieldset label {
    text-transform: none;
}

.guest-item {
    border: 1px solid black;
    clear:both;
    padding: 4px;
}

    .guest-item .guest-item-controls {
        float: right;
        margin-right: 10px;
    }

    .guest-item .guest-roles li input[type='checkbox'] {
        float: left;
    }

    .guest-item .guest-roles li label {
        font-weight: normal;
        padding-left: 16px;
        font-size: 12px;
    }

    .guest-item .guest-roles li label:after {
        content: '';
    }

.share-rfp-to-client input[type='checkbox'] {
    margin-top: 6px;
}

.share-rfp-to-client label::after {
    content: '';
}

.share-rfp-to-client label {
    text-transform: none;
    font-weight: normal;
    padding-left: 12px;
    font-size: 12px;
}
/*
    CB-1904: "Tabbed" view for CollectionFields
    */
.collection-field-tabs {
        width: 100%;
    }

    .collection-field-tabs .deactive {
        display: none;
    }

.collection-field-toolbar {
    margin-right: 4px;
}

    .collection-field-tabs.edilex-style .collection-field-toolbar.nav-tabs.level-1  > li > a{
        cursor: pointer;
        background: lightgrey;
    }

    .collection-field-tabs .collection-field-tab, .collection-field-tabs .collection-field-toolbar {
        display: inline-block;
        float: initial;
        /* if you need ie7 support */
        *display: inline;
        zoom: 1;
        overflow: hidden;
        white-space: nowrap;
    }

        .collection-field-tabs .collection-field-tab li, .collection-field-tabs .collection-field-toolbar li {
            display: inline-block;
            float: none;
            /* if you need ie7 support */
            *display: inline;
            zoom: 1;
        }

        .collection-field-tabs .collection-field-tab a, .collection-field-tabs .collection-field-toolbar a {
            display: inline-block;
        }

    .collection-field-tabs > div > .content-item-collection, .collection-field-tabs > .content-item-collection {
        border: 2px solid #005496;
        border-top: 9px solid #005496;
        -webkit-border-top-right-radius: 6px;
        -webkit-border-bottom-right-radius: 9px;
        -webkit-border-bottom-left-radius: 9px;
        -moz-border-radius-topright: 6px;
        -moz-border-radius-bottomright: 9px;
        -moz-border-radius-bottomleft: 9px;
        border-top-right-radius: 6px;
        border-bottom-right-radius: 9px;
        border-bottom-left-radius: 9px;
        background: #ffffff;
        padding-top: 6px;
    }

    .collection-field-tabs .collection-field-display .collection-item{
        border: none;
    }

    .collection-field-tabs .collection-field-display .collection-item:hover{
        background: white;
    }

    .collection-field-tabs .content-item-collection {
        width: 99%;
    }

    .inlineButton {
    display:inline;
}

.inlineButton > a {
    margin-left:0px;
}


span.fileuploadfield-metadata {
    margin-left: 25px;
}

/* Clause History */
#clause-history-dialog .shown-in-enter-comment-dialog,
#clause-history-dialog .shown-in-show-history-dialog,
#clause-history-dialog .shown-in-publish-action {
    display: none;
}

#clause-history-dialog.enter-comment-dialog .shown-in-enter-comment-dialog,
#clause-history-dialog.enter-comment-dialog.publish .shown-in-enter-comment-dialog .shown-in-publish-action,
#clause-history-dialog.show-history-dialog .shown-in-show-history-dialog {
    display: block;
}

#clause-history-dialog.enter-comment-dialog {
    width: 760px;
}

#clause-history-dialog.show-history-dialog {
    width: 90%;
}

#clause-history-dialog fieldset label {
    font-weight: normal;
    text-transform: none;
    width: 80%;
}

/* Clause delete later */
#clause-remove-later-dialog .shown-in-enter-comment-dialog,
#clause-remove-later-dialog .shown-in-show-history-dialog,
#clause-remove-later-dialog .shown-in-publish-action {
    display: none;
}

#clause-remove-later-dialog.enter-comment-dialog .shown-in-enter-comment-dialog,
#clause-remove-later-dialog.enter-comment-dialog.publish .shown-in-enter-comment-dialog .shown-in-publish-action,
#clause-remove-later-dialog.show-history-dialog .shown-in-show-history-dialog {
    display: block;
}

#clause-remove-later-dialog.enter-comment-dialog {
    width: 760px;
}

#clause-remove-later-dialog.show-history-dialog {
    width: 90%;
}

#clause-remove-later-dialog fieldset label {
    font-weight: normal;
    text-transform: none;
    width: 80%;
}

#clause-history-dialog fieldset label:after { content: '' }

#clause-history-dialog input { vertical-align: middle }

/* Report dialog in Contract Management Views */
#reportOptions .report-group .report {
    padding-left: 26px;
    width: 90%;
}

    #reportOptions .report-group .report label {
        text-transform: none; 
        font-weight: normal;
    }

        #reportOptions .report-group .report label:after {
            content: '';
        }

div fieldset.report.horizontal label {
    width: 90%;
    vertical-align: middle;
    word-break: break-all;
}

/* Clause edition in RFP Revision */
form[class="ajax-form"][data-type="AdaptClause"] .edit-item-primary > fieldset.horizontal { position: relative; width: 100%; }
form[class="ajax-form"][data-type="AdaptClause"] .edit-item-primary > fieldset.horizontal > label { vertical-align: top; float: left; padding-right: 4px; }
form[class="ajax-form"][data-type="AdaptClause"] .edit-item-primary > fieldset.horizontal > span { display: block; overflow: hidden; }
form[class="ajax-form"][data-type="AdaptClause"] select#Clause_Availability { display: inline-block; width: 70%; }

ul.front-end-drop-menu {
    min-width:100%;
    border-radius: 0;
    padding-bottom: 10px;
}

ul.dropdown-menu.front-end-drop-menu:before {
    content: none;
}

ul.dropdown-menu.front-end-drop-menu:after {
    content: none;
}

i.menu-toggle-icon {
    margin: 2px 0 0 2px;
    cursor: pointer;
}

div.drop-menu-position {
    position: relative;
    top: -2px;
    margin: 0 5px 0 3px;
}

.drop-menu-item.item-disabled > a.menu-item {
    color: gray;
    cursor: not-allowed;
}

/*.navbar .nav .highlight:not(.active) > a.menu-item:hover, .navbar .nav .highlight:not(.active) > a.menu-item {
    font-weight: normal;
}*/

.drop-menu-item > a.menu-item {
    color: #005496;
    font-weight: bold;
    padding: 10px 15px 5px 15px;
}

.waiting-block {
    position:absolute;
    width:100%;
    height:100%;
    text-align:center;
    opacity:0.4; 
    filter:alpha(opacity=40);
    z-index: 99999; 
    background-color: #fff;
}

.center-in-container {
  position:absolute;
  top:50%;
  left:50%;
}

.message-block.modal {
    z-index: 2000;
}

.message-block .modal-content {
    position: relative; 
    min-height: 100px;
}

.message-block .message-content {
    position: absolute; 
    padding: 10px; 
    left: 50%; 
    top: 50%; 
    margin-right: -50%; 
    transform: translate(-50%, -50%); 
    text-align: center;
}