body {
    margin:0;
    font-family: sans-serif;
    background: whitesmoke;
}

/*IMPORTANT FOR RESPONSIVE - GENERIC RESPONSIVE STYLES*/
* {
    box-sizing: border-box;
}
img {
    max-width: 100%;
}
.mobile {
    display: none;
}

/*CKEDITOR FONT SIZE*/
.text-tiny {
    font-size: 0.7em;
}

.text-small {
    font-size: 0.85em;
}

.text-big {
    font-size: 1.4em;
}

.text-huge {
    font-size: 1.8em;
}

/*EXHIBITIONS*/
.exhibitions {
    box-sizing: border-box;
    display: block;
    width: 100%;
}
.exhibitions div {
    background: white;
    border: 1px solid #d1d1d1;
    width: 227px;
    padding: 1%;
    margin-right: 14px;
    display: inline-block;
    margin-bottom: 20px;
    box-sizing: border-box;
}
.exhibitions small {
    color: #959595;
    font-weight: 400;
}
.exhibitions p {
    color: #959595;
    font-size: 11pt;
}
.exhibitions h3 {
    color:#666666;
}
.exhibitions img {
    width: 90%;
    left: 50%;
    position: relative;
    transform: translateX(-50%);
    vertical-align: middle;
}

/*STYLE EXHIBITION IMAGES WITH LINK*/
.exhibitions div a:hover img {
    opacity: 0.85;
}
.menulink {
    position:relative;
    top: -22px;
    margin-right: 7px;
    padding: 7px;
    border: 1px solid green;
    background: white;
}

/*MAIN PAGE AREA*/
#maintable {
    width: 100%;
    padding-top: 19px;
    height: 66px;
    text-align: center;
}
h2 {
    font-weight: 400;
}
h3 {
    font-weight: 400;
}
main {
    position: relative;
    left:50%;
    transform: translateX(-50%);
    width: 980px;
    margin-top: -16px;
}
#header_background {
    position: absolute;
    width: 100%;
    top: 0;
    height: 132px;
    border-bottom: 3px solid dimgray;
    background: white;
    z-index: -1;
}
#maintable td:first-child {
    width: 85%;
    padding-left: 30px;
}
#maintable td:not(:first-child) {
    text-align: right;
    white-space: nowrap;
    padding:4px;
}
#maintable td:last-child {
    padding-right: 40px;
}
#maintable td * {
    color:#444444;
    text-decoration: none;
    font-size:15pt;
}
#maintable a:hover {
    color: #4f7d30;
    text-decoration: underline;
}

/*MENU OPEN AND CLOSE*/
#menud, #menux {
    position: fixed;
    top: 16px;
    right: 0;
    z-index: 400;
    width: 56px;
    height: 55px;
    border-radius: 5px;
}
#menud > img, #menux > img {
    position: relative;
    filter: invert(100%);
}
#menux {
    display: none;
}

/* Navigation mobile MENU */
#nav {
    padding-top: 49px;
    box-sizing: border-box;
    height: 100%;
    background: white;
    border-radius: 0;
    width: 70%;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 100;
    border-left: 2px solid #d1d1d1;
    transform: translateX(108%);
    transition: transform 330ms ease;
    padding-left: 0;
    box-shadow: none;
    margin-top: 0;
    margin-bottom: 0;
    overflow-y: auto;
}
#nav li {
    font-family: sans-serif;
    font-size: 16pt;
    float: none;
    padding: 8px;
    list-style: none;
    border-bottom: 1px solid #d1d1d1;
    text-align: left;
    white-space: nowrap;
}
#nav li a {
    display: inline-block;
    padding: 2px 15px;
    color: #959595;
    text-decoration: none;
}

/*FIRST MENU LI*/
#nav li:first-child a {
    border-top: none;
    margin-top: 19px;
}

/*LAST MENU LI*/
#nav li:last-child a {
    border-bottom: none;
}

/*AREA OF LOGO, HERE IS THE MOBILE SOCIAL ICONS*/
#logo a {
    text-decoration: none;
}
#logo {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 200;
    text-align: left;
    height: 64px;
    border: 0;
    padding-top:4px;
    box-sizing:border-box;
    background: white;
    border-bottom: 1px solid #f4a977;
}

/*MOBILE LOGO STYLES*/
#logo > a:nth-child(1) > img {
    margin-left:12px;
}
#logo > a > img {
    width: 282px;
    margin-top: 11px;
}

/*DESKTOP LOGO STYLES*/
a.desktoplogo > img {
    width: 700px;
    position: relative;
    top: -25px;
}

#mainimage {
    width: 100%;
    cursor: zoom-in;
}
#mainphoto {
    width: 100%;
    cursor: zoom-in;
}

/*KEEPS MAIN PAGE UNDER THE LOGO */
#heightfromtop {
    height: 64px;
}
#footer {
    background: dimgray;
    color:white;
    text-decoration: none;
    clear: both;
}
#footer a {
    color:white;
    text-decoration: none;
}
#copy {
    background: gainsboro;
    color:black;
}

/*CSS FOR MOBILE VERSION ONLY*/
@media handheld, only screen and (max-width: 980px) {

    /*GENERIC STYLES*/
    body {
        background-size: auto, 100%;
        background-position-x: center;
        background-position-y: 60px;
    }

    /*MAIN PAGE AREA*/
    main {
        position: relative;
        left:0;
        transform: none;
        width: auto;
        margin-left: 7px;
        margin-right: 7px;
        margin-top:0;
    }
    #mainergotable td {
        display: block;
        width: 100% !important;
    }
    section {
        font-size:15pt;
    }
    article {
        font-size: 15pt;
    }

    /*EXHIBITIONS*/
    .exhibitions {
        display: block;
        width: 100%;
        border-collapse: initial;
        border-spacing: 0;
    }
    .exhibitions div {
        display: inline-block;
        width: 49%;
        padding: 3%;
        border: 0;
        box-sizing: border-box;
        margin: 0;
    }
    .exhibitions img {
        width: 100%;
    }
    .exhibitions h2 {
        display: none;
    }
    .exhibitions p {
        display: none;
    }

    /*MAKE VISIBLE THE MOBILE ONLY HTML*/
    .mobile {
        display: block;
    }

    /*MAKE INVISIBLE THE DESKTOP ONLY HTML*/
    .desktop {
        display: none;
    }
}

/*MOBILE SEARCH STYLES*/
#nav .gsc-search-button button {
    background: transparent;
    border: 0;
    padding: 11px;
    width: auto;
}
#nav .gsc-search-button svg {
    filter: invert(100%);
    opacity: 0.5;
    transform: scale(2);
}
#nav div.gsc-input-box {
    border:0 !important;
}
#nav input.gsc-input {
    padding:2px !important;
}
#nav input.gsc-input:focus {
    border-bottom:1px solid #DDD !important;
}
#nav form.gsc-search-box {
    margin:0;
}
#nav .gsib_b {
    display: none;
}

/*DESKTOP SEARCH STYLES*/
#maintable .gsc-search-button button {
    background: transparent;
    border: 0;
    padding: 11px;
    width: auto;
}
#maintable .gsc-search-button svg {
    filter: invert(100%);
    opacity: 0.5;
    transform: scale(2);
}
#maintable form.gsc-search-box {
    width: 190px !important;
    margin: 0;
}
#maintable td.gsc-input, .gsib_a {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
#maintable .gsib_b {
    display: none;
}
#maintable div.gsc-input-box {
    border:0 !important;
}
#maintable input.gsc-input {
    padding:2px !important;
    width: 180px !important;
}
#maintable input.gsc-input:focus {
    border-bottom:1px solid #DDD !important;
}

/*DESKTOP DROPDOWNMENU*/
#desktopmorebutton:hover #desktopmenu {
    display: block !important;
}

/*FORM INPUT CSS DESKTOP AND MOBILE*/
.mobileinput {
    box-sizing: border-box;
    border: 1px solid #d1d1d1;
    font-size:13pt;
    color:black;
    margin-bottom:7px;
    padding: 4px;
}
@media handheld, only screen and (max-width: 980px) {

    /*FORM IMPUT CSS MOBILE ONLY*/
    .mobileinput {
        width: 100%;
        font-size:15pt;
    }
}