/*  COLORS  */

:root {
  --dark-bg: #242E3A;
  --dark-gray: #35404c;
  --light-gray: #405061;
  --ciel: #59B2FF;
  --green: #038387;
  --purple: #DA547E;
  --white: #f4f4f4;
  --fluo-green: #05c8b8;
  --error-bg: #f4c0cf;
  --error: #a80936;
  --success-bg: #7fccab;
  --success: #0d5b45;
  --row1: #97a6aa;
  --row2: #7f8588;
}



/*   TYPE   */

h1, h2, h3 {
    font-weight: 400 !important;
    margin: 40px 0 30px 0;
}

h1 {
    font-size: 1.7em;
}

h2 {
    font-size: 1.4em;
}

h3 {
    font-size: 1.1em;
}

h4 {
    font-size: .8em;
    margin: 20px 0;
}


a {
    text-decoration: none !important;
    transition: all .4s ease-in-out;
    color: var(--ciel);
}


a:hover {
   color: #fff;
}

td a:hover {
    color: #008fca;
}

p {
    text-align: justify;
}


.clear {
    clear: both;
}

.center {
    text-align: center;
}

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

.strong {
    font-weight: 700;
}

.black {
    color: #000;
}

.void {
    margin: 20px 0 80px 0;
}

.green {
    background-color: #2aa82a; 
    color: #fff;
    text-align: center;
}

.orange {
    background-color: #ff7900;
    color: #fff; 
    text-align: center;
}

.red {
    background-color: red; 
    color: #fff;
    text-align: center;
}

.bg_grey {
    background-color: #e1e1e1;
}

.hidden {
	display: none !important;
}

/*  HEADER  */

header {
    background-color: var(--dark-bg);
	padding: 10px 40px;
	box-shadow: 2px 1px 3px #aaa;
    display: flex;
    justify-content: space-between;
}

header img {
    width: 120px;
    height: fit-content;
}

/*  USER NAME  */

.user_name {
    width: 100%;
    margin: 0;
    text-align: right;
}



/*  NAVIGATION  */

ul#menu {
    padding-left: 20px;
    width: 100%;
    min-width: 240px;
    list-style-type: none;
    padding-left: 0 !important;
    display: flex;
    flex-direction: column;
}


ul#menu li {
    padding: 0 0 0 15px;
    font-size: 95%;
    font-weight: 700;
    width: 100%;
    box-sizing: border-box;
    margin: 15px 0 1px 0 !important;
}


ul#menu li a:hover {
    margin-bottom: 1px;
    color: #ddd;
}


ul#menu > li a.active {
    color: #fff; /* optional: match hover color */
}

ul#menu li ul {
    list-style-type: none;
    padding: 0;
} 



ul#menu li ul li a {
    padding: 0;
    box-sizing: border-box;
    margin: 7px 0 1px 0 !important;
}


/**************MENU RESPONSIVE****************/

#menu {
    align-items: flex-start;
}

#menu-wrapper-r {
	display: none;
	width: 28px;
	height: 28px;
    cursor: pointer;
}

ul#menu {
    opacity: 1;
    pointer-events: all;
}

#top-line, #middle-line, #bottom-line {
	border-top: 4px solid #000;
	padding-bottom: 6px;
	width: 28px;
}

@media screen and (max-width: 1140px) {

    .header-inner {
        align-items: flex-end;
    }

	#menu-wrapper-r {
	display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: end;
    width: 100%;
	}

    header div.inner {
        padding: 0 !important;
    }

	
	#menu-container {
		padding: 0;
	}
	
	ul#menu {
        opacity: 0;
		overflow: hidden;
		padding: 0;
        flex-direction: column;
        pointer-events: none;
        border: #fff 1px solid;
	}

    ul#menu li {
        display: block;
        border-bottom: 1px solid #aaa;
        padding: 0 !important;
        margin: 0 !important;
        width: 100%;
        border-radius: 0;
        text-align: center;
	}

    ul#menu li a {
        margin: 0 !important;
        border-bottom: 4px solid transparent;
	}


    ul#menu.show {
        opacity: 1 !important;
        pointer-events: all;
	}
   
	
}





/*  GENERIC CONTRUCTION  */

body {
    font-family: 'Roboto', sans-serif !important;
    background-color: var(--dark-bg);
    color: #dddddd;
    line-height: 1.5;
    text-decoration: none !important;
    padding: 0 !important;
    margin: 0 !important;
}


#main-wrapper {
    display: flex;
    background-color: var(--light-gray);
}


#left-column {
    max-width: 15%;
    background-color: var(--dark-gray);
    padding: 30px 0;
}


/*  MAIN  */


#main {
    width: 100%;
	padding: 30px 40px;
    min-height: calc(100vh - 277px);
}

@media(max-width: 1140px) {
    #main {
        max-width: 85%;
    }
}


section {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
    width: 100%;
    margin: 0 auto 20px auto;
}

@media(max-width: 1140px) {
    section {
        margin: 0 auto 20px auto;
        padding-top: 30px !important;
        padding-bottom: 30px !important; 
    }

    h1 {
        margin: 25px 0 15px 0;
        font-size: 2em;
    }
}

@media(max-width: 750px) {
    section {
        padding-top: 20px !important;
        padding-bottom: 20px !important; 
    }

    h1 {
        margin: 15px 0 10px 0;
        font-size: 1.7em;
    }
}

/*  TOP LANE  */

#top-lane {
    display: flex;
    justify-content: space-between;
}


.mailing-list-btn {
    display: flex;
    justify-content: end;
}

/*  ANIMATIONS  */



.slide-up-1 {
    opacity: 0;
    transform: translateY(70px);
    transition: all 0.8s ease-out;
}

.slide-up-2 {
    opacity: 0;
    transform: translateY(90px);
    transition: all 1.2s ease-out;
}

.slide-up-3 {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1.4s ease-out;
}




 .show {
      opacity: 1;
      transform: translateY(0);
    }




/* FOOTER */

footer {
    margin: 20px 0 0 0;
    color: #fff;
    width: 100%;
}



.footer-in {
    max-width: 900px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 20px;
    flex-direction: column;    
}

/*  FORM  */


label {
	display: block;
	margin: 40px 0 5px 0;
}

label.approved_check {
	display: inline-block;
}


#radio {
	margin: 30px 0;
}

input#name, input#email, input#arxikh, input#sxetikh, input#ips_domains, input#syndesmos, input#comments, fieldset, textarea  {
	display: block;
	margin: 5px 0;
	border: 1px solid #4ce;
	border-radius: 3px;
	padding: 10px 5px;
}

fieldset {
	margin: 40px 0 20px 0;
}

fieldset label {
	display: inline-block;
	margin: 20px 0 5px 0;
}

input  {
	border: 1px solid #4ce;
	border-radius: 3px;
	padding: 7px 5px;
}


input[type=submit], button {
	margin: 30px 0;
	padding: 12px;
	background-color: #17A8E3;
	border: none;
	cursor: pointer;
	color: #fff;
	transition: background-color ease-in-out .4s;
    border-radius: 3px;
}


a.small_btn, input.small_btn {
    display: block;
    box-sizing: border-box;
    width: 120px;
    height: 32px !important;
    padding: 5px 7px;
    margin: 5px 0 !important;
    background-color: #17A8E3;
    text-align: left;
	border: none;
	cursor: pointer;
	color: #fff;
	transition: background-color ease-in-out .4s;
    border-radius: 3px;
}



.small_btn img {
    height: 12px !important;
    width: auto !important;
    margin-bottom: -1px;
}

a.btn {
  margin: 30px 30px 30px 0;
  padding: 12px;
  background-color: #17A8E3;
  border: none;
  cursor: pointer;
  color: #fff;
  transition: background-color ease-in-out .4s;
  border-radius: 3px;
  font-size: 90%;
}

a.btn:hover, a.small_btn:hover {
    background-color: #008fca;
    color: #fff;
}

.btnWrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

input[type=submit]:hover, .btn a:hover, button:hover, input[type=button]:hover {
	background-color: #008fca;
}

select {
	padding: 7px;
	font-size: inherit;
}


.comments {
    display: flex;
}

.error {
    background: #ffc9c5;
	padding: 7px;
	color: red;
	border-radius: 5px; 
}

.success {
	background: #B7FFB7;
	padding: 7px;
	width: 100%;
	color: green;
	border-radius: 5px;
}

/*  TABLES  */


table {
    max-width: 100%;
    font-size: 80%;
    border: 1px solid #ddd;
    margin: 30px 0 70px 0;
}

th {
    background-color: #2a4961;
    color: #fff;
    padding: 7px;
}


td {
    padding: 7px 12px;
    color: #000;
}

td.lowcase {
    text-transform: none !important;
}

tr:nth-child(odd) {
    background-color: gainsboro;
}

tr:nth-child(even) {
    background-color: #eff2f3;
}

table.results_table td {
    text-align: center;
}


.requests_table, .users_table {
    min-width: 1156px;
    border-top: 1px solid #aaa;
    border-left: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
    margin-bottom: 80px;
}

.requests_table td, .users_table td {
    border-right: 1px solid #aaa;
}

.requests_table th, .users_table th {
    border-right: 1px solid #fff;
    text-align: left;
}


#add-user {
    background-color: #f5f5f5 !important; 
    text-align: right;
}

/*  SEARCH BAR  */

.search-wrapper {
    max-width: 450px;
}

.hide {
    display: none;
}

/*  TEXT EDITOR  */


.ql-toolbar.ql-snow {
    background-color: azure !important;
}

div.ql-editor {
    color: #000 !important;
}


.ql-formats button {
    margin: 12px 0 !important;
}