body, html {

    height: 100%;
    width: 100%;
    margin:0;
    padding:0;
    font-family: 'Lato', sans-serif;
    background-color: #D6E2EB;

}

* {

    margin: 0;
    padding: 0;
    box-sizing:border-box;

}

h1, h2, h3, h4, h5, h6 {

    text-align: center;

}

p {

    padding: 15px 20px 15px 20px;

}

a {

    text-decoration: none;
    color: black;

}

a:hover {

    text-decoration: underline;

}

#header {
    height: 100px;
    background-color: #A2BED2;
    background-image: url("../img/header-new-cf.png");
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

#mainmenu, #submenu {

    height: 50px;
    /* background-color: #808080; /* debug */
    background-color: #000000;
    background-image: linear-gradient(#333333, black);
    color: #FFFFFF;

}

#mainmenu ul, #submenu ul {

    list-style: none;
    font-size: 18px;
    height: 100%;
    display: flex;
    justify-content: left;
    align-items: stretch;

}

#mainmenu ul li, #submenu ul li{

    line-height: 50px;

}

#mainmenu ul li:last-child {

    margin-left: auto;
    width: fit-content;
    min-width: 10%;

}

#mainmenu ul li a, #submenu ul li a {

    padding: 0 15px 0 15px;
    color: #FFFFFF;
    display: block;
    width: fit-content;
    min-width: 100%;

}

#mainmenu ul li a:hover, #submenu ul li a:hover {

    background-color: #FFFFFF;
    color: #000000;
    text-decoration: none;

}

.dropdown {
    position: relative;
    padding: 0 15px 0 15px;
    width: fit-content;
    min-width: 100%;
}

.dropdown:hover {

    background-color: #fff;
    color: black;

}

.dropdown-content {
    display: none;
    position: absolute;
    width: fit-content;
    min-width: 100%;
    left: 0;
    z-index: 1;
    background-color: black;
    color: #fff;
    margin: 0;
}

.dropdown:hover .dropdown-content {
    display: block;
    width: fit-content;
    min-width: 100%;
}

.subMenuButton {

    display: block;
    padding: 5px;

}

.subMenuButton:hover {

    background-color: #fff;
    color: #A2BED2;

}

.subMenuButton a:hover{

    cursor: pointer;
    display: block;

}

#footer_old {

    background-color: black;
    color: #CCCCCC;
    background-image: url('../img/footerLogo.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;

}

#footer_old a {

    color: #FEFFB8;

}

#footer {
    background-color: black;
    color: white;
    text-align: center;
    padding: 20px;
}

#footer img {
    max-width: 600px;
    height: auto;
    width: 100%;
}

#footer a {

    color: #FEFFB8;

}



.clearing {
    clear: both;
}

.linkButton {

    display: block;
    color: #333333;
    background-color: whitesmoke;
    background-image: linear-gradient(whitesmoke, #D6E2EB);
    width: fit-content;
    margin: 0 auto;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 10px 10px 5px grey;

}

.linkButton:hover {

    background-color: #333333;
    background-image: linear-gradient(#333333, black);
    color: whitesmoke;
    text-decoration: none;
    cursor: default;

}

.eventFrame {

    width: 60%;
    margin: 25px auto 25px auto;
    background-color: white;
    border: 1px solid #717171;
    border-radius: 15px;
    box-shadow: 10px 10px 5px grey;

}

.eventFrame h1 {

    /* background-color: cyan; /* DEBUG ONLY */
    padding: 20px;
    color: #A2BED2;
    font-weight: bold;
    text-align: center;

}

.eventFrame h2 {

    /* background-color: green; /* DEBUG ONLY */
    color: #A2BED2;
    text-align: center;

}

.eventFrameBody {

    width: 100%;
    /* background-color: orangered;  /* DEBUG ONLY */
    padding-left: 50%;
    background-repeat: no-repeat;
    background-position: 5%;
    background-size: 45%;

}

.eventoIscrivi {

    background-color: #A2BED2;
    color: #FFFFFF;
    text-align: center;
    margin: 25px 0 25px 0;
    font-weight: bold;

}

.eventoIscrivi:hover {

    text-decoration: underline;

}

.eventTable {

    padding: 0;
    margin: 15px 0 15px 0;
    width: 100%;

}

.eventTable th {

    font-weight: bold;
    text-align: left;

}

.eventTable td {

    text-align: left;

}

.flexFrame {

    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;

}

.collapseDiv {

    height: auto;
    max-height: 100px;
    overflow: hidden;
    transition: height 2s linear;

}

.buttonArrow {

    height: 50px;
    width: 50px;
    background: #A2BED2;
    opacity: 50%;
    border-radius: 50px;
    font-size: 50px;
    line-height: 50px;
    border: #666666 1px solid;
    color: white;
    margin: 0 auto;
    text-align: center;
    margin-top: 15px;
    margin-bottom: 15px;

}

.buttonArrow:hover {

    opacity: 100%;

}

.stdForm {}

.stdForm input, .stdForm select {
    background-color: #eeeeee;
    border: 1px solid #ccc;
    border-top: 0;
    border-right: 0;
    height: 25px;
    padding-left: 5px;
    padding-right: 5px;
    border-radius: 5px;
}

.stdForm label {

    display: block;
    margin: 10px;

}

.eventJoinMgrFrame {

    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: -100%;
    transition: right 1s;

}

.eventJoinMgrFrameCLK {

    position: absolute;
    width: 100%;
    min-height: 100%;
    top: 0;
    right: 0;
    transition: right 1s;

}

.eventJoinMgrFrameBack {

    float: left;
    position: absolute;
    width: 50%;
    min-height: 100%;

}

.eventJoinMgrForm {

    float: right;
    width: 50%;
    background-color: antiquewhite;
    height: 100%;
    box-shadow: -10px 10px 5px grey;

}

.joinMgrFrame {

    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    right: -100%;
    transition: right 1s;

}

.joinMgrFrameL {

    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    right: -100%;
    transition: right 1s;

}

.joinMgrFrameR {

    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    right: -100%;
    transition: right 1s;

}

.coolForm {

    margin: 25px auto 25px auto;
    min-width: 50%;
    max-width: 90%;
    width: fit-content;
    background-color: white;
    border: 1px solid #717171;
    border-radius: 15px;
    box-shadow: 10px 10px 5px grey;

}

.coolForm label {

    display: block;
    margin: 10px;

}

.coolForm input, .coolForm select, .eventJoinMgrForm input, .eventJoinMgrForm select {
    background-color: #eeeeee;
    border: 1px solid #ccc;
    border-top: 0;
    border-right: 0;
    height: 25px;
    padding-left: 5px;
    padding-right: 5px;
    border-radius: 5px;
    max-width: 100%;
}

.coolForm textarea, .eventJoinMgrForm textarea {
    background-color: #eeeeee;
    border: 1px solid #ccc;
    border-top: 0;
    border-right: 0;
    padding-left: 5px;
    padding-right: 5px;
    border-radius: 5px;
    max-width: 100%;
}

.coolForm h3, .eventJoinMgrForm h3 {

    background-color: #A2BED2;
    font-size: xx-large;
    padding: 5px;
    color: white;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;

}

.coolFormSubmit {


    color: #333333;
    font-size: x-large;
    background-color: whitesmoke;
    background-image: linear-gradient(whitesmoke, #D6E2EB);
    width: fit-content;
    min-height: 40px;
    height: fit-content !important;
    padding: 5px 15px 5px 15px;
    border-radius: 15px; !important;
    box-shadow: 10px 10px 5px grey;

}

.coolFormSubmit:hover {

    background-color: #333333;
    background-image: linear-gradient(#333333, black);
    color: whitesmoke;
    text-decoration: none;
    cursor: default;



}

.catTablerowL {

    margin: 0;
    float: left;
    border: 1px solid #A2BED2;
    width: 25%;
    text-align: center;

}

.catTablerowS {

    float: left;
    border: 1px solid #A2BED2;
    width: 5%;
    text-align: center;

}

.errorMsg {

    background-color:  #FF584F;
    color: whitesmoke;

}

.errorMsg a {

    color: whitesmoke;
    font-weight: bold;

}

.confirmMsg {

    background-color:  #4CAF50;
    color: whitesmoke;

}

.confirmMsg a {

    color: whitesmoke;
    font-weight: bold;

}

.eventListTable {

    width: 100%;
    border-spacing: 0;
    border: solid 1px black;

}

.eventListTable th {

    background-color: black;
    text-transform: uppercase;
    color: #CCCCCC;
    font-weight: bold;
    padding: 5px 10px 5px 10px;


}

.eventListTable tr {

    background: #A2BED2;

}

.eventListTable tr:nth-of-type(odd) {

    background: whitesmoke;

}

.eventListTable tr p {

    padding: 5px 10px 5px 10px;

}

.halfScreen {

    float: left;
    width: 50%;
    border: 5px solid #D6E2EB;

}

.halfScreen h3 {
    text-align: center;
}

.halfScreen p {

    margin: 0;
    padding: 5px;
}

.halfScreen p:nth-child(even) {background: #D6E2EB}

.halfScreen p:nth-child(odd) {background: #A2BED2}

.searchResult {

    margin-bottom: 15px;

}

.searchResult li {

    padding: 15px;

}

.searchResult li:nth-child(odd) {

    background: #A2BED2;

}

.searchDetails {

    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    background-color: antiquewhite;
    border: 1px #717171 solid;
    transition: height 1s;


}

.searchDetails p {

    width: fit-content;
    display: inline-block;

}

.boTrap {

    display: none;

}

.emoteLink {

    text-decoration: none;
    font-size: x-large;
    border-radius: 15px;

}

.emoteLink:hover {

    text-decoration: none;
    font-weight: bold;

}

.blackHead {

    background-color: black;
    color: whitesmoke;
    padding: 15px;
    margin: 10px;

}

.blackHead a {

    color: whitesmoke;
    display: block;

}

.blackHead a:hover {

    text-decoration: none;

}

.coolDivLnk {

    width: 30%;
    min-height: 100px;
    background-color: #A2BED2;
    margin: 0;
    padding: 15px;
    border-radius: 15px;
    line-height: 35px;
    text-align: center;
    box-shadow: 10px 10px 5px grey;
}

.coolDivLnk a {

    display: block;
    height: 100%;
    width: 100%;

}

.coolDivLnk a {

   text-decoration: none;

}

.ev_riservato_div {

    background-repeat: no-repeat;
    background-size: 80px;
    background-position-y: center;
    background-position-x: 10px;
    padding-left: 100px;
    text-align: left !important;

}

.infoButton {

    border: solid 1px white;
    width: 25px;
    height: 25px;
    border-radius: 25px;
    background-color: #7da9c5;
    color: white;
    display: inline-block;
    font-style: italic;
    text-align: center;

}

.infoButton:hover {

    text-decoration: none;

}

.payInfo {

    border: solid 1px black;
    display: none;

}

.coolTable {

    padding: 0;
    margin: 0 auto;
    margin-bottom: 15px;
    margin-top: 15px;
    alignment: center;
    width: 95%;

}

.coolTable th {

    font-weight: bold;
    text-align: left;
    text-align: center;

}

.coolTable td {

    text-align: center;
    padding: 3px;
    background-color: #eeeeee;

}

.coolTable tr:hover {

    background-color: #666666;

}

.coolTable td a {

    display: block;

}

.coolTable td a:hover {

    text-decoration: none;

}

.noldoLoader {

    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #a2bed2; /* Gaslini Blue */
    border-radius: 50%;
    margin: 0 auto;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;

}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


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

    .eventFrame {

        width: 90%;

    }

    .stdForm label {

        display: inline-block;

    }

    #footer_old {

        background-image: none;

    }

    #footer_old::after {

        content: "\A0";
        margin: 0;
        height: 227px;
        display: block;
        background-color: black;
        width: 100%;
        background-image: url('../img/footerLogo.png');
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;

    }

}