/*
Theme Name: Patrol
Text Domain: patrol
*/


@import url('https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css');
@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

* {
	box-sizing: border-box;
	font-family: 'Source Sans Pro', Sans serif ;
}
html {
  --spinner: #1EAAF0;
  --center: translate(-50%, -50%);
  height: 100%;
}
body {
	/*font-family: 'Helvetica Neue', Helvetica;*/
	font-family: 'Source Sans Pro', Sans serif ;
	font-size: 18px;
	color: #6F6F6F;
	margin: 0;
	padding: 0;
	height: 100%;
}
p {
	margin-top: 0;
	margin-bottom: 5px;
}
a {
	cursor: pointer;
}

.app-container {
	max-width: 450px;
	margin: 10px auto;
	padding: 20px;
	background: #EEEEEE;
	position: relative;
}
.form-screen {
	background: #fff;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 999;
	display: none;
}
a.form-close {
	display: block;
	color: red;
	width: 32px;
	height: 32px;
	position: absolute;
	top: 5px;
	right: 0;
	font-size: 32px;
}

.patrol-screen {
	display: none;
}
#home-screen {
	display: block;
}
.logo {
	margin-bottom: 30px;
	text-align: center;
}
.logo img {
	max-width: 52px;
}
.patrol-button-container {
	text-align: center;
	margin: 20px 0;
}
.patrol-button {
	color: #fff;
	text-align: center;
	display: inline-block;
	padding: 12px 16px 12px 40px;

	text-decoration: none;
	border-radius: 6px;
	background: #545F71 url(images/plus-circle.svg) no-repeat 10px center;
}
.patrol-button-alt {
	background: #CCCCCC;
	color: #545F71;
	padding-left: 12px;
}
.patrol-button.nobg {
	background-image: none;
	padding-left: 12px;
}
.patrol-2-buttons {
	display: flex;
	flex-direction: row;
}
.patrol-2-buttons .patrol-button {
	width: 48%;
	margin-right: 2%;
}
.patrol-input {
	margin-bottom: 10px;
}
.patrol-input label {
	display: block;
	color: #545F71;
	margin-bottom: 15px;
}
.patrol-input textarea {
	width: 100%;
	min-height: 80px;
}
.patrol-input input,
.patrol-input textarea,
.patrol-input select {
	width: 100%;
	border: 1px solid #545F71;
	padding: 12px;
	background: #fff;
	color: #545F71;
	border-radius: 6px;
}
.patrol-input input.invalid,
.patrol-input select.invalid {
	border-color: red;
}
.patrol-input #patrol-twoway {
	width: auto;
	display: inline-block;
}
.patrol-input .time-block {
	width: 49%;
	display: inline-block;
}
.intervention-list div {
	display: flex;
	flex-direction: row;
	margin-bottom: 10px;
	padding-bottom: 10px;
	padding-top: 10px;
	border-bottom: 1px solid #fff;
}
.intervention-list .intervention-name {
/*	display: block;*/
	width: 70%;
}
.intervention-list .intervention-km,
.intervention-list .intervention-qty {
	width: 15%;
}
/* timer */
.patrol-timer {
	background: #fff;
	border-radius: 6px;
	padding: 10px 20px;
	display: flex;
	flex-direction: row;
	margin-bottom: 20px;
}
.patrol-timer .time-block {
	width: 33%;
	text-align: center;
	margin-left: 1%;
	margin-right: 1%;
	background: #EEF1F4;
	border-radius: 6px;
	font-size: 60px;
	color: #545F71;
	font-weight: bold;
	padding: 20px 0;
}
.form-container {
	padding: 20px;
}

/* profile */
.wrap {
	padding: 20px;
	margin-bottom: 15px;
	border-radius: 6px;
	box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.25);
	-webkit-box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.25);
	-moz-box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.25);
}
.profile-header {
	margin-bottom: 20px;
}
.profile-header {
	margin-bottom: 20px;
}
.avatar {
	width: 78px;
	height: 78px;
	overflow: hidden;
	display: inline-block;
}
.avatar img {
	border-radius: 39px;
	max-width: 100%;
}
.profile-header h2 {
	display: inline-block;
	float: right;
	width: 70%;
	text-align: left;
	margin-top: 10px;
	color: #515C6F;
	font-size: 28px;
	font-weight: bold;
}
.profile-info h3 {
	font-size: 24px;
	color: #4D4F5C;
	margin-top: 10px;
    margin-bottom: 18px;
    font-weight: bold;
}
.logout-link {
	float: right;
}

.top-badge {
	float: right;
	width: 69px;
	height: 69px;
}
.top-badge img {
	max-width: 100%;
}
.profile-badges {
	display: none;
}
.profile-badges p {
	padding-left: 15px;
	margin-bottom: 10px;
}
.profile-badges .badge img,
.user-badges-wrap .badge img,
.locked-badges .badge img {
	max-width: 100%;
}
.profile-badges .badge,
.user-badges-wrap .badge,
.locked-badges .badge {
	display: inline-block;
	position: relative;
	width: 32%;
	margin-bottom: 10px;
}
.locked-badges .badge:before {
	content: '';
	background: rgba(255,255,255,0.9) url(images/lock.png) no-repeat center center;
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
}
.profile-new-report {
/*	margin-top: 100px;*/
	margin-top: 50px;
}
.badge-container {
	padding-top: 1px;
}
.badge-container h4 {
	font-size: 22px;
	font-weight: normal;
	margin-top: 20px;
	margin-bottom: 20px;
	display: block;
}
/* badge tooltip */

.badge .tooltiptext {
  visibility: hidden;
  width: 160px;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
 
  /* Position the tooltip text - see examples below! */
  position: absolute;
  z-index: 1;

  bottom: 100%;
  left: 50%;
  margin-left: -80px
}

.badge:hover .tooltiptext {
  visibility: visible;
}
/* emergency contacts */
.emergency-contacts {
	margin-top: 40px;
	text-align: center;
	line-height: 18px;
}
.emergency-contacts dl {
	display: block;
	width: 100%;
	float: none;
}
.emergency-contacts dt {
	font-weight: bold;
	margin-bottom: 0;
}
.emergency-contacts dt,
.emergency-contacts dd {
	width: 100%;
	margin-bottom: 10px;
}
.emergency-contacts dd  {
	line-height: 20px;
}


.page-template-page-login {
    background: url(https://patrouille.ptittraindunord.com/wp-content/themes/ptit/images/equipe_header_blur.png) no-repeat;
    background-size: cover;
}
.login-container img {
	text-align: center;
	display: block;
	margin: 20px auto;
}
.wrong-login {
	color: red;
	background: #fff;
	padding: 15px;
	border-radius: 10px;
}
.login-container h1 {
	font-family: 'Helvetica Neue', Helvetica;
	font-size: 30px;
	text-align: center;
	color: #fff;
	text-transform: uppercase;
	margin-bottom: 20px;
}
#loginform p.login-username,
#loginform p.login-password {
	padding: 10px 30px 10px 40px;
	background: #fff;
	background-image: url(https://patrouille.ptittraindunord.com/wp-content/themes/ptit/images/password.png);
	background-repeat: no-repeat;
	background-position: 10px 20px;
}
#loginform p.login-username {
	border-radius: 10px 10px 0 0 ;
	margin-bottom: 0;
	background-image: url(images/profile.png);
	background-position: 10px 30px;
}
#loginform p.login-password {
	border-radius: 0 0 10px 10px;
	padding-top: 0;
}
#loginform .input {
	width: 100%;
	border: 0;
	border-bottom: 1px solid #E0E0E0;
	padding: 5px;
	font-size: 16px;
	color: #515C6F;
}
#loginform p label {
	color: #515C6F;
	text-transform: uppercase;
	font-size: 12px;
}
#wp-submit {
	font-size: 16px;
	text-transform: uppercase;
	width: 100%;
	border: 0;
	background-image: url(https://patrouille.ptittraindunord.com/wp-content/themes/ptit/images/arrow-right.png);
	background-repeat: no-repeat;
	background-position: 95% 10px ;
}
.page-template-page-login .app-container {
	background: none;
}


.button {
	max-width: 80%;
	background: #FF6969;
	text-align: center;
	color: #fff;
	padding: 15px 30px 15px 0;
	text-decoration: none;
	border-radius: 23px;
	display: block;
	margin: 20px auto;
	/*font-size: */
	position: relative;
	font-weight: bold;
	text-transform: uppercase;
}
.button i {
	position: absolute;
    top: 10px;
    right: 6px;
    font-size: 30px;
}