﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
    overflow-y: hidden;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 560px;
}

.navbar-inverse .navbar-nav > li > a:focus, .navbar-inverse .navbar-nav > li > a:hover {
    background-color: #fff;
    color: #0060ac !important;
}

.navbar-inverse .navbar-brand:focus, .navbar-inverse .navbar-brand:hover {
    background-color: #fff;
    color: #0060ac !important;
}

.skew {
    /*transform: skew(-18deg, 0deg);*/
    transform: skew(-8deg, 0deg);
    /*transform: perspective(160px) rotateX(-1deg) scale(1.1,1.1);*/
    box-shadow: 5px 5px 25px #cccccc;
}

.icon-flipped {
    transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
}

.vsimg {
    display: block;
    /*width: 100%;*/
    height: auto;
}

.vsoverlay {
    transition: .5s ease;
    filter: gray; /* IE6-9 */
    -webkit-filter: grayscale(1); /* Google Chrome, Safari 6+ & Opera 15+ */
    filter: grayscale(1); /* Microsoft Edge and Firefox 35+ */
    opacity: 0.5;
}

    .vsoverlay:hover {
        transition: .5s ease;
        -webkit-filter: grayscale(0);
        filter: none;
        opacity: 1;
    }

.btn:hover {
    border-color: #f08302
}


.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
    color: #fff;
    background-color: #f08302;
}

.nav-tabs > li > a {
    color: #000;
}

.nav {
    margin-bottom: 0;
}

    .nav > div.dropdown.open {
        position: static;
    }

        .nav > div.dropdown.open .dropdown-menu {
            display: block;
            width: 100%;
        }

.dropdown-menu > li {
    display: block;
}

.navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:hover, .navbar-inverse .navbar-nav > .open > a:focus {
    color: #fff;
    background-color: #fff;
}

#footer {
    position: fixed;
    left: 0px;
    bottom: 0px;
    height: 32px;
    width: 100%;
    background: #fff;
    color: #000;
    z-index: 1010;
}

#trendkeuzes {
    padding: 8px 0px 8px 0px;
    background: #fff;
    box-shadow: 16px 0px 8px 0px lightgrey;
    /*width: calc(100% - 440px);*/
    height: auto; /*178px;*/
    position: fixed;
    top: 51px;
    left: 0;
    right: 0;
    z-index: 1009;
    display: flex;
    align-items: center;
    -webkit-transition: all .15s linear;
    -moz-transition: all .15s linear;
    -o-transition: all .15s linear;
}


/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */
#sidebar {
    width: 364px;
    position: fixed;
    left: 32px;
    z-index: 999;
    background: #fff;
    color: #000;
    transition: all 0.3s;
}

    #sidebar.active {
        margin-left: -364px;
    }

    #sidebar .sidebar-header {
        padding: 20px;
        background: #eee;
    }

    #sidebar ul.components {
        padding: 20px 0;
        border-bottom: 1px solid #47748b;
    }

    #sidebar ul p {
        color: #000;
        padding: 10px;
    }

    #sidebar ul li a {
        padding: 10px;
        font-size: 1.1em;
        display: block;
    }

        #sidebar ul li a:hover {
            color: #7386D5;
            background: #fff;
        }

    #sidebar ul li.active > a, a[aria-expanded="true"] {
        color: #000;
        background: #eee;
    }


/*a[data-toggle="collapse"] {
    position: relative;
}

a[aria-expanded="false"]::before, a[aria-expanded="true"]::before {
    content: '\e259';
    display: block;
    position: absolute;
    right: 20px;
    font-family: 'Glyphicons Halflings';
    font-size: 0.6em;
}

a[aria-expanded="true"]::before {
    content: '\e260';
}


ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: #eee;
}

ul.CTAs {
    padding: 20px;
}

    ul.CTAs a {
        text-align: center;
        font-size: 0.9em !important;
        display: block;
        border-radius: 5px;
        margin-bottom: 5px;
    }

a.download {
    background: #fff;
    color: #7386D5;
}

a.article, a.article:hover {
    background: #eee !important;
    color: #000 !important;
}*/

/* ---------------------------------------------------
    TRENDCONTENT STYLE
----------------------------------------------------- */
#trendcontent {
    width: calc(100% - 364px);
    /*padding: 0px 2%;*/
    transition: all 0.3s;
    position: absolute;
    right: 0;
}

    #trendcontent.active {
        width: 100%;
    }

#sidebarCollapse {
    display: none;
}

#trendpagesmall {
    display: none;
}

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */
@media (max-width: 1020px) {
    #trendpage {
        display: none;
    }

    #trendpagesmall {
        display: block;
    }

    #sidebar {
        margin-left: -364px;
    }

        #sidebar.active {
            margin-left: 0;
        }

    #trendcontent {
        width: 100%;
    }

        #trendcontent.active {
            width: calc(100% - 364px);
        }

    #sidebarCollapse {
        display: block;
    }
}

/*.line-clamp {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow:hidden;
}*/

.line-clamp {
    position: relative;
    height: 5.6em; /* exactly three lines */
}

    .line-clamp:after {
        content: "";
        text-align: right;
        position: absolute;
        bottom: 0;
        right: 0;
        width: 70%;
        height: 1.2em;
        background: linear-gradient(to right, rgba(221, 221, 221, 0), rgba(221, 221, 221, 1) 50%);
    }

@supports (-webkit-line-clamp: 3) {
    .line-clamp {
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        max-height: 5.6em; /* I needed this to get it to work */
        height: auto;
    }
        .line-clamp:after {
            display: none;
        }
}

.child-element {
    pointer-events: none;
}

.mijntrend {
    border: solid #bbbbbb 1px;
    box-shadow: 2px 2px 8px #888888;
}

    .mijntrend.over {
        border: 1px dashed #000;
        box-shadow: 0px 0px 0px #888888;
    }

.tile {
    float: left;
    margin-right: 30px;
    text-decoration: none;
    background-color: #fff;
    cursor: pointer;
    width: 243px;
    margin-bottom: 32px;
}