#header {
    top: auto;
}

#contentRow {
    padding-top: 60px;
}

.ms-wikicontent {
    padding-right: 0px !important;
}

.ms-rte-layoutszone-inner {
    margin: 0px;
    border-width: 0;
}

.ms-webpartzone-cell {
    margin-bottom: auto;
}


[class]#pageStatusBar, .ms-status-msg {
    margin-bottom: 0px;
}

h2, h3, .ms-h2, .ms-h3, .ms-headerFont {
    color: inherit;
}

.socialBar > ul > li > button {
    min-width: 0em;
    margin-left: 0px;
}

#s4-bodyContainer {
    padding-bottom: 0px;
}

.ms-dlgContent {
    z-index: 1600 !important;
}

.ms-dialog #contentRow {
    padding-top: 0px;
}

.ms-rtestate-field h2 {
    color: inherit;
    line-height: 0.87em;
}

/*.ms-rtestate-field p.genericParagraph {
    line-height: normal;
    font-family: "Proxima Nova Regular";
    margin-bottom: 25px;
}*/

.ms-rtestate-field h1, h1.ms-rteElement-H1, .ms-rtestate-field h2, h2.ms-rteElement-H2 {
    color: inherit;
}


.ms-rte-layoutszone-inner-editable {
    padding-left: 0px;
    padding-right: 0px;
}

.ms-SPZone > .s4-wpcell, .ms-SPZone > .s4-wpcell-plain, .ms-rtestate-write > .ms-rte-wpbox > div > .s4-wpcell, .ms-rtestate-write > .ms-rte-wpbox > div > .s4-wpcell-plain {
    padding-left: 0px;
    padding-right: 0px;
}

.ms-rte-layoutszone-inner {
    word-wrap: normal;
}


input[type=button].basic-btn, input[type=submit].basic-btn, input[type=reset].basic-btn {
    margin-top: 20px !important;
    margin-left: 0 !important;
    background-color: #4bb052 !important;
    border: 0 !important;
    color: #fff !important;
    padding: 15px 35px !important;
    text-transform: uppercase !important;
    font-size: 1em !important;
    font-weight: 700 !important;
    cursor: pointer !important;
}

a.linkReplyer {
    color: black !important;
}

a:hover, a:active {
    text-decoration: none;
}

.genericParagraph a:hover, .genericParagraph a:active {
    text-decoration: underline !important;
}

.wgtEditLink a {
    background-color: #666;
    border: 0;
    color: #fff !important;
    padding: 5px 15px;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 16px !important;
    font-weight: 500;
    position: relative;
    top: 10px;
    z-index: 1000;
}

    .wgtEditLink a:hover {
        background-color: #4bb052;
        border: 0;
        color: #fff;
        padding: 5px 15px;
        text-transform: uppercase;
        text-decoration: none;
        font-size: 16px !important;
        font-weight: 500;
        z-index: 1000;
    }

.wgtEditLink .wgtApproveLink a {
    background-color: #4bb052 !important;
    border: 0;
    color: #fff !important;
    padding: 5px 15px;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 16px !important;
    font-weight: 500;
    line-height: 36px;
    position: relative;
    top: 10px;
    z-index: 1000;
}

    .wgtEditLink .wgtApproveLink a:hover {
        background-color: #666 !important;
        border: 0;
        color: #fff;
        padding: 5px 15px;
        text-transform: uppercase;
        text-decoration: none;
        font-size: 16px !important;
        font-weight: 500;
        line-height: 36px;
    }

a.wgtAddLink {
    background-color: #666;
    border: 0;
    color: #fff;
    padding: 5px 15px;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 16px !important;
    font-weight: 500;
    margin-left: 3px;
    margin-bottom: 3px;
    position: relative;
    top: 10px;
    white-space: nowrap;
    z-index: 1000;
}

.wgtEditLink {
    width: 100%;
    z-index: 100;
}

    .wgtEditLink img.wgtStatusImg {
        margin-right: 15px;
        margin-top: 0px;
        width: 170px;
        float: right;
    }

    .wgtEditLink img.wgtStatusImgRW {
        margin-right: 15px;
        margin-top: 0px;
        width: 130px;
        float: right;
    }

    .wgtEditLink img.wgtStatusImgShort {
        margin-right: 15px;
        margin-top: 0px;
        width: 130px;
        float: right;
    }

    .wgtEditLink img.wgtStatusImgRWShort {
        margin-right: 15px;
        margin-top: 0px;
        width: 100px;
        float: right;
    }

a.wgtAddLink:hover {
    background-color: #4bb052;
    border: 0;
    color: #fff;
    padding: 5px 15px;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 16px !important;
    font-weight: 500;
    white-space: nowrap;
    z-index: 1000;
}

.webpart-inside-title {
    background-color: #4bb052;
    border: 0;
    color: #fff;
    padding: 5px 15px;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 16px !important;
    font-weight: 500;
}

a.ms-dlgCloseBtn * {
    padding: 0 !important;
}

.ms-cui-tabContainer, .ms-cui-tabContainer-or {
    line-height: 1em !important;
}

    .ms-cui-tabContainer *, .ms-cui-tabContainer-or *, .ms-dlgContent * {
        -webkit-box-sizing: content-box !important;
        -moz-box-sizing: content-box !important;
        box-sizing: content-box !important;
    }

.ms-dlgTitle {
    line-height: 2em;
}

/****/
span.tooltip {
    position: absolute;
    width: 1460px;
    max-height: 620px;
    min-height: 460px;
    padding: 10px;
    color: rgb(255, 255, 255);
    background: rgb(225, 225, 225);
    border: 0px 0px 0px 0px none none none none rgb(255, 255, 255) rgb(225, 225, 225) rgb(255, 255, 255) rgb(255, 255, 255);
    border-radius: 0px 3.200000047683716px 3.200000047683716px 0px;
    text-shadow: rgba(0, 0, 0, 0.6) 1px 1px 1px;
    box-shadow: rgb(205, 205, 205) -4px 0px 4px 0px inset;
    z-index: 1300;
}

    span.tooltip:after {
        content: "";
        position: absolute;
        width: 0;
        height: 0;
        border-width: 24px;
        border-style: solid;
        border-color: transparent rgb(225,225,225) transparent transparent;
        top: 42.5%;
        left: -47px;
        z-index: 1300;
    }

.webpart-inside-title {
    padding: 5px;
    margin-top: 5px;
    margin-bottom: 5px;
}

[class="ms-rtestate-read ms-rte-wpbox"] {
    clear: both;
}

.fullViewport {
    background-image: none;
}

li.ui-menu-item a {
    min-height: 30px !important;
}

.dropdown-menu .aux-dropdown .col__join ul.joinSocial > li.xing > a {
    background: url("../images/social/xing.jpg") 0 0 no-repeat;
}

.form-login-content .wrapper .col-right > ul > li.xing > a {
    background: url('../images/social/xing.jpg') 0 0 no-repeat;
}

#DP_overlay .topContent a:visited, #DP_overlay .topContent a {
    color: #00af4f !important;
}

.ms-rtestate-field.ms-rtefield {
    border: 1px solid lightgrey !important;
}

table.ms-ToolPaneOuter {
    position: relative;
    z-index: 100;
}

div.wgtEditLink a {
    vertical-align: top;
}

div.dlgPnlBtn a {
    float: right;
    text-align: center;
    width: 60px;
    font-weight: bold;
    padding: 5px;
    border: 1px solid grey;
    margin-left: 20px;
    color: black;
}

/*nascondere custom action Save and keep editing, Preview*/
#RibbonContainer a[id*='REUSaveAndKeepEditing'],
#RibbonContainer a[id*='REUPreview'] {
    display: none;
}

/* Fix menu icon*/

.ms-siteactions-root > span > a.ms-core-menu-root{
    width: inherit;
    height: inherit;
}

#ms-help, #fullscreenmode{
    visibility: hidden;
}

/* DISABLE RICH TEXT EDITOR CONTROLS */

#Ribbon\.EditingTools\.CPEditTab\.Markup span.ms-cui-section>span>*:not([id*='EditSource']){
    display:none;
}

#Ribbon\.EditingTools\.CPEditTab\.Clipboard span.ms-cui-groupSeparator,
#Ribbon\.EditingTools\.CPEditTab\.Font span.ms-cui-groupSeparator,
#Ribbon\.EditingTools\.CPEditTab\.Paragraph span.ms-cui-groupSeparator,
#Ribbon\.EditingTools\.CPEditTab\.Styles span.ms-cui-groupSeparator,
#Ribbon\.EditingTools\.CPEditTab\.Layout span.ms-cui-groupSeparator{
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1000;
    background-color: rgba(230, 230, 230, 0.31);
    top: 0;
    left: 0;
}

/* AUTOCOMPLETE (COMBOBOX) */

.backgroundOverlay__wrapper.bottomEdition section.overlayMainContent div.top div.lateralInfo .custom-combobox-input {
    width: 80%;
}

.backgroundOverlay__wrapper section.overlayMainContent ul.ui-autocomplete > li:before,
.backgroundOverlay__wrapper section.overlayMainContent div.center > div ul.ui-autocomplete > li:before {
    content: none;
}

.ms-dlgOverlay{
    position: fixed;
}
