@font-face {
  font-family: "CastledownPro";
  src: url("https://cdn.soma.lv/castledownpro/LielvardsCastledownPro-Italic.woff2") format("woff2"),
    url("https://cdn.soma.lv/castledownpro/LielvardsCastledownPro-Italic.woff") format("woff"),
    url("https://cdn.soma.lv/castledownpro/LielvardsCastledownPro-Italic.ttf") format("truetype");
  font-style: italic;
}
 
@font-face {
  font-family: "CastledownPro";
  src: url("https://cdn.soma.lv/castledownpro/LielvardsCastledownPro-Heavy.woff2") format("woff2"),
    url("https://cdn.soma.lv/castledownpro/LielvardsCastledownPro-Heavy.woff") format("woff"),
    url("https://cdn.soma.lv/castledownpro/LielvardsCastledownPro-Heavy.ttf") format("truetype");
  font-weight: 900;
}
 
@font-face {
  font-family: "CastledownPro";
  src: url("https://cdn.soma.lv/castledownpro/LielvardsCastledownPro-Bold.woff2") format("woff2"),
    url("https://cdn.soma.lv/castledownpro/LielvardsCastledownPro-Bold.woff") format("woff"),
    url("https://cdn.soma.lv/castledownpro/LielvardsCastledownPro-Bold.ttf") format("truetype");
  font-weight: bold;
}
 
@font-face {
  font-family: "CastledownPro";
  src: url("https://cdn.soma.lv/castledownpro/LielvardsCastledownPro-BoldItalic.woff2") format("woff2"),
    url("https://cdn.soma.lv/castledownpro/LielvardsCastledownPro-BoldItalic.woff") format("woff"),
    url("https://cdn.soma.lv/castledownpro/LielvardsCastledownPro-BoldItalic.ttf") format("truetype");
  font-weight: bold;
  font-style: italic;
}
 
@font-face {
  font-family: "CastledownPro";
  src: url("https://cdn.soma.lv/castledownpro/LielvardsCastledownPro-Regular.woff2") format("woff2"),
    url("https://cdn.soma.lv/castledownpro/LielvardsCastledownPro-Regular.woff") format("woff"),
    url("https://cdn.soma.lv/castledownpro/LielvardsCastledownPro-Regular.ttf") format("truetype");
  font-style: normal;
}

html, body {
  font-family: 'CastledownPro' !important;
}

/* ##########  RESETS AND BASE ########## */
body,
input,
button,
select,
textarea {
    font-family: 'CastledownPro', Arial, sans-serif;
}

body {
    background-color: #fcfcfc;
}

strong {
    font-weight: 700;
}

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 #EDEDED;
    box-shadow: none;
}

a {
    color: #4495D8;
}

.btn {
    display: inline-block;
    padding: 11px 10px;
    color: #FFF1AE;
    margin-bottom: 0;
    font-size: 15px;
    line-height: 18px;
    color: #FFF1AE;
    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: #FFF1AE;
    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 h2,
.contentWrapper h3,
.contentWrapper h4,
.contentWrapper h5 {
    font-weight: 700;
    color: #262626;
}

.contentWrapper h1{
    font-weight: 700;
    color: #262626;
    font-size: 25px;
}


/* ########## NAV BAR AND SEARCH ########## */

#docsSearch {
    color: #fff;
    background: none;
    margin-bottom: 0em;
    padding: 2.5em 0 0.5em 0;
    background-size: cover;
    background-position: 0% 8%;
    border-bottom:0;
}

.navbar,
.navbar .navbar-inner {
    background: #FFF1AE;
    box-shadow: none;
    font-size: 18px;
}

.navbar .nav .active .caret {
    display: none;
    position: absolute;
    bottom: 0;
    right: 46%;
    border-top: 0;
    border-bottom: 5px solid #F0F0F0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    background-color: #=#9E9E9E;
}

.navbar .brand;
.navbar .nav li a:hover,
.navbar .nav li a:focus,
.navbar .nav .active a,
.navbar .nav li a:hover,
.navbar .nav .active a:focus {
    color: #263238;
    background-color: #263238;
}
.navbar .nav {
    margin-bottom: 8px;
}

.navbar .nav .active a,
.navbar .nav li a:hover,
.navbar .nav .active a:focus,
.navbar .nav .active a:hover
  {
   color: #000000;
   font-weight: bold;
}


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

.navbar-inner a.brand img {
    width: 192px;
    height: 75px;
    background: none;
}

.navbar .brand{
margin-top: 20px;
margin-left: 10px;
padding-bottom: 0px;

}

.navbar .btn-navbar .icon-bar {
    background: white;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.navbar .nav>li>a {
    float: none;
    padding: 10px 13px;
    padding-top: 0px;
}

@media (min-width: 769px) {
    .navbar .nav {
        position: relative;
        right: unset;
        left: auto;
        bottom: 0;
        margin-right: 0;
        top: 7px;
    }
}

#searchBar .search-query {
    border-radius: 10px;
    font-size: 12px;
    line-height: 1;
    width: 100%;
    height: 40px;
    color: #1f1d16;
    border: 0.5;
font-weight: 500;
}

#searchBar .search-query::placeholder {
    color: #b9b9b9;
    font-weight: 100;
}

#searchBar .search-query:focus {
}

#searchBar button {
    color: #263238;
    text-shadow: none;
    background: #FFF1AE;
    border-radius: 0 10px 10px 0;
    border: 0;
    font-size: 14px;
    padding: 0 1.5em;
    height: 40px;
    right: 0;
}

#searchBar button:hover {
    background: #f7d509;
}

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

#searchBar.sm button .icon-search {
	color:#d4d4d4;
	}

#serp {
  box-sizing: border-box;
}

#serp h1 strong {
  color: #263238;
}


#serp .articleList>li {
  padding: 0.5em 0 1.5em;
  margin: 1em 0 0 0;
  border-bottom: 1px solid #E5E9EC;
}

#serp .articleList>li a {
  font-weight: 500;
  /*padding-left: 23px;*/
  margin-bottom: 5px;
}

#serp .articleList>li p {
  margin: 0;
  text-overflow: ellipsis;
  font-size: 14px;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#serp-dd {
  border-radius: 5px;
  border: none;
  top: 85px;
}

#serp-dd .result a {
  padding: 12px 15px;
}

#serp-dd .result>li.active {
  background: #F1F3F5;
}

#serp-dd .result>li {
  position: relative;
}

#serp-dd .result>li.active a {
  color: #005DA3;
}

#serp-dd.sb {
  top: 45px;
  width: 375px;
}

#serp .articlesFound,
#serp .nada {
  color: #748494;
}

#serp-dd .result>li.private a {
  color: #748494;
}



/* ########## HOME (WITH COLLECTIONS) ########## */

.twoCol h2 a,
.threeCol h2 a {
    font-size: 18px;
    color: #1f1d16;
    display: inline-block;
    border-bottom: 0;
}

.twoCol .popArticles,
.threeCol .popArticles,
.most-pop-articles .popArticles {
    font-size: 15px;
    list-style: none;
    margin: 0;
    text-align: left;
}

.icon-article-doc:before {
    content: "";
    display: none;
}

.twoCol .popArticles a,
.threeCol .popArticles a,
.most-pop-articles .popArticles a {
    margin-left: 0;
}

.threeCol .collection {
}

.threeCol .collection .collection-body {
    padding: 0 20px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 220px;
    max-height: 220px;
}

.threeCol .collection .collection-body ul {
    overflow: hidden;
}

#docsSearch h1 {
    font-size: 30px;
    font-weight: 700;
}

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

.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: none;
    margin-top: 20px;
}

/* Jautājumi un atbildes */
#category-196 h3:before {
    content: url(https://somalv.s3.eu-central-1.amazonaws.com/products/smart-files/images/43850f1b91df6908493b4fba815d4bcc_JautajumiUnAtbildes.png);
}

/* Individuālie plāni*/
#category-198 h3:before {
    content: url(https://somalv.s3.eu-central-1.amazonaws.com/products/smart-files/images/8cbffa14c1fa5db5ea5e039a0290c6c3_IndividualiePlani.png);
}

/* Pieslēgšānas*/
#category-199 h3:before {
    content: url(https://somalv.s3.eu-central-1.amazonaws.com/products/smart-files/images/c165c62bf409b7b644ec8daf3b552df1_Pieslegsanas.png);
}

/* Skolas plāns*/
#category-197 h3:before {
    content: url(https://somalv.s3.eu-central-1.amazonaws.com/products/smart-files/images/c308c8c8a9d089281c4506a8ed7305c6_SkolasAbonements.png);
}


/* Somā pieejamie resursi*/
#category-200 h3:before {
    content: url(https://somalv.s3.eu-central-1.amazonaws.com/products/smart-files/images/7d9c43f18e80f1ea31bab98f5f4ba6fb_Resursi.png);
}


/* Filtri un meklēšana*/
#category-195 h3:before {
    content: url(https://somalv.s3.eu-central-1.amazonaws.com/products/smart-files/images/9645632aae52b46a01c7a90693a5ca55_Filtri.png);
}


/* Funkcionalitāte*/
#category-202 h3:before {
    content: url(https://somalv.s3.eu-central-1.amazonaws.com/products/smart-files/images/f5ca6df7c37e7110683a9e65b3b774e4_Funkcionalitates.png);
}


/* Resursi mācību priekšmetos*/
#category-201 h3:before {
    content: url(https://somalv.s3.eu-central-1.amazonaws.com/products/smart-files/images/1c5c326d0eb1dbae13d53542c64fa7b9_ResursuPrieksmetos.png);
}


/* Video pamācības*/
#category-228 h3:before {
    content: url(https://somalv.s3.eu-central-1.amazonaws.com/products/smart-files/images/e1460c221e332bb391c5f7d00c465f80_Video.png);
}


/* ########## HOME (WITH CATEGORIES) ########## */

.collection-category .category-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: flex-start;
    margin: 0 0 2em;
}

.category-list .category {
    flex: 0 0 30%;
    margin: 0 0 20px;
    padding: 0 0 15px;
    width: unset;
    box-shadow: none;
    background: none;
    border: none;
    margin: 10px !important;
    padding: 0 0 15px;
}

.category-list .category:hover {
    background-color: #fcfcfc;
}

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


.collection-category h2 {
    text-align: left;
    font-weight: 600;
    font-size: 22px;
    padding: 0;
    margin: 0 0 40px 60px;
}

.category-list h3 {
	font-size: 18px;
}

.category-list .category h3 {
    color: #262626;
    margin: 0 0 10px;
    font-weight: 700;
    font-size: 16px;
    background: #fcfcfc;
}

.collection-category {   
    border: 1px solid #EDEDED;
    border-radius: 20px;
    padding-top: 30px;
    margin-top: 20px;
}

.category-list .category h3:before {
    content: " ";
    display: block;
    height: 100px;
    margin: 0;
    background-color: #fcfcfc;

}

.category-list .category .article-count {
    margin-top: 0;
    font-weight: 300;
}

.category-list .category p {
    color: #b3b3b3;
    font-weight: 300;
    background-color: #fcfcfc;
}

#serp-dd .result a:hover, #serp-dd .result > li.active, #fullArticle strong a, #fullArticle a strong, .collection a, .most-pop-articles .popArticles a, .most-pop-articles .popArticles a:hover span, .category-list .category .article-count, .category-list .category:hover .article-count {
    color: #b3b3b3;
}

.contentWrapper a {
    color: #263238;
}


/* ########## ARTICLE PAGE ########## */

#main-content {
    background: none;
}

.contentWrapper {
    border: 0;
    padding: 40px;
}

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

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

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

#sidebar h3 {
    font-size: 20px;
    text-transform: none;
    color: #1D2B36;
}
#sidebar .nav-list {
    margin: 20px 0;
}

#sidebar .nav-list a {
        font-size: 16px;
    color: #405261;
    padding: 8px 15px 8px 0;
    font-weight: 300;
}

#sidebar .nav-list .active a,
#sidebar .nav-list .active a:hover,
#sidebar .nav-list .active a:focus {
        font-weight: 700;
    color: #253642;
}

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

.icon-arrow:before {
    color: #253642;
}

#fullArticle h1,
#fullArticle h2,
#fullArticle h3,
#fullArticle h4,
#fullArticle h5 {
    margin: 40px 0 20px 0;
    color: #262626;
}

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

#fullArticle p,
#fullArticle ul,
#fullArticle ol,
#fullArticle li,
#fullArticle div,
#fullArticle blockquote,
#fullArticle dd,
#fullArticle table {
  color: #1d2b36;
    font-size: 16px;
    line-height: 1.55;
    margin-bottom: 1.5em;
    font-weight: 300;
}

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

#fullArticle strong {
    color: #262626;
}

#fullArticle a {
    color: #227ec7;
    font-style: italic;
}

#fullArticle .title {
    margin: 0 40px 40px 0;
    font-weight: 700;
}

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

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

.articleRatings {
	margin-top:30px;
}

.articleFoot p,
.articleFoot time {
    color: #a3a39f;
    display: inline-block;
    font-style: normal;
}

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

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

.contentWrapper, .related {
    background-color: #FFF;
    border: 0;
    border-radius: 4px;
    color: #556575;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px, rgb(241, 243, 245) 0px 5px 20px 0px, rgba(0, 0, 0, 0.05) 0px 3px 3px 0px;
    word-break: break-word;
    padding: 30px;
}

@media screen and (min-width: 768px) and (max-width: 1000px) {
  .contentWrapper {
    padding: 50px 55px;
  }
}

@media screen and (min-width: 1000px) {
  .contentWrapper {
    padding: 70px 90px;
  }
}

/* ########## ARTICLES LIST / CATEGORY ########## */

#categoryHead h1 {
    margin-top: 0;
    margin-bottom: 40px;
    font-weight: 700;
}

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

.articleList li {
    margin: 1em 0;
    padding-left: 0;
    font-size: 18px;
}

.articleList a {
    margin-left: 0;
}


