* {
    font-family: Bahnschrift, Arial, Helvetica, sans-serif;
    padding: 0;
    margin: 0 auto;
}

html {
    height: 100%;
}

main section ul {
    padding-bottom: 10px;
}

main h1 {
    margin-bottom: 10px;
}

#registration {
    font-size: 12.5px;
}

#registration tr:nth-child(even) {
    background-color: #dddddd;
}

#registration th span {
    float: center;
    white-space: pre;
}

#registration td, th {
    border: 1px solid #dddddd;
    text-align: center;
    padding: 10px;
}


@media screen and (min-width: 960px) {
    body {
        position: relative;
        margin: 0;
        padding-bottom: 3rem;
        min-height: 100%;
    }
    
    header {
        color: midnightblue;
        width: 100%;
        height: 225px;
        background-position: center; 
        background-image: url(../Icons/ICT-DM-24-Head.jpg);
        background-repeat:no-repeat;
    }
    
    header section {
        width: 960px;
    }
    
    header h1 {
        float: left;
        display: block;
        padding: 0px 20px;
        line-height: 150px;
    }
    
    header b {
        float: right;
        display: block;
        padding: 120px 20px 0px 0px;
    }
    
	.blink {
		color: red;
		animation: blink 1s infinite;
	}
	@keyframes blink { 
		0% { opacity:0; }
		50% { opacity:1; } 
		100% { opacity:0; }
	}
	
    #burger_menu_button {
        display: none;
    }

    nav {
        width: 100%;
        height: 75px;
        text-align: center;
        background-color: #247ba0;
        margin-bottom: 25px;
    }
    
    nav ul {
        width: 960px;
        display: inline-block;
        list-style: none;
        position: relative;
    }
    
    nav ul li {
        display: inline-block;
        line-height: 75px;
        padding: 0px 10px;
    }
    
    nav ul li a {
        text-decoration: none;
        display: block;
        color: white;
        font-weight: bold;
    }
    
    nav ul li:hover {
        background-color: #1b98e0;
    }
    
    nav ul li input {
        display: none;
    }

    nav ul li label {
        color: white;
        font-weight: bold;
    }

    nav ul li ul {
        display: none;
        position: absolute;
        width: 300px;
        text-align: left;
        background-color: #247ba0;
        margin-left: -10px;
    }
    
    nav ul li:hover ul {
        display: block;
    }
    
    nav ul li ul li {
        float: left;
        display: block;
        width: 280px;
        line-height: normal;
        padding: 10px;
    }
    
    main {
        width: 960px;
        overflow: auto;
    }
    
    main section {
        width: 66%;
        float: left;
    }
    
    main section p {
        text-align: justify;
        margin-bottom: 10px;
    }
    
    main section ul {
        padding-left: 15px;
        list-style: square;
    }
    
    main aside {
        width: 30%;
        float: left;
        padding-left: 20px;
    }
    
    #dates {
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
        border: 5px solid #13293d;
        text-align: center;
    }
    
    #dates h4 {
        font-size: 28px;
        padding: 10px 0px;
        background-color: #13293d;
        color: white;
    }
    
    #dates ul {
        list-style: none;
    }
    
    #dates ul li {
        color: white;
        padding: 15px 0px;
    }
    
    #dates ul li span {
        font-size: 15px;
    }
    
    #dates ul li b {
        display: block;
    }
    
    #dates ul li:nth-child(odd) {
        background-color: #247ba0;
    }
    
    #dates ul li:nth-child(even) {
        background-color: #13293d;
    }
    
    #sponsors {
        list-style: none;
    }
    
    #sponsors li {
        padding: 10px 0px;
        text-align: center;
        width: 100%;
        display: inline-block;
    }
    
    #sponsors img {
        width: 50%;
        height: 50%;
    }
    
    footer {
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        float: left;
        width: 100%;
        height: 45px;
        text-align: center;
        line-height: 45px;
        background-color: #247ba0;
        color: white;
    }
}

@media screen and (max-width: 960px) {
    @viewport {
        zoom: 1.0;
        width: extend-to-zoom;
    }
	
	.blink {
		color: red;
		animation: blink 1s infinite;
	}
	@keyframes blink { 
		0% { opacity:0; }
		50% { opacity:1; } 
		100% { opacity:0; }
	}

    body {
        position: relative;
        margin: 0;
        padding-bottom: 6rem;
        min-height: 100%;
    }
    
    header {
        color: white;
        width: 100%;
        height: 150px;
        background-position: center; 
        background-image: url(../assets/carousel/Cosenza4.svg);
        background-repeat:no-repeat;
    }
    
    header section {
        width: 100%;
        height: 100%;
    }
    
    header h1 {
        float: left;
        display: block;
        padding: 40px 0px 0px 20px;
    }
    
    header b {
        float: left;
        padding: 20px 0px 0px 20px;
    }

    #burger_menu_wrapper {
        width: 100%;
        display: inline-block;
        overflow: auto;
        padding: 15px 0px 10px 0px;
    }

    #burger_menu_button {
        display: none;
    }

    #burger_menu_wrapper > label {
        width: 100%;
        display: block;
    }

    #burger_menu_wrapper span {
        display: block;
        width: 35px;
        height: 5px;
        margin-bottom: 5px;
        position: relative;
        background: white;
        border-radius: 3px;
    }

    #burger_menu_button:checked ~ ul {
        display: block;
    }

    nav {
        width: 100%;
        text-align: center;
        background-color: #247ba0;
        margin-bottom: 15px;
    }
    
    nav ul {
        width: 100%;
        display: none;
        list-style: none;
        position: relative;
    }
    
    nav ul li {
        width: 100%;
        display: inline-block;
        line-height: 50px;
    }
    
    nav ul li a {
        text-decoration: none;
        display: block;
        color: white;
        font-weight: bold;
    }
    
    nav ul li label {
        position: absolute;
        margin-left: auto;
        margin-right: auto;
        left: 0;
        right: 0;
        color: white;
        font-weight: bold;
    }

    nav ul li:hover {
        background-color: #1b98e0;
    }
    
    nav ul li ul {
        display: none;
        position: absolute;
        width: 100%;
        text-align: center;
        background-color: #247ba0;
    }
    
    nav ul li input {
        opacity: 0;
    }

    nav ul li input:checked ~ ul {
        display: block;
    }
    
    nav ul li ul li {
        float: left;
        display: block;
        width: 100%;
        line-height: normal;
        padding: 15px 0px;
    }
    
    main {
        width: 95%;
        margin: 0px 10px;
        overflow: auto;
    }
    
    main section {
        width: 100%;
        float: left;
    }
    
    main section p {
        text-align: justify;
        margin-bottom: 10px;
    }
    
    main section ul {
        margin-left: 25px;
        list-style: square;
    }
    
    main aside {
        width: 100%;
        float: left;
    }
    
    #dates {
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
        border: 5px solid #13293d;
        text-align: center;
    }
    
    #dates h4 {
        font-size: 28px;
        padding: 10px 0px;
        background-color: #13293d;
        color: white;
    }
    
    #dates ul {
        list-style: none;
    }
    
    #dates ul li {
        color: white;
        padding: 15px 0px;
    }
    
    #dates ul li span {
        font-size: 15px;
    }
    
    #dates ul li b {
        display: block;
    }
    
    #dates ul li:nth-child(odd) {
        background-color: #247ba0;
    }
    
    #dates ul li:nth-child(even) {
        background-color: #13293d;
    }
    
    #sponsors {
        list-style: none;
    }
    
    #sponsors li {
        padding: 10px 0px;
        text-align: center;
        width: 100%;
        display: inline-block;
    }
    
    #sponsors img {
        width: 50%;
        height: 50%;
    }
    
    footer {
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        float: left;
        width: 100%;
        height: 45px;
        text-align: center;
        line-height: 45px;
        background-color: #247ba0;
        color: white;
    }
}