/*   TYPE   */

h1, h2 {
    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: #2a6d9b;
}

ul#menu li a:hover {
    margin-bottom: 2px;
}

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: #ffffff;
	padding: 10px 20px;
	box-shadow: 2px 1px 10px #ddd;
}


.header-inner {
    max-width: 1140px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 10px;
}


.header-inner img {
    max-width: 240px;
}



/*  NAVIGATION  */

ul.menu {
    width: 100%;
    list-style-type: none;
    margin: 0 !important;
    padding-left: 0 !important;
    display: flex;
}


ul.menu li {
    padding: 0 0 0 25px;
    margin: 0 2px 0 0;
    font-size: 90%;
    font-weight: 700;
    margin: 15px 0 2px 0 !important;
}


#menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

ul#menu {
    width: 100%;
    list-style-type: none;
    margin: 0 !important;
    padding-left: 0 !important;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}


ul#menu li a {
    padding: 12px 7px;
    color: #000;
    font-size: .9em;
    font-weight: 700;
    margin: 15px 0 10px 0;
    text-align: left;
    background: transparent;
    transition: all .5s ease-in-out;
    border-bottom: 4px solid transparent;
    display: inline-block; /* ensures border-bottom is visible */
}



ul#menu > li a:hover {
    border-bottom: 4px solid #0a5;
}


ul#menu > li a.active {
    border-bottom: 4px solid #222222;
    color: #222222; /* optional: match hover color */
}


/**************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;
		background-color: rgba(255, 255, 255, .9);
		transition: all .7s ease-in-out;
		z-index: 1000;
		position: absolute;
		left: 0;
        top: 80px;
        flex-direction: column;
        pointer-events: none;
        border-radius: 5px;
        border: #aaa 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;
	}
   
	
}



/*  USER NAME  */

.user_name {
    width: 100%;
    margin: 0;
    background-color: #ffffff;
}


.user_name_inner {
    max-width: 1140px;
    margin: 0 auto;
	padding: 0 10px;
    text-align: right;
}



/*  GENERIC CONTRUCTION  */

body {
    font-family: 'Roboto', sans-serif !important;
    background-color: #f1f1f1;
    color: #343434;
    line-height: 1.5;
    text-decoration: none !important;
    padding: 0 !important;
    margin: 0 !important;
}



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;
    }
}




.inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 10px 20px;
}

/*  TOP BANNER  */

section#top-banner {
    width: 100%;
    height: 100px;
    background-image: url('/assets/images/banner.jpg');
    background-position: top center;
    background-size: cover;
    margin-bottom: 0 !important;
}


/*  SLIDER  */

section#slider {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}


#slider-wrapper {
    display: flex;
    flex-direction: column;
    width: 100vw;
    overflow: hidden;
    height: 550px;
    position: relative;
}


.slide {
    position:absolute;
    top: 0;
    left: 0;
    transition: opacity 2s ease-in-out;
    width: 100vw;
    height: 550px;
}

#slide1 {
    z-index:4;
    opacity: 1;
    background-image: url('/assets/images/slide1.jpg');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
}


#slide2 {
    z-index:3;
    opacity: 0;
    background-image: url('/assets/images/slide2.jpg');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
}

#slide3 {
    z-index:2;
    opacity: 0;
    background-image: url('/assets/images/slide3.jpg');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
}


img.arrow {
    z-index: 5;
    cursor: pointer;
    
}

img#arrow-back {
    width: 30px;
    position: absolute ;
    top: 50%;
    left: 30px;
   
}

img#arrow-next {
    width: 30px;
    position: absolute ;
    top: 50%;
    left: calc(100vw - 60px);
}

#thumbs-wrapper {
    position: absolute;
    bottom: 20px;
    left: calc(50vw - 200px);
    width: 435px;
    height: 74px;
    background-color: antiquewhite;
    padding: 1px 2px;
    z-index: 5;
}

.slide-container {
    max-width: 1140px;
    box-sizing: border-box;
    padding: 50px 50px 100px 50px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.slide-container h1 {
    background-color: transparent !important;
    color: #fff !important;
    margin: 10px 0;
    padding: 0;
    width: fit-content;
    font-size: 24pt;   
}

.slide-container h2 {
   background-color: transparent !important;
   color: #fff !important;
   margin: 10px 0 80px 0;
   padding: 0;
   width: fit-content;    
}

div.slide-container > p.read_more a:hover {
    background-color: #fff !important;
    color: #0a5 !important; 
}

@media(max-width: 760px) {
    #slider {
        display: none;
    }
}

/*  TILES  */

#tiles-wrapper {
    background-color: #222222;
}


.tiles-wrapper {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
}

.tile {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30%;
    max-width: 350px;
    margin: 25px 1%;
    background-color: rgba(255, 255, 255, .9);
    border-radius: 4px;
    box-sizing: border-box;
    padding: 25px;
    border-radius: 5px;
    text-align: center;
    transition: all ease-in-out .4s;
}

.tile:hover {
    background-color: rgba(255, 255, 255, .6);
}

/*
.tile:hover:hover .tile-description, .tile:hover:hover .tile-title {
    color: #fff;
}
*/
@media(max-width: 760px) {
    .tiles-wrapper {
        flex-direction: column;
        justify-content: center;
        align-content: center;
    }

    .tile {
        width: 80%;
    }
}

.tile img {
    max-width: 120px;
    max-height: 100px;
    margin: 0 auto 30px auto;
}



.tile-title {
    color: #000;
    font-weight: 700;
    text-align: left;
}



.tile-description {
    text-align: left;
    color: #979797;
    transition: color ease-in-out .5s;
}

@media(max-width: 760px) {        
    .tile {
        width: 80%;
        min-height: 350px;
    }
}

@media(max-width: 550px) {
    .tile {
        width: 70%;
        margin: 20px 0;
    }

    .tile img {
        width: 90px;
        margin: 0 auto 15px auto;
    }
}

@media(max-width: 450px) {
    .tile {
        width: 100%;
    }
}

/*  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);
    }


/*  MAIN  */


#main {
    max-width: 94%;
    width: 1140px;
	margin: 0 auto 0 auto;
	padding: 30px 0 40px 0;
    min-height: calc(100vh - 277px);
}

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




.full-width {
    width: 94% !important;
}




@media(min-width:1140px) {
    .content {
        width: 90%;
    }
}

#welcome img {
    float: right;
    margin: -240px 0 0 50px;
    max-width: 270px;
    border: 3px solid #fff;
    position: relative;
    z-index: 1000;
}

@media(max-width:760px) {
    #welcome img {
        display: none;
    }
}

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


.download_btns {
    display: flex;
    justify-content: right;
    margin: -20px 0 -30px 0;
}

.two-columns {
    display: flex;
}

.left-column {
    width: 35%;
    padding: 20px;
}


.decisions_list {
    max-height: 450px;
    overflow-y: scroll;
    border: #0a5 1px solid;
}
.right-column {
    width: 65%;
    padding: 20px;
}

.right-column ul li {
    margin-bottom: 30px;
}

@media(max-width:600px) {
    .two-columns {
        flex-direction: column;
    }
}

.decisions_list ul li {
  list-style: square;
  line-height: 2;
}

/* FOOTER */

footer {
    margin: 20px 0 0 0;
    background-color: #454c4e;
    background-color: #536a7c;
    background-color: #2a6d9b;
    background-color: #0a456a;
    background-color: #222222;
    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[type=file]::file-selector-button {
	margin: 5px 20px 10px 0;
	padding: 12px;
	background-color: #1ABCA1;
	border: none;
	cursor: pointer;
	color: #fff;
	transition: background-color ease-in-out .4s;
}


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


input[type=file]::file-selector-button:hover {
	background-color: #159C85;
}



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


input[type=submit]: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;
}

button {
    padding: 10px;
    background-color: #eff2f3;
    border-radius: 3px 5px;
    cursor: pointer;
}

/*  TABLES  */


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

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


td {
    padding: 7px 12px;
}

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

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

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: 1140px;
    text-align: right;
}

.hide {
    display: none;
}



/*  READ MORE  */


.read_more a {
    width: 150px;
    margin: -20px 0 30px 0;
    background-color: #50a9e6;
    background-color: #0a456a;
    background-color: #0a5;
    color: #fff;
    padding: 15px;
    transition: all ease-in-out .3s;
    font-size: 90%;
    font-weight: 700;
}

.read_more a:hover {
    background-color: #10466a;
    background-color: #2a6d9b;
    background-color: #222222;
}


/*  PDF BUTTON  */

.btn_pdf {
    text-align: right;
    margin: -50px 0 30px 0;
}


.btn_pdf a {
    width: 240px;
    margin: -20px 0 30px 0;
    background-color: red;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    font-size: 90%;
    transition: all ease-in-out .5s;
}

.btn_pdf a:hover {
    background-color: rgb(192, 24, 24);
}



/*  DECISIONS  */

.signatures {
    display: flex;
    justify-content: space-around;
}


/*  PAGE NOT FOUND  */

.page-not-found-img {
    margin: 20px auto;
    max-width: 100px;
}


