
body {

    font: 100 15px/1.5 Helvetica, Verdana, sans-serif;
}

#bodycontainer {
    margin: 0px auto;

}


header {

}

h1 {
    text-align: left;
    font: 100 30px Helvetica, Verdana, sans-serif;
}

h2 {
    text-align: center;
    font: 100 20px Helvetica, Verdana, sans-serif;
}

h3 {
    text-align: left;
    font: bolder 18px Helvetica, Verdana, sans-serif;
}

header p {
    font: 100 15px/1.5 Helvetica, Verdana, sans-serif;
    text-align: justify;
}

#wait {
    background-color: rgba(245,245,245, 0.6);
    text-align: center;
    width:300px;
}

.heading {
    color: #000;
    width: 1024px;
    overflow-y: auto;
    background-color: rgba(245,245,245, 0.4);
    background-image: url('../img/banner.png?v=2');
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: contain;
    background-position-x: center;
    cursor:pointer;
}

.home {
    color: #000;
    width: 100%;
    min-height:684px;
    overflow-y: auto;
    background-color: rgba(245,245,245, 0.4);
    background-image: url('../img/gallery/bg1.jpg?v=1');
    background-repeat: no-repeat;
    background-attachment:scroll;
    background-size:cover;
    background-position-x:center;
}

.static {
    color: #000;
    width: 100%;
    min-height: 800px;
    overflow-y: auto;
    background-color: rgba(245,245,245, 0.4);
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-blend-mode: darken;
    text-align: center;
}

    .static.about {
        background-image: url('../img/gallery/bg2.jpg?v=2');
        background-size: cover;
    }
    .static.programme {
        background-image: url('../img/gallery/bg3.jpg?v=3');
        background-size: cover;
    }
    .static.venue {
        background-image: url('../img/gallery/bg4.jpg?v=1');
        background-size: cover;
    }
    .static.accommodation {
        background-image: url('../img/gallery/bg5.jpg?v=1');
        background-size: cover;
    }
    .static.travel {
        background-image: url('../img/gallery/bg6.jpg?v=1');
        background-size: cover;
    }
    .static.contact {
        background-image: url('../img/gallery/bg7.jpg?v=1');
        background-size: cover;
    }
    .static.register {
        background-image: url('../img/gallery/bg8.jpg?v=2');
        background-size: cover;
    }
    .static.abstracts {
        background-image: url('../img/gallery/bg9.jpg?v=1');
        background-size: cover;
    }

.fade {
    background-color: white;
    width:80%;
    margin:10px auto 0px auto;
    padding:10px;
    border:2px solid brown;
    text-align:left;
}

    .fade.very {
        opacity:0.6;
    }

    .fade.less {
        opacity: 0.8;
    }

    .fade.little {
        opacity: 0.9;
    }

    .fade.less {
        opacity: 0.8;
    }

.nofade {
    width: 80%;
    margin: 0px auto 0px auto;
    padding: 10px;
    text-align: left;
}

#content {
    width:100%;
}


p {
    font: 100 15px Helvetica, Verdana, sans-serif;
}

td {
    text-align:left;
}

    td.boxed {
        border: 1px solid black;
        background-color: rgba(220,196,169,1);
        margin-left: 5px;
    }

td.bordered {
    border: 1px solid black;
    padding-left: 10px;
    padding-right: 10px;
    vertical-align: top;
}

#footer {
    background: #999;
    background-color: rgba(245,245,245, 0.2);
    margin: auto;
    width:100%;
}

#popForm {
    height: auto;
    width: auto;
    max-height: 600px;
    overflow: scroll;
}


/* Menu stuff */



a {
    color: #3D5577;
    text-decoration: none;
}

    a:hover {
        color: #3D5577;
    }



nav {
    display: block;
    background: #3D5577 ;
}

.menu {
    display: block;
    margin-block-end: 0px;
}

    .menu li {
        display: inline-block;
        position: relative;
        z-index: 100;
    }

        .menu li:first-child {
            margin-left: 0;
        }

        .menu li a {
            font-weight: 600;
            text-decoration: none;
            padding: 10px 15px;
            display: block;
            color: #fff;
            transition: all 0.2s ease-in-out 0s;
        }

            .menu li a:hover,
            .menu li:hover > a {
                color: #fff;
                background: #3D5577;
            }

    .menu ul {
        visibility: hidden;
        opacity: 0;
        margin: 0;
        padding: 0;
        width: 170px;
        position: absolute;
        left: 0px;
        background: #fff;
        z-index: 99;
        transform: translate(0, 20px);
        transition: all 0.2s ease-out;
    }

        .menu ul:after {
            bottom: 100%;
            left: 20%;
            border: solid transparent;
            content: " ";
            height: 0;
            width: 0;
            position: absolute;
            pointer-events: none;
            border-color: rgba(255, 255, 255, 0);
            border-bottom-color: #fff;
            border-width: 6px;
            margin-left: -6px;
        }

        .menu ul li {
            display: block;
            float: none;
            background: none;
            margin: 0;
            padding: 0;
        }

            .menu ul li a {
                font-size: 12px;
                font-weight: normal;
                display: block;
                color: #3D5577;
                background: #fff;
            }

                .menu ul li a:hover,
                .menu ul li:hover > a {
                    background: #3D5577;
                    color: #fff;
                }

    .menu li:hover > ul {
        visibility: visible;
        opacity: 1;
        transform: translate(0, 0);
    }

    .menu ul ul {
        left: 169px;
        top: 0px;
        visibility: hidden;
        opacity: 0;
        transform: translate(20px, 20px);
        transition: all 0.2s ease-out;
    }

        .menu ul ul:after {
            left: -6px;
            top: 10%;
            border: solid transparent;
            content: " ";
            height: 0;
            width: 0;
            position: absolute;
            pointer-events: none;
            border-color: rgba(255, 255, 255, 0);
            border-right-color: #fff;
            border-width: 6px;
            margin-top: -6px;
        }

    .menu li > ul ul:hover {
        visibility: visible;
        opacity: 1;
        transform: translate(0, 0);
    }

.responsive-menu {
    display: none;
    width: 100%;
    padding: 0px 15px;
    background: #3D5577;
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    margin-top:10px;
}

    .responsive-menu:hover {
        background: #3D5577;
        color: #fff;
        text-decoration: none;
    }

a.homer {
    background: #3D5577;
}

@media (min-width: 768px) and (max-width: 979px) {

    .mainWrap {
        width: 768px;
    }

    .menu ul {
        top: 37px;
    }

    .menu li a {
        font-size: 12px;
    }

    a.homer {
        background: #3D5577;
    }
}

@media (max-width: 767px) {

    .mainWrap {
        width: auto;
        padding: 10px 15px;
    }

    .menu {
        display: none;
    }

    .responsive-menu {
        display: block;
    }

    nav {
        margin-bottom: 0px;
        background: none;
    }

    .menu li {
        display: block;
        margin: 0;
    }

        .menu li a {
            background: #fff;
            color: #3D5577;
        }

            .menu li a:hover,
            .menu li:hover > a {
                background: #3D5577;
                color: #fff;
            }

    .menu ul {
        visibility: hidden;
        opacity: 0;
        top: 0;
        left: 0;
        width: 100%;
        transform: initial;
    }

    .menu li:hover > ul {
        visibility: visible;
        opacity: 1;
        position: relative;
        transform: initial;
    }

    .menu ul ul {
        left: 0;
        transform: initial;
    }

    .menu li > ul ul:hover {
        transform: initial;
    }
}