@import url('https://fonts.googleapis.com/css?family=Roboto:200,400');
@import url('https://fonts.googleapis.com/css?family=Lato:100,300,400,700');

body {
    margin: 0px;
    max-width: 100%;
    max-height: 100%;
    background-color: #f2f2f2;
    overflow-x: hidden;
    overflow-y: hidden;
}

* {
    font-family: 'Lato', sans-serif;
    -webkit-overflow-scrolling: touch;
}

::-webkit-scrollbar {
    width: 0px;  /* remove scrollbar space */
    background: transparent;  /* optional: just make scrollbar invisible */
}

a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

input:focus {
    outline: none;
}

button {
    cursor: pointer;
}

button:focus {
    outline: none;
}

.animateTop {
    -webkit-transition: top 0.3s ease-out;
    -moz-transition: top 0.3s ease-out;
    -ms-transition: top 0.3s ease-out;
    -o-transition: top 0.3s ease-out;
    transition: top 0.3s ease-out;
}

.animateRight {
    -webkit-transition: right 0.3s ease-out;
    -moz-transition: right 0.3s ease-out;
    -ms-transition: right 0.3s ease-out;
    -o-transition: right 0.3s ease-out;
    transition: right 0.3s ease-out;
}

.animateAll {
    -webkit-transition: all 2s ease-in-out;
    -moz-transition: all 2s ease-in-out;
    -ms-transition: all 2s ease-in-out;
    -o-transition: all 2s ease-in-out;
    transition: all 2s ease-in-out;
}

.blurify {
    -webkit-filter: blur(5px);
    -moz-filter: blur(5px);
    -o-filter: blur(5px);
    -ms-filter: blur(5px);
    filter: blur(5px);
}


/*variables*/
:root{
    --menu-option-font-size: 1rem;
    --menu-option-close-font-size: 0.9rem;
    
    --card-title-font-size: 1rem;
    --card-title-line-height: 1.2rem;
    --card-title-lines-to-show: 2;
    
    --card-description-font-size: 0.8rem;
    --card-description-line-height: 1.3rem;
    --card-description-lines-to-show: 2;
    
    --card-type-font-size: 3.5rem;
    --card-buttons-font-size: 1.5rem;
    
    --card-gutter: 5px;
    
    --skim-width: 33.3333%;
    --skim-ratio: 110%;
    --skim-image-ratio: 70%; /*55%*/
    
    --skim-medium-width: 50%;
    --skim-medium-ratio: 72%;
    
    --skim-big-width: 66.6666%;
    --skim-big-ratio: 53.8%;
    --skim-big-image-ratio: 55%;
        
    --channel-width: 20%;
    --channel-ratio: 100%;
    
    --genre-width: 25%;
    --genre-ratio: 100%;
}

@media (max-width: 900px) {
    
    .genreContent h4 {
        font-size: 1.2rem;
    }
    
    :root{
        
        --card-gutter: 6px;
        
        --skim-width: 50%;
        --skim-ratio: 90%;
        --skim-image-ratio: 60%;
        
        --skim-medium-width: 50%;
        --skim-medium-ratio: 90%;
        
        --skim-big-width: 100%;
        --skim-big-ratio: 53%;
        --skim-big-image-ratio: 55%;
        
        --channel-width: 25%;
        --channel-ratio: 100%;
        
        --genre-width: 33.33334%;
        --genre-ratio: 100%;
    }
}

@media (max-width: 600px) {
    
    .genreContent h4 {
        font-size: 0.8rem;
    }
    
    :root{
        
        --card-gutter: 5px;
        
        --skim-width: 100%;
        --skim-ratio: 90%;
        --skim-image-ratio: 53%;
        
        --skim-medium-width: 100%;
        --skim-medium-ratio: 90%;
        
        --skim-big-width: 100%;
        --skim-big-ratio: 90%;
        --skim-big-image-ratio: 90%;
        
        --channel-width: 33.3333%;
        --channel-ratio: 100%;
        
        --genre-width: 50%;
        --genre-ratio: 100%;
    }
}

.red { background: red; }
.green { background: green; }


/* GENERAL CSS */

.container {    
    width: 100%;
    /*max-width: 900px;*/
    margin-top: 50px;
    /*margin-left: auto;*/
    /*margin-right: auto;*/
}

.TabContainerPure {
    height: calc(100% - 46px);
}

.TabContainerLandingSkims {
    height: 1350px;
}

.TabContainerLandingChannels {
    height: 600px;
}

.TabContainer {
    height: calc(100% - 82px);
}

.TabDoubleContainer {
    height: calc(100% - 130px);
}

.TabFollowContainer {
    height: calc(100% - 99px);
}

.TabContainerChannel {
    height: calc(100% - 200px);
}

.borderWrapper{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border-style: solid;
    border-width: 1px;
    border-color: #e5e5e5;
}

/* LISTMANAGER CSS */

.listManager {
    width: 100%;
    padding-bottom: 50px;
    overflow: 'scroll';
    /*max-width: 1000px;*/
    /*margin-left: auto;*/
    /*margin-right: auto;*/
}

@media (min-width: 900px) {
    .listManager {
        width: 900px;
        margin-left: calc(50% - 450px);
        margin-right: calc(50% - 450px);
    }
}

.listManagerNoPad {
    width: 100%;
    overflow: 'scroll';
    /*max-width: 1000px;*/
    /*margin-left: auto;*/
    /*margin-right: auto;*/
}

@media (min-width: 900px) {
    .listManagerNoPad {
        width: 900px;
        margin-left: calc(50% - 450px);
        margin-right: calc(50% - 450px);
    }
}

.containerManager {
    width: 100%;
    padding-bottom: 50px;
    overflow: 'scroll';
    /*max-width: 1000px;*/
    /*margin-left: auto;*/
    /*margin-right: auto;*/
}

@media (min-width: 500px) {
    .containerManager {
        width: 700px;
        margin-left: calc(50% - 350px);
        margin-right: calc(50% - 350px);
    }
}



/* SKIM CSS */

.skimBig {
    position: relative;
    width: calc(var(--skim-big-width) - var(--card-gutter)*2 - 4px); 
    display:inline-block;
    margin: var(--card-gutter);
    overflow: hidden;
    background: #fefefe;
    border-style: solid;
    border-width: 1px;
    border-color: #e5e5e5;
}
.skimBig:before {content: ""; display: block; padding-top: var(--skim-big-ratio);}

.skimBigImage { 
    position: relative;
    width: 100%; 
    margin: 0px;
    padding: 0px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.skimBigImage:before {content: ""; display: block; padding-top: var(--skim-big-image-ratio);}

.skimBigImageDefault {
    position: relative;
    width: 100%; 
    margin: 0px;
    padding: 0px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
.skimBigImageDefault:before {content: ""; display: block; padding-top: var(--skim-big-image-ratio);}

.skimBigMask {
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    min-height: 10%;
    max-height: 50%;
    padding-bottom: 30px;
    background-color: rgba(34, 35, 37, 0.62);
}

.skimBigMask .skimTitle {
    font-size: calc(var(--card-title-font-size) * 1.3) !important; 
    line-height: calc(var(--card-title-line-height) * 1.2) !important; 
}

.skimBigMask div {
    color: white !important;
}

.skimAltMask {
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    min-height: 10%;
    max-height: 50%;
    padding-bottom: 30px;
    background-color: rgba(34, 35, 37, 0.62);
}

.skimAltMask .skimTitle {
    font-size: var(--card-title-font-size) !important; 
    line-height: var(--card-title-line-height) !important; 
}

.skimAltMask div {
    color: white !important;
}

.skimMedium { 
    position: relative;
    width: calc(var(--skim-medium-width) - var(--card-gutter)*2); 
    display:inline-block;
    margin: var(--card-gutter);
    overflow: hidden;
    background: #fefefe;
    border-style: solid;
    border-width: 1px;
    border-color: #e5e5e5;
}
.skimMedium:before {content: ""; display: block; padding-top: var(--skim-medium-ratio);}

.skim { 
    position: relative;
    width: calc(var(--skim-width) - var(--card-gutter)*2 - 2px); 
    display:inline-block;
    margin: var(--card-gutter);
    overflow: hidden;
    background: #fefefe;
    border-style: solid;
    border-width: 1px;
    border-color: #e5e5e5;
}
.skim:before {content: ""; display: block; padding-top: var(--skim-ratio);}

.skimContent {
    position: absolute;
    display: flex; flex-direction: column;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}

.skimImage { 
    flex-grow: 1;
    position: relative;
    width: 100%; 
    margin: 0px;
    padding: 0px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
/*.skimImage:before {content: ""; display: block; padding-top: var(--skim-image-ratio);}*/

.skimImageDefault {
    flex-grow: 1;
    position: relative;
    width: 100%; 
    margin: 0px;
    padding: 0px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
/*.skimImageDefault:before {content: ""; display: block; padding-top: var(--skim-image-ratio);}*/

.skimMask {
    /*position: absolute;*/
    /*display: flex;*/
    bottom: 0px;
    left: 0px;
    width: 100%;
    min-height: 10%;
    max-height: 50%;
    padding-bottom: 30px;
    /*background-color: #fefefe;/*#fefefe;*//*rgba(255, 0, 0, 0.44)*/
}

.skimTitle {
    font-weight: 400; 
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    font-size: var(--card-title-font-size);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: var(--card-title-lines-to-show);
    line-height: var(--card-title-line-height);        
    max-height: var(--card-title-line-height) * var(--card-title-lines-to-show); 
}

.skimDescription {
    margin-top: 7px;
    font-weight: 300 !important; 
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    font-size: var(--card-title-font-size);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: var(--card-description-lines-to-show);
    line-height: var(--card-description-line-height);        
    max-height: var(--card-description-line-height) * var(--card-description-lines-to-show); 
}

/* CHANNEL CSS */
.channel { 
    position: relative;
    width: var(--channel-width); 
    display:inline-block;
    margin: 0;
    overflow: hidden;
}
.channel:before {content: ""; display: block; padding-top: var(--channel-ratio);}

.channelContent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(34, 35, 37, 0.76);
    /*width: 100%;*/
    padding: 6px;
}

.channelHeader {
    position: relative;
    height: 150px;
    margin-left: 0;
    margin-right: 0;
    background: white;
    border-bottom: solid;
    border-bottom-color: #cacaca;
    border-bottom-width: 1px;
    border-left: solid;
    border-left-color: #cacaca;
    border-left-width: 1px;
    border-right: solid;
    border-right-color: #cacaca;
    border-right-width: 1px;
}

/* Genre CSS */
.genre { 
    position: relative;
    width: var(--genre-width); 
    display:inline-block;
    margin: 0;
    overflow: hidden;
}
.genre:before {content: ""; display: block; padding-top: var(--genre-ratio);}

.genreContent {
    position: relative;
    width: 100%;
    height: 80%;
    padding-top: 20%;
    padding-bottom: 20%;
    text-align: center;
    background-color: rgba(34, 35, 37, 0.49);
}

.genreContent h4 {
    font-size: 1.2rem;
    position: absolute;
    width: 100%;
    padding-top: 10%;
    padding-bottom: 10%;
}

.genreHeader {
    position: relative;
    height: 150px;
    margin-left: 0;
    margin-right: 0;
    background: white;
    border-bottom: solid;
    border-bottom-color: #cacaca;
    border-bottom-width: 1px;
    border-left: solid;
    border-left-color: #cacaca;
    border-left-width: 1px;
    border-right: solid;
    border-right-color: #cacaca;
    border-right-width: 1px;
}