@font-face {
  font-family: 'notesesa';
  src: url('../fonts/notesesabold.woff2') format('woff2'), url('../fonts/notesesabold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'notesesa';
  src: url('../fonts/notesesa.woff2') format('woff2'), url('../fonts/notesesa.woff') format('woff');
  font-weight: 500;
  font-style: normal;
}

body {
	background-color: #e8e8e4;
	background-color: #fafafa;
	font-weight: 400;
  font-family: Arial, sans-serif;
  color: #003247;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'notesesa', sans-serif;
	font-weight: 500;
}

h1 { font-size: 42px; line-height: 1.5; letter-spacing: 0.1px; }
h2 { font-size: 34px; line-height: 1.5; letter-spacing: 0.1px; }
h3 { font-size: 29px; line-height: 1.5; letter-spacing: 0.1px; }
h4 { font-size: 24px; line-height: 1.5; letter-spacing: 0.1px; }
h5 { font-size: 21px; line-height: 1.5; letter-spacing: 0.1px; }
h6 { font-size: 18px; line-height: 1.5; letter-spacing: 0.1px; }

@media (min-width: 750px) {
  h1 { font-size: 55px; }
  h2 { font-size: 49px; }
  h3 { font-size: 42px; }
  h4 { font-size: 34px; }
  h5 { font-size: 29px; }
  h6 { font-size: 21px; }
}

a, button {
  -webkit-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
}

label {
	font-weight: 600;
	margin-bottom: 10px;
}

.login-container{
	height: 100vh;
	/*background-image: url("/img/general-bg-scaled-1.jpeg");*/
  background-image: url("/img/contacts_image.jpeg");
	background-repeat: no-repeat;
	background-size: cover;
  background-position: center center;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  -ms-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  -ms-justify-content: center;
  justify-content: center;
}

.login-card {
	-webkit-transform: translateY(-56px);
  transform: translateY(-56px);
}

@media (min-width: 640px) {
  .login-card {
    -webkit-transform: translateY(-64px);
    transform: translateY(-64px);
    width: 90%;
    max-width: 400px;
  }
}

.login-card .card {
  padding-top: 13px;
  padding-bottom: 21px;
}

.login-card .card-title {
  margin-bottom: 34px;
  text-align: center;
}

.login-card .button {
  width: 100%;
}

/***** INTERNAL PAGE ******/

/* HEADER */
.esa-header {
  box-sizing: border-box;
  position: fixed;
  top: 0;
  width: 100%;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 24px;
  background-color: #003247;
  border-bottom-width: 4px;
  border-bottom-style: solid;
  border-color: #335E6F;
	border-color: #0AAE9D;
  color: #FFF;
  font-size: 20px;
  z-index: 99999
}

@media (min-width: 640px) {
  .esa-header {
    height: 64px;
  }
}

.esa-header__left {
  display: flex;
  align-items: center;
  justify-content: flex-start
}

.esa-header__left>* {
  margin-right: 16px
}

.esa-header__left>*:last-child {
  margin-right: 0
}

.esa-header__right {
  margin-left: auto;
  line-height: 0
}

.esa-header__title {
  display: none;
  width: 222px;
  height: 12px
}

@media (min-width: 640px) {
  .esa-header__title {
    display: block
  }
}

.esa-header__link {
  display: block
}

.esa-header__logo {
  width: 78px;
  height: 28px
}

@media (min-width: 640px) {
  .esa-header__logo {
    width: 89px;
    height: 32px
  }
}

.esa-header__toggle {
  width: auto;
  height: auto;
  padding: 0;
  background: none;
  border: none;
  outline: none;
  transition: all .25s ease
}

.esa-header__toggle:hover {
  cursor: pointer;
  transform: scale(1.1)
}

.esa-header__toggle:last-of-type {
  margin-right: 24px
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .esa-header__toggle {
    margin-right: 10px
  }
}

.esa-header .esa-header__icon {
  max-width: 20px;
  max-height: 20px
}

/* MAIN */
.my-main {
	min-height: calc(100vh - 64px);
	position: relative;
}

.dashboard-contents {
  margin-top: 21px;
}

.dashboard-contents .info-box {
  text-align: center;
  background-color: #ffffff;
  border: 1px solid #ced4da;
  border-radius: 4px;
  padding: 8px;
  margin-bottom: 1.5rem;
}

.dashboard-contents .info-box .number {
  margin-bottom: 0;
  margin-top: 29px;
}

.dashboard-contents .info-box .subtitle {
  margin-bottom: 42px;
  font-size: 18px;
}

.dashboard-contents .info-box .button {
  width: 100%;
}

/* SIDEBAR */
.my-sydebar {
	background-color: #335e6f;
	color: #e8e8e4;
	padding: 0;
	margin: 0;
	position: fixed;
	left: 0;
	top: 56px;
	bottom: 0;
	width: 24%;
}

@media (min-width: 640px) {
  .my-sydebar {
    top: 64px;
  }
}

@media (min-width: 1300px) {
	.my-sydebar {
		width: 22%;
	}
}

@media (min-width: 1400px) {
	.my-sydebar {
		width: 20%;
	}
}

@media (min-width: 1600px) {
	.my-sydebar {
		width: 18%;
	}
}

.sidebar-menu {
	list-style: none;
	margin-left: 0;
	padding-left: 0;
}

.sidebar-menu li {
	margin: 0;
	border-bottom: 1px solid rgba(255,255,255,0.2);
}

.sidebar-menu li.sidebar-menu-logout {
	position: absolute;;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 999;
	border-bottom: 0;
}

.sidebar-menu li a {
	color: #e8e8e4;
	text-decoration: none;
	display: block;
	margin-bottom: 0;
	padding-left: 21px;
	padding-right: 21px;
	padding-top: 34px;
	padding-bottom: 34px;
	-webkit-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

.sidebar-menu li.sidebar-menu-logout a {

}

.sidebar-menu li a:hover,
.sidebar-menu li a:active {
	color: #ffffff;
	background-color: rgba(255,255,255,0.1);
}

.sidebar-menu .svg-inline--fa {
	margin-right: 5px;
}

/* CONTENT - PAGE */
.my-content {
	margin-left: 24%;
  margin-top: 56px;
	padding-left: 24px;
	padding-top: 32px;
	padding-right: 18px;
}

@media (min-width: 640px) {
  .my-content {
    margin-top: 64px;
  }
}

@media (min-width: 1300px) {
	.my-content {
		margin-left: 22%;
	}
}

@media (min-width: 1400px) {
	.my-content {
		margin-left: 20%;
	}
}

@media (min-width: 1600px) {
	.my-content {
		margin-left: 18%;
	}
}

.my-page-content{
	padding-top: 34px;
	padding-bottom: 89px;
}


/* GENERAL */
.hidden {
	display: none;
}

.col-go-back {
	text-align: right;
}

a.go-back-button {
	text-decoration: none;
	color: #003247;
}

a.go-back-button:hover,
a.go-back-button:active  {
	color: #0AAE9D;
}

.text-right {
	text-align: right;
}

/* Buttons
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
  display: inline-block;
  height: 49px;
  padding: 0 29px;
  color: #003247;
  text-align: center;
  font-size: 11px;
  line-height: 49px;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  border-radius: 4px;
  border: 1px solid #a1b0b5;
  cursor: pointer;
  box-sizing: border-box; }
.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
.button:focus,
button:focus,
input[type="submit"]:focus,
input[type="reset"]:focus,
input[type="button"]:focus {
  color: #003247;
  border-color: #003247;
  outline: 0; }
.button.button-primary,
button.button-primary,
input[type="submit"].button-primary,
input[type="reset"].button-primary,
input[type="button"].button-primary {
  color: #FFF;
  background-color: #003247;;
  border-color: #003247;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;}
.button.button-primary:hover,
button.button-primary:hover,
input[type="submit"].button-primary:hover,
input[type="reset"].button-primary:hover,
input[type="button"].button-primary:hover,
.button.button-primary:focus,
button.button-primary:focus,
input[type="submit"].button-primary:focus,
input[type="reset"].button-primary:focus,
input[type="button"].button-primary:focus {
  color: #FFF;
  opacity: 0.8; }

.my-fixed-bottom {
	position: fixed;
	left: 0;
	bottom: 20px;
}

.button-primary {
	background-color: #0AAE9D;
	color: #fff;
	border: 0;
}

.button-success {
	background-color: #008e7a;
	color: white;
	border: 0;
}

.button-danger {
	background-color: #ed1b2f;
	color: white;
	border: 0;
}

.button-warning {
	background-color: #fbab18;
	color: white;
	border: 0;
}

.button-dark {
	background-color: #003247;
	color: white;
	border: 0;
}

.button.button-primary:hover,
.button.button-success:hover,
.button.button-danger:hover,
.button.button-warning:hover,
.button-dark:hover {
	border: 0;
	color: white;
}

.button svg.svg-inline--fa {
	margin-right: 3px;
}

/* Forms
–––––––––––––––––––––––––––––––––––––––––––––––––– */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
  height: 49px;
  padding: 0px 13px;
  line-height: 49px;
  background-color: #fff;
  border: 1px solid #D1D1D1;
  border-radius: 4px;
  box-shadow: none;
  box-sizing: border-box; }
/* Removes awkward default styles on some inputs for iOS */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none; }
textarea {
  min-height: 65px;
  padding-top: 6px;
  padding-bottom: 6px; }
input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border: 1px solid #00AE9E;
  outline: 0; }
label,
legend {
  display: block;
  margin-bottom: .5rem;
  font-weight: 600; }
fieldset {
  padding: 0;
  border-width: 0; }
input[type="checkbox"],
input[type="radio"] {
  display: inline; }
label > .label-body {
  display: inline-block;
  margin-left: .5rem;
  font-weight: normal; }

.my-system-message {
	margin-top: 20px;
	margin-bottom: 20px;
	border: 0;
}

/* TABLES */

.table>:not(caption)>*>* {
	padding: 21px 5px;
}

.icon-thead {
	text-align: center;
}

table {
  font-size: 15px;
}

thead,
thead tr {
  border-color: #dee2e6;
}

th {
  opacity: 0.3;
  font-size: 13px;
}

td a {
	text-align: center;
	color: #0AAE9D;
	display: block;
}

td a:hover,
td a:active {
	text-align: center;
	color: #008e7a;
}

.filter-form {
  margin-bottom: 34px;
}

.filter-form-recipents select {
  width: 100%;
}

.filter-form-recipents .button-filter {
  width: 100%;
}

.manage-recipients input {
  margin-bottom: 21px;
}

.filter-form-title {
  opacity: 0.5;
  font-size: 18px;
  margin-bottom: 15px;
}

.categories-fields {
  height: 49px;
  padding: 0px 13px;
  line-height: 49px;
  border: 1px solid #D1D1D1;
  border-radius: 4px;
  box-shadow: none;
  box-sizing: border-box;
  margin-bottom: 1.5rem;
}

.categories-fields span {
  transform:translateY(-1px);
  display: inline-block;
  font-size: 13px;
}

.checkbox-category {
  display: inline-block;
  margin-right: 13px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.form-check.checkbox-category {
  padding-left: 0;
}

.col-button-new,
.col-button-save {
  text-align: right;
  margin-top: 21px;
}

/* NEWSLETTER */

.modal-dialog {
	margin-top: 89px !important;
}
