﻿/*http://cssmediaqueries.com/overview.html*/
/*https://css-tricks.com/snippets/css/media-queries-for-standard-devices/*/

body {
    font-family: "Segoe UI", "Helvetica Neue", "Droid Sans", Helvetica, Arial, sans-serif;
}

.Widgets_Panel {
    position: absolute;
    /*background-color: violet;*/
}

.Widgets_Div_Extra {
    height: 100%;
    /*overflow: auto;*/
    overflow-x: auto;
    overflow-y: hidden;
}

.Widgets_Panel_Extra {
    height: 100%;
}

.Widgets_Panel_Extra_Heading_Switches {
    display: flex;
}

.geomaster-iconSwitchExtra:hover {
    filter: contrast(3);
}

.geomaster-switch-extra-selected {
    filter: contrast(0.5);
}

.Widgets_Panel_Extra_Heading {
    padding-top: 0px;
    padding-bottom: 0px;
}

.Widgets_Panel_Extra_Body {
    background-color: #f8f8f8;
    height: 90%;
    overflow-y: auto;
}

.Widgets_Extra_Attribute_Div {
    position: absolute;
    bottom: 0px;
    left: 0px;
    overflow: hidden;
    z-index: 5;
    bottom: 0 !important;
    top: unset !important;
    /*resize: vertical;*/
}

.gm4_infoMappa {
    font-size: 0.8em;
    font-size: 0.8em;
    position: absolute;
    display: inline-block;
    /*z-index:-1;*/
    /*opacity: 0.6;*/
}

@media screen and (orientation:portrait) {
    /* Portrait styles */

    /*.gm4_infoMappa {
        z-index: -1;
    }*/
}

/*.Widgets_Extra_Attribute_Div {
  width: 300px;
  height: 100px;
  background-color: red;
 
  padding-top: 20px;
  margin-top: 50px;
  margin-left: 50px;
  
}*/

.Widgets_Panel_Single {
    /*background-color: yellow;*/
}

.Widgets_Extra_Panel {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.75);
    color: white;
}

.Widget_Title {
    font-size: 15px;
}

.Widget_li {
    /*border-top: solid 10px rgba(50,50,50,0.25);*/
}

.Widget_a {
    width: 36px;
    height: 36px;
    /*box-shadow:0 1px 2px rgba(0, 0, 0, 0.3);*/
    border-bottom: solid 1px rgba(50,50,50,0.25);
}

/*.Widget_Active {
    background-color: green;
}*/

.Widget_extra_widget_li {
}

.Widget_extra_widget_a {
    width: 36px;
    height: 36px;
}

.Widget_extra_button_li {
}

.Widget_extra_button_a {
    width: 36px;
    height: 36px;
}

/*@media only screen (orientation: portrait) {*/
@media (orientation: portrait) {
    .Widgets_Panel {
        bottom: 0px;
        left: 0px;
        overflow: auto;
        /*width: 100%;*/
        /*height: 50%;*/
    }

    .Widgets_Extra_Panel {
        bottom: 0px;
        width: 100%;
        height: 50%;
    }


    /*classe per la pulsantiera dei widget*/
    .navbar-minimal > .navbar-menu > li {
        display: block;
    }

    .Geomaster_Menu_Test > li {
        display: block;
    }
}

@media (orientation: landscape) {
    .Widgets_Panel {
        top: 0px;
        overflow: auto;
        /*width: 500px;
        height: 100%;*/
    }

    .Widgets_Extra_Panel {
        color: green;
        top: 0px;
        right: 0px;
        width: 50%;
        width: 500px;
        height: 100%;
    }

    /*classe per la pulsantiera dei widget*/
    .navbar-minimal > .navbar-menu > li {
        display: inline;
    }

    /*http://jsfiddle.net/BjtNY/289/*/
    .Geomaster_Menu_Test > li {
        display: inline;
    }

    /*.navbar-minimal > .navbar-menu > li > a:hover > .desc {
        right: 500px;
        opacity: 1;
    }*/
}

/*Inizio Test*/
.nav ul {
    list-style: none;
    background-color: #444;
    text-align: center;
    padding: 0;
    margin: 0;
}

.nav li {
    /* font-family: 'Oswald', sans-serif;*/
    font-family: "Avenir Next W00","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 1.2em;
    line-height: 40px;
    height: 40px;
    border-bottom: 1px solid #e6e3e3;
}

.nav a {
    text-decoration: none;
    color: #fff;
    display: block;
    transition: .3s background-color;
}

    .nav a:hover {
        background-color: #005f5f;
    }

    .nav a.active {
        background-color: #fff;
        color: #444;
        cursor: default;
    }
/*Fine Test*/

.titoloMappa {
    /*width: 63px;
    height: 17px;
    left: 0;
    right: 0;
    top: -17px;
    margin: auto;
    position: absolute;
    cursor: pointer;
    border-radius: 8px 8px 0 0;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(0,0,0,0.7);
    border: 2px solid rgba(255,255,255,0.8);
    border-bottom-style: none;
    background-image: url(images/panS.png);*/
    /*width:0;
	height:0;
	margin:50px auto;
	background:none;
	border-width:100px 100px 0 0;
	border-style:solid;
	border-color:#0cf transparent transparent transparent;*/
}

.GeomasterWidgetArrow {
    position: relative;
    height: 0px !important;
    width: 100% !important;
}

    .GeomasterWidgetArrow:after {
        content: '';
        position: absolute;
        top: 100%;
        left: 50%;
        margin-left: -5px;
        width: 0;
        height: 0;
        border-top: solid 10px;
        border-left: solid 10px transparent;
        border-right: solid 10px transparent;
        z-index: 200;
    }

.collapse {
    /*position: absolute; top: 0px; left: 0px; z-index: 99;*/
}

.HeaderGeomaster {
}

.loader {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url('images/ajax-loader.gif') 50% 50% no-repeat rgb(249,249,249);
}

.panelWidgetAll {
    padding: 2px;
}

.geomaster-panel-sys {
    border-bottom: 1px;
    border-color: #ccc;
    border-bottom-style: solid;
}

.geomaster-panel {
    margin-bottom: 2px;
}

.geomaster-panel-body {
}

.geomasterResultArea {
    border-style: solid;
    border-color: #F2F2F2;
    border-width: 1px;
}

.geomasterResultNumber {
    border-bottom: 1px solid #ccc;
}

.geomasterTitleResult {
}

.geomasterTitleResultH1 {
    font-size: 1.5rem;
}

.geomasterTitleResultH2 {
    font-size: 1.2rem;
}

.geomasterResultLabel {
    font-size: 1.1rem;
}

.geomasterResultValue {
    font-size: 1.1rem;
}

.geomasterAreaResult {
}

.geomasterPointer {
    cursor: pointer;
}

.geomasterDeny {
    cursor: not-allowed;
}

.geomaster-bs-button {
    /*font-size: 13px !important;*/
    padding: 6px 12px !important;
    line-height: 1.428571429 !important;
    border-radius: 4px !important;
    display: inline-block !important;
    text-align: center !important;
    vertical-align: middle !important;
    cursor: pointer !important;
}

.geomaster-buttonO {
}

.geomaster-buttonA {
}

.geomaster-buttonR {
}

.geomaster-switch {
}

    .geomaster-switch > .notActive {
        color: #3276b1;
        background-color: #fff;
    }

geomaster-switchToc {
}

.geomaster_toc_ico {
    color: #fff;
}

.row {
    margin-right: 1px;
    margin-left: -1px;
}

.geomasterGallery_img-thumbnail {
    margin: 0 auto;
    display: inline-block;
}


.geomasterPanelTitle {
    font-size: 17px !important;
    line-height: 1.2 !important;
    /*margin: 0 !important;*/
}



.geomasterWidgetTitle {
    padding: 6px;
}

.geomasterDisclaimerWidget {
    font-size: 1.2rem;
}

/*.geomasterClose{
    opacity:inherit;
     
}*/

/*.geomasterPanel{

    border:0px;
    border-radius:0px;

}*/
/*.geomasterPanelHeading{
   border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    height:36px; 
    
}*/

.geomasterNav {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.geomasterRowHeader {
    border-bottom: solid 1px rgba(50,50,50,0.25);
}

.geomasterLogoDx {
    margin-left: 1px;
    vertical-align: middle;
}

.geomasterLogo {
    margin-right: 1px;
    padding-left: 3px;
    padding-bottom: 6px;
}

/*.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
    padding-top: 4px;
    padding-right: 4px;
    padding-left: 0px;
}*/

[class^="col-"], [class*=" col-"] {
    padding-top: 2px;
    padding-right: 4px;
    padding-left: 0px;
}

.geomasterH100 {
    height: 100%;
}

.geomasterTitle4 {
    font-size: 1.2em;
    overflow: hidden;
    text-overflow: ellipsis;
}

.geomasterSubtitle4 {
    font-size: 1.0em;
}

.geomasterSwitchWidget {
    cursor: pointer;
}

.panel-heading {
    padding: 5px;
    /*background-color:orange;*/
}

.panel-body {
    padding: 5px;
}

.form-group {
    margin-bottom: 5px;
}

/*Introdotto per la customizzazione del find */
.esri-popup__main-container {
    overflow: auto;
}

.geomaster-TocMain {
    font-size: 1.0em;
    word-wrap: break-word;
}

.geomaster-Toc {
    font-size: 0.9em;
    word-wrap: break-word;
}

.geomaster-TocLegend {
    font-size: 0.7em;
}

.geomaster-TocCmd {
    font-size: 0.7em;
}

.geomaster-TocError {
    background-color: red;
}

.geomaster-Tocpanel-body {
    padding: 1px;
}

.geomaster-TocCmd-btn {
    margin-left: 2px;
}

.geomaster-Toc-IcoOff {
    color: silver;
}

.geomasterBg {
    /* The image used */
    background-image: url("../images/Customload2.png");
    /* Full height */
    height: 100%;
    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.panel-heading span {
    /*margin-top: -20px;*/
    font-size: 15px;
}

.geomaster_dropdown-menu-center {
    right: auto;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
}

.geomaster-TocMenuContainer {
    height: 100%;
}

.geomaster-TocCombo {
    margin: auto;
}

.geomaster-Tocrow {
    overflow: hidden;
}

.geomaster-TocMenuContainer {
    margin-bottom: -99999px;
    padding-bottom: 99999px;
}

.geomaster-TocMenuContainer1 {
    /*background-color:orange;*/
}

.geomaster-TocMenuContainer2 {
    /*background-color:red;*/
}

.geomaster-TocMenuContainer3 {
    /*background-color:orange;*/
    vertical-align: middle;
}

.geomaster-TocMenuContainer4 {
    /*background-color:red;*/
    /*border-left-width:1px;
     border-left-style:solid;*/
}

.geomaster-img-center {
    margin: 0 auto;
}

.glyphicon.glyphicon-chevron-down {
    font-size: 12px;
}

.glyphicon.glyphicon-chevron-up, .glyphicon-zoom-in {
    font-size: 12px;
}

.navbar-nav-toc {
}

.geomaster-toc-img-menu {
    padding-right: 3px;
    padding-left: 3px;
}

.geomaster-navbar-nav-toc {
    float: right;
}

.geomaster-x-close {
    /*font-size:25px!important;*/
}

/*.gm4_tooltip {
    margin-top: -50px;
    margin-left: -50px;
    width: 300px;
    height: 30px;
    background-color: red !important;
    opacity: 0.75;
    color: orange !important;
    font-size: 1em;
    padding: 8px;
    visibility: hidden;
}*/

#gm4_tooltip {
    /*margin-top: -0px;
    margin-left: -0px;
    width: auto;
    height: auto;
    
    opacity: 0.75;
   
    font-size: 0.8em;
    padding: 8px;
    visibility: hidden;*/
}

.Header4 {
    /*background-color: greenyellow;*/
    margin: 0px;
    padding: 0px;
}

.RowHeader4 {
    /*background-color: violet;*/
}

.toc_description {
    font-size: 11px;
}

.copyright-text {
    font-size: 11px;
    padding-top: 6px;
}

.toc_Disable {
    color: #D3D3D3 !important;
}

.serviceALL_Disable {
    color: #D3D3D3 !important;
}

.collapsing {
    transition: height 200ms;
}

/*.Widget_Active {
    background: red;
    color: white;
}*/

.geomasterIcoW {
    font-size: 24px;
    background-color: #fff;
    color: #6e6e6e;
    width: 32px;
    height: 32px;
    padding: 0;
    margin: 0;
    overflow: hidden;
    cursor: pointer;
    text-align: center;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    transition: background-color 125ms ease-in-out;
}

.sliderGM {
    width: 100%;
    margin-left: 5px;
    margin-bottom: 0px;
    padding: 0px;
}

.gmItemToc {
    /*white-space: nowrap;*/
    overflow: hidden;
    text-overflow: ellipsis;
}

.gmItemTocLayer {
    /* white-space: nowrap;*/
    overflow: hidden;
    text-overflow: ellipsis;
    display: contents;
}

.gmGroupExp {
}

    .gmGroupExp:before {
        /*content: "\2b";*/
        content: "\2b";
        /*color:red;*/
        padding-right: 5px;
    }

    /*.collapsed .gmGroupExp:before {
    content: "\2b";
}*/

    /*.gmGroupExp[aria-expanded="true"] {
    font-family: FontAwesome;
    content: "\f068";
}

.gmGroupExp[aria-expanded="false"] {
    font-family: FontAwesome;
    content: "\f067";
}*/

    .gmGroupExp[aria-expanded="true"]:before {
        content: "\2212";
        /*color: red;*/
        padding-right: 5px;
    }

    .gmGroupExp[aria-expanded="false"]:before {
        content: "\2b";
        /*color: red;*/
        padding-right: 5px;
    }

.gmGroupExp {
    margin-bottom: 0px;
}

.Widget_Menu_Ico {
    background-color: #fff;
    margin-left: auto;
    margin-right: auto;
}

.gm4Loader {
    background-color: #fff;
}

.geomaster-label {
    font-size: 2rem;
    font-weight: bold;
    padding-bottom: 2px;
}

.geomaster-green {
    background-color: rgba(135, 211, 124, 0.5);
    /*background-color: green;*/
}

.geomaster-red {
    /*color: red;*/
    /*background-color: red;*/
}

/*compatibilità API da rimuovere dalla 4.11*/
.esri-widget-button {
    font-size: 14px;
    background-color: #fff;
    color: #6e6e6e;
    width: 32px;
    height: 32px;
    padding: 0;
    margin: 0;
    overflow: hidden;
    cursor: pointer;
    text-align: center;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    transition: background-color 125ms ease-in-out;
}

#cover-spin {
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(255,255,255,0.7);
    z-index: 9999;
    display: none;
}

@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

#cover-spin::after {
    content: '';
    display: block;
    position: absolute;
    left: 48%;
    top: 40%;
    width: 40px;
    height: 40px;
    border-style: solid;
    border-color: black;
    border-top-color: transparent;
    border-width: 4px;
    border-radius: 50%;
    -webkit-animation: spin .8s linear infinite;
    animation: spin .8s linear infinite;
}

.geomaster-onoff {
    vertical-align: top;
    margin-right: 6px;
}

.geomaster-truncate {
    width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.geomaster-bs-button {
    font-size: 0.7rem;
}

.geomaster-bs-label {
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: 700;
}

.geomaster-bs-select {
    font-size: 0.7rem;
}

.geomaster-bs-text {
    font-size: 0.7rem;
}

.geomaster-card {
    margin-bottom: 2px;
}

.geomaster-card-header {
}

.geomaster-card-body {
}

.geomaster-accordion-header {
    font-size: 1rem;
    font-weight: 500;
}

#gm_toast {
    visibility: hidden;
    /*max-width: 50px;*/
    height: 50px;
    /*margin-left: -125px;*/
    margin: auto;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    position: fixed;
    z-index: 1;
    left: 0;
    right: 0;
    bottom: 30px;
    font-size: 17px;
    white-space: nowrap;
}

    #gm_toast #gm_toast_img {
        width: 50px;
        height: 50px;
        float: left;
        padding-top: 16px;
        padding-bottom: 16px;
        box-sizing: border-box;
        background-color: #111;
        color: #fff;
    }

    #gm_toast #gm_toast_desc {
        color: #fff;
        padding: 16px;
        overflow: hidden;
        white-space: nowrap;
    }

    #gm_toast.show {
        visibility: visible;
        -webkit-animation: fadein 0.5s, expand 0.5s 0.5s,stay 3s 1s, shrink 0.5s 2s, fadeout 0.5s 2.5s;
        animation: fadein 0.5s, expand 0.5s 0.5s,stay 3s 1s, shrink 0.5s 4s, fadeout 0.5s 4.5s;
    }

@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes expand {
    from {
        min-width: 50px
    }

    to {
        min-width: 350px
    }
}

@keyframes expand {
    from {
        min-width: 50px
    }

    to {
        min-width: 350px
    }
}

@-webkit-keyframes stay {
    from {
        min-width: 350px
    }

    to {
        min-width: 350px
    }
}

@keyframes stay {
    from {
        min-width: 350px
    }

    to {
        min-width: 350px
    }
}

@-webkit-keyframes shrink {
    from {
        min-width: 350px;
    }

    to {
        min-width: 50px;
    }
}

@keyframes shrink {
    from {
        min-width: 350px;
    }

    to {
        min-width: 50px;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 60px;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 60px;
        opacity: 0;
    }
}


.esri-view {
    --esri-view-outline-color: transparent !important;
    --esri-view-outline: 2px solid var(--esri-view-outline-color);
}

    .esri-view .esri-view-surface--touch-none:focus::after {
        outline: none !important;
    }


.esri-widget {
    font-size: 0.7rem;
}
