﻿html, body {
    min-height: 100%;
    font-weight: 300;
    font-size: 1em;
    color: #fff;
}

.rgSelectedRow {
    font-weight: 600;
    background: linear-gradient(to right top, #d16ba5, #c777b9, #ba83ca, #aa8fd8, #9a9ae1, #8aa7ec, #79b3f4, #69bff8, #52cffe, #41dfff, #46eefa, #5ffbf1) !important;
}
.nopage  {
    width: 100% !important;
    padding: 30px !important;
    text-align: center !important;}

body {
    line-height: 1;
}
body {
	background: #2e3441;
    background-image: -webkit-radial-gradient(top, circle cover, #4e7a89, #2e3441 100%);
    background-image: -moz-radial-gradient(top, circle cover, #4e7a89, #2e3441 100%);
    background-image: -o-radial-gradient(top, circle cover, #4e7a89, #2e3441 100%);
    background-image: radial-gradient(#4e7a89, #2e3441);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family:'Poppins', sans-serif !important;
}
body#Interna 
{
    background: #f8f8f8;
    color:#333;
    padding-top:0;
}
iframe#pPagina {
    display: block;       /* iframes are inline by default */
    border: none;         /* Reset default border */
    height: 83vh;        /* Viewport-relative units */
    width: 100vw;}

.RadGrid_MetroTouch .rgCommandCell
{padding-left:10px !important}
.RadGrid_MetroTouch .rgCommandRow {
    background-color: #2e3441 !important;
}

form {
    margin: 0 !important;
}

div#header {
    padding-right: 20px;
    height: 82px;
    color: #ffffff;
    background-color: rgba(0,0,0,0.4);
}
#logo {margin-left: 15px;}
#BK {
    float: right;
    padding-top: 6px;
    right: 180px;
}
#footer {
    position: fixed;
    line-height: 20px;
    padding-top: 7px;
    padding-bottom: 7px;
    bottom: 0;
    width: 100%;
    font-size: 12px;
    color: #818692;
    background: #2a2d33;
}
#footer a {
    color: #ffffff;
}
iframe#pPagina {
    width: 100%;
}

.current-version {
    padding-left: 20px;
    font: 12px "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.right {
    padding-right: 20px;
    float: right;
}

/*
    DEMO STYLE
*/
@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";


body {
    font-family: 'Poppins', sans-serif;
}

p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #999;
}

a, a:hover, a:focus {
    color: inherit;
    text-decoration: none !important;
    transition: all 0.3s;
}

.navbar {
    padding: 15px 10px;
    background: #fff;
    border: none;
    border-radius: 0;
    margin-bottom: 40px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

i, span {
    display: inline-block;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */
.wrapper {
    display: flex;
    align-items: stretch;
    height:88vh;
}

#sidebar {
    min-width: 250px;
    max-width: 250px;
    background-color: rgba(0,0,0,0.4);
    color: #fff;
    transition: all 0.3s;
    box-shadow: 0 0 5px 0 rgba(0,0,0,.35);
}

#sidebar.active {
    min-width: 80px;
    max-width: 80px;
    text-align: center;
}

#sidebar.active .sidebar-header h3, #sidebar.active .CTAs {
    display: none;
}

#sidebar.active .sidebar-header strong {
    display: block;
}

#sidebar ul li a {
    text-align: left;
}

#sidebar.active ul li a {
    padding: 20px 10px;
    text-align: center;
    font-size: 0.85em;
}

#sidebar.active ul li a i {
    margin-right:  0;
    display: block;
    font-size: 1.8em;
    margin-bottom: 5px;
}

#sidebar.active ul ul a {
    padding: 10px !important;
}

#sidebar.active a[aria-expanded="false"]::before, #sidebar.active a[aria-expanded="true"]::before {
    top: auto;
    bottom: 5px;
    right: 50%;
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
    transform: translateX(50%);
}

#sidebar .sidebar-header {
    padding: 20px;
}

#sidebar .sidebar-header strong {
    display: none;
    font-size: 1.8em;
}

#sidebar ul.components {
    padding: 20px 0;
    border-bottom: 1px solid #47748b;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
    color:#fff;
}
#sidebar ul li a:hover {
    color: #2e3441;
    background: #fff;
}
#sidebar ul li a i {
    margin-right: 10px;
}

#sidebar ul li.active > a, a[aria-expanded="true"] {
    color: orange;

}


a[data-toggle="collapse"] {
    position: relative;
}

a[aria-expanded="false"]::before, a[aria-expanded="true"]::before {
    content: '\e259';
    display: block;
    position: absolute;
    right: 20px;
    font-family: 'Glyphicons Halflings';
    font-size: 0.6em;
}
a[aria-expanded="true"]::before {
    content: '\e260';
}


ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
}

ul.CTAs {
    padding: 20px;
}

ul.CTAs a {
    text-align: center;
    font-size: 0.9em !important;
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
}

a.download {
    background: #fff;
    color: #7386D5;
}

a.article, a.article:hover {
    background: #6d7fcc !important;
    color: #fff !important;
}



/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */
#content {

    min-height: calc(100% - 82px);
    transition: all 0.3s;
    width:100%;

}
#interno {    
    padding: 15px;
    background-color: #f8f8f8;
    border-color: #e7e7e7;
    border-radius: 15px;
    width: auto;
    margin: 15px;
    box-shadow: 0 0 5px 0 rgba(0,0,0,.35);
    min-height: calc(100% - 115px);
}

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */
@media (max-width: 768px) {
    #sidebar {
        min-width: 80px;
        max-width: 80px;
        text-align: center;
        margin-left: -80px !important ;
    }
    a[aria-expanded="false"]::before, a[aria-expanded="true"]::before {
        top: auto;
        bottom: 5px;
        right: 50%;
        -webkit-transform: translateX(50%);
        -ms-transform: translateX(50%);
        transform: translateX(50%);
    }
    #sidebar.active {
        margin-left: 0 !important;
    }

    #sidebar .sidebar-header h3, #sidebar .CTAs {
        display: none;
    }

    #sidebar .sidebar-header strong {
        display: block;
    }

    #sidebar ul li a {
        padding: 20px 10px;
    }

    #sidebar ul li a span {
        font-size: 0.85em;
    }
    #sidebar ul li a i {
        margin-right:  0;
        display: block;
    }

    #sidebar ul ul a {
        padding: 10px !important;
    }

    #sidebar ul li a i {
        font-size: 1.3em;
    }
    #sidebar {
        margin-left: 0;
    }
    #sidebarCollapse span {
        display: none;
    }
}

/*
    POPUP
*/
.popup input {
    color: #5f5f5f;
    box-sizing: border-box;
    width: 300px;
    box-shadow: 1px 2px 4px 0 rgba(0, 0, 0, 0.08);
    padding: 12px 18px;
    border: 1px solid #dbdbdb;
}
.popup p {
    font-size: 14px;
    color: #fff;
    margin: 18px 0 10px;
}

/*
    MENU CHIUSO AGISCI
*/
.visible {    display: inline !important;}
.invisible {display:none;}


.rwControlButtons li {
    display: inline-block !important;
}
.RadWindow .rwControlButtons li {
    float: none;
}
li#customprintbuttonID a {
    background-position-x: center !important;
    background-position-y: center !important;
}

    .RadWindow_MetroTouch .rwTitleRow .rwTitlebar, .RadWindow_MetroTouch .rwTitleRow .rwTopLeft, .RadWindow_MetroTouch .rwTitleRow .rwTopRight {
    background-color: #2e3441 !important;
}

.button-popup {
    float: left;
    font-family: 'Poppins', sans-serif !important;
    min-width: 80px;
    width: auto;
    border: #fbfbfb solid 4px;
    cursor: pointer !important;
    background-color: #2e3441 !important;
    color: white;
    font-size: 12px;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    margin: 4px;
    height: 43px;
    text-transform: uppercase;
}

.button-popup:hover, .btnIndietro:hover, .btnAvanti:hover, .button-popup:active{
	background-color: #5bc0de !important;
	color: #2e3441;
}

.button-active{
	font-family: 'Montserrat', Arial, Helvetica, sans-serif;
	float:left;
	width: 80px;
	border: #fbfbfb solid 4px;
	cursor:pointer;
	background-color: #fbbb32;
	color:white;
	font-size:12px;
	padding:12px;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
	margin:4px;
}
.button-active:hover{
	background-color: #4FB007;
	color: #fff;
}

.button-popup-anomalie{
	font-family: 'Montserrat', Arial, Helvetica, sans-serif;
	float:left;
	width: 80px;
	border: #fbfbfb solid 4px;
	cursor:pointer;
	background-color: #00A8EC  !important;
	color:white;
	font-size:12px;
	padding:12px;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
	margin:4px;
    text-decoration:underline;
}

.button-popup-anomalie:hover, .button-popup-anomalie:active{
	background-color: #fbbb32 !important;
	color: #0493bd;
    text-decoration:underline;
}
	
.button-active-anomalie{
	font-family: 'Montserrat', Arial, Helvetica, sans-serif;
	float:left;
	width: 80px;
	border: #fbfbfb solid 4px;
	cursor:pointer;
	background-color: #fbbb32;
	color:white;
	font-size:12px;
	padding:12px;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
	margin:4px;
    text-decoration:underline;
}
.button-active-anomalie:hover{
	background-color: #4FB007;
	color: #fff;
    text-decoration:underline;
}