body {
	font-family:verdana;
	background-color:#ffaa53;
	background-image:url('bg.png');
   	color:#fff;
	font-size: 14px;
}
fieldset {
	border:0px dashed #444;
	padding:10px;
	color:#333;
}
legend {
	font-family:verdana;
	font-size: 90%;
	letter-spacing: -1px;
	font-weight: bold;
	line-height: 1.1;
	color:#ccc;
	background: #111;
	border: 1px solid #333;
	padding: 2px 6px;
}


.form {
	margin:0;
	padding:0;
}

label {
    width:210px;    /*Or however much space you need for the forms labels*/
    float:left;  
}

label[for="vote_nomos"] {
    width: auto;
    float: none;
    margin-left: 10px;
}

a:link    {color:#111;}
a:visited {color:#111;}
a:active  {color:#666;} 

/* Responsive Styles */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

@media screen and (max-width: 768px) {
    label {
        float: none;
        width: 100%;
        display: block;
        margin-bottom: 5px;
    }

    input[type="text"],
    textarea,
    select {
        width: 100%;
        display: block;
        margin-bottom: 15px;
        padding: 8px;
        border: 1px solid #ccc;
        border-radius: 4px;
    }

    /* Unset fixed sizes for inputs if any inline styles interfere, though width:100% usually wins */

    input[type="checkbox"] {
        width: auto;
        display: inline-block;
        margin-right: 10px;
        margin-bottom: 15px;
        transform: scale(1.5); /* Make checkboxes easier to tap */
    }

    input[type="submit"] {
        width: 100%;
        padding: 12px;
        font-size: 16px;
        background-color: #333;
        color: #fff;
        border: none;
        border-radius: 4px;
        margin-top: 10px;
        cursor: pointer;
    }

    .box, fieldset {
        padding: 10px;
        min-width: 0;
        border: 0; /* Reset border for mobile or keep as inherited if needed, strictly avoiding visual changes */
    }

    /* Make the logo and header responsive */
    h1 img {
        display: block;
        margin: 0 auto;
        height: auto;
        max-width: 100px; /* Keep original size constraint but allow shrinking */
    }
    h1 {
        text-align: center;
        font-size: 1.5em; /* Reduce font size */
    }

    /* Adjust captcha image container */
    #validation .captcha-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 10px;
    }
    
    #siimage {
        margin-bottom: 5px;
        float: none !important; /* Override align="left" */
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    #validation a {
        display: block; /* Make the refresh link a block to sit under/near the image appropriately */
        margin-bottom: 15px; /* Add some space below the refresh button */
    }
    
    /* Hide the non-breaking spaces before 'Tou nomou' text by manipulating visibility or just let them collapse */
}

@media (min-width: 1200px) {
    .container {
        width: 1170px;
    }
}
@media (min-width: 992px) and (max-width:1199px)  {
    .container {
        width: 970px;
    }
}
@media (min-width: 768px) and (max-width:969px) {
    .container {
        width: 750px;
    }
}
.container {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}