* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.tab_wrap {
  border:1px solid #999;
  width: 100%;
}
.tabs {
    width: 100%;
    margin: auto;
    overflow: hidden;   
    background: #000;
    font-size: 18px;
}
.tabrs {
    background: #ed7700;
    font-size: 18px;
    margin: auto;
    overflow: hidden;   
    width: 100%;
}
.tabrs ul {
    list-style: none;
    overflow: hidden;
    padding: 0;
    margin: 0;      
}
.tabrs li a {
    /*width:50%;*/
    color: #FFF;
    display: block;
    /*float: left;*/
    font-weight:bold;   
    padding: 10px;
    text-align: center;
    text-decoration: none;
    border:none;
    border-left:1px solid #d9d9d9;
    border-bottom:1px solid #d9d9d9;    
}
.tabrs li a:hover {
    color: #FFF; 
    background:#ed7700;
}
.tabrs li:first-child a {
    border-left:none;
}
.tabrs li a.active {
    background:#ed7700;
    border:none;
    border-left:1px solid #d9d9d9;
    border-bottom:1px solid #FFFFFF;    
}
.tabrs li:first-child a.active {
    border:none;
    border-bottom:1px solid #FFFFFF;    
}
.tabrs li:last-child a.active {
    border:none;
    border-left:1px solid #d9d9d9;  
    border-bottom:1px solid #FFFFFF;    
}
.tabs ul {
    list-style: none;
    overflow: hidden;
    padding: 0;
    margin: 0;      
}
.tabs li a {
    width:50%;  
    color: #FFF;
    display: block;
    float: left;
    font-weight:bold;   
    padding: 10px;
    text-align: center;
    text-decoration: none;
    border:none;
    border-left:1px solid #d9d9d9;
    border-bottom:1px solid #d9d9d9;    
}
.tabs li a:hover {
    color: #FFF; 
    background:#ed7700;
}
.tabs li:first-child a { border-left: none; }
.tabs li a.active {
    background:#ed7700;
    border:none;
    border-left:1px solid #d9d9d9;
    border-bottom:1px solid #FFFFFF;    
}
.tabs li:first-child a.active {
    border:none;
    border-bottom:1px solid #FFFFFF;    
}
.tabs li:last-child a.active {
    border:none;
    border-left:1px solid #d9d9d9;  
    border-bottom:1px solid #FFFFFF;    
}
.tab_content {
    background:#FFF;
    padding:0;
    display:none;   
}
.tab_content.active{ display:block; }
.tab_content ul {
    margin:0px;
    padding:0px;
    list-style:none;    
}
.tab_content li {
    display:block;
    /*overflow: hidden;
    border-bottom:1px solid #d6dde0;*/
}
.tab_content li:last-child { border-bottom:none; }
.tab_content li a {
    display:block;
    list-style:none;
    overflow: hidden;   
    padding:10px;           
    text-decoration:none;
}
.tab_content li a:hover {
    color:#000000;
    background:#F5F5F5; 
}
#contact-form .t {
    width: 250px; 
    padding: 5px 8px;
}
#contact-form #pre, .f { padding: 5px 8px; }
#contact-form input[type=text], #contact-form textarea { 
    border:1px solid #aaa;
    box-shadow: 0px 0px 3px #ccc, 0 10px 15px #eee inset;
    border-radius:2px;
}
#contact-form {
    text-shadow:0 1px 0 #FFF;
    background:#ddd;
    padding:25px;
    padding-left: 30px;
}
#contact-form span {
    color:#ed7700;
    display:inline-block;
    font-size: 16px;
    font-weight: 900;
    margin-top: 5px;
    margin-bottom: 14px;
}
#contact-form .venc { margin-top: 16px; }
#contact-form article {
    color:#ed7700;
    display:inline-block;
    float:left;
    font-size: 16px;
    font-weight: 900;
    margin-top: 5px;
    width: 150px;
}
#contact-form aside {
    color:#ed7700;
    margin-top: 5px;
    display:inline-block;
    font-size: 16px;
    font-weight: 900;
}
#contact-form nav {
    color:#ed7700;
    font-size: 16px;
    font-weight: 900;
}
input[type=checkbox] {
    height: 15px;
    margin-top: 5px;
    width: 15px;
}
#contact-form textarea {
    background: #FFF;
    height: 70px;
    margin-top: 5px;
    padding: 5px 8px;
    resize: vertical;
    width: 270px;
}

#contact-form button[type="submit"] {
    cursor: pointer;
    width: 100%;
    border:none;
    background: #ed7700;
    color: #FFF;
    font-size: 18px;
    padding: 10px;
}

#gen {
    float: right;
    width: 20%;
    margin-top: 10px;
}

#gen button[type=submit] {
    background: #ed7700;
    border:none;
    color: #FFF;
    cursor: pointer;
    font-size: 18px;
    margin-top: 5px;
    padding: 10px;
    width: 100%;
}
#gen select {
    font-size: 14px;
    margin-top: 5px;
}
#gen bdi {
    color: #000;
    font-size: 16px;
    margin: 0;
    padding: 0;
    width: 45px;
}
#general {
    float: left;
    width: 80%;
    margin-top: 10px;
}
#general table {
    width: 100%;
}
#general td { 
  padding: 6px; 
  text-align: left; 
}
#info {
    color:#ed7700;
    font-size: 16px;
    font-weight: 900;
}
#infog {
    color:#000;
    font-size: 16px;
    font-weight: 900;
}

@media only screen and (max-width: 360px), (min-device-width: 768px) and (max-device-width: 1024px)  {
    /* Force table to not be like tables anymore */
    table, thead, tbody, th, td, tr { 
            display: block; 
        }
    #contact-form .t, #contact-form textarea {
        width: 150px; 
        /*padding: 5px 8px;*/
    }
    thead tr { 
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    td { 
        border: none;
        position: relative;
        padding-left: 50%; 
    }
    #gen {
        float: right;
        width: 40%;
        margin-top: 10px;
    }
    #gen button[type=submit] { font-size: 14px; }
    #gen bdi {
        font-size: 12px;
    }
    #gen select {
        font-size: 10px;
        margin-top: 5px;
        width: 50%;
    }
    #general {
        float: left;
        width: 60%;
        margin-top: 10px;
    }
    #info {
        color:#ed7700;
        font-size: 12px;
        font-weight: 900;
    }
    #infog {
        color:#000;
        font-size: 12px;
        font-weight: 900;
    } 
    td:before { 
        position: absolute;
        top: 6px;
        left: 6px;
        width: 45%; 
        padding-right: 10px; 
        white-space: nowrap;
    }
}