@import url(Roboto.css);
@import url(RobotoCondensed.css);
@import url(RobotoSlab.css);

body {
    margin: 0;
    padding: 0;

    position: absolute;

    height: 100%;
    width: 100%;
    font-family: Roboto-Light;
    font-size: 14px;
    color: #333333;
    /*
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    */
}

p {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
	outline: 0;
}

a,
a:visited,
a:hover,
a:active {
    color: inherit;
}

form {
    height: 100%;
}

input,
select,
button {
    outline: 0;
}

input[type=text],
input[type=password],
input[type=number] {
    width: 100%;
    height: 35px;

    border: 0;
    border-bottom: 1px solid #000000;
    box-sizing: border-box;

    padding-left: 10px;
    padding-right: 10px;

    background: transparent;
    color: #333333;

    outline: 0;
}

input[type=radio] {
    height: 35px;
}

select {
    width: 100%;
    height: 35px;

    border: 0;
    border-bottom: 1px solid #000000;
    box-sizing: border-box;

    padding-left: 5px;
    padding-right: 5px;

    background: transparent;
    color: #333333;

    outline: 0;
}

textarea {
    width: 100%;
    min-height: 100px;
    max-height: 400px;

    border: 1px solid #333333;

    box-sizing: border-box;

    padding: 9px 14px;

    background: transparent;
    color: #333333;

    resize: none;

    outline: 0;
}

input:focus,
select:focus,
number:focus {
    border-bottom: 2px solid #014681;
}

textarea:focus {
    border: 2px solid #014681;
}

.input-white {
	border-bottom: 1px solid #fff !important;
	color: #ffffff !important;
}

.input-white:focus {
	border-bottom: 2px solid #fff !important;
}

.button-white {
	background:#ffffff !important;
	color:#014681 !important;
}

input[type=submit],
button[type=submit] {
    width: 100%;
    height: 35px;


    border: 0;
    border-radius: 5px;
    box-sizing: border-box;

    background: #014681;
    color: #fff;

    font-family: Roboto-Black;
    font-size: 0.8em;

    outline: 0;
}

::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #333333;
    opacity: 1;
    /* Firefox */
}

:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #333333;
}

::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #333333;
}

.background-gray {
    background-color: #f7f7f7;
}

.page-wrapper-head {
    height: 45%;
    width: 80%;
    padding-left: 10%;
    padding-right: 10%;

    overflow: auto;

    background-color: #014681;
}

@media screen and (max-width: 1024px) {
    .page-wrapper-head {
        width: 90%;
        padding-left: 5%;
        padding-right: 5%;
    }
}

@media screen and (max-width: 425px) {
    .page-wrapper-head {
        width: 90%;
        padding-left: 5%;
        padding-right: 5%;
    }
}

.head-wrapper {
    height: 50%;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.logo-wrapper {
    width: 50%;

    display: inline-block;
    text-align: left;
}

.logo-wrapper img {
    height: auto;
    max-height: 100%;
    width: 80%;
    max-width: 300px;
}

.info-wrapper {
    width: 50%;

    display: flex;
    flex-direction: column;
    align-items: flex-end;

    color: #ffffff;
    text-align: right;
}

.info-wrapper .info-head {
    width: 100%;
    max-width: 250px;
    float: right;
    clear: both;

    padding-bottom: 2px;
    border-bottom: 1px solid #ffffff;

    font-size: 1.4em;
    font-family: Roboto-Black;
}

.info-wrapper .info-text {
    float: right;
    clear: both;

    padding-top: 1px;
    padding-bottom: 1px;

    font-size: 1em;
    font-weight: 300;
}

.page-wrapper-content {
    width: 70%;
    min-height: 70%;

    padding-left: 5%;
    padding-right: 5%;
    padding-top: 30px;
    padding-bottom: 30px;

    position: absolute;
    top: 23%;
    left: 10%;

    margin-bottom: 50px;

    background-color: #ffffff;

    -moz-box-shadow: 0 0 13px 0px rgba(0, 0, 0, 0.32);
    -webkit-box-shadow: 0 0 13px 0px rgba(0, 0, 0, 0.32);
    box-shadow: 0 0 13px 0px rgba(0, 0, 0, 0.32);

    overflow: visible;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 1024px) {
    .page-wrapper-content {
        width: 86%;
        left: 2%;
    }
}

@media screen and (max-width: 425px) {
    .page-wrapper-content {
        width: 86%;
        left: 2%;
    }
}

.page-wrapper-content.align-top {
    align-content: flex-start;
}

.action-button-round {
    width: 200px;
    height: 200px;

    margin: 15px;

    background: none;
    border: 2px solid #014681;
    border-radius: 25px;
    box-sizing: border-box;

    padding: 10px;

    -webkit-box-shadow: 0px 0px 40px 0px rgba(51, 51, 51, 0.5);
    -moz-box-shadow: 0px 0px 40px 0px rgba(51, 51, 51, 0.5);
    box-shadow: 0px 0px 40px 0px rgba(51, 51, 51, 0.5);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.action-button-round img {
    height: 50px;
    margin: 5px;
    width: auto;
	
	visibility: hidden;
}

.action-button-round svg {
    height: 50px;

    margin: 5px;

    width: auto;

  
    fill: #014681;
}

.action-button-round span {
    color: #014681;
    font-family: Roboto-Medium;
    font-size: 1.5em;
}

.action-button-round:hover {
    background-color: #014681;
    color: white;
}

.action-button-round:hover span {
    color: white;
}

.action-button-round:hover svg {

    fill: #ffffff;

}

.bottone-filtro, .bottoni-add {
	width:100px !important;
	height:35px !important;
}

@media screen and (max-width: 425px) {
    .action-button-round {
        flex-direction: row;
        width: 100%;
        height: 95px;
        margin: 5px 0px;
    }

    .action-button-round:first-of-type {
        margin-top: 20px;
    }

    .action-button-round:last-of-type {
        margin-bottom: 20px;
    }
}

.action-button-square {
    width: 200px;
    height: 200px;

    margin: 15px;

    background: none;
    border: 2px solid #014681;
    box-sizing: border-box;

    padding: 10px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.action-button-square img {
    height: 50px;
    margin: 5px;
    width: auto;
}

.action-button-square span {
    font-size: 1.4em;
}

@media screen and (max-width: 425px) {
    .action-button-square {
        flex-direction: row;
        width: 100%;
        height: 95px;
        margin: 5px 0px;
    }

    .action-button-square:first-of-type {
        margin-top: 20px;
    }

    .action-button-square:last-of-type {
        margin-bottom: 20px;
    }
}

.action-button-square:hover {
    background-color: #014681;
    color: white;
}

.link-section {
    width: 100%;
    align-self: flex-start;

    margin-top: 30px;
    margin-bottom: 30px;

    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.page-title-wrapper {
    align-self: flex-start;

    display: flex;
    flex-direction: row;
    align-content: center;
}

.page-title-wrapper span {
    color: #014681;
    font-family: Roboto-Black;
    font-size: 1.6em;
}

.page-title-wrapper button.add {
    height: 30px;
    width: 30px;

    border: 0;

    background: none;
    background-image: url("../images/add.png");
    background-repeat: no-repeat;
    background-size: contain;

    margin-left: 7px;
}

.page-title-wrapper button.remove {
    height: 30px;
    width: 30px;

    border: 0;

    background: none;
    background-image: url("../images/remove.png");
    background-repeat: no-repeat;
    background-size: contain;

    margin-left: 7px;
}

.guide-section {
    width: 100%;

    margin-bottom: 30px;

    text-align: justify;
}

.search-section {
    width: 100%;

    margin-bottom: 30px;
}

.info-section {
    width: 100%;

    margin-bottom: 10px;
}

.info-section .error-label {
    color: #014681;

    font-family: Roboto-Black;
    
    text-align: left;
}

.form-wrapper {
    width: 100%;

    margin-top: 10px;
}

.form-field-wrapper {
    width: 100%;

    display: flex;
    flex-direction: column;

    margin-bottom: 25px;
}

.form-field-wrapper label {
    order: -1;

    font-size: 1.1em;
    font-weight: 600;

    margin-bottom: 3px;
}

input:focus + label,
select:focus + label,
textarea:focus + label{
    color: #014681;
    font-size: 1.2em;
}

.error-label {
    width: 100%;
    text-align: center;

    margin-top: 3px;

    color: #c01111;

    font-family: Roboto-Black;
}

.error-label-login {
    width: 100%;
    text-align: center;

    margin-top: 3px;

    color: #ffffff;

    font-family: Roboto-Black;
}

.bottone-azione {
    width: 120px;
    height: 30px;

    margin: 3px;

    font-family: Roboto-Medium;
    font-size: 0.8em;
    color: #fff;

    background: #014681;
    border: 0;
    border-radius: 5px;
}


/* tabelle */

.table-wrapper {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 25px;
}

.table-wrapper table {
    width: 100%;
}

.table-title {
    padding-bottom: 3px;
    border-bottom: 2px solid #333333;
    margin-bottom: 5px;

    font-size: 1.4em;
}

.table-header {
    font-family: Roboto-Black;
    color: #014681;
}

.table-responsive-header {
    margin-right: 2px;
    font-family: Roboto-Black;
    color: #014681;
    display: none;

}

.table-responsive-header::after {
    content: ":";
}

tr {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

td {
    flex-basis: 0;
    flex-grow: 5;

    padding: 8px 3px;
	
	display: flex;
	flex-direction: row;
    align-items: center;
}

.table-button-wrapper {
    display: flex !important;
    flex-direction: row;
    justify-content: space-evenly;

    flex-wrap: wrap;
}

@media only screen and (max-width: 425px) {
    tr {
        flex-direction: column;
    }

    td {
        width: 100%;
        flex-basis: unset;
        flex-grow: unset;
    }

    .table-header {
        display: none;
    }

    .table-responsive-header {
        display: inline;
    }
}

tr:nth-of-type(odd) {
    background-color: #fff;
}

tr:nth-of-type(even) {
    background-color: #e5eaf3;
}

/* Allegati */
.dropzone{
    padding-top:25px;
    padding-bottom:25px;
    
    width: 100%;
    
    margin-top: 15px;
    
    border: 3px solid #00000078;
    border-style: dashed;
    
    font-size: 16px;
    font-family: Roboto-Medium;
    color: #000000ab;
    text-align: center;
}

.dropzone.dropon{
    background-color: #01468169;
}

.allegati-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.file-allegato-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    
    margin: 5px;
}

.file-allegato-wrapper img {
    height: 50px;
    width: auto;
    
    margin: 5px;
}

.file-allegato-wrapper span {
    width: 100px;
    height: 30px;
    
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    font-family: Roboto-Medium;
    font-size: 12px;
    text-align: center;

    word-break: break-all;
}


/* index */
.page-wrapper-index {
    height: 100%;
    width: 60%;

    padding-left: 20%;
    padding-right: 20%;

    overflow: auto;

    background-color: #014681;
}

@media screen and (max-width: 425px) {
    .page-wrapper-index {
        width: 80%;
        padding-left: 10%;
        padding-right: 10%;
    }
}

.logo-wrapper-index {
    height: 25%;
    width: 100%;

    margin-top: 50px;
    margin-bottom: 50px;

    text-align: center;
}

.logo-wrapper-index img {
    height: auto;

    width: 100%;
    max-width: 400px;
}

.info-wrapper-index {
    width: 100%;
    text-align: center;

    margin-top: 100px;
}

.form-wrapper-index {
    width: 100%;
    max-width: 300px;
    margin: auto;

    margin-top: 20px;
}

.form-submit-wrapper {
    width: 80%;
    max-width: 300px;
    margin: auto;

    margin-bottom: 15px;
}


/* dettaglio_progetto.php */
.filter-button-wrapper {
    display: flex;    
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}

.close-container-popup {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    
    margin-top:15px;
    margin-bottom:15px;
}

/* automplete box */

.autocomplete-result {
	padding:4px 10px;
	border-bottom:1px solid #d1d1d1;
}

.autocomplete-result:hover {
	background-color: #1d4f9136;
	font-weight: 900;
}

.autocomplete-box {
	border-top:1px solid #fff;
	border:1px solid #014681;
}

	
.product-wrapper {
	width:100%;
	
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.product-description-wrapper {	
	margin-right: 20px;

	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	flex-wrap: wrap;
}

.product-description {
	margin-bottom: 4px;
}

.product-description label{
	margin-right: 5px;
	
	color: #014681;
	font-family: Roboto-Black;
	font-size: 1.6em;
}

.product-description span{
	color: #000000;
	font-family: Roboto-Medium;
	font-size: 1.3em;
}

.product-description img{
	height: 230px;
	width: auto;
}

/* popup scan */

.popup {
    position: fixed;

    top: 0;

	bottom: 0;

	left: 0;

	right: 0;

	display: none;

    background-color: black;

	height: 100%;
    width: 100%;

    z-index: 3;  
}

.close-popup-qr {

    position: absolute;

	display: flex;
	flex-direction: row;
	justify-content : flex-end;
	align-items: center;

	height:10%;
	width:90%;

	margin:0 5%;

}

.popup .content-wrapper{
	height: 100%;
	width: 100%;

	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}

.popup video{
	max-height: 800px;

	max-width: 800px;      
}

.button-scan {
	height:50px;
	width:50px;

	padding:0;

	background:none;

	border:0;
}

.input-qr {
	flex-grow: 5; 
	
	display: flex;
	flex-direction: column;
}

.qr-input {
	flex-grow: 1;
	
	display: flex; 
	flex-direction: column; 
	align-items: center;
}

.x-popup {
	z-index: 3;
	height:30px;
}

.overlay {
	background:#b5b5b5;

	position:fixed;

	top:0px;

	bottom:0px;

	left:0px;

	right:0px;

	z-index:100;

	/*Trasperenza cross browser*/
	opacity: .9;
	filter: alpha(opacity=90); 
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";	
}

#popup_ricerca {

	width:90%;	
	height: 100%;	

	padding-left:5%;
	padding-right:5%;	

	background-color:#ffffff; 

	display:none;

	z-index:+300; 

	position:fixed; 

	overflow:auto;

	border-radius:0px;

	top:0;

	bottom:0;

	left:0;

	right:0;

	margin:auto;
}

/* dettaglio ordine */

.read-view {
	display: flex;
	flex-direction: row;
	justify-content: center;
	flex-wrap: wrap;
}

	
.div-read-view {
	flex-grow:5;

	width:50%;
}

.width-input {
	width:90% !important;
}
	
@media screen and (max-width: 768px) {

	 .div-read-view {
		width:100% !important;
	}

	.width-input {
		width:100% !important;
	}
}