/*

css file for all category page in educational resources

*/

html {
    scroll-behavior: smooth;
}

.border_blank {
    padding: 0px;
}

@font-face {
    font-family: 'PingFang-SC-Bold';
    src: url('/tc/education/educational-resources-webpage/font/files/PingFang-SC-Bold.ttf');
}

@font-face {
    font-family: 'PingFang-SC-Light';
    src: url('/tc/education/educational-resources-webpage/font/files/PingFang-SC-Light.ttf');
}

@font-face {
    font-family: 'PingFang-SC-Regular';
    src: url('/tc/education/educational-resources-webpage/font/files/PingFang-SC-Regular.ttf');
}

em {
    font-style: normal;
    font-family: 'PingFang-SC-Bold';
}

.mainContent a,
.mainContent a:hover,
.mainContent a:focus,
.mainContent a:visited {
    text-decoration: none;
    transition: all 0.3s;
}

.article_title a, .card-body a, .container-related_article a,
.article_title a:visited, .card-body a:visited, .container-related_article a:visited {
    color: #5b5b5b;
}

.article_title a:hover, .card-body a:hover, .container-related_article a:hover,
.article_title a:focus, .card-body a:focus, .container-related_article a:focus {
    color: #f2d55c;
}

.mainContent .container-related_article p a {
    color: #3295FF;
}

#sidebar a.scrollbar_cat {
    font-family: 'PingFang-SC-Regular';
    color: white;
}

#sidebar a.scrollbar_cat:focus {
    color: inherit;
}

.navbar {
    padding: 15px 10px;
    background: #fff;
    border: none;
    border-radius: 0;
    margin-bottom: 40px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

.highlighted_article_title {
    font-family: PingFang-SC-Regular;
    font-size: 2em;
    background: linear-gradient(to right, #330867 0%, #30cfd0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

label.highlighted_infoGraphic_title {
    font-family: PingFang-SC-Regular;
    font-size: 2em;
    background: linear-gradient(to bottom, #58c1d9 0%, #487791 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
    overflow: hidden;
}

#sidebar {
    width: 180px;
    color: #fff;
    /*background-color: #0c2e6f;
    background-image: linear-gradient(#0b2960, #196fd2);*/
    /* background-image: linear-gradient(#4BB8D9 0%, #D8EDFF 11%, #D8EDFF 16%, #50C7E5 30%, #196fd2 100%);*/
    background-image: linear-gradient(#ffffff 0px, #D8EDFF 50px, #50C7E5 150px, #196fd2 100%);
    -moz-box-shadow: 3px 0 10px 0px #a6a1a1;
    -webkit-box-shadow: 3px 0 10px 5px #a6a1a1;
    box-shadow: 3px 0 10px 5px #a6a1a1;
	z-index:5;
    opacity: 1;
}
@media (min-width: 981px) {
    #sidebar {
        transition: all 0.3s;
    }
}

#sidebar.active {
    margin-left: -180px;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    opacity: 0;
}
html #sidebar > .container {
	display: none !important;
}

#menuimg a {
    color: #fff;
    text-align: center;
}

html[lang="en"] #menuimg a {
    font-size: 1em;
}

#sidebar .sidebar-header {
    padding: 0;
}

#sidebar ul.components {
    padding: 20px 0;
    border-bottom: 1px solid #47748b;
}

#sidebar ul p {
    color: #fff;
    padding: 10px;
}

#sidebar ul li a {
    font-size: 1.1em;
    display: block;
    text-shadow: 2px 4px 8px #505454;
}

#sidebar ul li a.active,
#sidebar ul li a:hover {
    color: #fff;
	background-color: #2580e6;
	text-decoration: none !important;
    border-radius: 0.25rem;
    padding: 12px 0;
    margin: -12px 0;
}

html body #sidebar a:hover {
	text-decoration: none !important;
}

#sidebar h3 {
    font-size: 2em;
    text-align: center;
    text-shadow: 2px 4px 8px #505454;
    padding: .5em 0;
    background-color: transparent;
    border-radius: .25em;
    transition: all 0.3s;
    display: none !important;
}
html[lang="en"] #sidebar h3 {
	font-size: 1.6em;
	display: none !important;
}

#sidebar a:hover h3 {
    background-color: rgba(37, 128, 230, 0.8);
}

/* ---------------------------------------------------
    SCROLLBAR STYLE
----------------------------------------------------- */


/* width */

::-webkit-scrollbar {
    width: 10px;
}


/* Track */

::-webkit-scrollbar-track {
    background: #f1f1f1;
}


/* Handle */

::-webkit-scrollbar-thumb {
    background: #888;
}


/* Handle on hover */

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.scrollbar_infoGraphic {
    width: 28vw;
    height: 40vw;
    overflow-y: scroll;
    box-shadow: 1px 1px 5px grey inset;
}

//------------------------------------------------------
//-------------------------------------------------------
a[data-toggle='collapse'] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}


/* 
comment by samuel
ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: #6d7fcc;
} */

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: #6d7fcc !important;
    color: #fff !important;
}

div.col-sm {
    text-align: right;
    margin: 0px;
}

div.container {
    padding: 4px;
}

.education-resource-cover {
    background-image: url('/tc/education/educational-resources-webpage/img/images/cover.jpg');
    width: 100%;
    background-size: cover;
    height: 180px;
}

.title_img {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translate(-10%, -50%);
    font-family: PingFang-SC-Bold;
    font-size: 2em;
    text-shadow: 2px 4px 8px #505454;
    color: white;
}

.description_img {
    position: absolute;
    top: 70%;
    left: 9%;
    font-family: PingFang-SC-Regular;
    font-size: 1em;
    color: white;
}

.container_undericon {
    padding: 0;
}

.container_aroundicon {
    padding: 0;
}

.container_aroundicon img {
    width: calc(100% - 20px);
    margin: 0 10px;
}

.backToMain {
    font-family: PingFang-SC-Regular;
    font-size: 1.1em;
    color: #ffffff;
    text-shadow: 2px 4px 8px #505454;
}

td.article_title {
    text-align: left;
    font-family: PingFang-SC-Regular;
    color: #5b5b5b;
    font-size: 1.5em;
    padding-bottom: 2vw;
}

td.article_title b {
	font-size: 24px;
}

td.article_title:hover {
    color: #f2d55c;
}

p.article_description {
    text-align: left;
    font-family: PingFang-SC-Light;
    color: #8d8d8d;
    font-size: 1em;
    font-size: 16px;
}

.card_infoGraphic {
    width: 95%;
    padding-left: 2.5%;
    margin: 5px;
    padding-bottom: 2.5%;
}

.container_video {
    position: relative;
    width: 95%;
    margin: 2.5%;
    cursor: pointer;
}

.responsive-iframe {
    position: relative;
    width: 100%;
}

li {
    list-style-type: none;
}

.mainContent ul {
    padding-left: 0px;
    margin-bottom: 3vw;
}

div.col-sm.col-category {
    text-align: center;
    padding: 0px;
    margin: 0px;
}

.mainContent {
    line-height: normal;
}


/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#content {
    width: 100%;
    padding: 20px;
    min-height: 100vh;
    transition: all 0.3s;
}

.sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
}


/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

@media (max-width: 768px) {
    .container_video {
        position: relative;
        width: 100%;
        display: inline-block;
        margin: 0;
    }
    .scrollbar_infoGraphic {
        width: 100%;
        height: 60vw;
    }
    .education-resource-cover {
        height: 180px;
    }
    button.btn.btn-info {
        padding: 0.25rem 0.3rem;
        font-size: 0.8rem;
        line-height: 1;
    }
    #sidebar {
        width: 100px;
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
        box-shadow: none;
    }
    #sidebar.active {
        -moz-box-shadow: 3px 0 10px 0px #a6a1a1;
        -webkit-box-shadow: 3px 0 10px 5px #a6a1a1;
        box-shadow: 3px 0 10px 5px #a6a1a1;
        margin-left: -100px;
    }
    #sidebarCollapse span {
        display: none;
    }
    #sidebar ul li a {
        font-size: 1em;
    }
    html[lang="en"] #sidebar ul li a {
		font-size: 0.75em;
    }
    div.container {
        padding: 10px;
    }
    .container_undericon,
    .container_aroundicon {
        padding: 0;
    }
    .backToMain {
        font-size: 1em;
    }
}

.display_remove {
    display: none;
}

@media (min-width: 1200px) {
    .scrollbar_infoGraphic {
        width: 330px;
        height: 490px;
    }
    .highlighted_article_title {
        font-size: 2em;
    }
    p.article_description {
        font-size: 18px;
    }
    td.article_title {
        font-size: 30px;
    }
    label.highlighted_infoGraphic_title {
        font-size: 2em;
    }
    .title_img {
        font-size: 48px;
    }
    .description_img {
        font-size: 19px;
    }
    .education-resource-cover {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .education-resource-cover {
        height: 180px;
    }
}


/* Safari grid bug */

.row:before,
.row:after {
    display: none !important;
}

.headerTool {
    top: 0;
}



/*Panel tabs*/
.panel-tabs {
    position: relative;
    clear:both;
    border-bottom: 1px solid transparent;
    /*background-color: #4bb8d9;*/
    background-color: #ffffff;
}

.panel-tabs > li {
    float: center;
    margin-bottom: -1px;
    margin-top: 0px;
    /*margin-top: -1px;*/
    margin-left: -1px;
    margin-right: -1px;
font-family: PingFang-SC-Regular;
font-size: 1.1em;
color: #416068;
text-align: center;
width: 150px;

background-color: #c6f2ff;

}

.panel-tabs > li > a {
    border: 1px solid transparent;
    border-radius: 4px 4px 0 0;
    color: #416068;
}

.panel-tabs > li > a:hover {
    border-color: transparent;
    color: #416068;
    background-color: transparent;
}

.panel-tabs > li.active > a,
.panel-tabs > li.active > a:hover,
.panel-tabs > li.active > a:focus {
    color: #4bb8d9;
	background-color: #FFFFFF;
    cursor: default;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    border-bottom-color: transparent;
}
.article_description{
 min-height :100px;
}


@media (min-width: 980px) {
.indexshow{padding-left: 1.5vw; padding-right: 0px;top:0px;}
.tabbanner{display: inherit; visibility: hidden;"}
}
@media (max-width: 980px) {
.indexshow{padding-left: 1.5vw; padding-right: 0px;top:0px;}
}

@media (max-width: 960px) {
.indexshow{padding-left: 1.5vw; padding-right: 0px;top:0px;}
.tabbanner{display: inherit; visibility: hidden;"}
}
@media (max-width: 720px) {
.indexshow{padding-left: 1.5vw; padding-right: 0px;top:150px;}
.tabbanner{display:ruby-text-container; visibility: hidden;"}
}
@media (max-width: 576px) {
.indexshow{padding-left: 1.5vw; padding-right: 0px;top:0px;}
.tabbanner{display:ruby-text-container; visibility: hidden;"}
}
@media screen and (max-width: 350px) {
.indexshow{padding-left: 1.5vw; padding-right: 0px;top: 0px;}
.tabbanner{display:ruby-text-container; visibility: hidden;"}

}
#top_title{
	padding-top: 30px;	
}
.ninebtn{
    background-color: rgb(255, 255, 255);
    border: 2px solid #fff;
    -moz-border-radius: 25px;
    -webkit-border-radius: 25px;
    border-radius: 25px;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
