/*
 Theme Name:   Twenty Fifteen Child
 Theme URI:    https://rdnv.me
 Description:  Child theme, based on Twenty Fourteen
 Author:       Viacheslav Radionov
 Author URI:   http://danielpataki.com
 Template:     twentyfifteen
 Version:      20160113
 Text Domain:  twentyfifteen-rdnv
*/

/*
38.75em -> 620px
46.25em -> 740px
77.5em -> 1240px
*/

input::-moz-placeholder {
    color: #ccc;
    opacity: 1;
}

input:-ms-input-placeholder {
    color: #ccc;
}

input::-webkit-input-placeholder {
    color: #ccc;
}

input:focus::-webkit-input-placeholder {
    color: transparent;
    -webkit-transition: color 500ms ease-out;
    -o-transition: color 500ms ease-out;
    transition: color 500ms ease-out;
}

.entry-content a,
.entry-summary a,
.page-content a,
.comment-content a,
.pingback .comment-body > a {
	border-bottom: 1px solid #d3d3d3;
}

.entry-content a[href*="rdnv.me"],
.entry-summary a[href*="rdnv.me"],
.page-content a[href*="rdnv.me"],
.comment-content a[href*="rdnv.me"],
.pingback .comment-body > a[href*="rdnv.me"] {
	border-bottom-color: #333;
}

.entry-content sup {
    color: #ccc;
    padding-left: 5px;
}

    .entry-content sup a {
        color: inherit;
    }

.entry-content h2 sup {
    font-weight: normal;
    padding-left: 5px;
    color: #ccc;
    font-size: .5em;
    position: relative;
    top: -15px;
}

.wp-caption-text a {
	color: rgba(51, 51, 51, 0.7);
}

.post-navigation a:before {
    transition: all 0.2s;
}

.social-navigation a[href*="feedburner.com"]:before {
	content: '\f413';
}

.social-navigation a[href*="rdnv.me"]:before {
	content: '\f304';
}

.page,
.single {
    background-color: #fff;
}

.btn {
    cursor: pointer;
    display: inline-block;
    text-align: left;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 3px;
    transition: all 0.2s;
    white-space: nowrap;
    vertical-align: middle;
}

.btn-group {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
}

    .btn-group .btn+.btn,
    .btn-group .btn+.btn-group,
    .btn-group .btn-group+.btn,
    .btn-group .btn-group+.btn-group {
        margin-left: -1px;
    }

    .btn-group > .btn {
        position: relative;
        float: left;
        color: #777;
        border: 1px solid #ddd;
        background-image: none;
        line-height: 1.42857;
    }

        .btn-group > .btn:hover {
            border-bottom: 1px solid #ddd;
            color: #333;
        }

    .btn-group > .btn.btn-active {
        background-color: #eee;
        color: #333;
    }

    .btn-group > .btn:first-child {
        margin-left: 0;
    }

    .btn-group > .btn:first-child:not(:last-child) {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

    .btn-group > .btn:not(:first-child):not(:last-child) {
        border-radius: 0;
    }

    .btn-group > .btn:last-child:not(:first-child) {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

    .btn-group > .ellipsis {
        cursor: auto;
    }

.entry-footer {
    background-color: #f7f7f7;
}

@media screen and (min-width: 38.75em) {
    .page .hentry {
		padding-top: 0;
	}

    .page .hentry,
    .page .page-header,
    .page .page-content,
    .single .hentry,
    .single .page-header,
    .single .page-content {
        box-shadow: none;
    }

    .page .entry-header,
    .page .entry-content,
	.single .entry-header,
    .single .entry-content {
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 30px;
    }

    .page .entry-footer,
    .single .entry-footer {
        padding: 20px;
    }
}

@media screen and (min-width: 59.6875em) {
    .site-header {
        margin-bottom: 30px;
    }

	/*.site-content {
		float: left;
		margin-left: 0;
		width: 70.5882%;
	}

	.sidebar {
		float: right;
		right: 0;
		margin-right: 0;
		max-width: 413px;
		width: 29.4118%;
	}

	body:before {
		right: 0;
		left: auto;
	}

	.site-footer {
		margin: 0 0 0 6.1%;
	}*/
}

/* Disqus */

#disqus_thread {
	margin: 3% 7.6923%;
}

@media screen and (min-width: 38.75em) {
    #disqus_thread {
        padding: 3% 0;
        background-color: #fff;
    }
}

@media screen and (min-width: 59.6875em) {
	#disqus_thread {
		margin: 3% 8.3333%;
	}
}

/* Share */

.entry-share ul {
    list-style: none;
    padding: 0;
	margin: 0;
}

.entry-share ul li {
    float: left;
    margin-right: 10px;
	margin-bottom: 10px;

    font-family: "Noto Sans", sans-serif;
    font-size: 11px;
    font-weight: 700;
}

.entry-share ul li .btn {
    color: #777;
    border: 1px solid #ddd;
    text-transform: uppercase;
    background-image: none;
    line-height: 1.42857;
}

.entry-share ul li .btn:hover,
.entry-share ul li .btn:active {
    border-color: transparent;
    color: #fff;
}

.entry-share ul li .btn:focus {
    outline: 0;
}

.entry-share ul li .btn-vk:hover,
.entry-share ul li .btn-vk:active {
    background: #426b9a;
}

.entry-share ul li .btn-twitter:hover,
.entry-share ul li .btn-twitter:active {
    background: #00abed;
}

.entry-share ul li .btn-facebook:hover,
.entry-share ul li .btn-facebook:active {
    background: #4c68b3;
}

.entry-share ul li .btn i {
    padding-right: 5px;
}

.entry-share ul li .btn {
}

.entry-share ul li .btn .share-counter {
    padding-left: 15px;
    text-align: right;
    font-weight: 400;
}

/* Wrap video */

.video-container {
	position: relative;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
    padding-bottom: 50.25%;
    margin-bottom: 1em;
}

.video-container iframe,
.video-container object,
.video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Custom entry styles */

.entry-large-list li {
	padding-bottom: 15px;
}

/* Custom icons */

.entry-views {
    display: none;
    margin-right: 1em;
    white-space: nowrap;
}

.entry-views:before {
   	display: inline-block;
   	font-family: "Genericons";
   	font-size: 16px;
   	font-style: normal;
   	font-weight: normal;
   	font-variant: normal;
   	line-height: 1;
   	text-align: center;
   	text-decoration: inherit;
   	text-transform: none;
   	vertical-align: top;
}

.entry-views:before {
	margin-right: 2px;
	position: relative;
}

.entry-views:before {
	content: "\f403";
}

@media screen and (min-width: 46.25em) {
    .entry-views:before {
   		top: 3px;
   	}
}

@media screen and (min-width: 55em) {
    .entry-views:before {
   		top: 4px;
   	}
}

@media screen and (min-width: 59.6875em) {
    .entry-views:before {
   		top: 0;
   	}
}

@media screen and (min-width: 68.75em) {
    .entry-views:before {
   		top: 3px;
   	}
}

@media screen and (min-width: 77.5em) {
    .entry-views:before {
   		top: 4px;
   	}
}

.entry-views-counter {
    margin-left: 3px;
}

.entry-adv-post {
    padding-left: 10px;
    color: #707070;
    font-size: .7em;
    position: relative;
    top: -5px;
}

    .entry-adv-post a {
        color: #707070;
        text-decoration: none;
    }

        .entry-adv-post a:hover {
            color: #ccc;
        }

.entry-notes {
    color: #707070;
    font-size: .7em;
    padding-left: 1.5em;
}

/* Table styles */

@media screen and (max-width: 46.25em) {
    .table-td-50 {
        width: 50px;
    }

    .table-td-100 {
        width: 70px;
    }

    .table-td-150 {
        width: 110px;
    }

    #untappd td:nth-child(4),
    #untappd td:nth-child(5),
    #untappd th:nth-child(4),
    #untappd th:nth-child(5) {
        display: none;
    }

    #untappd td:nth-child(2),
    #untappd th:nth-child(2) {
        width: 120px !important;
    }

    #countries {
        font-size: 13px;
    }

    #countries .btn-group > .btn {
        padding: 5px 8px;
    }
}

@media screen and (min-width: 46.25em) {
    .table-td-50 {
        width: 60px;
    }

    .table-td-100 {
        width: 100px;
    }

    .table-td-150 {
        width: 150px;
    }

    .table-td-gray {
        color: #777;
    }
}

@media screen and (min-width: 77.5em) {
	.table-td-200 {
		width: 200px;
	}
	.table-td-300 {
		width: 250px;
	}
	.table-td-300 {
		width: 300px;
	}
	.table-td-350 {
		width: 350px;
	}
}

/* Auto-number table rows */

table.table-numbering {
    counter-reset: rowNumber;
}

table.table-numbering tr:not(.table-numbering-no) {
    counter-increment: rowNumber;
}

table.table-numbering tr:not(.table-numbering-no) th:first-child::before {
    content: counter(rowNumber);
}

/* Galleries */

.gallery-item {
	padding: 0;
	padding-right: 1%;
}

/* Quiz */

.single .type-test {
    padding: 0;
}

.single .type-test .entry-content > p {
    display: none;
}

/* Related posts */

.post-navigation-related {
    border: 0;
    margin-top: 10px;
    box-shadow: none;
}

.post-navigation-related .nav-links {
    border: 0;
}

.nav-post {
    float: left;
    width: 100%;
    height: 100px;
    background-position: center;
    background-size: cover;
    position: relative;
    border-bottom: 2px solid #fff;
}

.post-navigation-related div + div {
    border-bottom: 2px solid #fff;
}

@media screen and (min-width: 38.75em) {
    .nav-post {
        height: 220px;
        width: 33%;
        border: 2px solid #fff;
    }

    .post-navigation-related div + div {
        border: 2px solid #fff;
    }
}

.nav-post a {
    color: #fff;
}

.nav-post a:before {
    background-color: rgba(0, 0, 0, 0.4);
    box-shadow: none;
}

/* Untappd */

.dataTables_countries {
    float: left;
    margin-bottom: 10px;
}

.dataTables_filter {
    float: left;
    margin-top: -5px;
    margin-bottom: 10px;
    width: 100%;
}

.dataTables_filter input {
    background: none;
    width: 100%;
    padding: 6px;
    margin: -3px 0 0;
    border-radius: 3px;
}

.dataTables_paginate {
    width: 100%;
    float: left;
}

.dataTables_length {
    width: 100%;
    float: left;
}

.dataTables_length select {
    background: none;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.paginate_button.previous,
.paginate_button.next {
    display: none;
}

.sorting,
.sorting_asc,
.sorting_desc {
    cursor: pointer;
}

@media screen and (min-width: 38.75em) {
    .dataTables_length,
    .dataTables_paginate {
        width: 45%;
    }
    .dataTables_length {
        float: right;
    }
}

@media screen and (min-width: 77.5em) {
    .dataTables_filter {
        float: right;
        text-align: right;
        width: 340px;
        margin-top: 3px;
    }
}

/* Spinner */

.spinner {
    width: 40px;
    height: 40px;
    margin: 100px auto;
    background-color: #333;
    border-radius: 100%;
    -webkit-animation: sk-scaleout 1.0s infinite ease-in-out;
    animation: sk-scaleout 1.0s infinite ease-in-out;
}

@-webkit-keyframes sk-scaleout {
    0% { -webkit-transform: scale(0) }
    100% {
        -webkit-transform: scale(1.0);
        opacity: 0;
    }
}

@keyframes sk-scaleout {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
    } 100% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
        opacity: 0;
    }
}