/* TVpromoBox CSS -------------------------------------------------- */

html, body {
    height: 100%;
    margin: 0; 
    font-size: 12px;
}

body, button, input, select, textarea { 
    font-family: Verdana, Helvetica, Arial, sans-serif;
    color: #313131; 
}

a {
    color: #486577;
    text-decoration: none;    
}

.body_wrapper {
    border: 0;
    position: absolute;
    top: 0px; left: 0px; right: 0px; bottom: 0px;
    background: #AAAAAA;
    overflow: hidden;
}

.center_div {
    position: fixed;
    left: 50%; 
    top: 120px;
    width: 900px; height: 430px;
    margin-left: -450px;
    border: 1px solid white;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #AAAAAA;
    box-shadow: 5px 5px 5px #000000;
}

.content_menu {
    position: fixed;
    left: 0px;
    right: 0px;
    top: 95px;
    height: 46px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #AAAAAA;
}

.header_wrapper {
    padding: 3px 5px 3px 20px;
    position: absolute;
    height: 34px;
    top: 0px; left: 0px; right: 0px;
}

.img_background {
    top: 0px; left: 0px; right: 0px; bottom: 0px;
    overflow: hidden;
}

.footer {
    position: absolute; left: 0px; right: 0px; bottom: 0px;
    height: 25px;
    color: #FFFFFF;
    background: rgba(0, 0, 0, 0.5);
    text-align: center;
    padding-top: 10px;
}

.footer a {
    color: #FFFFFF;
}

.warning {
    padding-top: 10px;
    color: #FF0000;
    text-align: center;
    font-weight:bold;
}

.small_text {
    font-size: 10px;
}

.big_text {
    font-size: 18px;
}

.header_label {
    color: #486577;
}

.error_text {
    color: #FF0000;
}

.input_text {
    width: 250px;
    border: 1px solid #dadada;
    border-radius: 4px;
    font-size: 18px;
    padding: 5px;
}

.input_text:focus {
    outline:none;
    border-color:#9ecaed;
    box-shadow:0 0 10px #9ecaed;
}

.input_text_hour {
    width: 75px;
    border: 1px solid #dadada;
    border-radius: 4px;
    font-size: 18px;
    padding: 5px;
}

.input_text_hour:focus {
    outline:none;
    border-color:#9ecaed;
    box-shadow:0 0 10px #9ecaed;
}

.input_text_nowidth {
    border: 1px solid #dadada;
    border-radius: 4px;
    font-size: 18px;
    padding: 5px;
}

.input_text_nowidth:focus {
    outline:none;
    border-color:#9ecaed;
    box-shadow:0 0 10px #9ecaed;
}

.submit_button {
    background: #486577;
    height: 50px;
    width: 120px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    color: #FFFFFF;
    cursor: pointer;
}

.submit_button:hover{
    background: #87b5ce;
}

.submit_button_small {
    background: #486577;
    height: 34px;
    border: none;
    border-radius: 0px;
    font-size: 12px;
    color: #FFFFFF;
    cursor: pointer;
    padding-left: 15px;
    padding-right: 15px;
}

.submit_button_small:hover{
    background: #87b5ce;
}

.submit_button_small_warn {
    background: #DD0000;
    height: 34px;
    border: none;
    border-radius: 0px;
    font-size: 12px;
    color: #FFFFFF;
    cursor: pointer;
}

.submit_button_small_warn:hover{
    background: #EE8383;
}

.content_wrapper {
    margin: 10px 10px 0px 10px;
    border: 1px solid #AAAAAA;
    text-align: center;
}

/* What and Why */
.what_and_why {
    position:fixed;
    top: 120px; bottom: 80px; left: 20px;
    width: 240px;
    background: rgba(200, 100, 0, 0.7);
    border: 1px solid white;
    padding: 20px;
    text-align: center; color: #FFFFFF;
    font-size: 15px; font-style: italic;
    font-family: Tahoma, Geneva, sans-serif;
}

/* Menu */
.menu_wrapper {
    position: absolute;
    left: 0px; right: 0px; top: 40px;
    height: 50px;
    background: rgba(0, 0, 0, 0.7);
    font-size: 13px;
    font-family: Tahoma, Geneva, sans-serif;
}

.menu_wrapper ul.menu {
    margin-left: -30px;
}

.menu_wrapper ul.menu li {
    list-style: none;
    float: left;
    height: 30px;
    text-shadow: 1px 1px #000000;
}

.menu_wrapper ul.menu li a {
    display: block;
    padding: 0 15px;
    border-right: 1px solid rgba(255,255,255,0.2);
    line-height: 30px;
    color: #FFFFFF;
}

.menu_wrapper ul.menu-right li {
    list-style: none;
    float: right;
    height: 30px;
    text-align: center;
    text-decoration: none;
}

.menu_wrapper ul.menu-right li a {
    display: block;
    padding: 0 15px;
    border-left: 1px solid rgba(255,255,255,0.2);
    line-height: 30px;
    color: #FFFFFF;
}

.menu_wrapper ul.menu-center li {
    list-style: none;
    position: absolute;
    left: 50%;
    margin-top: -12px;
    margin-left: -125px;
}

.menu_wrapper ul li a:hover {
    color: #888888;
}
 
.menu_wrapper ul li.active a {
    color: #888888;
}

/* PopUp Menu */
#nav_popup, #nav_popup ul { 
    list-style: none;
    margin: 0;
    padding: 0;
}

#nav_popup a {
    display: block; 
    text-decoration: none; 
    color: #486577;
    border: 0; 
    text-align: left;
}

#nav_popup li ul li a {
    padding: 8px 0px 0px 20px;
    height: 25px;
}

#nav_popup li ul li a:hover {
    color: #FFFFFF; 
    background: #AAAAAA;
}

#nav_popup li {
     float: left; 
     width: 30px;
}

#nav_popup li ul li {
     float: left; 
     width: 200px;
}

#nav_popup li a {
    padding: 0;
}

#nav_popup li ul {
    position: absolute; 
    width: 200px; 
    left: -9999px; 
    border: 1px solid #AAAAAA; 
    padding: 10px 10px;
}

#nav_popup li:hover ul {
    left: auto;
}

#nav_popup {
    margin: 0px 0px 0px 10px;
}

/* Datagrid Table */
.datagrid table {
    border-collapse: collapse;
    text-align: left;
    width: 100%;
}

.datagrid {
    font: normal 12px/150% Arial, Helvetica, sans-serif;
    background: #fff;
    overflow: hidden;
    border: 1px solid #8C8C8C;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.datagrid table td, .datagrid table th {
    padding: 4px 10px;
}

.datagrid table thead th {
    background-color:#8C8C8C;
    color:#FFFFFF;
    font-size: 15px;
    font-weight: normal;
    border-left: 1px solid #A3A3A3;
}

.datagrid table tbody td {
    color: #444444;
    border-left: 1px solid #DBDBDB;
    font-size: 12px;
    font-weight: normal;
}

.datagrid tr:hover {
    background-color: #A3A3A3;
}

.datagrid table thead th:first-child   { border: none;        }
.datagrid table tbody td:first-child   { border-left: none;   }
.datagrid table tbody tr:last-child td { border-bottom: none; }

/* For Inactive Elements */
.datagrid table tbody td.inactive      { color: #AAAAAA;      }

/* Preview Channel */
#preview_channel_wrapper {
    visibility: hidden;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    text-align: center;
}

#preview_channel_close {
    position: relative;
    padding: 5px;
    float: right;
    width: 30px;
    height: 30px;
    top: 10px;
    right: 10px;
    background: #000000;
    color: #FFFFFF;
    font-size: 40px;
    font-weight:bold;
    text-align: center;
}

#preview_channel {
    position: absolute;
    left: 50%;
    top: 120px;
    width: 800px; height: 450px;
    margin-left: -400px;
    border: 1px solid white;
    background: #000000;
    border: 4px solid #AAAAAA;
}

