
html {
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
    display: block;
}

audio,
canvas,
progress,
video {
    display: inline-block;
    vertical-align: baseline;
}

    audio:not([controls]) {
        display: none;
        height: 0;
    }

[hidden], template {
    display: none;
}

a {
    background-color: transparent;
}

    a:active, a:hover {
        outline: 0;
    }

abbr[title] {
    border-bottom: 1px dotted;
}

b, strong {
    font-weight: bold;
}

dfn {
    font-style: italic;
}

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

mark {
    background: #ff0;
    color: #000;
}

small {
    font-size: 80%;
}

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

img {
    border: 0;
}

svg:not(:root) {
    overflow: hidden;
}

figure {
    margin: 1em 40px;
}

hr {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    height: 0;
}

pre {
    overflow: auto;
}

code,
kbd,
pre,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
    color: inherit;
    font: inherit;
    margin: 0;
}

button {
    overflow: visible;
}

button, select {
    text-transform: none;
}

button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

    button[disabled],
    html input[disabled] {
        cursor: default;
    }

    button::-moz-focus-inner,
    input::-moz-focus-inner {
        border: 0;
        padding: 0;
    }

input {
    line-height: normal;
}

    input[type="checkbox"], input[type="radio"] {
        box-sizing: border-box;
        padding: 0;
    }

    input[type="number"]::-webkit-inner-spin-button,
    input[type="number"]::-webkit-outer-spin-button {
        height: auto;
    }

    input[type="search"] {
        -webkit-appearance: textfield; /* 1 */
        -moz-box-sizing: content-box;
        -webkit-box-sizing: content-box; /* 2 */
        box-sizing: content-box;
    }

        input[type="search"]::-webkit-search-cancel-button,
        input[type="search"]::-webkit-search-decoration {
            -webkit-appearance: none;
        }

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

legend {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
}

optgroup {
    font-weight: bold;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

td, th {
    padding: 0;
}

ul {
    margin: 0;
    padding: 0;
}

li {
    list-style-type: none;
}

a {
    text-decoration: none;
}

    a:hover, a:focus, a:visited {
        outline: none;
    }

img {
    display: block;
}

label {
    font-weight: normal;
}
/* typography */


.cf:before,
.cf:after {
    content: '';
    display: table;
}

.cf:after {
    clear: both;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

a, a:hover, a:focus, a:visited {
    text-decoration: none;
    outline: none;
}

/****************************************************************************/
/****************************************************************************/
/****************************************************************************/
/* styles are starting here */
body {
    background: #fff;
    font-family: 'Open Sans', sans-serif;
/*      font-family: 'Titillium Web', sans-serif; */
}

h1 {
    font-size: 26px;
}

h2 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

p {
    color: #fff;
    margin-bottom: 1em;
}

/**************************/
/* form elements */
label {
    line-height: 34px;
    margin-bottom: 0;
}

.form-group {
    position: relative;
}

    .form-group .caret {
        position: absolute;
        right: 10px;
        bottom: 13px;
    }

/**************************/
/* buttons */

.btn--white {
    background: #fff;
    border: 1px solid #CCC;
}

.btn--login {
    background: #5168b1;
    color: #fff;
    margin-left: 97px;
}

.btn--login a:hover {
     background: #d9534f;
     color: #fff;
}



/**************************/
/* header & footer */
.header__content,
.footer__content {
    line-height: 110px;
    padding: 0 20px;
}


header .logo {
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0px;
    line-height: 110px;
}

    header .logo img {
        vertical-align: middle;
        display: inline-block;
    }

header p,
footer p {
    margin: 0;
}

header p {
    font-size: 20px;
}

footer p {
    font-size: 20px;
}

footer a {
    margin-top: 30px;
}



/**************************/
/* navigation */
.navigation__container {
    padding: 0px 20px;
}

    .navigation__container li {
        display: inline-block;
        /*margin-left: 20px;*/
    }

        .navigation__container li:first-child {
            margin: 0;
        }

    .navigation__container a {
        padding: 5px 10px;
        -webkit-transition: all .1s ease;
        -o-transition: all .1s ease;
        transition: all .1s ease;
    }

        /* remove this to remove hover on navigation */
        .navigation__container a:hover {
            background: #d9534f;
            color: #fff;
        }
/* remove this to remove hover on navigation */


/**************************/
/* main */

.main__content {
    min-height: 500px;
    padding: 0 20px;
    border-top: 5px solid #ccc;
/*   border-top: 5px solid #4a7ebb;*/
    border-bottom: 5px solid #ccc;
}

.content {
    margin: 20px 50px;
}


/* login */

.login {
    border-radius: 15px;
    width: 300px;
    height: 180px;
    margin: 150px auto;
    padding: 20px;
    background: #eee;
    border: 1px solid #ccc;
}

    .login .form-group {
        margin-bottom: 5px;
    }


/* documents */
.documents {
}

.documents__content {
    padding: 0 55px;
}

    .documents__content a {
        position: relative;
        display: inline-block;
        padding: 10px 0;
        text-decoration: underline;
    }

        .documents__content a:before {
            content: url(../images/img-document.jpg);
            position: absolute;
            top: 0;
            left: -45px;
        }


/* index */
.index {
}

    .index h1 {
        border-bottom: 1px solid #868686;
        padding-bottom: 20px;
    }


/* search */
.search__content,
.search__result {
/*    background: #dbe6f2;*/
    background: #eee;

    border: 1px solid #ccc;
}

    .search__content .left,
    .search__content .right {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .search__content .left {
        width: 56%;
        padding-right: 2%;
        min-height: 200px;
        border-right: 1px solid #ccc;
    }

.left .form-group {
    min-height: 69px;
}

    .left .form-group .glyphicon {
        position: absolute;
        bottom: 10px;
        right: 10px;
        top: auto;
    }

[id="payload"] {
    /*display: inline-block;*/
}

.search__content .right {
    width: 42%;
    /*padding-left: 2%;*/
    min-height: 200px;
    margin-top: 10px;
}

    /* right input fix */
    .search__content .right .form-group {
        margin-bottom: 5px;
    }

    .search__content .right .col-lg-12.col-md-12:last-child {margin-top: 53px;}



/* search result */
.search__result {
    margin-top: 20px;
    padding: 20px 2%;
}

/* search item */
.search__result-item {
    margin-bottom: 10px;
}

    .search__result-item li,
    .search__result span {
        display: inline-block;
        vertical-align: middle;
    }

/* plus icon */
.icon {
    width: 14px;
    text-align: center;
    color: #337ab7;
    background: #d9edf7;
    border: 1px solid #337ab7;
    padding: 0 2px;
    line-height: 1;
    margin-right: 3px;
    cursor: pointer;
}

    .icon > a {
        color: #337ab7;
    }


/* service type */
.service-type {
    width: 37%;
}

    .service-type span:first-child {
        margin-right: 10px;
    }

    .service-type span:last-child {
        text-transform: uppercase;
    }


/* port to port */
.port-to-port {
    width: 35%;
}

    .port-to-port span:first-child {
        margin-right: 10px;
    }

    .port-to-port span:last-child {
        text-transform: uppercase;
    }


/* cost */
.cost {
    width: 15%;
}

    .cost span:first-child {
        text-transform: uppercase;
        margin-right: 10px;
    }

    .cost span:last-child {
    }


/* table */
.search__result-item {
}

    .search__result-item table {
        /*display: none;*/
        /*border: 2px solid #000;*/
    }

    .search__result-item table.table-header,
    .search__result-item table.table-body {
        border: 1px solid #000;
    }

    .table > thead > tr > th {border: none;}

    .search__result-item thead td,
    .search__result-item tbody td {
        /*border: 1px solid #000;*/
    }

    .search__result-item table td {
        padding: 2px !important;
    }

    .search__result-item thead {
        font-weight: bold;
    }

    .search__result-item tbody {
        text-transform: uppercase;
    }



    /*****************************************/
    /*****************************************/
    /* table fix */

    .taright {text-align: right;}

    .search__result-item .details ul:before,
    .search__result-item .details ul:after {
        content: ' ';
        display: table;
    }

    .search__result-item .details ul:after {clear: both;}

    .search__result-item .details ul:last-child li {border-bottom: 2px solid #ccc;}

    .search__result-item .details li {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        display: block;
        float: left;
        padding: 0 5px;
    }

    .search__result-item .table__charge-type {width: 25%;}
    .search__result-item .table__curr {width: 5%;}
    .search__result-item .table__rate {width: 9%;}
    .search__result-item .table__calc {width: 17%}
    .search__result-item .table__base {width: 8.4%;}

    .search__result-item .table__amount {width: 9%;
        border-right: 2px solid #ccc;
    }

    .search__result-item .table__exchange {width: 8.3%;}

    .search__result-item .table__amount + .table__exchange {
        margin-left: 2%;
        border-left: 2px solid #ccc;
    }


    /* header labels */
    .result-header {}

        .result-header li {
            background: #ddd;
            border-top: 2px solid #ccc;
            border-right: 1px solid #ccc;
        }

        .result-header li:first-child {border-left: 2px solid #ccc;}


    /* result item */
    .result-content li {
        border-top: 1px solid #ccc;
        border-right: 1px solid #ccc;
    }

    .result-content li:first-child {border-left: 2px solid #ccc;}

    
    /* table fix */
    /*****************************************/
    /*****************************************/


    /* summary */
    .summary {
        margin-top: 10px;
        margin-right: 20px;
        width: 200px;
        margin-left: auto;
    }

        .summary .dropdown-menu {
            min-width: 85px;
        }

        .summary .col-lg-6.col-md-6 {
            padding: 0;
        }

            .summary .col-lg-6.col-md-6:first-child {
                padding: 1px;
            }

            .summary .col-lg-6.col-md-6:last-child {
                text-align: center;
                border: 1px solid #000;
                font-weight: bold;
            }
