@import url("../guidelines_variables.css");

#block-myecobs-account-menu a[href="/user/login"]{

    color: white;
}

.simulateMarginLeft{
    left: calc((100vw - 1280px)/2);
}

.dialog-off-canvas-main-canvas
{
    /* z-index: -2; */
    height: fit-content;
    /* height: 100vh;
    height: max-content; */
}

.input-group-addon {
    display: none !important;
}
.chosen-container-multi .chosen-choices {
    border: none !important;
    background: none !important;
}
.chosen-container-active .chosen-choices {
    box-shadow: none !important;
}

@media (min-width: 768px){
    .setMarginLeft {
        padding-left: calc((100vw - 720px)/2);
    }
    .setMarginRight {
        padding-right: calc((100vw - 720px)/2);
    }
}


@media (min-width: 992px){
    .setMarginLeft {
        padding-left: calc((100vw - 940px)/2 + var(--fix-left-margin));
    }
    .setMarginRight {
        padding-right: calc((100vw - 940px)/2 + var(--fix-left-margin));
    }
}
@media (min-width: 1200px){
    .setMarginLeft {
        padding-left: calc((100vw - 1280px)/2 + var(--fix-left-margin));
    }
    .setMarginRight {
        padding-right: calc((100vw - 1280px)/2 + var(--fix-left-margin));
    }
}


@media (min-width: 1200px){
    .simulateMarginLeft {
        left: calc((100vw - 1280px)/2);
    }
    .simulateMarginRight {
        right: calc((100vw - 1280px)/2);
    }
}
@media (min-width: 992px){
    .simulateMarginLeft {
        left: calc((100vw - 940px)/2);
    }
    .simulateMarginRight {
        right: calc((100vw - 940px)/2);
    }
}
@media (min-width: 768px){
    .simulateMarginLeft {
        left: calc((100vw - 720px)/2);
    }
    .simulateMarginRight {
        right: calc((100vw - 720px)/2);
    }
}
body .container{
    padding-left: 20px;
    padding-right: 20px;
}

.container[role="main"]{
    min-height: 170px;
}


.overlay,
.overlay-in-progress {
    display: flex;
    flex-direction: column;
    position: absolute;
    z-index: 2;
    opacity: 0;
    transition: opacity 200ms ease-in-out;
    border-radius: 4px;

}
.overlay .views-field-title,
.overlay-in-progress .views-field-title
{
    color: white;
}

.overlay:hover,
.overlay-in-progress:hover {
    opacity: 1;
}
.summary-custom .is-active {
    background-color: #133D97;
    color: white;
}

.region.region-main-filter{
    position: sticky;
    top: 0px;
    margin-top: 1%;
}
.region.region-header{
    margin-top: 1.5%;
}
.region.region-header-carousel {
    position: relative;
    margin-top: -22px;

}
/* .user-login-form {width:40%;
    margin-top: 50px;
} */

.pager-nav.text-center{
    float: right;
}

.menu--search-button li {
    height: 70px;
    text-align: center;
}

div[role="heading"]
{
    position: sticky;
    top: calc(var(--toolbar-admin-shift) + 96px);
    background-color: var(--workspace-menu-bg);
    z-index: 100;
    margin-top: -22px;
}

div[role="heading"].fixedHeading {
    position: fixed !important;;
}

.path-my-apis div[role="heading"],
.path-my-request div[role="heading"],
.path-my-showcases div[role="heading"],
.path-api-requested div[role="heading"]
{
    background-color: var(--workspace-menu-bg);
    border: none;
}

.page-node-type-application div[role="heading"],
.page-node-type-analytics div[role="heading"]
{
    padding-bottom: 22px;
    border-bottom: 2px solid #0000001C;
}

div[role="main_filter"]
{
    position: sticky;
    top: calc(var(--toolbar-admin-shift) + 96px);
    background-color: var(--filter-eapi-bg);
    z-index: 100;
}

.breadcrumb{
    margin-top: 50px;
    margin-left: 60px;
    position: absolute;
    z-index: 10;
}

.page-node-type-api .breadcrumb a,
.page-node-type-api .breadcrumb li,
.page-node-type-api .breadcrumb li:before {
    color: var(--api-detail-title);

}

.page-node-type-analytics .breadcrumb a,
.page-node-type-analytics .breadcrumb li,
.page-node-type-analytics .breadcrumb li:before {
	    color: var(--showcase-detail-title);
}

.page-node-type-application .breadcrumb a,
.page-node-type-application .breadcrumb li,
.page-node-type-application .breadcrumb li:before {

    color: var(--showcase-detail-title);

}

.navbar-is-static-top{

    --toolbar-admin-shift:0px
}
.navbar-is-static-top.toolbar-tray-open.toolbar-horizontal.toolbar-fixed{
    --toolbar-admin-shift:78px
    /* 80px */
}

#block-footereco{
  float: left;
  width: 240px;
}

.field--name-field-img-footer {
    height: 188px;
    vertical-align: middle;
    display: table-cell;
    padding-left: 45px;
}

#block-views-block-footer-contacts-view-footer-contacts-block {
    display: flex;
    height: 188px;
    align-items: center;
    width: 20%;;
    float: right;
    padding-right: 15px;
}

#block-views-block-footer-contacts-view-footer-contacts-block .view-header {
    font-size: 15px;
    padding-bottom: 15px;
    color: var(--footer-inactive);
}

#block-views-block-footer-contacts-view-footer-contacts-block .views-field {
    font-size: 15px;
    color: var(--footer-inactive);
}

#block-views-block-footer-contacts-view-footer-contacts-block .views-field-field-contact-link a,
#block-views-block-footer-contacts-view-footer-contacts-block .views-row {
    color: var(--footer-inactive);
}

footer.footer {
    position: relative;
    padding-top: 0;
    padding-bottom: 0;
    border: none;
    overflow: hidden;
}

.menu--footer-menu{
    display: flex;
    justify-content: space-between;
    width: 30vw;
}

#block-footermenu{
    position: relative;
    top: -110px;
    left: 30%;
}

#block-footermenu a{
    letter-spacing: 0;
    color: var(--footer-inactive);
    opacity: 1;
    text-align: left;
    font-size:14px
}

#block-footermenu a:hover {
    color: var(--footer-hover);
}

#block-footermenu a:active {
    color: var(--footer-active);
}

/* Fine Gestione Footer */

.carousel-control-var1 .icon-prev {
    position: absolute;
    top: 100px;
    bottom: 0;
    left: 0;
    content: url(/themes/custom/myecobs/images/arrowleft.png);
}
.carousel-control-var1 .icon-next {
    position: absolute;
    top: 100px;
    bottom: 0;
    left: 0;
    content: url(/themes/custom/myecobs/images/arrowright.png);
}

.field--type-file .file-size{
    color: transparent;
}

.field--type-file .glyphicon-file:before{
    content: url(../../images/fileicon.png);
}

.region-footer{
    background-color: var(--footer-bg);
    height: 188px;
}
.ui-widget-overlay { background: #FFF;opacity: .8;}

.ajax-throbber.glyphicon-spin.icon.glyphicon.glyphicon-refresh{
    display: none;
}
.is-unpublished {
    background-color: transparent!important;
}
.popup-comment-state-dialog-class #drupal-modal{max-height: max-content!important;}

/*comment PopUp  */

#modal_comment_form{
    /*min-height: 400px;*/
    height: fit-content;
}

.popup-comment-state-dialog-class .text-format-wrapper {
    position: absolute;
    top: 66px;
    /* margin: auto; */
    width: 96%;

}
.view-popup-history.view-display-id-block_1 [role="navigation"]{
    float:left
}


/* stile bottoni*/

.btn.delete-class-btn,
.btn.delete-class-btn:active{
    color: transparent;
    background-image:  url('../../images/cestino.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 18px 19px;
    background-color: transparent!important;
    height: 30px;
    width: auto;
    /* width: 100%;
    height: 100%; */
}
.btn.edit-class-btn,
.btn.edit-class-btn:active{
    color: transparent;
    background-image:  url('../../images/penciledit.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 16px 16px;
    background-color: transparent!important;
    width: 100%;
    height: 30px;
}
.button.view-comments-button,
.button.view-comments-button:hover,
.button.view-comments-button:active,
.button.view-comments-button:focus,
.button.view-comments-button:active:hover,
.button.view-comments-button:active:focus{
    color: transparent;
    background-image:  url('../../images/comments.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 16px 16px;
    background-color: transparent!important;
    width: 100%;
    height: 20px;
}

.button.view-logs-button,
.button.view-logs-button:hover,
.button.view-logs-button:active,
.button.view-logs-button:focus,
.button.view-logs-button:active:hover,
.button.view-logs-button:active:focus{
    color: transparent;
    background-image:  url('../../images/view_logs.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 25px 25px;
    background-color: transparent!important;
    width: 100%;
    height: 20px;
}

.view.view-logs.view-id-logs.view-display-id-page_logs td.views-field.views-field-event-type {
  text-transform: capitalize;
}
.view.view-logs.view-id-logs.view-display-id-page_logs th.views-field {
    font-weight: bold;
}

.view-id-emb_api .btn.delete-class-btn{
    background-image:  url('../../images/cestino.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 18px 19px;
    background-color: transparent!important;
    /* width: 100%;
    height: 100%; */
}



.view-id-emb_api .btn.edit-class-btn{
    background-image:  url('../../images/penciledit.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 16px 16px;
    background-color: transparent!important;
    width: 100%;
    height: 100%;
}



.WrapperState {
    border-radius:12px;
}
.table-hover > tbody > tr:hover {background-color: transparent}



.btn.delete-class-btn:active,
.btn.delete-class-btn:focus,
.btn.delete-class-btn:hover{
    color: transparent;
}
/* .btn.delete-class-btn::after{

content: url('../../images/logocancel.png')!important;

} */

/* tabelle */
.table-striped > tbody > tr:nth-of-type(odd) {

    background-color:transparent!important ;
}

/* [id^=block-modalview] */
[class^= edit-button-form]{

    display: flex;
}

.form-group [data-drupal-selector="edit-actions"]
{
    display: flex;
    margin-bottom: 0 ;
    /* flex-direction: row-reverse; */
    justify-content: flex-start;
}

.path-showcases [role="main"],
.path-api-catalog [role="main"],
.path-main-search [role="main"] {
    position: relative;
    margin-top: 0px;
    /* margin-top: 100px; */
}
.like-link{
    cursor:pointer;
}

[data-drupal-selector="edit-cmt-text-format"]{
    display: none;
}
[data-drupal-selector="edit-description-format"]{
    display: none;
}

.no-outline{
    outline: none !important;
    border-color: white !important;
    -webkit-box-shadow: none  !important;
    box-shadow: none  !important;
}


/* SEARCH */
.btn-bold {
    font-weight: 700!important;
    color: #000000!important;
}

/*
.region-sidebar-first .block-views-blockmy-eapi-block-2 .form-group,
.region-sidebar-first .block-views-blockrequest-api-pending-block-a-car > div,
.region-sidebar-first .block-views-blockmy-app-work-block-2 .form-group,
.region-sidebar-first .block-views-blockapi-requested-block-a-cpr > div,
.region-sidebar-first .block-views-blockemb-api-block-cpv > div,
.region-sidebar-first .block-views-blockemb-showcases-block-cpv > div
{
	position: fixed;
    width: 10%;

}
*/

.menu_left {
    position: sticky;
    top: 300px;
}

.main-containerCatalog {
	padding-left: 50px;
	padding-right: 50px;
}

td.views-field-field-api-pmc-email,
td.views-field-button-history-view {
	padding: 0px !important;
}

td.views-field-button-history-view form {
  width: 45px;
}

/* STYLE FOR BDA TYPE HIERARCHICAL SELECT */
.form-item-bda-type-shs {
	margin-top: 20px;
}

.shs-widget-container:first-child label:first-child {
    display: none;
}

.shs-widget-container, .shs-widget-container label {
	display: block;
}

.shs-widget-container {
	position: relative;
    width: max-content;
    max-width: 550px;
}

.shs-widget-container select {
	display: block;
    width: 100%;
    height: 36px;
    padding: 6px 12px;
    font-size: 16px;
    line-height: 1.42857143;
    color: #555555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
	border-radius: 4px;
}

.shs-widget-container:first-child {
	margin-bottom: 15px;
}

.form-item-vincoli-di-utilizzo {
	margin-top: 15px;
}


.form-item-bda-type-shs .select-wrapper:after {
	display: none !important;
}

.shs-widget-container:after {
    color: #000;
    content: '▼';
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    margin-top: -0.5em;
    padding-right: 0.5em;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 50%;
    z-index: 10;
    content: '\e114';
    content: '\e114';
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    -moz-osx-font-smoothing: grayscale;
}

.bdaIcon {
    position: absolute;
    bottom: 0px;
    left: 10px;
}

.bdaIcon img {
    width: 28px !important;
    height: 28px !important;
}

.bdaTypeView {
    position: absolute;
    width: 100%;
    bottom: 5px;
    text-align: center;
    font-size: 13px;
    left: 0px;
}

.setHeightInherit {
    height: inherit;
}

.setHeightDefault {
    height: var(--card_height);
}

.detail-btn {
    padding: unset !important;
    font-size: 1.25em !important;
    display: none !important;
}

.detail-btn:hover {
    color: black !important;
}

#block-newcdf,
#block-modalappview {
    float: right;
}

#block-modalappview {
    top: 6px;
	z-index: 1;
}

#block-newcdf .nav > li > a.button_yellow {
    cursor: pointer;
    z-index: 1;
}


/* --------------------------------   REQUEST DETAIL POPUP */

.view-request-details {
	padding: 20px 30px;
	font-size: 1em;
}

.view-id-request_details .views-field {
	padding: 10px 0;
	clear: both;
}

.view-id-request_details .field-content {
	float: left;
	padding-left: 20px;
}

.view-id-request_details .views-label {
	font-weight: bold;
	float: left;
}

.view-id-request_details .views-field-nothing {
	border-top: 1px solid #ddd;
	margin-top: 50px;
}

#close_window {
    height: 48px;
    width: max-content;
    max-width: max-content;
    object-fit: contain;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    min-width: 100px;
    border: 2px solid var(--black_color);
    padding: 10px 20px;
    color: var(--black_color);
    border-radius: 23px;
    background: transparent;
    margin-bottom: 25px;
	margin-top: 5px;
}

#close_window:hover {
	background-color: var(--main_menu_color);
	color: #fff;
	cursor: pointer;
}
/* ------------------------------------------------------ */

#square-search-form h4 {
    text-align: left;
}

#block-mainnavigation-2 span.exbx,
#block-apicatalog span.exbx,
#block-menubuttonfrontpageshowcases-1 span.exbx,
#block-myecobs-contributormenu span.exbx,
#block-typedsearchmenu span.exbx,
#block-apidescriptormenu span.exbx,
#block-myecobs-apiaccessmanagement span.exbx,
#block-contact span.exbx,
#block-embworkspacemenu span.exbx{
    display: none !important;
}

.view-header h4 {
    text-align: left;
}

.excx-tags-counter {
    text-align: left;
}

.select-wrapper select#edit-sort-by {
    background: #F7F7F7 0% 0% no-repeat padding-box;
    width: 192px;
    border-radius: 11px;
    text-align: left;
}

label.control-label,
.fieldset-legend,
.panel-heading .panel-title{
    text-align: left;
}

.w100x100 {
    width: 100%;
}

.ui-widget {
    font-size: 12px;
}

.ui-widget input,
.ui-widget select,
.ui-widget textarea,
.ui-widget button {
  font-size: 12px;
}

.webform-element-help--content {
    text-transform: none!important;
}

.path-frontpage [id^=block-modalenableview],
.path-api-catalog [id^=block-modalenableview],
.page-node-type-api [id^=block-modalenableview],
.path-showcases [id^=block-modalenableview],
.page-node-type-application [id^=block-modalenableview],
.path-guidelines [id^=block-modalenableview],
.path-my-apis [id^=block-modalenableview],
.path-my-request [id^=block-modalenableview],
.path-my-showcases [id^=block-modalenableview],
.path-emb-showcases [id^=block-modalenableview],
.path-emb-request [id^=block-modalenableview],
.path-emb-apis [id^=block-modalenableview] {
    display: none!important;
}

.path-api-requested [id^=block-modalenableview] {
    display: block!important;
}

#block-modalenableview {
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
    background: var(--button1-inactive-bg);
    border: 2px solid transparent;
    z-index: 10;
    position: relative;
    float: right;
    margin-top: -60px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 10px;
}

#block-modalenableview a {
    color: #ffffff !important;
}

.tt-initial label {
    text-transform: initial;
}

.logs_da_name {
    float: left;
    position: relative;
    width: 100%;
    margin-top: 15px;
    margin-bottom: 15px;
}

#views-exposed-form-logs-page-logs .form-item {
    width: 50%;
    float: left;
    margin-bottom: 10px;
}
#views-exposed-form-logs-page-logs .form-item label {
    width: 20%;
}

.nascondi {
    display: none!important;
}

.showcases-row-catalog .views-field.views-field-field-user-name,
#block-views-block-showcases-full-block-1 .views-field-uid {
    display: none;
}

.overlay-api-frontpage .views-field-field-user-name,
.view-header-detail-api- .views-field-uid {
    display: none;
}

.view-content .panel-body .btn-info {
    border: 2px solid transparent;
    background: var(--button1-inactive-bg);
    padding: 10px 25px;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
}
.view-content .panel-body .btn-info:hover {
    border: 2px solid;
    color: var(--button1-hover);
    border-color: var(--button1-hover-border);
    background: #C7040F 0% 0% no-repeat padding-box;
    opacity: 1;
}
.view-content .panel-body .btn-info:active {
    color: var(--button1-active);
    background-color: var(--button1-active-bg);
    border: 3px solid;
    border-color: var(--button1-active-border);
}

.region .view-header .row {
    margin-bottom: 69px;
    padding-top: 10px;
    height: 39px;
}

.region .view-header .row .col-xs-3 h4 {
    padding: 8px 25px;
    margin-top: -10px;
}

.region .view-header .row .col-xs-5 .control-label {
    line-height: 35px;
}
.region .view-header .row .col-xs-5 .select-wrapper {
    line-height: 33px;
}
.region .view-header .row .col-xs-3 .contextual-region {
    top: -3px;
}

.rpt_dismissed {
    color: #C2C2C2;
    font-style: italic;
}

/* Filtri pagina request workspace emb 
#views-exposed-form-emb-requested-page-pr {
    width: 100%;
    margin: 0 auto;
    display: contents;
}

#views-exposed-form-emb-requested-page-pr .form-item {
    display: flex;
    flex-flow: column!important;
    align-items: center;
    width: 50%!important;
    line-height: 40px!important;
    margin: unset!important;
}

#views-exposed-form-emb-requested-page-pr .form-item-nid > .control-label,
#views-exposed-form-emb-requested-page-pr .form-item-title > .control-label,
#views-exposed-form-emb-requested-page-pr .form-item-uid > .control-label,
#views-exposed-form-emb-requested-page-pr .form-item-combine > .control-label,
#views-exposed-form-emb-requested-page-pr .form-item-uid-1 > .control-label {
    float: left;
    line-height: 20px;
    width: 100%!important;
    margin-top: 10px;
    margin-right: 0;
}

#views-exposed-form-emb-requested-page-pr [data-drupal-selector="edit-field-state-value"] {
    left: 0.5%;
}

#views-exposed-form-emb-requested-page-pr .form--inline > .form-item legend {
    float: left!important;
    line-height: 20px!important;
    width: 100%!important;
    margin: 0 auto!important;
    margin-top: 10px!important;
    margin-right: 0!important;
    margin-left: 0px!important;
    padding-right: 5px;
    display: inline-block;
    max-width: 100%;
}

#views-exposed-form-emb-requested-page-pr .form--inline > .form-item legend > span.fieldset-legend{
    position: absolute;
    left: -2.2%;
    top: 20%;
}

#views-exposed-form-emb-requested-page-pr .form-item-title > .control-label,
#views-exposed-form-emb-requested-page-pr .form-item-combine > .control-label {
    margin-left: 10px;
}

#views-exposed-form-emb-requested-page-pr .form-item-uid > .input-group,
#views-exposed-form-emb-requested-page-pr .form-item-uid-1 > .input-group {
    width: 100%!important;
}

#views-exposed-form-emb-requested-page-pr .form-item-nid > .form-text.form-control,
#views-exposed-form-emb-requested-page-pr .form-item-title > .form-text.form-control,
#views-exposed-form-emb-requested-page-pr .form-item-combine > .form-text.form-control {
    width: 100%!important;
}

#views-exposed-form-emb-requested-page-pr .form-item-title > .form-text.form-control,
#views-exposed-form-emb-requested-page-pr .form-item-combine > .form-text.form-control {
    margin-left: 10px;
}
*/

.bef-exposed-form .form--inline .form-item {
	float: none;
}

#views-exposed-form-emb-requested-page-pr legend {
	font-size: 12px;
	font-weight: bold;
	border: none;
	margin: 0px;
}


#views-exposed-form-emb-requested-page-pr .form-item input {
    margin-right: 5px;
}

/* Fine filtri pagina request workspace emb */

#tag_table .table-responsive button.tabledrag-toggle-weight,
#tag_table table .webform-multiple-table--handle,
#tag_table .webform-multiple-add .form-inline.form-item-tag-add-more-items {
    display: none !important;
}

#tag_table table .webform-multiple-table--operations button {
    color: transparent;
    background-image:  url('../../images/cestino.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 18px 19px;
    background-color: transparent!important;
    height: 30px;
    width: auto;
    margin-top: 15px;
    border: none;
}
#tag_table table .webform-multiple-table--operations button:first-child {
    display: none;
}
#tag_table table .webform-multiple-table td.webform-multiple-table--operations-two {
    width: unset!important;
}
#tag_table table.table > thead > tr > th,
#tag_table table.table > tbody > tr > td {
    padding: 0px;
    border: none;
}
#tag_table .webform-multiple-table table {
    margin-top: -15px;
}

form.webform-submission-new-showcases-form #tag_table table.table > tbody > tr > td {
    padding-top: 15px;
}
form.webform-submission-new-showcases-form #tag_table table .webform-multiple-table--operations button{
    margin-top: unset;
}
form.webform-submission-new-showcases-form #tag_table .webform-multiple-add button {
    margin-top: 5px;
    margin-bottom: 10px;
}
.tec_req .checkbox input[type="checkbox"] {
    width: 2.5%;
    margin-top: 1px;
}

.tec_req .checkbox input[type="checkbox"]:focus {
    border:none;
}

.tec_req span.tec_disclaimer {
    margin-left: 1%;
    line-height: 40px;
    float: left;
    width: 100%;
}

article.request-api .field--name-field-def-bda-type-shs .field--item a {
    pointer-events: none;
}

article.request-api .field--name-field-ra-app-free {
    display: none!important;
}

article.field--name-field-notes .field--label {
    width: 100%!important;
}

.envelope {
    background: url(/sites/default/files/envelope.png);
    background-repeat: no-repeat;
    background-size: 21px;
    background-position: center;
}
