@import url('https://fonts.googleapis.com/css?family=Hind:300,400,600');
@import url('https://fonts.googleapis.com/css?family=Droid+Serif:400,400i');

.athonAdmin input[type=button], .athonAdmin input[type=submit]{
	-webkit-border-radius: 3px 3px 3px 3px;
	-moz-border-radius: 3px 3px 3px 3px;
	border-radius: 3px 3px 3px 3px;
	box-shadow: inset 0px -2px 0px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: inset 0px -2px 0px rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: inset 0px -2px 0px rgba(0, 0, 0, 0.2);
	background-color: #f88578;	
	color:#1764c1;
	font-size: 12px;
	font-weight: 400;
	text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.35);
	width:auto;
	min-width: 90px;
	height:30px;
	display: inline-block;
 	border: 0;
 	margin-bottom: 5px;
 	cursor: pointer;
}

.athonAdmin .tableSearch input[type=submit]{
	background-color: orange;
}

.athonAdmin input[type=button]:hover, .athonAdmin input[type=submit]:hover{
 	 background-color: #f44330;
}

.athonAdmin .xCodPr{
	color: orange;
}

.athonAdmin .xInst{
	color: lightgreen;
}

.athonAdmin .xTip{
	color: #df4842;
	font-weight: bold;
}

.athonAdmin .xTitlu{
	color: #ffffb9;
	font-style: italic;
}

.tableSearch{
	background-color: #adcef5;
	color: #333;
}

.tableSearch td{
	text-align: center;
	padding: 10px;
}

.tablePages{
	background-color: white;
	color: #333;
	
}

.tablePages td{
	padding: 10px!important;
}

.athonAdmin a{
	color: #91c8ff ;
}

.athonAdmin a:hover{
	color: #2b95ff;
}

.list-persoane td{
	font-size: 12px;
}

.list-persoane .tableSearch td{
	font-size: 14px;
	font-weight: bold;
}

.list-persoane hr{
	margin: 3px 0;
	border: 1px solid #ffc600;
}

.identificatori{
	color: #f44330;
}

.tablePages {
    text-align: center;
}
.tableOrizFullSearch .tablePages{
	background: #fff!important;
	border-bottom: 0px solid #eeeeee;
}

.tableOrizFullSearch .tablePages td{
	
	font-size: 13px!important;
	font-weight: 400;
	color: #656565;
	padding: 10px!important;
	
}

.tablePages td a {
    -webkit-border-radius: 3px 3px 3px 3px!important;
    -moz-border-radius: 3px 3px 3px 3px!important;
    border-radius: 3px 3px 3px 3px!important;
    padding-top: 3px;
    padding-bottom: 5px;
    padding-left: 7px;
    padding-right: 9px;
    color: #417dc0;
    background-color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid #e6e6e6;
}

.tablePages td a:hover {
		-webkit-border-radius: 3px 3px 3px 3px!important;
 	-moz-border-radius: 3px 3px 3px 3px!important;
  	border-radius: 3px 3px 3px 3px!important;
	padding-top:3px;
	padding-bottom:5px;
	padding-left: 7px;
	padding-right: 9px;
	color: #ffffff;
	background-color: #417dc0;
	font-weight: 600;
	cursor: pointer;
	border:1px solid #417dc0;
	box-shadow: inset 0px -2px 0px #417dc0;
 	-moz-box-shadow: inset 0px -2px 0px #417dc0;
 	-webkit-box-shadow: inset 0px -2px 0px #417dc0;
}

.tablePages td a:active {
		-webkit-border-radius: 3px 3px 3px 3px!important;
 	-moz-border-radius: 3px 3px 3px 3px!important;
  	border-radius: 3px 3px 3px 3px!important;
	padding-top:3px;
	padding-bottom:5px;
	padding-left: 7px;
	padding-right: 9px;
	color: #ffffff;
	background-color: #417dc0;
	font-weight: 600;
	cursor: pointer;
	border:1px solid #417dc0;
	box-shadow: inset 0px -1px 0px #417dc0;
 	-moz-box-shadow: inset 0px -1px 0px #417dc0;
 	-webkit-box-shadow: inset 0px -1px 0px #417dc0;
 	-webkit-transform: translateY(1px);
	transform: translateY(1px);
}

.tablePageNumberSelected {
    -webkit-border-radius: 3px 3px 3px 3px!important;
    -moz-border-radius: 3px 3px 3px 3px!important;
    border-radius: 3px 3px 3px 3px!important;
    padding-top: 3px;
    padding-bottom: 4px;
    padding-left: 7px;
    padding-right: 9px;
    color: #ffffff;
    background-color: #417dc0;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #417dc0;
}
/* CUSTOM */
.athonAdmin {
	font-family: 'Gilroy', sans-serif;
	color: #616a75;
}
.athonAdmin h2 {
    font-size: 3rem;
    font-weight: 300;
    color: #50a2ff;
    margin-bottom: .8rem;
}
.athonAdmin h3 {
  font-size: 1.2rem;
  color: #000000;
  margin-bottom: 40px;
  padding: 0px;
  text-align: left;
  border-bottom: 1px solid #a9a9a936;
  padding-bottom: 20px;
  position: relative;
}
.athonAdmin .btnList {
	cursor: pointer;
}
.athonAdmin .article-edit label span {
	display: block;
	margin-bottom: 5px;
}
.athonAdmin .article-edit input[type='text'],
.athonAdmin .article-edit textarea,
.athonAdmin .article-edit select {
	width: 100%;
	padding: 12px;
	color: #7288a2;
	border: 1px solid #50a2ff;
	font-size: 1rem;
	line-height: 1.5rem;
	color: #616a75;
}
.athonAdmin .article-edit textarea {
	height: 250px;
}
.athonAdmin .input-group {
	display: flex;
}
.athonAdmin .input-wrap em {
	line-height: 3rem;
}
.athonAdmin .input-wrap small em {
	line-height: initial;
}
.athonAdmin .input-group .input-wrap {
	flex-basis: 50%;
}
.athonAdmin .input-wrap table {
	width: 100%;
}
.input-wrap label:first-child {
	display: block;
	padding: 0 5px;
}
.input-wrap span {
  height: 48px;
  display: block;
}

.input-wrap .selectize-dropdown span.highlight{
    display: inline!important;
}

.athonAdmin .category-wrap div,
.athonAdmin .image-upload-wrapper div {
	display: flex;
	align-items: center;
}
.athonAdmin .category-wrap div button,
.athonAdmin .image-upload-wrapper div button {
	margin-right: 5px;
}
.athonAdmin .category-wrap div input[type=text] {
	max-width: 300px;
}
.athonAdmin  .image-upload-wrapper img {
	margin-left: 5px;
}
.athonAdmin  .image-upload-wrapper br {
	display: none;
}
.addUpload.save {
  background: #1866ff;
  width: 50%;
  text-align: center;
  display: block;
  margin: 0 auto;
  height: 40px;
  margin-top: 40px;
  font-weight: bold;
  border-top: 1px solid #00000024;
  padding-top: 6px;
  border: 0;
  border-radius: 5px;
}
.addButton {
  border: 1px solid #1767ff;
  color: #1767ff;
  padding: 10px;
  border-radius: 5px;
  width: 300px;
  height: 55px;
  font-weight: bold;
  margin: 0 auto;
  width: 100%;
  margin-bottom: 30px;
}
.buttonPreview {
  width: 50%;
  text-align: center;
  display: block;
  margin: 0 auto;
  height: 40px;
  margin-top: 40px;
  font-weight: bold;
  border-top: 1px solid #00000024;
  padding-top: 30px;
}
.athonAdmin .arrow {
	border: solid black;
	border-width: 0 3px 3px 0;
	display: inline-block;
	padding: 3px;
}
.athonAdmin .right {
	transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
}
.athonAdmin .left {
	transform: rotate(135deg);
	-webkit-transform: rotate(135deg);
}
.athonAdmin .up {
	transform: rotate(-135deg);
	-webkit-transform: rotate(-135deg);
}
.athonAdmin .down {
	transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
}
.athonAdmin section {
	height: initial;
}
/* RESET RULES
–––––––––––––––––––––––––––––––––––––––––––––––––– */

:root {
  --page-header-bgColor: #242e42;
  --page-header-bgColor-hover: #1d2636;
  --page-header-txtColor: #dde9f8;
  --page-header-headingColor: #7889a4;
  --page-header-width: 220px;
  --page-content-bgColor: #f0f1f6;
  --page-content-txtColor: #171616;
  --page-content-blockColor: #fff;
  --white: #fff;
  --black: #333;
  --blue: #00b9eb;
  --red: #ec1848;
  --border-radius: 4px;
  --box-shadow: 0 0 10px -2px rgba(0, 0, 0, 0.075);
  --switch-bgLightModeColor: #87cefa;
  --switch-sunColor: gold;
  --switch-moonColor: #f4f4f4;
  --switch-bgDarkModeColor: #1f1f27;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

ul {
  list-style: none;
}

a,
button {
  color: inherit;
}

a {
  text-decoration: none;
}

button {
  background: none;
  cursor: pointer;
}

label {
  cursor: pointer;
}

button,
input {
  border: none;
}

svg {
  display: block;
}

body {
  font: 16px/1.5 "Lato", sans-serif;
}


/* HEADER STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */


.page-header nav {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.page-header .logo {
  display: block;
  margin: 0 15px;
}

.page-header .logo svg {
  max-width: 120px;
  fill: var(--white);
}

.page-header .toggle-mob-menu {
  display: none;
  margin-left: 5px;
  padding: 4px;
  background: var(--page-content-blockColor);
  border-radius: var(--border-radius);
}

.page-header .toggle-mob-menu svg {
  fill: var(--black);
  transition: transform 0.2s;
}

.page-header .admin-menu {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  margin-top: 35px;
}

.page-header .admin-menu li:nth-last-child(2) {
  margin-bottom: 35px;
}

.page-header .admin-menu li:last-child {
  margin-top: auto;
  margin-bottom: 20px;
}

.page-header .admin-menu li > * {
  width: 100%;
  padding: 12px 15px;
}

.page-header .admin-menu .switcher {
  display: inline-block;
  width: auto;
}

.page-header .admin-menu .menu-heading h3 {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 12px;
  margin-top: 12px;
  color: var(--page-header-headingColor);
}

.page-header .admin-menu svg {
  width: 20px;
  height: 20px;
  fill: var(--page-header-txtColor);
  margin-right: 10px;
}

.page-header .admin-menu a,
.page-header .admin-menu button {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
}


/* PAGE CONTENT STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.page-content {
  position: relative;
  left: var(--page-header-width);
  width: calc(100% - var(--page-header-width));
  min-height: 100vh;
  padding: 30px;
  color: var(--page-content-txtColor);
}

.search-and-user {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-column-gap: 50px;
  align-items: center;
  background: var(--page-content-bgColor);
  margin-bottom: 30px;
}

.search-and-user form {
  position: relative;
}

.search-and-user [type="search"] {
  width: 100%;
  height: 50px;
  font-size: 1.5rem;
  padding-left: 15px;
  background: var(--page-content-blockColor);
  color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.search-and-user ::placeholder {
  color: var(--page-content-txtColor);
}

.search-and-user form svg {
  width: 26px;
  height: 26px;
  fill: var(--page-content-txtColor);
}

.search-and-user form button {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
}

.search-and-user .admin-profile {
  display: flex;
  align-items: center;
}

.search-and-user .admin-profile .greeting {
  margin: 0 10px 0 20px;
}

.search-and-user .admin-profile svg {
  width: 30px;
  height: 30px;
}

.search-and-user .admin-profile .notifications {
  position: relative;
}

.search-and-user .admin-profile .badge {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -10px;
  right: -3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 10px;
  color: var(--white);
  background: var(--red);
}

/* .page-content .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 30px;
}

.page-content .grid > article {
  display: flex;
  height: 300px;
  background: var(--page-content-blockColor);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.page-content .grid > article:first-child,
.page-content .grid > article:last-child {
  grid-column: 1 / -1;
} */
.addUpload {
  background: #1767ff;
  color: #fff;
  padding: 10px;
  border-radius: 10px;
  width: 300px;
  height: 55px;
  font-weight: bold;
  margin: 0 auto;
  width: 100%;
}
button.button {
	display: inline-block;
	background-image: none;
	background-color: #a9a9a9;
	min-width: 175px;
    color: #FFF;
    font-weight: 600;
    padding: 13px 20px;
    margin: 15px 0;
    font-size: 1rem;
    border-radius: 5px;
	border: 0;
    -webkit-transition: background 0.3s 0s ease-in-out;
    -moz-transition: background 0.3s 0s ease-in-out;
    -o-transition: background 0.3s 0s ease-in-out;
    transition: background 0.3s 0s ease-in-out;
}
button.button:hover {
	background-color: #a9a9a9cc;
}
button.button.blue {
    background-color: #50a2ff;
}
button.button.blue:hover {
    color: #FFF;
    text-decoration: none;
    background-color: rgba(80, 162, 255, .9);
}
button.button.red {
  background-color: #e74c3c;
  height: 31px;
  padding: 0px;
  font-weight: 200;
  width: 30px;
  display: block;
  font-size: 0px;
  position: relative;
}
button.button.red:after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background-image: url(../../template2/img/icons/delete-red.svg);
  background-repeat: no-repeat;
  filter: brightness(2.5);
  left: 10px;
  top: 10px;
}
button.button.red:hover {
	background-color: #e74c3ccc;
}
button.button.green {
	background-color: green;
}
button.button.green:hover {
	background-color: green;
}


/* MQ RULES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media screen and (max-width: 767px) {
  .page-header,
  .page-content {
    position: static;
    width: 100%;
  }

  .page-header {
    padding: 10px;
  }

  .page-header nav {
    flex-direction: row;
  }

  .page-header .logo {
    margin: 0;
  }

  .page-header .logo svg {
    width: 83px;
    height: 35px;
  }

  .page-header .toggle-mob-menu {
    display: block;
  }

  .page-header .admin-menu {
    position: absolute;
    left: 98px;
    top: 57px;
    margin-top: 0;
    z-index: 2;
    border-radius: var(--border-radius);
    background: var(--page-header-bgColor);
    visibility: hidden;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.2s;
  }

  .page-header .admin-menu li:nth-last-child(2) {
    margin-bottom: 12px;
  }

  .page-header .admin-menu li:last-child button,
  .search-and-user .admin-profile .greeting {
    display: none;
  }

  .page-content {
    min-height: 0;
    padding: 10px;
  }

  .page-content .grid {
    grid-gap: 10px;
  }

  .search-and-user {
    position: absolute;
    left: 131px;
    top: 10px;
    padding: 0;
    grid-column-gap: 5px;
    width: calc(100% - 141px);
    border-radius: var(--border-radius);
    background: transparent;
  }

  .search-and-user [type="search"] {
    font-size: 1rem;
    height: 35px;
  }

  .search-and-user form svg {
    width: 18px;
    height: 18px;
  }

  .search-and-user .admin-profile svg {
    fill: var(--white);
  }
}

@media screen and (max-width: 400px) {
  .page-content .grid > article {
    grid-column: 1 / -1;
  }
}


/* BODY CLASSES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.mob-menu-opened .toggle-mob-menu svg {
  transform: rotate(180deg);
}

.mob-menu-opened .page-header .admin-menu {
  transform: scale(1);
  visibility: visible;
  opacity: 1;
}

@media screen and (min-width: 768px) {
  .collapsed .page-header {
    width: 40px;
  }

  .collapsed .page-header .admin-menu li > * {
    padding: 10px;
  }

  .collapsed .page-header .logo,
  .collapsed .page-header .admin-menu span,
  .collapsed .page-header .admin-menu .menu-heading {
    display: none;
  }

  .collapsed .page-header .admin-menu svg {
    margin-right: 0;
  }

  .collapsed .page-header .collapse-btn svg {
    transform: rotate(180deg);
  }

  .collapsed .page-content {
    left: 40px;
    width: calc(100% - 40px);
  }
}


/* SWITCH STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.switch label {
  display: grid;
  grid-template-columns: auto auto;
  grid-column-gap: 10px;
  align-items: center;
  justify-content: flex-start;
}

.switch span:first-child {
  position: relative;
  width: 50px;
  height: 26px;
  border-radius: 15px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.4);
  background: var(--switch-bgLightModeColor);
  transition: all 0.3s;
}

.switch span:first-child::before,
.switch span:first-child::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.switch span:first-child::before {
  top: 1px;
  left: 1px;
  width: 24px;
  height: 24px;
  background: var(--white);
  z-index: 1;
  transition: transform 0.3s;
}

.switch span:first-child::after {
  top: 50%;
  right: 8px;
  width: 10px;
  height: 10px;
  transform: translateY(-50%);
  background: var(--switch-sunColor);
  box-shadow: 0 0 4px 2px #ffdb1a;
}

.switch [type="checkbox"]:checked + label span:first-child {
  background: var(--switch-bgDarkModeColor);
}

.switch [type="checkbox"]:focus + label span:first-child {
  box-shadow: 0 3px 5px rgba(255, 255, 255, 0.25);
}

.switch [type="checkbox"]:checked + label span:first-child::before {
  transform: translateX(24px);
}

.switch [type="checkbox"]:checked + label span:first-child::after {
  left: 12px;
  width: 15px;
  height: 15px;
  background: transparent;
  box-shadow: -2px -5px 0 var(--switch-moonColor);
  transform: translateY(-50%) rotate(-72deg);
}


/* LIGHT MODE STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.light-mode {
  --page-header-bgColor: #f1efec;
  --page-header-bgColor-hover: #b9e4e0;
  --page-header-txtColor: #2c303a;
  --page-header-headingColor: #979595;
  --page-content-bgColor: #fff;
  --box-shadow: 0 0 10px -2px rgba(0, 0, 0, 0.25);
}

.light-mode .page-header .admin-menu a:hover,
.light-mode .page-header .admin-menu a:focus,
.light-mode .page-header .admin-menu button:hover,
.light-mode .page-header .admin-menu button:focus {
  color: var(--black);
}

.light-mode .page-header .logo svg,
.light-mode .page-header .admin-menu a:hover svg,
.light-mode .page-header .admin-menu a:focus svg,
.light-mode .page-header .admin-menu button:hover svg,
.light-mode .page-header .admin-menu button:focus svg {
  fill: var(--black);
}

.light-mode .switch [type="checkbox"]:focus + label span:first-child {
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.25);
}

@media screen and (max-width: 767px) {
  .light-mode .search-and-user .admin-profile svg {
    fill: var(--black);
  }
}


/* span.tooltip-toggle {
  position: absolute;
  left: -25px;
  top: 4px;
} */

.tooltip-toggle {
cursor: pointer;
position: relative;
display: inline-block;
}
.tooltip-toggle svg {
height: 18px;
width: 18px;
}
.tooltip-toggle::before {
position: absolute;
top: -80px;
left: -80px;
background-color: #2B222A;
border-radius: 5px;
color: #fff;
content: attr(aria-label);
padding: 1rem;
text-transform: none;
transition: all 0.5s ease;
width: 300px;
}
.tooltip-toggle::after {
position: absolute;
top: -12px;
left: 9px;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-top: 5px solid #2B222A;
content: " ";
font-size: 0;
line-height: 0;
margin-left: -5px;
width: 0;
}
.tooltip-toggle::before, .tooltip-toggle::after {
color: #efefef;
font-family: monospace;
font-size: 16px;
opacity: 0;
pointer-events: none;
text-align: center;
}
.tooltip-toggle:focus::before, .tooltip-toggle:focus::after, .tooltip-toggle:hover::before, .tooltip-toggle:hover::after {
opacity: 1;
transition: all 0.75s ease;
}
/*.moduleList-admin div:first-of-type {
    display: flex;
    justify-content: space-between;
    flex-flow: column;
}*/
.moduleList-admin .item-list {
    display: flex;
    justify-content: space-between;
    flex-flow: row;
    flex-wrap: wrap;
    margin-bottom: 25px;
    padding-bottom: 25px;    
    height: 170px;
    
}
.chars-left-error {
  color: red;
}
.chars-left-ok {
  color: green;
}