﻿.nsticky {
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 0;
}

.sticky {
    position: fixed;
}

.storythumbnail {
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.divTLScroll {
    overflow-y: scroll;
    margin: 0;
    padding: 0px;
}

.twitterFont {
    font-size: 28px;
    color: #1DA1F2;
}

.twitterLabel {
    font-size: 16px;
    color: #1DA1F2;
}

.sidebarAd {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pad10 {
    padding: 10px;
}

small {
    font-size: smaller;
}

.clearTop {
    margin-top: 0;
}
/* Remove the navbar's default margin-bottom and rounded borders */
.navbar {
    margin-bottom: 0;
}

/* Set height of the grid so .sidenav can be 100% (adjust as needed) */
.row.content {
    height: 450px;
}

/* Set gray background color and 100% height */
.sidenav {
    padding-top: 20px;
    background-color: #f1f1f1;
    height: 100%;
}

/* Set black background color, white text and some padding */
footer {
    background-color: #555;
    color: white;
    padding: 15px;
}

.pfixed {
    position: fixed;
}
/* On small screens, set height to 'auto' for sidenav and grid */
/*  @media screen and (max-width: 767px) {
            .sidenav {
                height: auto;
                padding: 15px;
            }

            .row.content {
                height: auto;
            } 
        }*/

.back-to-top {
    margin: 0;
    position: fixed;
    bottom: 0;
    right: 0;
    /*width: 50px;
    height: 50px;
    z-index: 100;*/
    display: none;
    text-decoration: none;
    color: #4ABDAC;
}

    .back-to-top:hover {
        color: #3c3c3c;
    }

    .back-to-top i {
        font-size: 60px;
    }


/*snippets master styles*/
.vertical-menu {
    width: 200px;
    overflow-y: auto;
}

    .vertical-menu a {
        /*background-color: #eee;*/
        color: black;
        display: block;
        padding: 12px;
        text-decoration: none;
    }

        .vertical-menu a:hover {
            background-color: #ccc;
        }

        .vertical-menu a.active {
            background-color: black;
            color: white;
        }

/* Three columns side by side */
.uscolumn {
    float: left;
    width: 33.3%;
    margin-bottom: 16px;
    padding: 0 8px;
}

/* Display the columns below each other instead of side by side on small screens */
@media screen and (max-width: 650px) {
    .uscolumn {
        width: 100%;
        display: block;
    }
}

/* Add some shadows to create a card effect */
.uscard {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

/* Some left and right padding inside the container */
.uscontainer {
    padding: 0 16px;
}

    /* Clear floats */
    .uscontainer::after, .usrow::after {
        content: "";
        clear: both;
        display: table;
    }

.ustitle {
    color: grey;
}

.usbutton {
    border: none;
    outline: 0;
    display: inline-block;
    padding: 2px;
    color: white;
    background-color: #000;
    text-align: center;
    cursor: pointer;
    font-size: 10px;
}

    .usbutton:hover {
        background-color: #555;
    }

.htitle {
    cursor: pointer;
}


/*search bar*/
.search-container {
    border: unset;
}

.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.428571429;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 5px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


.form-control {
    font-size: 15px;
    color: #3C3C3C;
    background-color: #FFFFFF;
}

    .form-control:focus {
        /*background-color: #F2f2f2;*/
        outline: 0;
        -webkit-box-shadow: 0px 0px 5px 0px #999;
        -moz-box-shadow: 0px 0px 5px 0px #999;
        box-shadow: 0px 0px 5px 0px #999;
        /*
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
	background-color: #FFD13F;*/
    }

.input-lg:focus {
    border-color: #3c3c3c;
    /*background-color: #FFD13F;*/
}

.input-lg {
    border-radius: 2px;
}


.search-container input[type=text] {
    padding: 6px;
    margin-top: 8px;
    font-size: 17px;
}

.search-container button {
    padding: 6px 10px;
    margin-top: 8px;
    margin-right: 16px;
    background: #ddd;
    font-size: 17px;
    border: none;
    cursor: pointer;
}

    .search-container button:hover {
        background: #ccc;
    }

@media screen and (max-width: 600px) {
    .search-container {
        float: none;
    }

        .search-container button {
            float: none;
            display: block;
            text-align: left;
            width: 100%;
            margin: 0;
            padding: 14px;
        }

    input[type=text] {
        border: 1px solid #ccc;
    }
}

.avatar {
    vertical-align: middle;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.pleft {
    float: left;
}

q,
blockquote {
    quotes: "\201C" "\201D" "\2018" "\2019";
}

.chip {
    display: inline-block;
    padding: 0 25px;
    height: 50px;
    font-size: 16px;
    line-height: 50px;
    border-radius: 25px;
    background-color: #f1f1f1;
}

    .chip img {
        float: left;
        margin: 0 10px 0 -25px;
        height: 50px;
        width: 50px;
        border-radius: 50%;
    }


/*Flexbox styles*/
.frow {
    display: -ms-flexbox; /* IE10 */
    display: flex;
    -ms-flex-wrap: wrap; /* IE10 */
    flex-wrap: wrap;
    padding: 0 4px;
}

/* Create four equal columns that sits next to each other */
.fcolumn {
    -ms-flex: 25%; /* IE10 */
    flex: 25%;
    max-width: 25%;
    padding: 0 4px;
}

.fcard {
    margin-top: 8px;
    vertical-align: middle;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
    .fcolumn {
        -ms-flex: 50%;
        flex: 50%;
        max-width: 50%;
    }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .fcolumn {
        -ms-flex: 100%;
        flex: 100%;
        max-width: 100%;
    }
}


.hcard {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.hcolumn {
    float: left;
    width: 100%;
    margin-bottom: 16px;
    padding: 0 8px;
}

.hcol {
    margin-bottom: 16px;
    padding: 0 8px;
}

.hbar {
    width: 100%;
}

/* Clear floats */
.uscontainer::after, .usrow::after {
    content: "";
    clear: both;
    display: table;
}

.fa-heart-o:hover {
    color: red;
    cursor: pointer;
}

.fa-comment-o:hover {
    color: green;
    cursor: pointer;
}

/*User snippets search*/
.stbox {
    width: 130px;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    background-color: white;
    background-image: url('searchicon.png');
    background-position: 10px 10px;
    background-repeat: no-repeat;
    padding: 12px 20px 12px 40px;
    -webkit-transition: width 0.4s ease-in-out;
    transition: width 0.4s ease-in-out;
}

    .stbox:focus {
        width: 100%;
    }



/*comments css*/
.ccontainer {
    border: 2px solid #ccc;
    background-color: #eee;
    border-radius: 5px;
    padding: 16px;
    margin: 16px 0
}

    .ccontainer::after {
        content: "";
        clear: both;
        display: table;
    }

    .ccontainer img {
        float: left;
        margin-right: 20px;
        border-radius: 50%;
    }

    .ccontainer span {
        font-size: 20px;
        margin-right: 15px;
    }

@media (max-width: 500px) {
    .ccontainer {
        text-align: center;
    }

        .ccontainer img {
            margin: auto;
            float: none;
            display: block;
        }
}


/*login class*/
body {
    font-family: Arial, Helvetica, sans-serif;
}

* {
    box-sizing: border-box;
}

/* style the container */
.lcontainer {
    position: relative;
    border-radius: 5px;
    background-color: #f2f2f2;
    padding: 20px 0 30px 0;
    width: 50%;
}

/* style inputs and link buttons */
/*input,
.btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 4px;
    margin: 5px 0;
    opacity: 0.85;
    display: inline-block;
    font-size: 17px;
    line-height: 20px;
    text-decoration: none; /* remove underline from anchors */
}

  /*  input:hover,
    .btn:hover {
        opacity: 1;
    }*/

/* add appropriate colors to fb, twitter and google buttons */
.fb {
    background-color: #3B5998;
    color: white;
}

.twitter {
    background-color: #55ACEE;
    color: white;
}

.google {
    background-color: #dd4b39;
    color: white;
}

/* style the submit button */
input[type=submit] {
    cursor: pointer;
}


/* Two-column layout */
.lcol {
    float: none;
    width: 100%;
    margin: auto;
    padding: 0 50px;
    margin-top: 6px;
}

/* Clear floats after the columns */
.lrow:after {
    content: "";
    display: table;
    clear: both;
}

/* vertical line */
.vl {
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    border: 2px solid #ddd;
    height: 175px;
}

/* text inside the vertical line */
.vl-innertext {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    border-radius: 50%;
    padding: 8px 10px;
}

/* hide some text on medium and large screens */
.hide-md-lg {
    display: none;
}

/* bottom container */
.bottom-container {
    text-align: center;
    background-color: #666;
    border-radius: 0px 0px 4px 4px;
}

/* Responsive layout - when the screen is less than 650px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 650px) {
    .lcol {
        width: 100%;
        margin-top: 0;
    }
    /* hide the vertical line */
    .vl {
        display: none;
    }
    /* show the hidden text on small screens */
    .hide-md-lg {
        display: block;
        text-align: center;
    }
}

.center {
    position: absolute;
    left: 25%;
    top: 25%;
    width: 100%;
    text-align: center;
    font-size: 18px;
}


/*hover menu*/
.hnavbar {
    overflow: hidden;
    /*background-color: #333;*/
    
}

    .hnavbar a {
        float: left;
        font-size: 16px;
        color: #333;
        text-align: center;
        padding: 14px 16px;
        text-decoration: none;
    }

.hdropdown {
    float: left;
    overflow: hidden;
}

    .hdropdown .hdropbtn {
        font-size: 16px;
        border: none;
        outline: none;
        color: #333;
        padding: 14px 16px;
        background-color: white;
        font-family: inherit;
        margin: 0;
        
    }

    .hnavbar a:hover, .hdropdown:hover .hdropbtn {
        /*background-color: #999;*/
    }

.hdropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

    .hdropdown-content a {
        float: none;
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        text-align: left;
    }

        .hdropdown-content a:hover {
            background-color: #ddd;
        }

.hdropdown:hover .hdropdown-content {
    display: block;
}


.nul {
    text-decoration: none !important;
    color:#333;
}
