@import url(//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css);
/* read it later buttons */
a.read-it-later-btn:before { display: none; }
.post-meta a.read-it-later-btn {
    font-family: "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif;
    font-weight: normal;
    font-size: 0.75em;
    color: #b4b4b4;
    text-decoration: none;
    display: inline-block;
    height: 16px;
    line-height: 16px;
    padding-left: 20px;
    background: transparent left center url('/wp-content/themes/oligarh/images/icons/clock.svg') no-repeat;
    cursor:pointer;
}
a.read-it-later-btn:hover,
a.read-it-later-btn.ril-remove
{
    background: transparent left center url('/wp-content/themes/oligarh/images/icons/clock_active.svg') no-repeat;
    color: #777777;
}
a.read-it-later-btn.ril-add
{
    background: transparent left center url('/wp-content/themes/oligarh/images/icons/clock.svg') no-repeat;
    color: #b4b4b4;
}
.read-it-later-btn > span { display: none; }
.read-it-later-btn.ril-add > span:nth-child(1) { display: inline; }
.read-it-later-btn.ril-remove > span:nth-child(2) { display: inline; }
.read-it-later-btn.ril-wait > span:nth-child(3) { display: inline; }
.read-it-later-btn.ril-wait {
    pointer-events: none;
}
.ril-disabled {
    pointer-events: none;
}

.ril-show-posts ul.ril-posts {
    list-style: none;
    margin: 0 -10px;
    padding: 0;
	height: 100%;
    clear: both;
}

.ril-show-posts div.ril-posts > .ril-post-item {
    width: 33.33%;
    float: left;
    box-sizing: border-box;
}


.ril-show-posts ul.ril-posts li a { text-decoration: none; }


.ril-show-posts  div.ril-posts > div h2 {
    font-size: 1em;
    font-family: 'Georgia Bold';
    color: #555555;
    line-height: 20px;
}
.ril-show-posts div.ril-posts div .ril-excerpt {
    font-size: 0.875em;
    font-family: 'Roboto';
    color: #777777;
    margin: 10px 0 10px 0;
    line-height: 18px;
}

.ril-show-posts ul.ril-posts li.ril-no-posts {
    display: none;
    width: 100%;
}
.ril-show-posts ul.ril-posts li.ril-no-posts:first-child {
    display: block;
}
.cfix-col-2{
    display:none;
}
.cfix-col-3{
    display:block;
}
.ril-post-item label[for^="ril-"]{
    position: absolute;
    height: 15px;
    width: 15px;
    padding: 2px;
    text-align: center;
    top: 0;
    right: 0;
    margin: auto;
    border: 2px solid #cccccc;
    border-radius: 4px;
}
.ril-post-item input[id^="ril-"][type=checkbox]{
    display:none;
}
.ril-post-item input[id^="ril-"][type=checkbox]:checked + label[for^="ril-"]:before{
    content: "";
    position: absolute;
    bottom: 2px;
    right: -2px;
    margin: auto;
    height: 15px;
    width: 15px;
    display: inline-block;
    font-family: FontAwesome;
}

.ril-post-item input[id^="ril-"][type=checkbox]:checked + label[for^="ril-"]:before{
    content: "\f00c";
}

.check-wpapper{
    position: absolute;
    background-color: #ffffff;
    display: block;
    width: 30px;
    height: 30px;
    border-bottom-left-radius: 10px;
}

.check-wpapper input{
    position: absolute;
    top: -2px;
    right: -2px;
}
@media only screen and (min-width:801px){

    .ril-show-posts div.ril-posts > .ril-post-item:nth-of-type(3n+1) {
        padding: 10px 10px 0 0;
    }
    .ril-show-posts div.ril-posts > .ril-post-item:nth-of-type(3n+2) {
        padding: 10px 5px 0 5px;
    }
    .ril-show-posts div.ril-posts > .ril-post-item:nth-of-type(3n) {
        padding: 10px 0 0 10px;
    }
    .ril-show-posts div.ril-posts > .ril-post-item:nth-of-type(3n+1) .check-wpapper {
        top:10px;
        right:10px;
    }
    .ril-show-posts div.ril-posts > .ril-post-item:nth-of-type(3n+2) .check-wpapper {
        top:10px;
        right:5px;
    }
    .ril-show-posts div.ril-posts > .ril-post-item:nth-of-type(3n) .check-wpapper {
        top:10px;
        right:0;
    }

}
@media only screen and (max-width:800px){
    .post-meta a.read-it-later-btn {
        font-size: 1em;
    }
    .ril-post-item input[id^="ril-"][type=checkbox]:checked + label[for^="ril-"]:before{
        bottom: 0px;
        right: -2px;
        height: 20px;
        width: 20px;
    }
    .ril-post-item label[for^="ril-"]{
        height: 20px;
        width: 20px;
    }
    .ril-show-posts div.ril-posts > .ril-post-item{
        width:     50%;
        float:     left;
        box-sizing:border-box;
    }
    .ril-posts .cfix-col-2{
        display:block;
    }
    .ril-posts .cfix-col-3{
        display:none;
    }
    .listing-item-tb-1 .cfix-col-2{
        display:none;
    }
    .listing-item-tb-1 .cfix-col-3{
        display:none;
    }
    .page-id-10757 .listing-thumbnail a.read-it-later-btn {
        padding-top: 14px;;
        padding-left: 55px !important;
        height: 45px;
    }
    .page-id-10757 .listing-item-tb-1 .title {
        min-height: 60px;
        padding-bottom: 10px;
    }
    .post-meta a.read-it-later-btn {
        padding-top: 14px;
        padding-left: 55px;
        height: 45px;
    }
    .post-meta a span, .post-meta time
    {

        font-weight: 400;
        font-size: 1em;
    }

}
@media only screen and (max-width:800px) and (min-width: 426px){
    .page-id-10757 .listing-tb-1 .cfix-col-2{
        display:block;
    }

    .ril-show-posts div.ril-posts > .ril-post-item:nth-of-type(odd){
        padding:   22px 22px 0 0;
    }
    .ril-show-posts div.ril-posts > .ril-post-item:nth-of-type(even){
        padding:   22px 0 0 22px;
    }
    .ril-show-posts div.ril-posts > .ril-post-item:nth-of-type(odd) .check-wpapper{
        top: 22px;
        right: 22px;
    }
    .ril-show-posts div.ril-posts > .ril-post-item:nth-of-type(even) .check-wpapper{
        top: 22px;
        right: 0;
    }

    /*
    .ril-post-item:nth-of-type(odd){
        padding:   22px 22px 0 0;
    }
    .ril-post-item:nth-of-type(even){
        padding:   22px 0 0 22px;
    }*/
}
@media only screen and (max-width: 425px){

    .ril-show-posts div.ril-posts > div:not(.clearfix) {
        width: 100%;
        float: left;
        box-sizing: border-box;
        padding: 0;
        margin-top:20px;
    }
    .ril-posts .cfix-col-3{
        display:none;
    }
    .ril-posts .cfix-col-2{
        display:none;
    }

    .listing-item-tb-1 .cfix-col-2{
        display:none;
    }
    .listing-item-tb-1 .cfix-col-3{
        display:none;
    } 
    .check-wpapper{
        top: 0;
        right: 0;
    }

}
