html { min-height: 100vh; }
body {
    width: 100%; /* 100vw; */
    /* min-height: 100vh; */
    height: 100vh;
    overflow: hidden;
    border: 0;
    padding: 0;
    margin: 0;
    background-color: white;
    color: black;
    /* font-family: Arial,Verdana,sans-serif;
    font-size: 1.1em; */
    font: 400 18px/1.2 "Lato", sans-serif;
}

/* CSS solution to allow variable height header with fixed scrollable content
   Ref: https://blogs.msdn.microsoft.com/kurlak/2015/02/20/filling-the-remaining-height-of-a-container-while-handling-overflow-in-css-ie8-firefox-chrome-safari/
   Greg's variation
*/
.outer-container { position: absolute; top: 0; bottom: 0; left: 0; right: 0; height: 100vh; }
.table { display: table; }
.container { width: 100%; height: 100%; }
.table-row { display: table-row; }
.body { background-color: white; }
.table-cell { display: table-cell; }
.body-content-outer-wrapper { height: 100%; }
.body-content-inner-wrapper { height: 100%; position: relative; overflow: auto; }
.body-content { position: absolute; top: 0; bottom: 0; left: 0; right: 0;}

.centered {
    margin-left:auto;
    margin-right: auto;
}

.spinner {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    text-align:center;
    color: black;
    background: rgba(255,255,255,0.1);
    z-index: 999999;
}
.spinner img {
    margin-top: 3px;
}

.busy_spinner {
    height: 52px;
    width: 52px;
    margin: 0 auto;
    display: block;
    -webkit-animation: busy_animation_spinning .8s linear infinite;
    animation: busy_animation_spinning .8s linear infinite;
}
@keyframes busy_animation_spinning {
    0% { transform:rotate(0) }
    100% { transform:rotate(360deg) }
}
@-webkit-keyframes busy_animation_spinning {
	0% { -webkit-transform: rotate(0); }
	100% { -webkit-transform: rotate(360deg); }				
}

/* VIDEO */
.video_con {
    width: 980px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}
video { width: 100%; max-width: 1280px; }

/* buttons */
.lite_but {
    background: whitesmoke !important;
    color: black !important;
    border: 1px solid silver !important;
    cursor: pointer;
    -moz-border-radius:6px !important;
    -webkit-border-radius:6px !important;
    border-radius: 6px !important;
    padding-left: 9px;
    padding-right: 9px;
    padding-top: 6px;
    padding-bottom: 6px;
    text-decoration: none;
    margin-bottom: 4px;
    font-size: 16px;
    letter-spacing: 1px;
    /* font-weight: bold; */
}
.lite_but:hover, .red_but:hover, .dark_but:hover {
    background-color: white !important;
    color: black !important;
    font-weight: normal !important;
    border: 1px solid black !important;
    -webkit-box-shadow: 2px 2px 4px rgba(0,0,0,.8);
    -moz-box-shadow: 2px 2px 4px rgba(0,0,0,.8);
    box-shadow: 2px 2px 4px rgba(0,0,0,.8);
}
.red_but {
    background: red !important;
    color: white !important;
    border: 1px solid red !important;
    cursor: pointer;
    -moz-border-radius:6px !important;
    -webkit-border-radius:6px !important;
    border-radius: 6px !important;
    padding-left: 9px;
    padding-right: 9px;
    padding-top: 6px;
    padding-bottom: 6px;
    text-decoration: none;
    margin-bottom: 4px;
    font-size: 16px;
    letter-spacing: 1px;
    font-weight: bold;
}
.dark_but {
    background: #454545 !important;
    color: white !important;
    border: 1px solid #454545 !important;
    cursor: pointer;
    -moz-border-radius:6px !important;
    -webkit-border-radius:6px !important;
    border-radius: 6px !important;
    padding-left: 9px;
    padding-right: 9px;
    padding-top: 6px;
    padding-bottom: 6px;
    text-decoration: none;
    margin-bottom: 4px;
    font-size: 16px;
    letter-spacing: 1px;
    /* font-weight: bold; */
}

#ajlogin {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255,255, 0.3);
}
#ajlogin .ajlogin {
    position: absolute;
    top: 57px;
    left: 3px;
    width: 99vw;
    border: 1px solid #454545;
    background-color: rgba(255, 255,255, 1);
    padding-bottom: 9px;
    overflow: auto;
}
#ajlogin .ajlogin .teamup { display: none; }

.hide { display: none; }
.hide_1, .hide_1_1, .hide_0_1, .hide_1_0, .hide_1_1_1, .hide_1_1_1_1, 
.hide_0_0_1, .hide_0_1_0, .hide_0_1_1, .hide_1_0_0,
.hide_1_0_1, .hide_1_1_0,
.hide_0_0_0_1, .hide_0_0_1_0, .hide_0_0_1_1,
.hide_0_1_0_0, .hide_0_1_0_1, .hide_0_1_1_0, .hide_0_1_1_1,
.hide_1_0_0_0, .hide_1_0_0_1, .hide_1_0_1_0, .hide_1_0_1_1,
.hide_1_1_0_0, .hide_1_1_0_1, .hide_1_1_1_0,
.show_0, .show_1.hide_1, .show_1.hide_1_1, 
.show_0_0, .show_0_1, .show_1_0,
.show_1_0_0, .show_1_0_1, .show_1_1_0, .show_0_0_0, 
.show_1.hide_0_1, .show_1.hide_1_0 { display: none !important; }
.hide_0, .show_1, .show_1.hide_0, .show_1.hide_0_0, .show_1_1, .show_1_1_1, .hide_0_0, .hide_0_0_0, .hide_0_0_0_0, .show_0.hide_1, .show_0_1, .show_1_0, .hide_1.show_0_1, .hide_1.show_1_0 { 
    display: inline-block; 
}
.hideb_0 { display: block; }
tr.hide_0, tr.show_1, tr.show_1.hide_0, tr.show_1.hide_0_0, tr.show_1_1, tr.show_1_1_1, tr.hide_0_0, tr.hide_0_0_0, tr.hide_0_0_0_0, tr.show_0.hide_1, tr.show_0_1, tr.show_1_0, tr.hide_1.show_0_1, tr.hide_1.show_1_0 { 
    display: table-row; 
}
td.hide_0, td.show_1, td.show_1.hide_0, td.show_1.hide_0_0, td.show_1_1, td.show_1_1_1, td.hide_0_0, td.hide_0_0_0, td.hide_0_0_0_0, td.show_0.hide_1, td.show_0_1, td.show_1_0, td.hide_1.show_0_1, td.hide_1.show_1_0 { 
    display: table-cell; 
}

.clickable { cursor: pointer; }
img.clickable:hover { background-color: black; }

select option.selected {
    background: white !important;
    font-weight: bold;
}

/* ******************************************
    HEADER 
   *************************************** */

.header, .head {
/*
    position: absolute;
    top: 0;
    left: 0;
    height: 50px;
*/
    width: 100vw;
    background: white;
    color: black;
}

.header .logo_td {
    padding-right: 4px;
    width: 225px;
    max-width: 225px;
    /* background-color: rgba(255,255,255,0.6); */
}
.header .logo {
    padding-left: 5px;
    max-width: 225px;
    width: 100%;
}
@media only screen and (max-width: 495px) {
    .header .logo_td { width: calc(100vw - 262px); }
}

.header .title_con {
/*
    position: absolute;
    width: calc(100% - 198px);
    height: 49px;
    top: 0;
    left: 105px;
*/
}
.header .title_con .title {
    font-size: 1.2em;
    text-align: center;
    color: #454545;
    letter-spacing: 1px;
    line-height: 1em;
    margin-left: -6px;
    margin-top: 6px;
    /* display: none; */
    /* width: 100%;
    height: 28px;
    overflow: hidden; */
}
.header .title_con .subtitle {
    font-size: 0.6em;
    text-align: center;
    margin-top: 1px;
    display: none;
}
@media screen and (min-width: 460px) {
    .header .title_con .title { font-size: 1.5em; display: block; margin-left: 0; margin-top: 1px; }
    .header .title_con .subtitle { display: block; }
}
@media screen and (min-width: 568px) {
    .header .title_con .title { font-size: 1.5em; margin-left: 0; margin-top: 14px; }
}
@media screen and (min-width: 720px) {
    .header .title_con .title { font-size: 1.8em; margin-top: 10px; }
    .header .title_con .subtitle { margin-top: 0px; }
}
@media screen and (min-width: 780px) {
    .header .title_con .subtitle { font-size: 0.8em; }
}

.header .menu_con, .header .menu_prospect_edit {
    background: white; /* #454545; */
    padding-right: 6px;
/*
    position: absolute;
    width: 94px;
    height: 49px;
    top: 3px;
    right: 5px;
*/
}
.header .menu_prospect_edit { display: none; }
.menu_con .menuitem, .menu_prospect_edit .menuitem {
    display: inline-block;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
}
.menu_con .menuitem .but, .menu_prospect_edit .menuitem .but {
    display: block;
    width: 32px;
    height: 32px;
    border: 1px solid white;
    -moz-border-radius:50%;
    -webkit-border-radius:50%;
    border-radius: 50%;
    margin-top: 2px;
    margin-left: auto;
    margin-right: auto;
    background-size: 24px 24px !important;
    /* background-color: white !important; */
}
.menu_con .menuitem .but:hover, .menu_prospect_edit .menuitem .but:hover { background-color: #e5e5e5 !important; }
.header .menu_con .menuitem.home .but {
    background: white url(images/home_32.png) no-repeat center;
}

.roundbut {
    display: block;
    width: 45px;
    height: 45px;
    border: 1px solid #e5e5e5;
    -moz-border-radius:50%;
    -webkit-border-radius:50%;
    border-radius: 50%;
    margin-top: 2px;
    margin-left: auto;
    margin-right: auto;
    font-weight: bold;
}
.oblongbut {
    display: inline-block;
    min-width: 64px;
    height: 64px;
    border: 1px solid #e5e5e5;
    -moz-border-radius:50%;
    -webkit-border-radius:50%;
    border-radius: 50%;
    /* margin-top: 2px; */
    margin-left: auto;
    margin-right: auto;
    font-size: 24px;
    padding-left: 9px;
    padding-right: 9px;
}
.roundbut.inline, .oblongbut.inline { display: inline-block; }
.roundbut.white, .oblongbut.white {
    background-color: white;
    border-color: black;
    color: black;
}
.roundbut.orange, .oblongbut.orange {
    background-color: rgb(255, 159, 64);
    border-color: rgb(255, 159, 64);
    color: black;
}
.roundbut.yellow, .oblongbut.yellow {
    background-color: rgb(255, 205, 86);
    border-color: rgb(255, 205, 86);
    color: black;
}
.roundbut.green, .oblongbut.green {
    background-color: rgb(0, 255, 0);
    border-color: rgb(0, 255, 0);
    color: black;
}
.roundbut.red, .oblongbut.red {
    background-color: rgb(255, 0, 0);
    border-color: rgb(255, 0, 0);
    color: white;
}
.roundbut div, .oblongbut div { text-align: center; }

/* body.login, .login-bg { */
.teamup {
    /* background-image: url('../images/bg/beachc1_640.jpg'); */
    background-image: url('../images/bg/team_bg_640.jpg'); /* other_640 */
    background-repeat: no-repeat;
    background-size: 100% 100%;
    /* background-size: cover; */
    margin-bottom: 12px;
}
body.login .block_content {
    padding-left: 9px;
    padding-right: 6px;
}

/*.index .header .menu_con .menuitem.home { display: none; }
//.marketing .header .menu_con .menuitem.marketing { display: none; }
//.account .header .menu_con .menuitem.account { display: none; } */
.index .header .menu_con .menuitem.home,
.marketing .header .menu_con .menuitem.marketing,
.account .header .menu_con .menuitem.account { 
    background: #e5e5e5;
    color: black; 
}

.settings .header .menu_con .menuitem.settings { display: none; }

.index .menu_con .menuitem.home .but,
.marketing .menu_con .menuitem.marketing .but,
.account .menu_con .menuitem.account .but {
    background-color: white !important;
}

.menu_con .menuitem.contact .but {
    background: white url(images/email_32.png) no-repeat center;
}
.menu_con .menuitem.settings .but {
    background: white url(images/settings_32.png) no-repeat center;
}
.menu_con .menuitem.menu .but {
    background: white url(images/menu_21x32.png) no-repeat center;
}
.menu_con .menuitem.account .but {
    background: white url(images/price_32.png) no-repeat center;
}
.menu_con .menuitem.teams .but {
    background: white url(images/one2many_32.png) no-repeat center;
}
.menu_con .menuitem.marketing .but {
    background: white url(images/ads_48.png) no-repeat center;
}
.menu_con .menuitem.campaigns .but {
    background: white url(images/one2many_32.png) no-repeat center;
}
.menu_con .menuitem.info .but {
    background: white url(images/circle-info_32.png) no-repeat center;
}
.menu_con .menuitem.logout .but {
    background: white url(images/logout.png) no-repeat center;
}
.menuitem.save .but {
    background: white url(images/save_green_circle_32.png) no-repeat center;    
}
.menuitem.ok .but {
    background: white url(images/tick_circle_32.png) no-repeat center;    
}
.menuitem.cancel .but {
    background: white url(images/close_32.png) no-repeat center;    
}
.menuitem.refresh .but {
    background: white url(images/refresh_circ_32.png) no-repeat center;
}
.menuitem.delete .but {
    background: white url(images/del_32.png) no-repeat center;    
}
.menuitem.add .but {
    background: white url(images/add_32.png) no-repeat center;    
}
.menuitem.blank {
    display: inline-block;
    width: 12px;
}

.menu_con .menuitem .btn_txt_bottom, .menu_prospect_edit .btn_txt_bottom {
    font-size: 11px;
    font-weight: normal;
    text-shadow: none !important;
    /* color:whitesmoke !important; */
    text-align: center;
    width: 100%;
    padding-top: 1px;
}

#hbg {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: transparent;
    z-index: 999999;
}
#submenu {
    position: absolute;
    top: 57px;
    right: 0;
    max-width: 300px;
    padding-right: 15px;
    background: white;
    color: black;
    border: 1px solid #e5e5e5;
}
/* ******************************************
    Page wrapper
   *************************************** */
#page {
    display: inline-block;
    min-height: 100%;
    height: 100%;
    width: 100vw;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
/*
    padding-top: 9px;
    padding-bottom: 9px;
*/
    padding-left: 0px;
    padding-right: 0px;
}

h1 {
    font-size: 1em;
    font-weight: normal;
    text-align: center;
    padding-left: 9px;
    padding-right: 9px;
    padding-bottom: 6px;
    padding-top: 6px;
    margin-block-start: 0;
    margin-block-end: 0;
    width: 82%;
    margin-left: auto;
    margin-right: auto;
}

.index h1 {
    width: 82%;
    text-align: center;
    padding-left: 9px;
    padding-right: 9px;
    padding-bottom: 6px;
    padding-top: 6px;
    margin-top: -11px;
    margin-left: auto;
    margin-right: auto;
    /* background: white; */
    /* background: rgba(255,255,255,0.45); */
    background: rgba(34,34,34,0.65);
    color: white;
}

h3 {
    text-align: center;
    margin-bottom: 0;
}

/* simulate ticker close click */
#ticker_but { display: none; }
#ticker_but:checked + .ticker_con {
    display: none;
}

/* ******************************************
    LOGIN
   *************************************** */
body.login .login {
    width: 400px;
    max-width: 98%;
    margin-left: auto;
    margin-right: auto;
    /* padding-top: 18px; */
    padding-top: 6px;
    border: 1px solid gray;
    padding-left: 6px;
    padding-right: 6px;
    background-color: rgba(255,255,255,0.75);
}
body.login .header, body.login .head, body.login .body, body.login .dashboard .block h2, body.login .header .menu_con { background: transparent !important; }
.login_lbl {
    font-size: 11px;
    letter-spacing: 1px;
}
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active  {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}
.un, .pw {
    width: 100%;
    background: white !important;
    color: black !important;
    min-height: 2.2em;
    padding: .4em;
    line-height: 1.4em;
    margin-top: 2px;
    margin-bottom: 2px;
    border: 1px solid #e5e5e5;
    font-size: 1em;
}

.submit {
    border: 1px solid #454545;
    background: #e5e5e5;
    color: black;
    font-size: 1em;
    cursor: pointer;
}

.login_err {
    color: red;
    padding-bottom: 9px;
}

/* ******************************************
    CHARTS
   *************************************** */
canvas.chart {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.chartkeyblock, .chartkey, .chartlabel {
    display: inline-block;
}
.chartkeyblock {
    margin-bottom: 6px;
    cursor: pointer;
}
.chartkey {
    min-width: 28px;
    padding-bottom: 6px;
}
.chartlabel {
    padding-left: 3px;
    padding-right: 6px;
    padding-top: 3px;
    font-size: 15px;
}

.content_wrapper {
    width: 100%;
    /* height: calc(100% - 25px); */
    height: 100%;
    overflow: auto;
}
.marketing .content_wrapper { overflow-x: hidden; }

/* ******************************************
    HOME PAGE 
   *************************************** */

.dashboard {
    display: grid;
    grid-gap: 15px; 
    overflow: hidden;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    /* grid-auto-flow: dense; */
    
    margin: 0px 10px;
}
.span2 {
    grid-column: span 2;
}
.dashboard .block {
    /* border: 1px solid #e5e5e5; */
}
.dashboard .block h2 {
    text-align: center;
    margin-top: 3px;
    margin-bottom: 3px;
    background: gainsboro;
    color: black;
    font-size: 1.2em;
    font-weight: normal;
    text-transform: uppercase;
}
.dashboard .block .block_content {
    min-height: 100px;
}
.dashboard .block_content.block480 {
    width: 480px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.status_0 { /* application */
    border-top: 6px solid rgb(255, 159, 64);  /* orange */
}
.status_1 { /* active */
    border-top: 6px solid rgb(0, 255, 0); /* green */
}
.status_2 { /* declined */
    border-top: 6px solid rgb(255, 0, 0); /* red */
}
.status_3 { /* admin */
    border-top: 6px solid rgb(54, 162, 235); /* blue */
}

.rating_, .rating_0 { /* not rated */
    border-top: 6px solid rgb(201, 203, 207);  /* grey */
}
.rating_1 { /* no sales */
    border-top: 6px solid rgb(0, 255, 0); /* red */
}
.rating_2 { /* below target */
    border-top: 6px solid rgb(255, 159, 64); /* orange */
}
.rating_3 { /* on target */
    border-top: 6px solid rgb(0, 255, 0); /* green */
}
.rating_4, .rating_5 { /* above target */
    border-top: 6px solid rgb(54, 162, 235); /* blue */
}

.reviewed_0 { display: none; }

.settings .block_content .entry {
    width: 98%;
    margin-left: auto;
    margin-right: auto;
}
.settings .block_content .entry label {
    width: 100%;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: bold;
}
.settings .block_content .entry input {
    width: 100%;
    margin-bottom: 6px;
    font-size: 1em;
}
.settings .block_content button {
    cursor: pointer;
    float: right;
    margin-right: 4px;
    margin-top: 9px;
    border: 1px solid #454545;
    background: #e5e5e5;
    color: black;
    font-size: 0.8em;
    letter-spacing: 1px;
}
.settings .block_content button:hover {
    background: whitesmoke;
}

.acc_con {
/*
    position: absolute;
    right: 0px;
*/
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 24px;
    margin-top: 24px;
    /* top: calc(50vh - 78px); */
    /* width: 310px; */
    max-width: 100%;
    width: 412px;
    text-align: center;
}
.index .acc_con {
    position: absolute;
    /* top: calc(50% - 132px);
    bottom: auto; */
    top: auto;
    bottom: 80px;
    left: 6px;
    right: auto;
    max-width: 100%;
    width: 200px;
}
@media screen and (max-width: 480px) {
    .index .acc_con { width: calc(100% - 6px); }
}
@media screen and (max-height: 480px) {
    .index .acc_con { width: 350px !important; }
}

.index .acc_con a {
    display: inline-block;
    margin-left: 18px;
    margin-top: 6px;
}
.acc_con a {
    text-decoration: none;
    color: black;
    display: inline-block;
    margin-left: 18px;
    margin-top: 6px;
    font-size: 0.9em;
    font-weight: bold;
    cursor: pointer;
    border: 2px solid black;
    padding-top: 9px;
    padding-bottom: 9px;
    -moz-border-radius:50%;
    -webkit-border-radius:50%;
    border-radius: 50%;
    width: 150px;
    height: 120px;
    background: white;
    overflow: hidden;
}
.acc_con a:hover {
    background: #454545;
}
.acc_con a img {
    width: 58px;
    height: 58px;
}
.acc_con a span { font-size: 0.8em; }

@media screen and (min-height: 500px) {
    h1 { 
        font-size: 1.4em;
    }
}
/*
@media screen and (min-width: 400px) and (min-height: 460px) {
    .acc_con { margin-top: 80px; }
}
*/

/* ******************************************
    PROSPECTS
   *************************************** */

#prosp_filter {
    width: 90px;
}
#prosp_filter_lbl {
    display: inline-block;
    width: 18px;
}
#prosp_filter_lbl img {
    width: 100%;
    margin-top: 2px;
    position: relative;
    top: 4px;
}
#prosp_filter_clear {
    display: inline-block;
    border: 1px solid #454545;
    padding: 2px;
    cursor: pointer;
    font-size: 13px;
    margin-left: -1px;
    background: #454545;
    color: white;
}

.caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 2px;
    vertical-align: middle;
    border-top: 4px dashed;
    border-top: 4px solid\9;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}

.prosp_hdr {
    display: none;
    text-align: right;
    padding-right: 6px;
}
.prosp_hdr.list { display: block; margin-top: -12px; }
.prosp_hdr.edit {
    height: 3px;
    background: #e5e5e5;
    margin-bottom: 9px;
}

.admin .binrow.checked_1 {
    color: green;
}
#totuncheck {
    color: black;
    font-size: 14px;
    border: 1px solid black;
    padding-left: 3px;
    padding-right: 3px;
}
#totcheck {
    color: green;
    margin-right: 9px;
    font-size: 14px;
    border-top: 1px solid green;
    border-bottom: 1px solid green;
    border-right: 1px solid green;
    padding-left: 3px;
    padding-right: 3px;
}

.prospect_list {
    width: 100%;
}
.prospect_list .listdist {
    text-align: center;
    vertical-align: top;
    width: 50px;
}
.prospect_list .listname {
    text-align: left;
}
.listcontact {
    text-align: left;
    width: 80px;
}
.prospect_list tbody tr {
    cursor: pointer;
}
.prospect_list tbody tr:hover {
    background: #e5e5e5;
}
.prospect_list tbody tr.activebin { font-weight: bold; }

.team_list td, .country_list td { vertical-align: top; }
.team_list .team_td { width: 80%; }
.team_list .area_td { width: 120px; }
.team_list th.area_td { text-align: left; } 
.team_list .radius_td { width: 45px; text-align: center; }

.country_list .country_td { width: 80%; }
.country_list th.country_td { text-align: left; } 
.country_list .teams_td { width: 70px; min-width: 70px; text-align: center; }
.country_list .cur_td { width: 15px; min-width: 15px; text-align: right; font-size: 10px; vertical-align: middle; }
.country_list .pricing_td { width: 60px; min-width: 60px; text-align: right; vertical-align: middle; padding-right: 4px; }
.country_list .del_td { width: 18px; min-width: 18px; text-align: center; vertical-align: middle; }
.country_list .del_td img { width: 16px;  min-width: 16px; text-align: center; }

.block_content.ctry_block { width: 100%; height: calc(100% - 25px); overflow-y: auto; }
.country_places_list { font-size: 14px; }
.country_places_list th.tp_name_td { border-bottom: 1px solid silver; }
.country_places_list th.tp_place_td { border-bottom: 1px solid silver; }
.country_places_list .tp_name_td { font-weight: bold; }
.country_places_list .tp_district { padding-left: 24px; font-weight:normal; }
.country_places_list .tp_place_td {}

.fixed_header tbody{
  display: block;
  overflow: auto;
  min-height: 300px;
  width: 100%;
}
.fixed_header thead tr {
  display: block;
  cursor: pointer;
}

.block.prosp_edit {
    border: 0;
}
.block.prosp_edit_addr, .block.add_area, .block.edit_area, .block.add_team { display: none; }

.block.add_area .entry, .block.edit_area .entry {
    display: inline-block;
    text-align: left;
}
.block.add_area .entry label, .block.edit_area .entry label {
    display: block;
    margin-top: 6px;
    margin-bottom: -3px;
    font-weight: bold;
} 
.block.add_area .entry div {
    /* display: inline-block; */
}
.block.add_area .entry div, .block.add_area .entry input, .block.edit_area .entry div, .block.edit_area .entry input { 
    width: 100%; 
    font-size: 15px; 
    border-color: #e5e5e5; 
}

.st_6 { color: green; }
.st_7 { color: red; }

.target_div {
    width: 180px !important;
    margin-left: auto;
    margin-right: auto;
    display: none;
    border: 1px solid #454545;
    padding: 4px;
}
.target_div .target_div_hdr {
    text-align: center;
    background: #454545;
    color: white;
    margin-top: -4px;
    margin-bottom: 4px;
    font-size: 15px;
}

table.target_details {
    border: 1px solid #454545;
}
table.target_details tr:hover {
    background: #d5d5d5;
    cursor: pointer;
}
table.target_details th, table.target_details th:hover {
    background: white !important;
    cursor: default;
}
td.monthly_sales {
    text-align: center;
}

.notes {
    margin-bottom: 6px;
}
.notes_div { width: 99%; }
.notes_entry label { 
    width: calc(100% - 32px); 
    display: inline-block;
    text-align: left;
    font-weight: bold;
    padding-top: 6px;
}
.notes_buts { 
    float: right;
    padding-top: 3px;
    width: 30px !important; 
}
.notes_buts img { cursor: pointer; }
.note_date {
    font-size: 11px !important;
    margin-top: -3px;
}
.note_date img { cursor: pointer; }
.note {
    font-size: 14px !important;
    border-bottom: 2px dashed black;
}
.note_delete { display: none; }

.confmap_con {
    width: 100%;
    height: calc(100vh - 150px);
    border: 1px solid #e5e5e5;
}
.confmap {
    width: 100%;
    height: 100%;
}
.map_footer {
    display: none;
    background: #e5e5e5;
    font-size: .9em;
    height: 20px;
    overflow: hidden;
    text-align: center;
}

.updates_key {
    display: none;
    position: absolute;
    top: 50px;
    left: 12px;
    color: red;
    font-size: 14px;
    padding-bottom: 6px;
}
.updates_key div {
    display: inline-block;
    padding-right: 9px;
}
.updates_key span {
    width: 16px;
    display: inline-block;
}

.block.prosp_edit .block_content input, input.edit_address, .block.prosp_edit .block_content select { 
    border: 1px solid #e5e5e5; 
    width: 100%; 
    padding: 4px;
    font-size: 18px;
    height: 28px;
    margin-top: -2px;
    /* margin-bottom: 6px; */
}
.block.prosp_edit .block_content select { height: 34px; }
.block.prosp_edit .block_content .txt_con.entry {
    border: 1px solid #e5e5e5; 
    width: calc(100% - 4px);
    margin-left: auto;
    margin-right: auto;
    padding: 4px;
    font-size: 17px;
}
.block.prosp_edit .block_content .address.edit_text { font-size: 18px; }
.dashboard .block_content .elbl, .block.prosp_edit .block_content .elbl, .block_content.addr .elbl {
    text-align: left;
    padding-bottom: 0;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 17px;
    letter-spacing: 1px;
    margin-top: 6px;
}
.block.prosp_edit .block_content .entry {
    padding-top: 0;
    padding-bottom: 6px;
}
.block.prosp_edit .block_content .info {
    margin-top: -6px;
    margin-bottom: 9px;
    text-align: center;
    font-size: 12px;
}
.descr_counter {
    width: 30px;
    margin-top: -18px;
    background: #fff;
    font-size: 14px;
    margin-left: auto;
}

.strike {
    text-decoration: line-through;
}

.err {
    color: red;
    margin-top: -7px;
    margin-left: 12px;
    font-size: 14px;
}
.err_border { border: 2px solid red !important; }

.closed {
    display: none;
    background: red;
    color: white;
    text-align: center;
}
.closed.closed_1 { display: block; }
.dashboard.isclosed { background-color: #e5e5e5; }

.webbuts {
    margin-top: 4px;
    text-align: right;
}
.webbuts button {
    float: right;
    cursor: pointer;
    margin-left: 3px;
    margin-right: 3px;
    font-size: 15px;
    background: #f5f5f5;
    border: 1px solid #454545;
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
    border-radius: 3px;
}
.webbuts button:hover {
    background: #e5e5e5;
}
.webscan.scanned {
    background: blue;
    color: white;
}
/*
.webscan {
    float: left;
    padding-left: 6px;
    font-size: 15px;
}
.weblink, .websearch {
    text-align: right;
    padding-right: 6px;
    font-size: 15px;
}
*/

/*
.scan {
    font-size: 14px;
    color: blue;
    margin-top: -6px;
    padding-left: 6px;
}
.scan.scan_description { margin-top: 0; }
*/

.search.search_image, .change.change_image {
    display: none;
    padding-top: 4px;
    text-align: center;
    background: orangered;
}
.change.change_image {
    background: green;
}
.search.search_image.gimage_1, .change.change_image.cimage_1 { display: block; }
.search.search_image img, .change.change_image img {
    width: 140px;
    height: 105px;
    border: 2px solid orangered;
    cursor: pointer;
}

.scan.scan_image_list {
    display: none;
    color: white;
    width: 280px;
    background: blue;
    margin-left: auto;
    margin-right: auto;
}
.scan.scan_images {
    display: grid;
    grid-gap: 3px; 
    overflow: hidden;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    /* grid-template-columns: repeat(auto-fit, minmax(300px, 1fr) 150px); */
    grid-auto-flow: dense;
    margin: 0px 3px;
}
.iblock {
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-color: #e5e5e5;
    border:1px solid #e5e5e5;
    width: 140px;
    height: 105px;
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
}
.iblock img {
    width: 280px;
    height: 210px;
    margin-left: auto;
    margin-right: auto;
}

.edit_ad {
    max-width: 100%;
    width: 282px;
    background: #5d6d77;
    color: #fff;
    border: 1px solid #454545;
    margin-left: auto;
    margin-right: auto;
}
.edit_results {
    width: 280px;
    height: 210px;
    cursor: pointer;
}
.edit_results.bg_1 {
    background-color: transparent;
    background-image: none;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.cat_detail h3 {
    letter-spacing: 5px;
    text-transform: uppercase;
    font: 20px "Lato",sans-serif;
    line-height: 25px;
    color: #111;
    margin: 6px;
    text-align: left;
    /* padding-top: 18px; */
}
.cat_detail ul {
    margin-top: 6px;
    margin-bottom: 6px;
}
.cat_detail li {
    font-size: 15px;
    letter-spacing: 1px;
}

.lbl_catID {
    margin-top: 6px;
    display: block;
}

.cat_detail .catimg {
    width: 100%;
    height: 100px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url(../images/bg/categoriesc1_640.jpg);
}
.cat_detail .catimg.accommodation {
    background-position: center -32px !important;
    background-image: url(../images/bg/lodgingc_640.jpg)
}
.cat_detail .catimg.activities {
    background-position: center -40px !important;
    background-image: url("../images/bg/quadc_640.jpg");
}
.cat_detail .catimg.food {
    background-position: center -110px !important;
    background-image: url(../images/bg/food-drinkc_640.jpg)
}
.cat_detail .catimg.transport {
    background-position: center -70px !important;
    background-image: url(../images/bg/mg1c_640.jpg)
}
.cat_detail .catimg.entertainment {
    background-position: center -32px !important;
    background-image: url(../images/bg/amusec_640.jpg)
}
.cat_detail .catimg.health {
    background-position: center -32px !important;
    background-image: url(../images/bg/medicalc_640.jpg)
}
.cat_detail .catimg.services {
    background-position: center -32px !important;
    background-image: url(../images/bg/servicec_640.jpg)
}
.cat_detail .catimg.shops {
    background-position: center center !important;
    background-image: url(../images/bg/storesc_640.jpg)
}
.cat_detail .catimg.education {
    background-position: center -60px !important;
    background-image: url(../images/bg/study_640.jpg)
}
.cat_detail .catimg.flowers {
    background-position: center -90px !important;
    background-image: url(../images/bg/florist_640.jpg)
}
.cat_detail .catimg.finance {
    background-position: center -32px !important;
    background-image: url(../images/bg/lawyerc_640.jpg)
}
.cat_detail .catimg.property {
    background-position: center -20px !important;
    background-image: url(../images/bg/propc1_640.jpg)
}
.cat_detail .catimg.general {
    background-position: center top !important;
    background-image: url(../images/bg/otherc_640.jpg)
}
.cat_detail .catimg.undefined {
    background-position: center center !important;
    background-image: url(../images/bg/otherc_640.jpg)
}

.cat_detail .cat_holder {
    display: none;
    width: 100%;
    text-align: left;
    padding-left: 6px;
}
@media only screen and (min-width: 980px) {
    .cat_detail .cat_holder { display: block; }
}

.cat_detail .cat_holder .cat_item {
    display: inline-block;
    /* width: 150px; */
    width: 140px;
    height: 16px;
    text-align: left;
    font-size: 14px;
    letter-spacing: 1px;
    overflow: hidden;
    overflow-wrap: break-word;
}

.cat_block .catlinks {
    display: none;
    font-size: 12px;
    text-align: center;
}
@media only screen and (min-width: 615px) {
    .cat_block .catlinks { display: block; }
}

.prosp_edit { display: none; }

.alt, .scan, .change {
    /* margin-top: -5px; */
    border-left: 1px dashed #e5e5e5;
    border-right: 1px dashed #e5e5e5;
    border-bottom: 1px dashed #e5e5e5;
    width: 100%;
    padding-bottom: 3px;
}
.alt.alt_, .scan.alt_0, .change.alt_0 { display: none; }
.alt.alt_1, .scan.alt_1, .change.alt_1 { display: inline-block; }
.alt .tick, .scan .tick, .change .tick {
    float: left;
    width: 18px !important;
    height: 18px !important;
    background-size: 18px 18px !important;
    cursor: pointer;
}
.alt .alt_detail, .scan .alt_detail, .change .alt_detail {
    float: right;
    max-width: 400px;
    width: calc(100% - 24px);
    color: orangered;
    font-size: 14px;
    cursor: pointer;
}
.scan .alt_detail { color: blue !important; }
.change .alt_detail { color: green; }
.alt.alt_website .alt_detail, .scan.alt_website .alt_detail, .change.alt_website .alt_detail { overflow-wrap: break-word; }
.alt .tick.notick, .scan .tick.notick, .change .tick.notick, .checked_0 .but {
    background: white url(images/circle_32.png) no-repeat center;
}
.alt .tick.ticked, .scan .tick.ticked, .change .tick.ticked, .checked_1 .but {
    background: white url(images/tick_circle_32.png) no-repeat center;
}

/* ******************************************
    TEAMS
   *************************************** */
.dashboard.settings { display: none; }

.but_edit, .but_add {
    cursor: pointer;
}
.but_edit.on, .but_add.on {
    background: white;
} 

/* ******************************************
    CONTACTS
   *************************************** */

.cover_lite {
    padding: 5px;
    color: black;
    background-color: rgba(255,255,255,.65) !important;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}

/* ******************************************
    APPLICATION
   *************************************** */
.question {
    padding-bottom: 18px;
    clear: both;
}
.question .qq {
    display: inline-block;
    margin-right: 6px;
}
.question table {
    display: inline-table;
    border: 1px solid gray;
    background: white;
}
.question table td {
    border-right: 1px solid gray;
}
.question table tr.lbl td {
    padding-bottom: 0;
    text-align: center;
}
.question table tr.lbl td div {
    margin-top: -2px;
    margin-left: 6px;
    margin-right: 6px;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: bold;
}
.question table tr.opts td {
    padding-top: 0;
    text-align: center;
}
.questions textarea {
    resize: none;
    overflow: hidden;
    min-height: 80px;
    font: 400 1em/1.2 Arial,sans-serif;
}

.block.questions { 
    /* background: whitesmoke;  */
    padding-left: 6px;
    padding-right: 3px;
}
.questions label {
    width: 100%;
    display: inline-block;
}
.questions .lbl_small { font-size: 14px; }
.questions input {
    width: 100%;
    margin-bottom: 18px;
    font-size: 1em;
}
.question table input {
    width: auto !important;
    margin-bottom: 0 !important;
}
.questions textarea {
    width: 100%;
}

/* ******************************************
    MOTORCYCLES
   *************************************** */
/*
.motorcycles #page {
    background: #e5e5e5 !important;
}
*/
.motorcycles #page {
    background-image: url('../admin/resources/images/bg/dustriders_new_1.jpg');
}

.motorcycles h1 { font-weight: bold; }
.motorcycles h1 span {
    padding-left: 6px;
    padding-right: 6px;
    background-color: rgba(255,255,255,0.65);
}
.motorcycles a.make { text-decoration: none; color:black; }
.motorcycles a.model { text-decoration: none; color:black; }
.bike_makes_tbl, .bike_models_tbl {
    width: 290px;
}
.bike_makes_tbl td, .bike_models_tbl td {
    width: 50%;
    text-align: center;
    border: 1px solid black;
    background-color: white;
    cursor: pointer;
}
.bike_models_tbl td { 
    height: 50px; 
    padding-left: 3px;
    padding-right: 3px;
}
.bike_makes_tbl td:hover, .model_block:hover, .bike_models_tbl td:hover {
    background-color: #e5e5e5;
}

.makeicon {
    display: block;
    width: 48px;
    height: 48px;
/*
    border: 1px solid black;
    -moz-border-radius:50%;
    -webkit-border-radius:50%;
    border-radius: 50%;
    margin-top: 2px;
*/
    margin-left: auto;
    margin-right: auto;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 48px 48px !important;
    background-color: transparent !important;
}
.maketxt {
    margin-top: -3px;
}

.bike_gallery {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    /* background-color: #e5e5e5; */
}
.bike_gallery img {
    max-width: 33%;
    padding: 4px;
}

.make_hdr {
    width: 290px;
    margin-left: auto;
    margin-right: auto;
    margin-top: -15px;
    background-color: rgba(255,255,255,0.65);
}
.make_hdr img { max-width: 100%; }
.make_hdr p, .make_hdr h1 { 
    margin-top: 0;
    margin-bottom: 9px;
}
.make_hdr h1.make { 
    font-size: 1.4em; 
    padding: 0;
}
.make_hdr p.make_descr { font-size: 0.9em; }

.motorcycles .instr { 
    margin-top: 0px; 
    margin-bottom: 12px; 
    padding: 4px;
    background-color: rgba(255,255,255,0.65);
    text-align: center;
}
@media only screen and (max-width: 600px) {
    .motorcycles .instr { margin-top: 0px; margin-bottom: 6px; }
}

.models_con {
    max-width: 95%;
    margin-left: auto;
    /* margin-right: auto; */
}
.model_block {
    display: table;
    float: left;
    margin: 1px;
    width: 145px;
    min-height: 68px; /* 50px; */
    text-align: center;
    border: 1px solid black;
    background-color: white;
    cursor: pointer;
    padding-left: 3px;
    padding-right: 3px;
    overflow: hidden;
}
.model_block .biketxt {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.accads {
    /* position: absolute; */
    width: 100%;
    max-width: 1036px;
    max-height: 276px;
    text-align: center;
}
.accads img {
    max-height: 276px;
    max-width: 100%;
}

.accads .slideshow {
    width: 100%;
    height: 276px;
}
.accads .slideshow img {
    max-height: 276px;
    /* animation: accslide 30s infinite; */
}
/* .accads .slideshow img { animation: accslide 10s infinite; } */
/*
.accads .slideshow img:nth-child(2) { animation-delay: -5s; }
.accads .slideshow img:nth-child(3) { animation-delay: -10s; }
.accads .slideshow img:nth-child(4) { animation-delay: -15s; }
.accads .slideshow img:nth-child(5) { animation-delay: -20s; }
.accads .slideshow img:nth-child(6) { animation-delay: -25s; }
*/

@keyframes accslide {
    0% { transform: translateX(0px); }
    20% { transform: translateX(0px); }
    25% { transform: translateX(-1036px); opacity: 1; }
    30% { transform: translateX(-1036px); opacity: 0; }
    90% { transform: translateX(1036px); opacity: 0; }
    95% { transform: translateX(1036px); opacity: 1; }
    100% { transform: translateX(0px); opacity: 1; }
}

/* ******************************************
    ACCESSORIES
   *************************************** */
.accessories extra_header {
/*
    position: absolute;
    top: 50px;
*/
    width: 100vw;
    background: gainsboro;
}

/* simulate click */
#catbut { display: none; }
#catbut:checked + .catblock_con {
    display: block !important;
}
/* ************** */
.filters {
    width: 100vw;
}
.filters .bike_choice, .filters .accessory_choice {
    display: inline-block;
    width: 48%;
    overflow: hidden;
    height: 40px;
    float: left;
}
.inline { display: inline-block; }
.filters .catacc { 
    max-width: calc(100% - 146px); 
    padding-top: 8px;
    height: 28px;
    overflow: hidden;
}
/* .filters .bike_choice div, .filters .accessory_choice div, .filters .bike_choice label, .filters .accessory_choice label { display: inline-block; }
 */
@media only screen and (max-width: 719px) {
    .filters .bike_choice div, .filters .accessory_choice .catacc { display: none; }
    .filters .accessory_choice { 
        margin-top: 0 !important;
        padding-top: 5px !important;
    }
}
.filters .bike_choice {
    display: inline-block;
    padding-left: 1%;
    padding-top: 5px;
}
.filters .accessory_choice {
    display: inline-block;
    padding-right: 1%;
    padding-top: 0px;
    margin-top: -5px;
    text-align: right;
}
.filters .accessory_choice label, .filters .bike_choice a {
    cursor: pointer;
    border: 1px solid black;
    background-color: black;
    color: white;
    padding: 2px 4px !important;
}
.filters .accessory_choice label {
    padding: 4px;
    -webkit-appearance: none;
}

.filters .bike_choice a {
    -webkit-appearance: none;
    font-family: Verdana,Arial,sans-serif !important;
    font-size: 1em;
    text-decoration: none;
    color: white;
}

.bikemodel, .catsubs {
    position: absolute;;
}

.catblock_con {
    position: absolute;
    top: 0px; /*  50px; */
height: calc(100vh - 50px);
    left: 0;
    width: 98%;
    padding-left: 4px;
    /* background: #e5e5e5; */
    color: black;
    border: 1px solid black;
    text-align: left;
    z-index: 99;
    display: none !important;
    /* opacity: 0; */
}
.catblock_wrapper {
    height: 100%;
    overflow-y: auto;
    margin-top: 12px;
    height: calc(100% - 36px);
}
.catblock_con .catblock_hdr {
    margin-top: 6px;
    margin-bottom: -6px;
    background-color: rgba(255,255,255,.65) !important;
}
.catblock_con label.close {
    background-repeat: no-repeat;
    background-position: center;
    background-size: 32px 32px !important;
    background-color: transparent !important;
    border: 0;
    width: 32px;
    height: 32px;
    position: absolute;
    display: block !important;
    top: 2px;
    right: 2px;
    cursor: pointer;
    padding: 0;
}
.catblock_con label.close.white { background-image: url(images/close_white_32.png); }
.catblock_con label.close.black { background-image: url(images/close_black_32.png); }

.catblock .topcats {
    background: black;
    color: #43D9DD;
    cursor: pointer;
    padding: 4px;
}
.catblock button {
    cursor: pointer;
    font-size: 1.2em;
    margin-right: 2px;
    margin-bottom: 2px;
    /* height: 58px; */
    min-height: 40px;
    overflow: visible;
    -webkit-appearance: none;
    background: whitesmoke;
}

.featured_title {
    padding-left: 15px;
/*
    color: #43D9DD;
*/
    background: white;
    margin-top: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
    letter-spacing: 1px;
    border-top: 1px solid silver;
}
.cat_display {
    display: grid;
    grid-gap: 15px; 
    overflow: hidden;
    /* grid-template-columns: repeat(auto-fill, 200px); */
    /* grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); */
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    /* grid-template-columns: repeat(auto-fit, minmax(300px, 1fr) 150px); */
    grid-auto-flow: dense;
    
    margin: 0px 10px;
}
a.item {
    text-decoration: none;
    color: black;
}
.cat_display a.item.product { text-align: center; }
.cat_display a.item.product ul { text-align: left; }
.item {
    display: block;
    /* display: inline-table; */
    border: 1px solid silver;
    background-color: white; /* rgba(255,255,255,.45); */
    /* cursor: pointer; */
    overflow: hidden;
}
.item.banner {
    grid-column: span 2;
}
.item:hover { background-color: whitesmoke; }
.img_con {
    /* max-width: 100%; */
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}
.item img {
    /* max-width: 100%; */
    width: 100%;
    /* max-height: 138px; */ /* 276px; */
}
.cat_title {
    padding-left: 4px;
    padding-right: 4px;
    padding-top: 12px;
    padding-bottom: 12px;
    letter-spacing: 1px;
}
.summary .cat_title {
    padding-top: 6px;
    margin-top: -9px;
    background: #454545;
    color: whitesmoke;
}
.item.product .cat_title { letter-spacing: 0px; }
.cat_price {
    padding-left: 6px;
    padding-bottom: 6px;
}
.cat_descr {
    font-size: 0.8em;
    padding-left: 6px;
    padding-right: 6px;
    padding-bottom: 6px;
    max-width: 100%;
    overflow: hidden;
}
.cat_descr img {
    max-width: 100%;
    height: auto !important;
}

.products {
    /* display: table; */
    width: 100%;
    background: white;
    color: black;
}

.products .gallery {
    /* width: 35% !important; */ /* 480px; */
}

.leftcol {
    display: block;
    width:100%; 
    max-width:480px;
    margin-left: auto;
    margin-right: auto;
}
.summary {
    /* float: left; */
    font-size: 1em;
    /* width: calc(100% - 484px); */
    width: 100%;
    /* width: calc(100% - 484px - 28%); */
    /* width: calc((100% - 488px) / 2); */
    padding-left: 12px;
    padding-right: 12px;
    /* margin-top: 75px; */
    margin-bottom: 3px !important;
    background: whitesmoke;
}

.details {
    /* float: left; */
    /* width: calc(100% - 484px); */
    width: 100%;
    font-size: 1.2em;
    padding-top: 12px;
    padding-left: 12px;
    padding-right: 12px;
    letter-spacing: 1px;
    /* clear: both; */
}

.products .cat_title.smalltop { text-align: center; }

/*
@media only screen and (max-width: 640px) {
    .summary { 
        width: 100% !important; 
        font-size: 1em !important;
        margin-top: 6px;
    }
    .details { width: 100%; }
}
@media only screen and (min-width: 720px) {
    .summary { 
        width: calc(100% - 484px); 
        margin-top: 6px;
    }
    .details { width: calc(100% - 484px); }
}
*/
@media only screen and (max-width: 480px) {
    .details { padding-top: 65px; }
}

@media only screen and (min-width: 900px) {
    .leftcol { 
        /* width: calc(100% - 504px); */
        float: left;
        font-size: 1.2em;
    }
    .details { float: left; width: calc(100% - 504px); padding-top: 0; padding-left: 50px; }
    /* .products .mail.top { display: block; } */
    #swipeGallery {
        /* margin:0 0 20px 0 !important;  */
        /* margin-left: 20px !important; */
        padding-left: 20px;
        /* float: left; */
    }
    .products .cat_title.smalltop { display: none; }
}

.products .details img { max-width: 100%; }

.products .mail {
    /* float: left; */
    font-size: 1em;
    width: 240px;
    /* width: calc((100% - 488px) / 2); */
    padding: 6px;
    border: 1px #454545 dashed;
    margin-left: auto;
    margin-right: auto;
    margin-top: 6px;
    display: block;
    text-align: center;
    clear: both;
}

.products .mail p {
    margin-top: 6px;
    margin-bottom: 3px;
}
a.menuitem {
    text-decoration: none;
    color: black;
}
header a.menuitem {
    color: black; /* white; */
    width: 70px;
}

@media only screen and (max-width: 530px) {
    header a.menuitem { width: 60px; }
    .menu_con .menuitem .btn_txt_bottom { font-size: 9px; }
}


#content .menuitem.contact .but {
    width: 48px;
    height: 48px;
    border: 1px solid;
}

.fitting {
    padding-top: 12px;
}
.fitting iframe { width: 100% !important; }

.breadcrumbs {
    padding-top: 6px;
    padding-bottom: 6px;
    padding-left: 12px;
    background: #e5e5e5;
    color: black;
}
.breadcrumbs a {
    text-decoration: none;
    color: black;;
    text-transform: uppercase;
    /* font-size: 0.9em; */
}
.breadcrumbs a:hover { color: #656565; }
.breadcrumbs button {
    float: right;
    margin-right: 6px;
    cursor: pointer;
    background: white;
    color: black;
    height: 30px;
    margin-top: -6px;
}
.breadcrumbs button:hover {
    background: #e5e5e5;
    color: black;
}
.country_plans .breadcrumbs select { height: 26px; }
.country_plans .breadcrumbs button {
    height: 24px !important;
    margin-top: 0px !important;
}

/* ******************************************
    CSS ONLY GALLERY
   *************************************** */
div#swipeGallery {
    display: table-cell;
    width:480px;; 
    max-width:100%; 
    margin-left: auto;
    margin-right: auto;
}

div#thumbHolder {height:75px; width:100%; background:#fff; text-align:center; overflow:hidden; position:relative; }
div#thumbHolder ul {height:75px; padding:0; margin:0; list-style:none; white-space:nowrap; overflow-y:hidden; overflow-x:auto; text-align:center; -webkit-overflow-scrolling: touch;
scroll-behavior: smooth;
}

/* div#thumbHolder ul li {display:inline-block; vertical-align:top; padding:5px 4px;max-width: calc((100% - 40px) / 6);border-left:1px solid white;} */
div#thumbHolder ul li {display:inline-block; vertical-align:top; padding:5px 4px;border-left:1px solid white;}
div#thumbHolder ul li:first-child {padding-left:0;}
div#thumbHolder ul li:last-child {padding-right:0;}

div#thumbHolder ul li img {display:block; margin:0 auto; max-width:100%; height:50px; /* width:101px; */ cursor:pointer}
div#thumbHolder ul li:first-child {border-left:0;}

div#fullHolder {width:100%; max-width:640px; max-height:480px; padding-bottom:65%; position:relative; margin-left:auto; margin-right: auto;}
div#fullHolder ul {padding:0; margin:0; list-style:none;}
div#fullHolder ul li {position:absolute; left:0; top:0; width: 100%; }
div#fullHolder ul li div {display:block; opacity:0; transition:0.5s; width:100%;}
div#fullHolder ul li div img {display:block; padding-bottom:5px; max-width:100%; max-height:480px; margin-left: auto; margin-right: auto; }
div#fullHolder ul li div span {display:block; text-align:center; font:normal 14px/18px open-sans, helvetica, arial, sans-serif; color:#444; text-rendering: optimizelegibility;}
div#fullHolder ul li input {display:none;}
div#fullHolder ul li input:checked + div {opacity:1;}

/* ******************************************
    HORIZONTAL TICKER
   *************************************** */
* { box-sizing: border-box; }

@-webkit-keyframes ticker {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    visibility: visible;
  }

  100% {
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }
}

@keyframes ticker {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    visibility: visible;
  }

  100% {
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }
}

.ticker_con {
    width: 100vw;
    height:32px;
    overflow: hidden;
    margin-top: -5px;
    /* margin-bottom: 1px; */
}
.ticker-wrap {
    /* position: fixed; */
    /* bottom: 0; */
    display: block;
    width: 100vw;
    height: 32px; /* 2rem; */
    overflow: hidden;
    /* background-color: rgba(67,217,221,0.9);  */
    background-color: red; 
    padding-left: 100%;
    box-sizing: content-box;
}
.ticker-wrap .ticker_close {
    position: absolute;
    top: -1px;
    right: 3px;
    width: 32px;
    height: 32px;
    cursor: pointer;
}
.ticker-wrap .ticker, .ticker-wrap .ticker_edit {
    display: inline-block;
    height: 2rem;
    line-height: 2rem;  
}
.ticker-wrap .ticker {

    white-space: nowrap;
    padding-right: 100%; /* 100%; */
    box-sizing: content-box;

    -webkit-animation-iteration-count: infinite; 
            animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
            animation-timing-function: linear;
    -webkit-animation-name: ticker;
           animation-name: ticker;
    -webkit-animation-duration: 20s;
            animation-duration: 20s; /* 20s; */
}
.ticker-wrap .ticker .ticker__item {

    display: inline-block;

    padding: 0 1rem;
    font-size: 1rem;
    color: white;   

}



/* ******************************************
    MISC
   *************************************** */
.rounded {
    -moz-border-radius:6px;
    -webkit-border-radius:6px;
    border-radius: 6px;
}

.shadow {
    -webkit-box-shadow: 3px 2px 2px 2px rgba(22,22,22,1);
    -moz-box-shadow: 3px 2px 2px 2px rgba(22,22,22,1);
    box-shadow: 3px 2px 2px 2px rgba(22,22,22,1);
}

/* ******************************************
    COLUMNS
   *************************************** */

/*  COLUMN SETUP  */
.col {
	display: block;
	float:left;
	margin: 1% 0 1% 1.6%;
}
.col:first-child { margin-left: 0; }

/*  GROUPING  */
.group:before,
.group:after { content:""; display:table; }
.group:after { clear:both;}
.group { zoom:1; /* For IE 6/7 */ }

/*  GRID OF TWO  */
.span_2_of_2 {
	width: 100%;
        margin: 1% 1% 1% 0.6%;
}
.span_1_of_2 {
	width: 49.2%;
}
#infopanel .bin_edits .span_1_of_2.raiseup { margin-top: -48px !important; }
@media only screen and (max-width: 600px) {
    .span_2_of_2, .span_1_of_2 { 
        width: 100%; 
    }
    #infopanel .bin_edits .span_1_of_2.raiseup { margin-top: 0px !important; }
}

/*  GRID OF THREE  */
.ad_info_con .span_3_of_3 { width: 96%; }
.ad_info_con .span_2_of_3 { width: 64%; }
.ad_info_con .span_1_of_3 { width: 32%; }

.span_3_of_3 { width: 100%; }
.span_2_of_3 { width: 66.13%; }
.span_1_of_3 { width: 32.26%; }

/*  GO FULL WIDTH AT LESS THAN 480 PIXELS */

/* @media only screen and (max-width: 480px) { */
@media only screen and (max-width: 640px) { 
	.col { 
		margin: 1% 0 1% 0%;
	}
        .flowpad { margin-top: 0px !important; }
        .lastcol { width: 100%; }
	/* .span_2_of_2, .span_1_of_2 { width: 100%; } */
	.ad_info_con .span_3_of_3, .ad_info_con .span_2_of_3, .ad_info_con .span_1_of_3 { width: 98%; }
	.span_3_of_3, .span_2_of_3, .span_1_of_3 { width: 100%; }
}

/*  GRID OF FOUR  */
.span_4_of_4 {
	width: 100%;
}
.span_3_of_4 {
	width: 74.6%;
}
.span_2_of_4 {
	width: 49.2%;
}
.span_1_of_4 {
	width: 23.8%;
}

/*  GO FULL WIDTH BELOW 480 PIXELS */
@media only screen and (max-width: 520px) {
	.col {  margin: 1% 0 1% 0%; }
	.span_1_of_4, .span_2_of_4, .span_3_of_4, .span_4_of_4 { width: 100%; }
}
/*  GO TO 2 COLS WIDTH BELOW 640 PIXELS */
@media only screen and (min-width: 520px) and (max-width: 760px) {
	.col.span_1_of_4, .col.span_2_of_4, .col.span_3_of_4, .col.span_4_of_4 {  margin: 1% 0 1% 0%; }
        .span_1_of_4 { width: 49.2%; }
	.span_2_of_4, .span_3_of_4 { width: 100%; }
}


