/* homapge menu under the header*/
#menu-below-header-dekstop::before{
    display: block;
    content: '';
    width: calc(100vw);
    height: 100%;
    position: absolute;
    left: calc(-1 * (100vw - 100%) / 2);
    top: 0;
    background-color: #2c60d6;
}
#menu-below-header-dekstop {
    position: relative;
    margin-top: -4px !important;
}
#menu-below-header-dekstop, #menu-below-header-dekstop ul,
#menu-below-header-mobile, #menu-below-header-mobile ul {
    background-color: #2c60d6;
    border: 0 !important;
}
#menu-below-header-dekstop a, #menu-below-header-mobile a {
    background-color: transparent;
    color: #fff;
    border-left: 0 !important;
}

#sub_menu2 { display: none; }
#sub_menu1 ul.av-subnav-menu,
#sub_menu2 ul.av-subnav-menu{
    padding: 10px 0;
    display: flex;
    justify-content: space-evenly;
}
#sub_menu1 ul.av-subnav-menu > li > a,
#sub_menu2 ul.av-subnav-menu > li > a{
    font-weight: 600;
    text-transform: uppercase;
}
#sub_menu1 ul.av-subnav-menu li ul li {
    /* border-bottom: 1px solid #224077; */
    border-bottom: 1px solid #2c5aaf;
}

input, select, textarea {
    box-sizing: border-box;
}
.show-sm { display: none; }

ul.list,
ul.list2 {
    margin: 0;
}
ul.list li,
ul.list2 li {
    list-style-type: none;
    margin: 0 0 8px 0;
}
ul.list li a,
ul.list2 li a{
    display: block;
    width: 100%;
    background: url(../img/list.png) no-repeat left center;
    padding: 8px 10px 8px 30px;
    /* text-transform: uppercase; */
    font-size: 14px;
    color: #1d1d1d !important;
}
ul.list li a:hover,
ul.list2 li a:hover{
    color: rgb(250, 59, 59) !important;
    background-color: #fafafa;
}
ul.list2 li a{
    background-image: url(../img/list2.png);
}

.logo-footer {
    width: 220px;
    height: 30px;
    background: url(../img/logo-white.png) no-repeat center;
    background-size: contain;
    display: inline-block;
}
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.hidden { display: none; }

/* forms */
.input{
    border-radius: 4px !important;
    padding: 10px !important;
    background: #eaeaea !important;
    margin: 10px 0 !important;
}
.button-nav {
    background: rgb(250, 59, 59);
    display: block;
    width: 80%;
    border-radius: 8px;
    margin: 20px auto !important;
}
.button-nav a {
    color: #fff !important;
    font-weight: bold;
    text-align: center !important;
}
.button{
    background-color: rgb(216, 53, 53);
    border-radius: 4px;
    margin: 4px 8px 4px 0 ;
    display: inline-block;
    color: #fff !important;
    text-decoration: none;
    text-transform: uppercase;
}
.button-block {
    display: block;
    text-align: center;
}
.button-secondary {
  background-color: #224077 !important;
}

.user-bar{
    background-color: #fff;
    padding: 8px 0;
    position: fixed;
    width: 100%;
    z-index: 999;
    border-bottom: 1px solid #f0f0f0;
}
.user-bar .container {text-align: right; }
.user-bar a {
    font-weight: bold;
    font-size: 12px;
    color: #fa3b3b;
}
.portal-ad-sidebar{
    text-align: center;
    background: #ebebeb;
    padding: 16px 0 20px 0;
}

/* homepage header */
.homepage-home-slider {
    background: url(../img/header.jpg) no-repeat center;
    background-size: cover;
    padding: 20px;
    border: 2px solid #fff !important;
    border-radius: 10px;
    overflow: hidden;
}
.homepage-home-slider__title {
    color: #ffffff;
    font-size: 21px;
    font-weight: bold;
}
.homepage-home-slider__subtitle {
    color: #fff;
}
.homepage-home-slider__button {
    padding: 20px;
    font-size: 18px;
    color: #fff !important;
    text-transform: uppercase;
    text-align: center;
    display: block;
    margin-top: 10px;
    background-color: #fa3b3b;
    border-radius: 10px;
}
.homepage-home-article {
    border: 2px solid #fff !important;
    border-radius: 10px;
    overflow: hidden;
    background: #cdcddc url(../img/header2.jpg) no-repeat center;
    background-size: cover;
    position: relative;
}
.homepage-home-article article {
    padding: 50px 20px 20px 20px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.homepage-home-articles__title {
    color: #ffffff !important;
    font-size: 15px;
    font-weight: bold;
    z-index: 2;
    position: relative;
}
.homepage-home-article.first .homepage-home-articles__title{ font-size: 21px; }
.homepage-home-articles__desc {
    color: #fff;
    z-index: 2;
    position: relative;
}
.article-mask {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.2;
    top: 0;
    left: 0;
    pointer-events: none;
    transition: opacity 0.2s linear;
}
.homepage-home-article:hover .article-mask {
    opacity: 0.5;
}

/* homepage header categories */
.homepage-header-categories {
    height: 24px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
}
.homepage-header-categories ul {
    text-align: left;
}
.homepage-header-categories ul li {
    list-style-type: none;
    display: inline-block;
    margin-right: 25px;
    margin-bottom: 8px;
}
.homepage-header-categories ul li a {
    color: #575757;
}
.homepage-header-categories ul li.mark a {
    color: #2c60d6;
    font-weight: bold;
    text-decoration: underline;
}
.homepage-header-categories__more {
    position: absolute;
    top: 0;
    right: 0;
    margin-right: 0 !important;
}

/* sidebar */
.widget.special {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 8px rgba(0,0,0, 0.3);
    background-color: #fff;
    padding-bottom: 2px;
}
.widget.special .widgettitle {
    background-color: #2c60d6;
    padding: 20px 10px;
    text-align: center;
    color: #fff;
}
.widget.special .textwidget {
    padding: 0px 4px 0 14px;
}

.header_second_logo {
    float: right;
    width: 140px;
    height: 80px;
    background: url(../img/ab.jpg?ver=1.1) no-repeat center;
    background-size: contain;
}
.footer-signup__title{
    text-align: center;
    font-size:26px;
    color:#fa3b3b; 
    margin-bottom: 70px;
}
.header_second_logo a {
    display: block;
    text-indent: -999px;
    overflow: hidden;
}

.shadow img {
    box-shadow: 0 2px 4px rgba(0,0,0, 0.2);
}
.radius img {
    border-radius: 10px;
}


.page-container {
  display: flex;
  flex-wrap: wrap;
  padding: 0 10px !important;
}
.page-container > main {
  flex: 1;
}
.custom-page-left-sidebar {
  width: 160px;
  margin-right: 20px;
  margin-top: 50px;
}

/*******************************************/
/*******************************************/
/*******************************************/
/*******************************************/
/*******************************************/
/*******************************************/
/********   min-width: 767px   *************/
/*******************************************/
/*******************************************/
/*******************************************/
/*******************************************/
/*******************************************/
/*******************************************/

@media only screen and (min-width: 767px) {
    .columns-2 {
        margin: 5px 40px;
        columns: 2;
    }
    /* multicolumns in menu */
    .sub-menu-columns-2 ul.sub-menu {
        columns: 2;
        width: 400px !important;
    }
    .sub-menu-columns-3 ul.sub-menu {
        columns: 3;
        width: 600px !important;
    }
    .sub-menu-columns-4 ul.sub-menu {
        columns: 4;
        width: 800px !important;
    }

    /* sidebars */
    
    .custom-left-sidebar-on {
        /* left: 170px; */
        /* clear: none !important; */
        /* padding-left: 10px; */
        width: calc(100% - 300px - 170px - 40px) !important;
    }

    /* homepage header*/
    .homepage-home { display: flex; flex-direction: row-reverse; }
    .homepage-home-articles { flex: 1; }
    .homepage-home-article { display: flex; align-items: flex-end; }
    .homepage-home-slider { flex: 1; display: flex; align-items: flex-end; }
    .homepage-home-article-rest { display: flex; }
    .homepage-home-article-rest > div { flex: 1; }
}