@charset "UTF-8";
:root {
    /* --primary: #ff0c00; */
    --secondary: #f7f1e3;
    --highlight: var(--action); /* #ff0c00; */
}

/* Hide input */
.tab > input[type='checkbox'] {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

/* Core styles/functionality */
.tab__content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.35s;
    overflow-y: auto;
    background: #ccc;
}
input:checked ~ .tab__content {
    max-height: 40rem;
}

/* Visual styles */
.accordion {
    border: 2px solid;
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: #fff;
}

.tab:not(:last-child) {
    border-bottom: 2px solid;
}
.tab__label, .tab__close {
    display: flex;
    cursor: pointer;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 0.8em;
}
.tab__label:hover, .tab__close:hover {
    background: var(--highlight);
    color: white;
}
.tab__label {
    justify-content: space-between;
    padding: 0.5rem;
    /*color: #fff;*/
}

.tab__label:hover span img{
    filter: saturate(500%) contrast(800%) brightness(500%)
    invert(100%) sepia(10%) hue-rotate(120deg);
}

input:checked + .tab__label span img {
    filter: saturate(500%) contrast(800%) brightness(500%)
    invert(100%) sepia(10%) hue-rotate(120deg);
}

input:checked + .tab__label {
    font-weight: bold;
    background: var(--highlight);
    color: white;
}

.tab__label::after {
    content: "❯";
    width: 1em;
    height: 1em;
    text-align: center;
    transform: rotate(90deg);
    transition: all 0.35s;
}
input:checked + .tab__label::after {
    transform: rotate(270deg);
}
.tab__content p {
    margin: 0;
    padding: 1em;
    line-height: 0.8;
}
.tab__close {
    justify-content: flex-end;
    padding: 0.25rem 1rem;
    font-size: 0.75rem;
    font-family: Arial,Helvetica,sans-serif;
}

 /* Hide scrollbar for Chrome, Safari and Opera */
 .sidebar-tabs > .Functions > section::-webkit-scrollbar {
    display: none;
  }

div.polaroid img{
	filter: opacity(50%);
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
}
.img_active {
	filter: opacity(100%) !important;
    -webkit-filter: grayscale(0%) !important; /* Safari 6.0 - 9.0 */
    filter: grayscale(0%) !important;
}
/*
div.polaroid:hover {
    display: block;
    margin-left: auto;
    margin-right: auto;
    border: 2px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 0 2px 1px rgba(156, 16, 6, 1);
}*/

div.polaroid {
    display: block;
    margin-left: auto;
    margin-right: auto;`
}

div.polaroid {
    width: 90%;
    background-color: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    margin-bottom: 15px;
}

div.polaroid_container {
    text-align: center;
    padding: 0 20px;
}

p.polaroid_title {
    font-size: 1rem;
    font-weight: bold;
    line-height: 1rem !important;
}
/*
div.polaroid:hover {
    background-color: #e0e0e0;
    color: rgb(0, 0, 0);
    cursor: pointer;
}*/

.sidebar-tabs > .Functions > section {
    position: relative;
    left: 5px;
    top: 15px;
    width: calc(var(--sidebar_left_position) - 15px);
    overflow: hidden;
    overflow-y: auto;
    height: calc(100vh - var(--page_top_position) - var(--cornice) - 200px); /* 87% */
    padding: 5px;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
.sidebar-tabs > .Functions > section > h2 {
    font-family: Arial,Helvetica,sans-serif;
    font-size: 16px;
    color: #ffffff;
    margin: 0px;
}




 /* The switch - the box around the slider */
 .switch {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 17px;
  }
  
  /* Hide default HTML checkbox */
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  /* The slider */
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 13px;
    width: 13px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  input:checked + .slider {
    background-color: var(--base);
  }
  
  input:focus + .slider {
    box-shadow: 0 0 1px var(--base);
  }
  
  input:checked + .slider:before {
    -webkit-transform: translateX(13px);
    -ms-transform: translateX(13px);
    transform: translateX(13px);
  }
  
  /* Rounded sliders */
  .slider.round {
    border-radius: 17px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  } 

#searchsidebar {
    position: absolute;
}
.sidebar {
    position: absolute;
    z-index: 0;
    /*width: 100%;*/
    overflow: hidden;
    border-radius: 0;
    box-shadow: rgba(0,0,0,.3) 3px 0 4px -1px;
    top: 0;
    left: -1px;
    bottom: 0;
    right: 20px;
    /*bottom: calc(var(--top_sidebar) - var(--cornice));*/
    /*height: calc(100vh - 150px);*/
    display: inline-block;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 14px;
    transition: width 500ms;
    /*border-right: 0;*/
    color: #000;
    border: var(--spessore_cornice_sidebar) solid rgb( var(--colore_cornice_sidebar), 1.00);
}

@media only screen and (max-width: 768px) {
    /*.sidebar {
        display: none;
    }*/
}

.sidebar-pane-content {
    position: absolute;
    top: 35px;
    left: 0;
    right: 0;
    bottom: 50px;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 20px;
    font-size: 11px;
}

.sidebar-content {
    position: relative;
    top: 0;
    bottom: 0;
    background-color: rgba(255,255,255,.95);
    left: var(--sidebar_left_position);
    right: 0;
}
.sidebar-pane {
    display: none;
    left: 0;
    right: 0;
    box-sizing: border-box;
    padding: 10px 20px;
    min-width: 300px;
}

.sidebar-pane.active {
    display: block;
}

.forMapsBanner {
    border: 1px solid #eee;
    line-height: 0;
}

.forMapsBanner a:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0;
    transition: opacity .5s ease-in-out;
    box-shadow: inset 2px 2px 15px #000;
}
.forMapsBanner a img {
    transition: transform .5s ease-in-out;
}

.sidebar.collapsed {
    width: var(--close-button-size);
}

.sidebar-open {
    width: var(--sidebar_left_position) !important;
}

.sidebar * {
    box-sizing: border-box;
}

.sidebar-pane-content::-webkit-scrollbar, .sidebar-tabs::-webkit-scrollbar {
    width: 15px;
    background-color: #f5f5f5;
}

.sidebar-pane-content::-webkit-scrollbar-thumb, .sidebar-tabs::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #cdcdcd;
}

.sidebar-pane-content::-webkit-scrollbar-track, .sidebar-tabs::-webkit-scrollbar-track {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #f0f0f0;
    margin: 5px;
}

.sidebar-header {
    margin: 0 0 20px;
    height: 35px;
    padding: 0 20px;
    line-height: 35px;
    font-size: 14.4pt;
    color: #fff;
    background-color: #9c1006;
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    font-weight: bold;
}

.wms_container {
    padding: 0;
    margin: 0;
    list-style-type: none;
    list-style-position: outside;
}
.wms_container>li {
    margin-bottom: 5px;
    background-color: #eee;
    padding: 5px;
    border: 1px solid #ccc;
    overflow: hidden;
    display: flex;
}
.wms_container>li>div.wms_input {
    display: flex;
    align-items: center;
    margin-right: 5px;
}
.wms_container>li {
    margin-bottom: 5px;
    background-color: #eee;
    padding: 5px;
    border: 1px solid #ccc;
    overflow: hidden;
    display: flex;
}
.wms_container>li>div.wms_label {
    /*display: flex;*/
    display: inline;
    flex-grow: 1;
    justify-content: space-between;
}

.wms_container>li>div.wms_label>label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-grow: 1;
    font-weight: normal;
    margin: 0;
}

.wms_container>li>div.wms_label>.wms_opacita_container {
   /* border: 1px solid #ccc;*/
    flex-shrink: 0;
    padding: 5px;
    border-radius: 5px;
    margin-left: 3px;
}
.wms_container>li>div.wms_label>.wms_opacita_container>.wms_opacita {
    border: 1px solid #ccc;
    /*width: 130px;*/
    width: 300px;
}
.sidebar-tabs, .sidebar-tabs>ul {
    position: absolute;
    width: var(--sidebar_left_position);
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.sidebar-tabs {
    top: 0;
    bottom: 0;
    left: 0;
    height: 100%;
    background-color: var(--base);
    padding-left: 6px;
}
p {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}
ul {
    display: block;
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 0px;
}
.sidebar-tabs>ul+ul {
    bottom: 0;
}
.sidebar-tabs>li>a, .sidebar-tabs>ul>li>a, .sidebar-tabs>li>a, .sidebar-tabs>ul>li>label {
    display: flex;
    height: 100%;
    color: inherit;
    text-decoration: none;
    align-items: center;
    /*justify-content: center;*/
    justify-content: left;
    padding-left: 2px;
    margin-left: 2px;
}
.sidebar-tabs>li, .sidebar-tabs>ul>li {
    width: 100%;
    height: 35px;
    color: #aaa;
    /*font-size: 12pt;*/
    font-size: 10pt;
    overflow: hidden;
    transition: all 80ms;
    border-bottom: 1px dotted rgba(255,255,255,.2);
    box-sizing: border-box;
}
.Card {
    box-shadow: 0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);
    margin-bottom: 20px;
}
.Card>div {
    padding: 10px;
}
.Card div.forMapsInputSelect {
    background-color: #eee;
    height: 26px;
    border-radius: 4px;
}
.Card input[type="text"], .Card div.forMapsInputSelect, .Card select.forMapsInputSelect {
    width: 100%;
    margin-bottom: 10px;
}

.Card>h2 {
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
    padding: 10px;
    background-color: #d94b40;
    color: #fff;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.sidebar-pane-content h2 {
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
}
.Card label {
    display: block;
    margin-bottom: 3px;
}
.Card input[type="text"] {
    border: 1px solid #ccc;
    padding: 3px;
    border-radius: 4px;
}
.sidebar-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 35px;
    text-align: center;
    cursor: pointer;
}
.search_Input {
    width: 100%;
    border-right: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    flex-shrink: 1;
}

.search_Input, .search_searchButton, .search_advancedSearchButton {
    min-height: 10px;
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
    height: 30px;
    line-height: 20px;
}
.search_Container, .search_Container * {
    box-sizing: border-box;
}
.search_Controls, .search_ControlsAdvanced {
    width: 100%;
    position: relative;
    font-size: 14px;
    display: flex;
    padding: 0 0 10px 0;
}
.search_searchButton, .search_advancedSearchButton {
    padding: 10px;
    border-left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    display: flex;
    align-items: center;
    background-color: #fff;
    color: #ccc;
    cursor: pointer;
    font-size: 18px;
}


.Card>h2 a.videocorso {
    color: #fff !important;
}

.search_Results {
    display: none;
    list-style-type: none;
    padding: 0;
    width: 100%;
    position: relative;
    margin: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,.3);
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    z-index: 10;
}

.active_results
{
    background-color: #eee;
}

.searchResult > i /* Rende il testo non selezionabile */
{
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

.search_Results > li > span /* Rende il testo non selezionabile */
{
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

.search_Results li {
    border-bottom: 1px solid #ccc;
    padding: 10px 10px 10px 30px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    font-size: 12px;
    cursor: pointer;
}

.search_Results li span {
    padding: 12px 0px 12px;
    position: relative;
    top: -2px;
}

.search_Results li::before {
    width: 15px;
    background-image: url('images/marker-icon-2x-red.png');

    /* https://codepen.io/noahblon/post/coloring-svgs-in-css-background-images */
    /*background-color: red;
   webkit-mask-image: url(images/svg/Marker.svg);
   mask-image: url(images/images/svg/Marker.svg);
   -webkit-mask-repeat: no-repeat;
   mask-repeat: no-repeat;*/
    /*clip-path: url('images/svg/Marker.svg');*/

    background-position: 0 0;
    background-size: auto 15px;
    background-repeat: no-repeat;
    content: '';
    height: 15px;
    position: absolute;
    left: 10px;
}

.search_Results img {
    top: 0px;
}

.search_Container, .search_Container * {
    box-sizing: border-box;
}
.searchResult {
    margin-top: 5px;
    border: 1px solid #eee;
    padding: 10px;
    position: relative;
    display: flex;
    font-size: 12px;
    background-color: #fff;
    align-items: center;
    border-radius: 5px;
}
.searchResult i {
    cursor: pointer;
    word-wrap: break-word;
}
.searchResult span:nth-of-type(1) {
    margin-left: auto;
}
.searchResult span {
    line-height: 16px;
    padding: 3px 5px;
    border: 1px solid #f1f1f1;
    color: #9c1006;
    cursor: pointer;
    min-width: 14px;
    align-self: flex-start;
    text-align: center;
}
.searchResult span {
    line-height: 16px;
    padding: 3px 5px;
    border: 1px solid #f1f1f1;
    color: #9c1006;
    cursor: pointer;
    float: right;
    margin-left: 3px;
}

.save-position {
    width: 15px;
    height: 15px;
    position: relative;
    top: -3px;
    left: -5px;
}

@media (min-width: 992px){
    .sidebar {
        width: 560px;
    }
    .sidebar-pane {
        min-width: 520px;
    }
}

.ui-button, .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, html .ui-button.ui-state-disabled:active, html .ui-button.ui-state-disabled:hover {
    border: 1px solid #c5c5c5;
   /* background: #f6f6f6;*/
    background: rgb(var(--colore_cornice));
    font-weight: 400;
    color: #454545;
}
.ui-slider-horizontal .ui-slider-handle {
    /*top: -.3em;*/
    margin-left: -.6em;
    top: -3px;
    display: flex;
    width: 14px;
    height: 14px;
}
.ui-corner-all, .ui-corner-bottom, .ui-corner-br, .ui-corner-right {
    border-bottom-right-radius: 3px;
}
.ui-corner-all, .ui-corner-bl, .ui-corner-bottom, .ui-corner-left {
     border-bottom-left-radius: 3px;
 }
.ui-corner-all, .ui-corner-right, .ui-corner-top, .ui-corner-tr {
    border-top-right-radius: 3px;
}
.ui-draggable-handle {
    -ms-touch-action: none;
    touch-action: none;
}
.ui-widget {
    font-family: Arial,Helvetica,sans-serif;
    font-size: 1em;
}






#loader_div{
    border-radius: var(--fr-card-radius);
    -webkit-animation: fadein 2s; /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadein 2s; /* Firefox < 16 */
     -ms-animation: fadein 2s; /* Internet Explorer */
      -o-animation: fadein 2s; /* Opera < 12.1 */
         animation: fadein 2s;
}
.removing {
    opacity: 0;
    -webkit-transition: opacity 1000ms linear;
    transition: opacity 1000ms linear;
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.loading {
    color: var(--action);
    line-height: 1.2;
  }

.loading:before {
    content:' ';
    clear:both;
    height:20px;
    width:20px;
    display:inline-block;
    padding-right: 10px;
    vertical-align: middle;
    background-image: url(/assets/load.svg);
    background-size:100%;
    animation: rotation 2s infinite linear;
}
  
.loaded {
    color: var(--base);
    line-height: 1.2;
    
}

.loaded:before {
    font-family: "Font Awesome 5 Free";
    content: "\f00c";
    display: inline-block;
    padding-right: 3px;
    vertical-align: middle;
    font-weight: 900;
}

.load_spinner{
    animation: rotation 2s infinite linear;
}

@keyframes rotation {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(359deg);
    }
  }
  


