/*--------
Global
--------*/
body {
    background-color: #f4f5f5;
}

a:hover {
    text-decoration: none;
}

.text-white {
    color: white;
}

.row {
    margin: 0;
}


/*--------
Homepage
--------*/
.eces-full--section {
    min-height: 100vh;
    height: 100%;
    width: 100%;
    padding: 0 1.06666em 1.06666em;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.eces-full--section.dark {
    background-color: #141516;
}

.eces-full--section-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4em 0 5em;
}

.eces-content--container {
    padding: 7em 0 0;
    position: relative;
}

.home.page-template h1,
.home.page-template h2,
.home.page-template h3 {
    font-weight: 600;
    z-index: 10;
    position: relative;
}

.home.page-template h1 {
    margin-bottom: 0.5em;
    margin-left: .5em;
}

.home.page-template h3 {
    letter-spacing: -0.05em;
}

.home.page-template p {
    font-family: 'Open Sans';
    font-weight: normal;
    letter-spacing: -0.3px;
}

.eces-studies--course-background-image {
    width: 100vw;
    position: absolute;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 40%;
    height: 70vh;
    top: -10%;
    left: 0;
    opacity: .2;
}

.eces-studies--course-background-image:after {
    content: ' ';
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60%;
    z-index: 1;
    opacity: 1;
    background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, #141516 100%);
    background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,#141516 100%);
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,#141516 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#000000',GradientType=0 );
}

.eces-studies-carousel--wrapper {
    max-height: 400px;
    height: 400px;
    margin: 1em 0;
}

.eces-studies-carousel,
.eces-studies-carousel a,
.eces-studies-carousel--content-wrapper,
.slick-slider .slick-list, 
.slick-slider .slick-track {
    height: 100%;
}

.eces-studies-carousel a {
    display: block;
}

.eces-studies-carousel--content-wrapper {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    position: relative;
    margin: 0 1.6em 0 0;
    width: 100%;
    z-index: 10;
}

.eces-studies-carousel--content-wrapper:after {
    content: ' ';
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 50%;
    z-index: 1;
    opacity: 0.8;
    background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
    background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%);
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#000000',GradientType=0 );
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;    
}

.eces-studies-carousel--content {
    position: absolute;
    bottom: 0;
    margin: 1em;
    z-index: 2;    
}

.eces-studies-carousel--author {
    margin: 0;
    font-size: 24px;
    letter-spacing: 0;
}

.eces-studies-carousel--topic {
    font-weight: 500;
    font-size: 16px;
    margin: 0.2em 0px;
}

.eces-studies-carousel--bug {
    position: absolute;
    top: 0.75em;
    left: .75em;
    background: rgba(0, 0, 0, 0.1);
    width: auto;
    box-sizing: border-box;
    border-radius: 50px;
    padding: 0.2em 1em;
    height: auto;
}

.eces-studies-carousel--bug.featured {
    background: #ff671f;
}

.eces-studies-carousel--bug-content {
    margin: 0;
    font-size: 12px;
    color: white;
    font-family: 'Montserrat' !important;
    font-weight: bold !important;
    letter-spacing: 0.1px !important;
}

.eces-studies-carousel {
    margin: 0 0.2em;
}

.eces-studies-carousel--background {
    height: 85vh;
    width: 100vw !important;
}

.eces-studies-carousel--background-wrapper {
    background-size: cover;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.eces-studies-carousel--back-wrapper {
    position: absolute;
    top: 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    left: 0;
    opacity: .5;
}

.eces-studies-carousel--back-wrapper:after {
    content: ' ';
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 50%;
    z-index: 1;
    opacity: 1;
    background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgb(20, 21, 22) 100%);
    background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgb(20, 21, 22) 100%);
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgb(20, 21, 22) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#000000',GradientType=0 );
}

.slick-prev,
.slick-next {
    font-size: 0;
    position: absolute;
    bottom: 200px;
    color: #fff !important;
    border: none !important;
    background: none !important;
    z-index: 1;
}

.slick-prev {
    left: -70px;
}

.slick-prev:after {
	  content: "\f104";
    font: 40px/1 'FontAwesome';
}

.slick-next {
    right: -50px;
    text-align: right;
}

.slick-next:after {
	   content: "\f105";
     font: 40px/1 'FontAwesome';
}

.slick-prev:hover:after,
.slick-next:hover:after {
    color: #7e7e7e;
}

.homepage-content--wrapper {
    max-width: 100%;
    margin: 2em auto 0;
    text-align: center;
}

.homepage-content--wrapper h3 {
    font-size: 1.5em;
    font-weight: 600 !important;
}

.eces-features--wrapper {
    display: flex;
    justify-content: center;
    padding: 2em 0;
    flex-wrap: wrap;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin: auto;
}

.eces-feature {
    display: flex;
    margin: 1.5em 0;
}

.eces-feature--icon {
    font-size: 35px;
    color: white;
    margin-right: .5em;
}

.eces-feature-maintext {
    font-size: 18px;
}

.eces-feature-subtext {
    font-size: 16px;
    color: #777;
    margin-top: 0;
}



/*----------------*/
/*Media Queries*/
/*----------------*/

@media only screen and (max-width: 767px) {
    .eces-studies-carousel--background {
        height: 50vh;
    }
    
    .eces-full--section {
        padding: 0;
    }
    
    .eces-studies-carousel--wrapper {
        width: 100vw;
    }
}


@media only screen and (min-width: 767px) {
    .eces-full--section  {
        padding: 0;
    }
    
    .home.page-template h1 {
        margin-left: 0;
    }
    
    .eces-full--section-content {
        max-width: 1200px;
        margin: 0 auto;
        padding: 6em 0 5em;
    }
    
    .eces-studies-carousel--wrapper {
        max-height: 450px;
        height: 450px;
    }
    
    .eces-studies-carousel {
        width: 46%;
        margin-right: 1em;
    }    
    
    .homepage-content--wrapper {
        max-width: 70%;
    }    
    
    .eces-features--wrapper {
        flex-wrap: nowrap;
        -webkit-box-orient: horizontal;
        -ms-flex-direction: row;
        flex-direction: row;
    }   
    
    .eces-feature {
        display: flex;
        margin: 0 1.5em;
    }    
}