.sj-popup {
  background: #a7a5a6 !important;
}
  
.item-page .com-content-article__body.has-sharing {
    padding-left: 96px; 
   padding-right: 0px !important; }
 @media (max-width: 767.98px) {
      .item-page .com-content-article__body.has-sharing {
        padding-left: 64px; } }
 
._1drm ._1drn {
  border: 1px solid #fefefe !important;
}



html {
background-color:rgb(239,239,239);
}


.t4-footnav {
  background: #dfdddd;
}

i.icon.outline {
    font-family: outline-icons;
    border: none;
    background: transparent;
}


// Top Menu styling

#topmenu ul,
#topmenu ul.nav.navbar-nav {
  list-style-type: none;
  margin: 0;
  padding: 40px 0 0 0;
  overflow: hidden;
  }

#topmenu .navbar-nav {
  flex-direction: row !important;
  padding-top:25px;
}


#topmenu li {
  float: left;
}

#topmenu li a {
  display: block;
  color: #5e646e;
  text-align: center;
  text-decoration: none;
  padding-top:50px;
}

#topmenu span.image-title {
  font-size:1.1em;
  padding-left:5px;
}


#topmenu a:hover,
#topmenu img:hover {
color:#a52336;
}

#topmenu .nav-link {
 padding: 1.5rem 1.5rem;
}


//end Top Menu styling

.headernomargin {
  margin-left:-30px !important;
}

.t4-offcanvas .t4-off-canvas-header img {
  max-width:30%;
 border-style:none;
}

a.t4-offcanvas .t4-off-canvas-header {
 border-style:none;
}

//RESPONSIVE pielabots 

.com-content-article {
  background-color: rgba(255,255,255,0.9);
  padding:20px 60px;
}
.navbar-brand .logo-img {
    max-height: 50px;
    margin: 10px;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
.com-content-article {
  background-color: rgba(255,255,255,0.9);
  padding:5px 10px;
}
  .navbar-brand .logo-img {
    max-height: 20px;
    margin: 10px;
}
   .navbar-brand.logo-control img.logo-img-sm {
   max-width: 90px;
     margin:10px;
  }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
 .com-content-article {
     background-color: rgba(255,255,255,0.9);
  padding:5px 10px;
} 
    .navbar-brand .logo-img {
    max-height: 20px;
    margin: 10px;
}
     .navbar-brand.logo-control img.logo-img-sm {
   max-width: 90px;
       margin:10px;
  }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
 .com-content-article {
     background-color: rgba(255,255,255,0.9);
  padding:20px 30px;
} 
    .navbar-brand .logo-img {
    max-height: 20px;
    margin: 10px;
}
     .navbar-brand.logo-control img.logo-img-sm {
   max-width: 100px;
       margin:10px;
  }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
 .com-content-article {
     background-color: rgba(255,255,255,0.9);
  padding:20px 40px;
} 
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
 .com-content-article {
     background-color: rgba(255,255,255,0.9);
  padding:20px 60px;
} 
}

// END RESPONSIVE pielabots 


.header-layout-10 .top-head .t4-header-right, 
.header-layout-13 .top-head .t4-header-right {
      padding: 1rem 1rem 0rem 1rem;
}

.fotovideo a {
display: block; 
padding: 2.0rem 1rem 0rem 1rem; 
color: #5e646e;
font-size:14px;
}
.fotovideo a:hover {
color: #a52336;
}

.dropdown-menu {
  z-index:9999999999;
}

.dropfiles-content-table.dropfiles-content .table-striped tbody > tr > td.essential > a.title {
display:none;
}

.jacl-item__cat.style-bgcolor a, 
.jacl-item__cat.style-rounded a {
  background-color: #a52336;
}

.com-content-article.default-1.item-page.has-sharing {
 background-color: rgba(255,255,255,0.9);
  padding:20px 30px;
}

.item .card-item {
 background-color: rgba(255,255,255,0.9);
}
// Izlases formatēšana
.izlase {
  background: #d0d0d0 !important;
}

.at4-show {
  top:10px;
}

//end Izlases formatēšana


html {
  background-color: rgb(239,239,239) ;
}

.com-content-article.default-10 .article-lead {
  background: #f6f6f6;
}

.com-content-article.default-10  {
  margin-top:-20px;
  margin-bottom:100px;
}

.com-content-article.default-10 .content-article {
  max-width:1000px;
}

div[id^="t4-body-"], div[id^="t4-section-"], div[id^="t4-spotlight-"] {
  padding-top: 14px;
 padding-bottom: 14px;
}

#t4-section-1
{
  padding:0;
}


header#t4-header-wrap.t4-header.header-layout-10 {
   padding:0;
  z-index: z-index: 99998 !important;
}

.header-layout-10 .wrap-header, 
.header-layout-10 .top-right,
.header-layout-10 .top-head,
.header-layout-10 .top-head .t4-header-right .head-search
{
   border:0px !important;
}


header#t4-header-wrap.t4-header.header-layout-11.header-theme-dark {
  padding: 0px !important;
  background: #A52336 !important;
  height:40px;
}

// mainmenu formatēšana
.t4-megamenu > .navbar-nav > li > a, 
.t4-megamenu > .navbar-nav > li > .nav-link {
  line-height:0.4 !important;
}

.t4-megamenu > .navbar-nav > li {
    display: table;
margin: 0px 8px 8px 8px !important;
  padding:0px !important;
    line-height:1.4 !important;
}

.t4-megamenu > .navbar-nav > li:hover {
   display: table;
}

.t4-megamenu > .navbar-nav > li > a, 
.t4-megamenu > .navbar-nav > li > .nav-link {
  padding: 0.6rem 0;
}

.t4-megamenu > .navbar-nav img {
  margin-top:-7px !important;
}
.t4-megamenu.animate.slide .dropdown > .dropdown-menu {
  border-left:2px solid #e8e8f0;
}

//end mainmenu formatēšana

q.inputbox {
  background:transparent !important;
}

.head-search .search .form-control, 
.head-search .search .inputbox, 
.head-search .search .search-query, 
.head-search .form-search .form-control, 
.head-search .form-search .inputbox, 
.head-search .form-search .search-query {
  display:none;
}

.item-page .com-content-article__body>p:first-child::first-letter, 
.item-page .com-content-article__body p.has-letter::first-letter {
all:revert;
}

// Sharing tools Article

.sharing-tool svg[class*=link] {
      fill: #616161 !important;
}
.sharing-tool svg[class*=messenger] {
      fill: #003e77 !important;
}
.sharing-tool svg[class*=gmail] {
      fill: #b5001a !important;
}
.sharing-tool svg[class*=whatsapp] {
      fill: #32a350  !important;
}

.sharing-tool a.at-icon-wrapper {
  border: 1px solid #f3f3f3;
  background-color:#fefefe;
  }

// End Sharing tools

//Spotlight virsraksts un hits
.jacl-item__title:hover, 
.jacl-item__title a:hover, 
.readmore-link:hover {
  text-decoration:none !important; 
  color:#ed1c24;
 
}

.item-style-1.has-media .jacl-item__title:hover, 
.item-style-1.has-media .jacl-item__title a:hover, 
.item-style-1.has-media .readmore-link:hover {
  text-decoration:none !important; 
 color:#ed1c24;
}

.item-style-1.has-media .jacl-item__title a, 
.item-style-1.has-media .readmore-link {
  background: rgba(0, 0, 0, 0.6) !important;
  line-height:1.2em;
  display: table;
    margin: 0px auto 0px auto;
    padding: 5px;
    color: #ffffff;
}


.spotlight .item-hits {
   color: #f8f6f5;
}
.jacl-item__body {
  padding:10px !important;
}
//end spotlight 

//Article 

.item-page .com-content-article__body>p:first-child::first-letter, 
.item-page .com-content-article__body p.has-letter::first-letter {
all:revert;
}

// end Article

//* tabulas stils - platums 80%, pirma kolonna plataka - 40% *//

.datagrid table { border-collapse: collapse; text-align: left; line-height:inherit;} 
.datagrid {background: #fff; overflow: hidden; border: 1px solid #991821; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; width: 90%; margin-left:5%;}
.datagrid table td, .datagrid table th {padding: 3px 10px; line-height:auto !important; text-align:center; }
.datagrid table thead th {background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #991821), color-stop(1, #80141C) );background:-moz-linear-gradient( center top, #991821 5%, #80141C 100% );filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#991821', endColorstr='#80141C');background-color:#991821; color:#FFFFFF; font-weight: bold; border-left: 1px solid #B01C26; } 
.datagrid table thead th:first-child { border: none; }
.datagrid table tbody td { border-left: 1px solid #F7CDCD;font-weight: normal; }
.datagrid table tbody .alt td { background: #EDF1F4; }
.datagrid table tbody .alt1 td { border-top: 1px solid #991821; border-bottom: 1px solid #991821; }
.datagrid table tbody td:first-child
.datagrid table tfoot li a { text-decoration: none; display: inline-block;  padding: 2px 8px; margin: 1px;color: #FFFFFF;border: 1px solid #991821;-webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #991821), color-stop(1, #80141C) );background:-moz-linear-gradient( center top, #991821 5%, #80141C 100% );filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#991821', endColorstr='#80141C');background-color:#991821; }
.datagrid table tfoot ul.active, .datagrid table tfoot ul a:hover { text-decoration: none;border-color: #80141C; color: #FFFFFF; background: none; background-color:#991821;}
div.dhtmlx_window_active, div.dhx_modal_cover_dv { position: fixed !important; }


//* tabulas stils - platums 100%, pedeja kolonna plataka - 40% *//

.datagrid1 table { border-collapse: collapse; text-align: left; line-height:0.9em;} 
.datagrid1 {background: #fff; overflow: hidden; border: 1px solid #991821; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; width: 100%; font-size:0.9em;}
.datagrid1 table td, .datagrid1 table th {padding: 3px 10px; line-height:auto !important; text-align:center; }
.datagrid1 table thead th {background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #991821), color-stop(1, #80141C) );background:-moz-linear-gradient( center top, #991821 5%, #80141C 100% );filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#991821', endColorstr='#80141C');background-color:#991821; color:#FFFFFF; font-weight: bold; border-left: 1px solid #B01C26; } 
.datagrid1 table thead th:first-child { border: none; }
.datagrid1 table tbody td { border-left: 1px solid #F7CDCD; border-bottom: 1px solid #F7CDCD; font-weight: normal; }
.datagrid1 table tbody .alt td { background: #EDF1F4; }
.datagrid1 table tbody td:first-child { border-left: none; text-align:left;  }
.datagrid1 table tbody td:last-child { width:40%; text-align:left; }
.datagrid1 table tbody tr:last-child td { border-bottom: none; }
.datagrid1 table tfoot td div {} 
.datagrid1 table tfoot td { border-top: 1px solid #991821;background: #F4F4F4;} 
.datagrid1 table tfoot td div{ }
.datagrid1 table tfoot td ul { margin:10px;padding:2px; text-align: left; }
.datagrid1 table tfoot td ul li { margin-left:10px;padding:2px; text-align: left; }
.datagrid1 table tfoot li a { text-decoration: none; display: inline-block;  padding: 2px 8px; margin: 1px;color: #FFFFFF;border: 1px solid #991821;-webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #991821), color-stop(1, #80141C) );background:-moz-linear-gradient( center top, #991821 5%, #80141C 100% );filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#991821', endColorstr='#80141C');background-color:#991821; }
.datagrid1 table tfoot ul.active, .datagrid1 table tfoot ul a:hover { text-decoration: none;border-color: #80141C; color: #FFFFFF; background: none; background-color:#991821;}
div.dhtmlx_window_active, div.dhx_modal_cover_dv { position: fixed !important; }

//* tabulas stils - platums 100%, pedeja kolonna 20% *//

.datagrid2 table { border-collapse: collapse; text-align: left; line-height:0.9em;} 
.datagrid2 {background: #fff; overflow: hidden; border: 1px solid #991821; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; width: 100%; font-size:0.9em;}
.datagrid2 table td, .datagrid2 table th {padding: 3px 10px; line-height:auto !important; text-align:center; }
.datagrid2 table thead th {background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #991821), color-stop(1, #80141C) );background:-moz-linear-gradient( center top, #991821 5%, #80141C 100% );filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#991821', endColorstr='#80141C');background-color:#991821; color:#FFFFFF; font-weight: bold; border-left: 1px solid #B01C26; } 
.datagrid2 table thead th:first-child { border: none; }
.datagrid2 table tbody td { border-left: 1px solid #F7CDCD; border-bottom: 1px solid #F7CDCD; font-weight: normal; }
.datagrid2 table tbody .alt td { background: #EDF1F4; }
.datagrid2 table tbody td:first-child { border-left: none; text-align:left;  }
.datagrid2 table tbody td:last-child { width:20%; text-align:center; }
.datagrid2 table tbody tr:last-child td { border-bottom: none; }
.datagrid2 table tfoot td div {} 
.datagrid2 table tfoot td { border-top: 1px solid #991821;background: #F4F4F4;} 
.datagrid2 table tfoot td div{ }
.datagrid2 table tfoot td ul { margin:10px;padding:2px; text-align: left; }
.datagrid2 table tfoot td ul li { margin-left:10px;padding:2px; text-align: left; }
.datagrid2 table tfoot li a { text-decoration: none; display: inline-block;  padding: 2px 8px; margin: 1px;color: #FFFFFF;border: 1px solid #991821;-webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #991821), color-stop(1, #80141C) );background:-moz-linear-gradient( center top, #991821 5%, #80141C 100% );filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#991821', endColorstr='#80141C');background-color:#991821; }
.datagrid2 table tfoot ul.active, .datagrid2 table tfoot ul a:hover { text-decoration: none;border-color: #80141C; color: #FFFFFF; background: none; background-color:#991821;}
div.dhtmlx_window_active, div.dhx_modal_cover_dv { position: fixed !important; }
.datagrid2 table tbody th.fitwidth {
    width: 1px;
    white-space: nowrap;
}

//* tabulas stils - platums 100%, pedeja kolonna plataka - 50% *//

.datagrid3 table { border-collapse: collapse; text-align: left; line-height:0.9em;} 
.datagrid3 {background: #fff; overflow: hidden; border: 1px solid #991821; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; width: 100%; font-size:0.9em;}
.datagrid3 table td, .datagrid3 table th {padding: 3px 10px; line-height:auto !important; text-align:center; }
.datagrid3 table thead th {background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #991821), color-stop(1, #80141C) );background:-moz-linear-gradient( center top, #991821 5%, #80141C 100% );filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#991821', endColorstr='#80141C');background-color:#991821; color:#FFFFFF; font-weight: bold; border-left: 1px solid #B01C26; } 
.datagrid3 table thead th:first-child { border: none; }
.datagrid3 table tbody td { border-left: 1px solid #F7CDCD; border-bottom: 1px solid #F7CDCD; font-weight: normal; }
.datagrid3 table tbody .alt td { background: #EDF1F4; }
.datagrid3 table tbody td:first-child { border-left: none; text-align:left;  }
.datagrid3 table tbody td:last-child { width:50%; text-align:left; }
.datagrid3 table tbody td:first-child { width:30%; text-align:left; }
.datagrid3 table tbody tr:last-child td { border-bottom: none; }
.datagrid3 table tfoot td div {} 
.datagrid3 table tfoot td { border-top: 1px solid #991821;background: #F4F4F4;} 
.datagrid3 table tfoot td div{ }
.datagrid3 table tfoot td ul { margin:10px;padding:2px; text-align: left; }
.datagrid3 table tfoot td ul li { margin-left:10px;padding:2px; text-align: left; }
.datagrid3 table tfoot li a { text-decoration: none; display: inline-block;  padding: 2px 8px; margin: 1px;color: #FFFFFF;border: 1px solid #991821;-webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #991821), color-stop(1, #80141C) );background:-moz-linear-gradient( center top, #991821 5%, #80141C 100% );filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#991821', endColorstr='#80141C');background-color:#991821; }
.datagrid3 table tfoot ul.active, .datagrid3 table tfoot ul a:hover { text-decoration: none;border-color: #80141C; color: #FFFFFF; background: none; background-color:#991821;}
div.dhtmlx_window_active, div.dhx_modal_cover_dv { position: fixed !important; }