﻿.bold {
    font-weight: bold;
}

.center {
    text-align: center;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.top {
    top: 0px;
}

.top5 {
    top: 5px;
}

.right {
    right: 0px;
}

.right10 {
    right: 10px;
}

.minwidth30 {
    min-width: 30%;
}

.minheight45 {
    min-height: 45px;
}

.SuccessNotification {
    background-color: Green;
    color: white;
    padding: 10px;
    margin-bottom: 10px;
    font-weight: bold;
    display: block;
    clear: both;
}

.ErrorNotification {
    background-color: #d90000;
    color: #fff;
    font-weight: bold;
    padding: 8px 0;
    text-align: center;
}

a.btn, input[type=submit].btn {
    border-radius: 3px 3px 3px 3px;
    border: solid 1px #FFF;
    background-color: #333;
    color: #FFF;
}

    a.btn:hover {
        background-color: #777;
    }

    a.btn:focus {
        color: #FFF;
    }
    a.btn.disabled {
        opacity: 0.5;
    }

input[type=submit].btn {
    border-color: #000;
}

img.icon25 {
    width: 25px;
    height: 25px;
}

.colContainer {
    overflow: hidden;
}

.twoCol {
    float: left;
    width: 46%;
}

    .colContainer .twoCol:nth-child(2n) {
        padding-left: 10px;
    }

.inputForm h3 {
    padding: 4px 6px;
    background-color: #222;
    color: #FFF;
}

.inputForm h3 select {
    margin-left: 10px;
    font-size: 0.7em;
}

.inputForm h4 {
    padding: 4px 6px;
    background-color: #88969E;
    color: #FFF;
}

.inputForm h5 {
    padding: 4px 6px;
    background-color: #EEE;
}

.inputForm h5 select {
    margin-left: 10px;
}

.inputForm .formRow,
.inputForm .formrow {
    margin-bottom: 10px;
}

    .inputForm .formRow label,
    .inputForm .formrow label {
        width: 35%;
    }

/* API COMPARISON TABLE */
.comparisonTable tbody tr td {
    padding: 4px 6px;
}

.comparisonTable tbody:nth-of-type(2n){
    background-color: #DDD;
}

/* OPTIMIZATION COMPARISON TABLE */
.testResultsTable tbody tr td,
.optimizeComparisonTable tbody tr td {
    padding: 4px 15px 4px 6px;
}

.testResultsTable tbody tr.alt td,
.optimizeComparisonTable tbody tr.alt td {
    background-color: #DDD;
}

.testResultsTable tbody tr.mismatch td,
.optimizeComparisonTable tbody tr.mismatch td {
    background-color: #FB9A9A;
}

.testResultsTable tbody tr.altmismatch td,
.optimizeComparisonTable tbody tr.altmismatch td {
    background-color: #FF6A6A;
}

.testResultsTable tbody tr.acceptedmismatch td
.optimizeComparisonTable tbody tr.acceptedmismatch td {
    background-color: #F7FF78;
}

.testResultsTable tbody tr.altacceptedmismatch td,
.optimizeComparisonTable tbody tr.altacceptedmismatch td {
    background-color: #F7FF78;
}

.testResultsTable {
    /*table-layout: fixed;*/
    width: 100%;
}
    /* RESULTS TABLE */
    .resultstable {
        border-collapse: collapse;
    }

    .resultstable td, .resultstable th {
        padding: 3px 8px 3px 5px;
    }
    .resultstable tbody tr.selected td {
        background-color: #5EF55E;
    }

    .resultstable.clickable tbody tr {
        cursor: pointer;
    }

        .resultstable.clickable tbody tr.selected td div.clickable div {
            background-color: #DDD;
        }

        .resultstable.clickable tbody tr.selected td div.clickable div:nth-child(2n+1) {
            background-color: #EEE;
        }

            .resultstable.clickable tbody tr.selected td div.clickable div.selected {
                background-color: #4CAF3A;
            }

            .resultstable.clickable tbody tr.selected td div.clickable div:nth-child(2n+1).selected {
                background-color: #83D483;
            }

/* FORMS */
.apiform label {
    display: inline-block;
    min-width: 200px;
}

.note {
    font-size: 0.8em;
}

.formnotesection {
    margin-bottom: 10px;
    padding: 5px 0px 5px 35px;
    border: solid 1px #000;
    background-image: url('/Assets/Icons/exclamationmark.png');
    background-repeat: no-repeat;
    background-position-x: 3px;
    background-position-y: center;
    background-color: #E8E84C;
}

/* FILTER */
.filtercontainer {
    padding: 10px;
    margin: 10px 0px;
    border: solid 1px #999;
    background-color: #EEE;
}

.filterprop {
    display: inline-block;
    margin-right: 15px;
}

/* MENU */
#menu {
    position: relative;
}

#menuloginsection {
    position: absolute;
    right: 1px;
    top: 10px;
    color: #999;
    width: 200px;
    height: 30px;
}

    #menuloginsection:hover #menuloginform,
    #menuloginsection:focus #menuloginform,
    #menuloginform:hover,
    #menuloginform:focus {
        display: block;
    }

    #menuloginsection #menucurrentuser {
        display: inline-block;
        margin-right: 10px;
        font-size: 1.2em;
    }
    #menuloginsection #menucurrentuser a {
        color: inherit;
    }

    #menuloginform {
        display: none;
        position: absolute;
        top: 25px;
        left: 1px;
        min-width: 315px;
        padding: 7px 5px;
        background-color: #FFF;
        border: solid 1px #333;
    }

    #menuloginform .title {
        padding: 3px 7px;
        margin-bottom: 8px;
        font-weight: bold;
        background-color: #333;
        color: #FFF;
    }

    #menuloginform .loginrow {
        margin-bottom: 3px;
    }

    #menuloginform label {
        min-width: 70px;
    }

/* REGISTER PAGE */
#registerLoginForm {
    padding: 5px 5px;
    text-align: center;
    background-color: #EEE;
}

    #registerLoginForm form {
        width: 40%;
        margin: 0px auto;
    }

    #registerLoginForm form label {
        min-width: 100px;
    }

/* CUSTOMER DASHBOARD */
.dashboardsection {
    margin-bottom: 15px;
    padding: 7px 8px;
    border: solid 1px #CCC;
    border-radius: 4px 4px 4px 4px;
}
    .dashboardsection h3 {
        margin-top: 0px;
    }
    .dashboardsection label {
        display: inline-block;
        min-width: 130px;
    }

/* POPULAR RATES */
#popularCountryRoutes #searchform {
    margin-bottom: 15px;
}

/* COMPARE ROUTES */
#compareroutes {
    margin-top: 15px;
}

#compareroutes .addresssection a {
    display: block;
    margin-bottom: 5px;
    padding: 7px 0px 7px 5px;
    background-color: #3A3535;
    color: #FFF;
}

    #compareroutes .addressoptions {
        max-height: 350px;
        overflow-y: scroll;
    }

    #compareroutes .addressoptions table.resultstable{
        width: 100%;
    }