/*
      # # # # # # # # # # # # # # # # # # # ## # # # # # # # # # # # # # # # # #
      #                                                                        #
      #                         VEILON BASIC FRAMEWORK                         #
      #                                                                        #
      # # # # # # # # # # # # # # # # # # # ## # # # # # # # # # # # # # # # # # 
*/

/*
  
  Fonts
  Body
  Header
    Search
  Navigation
  Forums
    Topic View
    Pagination
    Tags & Prefix
    Forum Mili-List
    Topics Statistics Display
    Model SubForum
    internalEmbed
    CKEditor
  Apps
    Blogs
    Clubs
    Pages
      Articles
    (BIM) ChatBox
  Widget's & Title's
  Social Icons
  Forms
  Menu's
  LeaderBoard
  Reactions
  Responsive
  
*/

.swiper-wrapper video {
  margin-left: calc((100vw - (100vh * 1.7))/2);
  margin-right: calc((100vw - (100vh * 1.7))/2);
  min-height: 100vh;
  min-width: 100vw;
  position: absolute;
}


.swiper-wrapper video {
    object-fit: contain;
}
@media (min-aspect-ratio: 16/9) {
  .swiper-wrapper video {
    margin-left: 0;
  }
}


:root {
    --subforum-display: grid;
    --subforum-min-width: {theme='veilon_subforum_minwidth'};
    --subforum-gap: 6px;
}

/* Articles */
{{if theme.veilon_articles_block_style == 'first'}}
.vn-articles {
    position: relative;
    margin-bottom: 15px;
    height: 100%;
}
.vn-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 7px;
}
.vn-articles-grid .vn-articles-list li:first-child {
  grid-row: 1 / 3;
}
.vn-articles-grid .vn-articles-list > li:first-child {
    height: 360px;
    margin: 0;
}
.vn-articles-list {
  position: relative;
  display: contents;
}
.vn-articles-list > li,
.vn_articles_item {
    float: left;
    height: 175px;
    min-height: 175px;
    overflow: hidden;
    background-color: #22242e;
    border-radius: 5px;
}
{{if theme.veilon_articles_block_type == 'slider'}}
.vn-articles {
    height: 230px;
}
.vn_articles_item {
  position: relative;
    z-index: 1;
    overflow: hidden;
    background-color: #1a1c22;
    border-radius: 4px;
    display: flex;
    align-items: flex-end;
    color: #fff;
    flex-shrink: 0;
    min-height: 225px;
}
{{else}}
.vn_articles_item:first-child {
    grid-row: 1 / 3;
    height: 100%;
}
{{endif}}
.vn-articles-list > li a,
.vn_articles_item a {
    width: 100%;
    height: 100%;
    display: table;
    position: relative;
}
.vn-articles-list > li:first-child a:before,
.vn_articles_item:first-child a:before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: -moz-linear-gradient(top, rgba(34, 36, 46, 0) 30%, rgba(21, 17, 29, 0.8) 100%);
    background: -webkit-linear-gradient(top, rgba(34, 36, 46, 0) 30%,rgba(21, 17, 29, 0.8) 100%);
    background: linear-gradient(to bottom, rgba(34, 36, 46, 0) 30%,rgba(21, 17, 29, 0.8) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1a22242e', endColorstr='#22242e',GradientType=0 );
    z-index: 2;
}
.vn-articles-grid .vn-articles-list > li:first-child a .vn-articles-grid-info,
.vn_articles_item:first-child a .vn-articles-grid-info {
    left: 0;
    bottom: 30px;
    color: #fff;
    text-align: left;
    display: block;
    position: absolute;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.vn-articles-list > li a .vn-articles-grid-info,
.vn_articles_item a .vn-articles-grid-info {
    color: #fff;
    text-align: left;
    display: table-cell;
    position: relative;
    padding: 0 30px;
    vertical-align: middle;
}
.vn-articles-list > li a .vn-articles-grid-info,
.vn-articles-list > div a .vn-articles-grid-stats,
.vn_articles_item a .vn-articles-grid-info,
.vn_articles_item a .vn-articles-grid-stats {
    position: absolute;
    bottom: 20px;
    z-index: 5;
    width: 100%;
    overflow: hidden;
    background-color: transparent;
}
.vn-articles-grid .vn-articles-list > div:first-child a .vn-articles-list-info h3,
.vn_articles_item:first-child a .vn-articles-list-info h3 {
    font-size: 24px;
    line-height: 28px;
}
.vn-articles-list > div a .vn-articles-grid-info h3,
.vn_articles_item a .vn-articles-grid-info h3 {
    margin: 0 0 10px;
}
.vn-articles-list > li a .vn-articles-grid-info h2,
.vn_articles_item a .vn-articles-grid-info h2 {
    margin: 0 0 10px; 
}

.vn-articles-list > li a .vn-articles-list-preview,
.vn_articles_item a .vn-articles-list-preview {
    background-size: cover !important;
    height: 100%;
    width: 100%;
    max-height: 100%;
    max-width: 100%;
    z-index: 1;
    position: absolute;
    left: 0;
    top: 0;
    transition: all .6s ease;
}
.vn-articles-list > li a:hover .vn-articles-list-preview::before,
.vn_articles_item a:hover .vn-articles-list-preview::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background-image: linear-gradient(to bottom, transparent 30%, rgba(21,17,29,.65));
  opacity: .7;
  transition: all .4s ease;
}
.vn-articles-list li:hover .vn-articles-list-preview,
.vn_articles_item a:hover .vn-articles-list-preview {
  filter:  none;
  transform: scale(1.1);
}
.vn-articles-list li:hover .vn-articles-list-preview,
.vn_articles_item a:hover .vn-articles-list-preview {
  opacity: 1;
}
.vn-articles-list .vn-articles-list-preview,
.vn_articles_item .vn-articles-list-preview{
  filter: grayscale(.6) brightness(.9);
}

.vn_articles_slider.swiper-container {
  padding: 0 15px !important;
}

.vn-articles-footer .vn-articles-list > li {
    min-height: initial;
    margin-bottom: 7px;
}

.vn-articles-footer .vn-articles-list > li {
  float: unset;
    margin: 10px 0 !important;
    height: 75px;
}
.vn-articles-footer .vn-articles-list > li a .vn-articles-grid-info h2 {
    font-size: 14px;
  float: unset;
    margin: 0;
}

.vn-articles-footer .vn-articles-list > li a  {
  display: flex;
    justify-content: center;
    flex-flow: column;
}

.vn-articles-footer .vn-articles-list > li a .vn-articles-grid-info, 
.vn-articles-footer .vn-articles-list > li a .vn-articles-grid-stats {
  bottom: auto;
}


.vnArticlesGrid_sec2 .pinned {
  display: none;
}

.vn-articles-grid-slider {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-gap: 20px;
  float: right;
  margin-top: 12%;
}

.vn-articles-grid-slider .vn-articles-list > li {
  display: block;
  width: 450px;
  height: 220px;
}
{{else}}
.vn-recent-news {
  height: 360px;
  overflow: hidden;
  position: relative;
  background-color: {theme='page_background'};
  margin: 0 auto;
}
.vn-recent-news .vn-recent-news-list > li:first-child {
    width: 49%;
    height: 360px;
    margin: 0;
}
.vn-recent-news-list {
  position: relative;
  display: contents;
}
.vn-recent-news .vn-recent-news-list > li {
    width: 25%;
    height: 50%;
    float: left;
    height: 178px;
    margin-bottom: 5px;
    overflow: hidden;
    background-color: #22242e;
    border-radius: 5px;
  margin-left: 5px;
}
.vn-recent-news .vn-recent-news-list > li a {
    width: 100%;
    height: 100%;
    display: table;
    position: relative;
}
.vn-recent-news .vn-recent-news-list > li:first-child a:before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: -moz-linear-gradient(top, rgba(34, 36, 46, 0) 30%, rgba(21, 17, 29, 0.8) 100%);
    background: -webkit-linear-gradient(top, rgba(34, 36, 46, 0) 30%,rgba(21, 17, 29, 0.8) 100%);
    background: linear-gradient(to bottom, rgba(34, 36, 46, 0) 30%,rgba(21, 17, 29, 0.8) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1a22242e', endColorstr='#22242e',GradientType=0 );
    z-index: 2;
}
.vn-recent-news .vn-recent-news-list > li:first-child a .vn-recent-news-info {
    left: 0;
    bottom: 30px;
    color: #fff;
    text-align: left;
    display: block;
    position: absolute;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.vn-recent-news .vn-recent-news-list > li a .vn-recent-news-info {
    color: #fff;
    text-align: left;
    display: table-cell;
    position: absolute;
    bottom: 20px;
    padding: 0 30px;
    vertical-align: middle;
}
.vn-recent-news .vn-recent-news-list > li a .vn-recent-news-info, .vn-recent-news .vn-recent-news-list > li a .vn-recent-news-stats {
    z-index: 5;
    width: 100%;
    overflow: hidden;
    background-color: transparent;
    bottom: 30px;
}
.vn-recent-news .vn-recent-news-list > li:first-child a .vn-recent-news-info h3 {
    font-size: 24px;
    line-height: 28px;
}
.vn-recent-news .vn-recent-news-list > li a .vn-recent-news-info h3 {
    margin: 0 0 10px;
}
.vn-recent-news .vn-recent-news-list > li:first-child .vn-recent-news-preview {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;
    filter: alpha(opacity=100) !important;
    -moz-opacity: 1 !important;
    -khtml-opacity: 1 !important;
    opacity: 1 !important;
}
.vn-recent-news .vn-recent-news-list > li a .vn-recent-news-preview {
    height: 100%;
    width: 100%;
    max-height: 100%;
    max-width: 100%;
    z-index: 1;
    position: absolute;
    left: 0;
    top: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";
    filter: alpha(opacity=30);
    -moz-opacity: 0.3;
    -khtml-opacity: 0.3;
    opacity: 0.3;
    -webkit-transition: opacity .3s ease-in-out;
    -moz-transition: opacity .3s ease-in-out;
    -o-transition: opacity .3s ease-in-out;
    transition: opacity .3s ease-in-out;
}
.vn-recent-news .vn-recent-news-list > li a:hover .vn-recent-news-preview {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
    filter: alpha(opacity=40);
    -moz-opacity: 0.4;
    -khtml-opacity: 0.4;
    opacity: 0.4;
}
@media screen and (max-width: 767px) {
  .vn-recent-news { height: 100%; }
  .vn-recent-news .vn-recent-news-list > li:first-child { width: 100%; }
  .vn-recent-news .vn-recent-news-list > li { width: 100%;  }
}
{{endif}}

/* Footer Articles */

{{if theme.veilon_articles_footer_enable}}
{{if theme.veilon_articles_footer_type == 'list'}}
.veilon_footer_articles_list li {
  display: flex;
  position: relative; 
  padding-bottom: 10px;
}
.veilon_footer_articles_list .footer-content-article {
  flex-flow: column;
  display: flex;
  justify-content: center;
  padding-left: 10px;
}
.veilon_footer_articles_list .footer-content-article-image .image_box {
  background-size: cover;
  width: 50px;
  height: 50px;
  border-radius: 3px;
}
.veilon_footer_articles_list .footer-content-article h4 a {
  font-size: 14px;
}
.veilon_footer_articles_list .footer-content-article h4 a::before {
  content: '';
  top: -4px;
  left: 0;
  right: 0;
  bottom: -4px;
  position: absolute;
}
.footer-content-article-image:hover {
  filter: grayscale(.6) brightness(.9);
}
.veilon_footer_articles_list .footer-content-article span {
  font-size: 12px;
}
.veilon_footer_articles_list .footer-content-article span a {
  position: relative;
  z-index: 2;
}
{{endif}}
{{endif}}

/* ================== */
/*        Fonts       */
/* ================== */

{{if theme.veilon_font_mode == 'google'}}
.ipsType_pageTitle, .ipsType_sectionTitle,
.ipsType_secondaryTitle, .ipsType_sectionHead,
.ipsType_minorHeading
.ipsNavBar_primary > ul > li > a,
.ipsNavBar_secondary > li > a,
.ipsNavBar_primary .ipsMenu_item > a,
.ipsNavBar_primary .ipsMenu_item > span,
.ipsType_pageTitle, 
.ipsType_sectionTitle,
.ipsType_secondaryTitle,
.ipsType_sectionHead,
.ipsType_minorHeading
#elSiteTitle {
    font-family: "{theme="veilon_headline_google_font"}", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
{{endif}}
html[dir="ltr"] #elBackHome,
.swiper-slide-content h2,
.slide-info,
html[dir="ltr"] .ipsNavBar_primary > ul > li > a,
.v-nav-header,
.ipsMenu_title,
.ipsFieldRow_section,
.cStreamFilter h3,
.ipsApp .ipsButton,
#modcp_menu .ipsSideMenu_title,
.ipsTabs,
.ipsSpoiler_header,
.ui-datepicker th,
.ui-datepicker,
.ipsPager_type,
.ipsCalendarDate_month,
.ipsCalendarDate.ipsCalendarDate_large .ipsCalendarDate_date,
#guestMessage h1,
#secondaryFooter h2,
.ipsTable.ipsMatrix .ipsMatrix_subHeader {
{{if theme.veilon_navhead_google_font || theme.veilon_font_mode == 'google'}}
    font-family: "{theme="veilon_headline_google_font"}", "Helvetica Neue", Helvetica, Arial, sans-serif;
{{else}}
  {{if !theme.body_font || theme.body_font == 'default'}}
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
{{else}}
    font-family: "{theme="body_font"}", "Helvetica Neue", Helvetica, Arial, sans-serif;
  {{endif}}
{{endif}}
}

.ipsType_veryLarge { color: {theme='text_color'}; }

/* ================== */
/*        Body        */
/* ================== */

body {
{{if theme.veilon_image_background_enable == 1}}
  {{if theme.veilon_image_background or theme.veilon_image_background_ifs}}
    background-image: url({{if theme.veilon_image_background_ifs == 'slide1'}}{theme="veilon_s1i"}{{elseif theme.veilon_image_background_ifs == 'slide2'}}{theme="veilon_s2i"}{{elseif theme.veilon_image_background_ifs == 'slide3'}}{theme="veilon_s3i"}{{elseif theme.veilon_image_background_ifs == 'slide4'}}{theme="veilon_s4i"}{{elseif theme.veilon_image_background_ifs == 'slide5'}}{theme="veilon_s5i"}{{elseif theme.veilon_image_background_ifs == 'none'}}{theme="veilon_image_background"}{{endif}});
    {{if theme.veilon_image_background_repeat}}background-repeat: {theme='veilon_image_background_repeat'};{{endif}}
    {{if theme.veilon_image_background_size}}background-size: {theme='veilon_image_background_size'};{{endif}}
     {{if theme.veilon_image_background_position}}background-position: {theme='veilon_image_background_position'};{{endif}}
    {{if theme.veilon_image_background_attachment}}background-attachment: {theme='veilon_image_background_attachment'};{{endif}}
  {{endif}}
{{endif}}
{{if theme.veilon_body_google_font || theme.veilon_font_mode == 'google'}}
    font-family: "{theme="veilon_body_google_font"}", "Helvetica Neue", Helvetica, Arial, sans-serif;
{{else}}
  {{if !theme.body_font || theme.body_font == 'default'}}
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
{{else}}
    font-family: "{theme="body_font"}", "Helvetica Neue", Helvetica, Arial, sans-serif;
  {{endif}}
{{endif}}
{{if theme.veilon_font_smoothing}}
  -webkit-font-smoothing: subpixel-antialiased !important;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility:    hidden;
  -ms-backface-visibility:     hidden;
{{endif}}
}

{{if theme.veilon_image_background_gradients}}
body.ipsApp.ipsApp_front:before {
    {theme="veilon_image_background_gradients"}
}
{{endif}}

.ipsLayout_container {
  {{if theme.enable_fluid_width}}
    {{if theme.fluid_width_size}}
      max-width: {theme="fluid_width_size"}%;
    {{else}}
      max-width: 100%;
    {{endif}}
  {{else}}
   max-width: {theme='veilon_layout_container_max_width'}px !important;
  {{endif}}
}  

#ipsLayout_mainArea {
    padding: 0 20px;
}

html[dir="ltr"] #ipsLayout_sidebar.ipsLayout_sidebarright, 
html[dir="rtl"] #ipsLayout_sidebar.ipsLayout_sidebarleft {
    padding-right: 20px;
}

#ipsLayout_sidebar {
  min-width: {theme='veilon_sidebar_width'}px;
  max-width: {theme='veilon_sidebar_width'}px;
}

#ipsLayout_sidebar a.ipsDataItem_title, #ipsLayout_sidebar .ipsContained {
  padding-right: 10px;
}

html[dir="ltr"] #elSearch button { right: 5px; color: #fff; cursor: pointer;}

#cAnnouncementSidebar {
  padding-bottom: 10px;
}

/* Button Settings */

.ipsApp .ipsButton:not( .ipsButton_noHover ):hover {
    cursor: pointer;
    text-decoration: none;
    filter: brightness(1.1) saturate(1.05);
}

.cGallerySubmit_uploadImages .ipsAttachment_dropZone:not( .ipsDragging ) {
  border-color: {theme='link_hover'};
}

#elGallerySubmit_imageUploader .ipsAttachment_fileList .ipsImageAttach {
  border: 1px solid {theme='veilon_border_color'};
}

#elGallerySubmit_imageUploader .ipsAttachment_fileList .ipsImageAttach:hover {
  background: {theme='area_background_reset'};
  border-color: {theme='link_hover'};
}

.cGalleryExif_data li {
  background: {theme='area_background_dark'};
}

#veilon_gotop {
    position: fixed;
    right: 15px;
    bottom: -55px;
    height: 40px;
    width: 40px;
    border-radius: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background: {theme="primary_button"};
    color: {theme='primary_button_font'};
    box-shadow: 0px 2px 20px {hextorgb="primary_button" opacity="0.5"};
    color: #ffffff;
    transition-property: box-shadow, border-color, color, background, text-shadow, opacity;
    transition: 400ms ease;
  	z-index: 9999;
}
#veilon_gotop:hover {
    filter: brightness(1.1) saturate(1.1);
}
#veilon_gotop.show {
    bottom: 15px;
}


/* ================== */
/*       Header       */
/* ================== */

#elLogo img { max-height: {theme='veilon_logo_height'}px;  }

#ipsLayout_header header > .ipsLayout_container { width: 100%; }

/* sticky head */

#vn-sticky.stickyhead {
  position: fixed;
  top: 0;
  right:0;
  left:0;
  background: rgba(0,0,0,0.7);
  box-shadow:0 0 10px rgba(0,0,0,0.3);
  z-index: 9999;
}

/* search */

#elSearch {
  background: {theme='veilon_search_background'};
}

#elSearchFilter {
  background: {theme='veilon_search_filter_background'};
}

html[dir="ltr"] #elSearch button {
  color: {theme='veilon_search_icon_color'} !important;
}

.ipsMenu_item > a:not(.ipsMenu_itemInline),
.ipsMenu_item > span:not(.ipsMenu_itemInline) {
  color: {theme='text_color'};
}

ul:not(.ipsMenu_keyNav) .ipsMenu_item:not(.ipsMenu_itemClicked):not(.ipsMenu_itemDisabled) a:not(.ipsMenu_itemInline):hover,
.ipsMenu_item[data-selected] a,
.ipsMenu_item[data-selected] span,
.ipsMenu_item.ipsMenu_hover {
  background: {theme='area_background'};
}

/* ================== */
/*     Navigation     */
/* ================== */

/* NAV ICONS */
{{if theme.veilon_navbar_icons_type == 'images'}}
  .ipsNavBar_primary > ul > li > a::before,
  .ipsNavBar_primary > ul > li.ipsNavBar_active > a::before {
      display: block;
      width: 23px;
      height: 23px;
      margin: -11px auto 7px;
  }
  {{if theme.veilon_navbar_category_1}}
  .ipsNavBar_primary > ul > li[data-navtitle="{theme='veilon_navbar_category_1_title'}"] > a::before {
      content: "";
  {{if theme.veilon_navbar_image_1}}
      background: url({theme='veilon_navbar_image_1'}) no-repeat;
  {{endif}}
  }
  .ipsNavBar_primary > ul > li[data-navtitle="{theme='veilon_navbar_category_1_title'}"].ipsNavBar_active > a::before{
    content: "";
  {{if theme.veilon_navbar_image_active_1}}
    background: url({theme='veilon_navbar_image_active_1'}) no-repeat;
  {{endif}}
  }
  {{endif}}
  {{if theme.veilon_navbar_category_2}}
  .ipsNavBar_primary > ul > li[data-navtitle="{theme='veilon_navbar_category_2_title'}"] > a::before {
      content: "";
  {{if theme.veilon_navbar_image_2}}
      background: url({theme='veilon_navbar_image_2'}) no-repeat;
  {{endif}}
  }
  .ipsNavBar_primary > ul > li[data-navtitle="{theme='veilon_navbar_category_2_title'}"].ipsNavBar_active > a::before{
    content: "";
  {{if theme.veilon_navbar_image_active_2}}
    background: url({theme='veilon_navbar_image_active_2'}) no-repeat;
  {{endif}}
  }
  {{endif}}
  {{if theme.veilon_navbar_category_3}}
  .ipsNavBar_primary > ul > li[data-navtitle="{theme='veilon_navbar_category_3_title'}"] > a::before {
      content: "";
  {{if theme.veilon_navbar_image_3}}
      background: url({theme='veilon_navbar_image_3'}) no-repeat;
  {{endif}}
  }
  .ipsNavBar_primary > ul > li[data-navtitle="{theme='veilon_navbar_category_3_title'}"].ipsNavBar_active > a::before{
    content: "";
  {{if theme.veilon_navbar_image_active_3}}
    background: url({theme='veilon_navbar_image_active_3'}) no-repeat;
  {{endif}}
  }
  {{endif}}
  {{if theme.veilon_navbar_category_4}}
  .ipsNavBar_primary > ul > li[data-navtitle="{theme='veilon_navbar_category_4_title'}"] > a::before {
      content: "";
  {{if theme.veilon_navbar_image_4}}
      background: url({theme='veilon_navbar_image_4'}) no-repeat;
  {{endif}}
  }
  .ipsNavBar_primary > ul > li[data-navtitle="{theme='veilon_navbar_category_4_title'}"].ipsNavBar_active > a::before{
    content: "";
  {{if theme.veilon_navbar_image_active_4}}
    background: url({theme='veilon_navbar_image_active_4'}) no-repeat;
  {{endif}}
  }
  {{endif}}
  {{if theme.veilon_navbar_category_5}}
  .ipsNavBar_primary > ul > li[data-navtitle="{theme='veilon_navbar_category_5_title'}"] > a::before {
      content: "";
  {{if theme.veilon_navbar_image_5}}
      background: url({theme='veilon_navbar_image_5'}) no-repeat;
  {{endif}}
  }
  .ipsNavBar_primary > ul > li[data-navtitle="{theme='veilon_navbar_category_5_title'}"].ipsNavBar_active > a::before{
    content: "";
  {{if theme.veilon_navbar_image_active_5}}
    background: url({theme='veilon_navbar_image_active_5'}) no-repeat;
  {{endif}}
  }
  {{endif}}
  {{if theme.veilon_navbar_category_6}}
  .ipsNavBar_primary > ul > li[data-navtitle="{theme='veilon_navbar_category_6_title'}"] > a::before {
      content: "";
  {{if theme.veilon_navbar_image_6}}
      background: url({theme='veilon_navbar_image_6'}) no-repeat;
  {{endif}}
  }
  .ipsNavBar_primary > ul > li[data-navtitle="{theme='veilon_navbar_category_6_title'}"].ipsNavBar_active > a::before{
    content: "";
  {{if theme.veilon_navbar_image_active_6}}
    background: url({theme='veilon_navbar_image_active_6'}) no-repeat;
  {{endif}}
  }
  {{endif}}
{{endif}}

  {{if theme.veilon_navbar_icons_type == 'faicons'}}
    .ipsNavBar_primary > ul > li > a:before {
    font-family: Fontawesome, 'Font Awesome 5 Free';
  {{if theme.veilon_navbar_orientation == 'vertical'}}
      display: block;
  {{endif}}
    }
    .ipsNavBar_primary #elNavigationMore a#elNavigationMore_dropdown:before {
      content: "\f0c9";
      margin-right: 5px;
      vertical-align: middle; 
    }
    {{$faicons = array("fa-500px" => "\\f26e","fa-accessible-icon" => "\\f368","fa-accusoft" => "\\f369","fa-address-book  f2b9","fa-address-book" => "\\f2b9","fa-address-card" => "\\f2bb","fa-adjust" => "\\f042","fa-adn" => "\\f170","fa-adversal" => "\\f36a","fa-affiliatetheme" => "\\f36b","fa-alarm-clock" => "\\f34e","fa-algolia" => "\\f36c","fa-align-center" => "\\f037","fa-align-justify" => "\\f039","fa-align-left" => "\\f036","fa-align-right" => "\\f038","fa-amazon" => "\\f270","fa-amazon-pay" => "\\f42c","fa-ambulance" => "\\f0f9","fa-american-sign-language-interpreting" => "\\f2a3","fa-amilia" => "\\f36d","fa-anchor" => "\\f13d","fa-android" => "\\f17b","fa-angellist" => "\\f209","fa-angle-double-down" => "\\f103","fa-angle-double-left" => "\\f100","fa-angle-double-right" => "\\f101","fa-angle-double-up" => "\\f102","fa-angle-down" => "\\f107","fa-angle-left" => "\\f104","fa-angle-right" => "\\f105","fa-angle-up" => "\\f106","fa-angrycreative" => "\\f36e","fa-angular" => "\\f420","fa-app-store" => "\\f36f","fa-app-store-ios" => "\\f370","fa-apper" => "\\f371","fa-apple" => "\\f179","fa-apple-pay" => "\\f415","fa-archive" => "\\f187","fa-arrow-alt-circle-down" => "\\f358","fa-arrow-alt-circle-left" => "\\f359","fa-arrow-alt-circle-right" => "\\f35a","fa-arrow-alt-circle-up" => "\\f35b","fa-arrow-alt-down" => "\\f354","fa-arrow-alt-from-bottom" => "\\f346","fa-arrow-alt-from-left" => "\\f347","fa-arrow-alt-from-right" => "\\f348","fa-arrow-alt-from-top" => "\\f349","fa-arrow-alt-left" => "\\f355","fa-arrow-alt-right" => "\\f356","fa-arrow-alt-square-down" => "\\f350","fa-arrow-alt-square-left" => "\\f351","fa-arrow-alt-square-right" => "\\f352","fa-arrow-alt-square-up" => "\\f353","fa-arrow-alt-to-bottom" => "\\f34a","fa-arrow-alt-to-left" => "\\f34b","fa-arrow-alt-to-right" => "\\f34c","fa-arrow-alt-to-top" => "\\f34d","fa-arrow-alt-up" => "\\f357","fa-arrow-circle-down" => "\\f0ab","fa-arrow-circle-left" => "\\f0a8","fa-arrow-circle-right" => "\\f0a9","fa-arrow-circle-up" => "\\f0aa","fa-arrow-down" => "\\f063","fa-arrow-from-bottom" => "\\f342","fa-arrow-from-left" => "\\f343","fa-arrow-from-right" => "\\f344","fa-arrow-from-top" => "\\f345","fa-arrow-left" => "\\f060","fa-arrow-right" => "\\f061","fa-arrow-square-down" => "\\f339","fa-arrow-square-left" => "\\f33a","fa-arrow-square-right" => "\\f33b","fa-arrow-square-up" => "\\f33c","fa-arrow-to-bottom" => "\\f33d","fa-arrow-to-left" => "\\f33e","fa-arrow-to-right" => "\\f340","fa-arrow-to-top" => "\\f341","fa-arrow-up" => "\\f062","fa-arrows" => "\\f047","fa-arrows-alt" => "\\f0b2","fa-arrows-alt-h" => "\\f337","fa-arrows-alt-v" => "\\f338","fa-arrows-h" => "\\f07e","fa-arrows-v" => "\\f07d","fa-assistive-listening-systems" => "\\f2a2","fa-asterisk" => "\\f069","fa-asymmetrik" => "\\f372","fa-at" => "\\f1fa","fa-audible" => "\\f373","fa-audio-description" => "\\f29e","fa-autoprefixer" => "\\f41c","fa-avianex" => "\\f374","fa-aviato" => "\\f421","fa-aws" => "\\f375","fa-backward" => "\\f04a","fa-badge" => "\\f335","fa-badge-check" => "\\f336","fa-balance-scale" => "\\f24e","fa-ban" => "\\f05e","fa-bandcamp" => "\\f2d5","fa-barcode" => "\\f02a","fa-bars" => "\\f0c9","fa-baseball" => "\\f432","fa-baseball-ball" => "\\f433","fa-basketball-ball" => "\\f434","fa-basketball-hoop" => "\\f435","fa-bath" => "\\f2cd","fa-battery-bolt" => "\\f376","fa-battery-empty" => "\\f244","fa-battery-full" => "\\f240","fa-battery-half" => "\\f242","fa-battery-quarter" => "\\f243","fa-battery-slash" => "\\f377","fa-battery-three-quarters" => "\\f241","fa-bed" => "\\f236","fa-beer" => "\\f0fc","fa-behance" => "\\f1b4","fa-behance-square" => "\\f1b5","fa-bell" => "\\f0f3","fa-bell-slash" => "\\f1f6","fa-bicycle" => "\\f206","fa-bimobject" => "\\f378","fa-binoculars" => "\\f1e5","fa-birthday-cake" => "\\f1fd","fa-bitbucket" => "\\f171","fa-bitcoin" => "\\f379","fa-bity" => "\\f37a","fa-black-tie" => "\\f27e","fa-blackberry" => "\\f37b","fa-blind" => "\\f29d","fa-blogger" => "\\f37c","fa-blogger-b" => "\\f37d","fa-bluetooth" => "\\f293","fa-bluetooth-b" => "\\f294","fa-bold" => "\\f032","fa-bolt" => "\\f0e7","fa-bomb" => "\\f1e2","fa-book" => "\\f02d","fa-bookmark" => "\\f02e","fa-bowling-ball" => "\\f436","fa-bowling-pins" => "\\f437","fa-boxing-glove" => "\\f438","fa-braille" => "\\f2a1","fa-briefcase" => "\\f0b1","fa-browser" => "\\f37e","fa-btc" => "\\f15a","fa-bug" => "\\f188","fa-building" => "\\f1ad","fa-bullhorn" => "\\f0a1","fa-bullseye" => "\\f140","fa-buromobelexperte" => "\\f37f","fa-bus" => "\\f207","fa-buysellads" => "\\f20d","fa-calculator" => "\\f1ec","fa-calendar" => "\\f133","fa-calendar-alt" => "\\f073","fa-calendar-check" => "\\f274","fa-calendar-edit" => "\\f333","fa-calendar-exclamation" => "\\f334","fa-calendar-minus" => "\\f272","fa-calendar-plus" => "\\f271","fa-calendar-times" => "\\f273","fa-camera" => "\\f030","fa-camera-alt" => "\\f332","fa-camera-retro" => "\\f083","fa-car" => "\\f1b9","fa-caret-circle-down" => "\\f32d","fa-caret-circle-left" => "\\f32e","fa-caret-circle-right" => "\\f330","fa-caret-circle-up" => "\\f331","fa-caret-down" => "\\f0d7","fa-caret-left" => "\\f0d9","fa-caret-right" => "\\f0da","fa-caret-square-down" => "\\f150","fa-caret-square-left" => "\\f191","fa-caret-square-right" => "\\f152","fa-caret-square-up" => "\\f151","fa-caret-up" => "\\f0d8","fa-cart-arrow-down" => "\\f218","fa-cart-plus" => "\\f217","fa-cc-amazon-pay" => "\\f42d","fa-cc-amex" => "\\f1f3","fa-cc-apple-pay" => "\\f416","fa-cc-diners-club" => "\\f24c","fa-cc-discover" => "\\f1f2","fa-cc-jcb" => "\\f24b","fa-cc-mastercard" => "\\f1f1","fa-cc-paypal" => "\\f1f4","fa-cc-stripe" => "\\f1f5","fa-cc-visa" => "\\f1f0","fa-centercode" => "\\f380","fa-certificate" => "\\f0a3","fa-chart-area" => "\\f1fe","fa-chart-bar" => "\\f080","fa-chart-line" => "\\f201","fa-chart-pie" => "\\f200","fa-check" => "\\f00c","fa-check-circle" => "\\f058","fa-check-square" => "\\f14a","fa-chess" => "\\f439","fa-chess-bishop" => "\\f43a","fa-chess-bishop-alt" => "\\f43b","fa-chess-board" => "\\f43c","fa-chess-clock" => "\\f43d","fa-chess-clock-alt" => "\\f43e","fa-chess-king" => "\\f43f","fa-chess-king-alt" => "\\f440","fa-chess-knight" => "\\f441","fa-chess-knight-alt" => "\\f442","fa-chess-pawn" => "\\f443","fa-chess-pawn-alt" => "\\f444","fa-chess-queen" => "\\f445","fa-chess-queen-alt" => "\\f446","fa-chess-rook" => "\\f447","fa-chess-rook-alt" => "\\f448","fa-chevron-circle-down" => "\\f13a","fa-chevron-circle-left" => "\\f137","fa-chevron-circle-right" => "\\f138","fa-chevron-circle-up" => "\\f139","fa-chevron-double-down" => "\\f322","fa-chevron-double-left" => "\\f323","fa-chevron-double-right" => "\\f324","fa-chevron-double-up" => "\\f325","fa-chevron-down" => "\\f078","fa-chevron-left" => "\\f053","fa-chevron-right" => "\\f054","fa-chevron-square-down" => "\\f329","fa-chevron-square-left" => "\\f32a","fa-chevron-square-right" => "\\f32b","fa-chevron-square-up" => "\\f32c","fa-chevron-up" => "\\f077","fa-child" => "\\f1ae","fa-chrome" => "\\f268","fa-circle" => "\\f111","fa-circle-notch" => "\\f1ce","fa-clipboard" => "\\f328","fa-clock" => "\\f017","fa-clone" => "\\f24d","fa-closed-captioning" => "\\f20a","fa-cloud" => "\\f0c2","fa-cloud-download" => "\\f0ed","fa-cloud-download-alt" => "\\f381","fa-cloud-upload" => "\\f0ee","fa-cloud-upload-alt" => "\\f382","fa-cloudscale" => "\\f383","fa-cloudsmith" => "\\f384","fa-cloudversify" => "\\f385","fa-club" => "\\f327","fa-code" => "\\f121","fa-code-branch" => "\\f126","fa-code-commit" => "\\f386","fa-code-merge" => "\\f387","fa-codepen" => "\\f1cb","fa-codiepie" => "\\f284","fa-coffee" => "\\f0f4","fa-cog" => "\\f013","fa-cogs" => "\\f085","fa-columns" => "\\f0db","fa-comment" => "\\f075","fa-comment-alt" => "\\f27a","fa-comments" => "\\f086","fa-compass" => "\\f14e","fa-compress" => "\\f066","fa-compress-alt" => "\\f422","fa-compress-wide" => "\\f326","fa-connectdevelop" => "\\f20e","fa-contao" => "\\f26d","fa-copy" => "\\f0c5","fa-copyright" => "\\f1f9","fa-cpanel" => "\\f388","fa-creative-commons" => "\\f25e","fa-credit-card" => "\\f09d","fa-credit-card-blank" => "\\f389","fa-credit-card-front" => "\\f38a","fa-cricket" => "\\f449","fa-crop" => "\\f125","fa-crosshairs" => "\\f05b","fa-css3" => "\\f13c","fa-css3-alt" => "\\f38b","fa-cube" => "\\f1b2","fa-cubes" => "\\f1b3","fa-curling" => "\\f44a","fa-cut" => "\\f0c4","fa-cuttlefish" => "\\f38c","fa-d-and-d" => "\\f38d","fa-dashcube" => "\\f210","fa-database" => "\\f1c0","fa-deaf" => "\\f2a4","fa-delicious" => "\\f1a5","fa-deploydog" => "\\f38e","fa-deskpro" => "\\f38f","fa-desktop" => "\\f108","fa-desktop-alt" => "\\f390","fa-deviantart" => "\\f1bd","fa-diamond" => "\\f219","fa-digg" => "\\f1a6","fa-digital-ocean" => "\\f391","fa-discord" => "\\f392","fa-discourse" => "\\f393","fa-dochub" => "\\f394","fa-docker" => "\\f395","fa-dollar-sign" => "\\f155","fa-dot-circle" => "\\f192","fa-download" => "\\f019","fa-draft2digital" => "\\f396","fa-dribbble" => "\\f17d","fa-dribbble-square" => "\\f397","fa-dropbox" => "\\f16b","fa-drupal" => "\\f1a9","fa-dumbbell" => "\\f44b","fa-dyalog" => "\\f399","fa-earlybirds" => "\\f39a","fa-edge" => "\\f282","fa-edit" => "\\f044","fa-eject" => "\\f052","fa-elementor" => "\\f430","fa-ellipsis-h" => "\\f141","fa-ellipsis-h-alt" => "\\f39b","fa-ellipsis-v" => "\\f142","fa-ellipsis-v-alt" => "\\f39c","fa-ember" => "\\f423","fa-empire" => "\\f1d1","fa-envelope" => "\\f0e0","fa-envelope-open" => "\\f2b6","fa-envelope-square" => "\\f199","fa-envira" => "\\f299","fa-eraser" => "\\f12d","fa-erlang" => "\\f39d","fa-ethereum" => "\\f42e","fa-etsy" => "\\f2d7","fa-euro-sign" => "\\f153","fa-exchange" => "\\f0ec","fa-exchange-alt" => "\\f362","fa-exclamation" => "\\f12a","fa-exclamation-circle" => "\\f06a","fa-exclamation-square" => "\\f321","fa-exclamation-triangle" => "\\f071","fa-expand" => "\\f065","fa-expand-alt" => "\\f424","fa-expand-arrows" => "\\f31d","fa-expand-arrows-alt" => "\\f31e","fa-expand-wide" => "\\f320","fa-expeditedssl" => "\\f23e","fa-external-link" => "\\f08e","fa-external-link-alt" => "\\f35d","fa-external-link-square" => "\\f14c","fa-external-link-square-alt" => "\\f360","fa-eye" => "\\f06e","fa-eye-dropper" => "\\f1fb","fa-eye-slash" => "\\f070","fa-facebook" => "\\f09a","fa-facebook-f" => "\\f39e","fa-facebook-messenger" => "\\f39f","fa-facebook-square" => "\\f082","fa-fast-backward" => "\\f049","fa-fast-forward" => "\\f050","fa-fax" => "\\f1ac","fa-female" => "\\f182","fa-field-hockey" => "\\f44c","fa-fighter-jet" => "\\f0fb","fa-file" => "\\f15b","fa-file-alt" => "\\f15c","fa-file-archive" => "\\f1c6","fa-file-audio" => "\\f1c7","fa-file-check" => "\\f316","fa-file-code" => "\\f1c9","fa-file-edit" => "\\f31c","fa-file-excel" => "\\f1c3","fa-file-exclamation" => "\\f31a","fa-file-image" => "\\f1c5","fa-file-minus" => "\\f318","fa-file-pdf" => "\\f1c1","fa-file-plus" => "\\f319","fa-file-powerpoint" => "\\f1c4","fa-file-times" => "\\f317","fa-file-video" => "\\f1c8","fa-file-word" => "\\f1c2","fa-film" => "\\f008","fa-film-alt" => "\\f3a0","fa-filter" => "\\f0b0","fa-fire" => "\\f06d","fa-fire-extinguisher" => "\\f134","fa-firefox" => "\\f269","fa-first-order" => "\\f2b0","fa-firstdraft" => "\\f3a1","fa-flag" => "\\f024","fa-flag-checkered" => "\\f11e","fa-flask" => "\\f0c3","fa-flickr" => "\\f16e","fa-flipboard" => "\\f44d","fa-fly" => "\\f417","fa-folder" => "\\f07b","fa-folder-open" => "\\f07c","fa-font" => "\\f031","fa-font-awesome" => "\\f2b4","fa-font-awesome-alt" => "\\f35c","fa-font-awesome-flag" => "\\f425","fa-fonticons" => "\\f280","fa-fonticons-fi" => "\\f3a2","fa-football-ball" => "\\f44e","fa-football-helmet" => "\\f44f","fa-fort-awesome" => "\\f286","fa-fort-awesome-alt" => "\\f3a3","fa-forumbee" => "\\f211","fa-forward" => "\\f04e","fa-foursquare" => "\\f180","fa-free-code-camp" => "\\f2c5","fa-freebsd" => "\\f3a4","fa-frown" => "\\f119","fa-futbol" => "\\f1e3","fa-gamepad" => "\\f11b","fa-gavel" => "\\f0e3","fa-gem" => "\\f3a5","fa-genderless" => "\\f22d","fa-get-pocket" => "\\f265","fa-gg" => "\\f260","fa-gg-circle" => "\\f261","fa-gift" => "\\f06b","fa-git" => "\\f1d3","fa-git-square" => "\\f1d2","fa-github" => "\\f09b","fa-github-alt" => "\\f113","fa-github-square" => "\\f092","fa-gitkraken" => "\\f3a6","fa-gitlab" => "\\f296","fa-gitter" => "\\f426","fa-glass-martini" => "\\f000","fa-glide" => "\\f2a5","fa-glide-g" => "\\f2a6","fa-globe" => "\\f0ac","fa-gofore" => "\\f3a7","fa-golf-ball" => "\\f450","fa-golf-club" => "\\f451","fa-goodreads" => "\\f3a8","fa-goodreads-g" => "\\f3a9","fa-google" => "\\f1a0","fa-google-drive" => "\\f3aa","fa-google-play" => "\\f3ab","fa-google-plus" => "\\f2b3","fa-google-plus-g" => "\\f0d5","fa-google-plus-square" => "\\f0d4","fa-google-wallet" => "\\f1ee","fa-graduation-cap" => "\\f19d","fa-gratipay" => "\\f184","fa-grav" => "\\f2d6","fa-gripfire" => "\\f3ac","fa-grunt" => "\\f3ad","fa-gulp" => "\\f3ae","fa-h-square" => "\\f0fd","fa-h1" => "\\f313","fa-h2" => "\\f314","fa-h3" => "\\f315","fa-hacker-news" => "\\f1d4","fa-hacker-news-square" => "\\f3af","fa-hand-lizard" => "\\f258","fa-hand-paper" => "\\f256","fa-hand-peace" => "\\f25b","fa-hand-point-down" => "\\f0a7","fa-hand-point-left" => "\\f0a5","fa-hand-point-right" => "\\f0a4","fa-hand-point-up" => "\\f0a6","fa-hand-pointer" => "\\f25a","fa-hand-rock" => "\\f255","fa-hand-scissors" => "\\f257","fa-hand-spock" => "\\f259","fa-handshake" => "\\f2b5","fa-hashtag" => "\\f292","fa-hdd" => "\\f0a0","fa-heading" => "\\f1dc","fa-headphones" => "\\f025","fa-heart" => "\\f004","fa-heartbeat" => "\\f21e","fa-hexagon" => "\\f312","fa-hips" => "\\f452","fa-hire-a-helper" => "\\f3b0","fa-history" => "\\f1da","fa-hockey-puck" => "\\f453","fa-hockey-sticks" => "\\f454","fa-home" => "\\f015","fa-hooli" => "\\f427","fa-hospital" => "\\f0f8","fa-hotjar" => "\\f3b1","fa-hourglass" => "\\f254","fa-hourglass-end" => "\\f253","fa-hourglass-half" => "\\f252","fa-hourglass-start" => "\\f251","fa-houzz" => "\\f27c","fa-html5" => "\\f13b","fa-hubspot" => "\\f3b2","fa-i-cursor" => "\\f246","fa-id-badge" => "\\f2c1","fa-id-card" => "\\f2c2","fa-image" => "\\f03e","fa-images" => "\\f302","fa-imdb" => "\\f2d8","fa-inbox" => "\\f01c","fa-inbox-in" => "\\f310","fa-inbox-out" => "\\f311","fa-indent" => "\\f03c","fa-industry" => "\\f275","fa-industry-alt" => "\\f3b3","fa-info" => "\\f129","fa-info-circle" => "\\f05a","fa-info-square" => "\\f30f","fa-instagram" => "\\f16d","fa-internet-explorer" => "\\f26b","fa-ioxhost" => "\\f208","fa-italic" => "\\f033","fa-itunes" => "\\f3b4","fa-itunes-note" => "\\f3b5","fa-jack-o-lantern" => "\\f30e","fa-jenkins" => "\\f3b6","fa-joget" => "\\f3b7","fa-joomla" => "\\f1aa","fa-js" => "\\f3b8","fa-js-square" => "\\f3b9","fa-jsfiddle" => "\\f1cc","fa-key" => "\\f084","fa-keyboard" => "\\f11c","fa-keycdn" => "\\f3ba","fa-kickstarter" => "\\f3bb","fa-kickstarter-k" => "\\f3bc","fa-korvue" => "\\f42f","fa-language" => "\\f1ab","fa-laptop" => "\\f109","fa-laravel" => "\\f3bd","fa-lastfm" => "\\f202","fa-lastfm-square" => "\\f203","fa-leaf" => "\\f06c","fa-leanpub" => "\\f212","fa-lemon" => "\\f094","fa-less" => "\\f41d","fa-level-down" => "\\f149","fa-level-down-alt" => "\\f3be","fa-level-up" => "\\f148","fa-level-up-alt" => "\\f3bf","fa-life-ring" => "\\f1cd","fa-lightbulb" => "\\f0eb","fa-line" => "\\f3c0","fa-link" => "\\f0c1","fa-linkedin" => "\\f08c","fa-linkedin-in" => "\\f0e1","fa-linode" => "\\f2b8","fa-linux" => "\\f17c","fa-lira-sign" => "\\f195","fa-list" => "\\f03a","fa-list-alt" => "\\f022","fa-list-ol" => "\\f0cb","fa-list-ul" => "\\f0ca","fa-location-arrow" => "\\f124","fa-lock" => "\\f023","fa-lock-alt" => "\\f30d","fa-lock-open" => "\\f3c1","fa-lock-open-alt" => "\\f3c2","fa-long-arrow-alt-down" => "\\f309","fa-long-arrow-alt-left" => "\\f30a","fa-long-arrow-alt-right" => "\\f30b","fa-long-arrow-alt-up" => "\\f30c","fa-long-arrow-down" => "\\f175","fa-long-arrow-left" => "\\f177","fa-long-arrow-right" => "\\f178","fa-long-arrow-up" => "\\f176","fa-low-vision" => "\\f2a8","fa-luchador" => "\\f455","fa-lyft" => "\\f3c3","fa-magento" => "\\f3c4","fa-magic" => "\\f0d0","fa-magnet" => "\\f076","fa-male" => "\\f183","fa-map" => "\\f279","fa-map-marker" => "\\f041","fa-map-marker-alt" => "\\f3c5","fa-map-pin" => "\\f276","fa-map-signs" => "\\f277","fa-mars" => "\\f222","fa-mars-double" => "\\f227","fa-mars-stroke" => "\\f229","fa-mars-stroke-h" => "\\f22b","fa-mars-stroke-v" => "\\f22a","fa-maxcdn" => "\\f136","fa-medapps" => "\\f3c6","fa-medium" => "\\f23a","fa-medium-m" => "\\f3c7","fa-medkit" => "\\f0fa","fa-medrt" => "\\f3c8","fa-meetup" => "\\f2e0","fa-meh" => "\\f11a","fa-mercury" => "\\f223","fa-microchip" => "\\f2db","fa-microphone" => "\\f130","fa-microphone-alt" => "\\f3c9","fa-microphone-slash" => "\\f131","fa-microsoft" => "\\f3ca","fa-minus" => "\\f068","fa-minus-circle" => "\\f056","fa-minus-hexagon" => "\\f307","fa-minus-octagon" => "\\f308","fa-minus-square" => "\\f146","fa-mix" => "\\f3cb","fa-mixcloud" => "\\f289","fa-mizuni" => "\\f3cc","fa-mobile" => "\\f10b","fa-mobile-alt" => "\\f3cd","fa-mobile-android" => "\\f3ce","fa-mobile-android-alt" => "\\f3cf","fa-modx" => "\\f285","fa-monero" => "\\f3d0","fa-money-bill" => "\\f0d6","fa-money-bill-alt" => "\\f3d1","fa-moon" => "\\f186","fa-motorcycle" => "\\f21c","fa-mouse-pointer" => "\\f245","fa-music" => "\\f001","fa-napster" => "\\f3d2","fa-neuter" => "\\f22c","fa-newspaper" => "\\f1ea","fa-nintendo-switch" => "\\f418","fa-node" => "\\f419","fa-node-js" => "\\f3d3","fa-npm" => "\\f3d4","fa-ns8" => "\\f3d5","fa-nutritionix" => "\\f3d6","fa-object-group" => "\\f247","fa-object-ungroup" => "\\f248","fa-octagon" => "\\f306","fa-odnoklassniki" => "\\f263","fa-odnoklassniki-square" => "\\f264","fa-opencart" => "\\f23d","fa-openid" => "\\f19b","fa-opera" => "\\f26a","fa-optin-monster" => "\\f23c","fa-osi" => "\\f41a","fa-outdent" => "\\f03b","fa-page4" => "\\f3d7","fa-pagelines" => "\\f18c","fa-paint-brush" => "\\f1fc","fa-palfed" => "\\f3d8","fa-paper-plane" => "\\f1d8","fa-paperclip" => "\\f0c6","fa-paragraph" => "\\f1dd","fa-paste" => "\\f0ea","fa-patreon" => "\\f3d9","fa-pause" => "\\f04c","fa-pause-circle" => "\\f28b","fa-paw" => "\\f1b0","fa-paypal" => "\\f1ed","fa-pen" => "\\f304","fa-pen-alt" => "\\f305","fa-pen-square" => "\\f14b","fa-pencil" => "\\f040","fa-pencil-alt" => "\\f303","fa-pennant" => "\\f456","fa-percent" => "\\f295","fa-periscope" => "\\f3da","fa-phabricator" => "\\f3db","fa-phoenix-framework" => "\\f3dc","fa-phone" => "\\f095","fa-phone-slash" => "\\f3dd","fa-phone-square" => "\\f098","fa-phone-volume" => "\\f2a0","fa-php" => "\\f457","fa-pied-piper" => "\\f2ae","fa-pied-piper-alt" => "\\f1a8","fa-pied-piper-pp" => "\\f1a7","fa-pinterest" => "\\f0d2","fa-pinterest-p" => "\\f231","fa-pinterest-square" => "\\f0d3","fa-plane" => "\\f072","fa-plane-alt" => "\\f3de","fa-play" => "\\f04b","fa-play-circle" => "\\f144","fa-playstation" => "\\f3df","fa-plug" => "\\f1e6","fa-plus" => "\\f067","fa-plus-circle" => "\\f055","fa-plus-hexagon" => "\\f300","fa-plus-octagon" => "\\f301","fa-plus-square" => "\\f0fe","fa-podcast" => "\\f2ce","fa-poo" => "\\f2fe","fa-portrait" => "\\f3e0","fa-pound-sign" => "\\f154","fa-power-off" => "\\f011","fa-print" => "\\f02f","fa-product-hunt" => "\\f288","fa-pushed" => "\\f3e1","fa-puzzle-piece" => "\\f12e","fa-python" => "\\f3e2","fa-qq" => "\\f1d6","fa-qrcode" => "\\f029","fa-question" => "\\f128","fa-question-circle" => "\\f059","fa-question-square" => "\\f2fd","fa-quidditch" => "\\f458","fa-quinscape" => "\\f459","fa-quora" => "\\f2c4","fa-quote-left" => "\\f10d","fa-quote-right" => "\\f10e","fa-racquet" => "\\f45a","fa-random" => "\\f074","fa-ravelry" => "\\f2d9","fa-react" => "\\f41b","fa-rebel" => "\\f1d0","fa-rectangle-landscape" => "\\f2fa","fa-rectangle-portrait" => "\\f2fb","fa-rectangle-wide" => "\\f2fc","fa-recycle" => "\\f1b8","fa-red-river" => "\\f3e3","fa-reddit" => "\\f1a1","fa-reddit-alien" => "\\f281","fa-reddit-square" => "\\f1a2","fa-redo" => "\\f01e","fa-redo-alt" => "\\f2f9","fa-registered" => "\\f25d","fa-rendact" => "\\f3e4","fa-renren" => "\\f18b","fa-repeat" => "\\f363","fa-repeat-1" => "\\f365","fa-repeat-1-alt" => "\\f366","fa-repeat-alt" => "\\f364","fa-reply" => "\\f3e5","fa-reply-all" => "\\f122","fa-replyd" => "\\f3e6","fa-resolving" => "\\f3e7","fa-retweet" => "\\f079","fa-retweet-alt" => "\\f361","fa-road" => "\\f018","fa-rocket" => "\\f135","fa-rocketchat" => "\\f3e8","fa-rockrms" => "\\f3e9","fa-rss" => "\\f09e","fa-rss-square" => "\\f143","fa-ruble-sign" => "\\f158","fa-rupee-sign" => "\\f156","fa-safari" => "\\f267","fa-sass" => "\\f41e","fa-save" => "\\f0c7","fa-schlix" => "\\f3ea","fa-scribd" => "\\f28a","fa-scrubber" => "\\f2f8","fa-search" => "\\f002","fa-search-minus" => "\\f010","fa-search-plus" => "\\f00e","fa-searchengin" => "\\f3eb","fa-sellcast" => "\\f2da","fa-sellsy" => "\\f213","fa-server" => "\\f233","fa-servicestack" => "\\f3ec","fa-share" => "\\f064","fa-share-all" => "\\f367","fa-share-alt" => "\\f1e0","fa-share-alt-square" => "\\f1e1","fa-share-square" => "\\f14d","fa-shekel-sign" => "\\f20b","fa-shield" => "\\f132","fa-shield-alt" => "\\f3ed","fa-shield-check" => "\\f2f7","fa-ship" => "\\f21a","fa-shirtsinbulk" => "\\f214","fa-shopping-bag" => "\\f290","fa-shopping-basket" => "\\f291","fa-shopping-cart" => "\\f07a","fa-shower" => "\\f2cc","fa-shuttlecock" => "\\f45b","fa-sign-in" => "\\f090","fa-sign-in-alt" => "\\f2f6","fa-sign-language" => "\\f2a7","fa-sign-out" => "\\f08b","fa-sign-out-alt" => "\\f2f5","fa-signal" => "\\f012","fa-simplybuilt" => "\\f215","fa-sistrix" => "\\f3ee","fa-sitemap" => "\\f0e8","fa-skyatlas" => "\\f216","fa-skype" => "\\f17e","fa-slack" => "\\f198","fa-slack-hash" => "\\f3ef","fa-sliders-h" => "\\f1de","fa-sliders-h-square" => "\\f3f0","fa-sliders-v" => "\\f3f1","fa-sliders-v-square" => "\\f3f2","fa-slideshare" => "\\f1e7","fa-smile" => "\\f118","fa-snapchat" => "\\f2ab","fa-snapchat-ghost" => "\\f2ac","fa-snapchat-square" => "\\f2ad","fa-snowflake" => "\\f2dc","fa-sort" => "\\f0dc","fa-sort-alpha-down" => "\\f15d","fa-sort-alpha-up" => "\\f15e","fa-sort-amount-down" => "\\f160","fa-sort-amount-up" => "\\f161","fa-sort-down" => "\\f0dd","fa-sort-numeric-down" => "\\f162","fa-sort-numeric-up" => "\\f163","fa-sort-up" => "\\f0de","fa-soundcloud" => "\\f1be","fa-space-shuttle" => "\\f197","fa-spade" => "\\f2f4","fa-speakap" => "\\f3f3","fa-spinner" => "\\f110","fa-spinner-third" => "\\f3f4","fa-spotify" => "\\f1bc","fa-square" => "\\f0c8","fa-square-full" => "\\f45c","fa-stack-exchange" => "\\f18d","fa-stack-overflow" => "\\f16c","fa-star" => "\\f005","fa-star-exclamation" => "\\f2f3","fa-star-half" => "\\f089","fa-staylinked" => "\\f3f5","fa-steam" => "\\f1b6","fa-steam-square" => "\\f1b7","fa-steam-symbol" => "\\f3f6","fa-step-backward" => "\\f048","fa-step-forward" => "\\f051","fa-stethoscope" => "\\f0f1","fa-sticker-mule" => "\\f3f7","fa-sticky-note" => "\\f249","fa-stop" => "\\f04d","fa-stop-circle" => "\\f28d","fa-stopwatch" => "\\f2f2","fa-strava" => "\\f428","fa-street-view" => "\\f21d","fa-strikethrough" => "\\f0cc","fa-stripe" => "\\f429","fa-stripe-s" => "\\f42a","fa-studiovinari" => "\\f3f8","fa-stumbleupon" => "\\f1a4","fa-stumbleupon-circle" => "\\f1a3","fa-subscript" => "\\f12c","fa-subway" => "\\f239","fa-suitcase" => "\\f0f2","fa-sun" => "\\f185","fa-superpowers" => "\\f2dd","fa-superscript" => "\\f12b","fa-supple" => "\\f3f9","fa-sync" => "\\f021","fa-sync-alt" => "\\f2f1","fa-table" => "\\f0ce","fa-table-tennis" => "\\f45d","fa-tablet" => "\\f10a","fa-tablet-alt" => "\\f3fa","fa-tablet-android" => "\\f3fb","fa-tablet-android-alt" => "\\f3fc","fa-tachometer" => "\\f0e4","fa-tachometer-alt" => "\\f3fd","fa-tag" => "\\f02b","fa-tags" => "\\f02c","fa-tasks" => "\\f0ae","fa-taxi" => "\\f1ba","fa-telegram" => "\\f2c6","fa-telegram-plane" => "\\f3fe","fa-tencent-weibo" => "\\f1d5","fa-tennis-ball" => "\\f45e","fa-terminal" => "\\f120","fa-text-height" => "\\f034","fa-text-width" => "\\f035","fa-th" => "\\f00a","fa-th-large" => "\\f009","fa-th-list" => "\\f00b","fa-themeisle" => "\\f2b2","fa-thermometer-empty" => "\\f2cb","fa-thermometer-full" => "\\f2c7","fa-thermometer-half" => "\\f2c9","fa-thermometer-quarter" => "\\f2ca","fa-thermometer-three-quarters" => "\\f2c8","fa-thumbs-down" => "\\f165","fa-thumbs-up" => "\\f164","fa-thumbtack" => "\\f08d","fa-ticket" => "\\f145","fa-ticket-alt" => "\\f3ff","fa-times" => "\\f00d","fa-times-circle" => "\\f057","fa-times-hexagon" => "\\f2ee","fa-times-octagon" => "\\f2f0","fa-times-square" => "\\f2d3","fa-tint" => "\\f043","fa-toggle-off" => "\\f204","fa-toggle-on" => "\\f205","fa-trademark" => "\\f25c","fa-train" => "\\f238","fa-transgender" => "\\f224","fa-transgender-alt" => "\\f225","fa-trash" => "\\f1f8","fa-trash-alt" => "\\f2ed","fa-tree" => "\\f1bb","fa-tree-alt" => "\\f400","fa-trello" => "\\f181","fa-triangle" => "\\f2ec","fa-tripadvisor" => "\\f262","fa-trophy" => "\\f091","fa-trophy-alt" => "\\f2eb","fa-truck" => "\\f0d1","fa-tty" => "\\f1e4","fa-tumblr" => "\\f173","fa-tumblr-square" => "\\f174","fa-tv" => "\\f26c","fa-tv-retro" => "\\f401","fa-twitch" => "\\f1e8","fa-twitter" => "\\f099","fa-twitter-square" => "\\f081","fa-typo3" => "\\f42b","fa-uber" => "\\f402","fa-uikit" => "\\f403","fa-umbrella" => "\\f0e9","fa-underline" => "\\f0cd","fa-undo" => "\\f0e2","fa-undo-alt" => "\\f2ea","fa-uniregistry" => "\\f404","fa-universal-access" => "\\f29a","fa-university" => "\\f19c","fa-unlink" => "\\f127","fa-unlock" => "\\f09c","fa-unlock-alt" => "\\f13e","fa-untappd" => "\\f405","fa-upload" => "\\f093","fa-usb" => "\\f287","fa-usd-circle" => "\\f2e8","fa-usd-square" => "\\f2e9","fa-user" => "\\f007","fa-user-alt" => "\\f406","fa-user-circle" => "\\f2bd","fa-user-md" => "\\f0f0","fa-user-plus" => "\\f234","fa-user-secret" => "\\f21b","fa-user-times" => "\\f235","fa-users" => "\\f0c0","fa-ussunnah" => "\\f407","fa-utensil-fork" => "\\f2e3","fa-utensil-knife" => "\\f2e4","fa-utensil-spoon" => "\\f2e5","fa-utensils" => "\\f2e7","fa-utensils-alt" => "\\f2e6","fa-vaadin" => "\\f408","fa-venus" => "\\f221","fa-venus-double" => "\\f226","fa-venus-mars" => "\\f228","fa-viacoin" => "\\f237","fa-viadeo" => "\\f2a9","fa-viadeo-square" => "\\f2aa","fa-viber" => "\\f409","fa-video" => "\\f03d","fa-vimeo" => "\\f40a","fa-vimeo-square" => "\\f194","fa-vimeo-v" => "\\f27d","fa-vine" => "\\f1ca","fa-vk" => "\\f189","fa-vnv" => "\\f40b","fa-volleyball-ball" => "\\f45f","fa-volume-down" => "\\f027","fa-volume-mute" => "\\f2e2","fa-volume-off" => "\\f026","fa-volume-up" => "\\f028","fa-vuejs" => "\\f41f","fa-watch" => "\\f2e1","fa-weibo" => "\\f18a","fa-weixin" => "\\f1d7","fa-whatsapp" => "\\f232","fa-whatsapp-square" => "\\f40c","fa-wheelchair" => "\\f193","fa-whistle" => "\\f460","fa-whmcs" => "\\f40d","fa-wifi" => "\\f1eb","fa-wikipedia-w" => "\\f266","fa-window" => "\\f40e","fa-window-alt" => "\\f40f","fa-window-close" => "\\f410","fa-window-maximize" => "\\f2d0","fa-window-minimize" => "\\f2d1","fa-window-restore" => "\\f2d2","fa-windows" => "\\f17a","fa-won-sign" => "\\f159","fa-wordpress" => "\\f19a","fa-wordpress-simple" => "\\f411","fa-wpbeginner" => "\\f297","fa-wpexplorer" => "\\f2de","fa-wpforms" => "\\f298","fa-wrench" => "\\f0ad","fa-xbox" => "\\f412","fa-xing" => "\\f168","fa-xing-square" => "\\f169","fa-y-combinator" => "\\f23b","fa-yahoo" => "\\f19e","fa-yandex" => "\\f413","fa-yandex-international" => "\\f414","fa-yelp" => "\\f1e9","fa-yen-sign" => "\\f157","fa-yoast" => "\\f2b1","fa-youtube" => "\\f167","fa-youtube-square" => "\\f431" );}}
    {{$veilonNavIcons = explode(',',theme.veilon_navbar_select );}}
    {{foreach $veilonNavIcons as $key => $icon}}
      {{$icon = $faicons['fa-'.$icon];}}
      .ipsNavBar_primary > ul > li:nth-child({expression="$key+1"}) > a:before { content: "{$icon}"; margin-right: 5px; vertical-align: middle;}
    {{endforeach}}
  {{endif}}


/* ================== */
/*       Forums       */
/* ================== */

/* Topic View */

.veilon--custom_field li {
    width: 100%;
    display: inline-block;
}

.veilon--custom_field li.ipsButton_veryLight { background: none !important; }

.left { float: left;  }
.right { float: right;  }

.cPost .ipsBox:not(.ipsBox_transparent):not(.ipsModerated) {
  background-color: {theme='veilon_topic_background'};
}
.cAuthorPane {
    width: {theme='veilon_topic_authorpanel_width'}px;
    border-radius: 3px;
}

.cPost.ipsModerated,
.cPost.ipsModerated .cAuthorPane {
    background: {theme='veilon_topic_authorpanel_background'};
}

.cPost_contentWrap .ipsType_normal.ipsType_richText,
.cke_editable { font-size: 15px; }

.cPost .ipsComment_content{ padding-left: 20px !important;  }

{{if theme.veilon_topic_panel_custom == '1'}}
.ipsApp .cPost:not(.ipsHide) {
  display: flex;
}
.ipsBox:not(.ipsBox_transparent):not(.ipsModerated) {
  background: {theme='veilon_topic_background_custom'};
}
.cAuthorPane {
  background: transparent;
}
.cAuthorPane_info {
    padding: 15px 0 50px 0;
}
body.ipsApp .cPost .ipsComment_meta {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
html[dir="ltr"] .cPost .ipsComment_meta {
    padding: 18px 0 10px;
    padding-top: 18px;
    padding-bottom: 10px;
    margin-right: 15px;
}
.ipsComment.ipsComment_selected {
  box-shadow: 0 1px 1px rgba(0,0,0,0.075), 0px 1px 5px {theme='primary_button'};
}
.cPost .ipsComment_content {
  padding-right: 0;
}
.cPost .cPost_contentWrap {
  width: 100%;
  display: flex;
  display: -webkit-flex;
  -webkit-flex-direction: column;
  -webkit-justify-content: space-between;
  -webkit-flex: 1 1 auto;
  flex-direction: column;
  justify-content: space-between;
  flex: 1 1 auto;
  padding: 15px 15px 0px 0 !important;
}
.cPost .cAuthorPane {
    padding-top: 0 !important;
    -webkit-flex: 0 0 auto;
    flex: 0 0 auto;
}
.cPost [data-role="commentContent"] {
  margin-bottom: auto;
  padding-bottom: 10px;
}
.cPost > .ipsColumn_fluid {
  -webkit-flex: 1 1 auto;
  display: -webkit-flex;
  flex: 1 1 auto;
  display: flex;
  width: 300px;
}
.cPost .ipsComment_content {
  display: -webkit-flex;
  -webkit-flex-direction: column;
  display: flex;
  flex-direction: column;
  width: 100%;
}
.cPost .cAuthorPane .cAuthorPane_author, 
.cPost .ipsComment_meta {
    line-height: 50px;
}
.ipsItemControls_right {
  margin-top: -10px;
}
.ipsReact_reactions + .ipsReact_overview {
    margin: 0 10px;
    order: -1;
}
.ipsReact_blurb {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 5px 0;
}
{{endif}}

.ipsImage_thumbnailed { border: none; }

/* DataItem`s */

.ipsDataItem {
  border-radius: {theme='veilon_dataitem_br'}px; 
}

.ipsApp .ipsDataItem_selected {
  background: {theme='veilon_dataitem_selected'} !important;
  border: 1px solid {theme='item_status'};
  border-bottom: 1px solid {theme='item_status'} !important;
}

.ipsApp .ipsModerated {
  border: 1px solid {hextorgb='veilon_dataitem_warning'};
  opacity: 0.7;
}

.ipsComment_content.ipsModerated {
  border: none;
}

/* Topics List */
{{if theme.veilon_topics_selection_type == 'unread'}}
.cForumTopicTable .ipsDataItem_unread:before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 0;
  width: 3px;
  height: 75%;
  border-radius: 0 3px 3px 0;
  opacity: 1;
  transition-property: box-shadow, opacity;
  transition: .4s ease;
  background-color: {theme='veilon_topics_selection_color'};
  box-shadow: 0px 2px 32px {theme='veilon_topics_selection_color'};
}
{{elseif theme.veilon_topics_selection_type == 'pinned'}}
.vn_pinned_topic:before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 0;
  width: 3px;
  height: 75% !important;
  border-radius: 0 3px 3px 0;
  opacity: 1;
  transition-property: box-shadow, opacity;
  transition: .4s ease;
  background-color: {theme='veilon_topics_selection_color'};
  box-shadow: 0px 2px 32px {theme='veilon_topics_selection_color'};
}
{{else}}
.vn_featured_topic:before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 0;
  width: 3px;
  height: 75% !important;
  border-radius: 0 3px 3px 0;
  opacity: 1;
  transition-property: box-shadow, opacity;
  transition: .4s ease;
  background-color: {theme='veilon_topics_selection_color'};
  box-shadow: 0px 2px 32px {theme='veilon_topics_selection_color'};
}
{{endif}}



/* Pagination */
.ipsApp .ipsButtonBar .ipsPagination .ipsPagination_page a, 
.ipsApp .ipsButtonBar .ipsPagination .ipsPagination_next a, 
.ipsApp .ipsButtonBar .ipsPagination .ipsPagination_prev a, 
.ipsApp .ipsButtonBar .ipsPagination .ipsPagination_first a, 
.ipsApp .ipsButtonBar .ipsPagination .ipsPagination_last a,
.ipsPagination:not(.ipsPagination_mini) .ipsPagination_page a, 
.ipsPagination:not(.ipsPagination_mini) .ipsPagination_next a, 
.ipsPagination:not(.ipsPagination_mini) .ipsPagination_prev a, 
.ipsPagination:not(.ipsPagination_mini) .ipsPagination_first a,
 .ipsPagination:not(.ipsPagination_mini) .ipsPagination_last a {
  background: {theme='veilon_pagination_background'};
  color: #FFF;
}
.ipsButtonBar .ipsPagination .ipsPagination_page a:hover, 
.ipsApp .ipsButtonBar .ipsPagination .ipsPagination_next a:hover, 
.ipsApp .ipsButtonBar .ipsPagination .ipsPagination_prev a:hover, 
.ipsApp .ipsButtonBar .ipsPagination .ipsPagination_first a:hover, 
.ipsApp .ipsButtonBar .ipsPagination .ipsPagination_last a:hover,
.ipsPagination:not(.ipsPagination_mini) .ipsPagination_page a:hover, 
.ipsPagination:not(.ipsPagination_mini) .ipsPagination_next a:hover, 
.ipsPagination:not(.ipsPagination_mini) .ipsPagination_prev a:hover, 
.ipsPagination:not(.ipsPagination_mini) .ipsPagination_first a:hover,
 .ipsPagination:not(.ipsPagination_mini) .ipsPagination_last a:hover {
    background: {theme='veilon_pagination_background_hover'};
}
.ipsButtonBar .ipsPagination .ipsPagination_page.ipsPagination_active a,
.ipsPagination .ipsPagination_page.ipsPagination_active a {
    background: {theme='veilon_pagination_background_hover'} !important;
}
.ipsButtonBar .ipsPagination .ipsPagination_page.ipsPagination_active a:hover,
.ipsPagination .ipsPagination_page.ipsPagination_active a:hover {
  background: {theme='veilon_pagination_active_background_hover'} !important;
}
.ipsButtonBar .ipsButtonRow li > a, .ipsButtonBar .ipsButtonRow li > button, .ipsButtonBar .ipsButtonRow li > span {
    background: {theme='veilon_pagination_br_background'};
    color: #FFF;
    border-radius: 2px;
}
.ipsButtonBar .ipsPagination .ipsPagination_pageJump a {
  color: {theme='link'} !important;
}

.ipsPagination.ipsPagination_mini a {
  color: {theme='link'};
  text-shadow: none;
}

.ipsPagination a {
      -o-transition: background 0.4s, color 0.4s;
    -ms-transition: background 0.4s, color 0.4s;
    -moz-transition: background 0.4s, color 0.4s;
    -webkit-transition: background 0.4s, color 0.4s;
}


/* Tags & Prefix */
.ipsTags .ipsTag, 
.ipsTag_prefix {
  background: {theme='prefix'};
}

html[dir="ltr"] .ipsTag_prefix { display: inline-block; }
html[dir="ltr"] .ipsTags .ipsTag::before, 
html[dir="ltr"] .ipsTag_prefix::before {
  border-color: transparent {theme='prefix'} {theme='prefix'} {theme='prefix'};
}

html[dir="ltr"] .ipsTags .ipsTag:hover::before {
    border-color: transparent transparent {hextorgb='prefix' opacity='0.8'} {hextorgb='prefix' opacity='0.8'};
}

html[dir] .ipsButton_split > .ipsButton.ipsButton_link, 
html[dir] .ipsButton_split > li > .ipsButton.ipsButton_link {
  border: 1px solid {theme='tag'};
}

html[dir="ltr"] .ipsButton_split > .ipsButton:first-child, 
html[dir="ltr"] .ipsButton_split > li:first-child > .ipsButton {
  border-color: {theme='tag'};
}
html[dir="ltr"] .ipsButton_split > .ipsButton:not(:first-child),
html[dir="ltr"] .ipsButton_split > li:not(:first-child) > .ipsButton {
    border-left: 0;
}


.ipsTags .ipsTag:hover,
.ipsTag_prefix:hover,
.ipsTag_remove:hover {
  background: {hextorgb='prefix' opacity='0.8'};
}

.ipsTag_remove {
  background: {hextorgb='prefix' opacity='0.8'};
}

.ipsTag_prefix {
  font-size: 10px !important;
}

.ipsType_pageTitle [data-role="editableTitle"]:hover,
.ipsType_pageTitle[data-role="editableTitle"]:hover {
  background: transparent;
}

/* Forums MiniList */
.cForumMiniList_categorySelected {
  background: {theme='area_background_dark'};
}

.cForumMiniList.cForumMiniList_multiRoot > li > a {
  color: {theme='text_color'}
}


/* Enable Start New Theme Button on the front page  */
{{if theme.veilon_display_ntb}}
  .cForumHeader ul{
    display: none;
  }
{{endif}}
{{if theme.veilon_tstat_disp}}

  /* Topics Statistics Display */
  [data-tableid="topics"] .ipsDataItem_stats {
      overflow: hidden;
      text-align: center;
      text-transform: uppercase;
      min-width: 250px;
  }

  [data-tableid="topics"] .ipsDataItem_stats li {
      float: left;
      width: 50%;
  }

  [data-tableid="topics"] .ipsDataItem_stats span {
      display: block;
  }
{{endif}}

{{if theme.veilon_clickable_nodes}}
.ipsDataItem_main,
.ipsDataItem_subList {
  position: relative;
}
.cForumList .ipsDataItem_title a::after{
  content: '';
  top: -4px;
  left: 0;
  right: 0;
  bottom: -4px;
  position: absolute;
}
{{endif}}

{{if theme.veilon_dataitem_hover}}
.cForumList .ipsDataItem:hover {
  background: {theme='veilon_dataitem_hover_color'} !important;
}
{{endif}}
/* Model SubForum */
.ipsDataItem_subList > li a:hover { color: {theme='link_hover'}; }

{{if theme.veilon_subforum == 'standart'}}
.ipsDataItem_subList {
    overflow: hidden;
}
{{else}}
.ipsDataItem_subList {
    display: var(--subforum-display);
    grid-gap: var(--subforum-gap);
    grid-template-columns: repeat(auto-fill, minmax(var(--subforum-min-width), 1fr));
}

@media screen and (max-width: 979px) {
  .ipsDataItem_subList {
    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
  }
}
@media screen and (max-width: 1350px) {
  .ipsDataItem_subList {
    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
  }
}

{{endif}}

.ipsDataItem_subList li {
    float: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* Icon color & opacity */
.ipsDataItem_subList a i.fa {
  color: {theme='veilon_subforum_icon_color'};
{{if theme.veilon_subforum_opacity}}
  {theme='veilon_subforum_opacity'}
{{endif}}
}

.ipsDataItem_subList a i.fa {
    position: relative;
    font-size: 0.5em;
    vertical-align: middle;
    margin-right: 2px;
    top: -1px;
}

/* Node Images */
{{if theme.veilon_forum_icon_mode == 'image'}}
.cForumRow span.ipsItemStatus_large,
.cForumList span.ipsItemStatus_large {
  {{if theme.veilon_forum_nodes_image_not_read}}
  background: url({theme='veilon_forum_nodes_image_not_read'}) no-repeat scroll center center !important; 
  {{endif}}
  display: inline-block; 
  text-align: center; 
}
.cForumRow span.ipsItemStatus_read,
.cForumList span.ipsItemStatus_read {
  {{if theme.veilon_forum_nodes_image_read}}
  background: url({theme='veilon_forum_nodes_image_read'}) no-repeat scroll center center !important; 
  {{endif}}
}
.cForumRow span.cForumIcon_redirect,
.cForumList span.icForumIcon_redirect {
  {{if theme.veilon_forum_nodes_image_redirect}}
  background: url({theme='veilon_forum_nodes_image_redirect'}) no-repeat scroll center center !important; 
  {{endif}}
}
.cForumRow span.cForumIcon_answers,
.cForumList span.icForumIcon_answers {
  {{if theme.veilon_forum_nodes_image_question}}
  background: url({theme='veilon_forum_nodes_image_question'}) no-repeat scroll center center !important; 
  {{endif}}
}
.cForumRow span.cForumIcon_password,
.cForumList span.icForumIcon_password {
  {{if theme.veilon_forum_nodes_image_password}}
  background: url({theme='veilon_forum_nodes_image_password}) no-repeat scroll center center !important; 
  {{endif}}
}
.cForumRow span.cForumIcon_lock,
.cForumList span.icForumIcon_lock {
  {{if theme.veilon_forum_nodes_image_password}}
  background: url({theme='veilon_forum_nodes_image_lock}) no-repeat scroll center center !important; 
  {{endif}}
}

.ipsItemStatus.ipsItemStatus_read:not( .ipsItemStatus_large ):not( .ipsItemStatus_posted ):not( .ipsItemStatus_) { display: none; }
.ipsItemStatus.ipsItemStatus_large.ipsItemStatus_read { background: none; }
.ipsItemStatus_posted .ipsItemStatus_read { background: none !important; }
.ipsItemStatus.ipsItemStatus_large.ipsItemStatus_read i,
.ipsItemStatus.ipsItemStatus_large i { display: none; }
{{endif}}

.cForumRow .ipsItemStatus_tiny {
  display: none;
}

/* Node Icons */
{{if theme.veilon_forum_icon_mode == 'faicons'}}
{{if theme.veilon_nodes_transparent_background}}
  .ipsItemStatus.ipsItemStatus_large,
  .ipsItemStatus.ipsItemStatus_large.ipsItemStatus_read,
  .ipsDataItem_unread .ipsItemStatus.ipsItemStatus_large {
    background: transparent !important; 
    box-shadow: none;
  }
{{endif}}

.ipsItemStatus.ipsItemStatus_large {
  background: {theme='veilon_nodes_nrbg'}; 
  color: {theme='veilon_nodes_nrc'}; 
}
.ipsItemStatus.ipsItemStatus_large.ipsItemStatus_read {
  background: {theme='veilon_nodes_rbg'}; 
  color: {theme='veilon_nodes_rc'}; 
}

.ipsItemStatus.ipsItemStatus_large {
  border-radius: {theme='veilon_nodes_br'}px; 
  width: {theme='veilon_nodes_iwidth'}px; 
  height: {theme='veilon_nodes_iheight'}px; 
  font-size: {theme='veilon_nodes_fs'}px; 
}

{{endif}}

/* Opacity */
{{if theme.veilon_forum_nodes_opacity_enable and theme.veilon_forum_nodes_opacity}}
.ipsItemStatus.ipsItemStatus_read { 
  {theme='veilon_forum_nodes_opacity'}
}
{{else}}
.ipsItemStatus.ipsItemStatus_read {
  opacity: 1; 
}
{{endif}}

/* internalEmbed */
iframe.ipsEmbed_finishedLoading[data-embedContent] {
  background-color: {theme='selected'};
  border: 1px solid {theme='veilon_border_color'};
}

.ipsApp .ipsRichEmbed_stats.ipsSpacer_top {
  border-top: 1px solid {theme='veilon_border_color'};
}

.ipsRichEmbed_header {
  border-bottom: 1px solid {theme='veilon_border_color'};  
}

.ipsRichEmbed_itemTitle,
.ipsRichEmbed_openItem {
  color: {theme='text_color'};
  opacity: 0.5;
}

.ipsRichEmbed_openItem:hover {
  color: {theme='link_hover'};
}

body[data-role="internalEmbed"] {
  background: {theme='selected'};
}

/* CKEditor */
a.cke_button { 
  cursor: pointer; 
}

.cke_wysiwyg_frame, .cke_wysiwyg_div { 
  background-color: {theme='veilon_text_arena_color'} !important; 
}
.ipsComposeArea_dummy { 
  color: {theme='text_color'}; 
  background: {theme='area_background_dark'}; 
  cursor: pointer; 
}
.ipsComposeArea_editor {
  background: {theme='veilon_topic_editor_compose_background'};
  border: 1px solid {theme='veilon_border_color'}; 
}
.cke textarea.cke_source, 
.cke .cke_wysiwyg_frame, 
.cke .cke_wysiwyg_div { 
  background: {theme='veilon_topic_editor_area_background'}; 
}
.cke .cke_top { 
  background: {theme='veilon_topic_editor_toolbar_background'};
  border-bottom: 1px solid #2f323c; 
}
html[dir="ltr"] .ipsComposeArea_withPhoto .ipsComposeArea_editor::before {
  right: 100%;
  border-color: transparent {theme='veilon_border_color'} transparent transparent; 
}

html[dir="ltr"] .ipsComposeArea_withPhoto .ipsComposeArea_editor::after {
  right: 100%;
  border-color: transparent {theme='area_background_dark'} transparent transparent;
}

.ipsComposeArea_withPhoto .ipsComposeArea_editor::after {
    content: '';
    position: absolute;
    top: 16px;
    display: block;
    width: 0;
    height: 0;
    border-width: 14px;
    border-style: solid;
}

.ipsComposeArea_withPhoto .ipsComposeArea_editor::before {
    content: '';
    position: absolute;
    top: 15px;
    display: block;
    width: 0;
    height: 0;
    border-width: 15px;
    border-style: solid;
}

.ipsComposeArea_withPhoto .ipsComposeArea_editor {
  padding:2px; 
}
.cke.cke_chrome {
  box-shadow:none;
  border:0;
}

.cke .cke_inner {
  background:none;
}

.cke_top *, .cke_top a, .cke_top textarea{
    color:inherit!important;
}
.cke_button_label{
    text-shadow:none!important;
    color:inherit!important;
}
a.cke_button_off, a.cke_button_disabled, a.cke_combo_button{
}
a.cke_button_off:hover, a.cke_button_off:focus, a.cke_button_off:active, a.cke_button_disabled:hover, a.cke_button_disabled:focus, a.cke_button_disabled:active{
    background:{theme='veilon_topic_editor_compose_background'}!important;
    color:#ffffff!important;
}
a.cke_button_on{
    background:{theme='veilon_topic_editor_compose_background'}!important;
    color:#ffffff!important;
}
a.cke_button{
    display:inline-flex!important;
    justify-content:center;
}
.cke_button_icon{
    margin:auto;
}
.cke_toolbar .cke_button_icon{
    display:flex!important;
    justify-content:center;
    align-items:center;
    font-size:0;
}
a.cke_combo_button{
    box-shadow:none!important;
    background:transparent!important;
    border:1px solid rgba(136,141,157,0.1)!important;
}
a.cke_combo_button:hover, a.cke_combo_button:focus{
    background:{theme='veilon_topic_editor_compose_background'}!important;
    color:#ffffff!important;
}
.cke_combo_text{
    text-shadow:none!important;
    color:inherit!important;
}

{{if theme.veilon_toolbar_style == 'faicons'}}
.cke_button_icon:before{
    font:normal normal normal 12px/1 FontAwesome;
    text-rendering:auto;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
}
.cke_toolgroup span.cke_button_icon[style*="icons.png"]{
    background-image:none!important;
    background-size:0px 0px!important;
    background-repeat:no-repeat!important;
}
.cke_button__bold_icon:before {content: "\f032"}
.cke_button__italic_icon:before {content: "\f033"}
.cke_button__strike_icon:before {content: "\f0cc"}
.cke_button__subscript_icon:before {content: "\f12c"}
.cke_button__superscript_icon:before {content: "\f12b"}
.cke_button__underline_icon:before {content: "\f0cd"}
.cke_rtl .cke_button__copy_icon:before, 
.cke_mixed_dir_content .cke_rtl .cke_button__copy_icon:before,
.cke_button__copy_icon:before {content: "\f0cd"}
.cke_rtl .cke_button__cut_icon:before,
.cke_mixed_dir_content .cke_rtl .cke_button__cut_icon:before,
.cke_button__cut_icon:before {content: "\f0c4"}
.cke_rtl .cke_button__paste_icon:before,
.cke_mixed_dir_content .cke_rtl .cke_button__paste_icon:before,
.cke_button__paste_icon:before {content: "\f0ea"}
.cke_button__bgcolor_icon:before {content: "\f031"}
.cke_button__textcolor_icon:before {content: "\f031"}
.cke_rtl .cke_button__indent_icon:before,
.cke_mixed_dir_content .cke_rtl .cke_button__indent_icon:before {content: "\f03b"}
.cke_button__indent_icon:before {content: "\f03c"}
.cke_rtl .cke_button__outdent_icon:before, 
.cke_mixed_dir_content .cke_rtl .cke_button__outdent_icon:before {content: "\f03c"}
.cke_button__outdent_icon:before {content: "\f03b"}
.cke_button__ipscode_icon:before {content: "\f121"}
.cke_button__ipsemoticon_icon:before {  content: "\f118"}
.cke_button__ipsimage_icon:before {content: "\f03e"}
.cke_button__ipslink_icon:before {content: "\f0c1"}
.cke_button__unlink_icon:before {content: "\f127"}
.cke_button__ipspage_icon:before {content: "\f15c"}
.cke_button__pastetext_icon:before {content: "\f0ea"}
.cke_rtl .cke_button__ipspreview_icon:before, 
.cke_mixed_dir_content .cke_rtl .cke_button__ipspreview_icon:before,
.cke_button__ipspreview_icon:before {content: "\f0f6"}
.cke_button__ipsquote_icon:before {content: "\f10e"}
.cke_button__ipsspoiler_icon:before {content: "\f06e"}
.cke_button__justifyblock_icon:before {content: "\f039"}
.cke_button__justifycenter_icon:before {content: "\f037"}
.cke_button__justifyleft_icon:before {content: "\f036"}
.cke_button__justifyright_icon:before {content: "\f038"}
.cke_rtl .cke_button__bulletedlist_icon:before, 
.cke_mixed_dir_content .cke_rtl .cke_button__bulletedlist_icon:before,
.cke_button__bulletedlist_icon:before {content: "\f0ca"}
.cke_rtl .cke_button__numberedlist_icon:before, 
.cke_mixed_dir_content .cke_rtl .cke_button__numberedlist_icon:before,
.cke_button__numberedlist_icon:before {content: "\f0cb"}
.cke_button__removeformat_icon:before {content: "\f12d"}
.cke_rtl .cke_button__source_icon:before, 
.cke_mixed_dir_content .cke_rtl .cke_button__source_icon:before,
.cke_button__source_icon:before {content: "\f1c9"}
.cke_rtl .cke_button__redo_icon:before, 
.cke_mixed_dir_content .cke_rtl .cke_button__redo_icon:before {content: "\f0e2" }
.cke_button__redo_icon:before {content: "\f01e"}
.cke_rtl .cke_button__undo_icon:before, 
.cke_mixed_dir_content .cke_rtl .cke_button__undo_icon:before {content: "\f01e"}
.cke_button__undo_icon:before {content: "\f0e2"}
.cke_button__simplebox_icon:before {content: "\f022"}
.cke_button__ipsgiphy_icon:before { content: "\f008";  }
{{endif}}

.cke a.cke_button, .cke a.cke_combo_button, .cke .cke_combo_text, .cke .cke_combo_open, .cke .cke_combo_arrow {
  cursor:pointer;
}

.cke .cke_reset_all, .cke .cke_reset_all *, .cke .cke_reset_all a, .cke .cke_reset_all textarea {
  color:rgba(255,255,255,0.7);
  font-family:Tahoma, sans-serif;
}

.cke a.cke_button_off:hover, .cke a.cke_button_off:focus, .cke a.cke_button_off:active, .cke a.cke_button_disabled:hover, .cke a.cke_button_disabled:focus, .cke a.cke_button_disabled:active {
  background:rgba(255,255,255,0.04);
}

.cke a.cke_button_on {
  background:rgba(255,255,255,0.08);
}

.cke a.cke_combo_button {
  background:rgba(255,255,255,0.15);
  border-color:rgba(255,255,255,0.1);
  box-shadow:none;
}

.cke .cke_combo_off a.cke_combo_button:hover, .cke .cke_combo_off a.cke_combo_button:focus {
  background:rgba(255,255,255,0.2);
}

.cke .cke_combo_off a.cke_combo_button:active, .cke .cke_combo_on a.cke_combo_button {
  background:rgba(49, 52, 72,0.2);
  border-color:rgba(255,255,255,0.14);
  box-shadow:none;
}

.cke .cke_combo_on a.cke_combo_button:hover {
  box-shadow:none;
}

.cke.cke_panel {
  background: #363636;
  border-color:transparent;
  box-shadow:0px 10px 70px rgba(0,0,0,0.3);
}

.cke textarea.cke_source {
  padding:10px;
  border-radius:0;
}

/* editor -> code */
.CodeMirror { 
  color: {theme='text_color'};
  background: {theme='area_background_dark'}; 
  border: 1px solid #2f323c; 
}
.pln {color:#fff }
@media screen {
  .str { color:#b8b6e1 }
  .kwd { color:#b8e0ba }
  .com { color:#dfb7b4 }
  .typ { color:#dcdfb2 }
  .lit { color:#add9dc }
  .pun,.opn,.clo { color:#dbadd8 }
  .tag { color:#a9d6ac }
  .atn { color:#d5d8ab }
  .atv { color:#aca9d7 }
  .dec,.var { color:#d3d6aa }
  .fun { color:#e9b5b5 }
}

/* editor -> quote */
.ipsQuote {
  margin: 0;
  padding: 0px 15px;
  border-width: 0px 1px 1px 1px;
  border-color: #2f323c;
  border-style: solid;
  position: relative;
  background: {theme='area_background_dark'};
  clear: both;
}
.ipsQuote_citation {
  background: #2f323c;
  margin: 0px -15px;
  padding: 5px 15px;
  font-weight: bold;
  font-size: 13px;
  display: block;
}
.ipsQuote_citation { 
  color: {theme='link'}; 
  font-weight: 500;
}
.ipsCode { 
  background: {theme='area_background_dark'};
  border-left: 4px solid {theme='veilon_border_color'} !important; 
}
.ipsQuote .ipsQuote_citation a {
  color: {theme='text_color'};
}

/* editor -> spoiler */
.ipsSpoiler, .ipsStyle_spoiler { 
  background: #1d1f2a;
  border-color: #3a3d47; 
}
.ipsSpoiler .ipsSpoiler_header a, 
.ipsStyle_spoiler .ipsSpoiler_header a { 
  color: {theme-'text_color'}; 
}
.ipsSpoiler_header { 
  font-weight: 400; 
  color: {theme='link'};
  background: #2F323C;
 }
.ipsSpoiler .ipsSpoiler_header a, 
.ipsStyle_spoiler .ipsSpoiler_header a { 
  color: {theme='text_color'}; 
}

/* Menus */

.ipsSideMenu_item:not(.ipsSideMenu_itemActive) a:hover, a.ipsSideMenu_item:hover:not(.ipsSideMenu_itemActive) { background: {theme='area_background_dark'}; }

.ipsSideMenu_item:not(.ipsSideMenu_itemActive) a:hover, a.ipsSideMenu_item:not(.ipsSideMenu_itemActive):hover, span.ipsSideMenu_item:not(.ipsSideMenu_itemActive):hover {
  background: {theme='area_background_reset'};
}


/* ================== */
/*        Apps        */
/* ================== */

/* Blogs */
.cBlogInfo_content::after {
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,{theme='area_background'} 100%);
}

/* Clubs */
.ipsMemberCard {
  background: {theme='area_background_dark'};
  border: 1px solid {theme='veilon_border_color'};
}

/* Pages */

/* Gallery */

.cGalleryLightbox_info,
#elGallerySubmit_imageUploader .ipsAttachment_fileList .ipsImageAttach {
  background: {theme='area_background'}
}

.elGalleryImage .ipsButton.ipsButton_link {
  border-color: {theme='veilon_border_color'} !important;
}



/* Calendar */
.ipsCalendarDate,.ipsWidget .ipsCalendarDate { background: {theme='area_background_light'}; }
.ipsCalendarDate_month { color: {theme='link_hover'}; }
.ipsCalendarDate_date { color: {theme='link'}; }

{{if theme.veilon_footer_section1_h1 == ''}}
  div[data-block="1"] h3 {
    display: none;
  }
{{endif}}
{{if theme.veilon_footer_section2_h1 == ''}}
  div[data-block="2"] h3 {
    display: none;
  }
{{endif}}
{{if theme.veilon_footer_section3_h1 == ''}}
  div[data-block="3"] h3 {
    display: none;
  }
{{endif}}
{{if theme.veilon_footer_section4_h1 == ''}}
  div[data-block="4"] h3 {
    display: none;
  }
{{endif}}
{{if theme.veilon_footer_section_social_header == ''}}
  div[data-block="social"] h3 {
    display: none;
  }
{{endif}}


/* (BIM) ChatBox */
.cbDisconnect { background: {hextorgb="area_background" opacity="0.5"};  }

/* =========================== */
/*     Widget`s  & Title's     */
/* =========================== */

.ipsType_sectionTitle {
  background: {theme='veilon_section_title_background'};
  font-size: {theme='veilon_section_title_fsize'}px;
  padding: {theme='veilon_section_title_padding'};
}
.ipsType_sectionTitle a {
    color: {theme='veilon_section_title_color'};
}
#ipsLayout_sidebar .ipsWidget_title,
#elVNC_sidebar .ipsFieldRow_label, 
#elSearch_sidebar .ipsFieldRow_label, 
.ipsTable.ipsMatrix .ipsMatrix_subHeader, 
.ipsSideMenu_subTitle, .ipsSideMenu_title, 
.ipsSideMenu_list + .ipsSideMenu_title {
  background: {theme='veilon_sidebar_background'};
  color: {theme='veilon_sidebar_color'};
  font-size: {theme='veilon_sidebar_fsize'}px;
  padding: {theme='veilon_sidebar_padding'};
}

#ipsLayout_sidebar .ipsWidget .ipsType_center{
  padding: 10px !important;
}

.ipsWidget.ipsWidget_vertical .ipsWidget_title, 
.ipsWidget.ipsWidget_horizontal .ipsWidget_title {
  {{if theme.veilon_body_google_font || theme.veilon_font_mode == 'google'}}
    font-family: "{theme="veilon_body_google_font"}", "Helvetica Neue", Helvetica, Arial, sans-serif;
{{else}}
{{if !theme.headline_font || theme.headline_font == 'default'}}
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
{{else}}
    font-family: "{theme="headline_font"}", "Helvetica Neue", Helvetica, Arial, sans-serif;
  {{endif}}
{{endif}}
  font-size: {theme='veilon_section_title_fsize'};
  background: {theme='widget_title_bar'}
}

.ipsDataList_large .ipsDataItem_main,
.ipsDataList_large .ipsDataItem_stats,
.ipsDataList_large .ipsDataItem_lastPoster,
.ipsDataList_large .ipsDataItem_generic {
  font-size: 14px;
    padding: {theme='veilon_dl_padding'};
}

.ipsWidget.ipsWidget_horizontal .ipsWidget_title {
  padding: {theme='veilon_wtb_padding'};
}


[data-blocktitle="Who\'s Online"] .ipsPad_half,
[data-blocktitle="Who was Online"] .ipsPad_half {
    margin-left: 10px;
}

.ipsWidget_horizontal .ipsWidget_stats {
    padding: 10px 0;
    margin: 5px;
}

.ipsAttachLink[data-fileid]:not( .ipsAttachLink_image ) {
  background: {theme='area_background'}; 
  border-color: {theme='area_background_dark'};
  color: {theme='text_color'};
}

.ipsAttachLink[data-fileid]:not( .ipsAttachLink_image ):hover {
    background: {theme='area_background_dark'};
    border-color: {theme='area_background_dark'};
    color: {theme='link_hover'};
}

.ipsAttachLink[data-fileid]:not( .ipsAttachLink_image ):hover .ipsAttachLink_title {
  color: {theme='link_hover'};
}

.ipsTable.ipsMatrix .ipsMatrix_highlighted { background: {theme='area_background_dark'}; }
/* ================== */
/*     Social Icons   */
/* ================== */

{{if theme.veilon_si_type === 'custom'}}
.p-social-icons {
  display: flex;
}

.submenu .veilon-social-icons {
  margin-top: 8px;
  position: relative;
  z-index: 2;
  max-width: 100%;
}

.veilon-social-icons {
  display: flex;
}

#extended_footer .veilon-social-icons { flex-wrap: wrap; }

nav .veilon-social-icons {
  flex-wrap: inherit;
}

.veilon-social-icons a {
  margin-right: 24px !important;
}

#extended_footer .veilon-social-icons a {
  margin-bottom: 10px !important;
}
.veilon-social-icons a .fab {
  background: #14151B;
  color: {theme='veilon_social_icons_color'};
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: {theme='veilon_social_icons_radius'}%;
  font-size: 20px;
  width: 35px;
  height: 35px;
}
.veilon-social-icons .fab:hover {
    color: {theme='veilon_social_icons_color_hover'} !important;
}
{{else}}
.cShareLink {
  color: #FFF;
  display: inline-block;
  margin-right: 10px;
  border-radius: {theme='veilon_social_icons_radius'}%;
  position: relative;
  cursor: pointer;
  width: 35px !important;
  height: 35px !important;
  padding: 0px;
  text-decoration: none;
  text-align: center;
  font-size: 20px;
  font-weight: normal;
  line-height: 35px;
}

.cUserNav_icon .cShareLink {
  padding: 0;
}


#elHeaderSocialLinks {
  display: inline-block;
  float: right;
}

#elFooterSocialLinks {
  display: inline-block;
  float: right;
}
#elHeaderSocialLinks .ipsList_inline > li,
#elFooterSocialLinks .ipsList_inline > li {
  margin-right: 24px;
}
 #elFooterSocialLinks > li > a { line-height: 40px; }
{{endif}}


{{$background = explode(',', theme.veilon_social_icons_bg);}}
{{$background_hover = explode(',', theme.veilon_social_icons_bg_hover);}}
{{for $i = 0; $i < count( $background ); $i++}}
.veilon-social-icons a:nth-child({expression="$i + 1"}) .fab {
  background: {$background[$i]};
}
.veilon-social-icons a:nth-child({expression="$i + 1"}) .fab:hover {
  background: {$background_hover[$i]} !important;
}
{{endfor}}

/* ================== */
/*     UserBar        */
/* ================== */

{{if theme.veilon_userbar_icons}}
#elUserLink_menu a:before, #elCreateNew_menu a:before {
  content:"\f02b";
  font-family:"FontAwesome";
  font-size:14px;
  font-weight:normal;
  display:inline-block;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  -webkit-transform:translate(0,0);
  -moz-transform:translate(0,0);
  -ms-transform:translate(0,0);
  -o-transform:translate(0,0);
  transform:translate(0,0);
  margin-bottom:-2px;
  line-height:1;
}
#elUserLink_menu a:before, #elCreateNew_menu a:before {
  display:inline-block;
  width:22px;
  opacity:0.7;
}
#elUserLink_menu li[data-menuItem='admincp'] i { display:none; }
#elUserLink_menu a:hover:before, #elCreateNew_menu a:hover:before { opacity:1; }
#elUserLink_menu li[data-menuItem='profile'] a:before { content:"\f007" }
#elUserLink_menu li[data-menuItem='messages'] a:before { content:"\f01c" }
#elUserLink_menu li[data-menuItem='manageFollowed'] a:before { content:"\f1d8" }
#elUserLink_menu li[data-menuItem='attachments'] a:before { content:"\f0c6" }
#elUserLink_menu li[data-menuItem='settings'] a:before { content:"\f013" }
#elUserLink_menu li[data-menuItem='ignoredUsers'] a:before { content:"\f05e" }
#elUserLink_menu li[data-menuItem='modcp'] a:before { content:"\f046" }
#elUserLink_menu li[data-menuItem='admincp'] a:before { content:"\f023" }
#elUserLink_menu li[data-menuItem='signout'] a:before { content:"\f08b" }
#elCreateNew_menu a:before { content:"\f0fe" }
{{endif}}

/* ================== */
/*        Forms       */
/* ================== */

.ipsApp .ipsField_autocomplete,
.ipsApp textarea,
.ipsApp input[type="text"],
.ipsApp input[type="password"],
.ipsApp input[type="datetime"],
.ipsApp input[type="datetime-local"],
.ipsApp input[type="date"],
.ipsApp input[type="month"],
.ipsApp input[type="time"],
.ipsApp input[type="week"],
.ipsApp input[type="number"],
.ipsApp input[type="email"],
.ipsApp input[type="url"],
.ipsApp input[type="search"],
.ipsApp input[type="tel"] {
  background: {theme='veilon_input_background'};
  border-color: {theme='veilon_input_border'};
{{if theme.veilon_forms_bre}}
  border-radius: {theme='veilon_forms_br'}px;
{{else}}
  border-radius: 0px;
{{endif}}
  color: {theme='text_color'};
}

.ipsApp textarea:focus,
.ipsApp input[type="text"]:focus,
.ipsApp input[type="password"]:focus,
.ipsApp input[type="datetime"]:focus,
.ipsApp input[type="datetime-local"]:focus,
.ipsApp input[type="date"]:focus,
.ipsApp input[type="month"]:focus,
.ipsApp input[type="time"]:focus,
.ipsApp input[type="week"]:focus,
.ipsApp input[type="number"]:focus,
.ipsApp input[type="email"]:focus,
.ipsApp input[type="url"]:focus,
.ipsApp input[type="search"]:focus,
.ipsApp input[type="tel"]:focus,
.ipsApp input[type="color"]:focus {
    border-color: {theme='veilon_input_border_active'};
    {{if theme.veilon_input_bs_enable}}
      box-shadow: {theme='veilon_input_bs'};;
    {{else}}
      box-shadow: none;
    {{endif}}
}

.ipsFieldRow_error input[type="text"]:not( .ipsFieldRow_errorExclude ), .ipsFieldRow_error input[type="password"]:not( .ipsFieldRow_errorExclude ), .ipsFieldRow_error input[type="datetime"]:not( .ipsFieldRow_errorExclude ), .ipsFieldRow_error input[type="datetime-local"]:not( .ipsFieldRow_errorExclude ), .ipsFieldRow_error input[type="date"]:not( .ipsFieldRow_errorExclude ), .ipsFieldRow_error input[type="month"]:not( .ipsFieldRow_errorExclude ), .ipsFieldRow_error input[type="time"]:not( .ipsFieldRow_errorExclude ), .ipsFieldRow_error input[type="week"]:not( .ipsFieldRow_errorExclude ), .ipsFieldRow_error input[type="number"]:not( .ipsFieldRow_errorExclude ), .ipsFieldRow_error input[type="email"]:not( .ipsFieldRow_errorExclude ), .ipsFieldRow_error input[type="url"]:not( .ipsFieldRow_errorExclude ), .ipsFieldRow_error input[type="search"]:not( .ipsFieldRow_errorExclude ), .ipsFieldRow_error input[type="tel"]:not( .ipsFieldRow_errorExclude ), .ipsFieldRow_error input[type="color"]:not( .ipsFieldRow_errorExclude ), .ipsFieldRow_error .ipsField_dummy, .ipsFieldRow_error.ipsField_dummy {
    background-color: {theme='veilon_input_background'};
    border-color: #c02222;
}
.ipsType_warning, .ipsType_negative {
    color: #c02222;
}
/* ================== */
/*    LeaderBoard     */
/* ================== */

.cPastLeaders_title span {
  background: none;
}
.cPastLeaders_cell {
  background: {theme='area_background'};
}
.cPastLeaders_cell::after {
    color: inherit;
    opacity: 0.2;
}

html[dir="ltr"] .ipsReact_blurb:not(.ipsHide) + .ipsReact_types {
  border-left: 1px solid {theme='area_background_dark'};
}

.ipsReact_reactCount,
.ipsReact_types ul {
  background: {theme='area_background_dark'};
}
.ipsReact_reactCount span:last-child,
.ipsReact_reactCount > span > span:last-child,
.ipsReact_reactCount > a > span:last-child {
  color: {theme='text_color'}
}

body.ipsApp_noTouch .ipsReact_types:hover .ipsReact_button, body:not(.ipsApp_noTouch) .ipsReact_types.ipsReact_types_active .ipsReact_button {
  background: {theme='area_background_light'}
}
/* ================== */
/*       Slider       */
/* ================== */

{{if theme.veilon_slider_enable}}
.main-slider.swiper-container {
    position: relative;
    width: 100%;
    height: {theme='veilon_slider_height'}px;
    overflow: hidden !important;
    z-index: auto;
}

.swiper-container {
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index: auto !important;
}

.swiper-container .swiper-slide  {
  background: {theme='veilon_slider_default_bc'};
  {{if theme.veilon_slider_default_bi}}
    background-image: url('{theme="veilon_slider_default_bi"}');
  {{endif}}
  background-size: cover;
  background-position: {theme='veilon_slider_background_position'};
}

.swiper-slide {
    background: {theme='page_background'};
    background-position: center;
    background-size: cover;
}
.swiper-slide . {
{{if theme.veilon_slider_default_bi}}
    background-image: ;
{{endif}}
}
.swiper-next,
.swiper-prev {
    position: absolute;
    top: 45%;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    cursor: pointer;
    z-index: 100;
    opacity: 0;
    -webkit-transition: 0.20s all linear;
    -moz-transition: 0.20s all linear;
    -ms-transition: 0.20s all linear;
    -o-transition: 0.20s all linear;
    transition: 0.20s all linear;
}
.swiper-next::before,
.swiper-prev::before {
    content: "";
    display: block;
    font-family: 'FontAwesome';
    text-align: center;
    font-size: 16px;
    color: #fff;
    font-style: normal;
    font-weight: normal;
    line-height: 48px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.swiper-slide img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  position: absolute;
  left: 50%;
  top: 50%;
}
.swiper-slide::before {
    content: '';
    bottom: 0;
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    {{if theme.veilon_slider_pattern}}
     background: {theme='veilon_slider_image_gradient'}, url({theme='veilon_slider_pattern'});
    {{else}}
    background: {theme='veilon_slider_image_gradient'};
    {{endif}}
    z-index: 1;
}
.swiper-slide::after {
    position: absolute;
    content: "";
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 1000em;
    height: 100%;
    -webkit-animation: infiniteBackground 200s linear infinite;
    animation: infiniteBackground 200s linear infinite;
    opacity: .1;
}
.swiper-container:hover .swiper-prev {
    left: 15px;
    opacity: 1;
}
.swiper-container:hover .swiper-next {
    right: 15px;
    opacity: 1;
}
.swiper-prev {
    left: 45px;
    right: auto;
}

.swiper-wrapper,
.owl-carousel {
  z-index: auto !important;
}

.swiper-slide {
  display: flex;
  align-items: center;
}

.slides_container {
  max-width: {theme='veilon_slider_content_container'}px;
  margin: 0 auto;
}

{{$veilonSliderPrev = explode(',',theme.veilon_slider_prev_button );}}
{{foreach $veilonSliderPrev as $key => $icon}}
  {{$icon = $faicons['fa-'.$icon];}}
.swiper-prev::before {
    content: '{$icon}';
    margin: 1px 5px 0px 0px;
}
{{endforeach}}
{{$veilonSliderNext = explode(',',theme.veilon_slider_next_button );}}
{{foreach $veilonSliderNext as $key => $icon}}
  {{$icon = $faicons['fa-'.$icon];}}
.swiper-next::before {
    content: '{$icon}';
    margin: 1px 0px 0px 1px;
}
{{endforeach}}

.swiper-next {
    right: 45px;
    left: auto;
}

.vn-slide-1 h2 { text-align: {theme='veilon_s1t_pos'} }
.vn-slide-1 ul { text-align: {theme='veilon_s1b_pos'} }

.vn-slide-2 h2 { text-align: {theme='veilon_s2t_pos'} }
.vn-slide-2 ul { text-align: {theme='veilon_s2b_pos'} }

.vn-slide-3 h2 { text-align: {theme='veilon_s3t_pos'} }
.vn-slide-3 ul { text-align: {theme='veilon_s3b_pos'} }

.vn-slide-4 h2 { text-align: {theme='veilon_s4t_pos'} }
.vn-slide-4 ul { text-align: {theme='veilon_s4b_pos'} }

.vn-slide-5 h2 { text-align: {theme='veilon_s5t_pos'} }
.vn-slide-5 ul { text-align: {theme='veilon_s5b_pos'} }
{{endif}}

/* ================== */
/*     CSS Styles     */
/* ================== */

.ipsGiphy_attribution {
  background: #a4c462;
  border-radius: 2px;
}

/* AutoCompleteMenu */
.ipsAutocompleteMenu_item { background: {theme='area_background_dark'} }
.ipsAutocompleteMenu_item[data-selected] { background: {theme='area_background_light'} }


/* Profile */
div[data-role='profileContent'] .ipsAreaBackground_reset {
  background: {theme='veilon_profile_bg_reset'};
}
div[data-role='profileContent'] .ipsBox:not(.ipsBox_transparent):not(.ipsModerated) {
  background: {theme='veilon_profile_bg_reset'};
}

div[data-role='profileContent'] .ipsTabs_panel {
  background: {theme='veilon_profile_bg_reset'};  
}

div[data-role="profileContent"] .cProfileSidebarBlock .ipsType_center.ipsPad_half img { max-width: 290px; }


#elProfileActivityOverview .ipsStreamItem,
#elUserContent .ipsStreamItem, 
#elSingleStatusUpdate .ipsStreamItem {
    border-bottom: 1px solid {theme='veilon_profile_lines_color'};
 }

div[data-role='profileContent'] .ipsTabs {
    background: transparent;
    padding-left: 0;
    padding-bottom: 10px;
    padding-right: 0;
    padding-top: 10px;
}
div[data-role='profileContent'] section.ipsColumn_fluid { padding-right: 15px !important; }

div[data-role='profileContent'] .ipsTabs_item,
div[data-role='profileContent'] .ipsTabs_item:hover { 
  background: {theme='veilon_profile_bg_tabs'}; 
  border-radius: 3px; 
  color: {theme='text_light'};
  text-transform: uppercase;
}

.ipsTabs_activeItem {
  background: {theme='veilon_profile_bg_reset'} !important; 
  color: {theme='link'} !important;
}

.cProfileSidebarBlock {
  background: {theme='veilon_profile_bg_reset'} !important;
  color: {theme='text_color'} !important;
}

#elProfileInfoColumn.cProfileSidebarBlock img { max-width: 100%; }

/* Footer */
#ipsLayout_footer { text-align: center; }

/* ================== */
/*      Copyright     */
/* ================== */

#veilonCopyright {
    color: {theme="link"};
    display: block;
    width: 100%;
    float: right;
    text-align: right;
    z-index: 1;
}
#veilonCopyright a { color: {theme='text_color'}; font-weight: 400;}
#veilonCopyright a::before {
    font-family: "FontAwesome";
    color: #ff4149;
    content: "\f004";
    margin-right: 5px;
    font-size: 11px;
}

#elCopyright {
  float: auto !important;
  text-align: center !important;
  position: relative;
  z-index: 99999;
}


/* Edit Blocks */

.cWidgetContainer.cWidgetContainer_managing {
  background: {theme='page_background'};
}
.cSidebarBlock_managing { background: {hextorgb='area_background_dark' opacity='0.6'}; }


.cWidgetContainer.cWidgetContainer_managing::before {
  border-color: {theme='primary_button'};
}


.ipsAttachment_dropZone.ipsDragging,
.ipsComposeArea_dropZone.ipsDragging {
  background: {theme='area_background_dark'};
  border-color: {theme='area_background'};
}

/* ================== */
/*     Responsive     */
/* ================== */
@media screen and (max-width: 1200px) {
{{if theme.veilon_header_type == 'custom3'}}
#elSearchWrapper { display: none; }
{{endif}}
}
@media screen and (max-width: 979px) {

    .p-social-icons { margin-right: auto; }

    .ipsNavBar_primary { height: 75px; }

    #ipsLayout_header nav { height: 0px; }

  .ipsDataItem_icon .ipsItemStatus.ipsItemStatus_large {
      border-radius: {theme='veilon_nodes_br_resp'}px; 
      width: {theme='veilon_nodes_iwidth_resp'}px; 
      height: {theme='veilon_nodes_iheight_resp'}px; 
      font-size: {theme='veilon_nodes_fs_resp'}px; 
  }

  [data-tableid="topics"] .ipsDataItem_stats {
    text-align: left;
  }

  [data-tableid="topics"] .ipsDataItem_stats span {
    display: inline;
  }

  [data-tableid="topics"] .ipsDataItem_stats li {
    width: auto;
  }

  .ipsDataItem_stats {
    text-align: left;
  }

  .ipsDataItem_stats_type {
    text-transform: none;
  }
    /* Forums Grid */
  .ipsDataList_large .ipsDataItem_main, 
  .ipsDataList_large .ipsDataItem_stats, 
  .ipsDataList_large .ipsDataItem_lastPoster, 
  .ipsDataList_large .ipsDataItem_generic {
    padding: 0 !important;
  }
  .vnArticlesGrid {
    display: flex;
    flex-flow: column;
  }
  #veilonCopyright {
    float: none;
  }
  #ipsLayout_footer p { margin: 10px; }
}

@media screen and (max-width: 767px) {
  {{if theme.veilon_slider_mobile == '0'}}
    .main-slider {
      display: none;
    }
  {{endif}}
  #elHeaderSocialLinks { display: none; }

  /* Forums Grid */
  .ipsDataList_large .ipsDataItem_main, 
  .ipsDataList_large .ipsDataItem_stats, 
  .ipsDataList_large .ipsDataItem_lastPoster, 
  .ipsDataList_large .ipsDataItem_generic {
    padding: 0 !important;
  }

  .ipsDataList.ipsDataList_reducedSpacing .ipsDataItem {
    padding: 7px !important;
  }

  /* Articles */

  .ipsTag_prefix { display: inline-block; }
  .cPost.ipsComment:not(.ipsComment_selected):not(.ipsModerated) .cAuthorPane {
    background: transparent;
  }
  .cTopic .ipsItemControls {
    background: transparent;
    margin: 0;
    padding: 0;
  }
  .cPost::before {
    height: 60px;
  }
  .ipsPager { display: flex; }
  #veilonCopyright {
    width: 100%;
    margin-top: 10px;
    position: relative !important;
    display: block !important;
    text-align: center !important;
  }
  .vn-articles-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  div[data-controller="calendar.front.browse.main"] .ipsGrid { display: block !important; }

  .vn-articles-footer { max-width: 90%; }
  #elFooterSocialLinks { float: left; }
  .p-footer-inner-links { flex-flow: column; }
  .veilonLeft { margin: 0; }
  .veilonRight { margin: 0; }
}

.ipsApp textarea[disabled],
.ipsApp input[type="text"][disabled],
.ipsApp input[type="password"][disabled],
.ipsApp input[type="datetime"][disabled],
.ipsApp input[type="datetime-local"][disabled],
.ipsApp input[type="date"][disabled],
.ipsApp input[type="month"][disabled],
.ipsApp input[type="time"][disabled],
.ipsApp input[type="week"][disabled],
.ipsApp input[type="number"][disabled],
.ipsApp input[type="email"][disabled],
.ipsApp input[type="url"][disabled],
.ipsApp input[type="search"][disabled],
.ipsApp input[type="tel"][disabled],
.ipsApp input[type="color"][disabled] {
    background: #43444c;
}

.ipsApp select {
  background: #3e3f47;
  border: 1px solid #22232b;
}

#elTwoFactorAuthentication {
  background: {theme='area_background'};
}

.veilon-social-icons a, #extended_footer a, .veilon-social-icons .fab, .cShareLink, .cForumList .ipsDataItem {
    -o-transition: background 0.4s, color 0.4s;
    -ms-transition: background 0.4s, color 0.4s;
    -moz-transition: background 0.4s, color 0.4s;
    -webkit-transition: background 0.4s, color 0.4s;
}

#elNavigationMore:nth-child a:before { content: '\f039' !important; }

.vn-extended-buttons {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
  justify-content: center;
}

.vn-extended-buttons > li > a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    font-size: 11px;
    line-height: 1;
    width: 28px;
    height: 28px;
    border-radius: 0;
    color: #ffffff;
}

.ipsPager .ipsPager_next a:after,
.ipsPager .ipsPager_prev a:after {
    content: '\f105';
    font-family: 'FontAwesome';
    font-size: 45px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -ms-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
}

html[dir="ltr"] .ipsPager .ipsPager_next a:hover:after, html[dir="rtl"] .ipsPager .ipsPager_prev a:hover:after {
    right: 10px;
}
html[dir="ltr"] .ipsPager .ipsPager_prev a:hover:after, html[dir="rtl"] .ipsPager .ipsPager_next a:hover:after {
    left: 10px;
}

#elTwoFactorAuthentication {
  background: {theme='area_background'};
}

#elTwoFactorAuthentication > div {
  background: {theme='area_background'}; 
}
