/*
 ____                 _     
| __ ) _ __ _____   _(_)___ 
|  _ \| '__/ _ \ \ / / / __|
| |_) | | |  __/\ V /| \__ \
|____/|_|  \___| \_/ |_|___/
                
CSS File - These are the styles for the statistics page.
*/

/* Constituent elements and inputs */
h3 span.label {
	width:100px;
	display:inline-block;
}

ul.toggle_display {
	display:none;
	list-style-type:none;
	margin-left:0;
	margin-right:23px;
	padding:12px 5px 3px;
}
ul.toggle_display li {
	padding:0;
}
#tabs ul#headers li, #tabs ul#headers li h2, #stats_lines li{
	display: inline;
	margin-right: 10px;
}
#tabs ul#headers {
	border-bottom:1px solid #E3F3FF;
	padding:12px 5px 3px 5px;
	float:left;
}
.wrap_unfloat {
	overflow:hidden;
    margin-bottom: 28px;
    margin-top: 20px;
}
.wrap_unfloat li {
    height: 47px !important;
    width: 100% !important;
    background: transparent !important;
    border-left: 4px solid transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.wrap_unfloat li:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
#stats_lines li {
    height: 40px!important;
    width: auto;
    margin-right: 13px !important;
}
#tabs ul#headers li a {
	color:#595441;
	border:1px solid #C7E7FF;
	-moz-border-radius:10px 10px 0 0;
	-webkit-border-radius:10px 10px 0 0;
	border-radius:10px 10px 0 0;
	padding:10px 5px 5px 15px;
	background:transparent;
}

#tabs ul#headers li a:hover {
	text-decoration:none;
	background: rgba(187, 187, 187, 0.15);
}

#tabs ul#headers li a.selected {
	border-bottom:2px solid #fff;
}

#tabs ul#headers li a.selected:hover {
}
.stats_line_graph {
    width: 80%;
    margin-top: 115px;
}
#visualization_stat_tab_location_map {
    margin-top: 45px;
    margin-bottom: 30px;
}
#visualization_stat_tab_location_pie, #visualization_stat_tab_source_ref, #visualization_stat_tab_source_direct {
    width: 160px;
    margin: 0 auto;
}
#stats_lines li a {
	border-radius: 5px;
	padding: 0.4em 1.05em;
    color: #eee;
	background: transparent;
	border: 3px solid #eee;
    -webkit-transition: all 200ms ease-in;
    -moz-transition: all 200ms ease-in;
    -ms-transition: all 200ms ease-in;
    -o-transition: all 200ms ease-in;
    transition: all 200ms ease-in;
}
#stats_lines li a:hover {
	text-decoration:none;
    color: #fff;
	background: rgba(187, 187, 187, 0.15);
}
#stats_lines li a.selected {
	background: transparent;
    color: #00A8E8;
	border: 3px solid #00A8E8;
}
.tab {
	padding:10px;
}
li.sites_list img, #longurl img {width:16px; height: 16px; display:inline-block;}

#referrer_cell { min-width: 300px;}

#details_clicks li.bestday, #details_clicks li span.best_month, #details_clicks li span.best_year    {
	font-weight:bold;
}

ul.no_bullet {
	list-style-type: none;
	margin-left:0;
	padding:0;
}
ul.no_bullet li {
	margin-bottom:5px;
}
#historical_clicks {
	float:left;
	margin:0;
}
@media (max-width: 1000px) {
    #historical_clicks {
        width: 100%;
    }
}
#historical_clicks li {
	padding:2px 10px;
	margin:0;
}
#historical_clicks li:hover {
	background: rgba(255, 255, 255, 0.1) !important;
    border-left: 4px solid #007EA7;
}
#historical_clicks span.historical_link {
	min-width:130px;
	display:inline-block;
}
#historical_clicks span.historical_count {
	min-width:100px;
	display:inline-block;
}
#stat_tab_stats, #stat_tab_location, #stat_tab_sources {
    opacity: 1 !important;
    display: block;
    width: 790px;
    position: static;
    padding: 15px 0 0 0!important;
}
@media (min-width: 1115px) and (max-width: 1230px) {
    #stat_tab_stats, #stat_tab_location, #stat_tab_sources {
        width: 100%;
    }  
}
@media (min-width: 640px) and (max-width: 1115px) {
    #stat_tab_stats, #stat_tab_location, #stat_tab_sources {
        padding: 0!important;
    }  
}
@media (max-width: 1000px) {
    #stat_tab_stats, #stat_tab_location, #stat_tab_sources {
        width: 100%;
    }  
}
#stat_tab_stats div, #stat_tab_location div, #stat_tab_sources div  {
    opacity: 1 !important;
    position: static;
    padding: 0;
}
#stat_tab_stats h3, .info-stats h3 {
    color: #eee!important;
    font-size: 1.4em;
    text-align: left;
    border-bottom: 1px solid #626B74;
    padding-bottom: 13px;
    padding-left: 40px;
    margin-top: 0.5em;
}
@media (max-width: 640px) {
    #stat_tab_stats h3, .info-stats h3 {
        font-size: 1.2em;
        padding-bottom: 9px;
        padding-left: 30px;
        margin-top: 0.3em;
    }
}
.p_refdir {
    color: #eee !important;
    font-size: 14px;
    text-align: center;
    line-height: 32px;
    padding-bottom: 13px;
    margin-top: 1.2em;
}

/* Title Icons */
.ts_icon_historical {
    background: url("../images/time-icon.png") 11px 2px no-repeat;
    background-size: 15px;
}
.ts_icon_best {
    background: url("../images/best-icon.png") 11px 2px no-repeat;
    background-size: 15px;
}
.ts_icon_net {
    background: url("../images/internet-icon.png") 11px 2px no-repeat;
    background-size: 15px;
}
.ts_icon_world {
    background: url("../images/world-icon.png") 11px 2px no-repeat;
    background-size: 15px;
}
.ts_icon_ref {
    background: url("../images/ref-icon.png") 11px 2px no-repeat;
    background-size: 15px;
}
.ts_icon_refs {
    background: url("../images/referrer-icon.png") 11px 2px no-repeat;
    background-size: 15px;
}
.ts_icon_dr {
    background: url("../images/dr-icon.png") 11px 2px no-repeat;
    background-size: 15px;
}
@media (max-width: 640px) {
    .ts_icon_historical {
        background: url("../images/time-icon.png") 10px 2px no-repeat;
        background-size: 12px;
    }
    .ts_icon_best {
        background: url("../images/best-icon.png") 10px 2px no-repeat;
        background-size: 12px;
    }
    .ts_icon_world {
        background: url("../images/world-icon.png") 11px 2px no-repeat;
        background-size: 11px;
    }
    .ts_icon_ref {
        background: url("../images/ref-icon.png") 10px 1px no-repeat;
        background-size: 13px;
    }
    .ts_icon_refs {
        background: url("../images/referrer-icon.png") 11px 2px no-repeat;
        background-size: 11px;
    }
}

/* Tabs */
#stat_tab_stats p {
    font-size: 13px;
    text-align: left;
}
@media (max-width: 640px) {
    #stat_tab_stats p {
        padding-left: 3%;
        font-size: 0.9em;
    }
}
.info-stats {
    position: static!important;
    padding: 0!important;
}
.sleft {
    width: 60%!important;
    float: left!important;
    border-right: 2px solid #626B74;
    padding-right: 25px!important;
}
.sright {
    width: 40%!important;
    float: right!important;
    padding-left: 30px !important;
}
@media (min-width: 640px) and (max-width: 1000px) {
    #stat_tab_stats .sleft, #stat_tab_location .sleft {
        display: none;
    }
    #stat_tab_stats .sright, #stat_tab_location .sright {
        width: 100%!important;
        float: left!important;
        padding-left: 0!important;
    }
}
@media (max-width: 640px) {
    #stat_tab_stats .sleft, #stat_tab_location .sleft, #stat_tab_sources .sright {
        display: none;
    }
    #stat_tab_stats .sright, #stat_tab_location .sright, #stat_tab_sources .sleft {
        width: 100%!important;
        float: left!important;
        padding-left: 0!important;
    }
    #stat_tab_sources .sleft {
        border-right: 0 solid transparent;
    }
}
#details_countries {
    height: 170px;
    width: 300px;
    overflow: auto;
}
#details_referrers {
    height: 100px;
    width: 450px;
    overflow: auto;
}
@media (max-width: 1000px) {
    #details_countries, #details_referrers {
        height: auto;
        width: 100%;
        overflow: auto;
        padding-left: 3%!important;
        padding-right: 3%!important;
    }
}
#details_countries ul, #details_referrers ul {
    padding: 0;
}
#details_referrers ul {
    margin: 0;
}
#details_countries li {
    float: left !important;
    width: 50%;
    height: 25px;
    line-height: 25px;
    text-align: left;
    padding-left: 35px;
    background-size: 23px;
    background-repeat: no-repeat;
    background-position: 2px 3px;
}
#details_referrers li {
    float: left !important;
    width: 90%;
    height: 25px;
    line-height: 25px;
    text-align: left;
    font-size: 1.1em;
    padding-left: 32px;
    background-size: 18px;
    background-repeat: no-repeat;
    background-position: 2px 3px;
}
.details_urls li {
    font-size: 0.8em!important;
}

/* Tabs URL Result */
.section-us {
    position: relative;
	margin: 35px auto 0 auto;
	width: 100%;
}

.section-us:nth-of-type(1) {
	margin: 120px auto 0 auto;
}
@media (min-width: 640px) and (max-width: 1115px) {
    .section-us {
        margin: 30px auto 0 auto;
    }
    .section-us:nth-of-type(1) {
        margin: 115px auto 0 auto;
    }   
}
@media (max-width: 640px) {
    .section-us {
        margin: 18px auto 0 auto;
    }
    .section-us:nth-of-type(1) {
        margin: 60px auto 0 auto;
    }   
}
.section-us label {
	background: transparent;
	font-size: 15px;
	letter-spacing: 1px;
    font-weight: 400;
    font-family: 'Oswald', sans-serif;
	height: 40px;
	position: relative;
	padding: 0.4em 2.05em;
    border-radius: 5px 5px 0 0;
    float: left;
	display: block;
	width: 40%;
	color: #eee;
	text-transform: uppercase;
    text-align: center;
    border: 3px solid rgba(238, 238, 238, 0.8);
    -webkit-transition: all 200ms ease-in;
    -moz-transition: all 200ms ease-in;
    -ms-transition: all 200ms ease-in;
    -o-transition: all 200ms ease-in;
    transition: all 200ms ease-in;
    z-index: 2;
}
.section-us label:hover {
	background: rgba(187, 187, 187, 0.15);
	z-index: 6;
	color: #00A8E8;
    border: 3px solid #00A8E8;
}
@media (min-width: 640px) and (max-width: 1115px) {
    .section-us label {
        font-size: 13px;
        height: auto;
    }
}
@media (max-width: 640px) {
    .section-us label {
        font-size: 12px;
        width: 70%;
        height: auto;
        border: 2px solid rgba(238, 238, 238, 0.8);
    }
    .section-us label:hover {
        border: 2px solid #00A8E8;
    }
}

.section-us section {
	position: relative;
    width: 100%;
    top: -3px;
	z-index: 1;
	overflow: hidden;
    border: 3px solid #626B74;
    border-radius: 0 3px 3px 3px;
}
.section-us input, textarea {
    cursor: pointer;
    display: block;
    position: absolute;
    left: 0;
    margin: 24px 25px;
    padding: 0.70em 0.45em 0.72em 0.65em;
    width: 50%;
    border: 3px solid #ddd;
    background-color: #fff;
    color: #666;
    font-weight: 300;
    text-overflow: ellipsis;
    font-size: 1.4em;
    border-radius: 3px;
    text-align: left;
}
@media (max-width: 640px) {
    .section-us input {
        width: calc(95% - 50px);
    }
}
.section-us input:hover, .section-us input.hover {
	background: url("../images/copy.png") 95% no-repeat #fff;
    background-size: 11%;
}
.section-us input:focus {
	outline: none!important;
    margin: 24px 25px!important;
    border: 3px solid #ddd!important;
}
.section-us textarea:focus {
    margin: 24px 25px;
    outline: none;
    border: 3px solid #ddd;
}
@media (min-width: 640px) and (max-width: 800px) {
    #tweet_body {
        display: none;   
    }
}
@media (max-width: 640px) {
    .section-us input, textarea {
        margin: 18px 49px;
        padding: 0.60em 0.45em 0.62em 0.65em;
        border: 2px solid #ddd;
        font-size: 1.1em;
    }
    .section-us input:focus {
        margin: 18px 49px!important;
        border: 2px solid #ddd!important;
    }
    #tweet_body {
        display: none;   
    }
}
@media (min-width: 1230px) {
    .section-us textarea {
        max-width: 380px!important;
    }
}
@media (min-width: 800px) and (max-width: 1230px) {
    .section-us textarea {
        width: 45%!important;
    }
}
.copybox {
    height: 140px;
}
.sharebox {
    height: 190px;
}
@media (min-width: 640px) and (max-width: 750px) {
    .sharebox {
        height: auto;
        padding-bottom: 1.1em;
    }
}
@media (max-width: 640px) {
    .sharebox {
        height: auto;
        padding-bottom: 0.6em;
    }
    .copybox {
        height: auto;
        padding-bottom: 45px;
    }
}

/* Tabs URL Result - constituent elements */
.section-us h4 {
	font-family: 'Roboto', sans-serif;
    font-size: 1.3em;
    color: #ccc;
    padding: 25px 30px;
    line-height: 330px;
}
.section-us p {
    font-size: 1.4em;
    text-align: left;
    padding-left: 30px;
}
.orglink {
    margin-top: 90px;
}
.orglink a {
	width: 70%;
}
.sharethis {
    margin-top: 140px;
}
@media (min-width: 640px) and (max-width: 800px) {
    .sharethis {
        margin-top: 20px;
        line-height: 50px;
        padding-left: 150px !important;
    }
}
@media (max-width: 640px) {
    .section-us p {
        font-size: 1.1em;
        padding-left: 10px;
    }
    .orglink {
        margin-top: 70px;
        max-width: 97%;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }
    .sharethis {
        margin-top: 8px;
        line-height: 30px;
        padding-left: 90px!important;
    }
}

.section-us button {
    padding: 0.85em 2.05em;
    border-radius: 5px;
    letter-spacing: 1px;
    font-weight: 400;
    font-family: 'Oswald', sans-serif;
    font-size: 1.2em;
    cursor: pointer;
    text-transform: uppercase;
    -webkit-transition: all 200ms ease-in;
    -moz-transition: all 200ms ease-in;
    -ms-transition: all 200ms ease-in;
    -o-transition: all 200ms ease-in;
    transition: all 200ms ease-in;
    border: 3px solid #00A8E8;
    color: #00A8E8;
    background: transparent;
}
.section-us button:hover {
    background: rgba(187, 187, 187, 0.15);
    color: #32b9ec;
}
.viewstats {
    position: absolute;
    top: 21px;
    right: 215px;
}
.viewclicks {
    position: absolute;
    top: 21px;
    left: 570px;
}
@media (min-width: 640px) and (max-width: 1230px) {
   .viewclicks {
        position: absolute;
        top: 21px;
        left: calc(50% + 125px);
    }
    .section-us button {
        padding: 1.15em 1em;
        font-size: 1em;
    }
    .viewstats {
        position: absolute;
        top: 21px;
        left: calc(50% + 125px);
        right: auto;
    }
}
.viewclicks {
    padding: 0.53em 2.05em!important;
    font-size: 1.5em!important;
    border: 3px solid #eee!important;
    color: #00A8E8!important;
    display: inline;
}
@media (max-width: 640px) {
    .viewclicks {
        position: absolute;
        top: auto;
        bottom: 9px;
        left: 8px;
    }
    .viewclicks {
        padding: 0.54em 1.75em!important;
        font-size: 1em!important;
        border: 2px solid #eee!important;
    }
     .viewstats {
        position: absolute;
        top: auto;
        bottom: 9px;
        left: 8px;
        padding: 0.54em 1.75em!important;
        font-size: 1em!important;
        border: 2px solid #00A8E8!important;
    }
}
.viewclicks h6 {
    color: #eee;
    margin: 4px 0 0 7px;
    padding: 0;
    float: right;
}
.tweet {
    position: absolute;
    top: 21px;
    right: 350px;
}
@media (min-width: 800px) and (max-width: 1230px) {
    .tweet {
        position: absolute;
        top: 21px;
        left: calc(45% + 50px);
        right: auto;
        width: 65px;
    }
}
@media (max-width: 800px) {
    .tweet {
        display: none;
    }
}
.charcount {
    color: #ccc;
    position: absolute;
    right: 430px;
    top: 83px;
    font-family: 'Roboto', sans-serif;
    font-size: 1.2em;
}
@media (min-width: 800px) and (max-width: 1230px) {
   .charcount {
        right: auto;
        left: calc(45% + 53px);
    } 
}
@media (max-width: 800px) {
    .charcount {
        display: none;
    }
}
.charcount.negative {
	color:#e84000;
}

/* Icons */
.share-icons {
    padding: 14px 25px 14px 35px;
    background-size: 26px!important;
}
.share-icons:first-child {
    margin-left: 15px;
}
@media (max-width: 640px) {
    .share-icons {
        padding: 14px 10px 14px 25px;
        background-size: 20px!important;
    }
    .share-icons:first-child {
        margin-left: 10px;
    }
}

.share_tw {background:transparent url(../images/twitter.png) left center no-repeat; }
.share_fb {background:transparent url(../images/facebook.png) left center no-repeat; }
.share_gp {background:transparent url(../images/googleplus.png) left center no-repeat; }
.share_li {background:transparent url(../images/linkedin.png) left center no-repeat; }

.favicon-color {
    height: 51px;
    width: 51px;
    border-radius: 5px;
    position: absolute;
    top: 23px;
    right: 140px;
    border: 3px solid rgba(238, 238, 238, 0.3);
}
.stats-fi {
    right: 340px!important;
}
@media (min-width: 640px) and (max-width: 1230px) {
    .stats-fi, .favicon-color {
        left: calc(50% + 50px) !important;
        right: auto;
    }
}
@media (max-width: 640px) {
    .favicon-color {
        height: 30px;
        width: 30px;
        left: 10px;
        top: 20px;
        border: 2px solid rgba(238, 238, 238, 0.3);
    }
    .stats-fi {
        right: auto!important;
    }
}
.image-qr {
    width: 89px;
    height: 89px;
    background-position: center;
    background-size: 113px;
}
@media (max-width: 640px) {
    .image-qr {
        width: 65px;
        height: 65px;
        background-size: 85px;
    }
}
#qr-code-container {
    position: absolute;
    top: 24px;
    right: 232px;
    border: 3px solid #eee;
    background-color: #fff;
    border-radius: 5px;
}
@media (min-width: 800px) and (max-width: 1230px) {
    #qr-code-container {
        position: absolute;
        top: 24px;
        left: calc(45% + 140px);
        right: auto;
    }
}
@media (min-width: 640px) and (max-width: 800px) {
    #qr-code-container {
        position: absolute;
        top: 24px;
        left: 25px;
        right: auto;
    }
}
@media (max-width: 640px) {
    #qr-code-container {
        position: absolute;
        top: 10px;
        left: 10px;
        right: auto;
        border: 2px solid #eee;
    }
}
#screenshot-container {
    position: absolute;
    top: 24px;
    right: 32px;
    border: 3px solid #eee;
    background-color: #fff;
    border-radius: 5px;
}
#screenshot-container img {
    width: 160px;
    height: 86px;
}
@media (max-width: 800px) {
    #screenshot-container {
        display: none;
    }
}

/* Share */
#shareboxes, #tweet {
	overflow:hidden;
}

#shareboxes{
	margin-top:15px;
}
div.share {
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	border-radius:5px;
	border:2px solid #88c0eb;
	background:#fff;
	margin-right:1em;
	padding:0 1em;
	float:left;
	height:140px;
}
#origlink{
	display:inline-block;
	white-space:pre;
	width:183px;
	overflow:hidden;
	vertical-align:-2px;
}

#share_links a {
	padding:0 12px 0 18px;
	font-weight:bold
}
#share_links a:hover {
	background-position:2px center;
}