@charset "UTF-8";

/* ===========================
   Global
=========================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #b5b5b5;
    line-height: 1.5;
    
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===========================
   Layout
=========================== */

#container {
    width: 100%;
}

#head,
#bannerbg,
#container_text {
    width: min(1100px, 100%);
    margin: 0 auto;
}

/* ===========================
   Header
=========================== */

#head {
    min-height: 150px;
    padding: 0 15px;
}

#logo {
    
    
	margin-left: 10px;
	height: 90px;
	margin-bottom: 3%;
	width: 960px;
	position: relative;
	
    
    
}




#logo .img {
    display: block;
       
    height: 90px;
    background-image: url("../images/evcs_logo.fw.png"); 
   
    background-repeat: no-repeat;
    background-position: left center;
     background-size:contain;
    
}
 



 

#bannerbg {
    height: 50px;
    margin: 10px auto;
    background: url("../images/link.png") repeat;
}

/* ===========================
   Main Content
=========================== */

#container_text {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-top: 20px;
    
    
    /*
    width: 100%;
    */
    padding: 0 15px;
}

#left {
    flex: 2;
}

#right {
    flex: 1;
}

#content {
     width: 100%;
    padding: 15px;
}
#container_vote,
#container_sms {
    background: #fff;
}

#title_vote {
    background: #488809;
    color: #fff;
    padding: 12px;
}

#title_sms {
    background: url("../images/smsbg.png") repeat;
    color: #fff;
    text-align: center;
    padding: 15px;
}

/* ===========================
   Tables
=========================== */

table {
    width: 100%;
    border-collapse: collapse;
    font-family: "Trebuchet MS", Arial, sans-serif;
}

table th,
table td {
    border: 1px solid #ddd;
    padding: 10px;
}

table th {
    background: #4caf50;
    color: #fff;
    text-align: left;
}

table tr:nth-child(even) {
    background: #f2f2f2;
}

table tr:hover {
    background: #ddd;
}

/* ===========================
   Footer
=========================== */

#footer {
    margin-top: 50px;
    padding: 20px;
    text-align: center;
}

#footer.footer {
    font-size: 13px;
    font-weight: bold;
    line-height: 2;
}

/* ===========================
   Navigation
=========================== */


#nav {
    width: 100%;
    font-family: Arial, Helvetica, sans-serif;
}

#nav ul {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    
 
    background: #0C5C0C;
   
}

#nav li {
    position: relative;
    flex: 1;
}

#nav a {
    display: block;
    padding: 16px;
    text-align: center;
    text-decoration: none;
    /*
    color: #0c5c0c;
*/
     color: #9ac29a;
    transition: .3s;
}

#nav a:hover,
#nav .activePage > a {
    
    background: #0c5c0c;
   
    
    color: #fff;
}

#nav ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
   
    background: #0c5c0c;
    
   /*
     background: #9ac29a;
      */
    
    flex-direction: column;
}

#nav ul ul a {
    color: #fff;
    text-align: left;
}

#nav li:hover > ul {
    display: flex;
}




/* Mobile */


 

/* ===========================
   Mobile (768px and below)
=========================== */

@media (max-width: 768px) {

    #head {
        min-height: auto;
        padding: 10px;
    }

    #logo {
        height: 70px;
    }

    #logo .img {
        height: 70px;
        background-image: url("../images/evcs_log_mobile.fw.png");
        
    }

    #bannerbg {
        height: 40px;
        margin-top: 5px;
    }

    #container_text {
        flex-direction: column;
        padding: 5px;
    }

    #left,
    #right,
    #container_vote,
    #container_sms {
        width: 100%;
    }

    #container_sms {
        margin-top: 20px;
    }

    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
/*
    #nav ul {
        flex-direction: column;
    }

    #nav li {
        width: 100%;
    }

    #nav ul ul {
        position: static;
    }

    #nav li:hover > ul {
        display: block;
    }
    */
    
    
   

   
    
}

/* ===========================
   Small Phones
=========================== */

@media (max-width: 480px) {

    body {
        font-size: 14px;
    }
    

    #title_vote,
    #title_sms {
        padding: 10px;
    }

    #nav a {
        padding: 14px;
    }

    table th,
    table td {
        padding: 8px;
    }
}