/* Font types */
/* Regular */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@font-face{
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 400;
}

 /* Regular italic */
@font-face{
    font-family: 'Poppins', sans-serif;
    font-style: italic;
    font-weight: 400;
}

 /* Med */
@font-face{
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 500;
}

 /* Med italic */
@font-face{
    font-family: 'Poppins', sans-serif;
    font-style: italic;
    font-weight: 500;
}

/* ----------------------------------- Documentation Migration Banner ----------------------------------- */

.ce-migration-banner {
    background: #ffdb4d;
    color: #3e4245;
    text-align: center;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid #e6c200;
    position: sticky;
    top: 0;
    z-index: 9999;
}

.ce-migration-banner a {
    color: #1769e6;
    font-weight: 600;
    text-decoration: underline;
}

.ce-migration-banner a:hover {
    color: #0f52b5;
}

/* ------------------------------------- General styling  ------------------------------------------- */

/* Foundation */
body,
input,
button,
select,
textarea {
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #fafafa;
}

strong {
    font-weight: 600;
}

textarea,
input[type=text],
input[type=password],
input[type=datetime],
input[type=datetime-local],
input[type=date],
input[type=month],
input[type=time],
input[type=week],
input[type=number],
input[type=email],
input[type=url],
input[type=search],
input[type=tel],
input[type=color],
.uneditable-input {
    background-color: #fff;
    border: 1px solid #EFEFEF;
    box-shadow: none;
}

a {
    color: #3e4245;
}

.btn {
    display: inline-block;
    padding: 11px 10px;
    color: #1769e6;
    margin-bottom: 0;
    font-size: 15px;
    line-height: 18px;
    color: #3e4245;
    text-shadow: none;
    background-color: #ffdb4d;
    background-image: none;
    filter: unset;
    border-color: rgba(0, 0, 0, .07);
    border-radius: 3px;
    box-shadow: none;
}

a.btn {
    color: #3e4245;
    text-decoration: none;
}

.btn:focus,
.btn:hover {
    background: #fc0;
    border-color: rgba(0, 0, 0, .07) rgba(0, 0, 0, .12) rgba(0, 0, 0, .12) rgba(0, 0, 0, .07);
    text-decoration: none;
}

.contentWrapper h1,
.contentWrapper h2,
.contentWrapper h3,
.contentWrapper h4,
.contentWrapper h5 {
    font-weight: 500;
    color: #3e4245;
}

/* Menu and search */

/* Banner section */
#docsSearch {
    color: #fff;
    background: #569ef5;
    background: url(https://docs.climateengine.org/CE-Support/banner.png);
    background-size: cover;
    background-position: 20% 32%;
    padding: 0em 0 5em 0;
}
#docsSearch h1{
    text-shadow: 2px 2px 2px #3b3b3b; 
    line-height: 1.2;
    padding-top: 36px;
}

.navbar,
.navbar .navbar-inner {
    background: #fafafa;
    box-shadow: none;
}

.navbar .brand,
.navbar .nav li a:hover,
.navbar .nav li a:focus,
.navbar .nav .active a,
.navbar .nav .active a:hover,
.navbar .nav .active a:focus {
    color: #3e4245;
}

.navbar .nav li a,
.navbar .icon-private-w {
    color: #3e4245;
}

.category-list {
    text-align: center !important;
    margin: 1em 1em 1em 1em;
}

.category-list .category {
    flex: 0 0 32%;
    margin: 0 10px 20px -1px;
    padding: 0 0 15px;
    width: 30%;
    border: 1px solid #EDEDED;
    border-radius: 3px;
    box-shadow: none;
    background: #fff;
    max-height: 230px;
}

.category-list .category .article-count {
    margin-top: 0;
    font-size: 0px;
}

#docsSearch h1 {
    font-size: 40px;
    font-weight: 600;
    margin-top: 18px;
    padding: 60px 0px 20px 0px;
}

.collection-head:before {
    content: " ";
    display: block;
    height: 180px;
    background: #EDEDED;
    border-radius: 3px 3px 0 0;
}

.threeCol .collection .collection-head {
    padding: 0;
}

.twoCol h2,
.threeCol h2 {
    font-size: 24px;
    line-height: 1.5;
    text-align: center;
    font-weight: 400;
    padding: 0 10px;
    margin: 10px 0 0 0;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.twoCol .browse,
.threeCol .browse {
    display: inline-block;
    margin-top: 20px;
}

/* Collection thumbnail - add as many you want, based on the number of collections you have. For finding your category number, you can find each collection's unique number in their URL */
/* Get Started */
#category-4 h3:before {
    background: url('https://docs.climateengine.org/CE-Support/GetStarted.png');
    background-size: 30%;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}
/* Using the Research App */
#category-6 h3:before {
    background: url('https://docs.climateengine.org/CE-Support/Using.png');
    background-size: 30%;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

/* Datasets */
#category-10 h3:before {
    background: url('https://docs.climateengine.org/CE-Support/Datasets.png');
    background-size: 30%;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

/* BLM */
#category-9 h3:before {
    background: url('https://docs.climateengine.org/CE-Support/DecisionSupport.png');
    background-size: 30%;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

/* APIs */
#category-7 h3:before {
    background: url('https://docs.climateengine.org/CE-Support/APIs.png');
    background-size: 30%;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

/* Troubleshooting*/
#category-8 h3:before {
    background: url('https://docs.climateengine.org/CE-Support/Troubleshooting.png');
    background-size: 30%;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

/* Home categories */
.collection-category .category-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: flex-start;
}



.category-list .category:hover {
    background-color: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.171);
}

.collection-category h2 {
    text-align: center;
    font-weight: 500;
    font-size: 30px;
    padding: 0;
    margin: 0 0 30px;
}

.category-list .category h3 {
    color: #3e4245;
    margin: 0 0 10px;
}

.category-list .category h3:before {
    content: " ";
    display: block;
    height: 120px;
    width: inherit;
    margin: 29px 0 20px;
    background: #EDEDED;
    border-radius: 3px 3px 0 0;
}

/* Article page */
#main-content {
    background: none;
}

/*   ARTICLE WIDTH    */
.contentWrapper {
    border: 0;
    padding: 40px;
}

#sidebar {
    position: sticky;
    top: 32px;
}

#sidebar form .search-query {
    border: 1px solid #D0D0D0;
    color: #161B1E;
}

#serp-dd.sb {
    top: 42px;
    border-radius: 3px;
}

#sidebar h3 {
    font-size: 15px;
    line-height: 24px;
    color: #3e4245;
    font-weight: 1000;
    margin-bottom: 18px;
}

#sidebar .nav-list a {
    display: inline-block;
    color: #73777A;
    font-size: 16px;
    padding: 0 0 20px;
    line-height: 24px;
    margin-left: 0;
}


#sidebar .nav-list .active a,
#sidebar .nav-list .active a:hover,
#sidebar .nav-list .active a:focus {
    font-weight: bold;
    color: #3e4245;
    background: none;
    text-shadow: none;
}

#sidebar .nav-list .active a .icon-arrow,
#sidebar .nav-list .active a:hover .icon-arrow,
#sidebar .nav-list .active a:focus .icon-arrow {
    display: none;
}

#fullArticle h1,
#fullArticle h2,
#fullArticle h3,
#fullArticle h4,
#fullArticle h5 {
    margin: 0px 0 10px 0;
    color: #3e4245;
}

#fullArticle h4 {
    margin-top: 20px;
}

#fullArticle p,
#fullArticle ul,
#fullArticle ol,
#fullArticle li,
#fullArticle div,
#fullArticle blockquote,
#fullArticle dd,
#fullArticle table {
    font-size: 18px;
    line-height: 24px;
    color: #5c5e5f;
    margin-bottom: 0.75em;
}

#fullArticle p {
    margin: 0 0 16px 0;
}

#fullArticle p:last-child {
    margin-bottom: 0;
}

#fullArticle strong {
    color: #3e4245;
}

#fullArticle .title {
    margin: 0 40px 40px 0;
}

#fullArticle .printArticle {
    right: 30px;
    top: 50px;
}

#fullArticle img {
    margin: 20px 0;
    padding: 0;
    border-radius: 0px;
}

.articleFoot p,
.articleFoot time {
    color: #9EA1A3;
    display: inline-block;
    font-family: 'Montserrat';
    font-style: normal;
}

#sbContact {
    color: #9EA1A3;
    border-bottom: 1px solid #9EA1A3;
}

#sbContact:hover {
    color: #9EA1A3;
    text-decoration: none;
    border-bottom-color: #9EA1A3;
}

/*For multi-tabbed tables */
.tabs {
    position: relative;   
    min-height: 500px; /* This part sucks */
    clear: both;
    margin: 25px 0;
}
.tab {
    float: left;
}
.tab label {
    background: #eee; 
    padding: 10px; 
    border: 1px solid #ccc; 
    margin-left: -1px; 
    position: relative;
    left: 1px; 
    font-size: 15px;
}
.tab [type=radio] {
    display: none;   
}
.content {
    position: absolute;
    top: 28px;
    left: 0;
    background: white;
    right: 0;
    bottom: 0;
    padding: 20px;
    border: 1px solid #ccc; 
}
[type=radio]:checked ~ label {
    background: white;
    border-bottom: 1px solid white;
    z-index: 2;
}
[type=radio]:checked ~ label ~ .content {
    z-index: 1;
}

/*Callout text
https://codepen.io/superjaberwocky/pen/AXdEWj*/
/* .callout {
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #eee;
    border-left-width: 5px;
    display: flex;
    align-items: center;
    flex-direction: row;
    border-radius: 3px;
    h4 {
        margin-top: 0;
        margin-bottom: 5px;
}
p:last-child {
    margin-bottom: 0;
}
code {
    border-radius: 3px;
}
& + .bs-callout {
    margin-top: -5px;
}
}
@each $name,$color in (default,#777),(primary,#428bca),(success,#5cb85c),(danger,#d9534f),(warning,#f0ad4e),(info,#5bc0de), (bdc,#29527a) {
    .callout-#{$name} {
    border-left-color: $color;
    h4 {
        color: $color;
    }
}
} */

/* Articles list */
#categoryHead h1 {
    margin-top: 40px;
    margin-bottom: 40px;
}

.articleList {
    font-size: 18px;
    list-style-type: none;
}

.articleList li {
    margin: 18px 0;
    padding-left: 0;
    line-height: 24px;
}

.articleList a {
    margin-left: 0;
}


.center::after {
    font-size: 0.9em;
    position: absolute;
    right: 43%;
    margin-top: -3em;
    color: #9b9b9b;
    content: "All icons courtesy of Freepik";
}




/* ----------------------------------- Wide display styling  ----------------------------------------- */

/* Start min-width: 769px */
@media (min-width: 769px) {
    .navbar .nav {
        position: absolute; 
        left: auto; 
        bottom: 0; 
        margin-right: 0; 
} 

/* Next two sections control styling of logo */
.navbar .brand img {
    border: none;
    max-width: 400px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: auto;
}
    
#mainNav .brand span {
	display: inline-block;
	text-indent: -9000px;
	width: 320px;
	height: 65px;
	background: url(https://docs.climateengine.org/CE-Support/logo.png) no-repeat 0 0;
	background-size: 100%;
}    

.navbar .brand {
    height: 32px;
    width: 326px;
    margin: 15px 0;
    padding: 0;
    background-size: 100%;
    background-repeat: no-repeat;
}

#searchBar .search-query {
    border-radius: 3px;
    font-size: 16px;
    line-height: 1;
    width: 100%;
    height: 40px;
    color: #3e4245;
    border: 0;
}

#searchBar .search-query::placeholder {
    color: #DADEE1;
}

#searchBar .search-query:focus {
    box-shadow: 0 0 0 2px #519bf7;
}

#searchBar button {
    color: #fff;
    text-shadow: none;
    background: #519bf7;
    border-radius: 0 3px 3px 0;
    border: 0;
    font-size: 16px;
    padding: 0.7em 1.5em;
    height: 40px;
    right: 0;
}

#searchBar button:hover {
    background: #1769e6;
}

#searchBar button .icon-search {
    display: inline;
    padding-right: 10px;
    font-size: 16px;
    color: #fff;
}

#serp-dd {
    top: 65px;
    border: 1px solid #EDEDED;
    box-shadow: 0 5px 3px rgba(0, 0, 0, .08);
    border-radius: 3px;
}

#serp-dd .result>li {
    padding: 5px;
}
}
/* End min-width: 769px */


/* ------------------------------------- Narrow screen  ------------------------------------------- */


@media screen and (max-width: 620px) {
    .category-list .category {
        flex: 2 2 50%;
        width: 45%;
        text-align: center;
    }
}

@media screen and (max-width: 450px) {
    .category-list .category {
        flex: 1 1 100%;
        width: 100%;
        text-align: center;
    }
}


