/*                        Elementos generales                            */
* {
    padding: 0;
    margin: 0;
}

body {
    font: normal 100% Helvetica, Arial, sans-serif;
    overflow-y: auto;
}

h1, h2, h3,
h4, h5, h6
{
    font-weight: bold;
    margin: 1.518% 0 0.5% 0;
    color: #666;
}

h1 {
    font-size: 1.5em;        /*  24px / 16px = 1.5   */
}

h2 {
    font-size: 1.125em;      /*  18px / 16px = 1.125 */
}

h3 {
    font-size: 0.875em;      /*  14px / 16px = 0.875 */
}

ul, ol {
    font-size: 0.75em;      /*  12px / 16px = 0.875 */
    list-style: none;
}

li {
    line-height: 1.5em;
}

table
{
    width: 100%;
}

th label {
    font-size: 0.6875em;      /*  11px / 16px = 0.875 */
}

td,
th
{
    padding: 0.1875em 0.3036em;
    border: none;
    background-color: #fff;
}

tr th {
    text-align: right;
    color: #333;
}

tr.odd td {
    background-color: #fff;
}

tr.even td {
    background-color: #fff;
}

a,
a.link,
a.active
{
    color: #369;
}

img {
    max-width: 100%;
}

.fl
{
    float: left;
}

.fr
{
    float: right;
}

#tg_flash_container
{
    border: 1px solid red;
    background-color: #FFE5E5;
    padding: 10px;
    margin-top: -1px;
}

.tg_flash,
.fielderror
{
    color: red;
    font-weight: bold;
    font-size: 1em;      /*  11px / 16px = 0.6875 */
}

#tg_flash,
{
    font-size: 0.75em;        /*  12px / 16px = 0.75   */
}

@-moz-document url-prefix() {
    input,
    textarea,
    select {
        /*-moz-appearance: none;*/
        border: 1px solid #ccc;
        border-radius: 3px;
        font-size: 11px;
    }
}

@font-face {
    font-family: pgb;
    src: url(/static/pgb.ttf);
}

.row img{
    margin-right: 0.3125em;
    vertical-align: middle;
}


/*                                 Layout                                    */
#wrapper {
    width: 100%;
    margin: 0;      /*  20px / 988px = 0.02024 */
}

#top_nav
{
    width: 100%;
    padding: 0.4166% 0.8333% 0.4166% 0.8333%; /*  5px / 1200px = 0.004166 */
    background: #f8f8f8;
}

#header {
}

#bottom_nav {
    width: 98.33%;
    margin: 0.4166% 0.8333% 0.4166% 0.8333%; /*  5px / 1200px = 0.004166 */
    background: #f8f8f8;
}

#main {
    margin-top: 0.4166%;
    border-top: solid 1px #ccc;
}

#main-content {
}

#foot {
    width: inherit;
}

/*                         Top Menu                                  */
#logged
{
    display: none;
}

.top_menu_item {
    margin: 0 0.70em;
    line-height: 1.3333em;
}

.top_menu_item a
{
    text-decoration: none;
    text-transform: uppercase;
}

.top_menu_item a:hover {
    color: #c8c8c8;
}

.top_menu_item > a,
.top_menu_item > span
{
    color: #747474;
    font-weight: bold;
    font-size: 0.6875em;
    /*font-family: Calibri, Optima, Arial, sans-serif;*/
    letter-spacing: 0.10em;
}

.top_menu_item.asin-checker
{
    display: block;
    clear: right;
}

#asin_checker_id
{
    text-align: center;
}

.asin-checker-title
{
    color: #747474;
    font-size: 0.9em;
    margin-right: 5px;
}

#asin_checker_id a
{
    font-size: 10px;
}

.asin-checker-input
{
    /*width: 100px;*/
    text-indent: 2px;
}

.asin-checker-submit
{
    width: 3.3em;
    height: 1.8em;
    margin-left: 2px;
}

.asin-checker-results,
.asin-checker-result
{
    margin-left: 5px;
    white-space: nowrap;
}
/*                         Header                                   */
#header-logo
{
    width: 100%;
    height: 50px;
    margin: 5px 0px;
    margin-right: 10px;
    background: #fff URL('/static/images/logo.svg?ts=1') center no-repeat;
    background-size: contain;
    float: left;
    font-size: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/static/images/header_inner.png?ts=1', sizingMethod='scale')";
}

#header-advice
{
    text-align: center;
    /*margin: 0% 1% 0 1%;*/
}

.mobile-app
{
    width: 98%;
    height: 4.1666em;
    margin: 0.4166em 0;
}

.mobile-app img
{
    margin: 0; /*  5px / 1200px = 0.004166 */
    width: 9em; 
    border: 0
}

.advice
{
    height: 4.1666em;
    margin: 0;
}

.chrome-extension-badge {
   height: 40px;
   width: 135px;
   display: inline-block;
   background-color: #4285f4;
   color: white;
   border-radius: 5px;
   box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
   margin: 0px 2px;
   font-family: Arial, sans-serif;
   font-size: 14px;
   line-height: 15px;
   padding: 4px 10px;
   text-align: center;
   text-decoration: none;
   vertical-align: top;
}

.chrome-extension-description {
   font-family: Arial, sans-serif;
   font-size: 12px;
   line-height: 15px;
   padding: 5px 0px;
   width: 220px;
   display: none;
}

@media only screen and (min-width: 1050px){
    .chrome-extension-description {
        display: block;
    }
}

/*                         Bottom Menu                                  */
#bottom_nav .fr,
#bottom_nav .fl
{
    float: none;
}

#bottom_nav .top_menu_item
{
    margin: 0 0.70em;
    line-height: 1.3333em;
    text-align: center;
}

#bottom_nav .top_menu_item select
{
    width: 120px;
    height: 20px;
    margin: 0.5em 0;
}

#bottom_nav .top_menu_item a
{
    text-decoration: none;
    text-transform: uppercase;
}

#bottom_nav .top_menu_item a:hover
{
    color: #c8c8c8;
}

#bottom_nav .top_menu_item > a,
#bottom_nav .top_menu_item > span
{
    color: #747474;
    font-weight: bold;
    font-size: 0.6875em;
    letter-spacing: 0.10em;
}

#bottom_nav .top_menu_item > a
{
    text-transform: uppercase;
}

/*                                Main                                       */
.tutorial
{
    text-align: center
}

.notices-container
{
    background-color: #FFF6BF;
    color: #817134;
    border: 1px solid #FFD324;
    padding: 10px;
    margin: 10px 0px;
    font-size: 0.9em;
}

span.required,
span.fieldhelp,
.reset_password
{
    color: #747474;
    font-weight: bold;
    font-size: 0.6875em;
    font-family: Calibri, Optima, Arial, sans-serif;
    letter-spacing: 0.10em;
    margin: 5px 0px;
    padding: 0px;
}

span.required
{
    text-transform: uppercase;
}

.introduction-text {
    float: none;
    /*
    width: 100%;
    height: 300px;*/
    margin: 0.4166% 0.8333% 0.4166% 0.8333%;
    /*margin-top: 20px;*/
    /*padding: 10px;*/
    font-size: 0.85em;
}

.introduction-text p {
    margin-bottom: 1.3%;
    margin-bottom: 10px;
}

.estimator-label {
    font-size: 11px;
}

.estimator-input {
    width: 50px;
    margin-left: 5px;
}

.estimator-submit {
    margin-left: 5px;
}

.estimator-result {
}

.estimator-result .tg_flash {
    font-size: 11px;
}


.mllogo
{
    width: 647px;
    height: 50px;
    margin: 5px 0px;
    margin-right: 10px;*/
    background-color: #fff;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('/static/images/logo-ml.svg') !important;
    background-size: contain;
    float: left;
    font-size: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/static/images/mllogo.png?ts=1', sizingMethod='scale')" !important;
}


/*  #Mobile (Portrait) Note: Design for a width of 320px */
/*  ==================================================== */
@media only screen and (max-width: 479px){
    #header-logo
    {
        width: 100%;
    }

    body {
        line-height: 1.3em;
        letter-spacing: 0.022em;
    }

    #bottom-nav
    {
        margin-top: 0.7em;
    }

}

/* portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones */ 
@media (min-width:640px)  {
    #header-logo
    {
        width: 760px;
        width: 100%;
    }

    #bottom-nav
    {
        margin-top: 1em;
    }
}

/*                        Tablet - Escritorio                                 */
@media only screen and (min-width: 830px){
    /* Change a menu to fit the screen better, etc... */

    #wrapper
    {
        width: 100%;
        margin: 0;      /*  20px / 988px = 0.02024 */
    }

    #header
    {
        height: 60px;
        display: block;
        /*margin: 0% 1% 0 1%;*/
    }

    #header-logo
    {
        width: 359px;
        height: 50px;
        margin: 5px 0px;
        margin-right: 10px;
        background: #fff URL('/static/images/logo.svg?ts=1') center no-repeat;
        background-size: contain;
        float: left;
        font-size: 0;
        -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/static/images/header_inner.png?ts=1', sizingMethod='scale')";
    }
    .mllogo {
      width: 100% !important;
    }


    #header-logo img{
        /*margin-left: -500px;*/
    }

    #header-advice
    {
        text-align: center;
        /*margin: 0% 1% 0 1%;*/
    }

    .mobile-app
    {
        float: right;
        width: 135px;
        height: 50px;
        margin: 10px 0px;
        margin-right: 10px;
    }

    .mobile-app img
    {
        width: 135px;
        height: 40px;
        border: 0;
    }

    .advice
    {
        float: right;
        height: 40px;
        margin: 10px 0px;
        margin-right: 10px;
    }

    #top_nav,
    #bottom_nav
    {
        width: 98%;
        margin: 0 0 0 0;        /*  5px / 988px = 0.0050 */
        overflow: hidden;
        background: #f8f8f8;
        font-size: 0.9em;
        margin: 0.5% 1% 0.5% 1%;
        padding: 0px;
        height: auto;
    }

    #main
    {
    }

    #foot
    {
        width: 100%;
    }


/*                         Clases globales                                  */

    .top_menu_item {
        margin: 0 0.70em;
        line-height: 20px;
        float: none;
    }

    .fl
    {
        float: left;
    }

    .fr
    {
        float: right;
    }

    .top_menu_item select
    {
        width: 120px;
        height: 20px;
    }

    .top_menu_item a
    {
        text-decoration: none;
    }

    .top_menu_item a:hover {
        color: #c8c8c8;
    }


    .top_menu_item.asin-checker
    {
        clear: none;
    }

    .reset_password
    {
        margin: 10px 20px;
        display: list-item;
        list-style-type: circle;
    }

    #bottom_nav .fl
    {
        float: left;
    }

    #bottom_nav .fr
    {
        float: right;
    }
    #bottom_nav .top_menu_item
    {
        margin: 0 0.70em;
        text-align: center;
    }

    #bottom_nav .top_menu_item select
    {
        width: 120px;
        height: 20px;
        margin: 0;
    }

    #bottom_nav .top_menu_item a
    {
        text-decoration: none;
        text-transform: uppercase;
    }

    #bottom_nav .top_menu_item a:hover
    {
        color: #c8c8c8;
    }

    #bottom_nav .top_menu_item > a,
    #bottom_nav .top_menu_item > span
    {
        color: #747474;
        font-weight: bold;
        font-size: 0.6875em;
        letter-spacing: 0.10em;
    }

    span.fieldhelp
    {
        display: block;
        clear: both;
    }

    .ret_customers,
    .new_customers
    {
        margin: 0.5% 3.75em;        /*  5px / 988px = 0.0050 */
    }

    .limit-reached
    {
        color: red;
    }

    .tutorial
    {
        float: right;
        margin-top: 10px;
        font-size: 12px;
        text-align: center
    }

    #ml_checker_id,
    #asin_checker_id
    {
        font-size: 11px;
        width: 500px;
        text-align: center;
        margin: 0 auto;
    }

    .asin-checker-title
    {
        color: #747474;
        font-size: 10px;
        margin-right: 5px;
    }

    #asin_checker_id a
    {
        font-size: 10px;
    }

    .asin-checker-input
    {
        width: 100px;
        text-indent: 2px;
    }

    .asin-checker-submit
    {
        height: 1.8em;
    }

    .asin-checker-results,
    .asin-checker-result
    {
        margin-left: 5px;
        white-space: nowrap;
    }

    .floating-notice
    {
        position: absolute;
        top: 11%;
        right: 0;
        left: 0;
        margin-right: auto;
        margin-left: auto;
        z-index: 10000;
        padding: 40px;
        padding-bottom: 40px;
        max-width: 800px;
    }

    .introduction-text
    {
        float: left;
        width: 410px;
        height: 300px;
        margin-top: 20px;
        padding: 10px;
        font-size: 12px
    }

    .introduction-text p {
        margin-bottom: 1.3%;
        line-height: 1.3em;
        letter-spacing: 0.02em;
    }
}

.footer-disclaimer {
    margin: 5em auto;
    width: 80%;
    color: #999;
    font-size: 0.75rem;
    line-height: 1.5rem;
}