/* FONT  */

@font-face
{
    font-family: 'stdFont_Bold'; /*a name to be used later*/
    src: url('/resource/roboto/Roboto-Black.ttf'); /*URL to font*/
}

font-face
{
    font-family: 'stdFont'; /*a name to be used later*/
    src: url('/resource/roboto/Roboto-Regular.ttf'); /*URL to font*/
}

@font-face
{
    font-family: 'oldFont'; /*a name to be used later*/
    src: url('/resource/Comfortaa-Bold.ttf'); /*URL to font*/
}


/* COLORE LINK SITO */

/* unvisited link */
a:link {
    color: black;
}

/* visited link */
a:visited {
    color: black;
}

/* mouse over link */
a:hover {
    color: gray;
}

/* selected link */
a:active {
    color: gray;
}


/* BODY */

body    {
    margin:0;
}

fieldset    {
    border: 0;
}

/* NAVIBAR */

div.navibar  {
    background-color: #333;
}

ul.topbar {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    display: inline-block;
}

li.topbar {
    float: left;
}

li a.topbar {
    display: block;
    font-family:"Open Sans",sans-serif;
    text-shadow: 2px 2px #555;
    
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    cursor: pointer;
}
/* Change the link color to #111 (black) on hover */
li a.topbar:hover {
    background-color: #111;
}

/* The container <div> - needed to position the dropdown content */
.dropdown_navbar {
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content_navbar {
    display: none;
    background-color: #333;
    position: absolute;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content_navbar a {
    color: white;
    font-family:"Open Sans",sans-serif;
    padding: 14px 16px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content_navbar a:hover {background-color: #111}

/* Show the dropdown menu on hover */
.dropdown_navbar:hover .dropdown-content_navbar {
    display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown_navbar:hover{
    background-color: #111;
}

ul.login_onpage {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    display: inline;
    float:right;
    background-color: #333;

}

li.login_onpage {
    float:right;
}

li a.login_onpage {
    -webkit-user-select: none; /* Safari */        
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
    text-shadow: 2px 2px #555;
    font-family:"Open Sans",sans-serif;
    font-weight: 500;
    font-style:italic;
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    cursor: pointer;
}

a.login_onpage_a {
    -webkit-user-select: none; /* Safari */        
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
    cursor:pointer;
    color:white;
    font-family:"Open Sans",sans-serif;
    font-weight: 500;
    font-style:italic;
    text-decoration: none;
}

a.login_onpage_a:hover {
    color:#ddd;
}

.login_onpage_login
{
    text-align: center;
}

.dropdown_login {
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content_login {
    display: none;
    right:0;
    font-family:"Open Sans",sans-serif;
    background-color: #333;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    position: absolute;
    color: white;
    padding: 14px 16px;
    text-decoration: none;
}

/* Show the dropdown menu on hover */
.dropdown-content_login:hover {
    display: inline-block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown_login:hover{
    background-color: #111;
}

/* FOOTER */

div.footer  {        
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    text-align: center;
    background:rgba(225, 225, 225, .2);
}

/* MAIN STYLE */

div.main_container{
    text-align: center;
    font-family:"Open Sans",sans-serif;

}

div.error_message{
    text-align: center;
    color:red;
    font-family:"Open Sans",sans-serif;
}

div.home{    
    position:relative;
    right:0;
    bottom:200px;
    left:0;
    top:4rem;
    padding-bottom:5rem;
    text-align:center;
}

div.phpupload_form {
    padding-top:5vh;
    font-size: 1.25em;
    font-weight: 700;
}

input[type=submit] {
    padding:5px 15px; 
    background:rgb(235, 235, 235); 
    border:0 none;
    cursor:pointer;
    -webkit-border-radius: 5px;
    border-radius: 5px; 
}


input[type=file] {
    padding:5px 15px; 
    background:rgb(235, 235, 235); 
    border:0 none;
    cursor:pointer;
    -webkit-border-radius: 5px;
    border-radius: 5px; 
}

input[type=submit]:focus, input[type=submit]:hover{
    background-color:#ccc;
}

/* UPLOAD FILE */

.inputfile {
    display:none;
}

.inputfile + label {
    padding:5px 15px; 
    font-weight: 600;
    background-color: rgb(235, 235, 235);
    display: inline-block;
    cursor:pointer;
    -webkit-border-radius: 5px;
    border-radius: 5px; 
}

.inputfile:focus + label,
.inputfile + label:hover {
    background-color: #ccc;
}

/* TEMPORANEO, DA CAMBIARE */

div.sql {
            
            margin-left:auto;
            margin-right:auto;
            background:rgba(225, 225, 225, .6);
            height:auto;
            width:80%;
            text-align:center;
        }