@import url('https://fonts.googleapis.com/css?family=Noto+Sans&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');
/*@import url('https://fonts.googleapis.com/css?family=Roboto&display=swap');*/

* {
    margin: 0px;
}

head, body, td, th, a, p {
    font-family: 'Open Sans', 'Noto Sans', 'Roboto', Helvetica, Arial, Arial narrow, sans-serif;
    background-color: white;
}

/*this are the properties of plain text e.g in projects*/
body {
    background-color: white;
    color: black;
    margin: 0px;
    outline: none !important; /* no focus indication */
    /*no selection*/
    -ms-user-select: none;
    -o-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    user-select: none;
}

/*this are the properties of text for hyperlinks e.g in publications*/
a {
    color: #666666;
    background-color: white;
    text-decoration: none;
    text-decoration-color: none;
}

    a:hover {
        color: #230EAB;
        /*
        #1D0C8F
        magenta
        */
    }

/*-------------------------*/

.text {
    margin: 10px 25px;
}

.projectInfo {
    font-size: 14px;
    text-align: justify;
}

.row {
    margin: 25px 1%;
}

.column {
    padding: 0 1% 0 1%;
    float: left;
    width: 48%;
}


/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Extra small devices (phones, 1150px and down) */
/* Responsive layout - when width is less than 1150px wide, make the two columns stack on top of each other instead of next to each other */
@media (max-width: 1150px) {
    .column {
        padding: 0 0;
        margin-left: 20px;
        margin-right: 20px;
        width: auto;
        padding-bottom: 1em;
    }
}

/*-------------------------*/

.footer {
    font-size: 13px;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: transparent;
    color: lightgray;
    text-align: left;
    margin-left: 30px;
    margin-bottom: 30px;
}

/*-------------------------*/

.homebtnImg {
    position: absolute;
    left: 50%;
    margin-left: -45px;
    top: 7px;
    z-index: 1;
    background-color: white;
    padding: 0 10px;
}

    .homebtnImg img {
    }

/*-------------------------*/
hr {
    border-top: 1px;
    border-color: #666666;
    width: 100%;
}

.language {
    position: absolute;
    padding-left: 10px;
    margin-left: 5px;
    right: 30px;
    top: 8px;
    font-size: 11pt;
}

    .language a {
        color: #666666;
        text-decoration: none;
    }

        .language a:hover {
            color: black;
        }

/*-------------------------*/


.button {
    background-color: transparent; /* Green */
    border: none;
    color: black;
    padding: 0 0;
    text-align: left;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
}

.button {
    transition-duration: 0.2s;
}

    .button:hover {
        background-color: transparent; /* Green */
        color: #230EAB;
        /*
        #1D0C8F
        magenta
        */
    }

/*-------------------------*/

.thumbs {
    margin: 0px 0px;
}

.thumb {
    position: relative;
    float: left;
    min-width: 200px;
    max-width: 800px;
    min-height: 150px;
    max-height: 600px;
    margin: 30px 0 30px 20px; /*35px 12px;*/ /*18px*/
    /*background-color: rgb(200, 200, 200);*/
}

    .thumb img {
        max-width: 100%;
        max-height: 100%;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
        z-Index: 0;
    }

.thumbTitle {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    z-Index: 1;
    visibility: hidden;
}

    .thumbTitle > .thumbTitleText {
        position: absolute;
        padding: 10px 20px;
        font-size: 14px;
        text-align: center;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: transparent;
        color: #333333;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

a:hover .thumbTitle {
    visibility: visible;
}

/* Extra small devices (phones, 600px and down) */
@media (max-width: 600px) {
    .thumb {
        margin: 35px 11px;
        width: 95%;
        height: 42%;
        /*background-color: red;*/
    }

    .thumbTitle {
        visibility: visible;
        background-color: transparent;
    }

        .thumbTitle > .thumbTitleText {
            /*background-color: rgba(255, 255, 255, 0.3) !important;*/
            text-align: left;
            top: 95%;
            left: -4%;
            transform: translate(0%, 20%);
            padding: 7px 400px 10px 20px;
            background-color: white;
            background-color: white;
            color: #333333 !important; /*#F9F9F98*/
            text-shadow: 0 0 #666666 !important;
        }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media (min-width: 600px) {
    .thumb {
        width: 45%;
        height: 20%; /*45%;*/
        /*background-color: green;*/
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media (min-width: 768px) {
    .thumb {
        width: 30%; /*30%;*/
        height: 12%; /*30%;*/
        /*background-color: blue;*/
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media (min-width: 992px) {
    .thumb {
        width: 23%; /*20%;*/
        height: 20%; /*20%;*/
        /*background-color: yellow;*/
    }
}

/* Large devices over 1200px (large laptops and desktops, 1200px and up) */
@media (min-width: 1200px) {
    .thumb {
        margin: 30px 0 30px 22px;
        width: 23%;
        height: 20%;
        /*background-color: cyan;*/
    }
}

/* Large devices over 1500px (large laptops and desktops, 1500px and up) */
@media (min-width: 1500px) {
    .thumb {
        margin: 30px 0 30px 27px;
        width: 18%;
        height: 21%;
        /*background-color: cyan;*/
    }
}

/* Extra XL large devices (large laptops and desktops, 1680px and up) */
@media (min-width: 1679px) {
    .thumb {
        margin: 30px 0 30px 28px;
        width: 18%;
        height: 19%;
        /*background-color: cyan;*/
    }
}

/* Extra XXL large devices (large laptops and desktops, 2000px and up) */
@media (min-width: 1900px) {
    .thumb {
        margin: 30px 0 30px 27px;
        width: 15%;
        height: 18%;
        /*background-color: cyan;*/
    }
}

/* Extra XXXL large devices (large laptops and desktops, 2000px and up) */
@media (min-width: 2500px) {
    .thumb {
        margin: 30px 0 30px 29px;
        width: 13%;
        height: 16%;
        /*background-color: cyan;*/
    }
}

/* 4K devices (large laptops and desktops, 3800px and up) */
@media (min-width: 3800px) {
    .thumb {
        margin: 30px 15px 50px 30px;
        width: 13%;
        height: 16%;
        /*background-color: cyan;*/
    }
}

/*-------------------------*/

a.more {
    color: black; /* #666666; */
    text-decoration: none;
}

.more {
    color: black; /* #666666; */
    font-weight: normal;
}

    .more:hover {
        color: #230EAB;
        /*
        #1D0C8F;
        magenta;
        lightgray;
        black;
        */
    }

    .more .moreSymbol {
        font-weight: bold;
    }

/*-------------------------*/

.bigger {
    font-size: medium;
}

/*-------------------------*/

/* FadeSlideShow */

#fadeshow {
    position: fixed;
    bottom: 0;
    /*
    width: 100%;
    height: auto;
    */
    z-index: 0;
    margin: 0;
    padding: 0;
}

    #fadeshow .gallerylayer { /* avoid bluryness due to translate transform placing at half-pixel */
        -webkit-transform-style: preserve-3d;
        -moz-transform-style: preserve-3d;
        transform-style: preserve-3d;
        /*position: relative;*/ /* this is needed in the parent for the child's absolute position to be relative to it */
    }

        #fadeshow .gallerylayer img {
            display: block;
            width: 100%;
            height: auto;
            margin-left: auto;
            margin-right: auto;
            /* -- not working correctly at Windows Phone portrait mode
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            */
        }

@supports (object-fit: cover) {
    #fadeshow .gallerylayer img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

#fadeshowToggler {
}

/* FadeSlideShow (Projects) */

#fadeshow_Projects {
    z-index: 0;
    margin: 0px;
}

    #fadeshow_Projects .gallerylayer img {
        display: block;
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        margin: auto;
    }

@supports (object-fit: contain) {
    #fadeshow_Projects .gallerylayer img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

#fadeshowToggler_Projects {
}

/* Next & previous buttons (borrowed from https://www.w3schools.com/howto/howto_js_slideshow.asp) */
.prev,
.next {
    font-family: 'Open Sans', Helvetica, Arial, Arial narrow, sans-serif;
    cursor: pointer;
    position: absolute;
    top: 45.5%;
    width: auto;
    margin-top: -87px;
    padding: 100px;
    color: Lightgray;
    background-color: transparent;
    font-weight: 100;
    font-size: 35px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

#fadeshowToggler_Projects .prev,
#fadeshowToggler_Projects .next {
    margin-top: -130px
}

.prev *, .next * {
    background-color: transparent;
}

/* Position the "prev button" to the left */
.prev {
    left: 0;
    padding-left: 25px;
    border-radius: 3px 0 0 3px;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    padding-right: 25px;
    border-radius: 3px 0 0 3px;
}

    /* On hover, add a black background color with a little bit see-through */
    .prev:hover, .next:hover {
        color: black;
    }

.status {
    margin: 0 50px;
    font-size: 11pt !important;
    font-weight: normal;
    color: #666666;
}

/* Menu */

.menubar {
    background-color: white;
    padding-bottom: 26px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2;
}

.menu {
    z-index: 3;
    margin-top: 8px;
}

    .menu ul {
        z-index: 3;
        margin: 0;
        padding: 0;
        list-style-type: none;
    }

        /*Top level list items*/
        .menu ul li {
            z-index: 3;
            position: relative;
            display: inline;
            float: left;
        }

            /*Top level menu link items style*/
            .menu ul li a {
                z-index: 3;
                display: inline;
                /*width: 90px;*/ /*Width of top level menu link items*/
                padding: 0px 10px 0px 25px;
                border: 0px solid white;
                border-left-width: 0;
                text-decoration: none;
                font-weight: normal;
                font-size: 11pt;
                color: #666666;
            }

            /*1st sub level menu*/
            .menu ul li ul {
                z-index: 3;
                left: 0px;
                position: absolute;
                top: 1em; /* no need to change, as true value set by script */
                display: block;
                visibility: hidden;
                width: 1200px; /* changes submenu width to match display width */
                /* για το πλατος του υπομενου στον ΙΕ */
            }

                /*Sub level menu list items (undo style from Top level List Items)*/
                .menu ul li ul li {
                    z-index: 3;
                    display: list-item;
                    float: none;
                }

                    /*All subsequent sub menu levels offset after 1st level sub menu */
                    .menu ul li ul li ul {
                        z-index: 3;
                        left: 159px; /* no need to change, as true value set by script */
                        top: 0;
                    }

                    /* Sub level menu links style */
                    .menu ul li ul li a {
                        z-index: 3;
                        display: block;
                        /*width: 150px;*/ /*width of sub menu levels*/
                        color: #666666;
                        text-decoration: none;
                        padding: 12px 20px;
                        border: 5px solid white;
                    }

            .menu ul li a:hover {
                z-index: 3;
                color: black;
            }

.topnav a, .topnav input[type=text], .topnav .search-container button {
    float: none;
    display: block;
    text-align: left;
    width: 100%;
    margin: 0;
    padding: 14px;
}

/*Background image for top level menu list links */
.menu .mainfoldericon {
    z-index: 3;
    /*url(media/arrow-down.gif) no-repeat center right;*/
}

/*Background image for subsequent level menu list links */
.menu .subfoldericon {
    z-index: 3;
}

* html p#iepara { /*For a paragraph (if any) that immediately follows suckertree menu, add 1em top spacing between the two in IE*/
    padding-top: 1em;
}

/* Holly Hack for IE */
* html .menu ul li {
    float: left;
    height: 1%;
}

    * html .menu ul li a {
        height: 1%;
    }

    /* responsive menu */
    .menu ul li.menuIcon {
        display: none;
    }

        .menu ul li.menuIcon a {
            font-size: 16pt; /*14pt;*/
        }

        .menu ul li.menuIcon > a {
            font-weight: normal;
            font-size: 20pt; /*14pt;*/
        }

@media (max-width: 1150px) { /* at that width or less hide the menu items and show sandwich menu */
    .menu ul li {
        display: none;
    }

        .menu ul li.menuIcon {
            display: inline;
        }
}

.help {
    display: none;
}

    .help:hover {
        display: block;
    }

.openhelp {
    text-decoration: none;
    color: #666666;
}

    .openhelp:target + .help {
        display: block;
    }

    .openhelp:hover + .help {
        display: block;
    }

img {
    float: left;
}

#more {
    display: none;
}

.menubar + * { /* 1st sibling of menubar */
    padding-top: 35px !important; /* needed cause of the sticky menu bar defined in the header (keep last) */
}

/* End Menu */
