/*
Theme Name:     RapportiniLavoro Child 
Theme URI:      https://www.rapportinilavoro.it/
Description:    Tema Child per gestore RapportiniLavoro.it
Author:         BTecno Srl
Author URI:     https://www.btecno.it/
Template:       wp-bootstrap-starter
Version:        1.0.0
*/

@import url('https://fonts.googleapis.com/css?family=Montserrat:500&display=swap');

header#masthead {
    margin-bottom: 0;
    background-color: transparent;
    box-shadow: none;
	padding: 15px;
    background-color: #273135;
}

body:not(.theme-preset-active) footer#colophon {
    color: #ffffff;
    background-color: #273135;
    text-align: center;
    font-size: 14px;
}

div.navbar-brand {margin:auto;}
div.navbar-brand img {width: 350px;}

.btn-primary:not(:disabled):not(.disabled).active:focus, .btn-primary:not(:disabled):not(.disabled):active:focus, .show>.btn-primary.dropdown-toggle:focus {box-shadow:none}

button:focus {
    outline: none;
}

.btn-primary.focus, .btn-primary:focus {
    box-shadow: none;
}

input {border-radius: 0;}

.navbar-light .navbar-toggler {display:none}

div.dettaglio-accesso {
    text-align: center;
    padding: 100px 25px;
    box-shadow: 0px 0px 10px rgba(39, 49, 53, 0.3);
    margin-bottom: 20px;
}

.dettaglio-accesso h2 {
    text-transform: uppercase;
    font-size: 20px;
    margin-bottom: 25px;
    color: #273135;
}

div.dettaglio-accesso button {
	font-size:18px;
	padding: 5px 20px;
}

.home div#content {
	min-height:80vh;
    padding-bottom: 0;
    padding-top: 125px;
}

/*AREA PRIVATA*/

.page-template-area-privata {
    font-family: 'Montserrat', sans-serif;
}

.page-template-area-privata header#masthead {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}

.page-template-area-privata header#masthead {
    height: 100px!important;
    border-bottom: none;
    background-color: #273135;
}

.page-template-area-privata .navbar-brand {
    display: none;
}

.page-template-area-privata .container {
    max-width: 100%;
}

.page-template-area-privata #content.site-content {
    padding-bottom: 20px;
    padding-top: 120px;
    padding-left: 10px;
    padding-right: 10px;
    min-height: calc(100vh - 50px);
}

.page-template-area-privata #page {
    background-color: #f7f7f7;
}

.page-template-area-privata .box {
    background-color: #ffffff;
    padding: 20px;
    margin-bottom: 20px;
    overflow: auto;
}

.page-template-area-privata .acf-field {
    clear: unset;
    width: 50%;
	float:left;
}

.page-template-area-privata .acf-fields>.acf-field {
    border-top: none;
	border-bottom: #EEEEEE solid 1px;
}

.page-template-area-privata input.acf-button {
    width: auto;
    float: right;
    font-size: 16px;
    padding: 5px 10px;
    line-height: 24px;
}

.acf-field input[type="text"], .acf-field input[type="password"], .acf-field input[type="number"], .acf-field input[type="search"], .acf-field input[type="email"], .acf-field input[type="url"], .acf-field textarea, .acf-field select {
	height: auto;
    padding: 5px 5px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    border-radius: 0;
}

img.logo-privata {
    position: fixed;
    top: 25px;
    z-index: 1050;
    width: 250px;
    left: 15px;
}

button.web-app {
    position: fixed;
    right: 325px;
    top: 26px;
    z-index: 1080;
    font-size: 20px;
    color:  #ef7f1a;
    padding: 10px 20px;
    background-color: transparent;
    border: 1px solid;
}

button.download-app {
    position: fixed;
    right: 120px;
    top: 26px;
    z-index: 1080;
    font-size: 20px;
    color: #ffffff;
    padding: 10px 20px;
    background-color:  #ef7f1a;
    border: 1px solid  #ef7f1a;
}

button.header-privata {
    position: fixed;
    right: 100px;
    top: 0px;
    z-index: 1080;
    font-size: 40px;
    color: #ffffff;
    padding: 20px 30px;
    background-color: transparent;
    border: none;
}

button.header-privata.logout {
    right: 0;
    background-color: #ef4023;
}

/*AREA RISERVATA ADMIN*/

div.azienda {
    border: 2px solid  #ef7f1a;
	padding: 15px;
	text-align: center;
	margin-bottom:25px;
}

div.azienda img {
    margin: auto;
    display: block;
	margin-bottom: 10px;
	max-height: 100%;
    max-width: 100%;
}

div.azienda .logo {
	height:70px;
	position: relative;
}

div.azienda .logo span {
	position: absolute;
    top: 25px;
    left: calc(50% - 30px);
    font-size: 14px;
}

img.no-logo {
    opacity: 0.3;
}

div.azienda a {
    color: #273135;
    text-decoration: none;
}

div.azienda:hover {
	background-color: rgba(85, 180, 53, 0.2);
	transition-duration:0.5s;
}

div.riferimento-azienda {
    position: fixed;
    top: 37px;
    z-index: 1050;
    left: calc(50% - 155px);
    font-size: 18px;
	color: #ffffff;
}

select#rif-azienda {
    width: 150px;
	margin-left: 10px;
}

div.recap-utenti {
    padding: 10px 0;
}

div.recap-utenti div.utente.superuser .content-utente {
    border: 3px solid  #ef7f1a;
    box-shadow: none;
}

div.recap-utenti div.utente .content-utente {
    padding: 10px 0 10px 0;
    min-height: unset;
}

div.utente .content-utente {
    padding: 10px 0 20px 0;
    border: 3px solid #e0e0e0;
    min-height: 350px;
}

div.recap-utenti div.foto-utente {
    font-size: 35px;
}

div.utente {
    margin-bottom: 20px;
}

div.foto-utente {
    font-size: 50px;
    color:  #ef7f1a;
	position:relative;
}

div.save-user input {
    width: auto;
    padding: 10px 20px;
    float: right;
}

.page-template-area-privata .truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.page-template-area-privata .form-control, .page-template-area-privata input {
    height: auto;
    padding: 5px 5px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    border-radius: 0;
}

.page-template-area-privata .form-control:focus {box-shadow: none!important}

.page-template-area-privata label {
    display: inline-block;
    margin-bottom: 0;
    font-size: 14px;
	font-weight:bold;
}

.page-template-area-privata .invalid-feedback {font-size:12px;}

.page-template-area-privata input[disabled] {
    background-color: #e9ecef;
}

button.remove-user {
    background: #ffffff;
    color: #ef4023;
    border: none;
    font-weight: 600;
    outline: none;
	position: absolute;
    right: 0;
    top: 0;
    font-size: 18px;
}

div.utente.superuser .content-utente {
    border: 3px solid  #ef7f1a;
    padding: 10px 0 20px 0;
}

div.user-id {
	position: absolute;
    top: 25px;
    left: 130px;
    width: 80px;
}

div.utente div.field {
    margin-bottom: 15px;
}

div.utente a.change-password {
    font-size: 12px;
	float:right;
}

/*div.utente input.update_password {
    display: none;
}*/

div.add-user .content {
    text-align: center;
    padding: 20px;
    border: 3px dotted #e0e0e0;
    min-height: 350px;
}

div.add-user button {
    border-radius: 0px;
    border: 3px solid #ffffff;
    color: #ffffff;
    padding: 20px;
    width: auto;
    background-color: #ef7f1a;
    margin-top: 100px;
    outline: none;
}

div.add-user button i {
    font-size: 25px;
    margin-right: 10px;
}

span.toggle-password {
    position: absolute;
    right: 20px;
    top: 30px;
    cursor: pointer;
	font-size: 14px;
}

div.utente input.modify {
    opacity: 0;
}

.switch {
    position: relative;
    display: inline-block;
    width: 173px;
    height: 25px;
}
.switch input {
    opacity: 0;
    height: 0;
}
input:checked + .slider {
    background-color:  #ef7f1a;
}
.slider.round {
    border-radius: 34px;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 115px;
    right: 0;
    bottom: 0;
    background-color: #ef4023;
    -webkit-transition: .4s;
    transition: .4s;
}
input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
    left: 10px;
}
.slider.round:before {
    border-radius: 50%;
}
.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

div.modal-header {
    background-color: #4a4a4a;
    text-transform: uppercase;
}

div.modal-header h5 {color: #ffffff;}

.page-template-area-privata div.modal.show .modal-dialog .btn-primary {
    color: #fff;
    background-color: #ef4023!important;
    border-color: #ef4023!important;
}

.close {color: #fff;}

div.loader {
    position: absolute;
    top: 0;
    left: 15px;
    right: 15px;
    bottom: 0;
    z-index: 10;
    background-color: rgba(224, 224, 224, 0.5);
    display: none;
}

.spin {
    border: 5px solid #f3f3f3;
    border-radius: 50%;
    border-top: 5px solid  #ef7f1a;
    width: 100px;
    height: 100px;
    display: block;
    margin: auto;
    margin-top: 100px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 1s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


button.delete-azienda {
	position: fixed;
    right: 25px;
    bottom: 80px;
    background-color: #ef4023;
    border: none;
    border-radius: 100%;
    width: 70px;
    height: 70px;
}

button.delete-azienda i {
	color: #ffffff;
	font-size: 25px;
}

/*PAGINA DOWNLOAD APP*/

.page-template-download-app #content.site-content {
	min-height:80.5vh;
}

div.download-app {
    text-align: center;
    font-size: 20px;
}

button.web-app.page {
    position: unset;
    background-color: #ef7f1a;
}

div.download-app img {
    width: 250px;
}

div.download-app img.store-apple {
    padding: 0px 25px;
}

button.web-app.page a {
    color: #ffffff;
}