h3.margin-bottom5,
h4.margin-bottom5 {
    margin-bottom:5px;
}

h3.margin-bottom2,
h4.margin-bottom2 {
    margin-bottom:2px;
}
@media (max-width: 767px) {
    .td-header-top-menu-full {
        /*display: block;*/
    }
}


.ak-multi-col-wrap .ak-form-select-wrap {
    width:100%;
    max-width:100%;
    display: inline-block;
}

.ak-multi-col-wrap .ak-form-select-wrap select{
    width:100%;
    max-width:100%;
    display: inline-block;
}

.sci-gallery img {
    margin-bottom:1px;
}

/* styling sylang language selector*/
select#sl_selector {
    width: 75px;
    height: 26px;
    margin-top: 1px;
    color: #fff;
    line-height: 30px;
    font-size: 12px;
    border: 0;
    background: #9fc632;
    padding-left: 5px;
}

#sl_selector.select2-dropdown{

}



/*
.sl_selector-wrap .select2.select2-container.select2-container--default.select2-container--below.select2-container--open.select2-container--focus{
    outline: medium none;
}
*/


.select2-container--open .select2-dropdown--below {
    z-index: 99999 !important;
}

.sl_selector .select2-results__option {
    padding: 3px;
    line-height: 20px;
    font-size: 12px;
}
.sl_selector .select2-selection.select2-selection--single {
    background: #9fc632;
    border: 0;
    height: 28px;
    color: #9fc632;
    outline:medium none;
}

.sl_selector .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: white !important;

}

.sl_selector .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: white transparent transparent transparent;
    border-width: 6px 3px 0px 3px;
}

.sl_selector .select2-selection ul li {
    margin-left: 0;


}
.sl_selector-wrap .select2-container--default .select2-selection--single .select2-selection__arrow {
    height:26px;
    top:0;
    right: -1px;
}

.fake-anchor {
    cursor: pointer;
}



/** styling info box **/
.sci-info-box-wrap {
    background: #efefef;
    /* height: 100%; */
    min-height: 163px;
    padding: 10px;
    font-family: "open sans";

}

.sci-info-box-wrap.engagement {
    margin-bottom:45px;
}

.sci-info-box-wrap .eib-inside {
    background: white;
    height: 100%;
    min-height: 172px;
    padding: 27px 30px 35px 30px;
}

.sci-info-box-wrap .eib-inside .eib-big-title {
    font-weight: bold;
    text-align: center;
    line-height: 1.4em;
    font-size: 1.4em;
    margin-bottom: 5px;

}

.sci-info-box-wrap .eib-inside .eib-title {
    font-weight: bold;
    font-size: 1.1em;
    line-height: 1.1em;
    text-align: center;
    margin-bottom: 18px;
}

.sci-info-box-wrap .eib-inside .eib-text {
    font-size: 14px;
    line-height: 20px;
    font-style: italic;
    text-align: center;
}


/**   styling filter box (in pages: event-platforms, topics, internship-platforms, etc)**/
.filter-box-wrap {
    padding-top:10px;
}


select.fb_filter_elem {
    width:100% !important;
    max-width:100% !important;
}


.filter-box-wrap .fb-title{
    text-align: center;
    line-height:40px;
    font-weight:bold;
    position: relative;

}

.filter-box-wrap .fb-title-text {
    position: relative;
    z-index: 1;
    background: #fff;
    padding-left:10px;
    padding-right:10px;
}

.filter-box-wrap .fb-title-line {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 0;
    height: 2px;
    border: 0;
    background: gray;
}

.filter-box-wrap .fb-form-wrap {
    background: #efefef;
    padding: 24px 30px 10px 30px;
}

.filter-box-wrap .fb-form-wrap .ak_formLineWrap {
    margin-bottom: 5px;
    font-size:14px;
}


.filter-box-wrap .ak_formLineWrap .labelWrap {
    padding-bottom: 0;
    padding-top: 0;
}



.filter-box-wrap .ak_form-content-wrap .actionBtnsWrap.right {
    margin-top: 10px;
    margin-bottom: 0;
}

.filter-box-wrap.topics .ak_form-content-wrap .actionBtnsWrap.right .btn {
    border-width: 2px;
}



/***/
.sci-topics-flips-wrap .vc_column_container .wpb_wrapper .mpc-icon-column{

    height: 247px;
    maX-Height: 247px;
    overflow: hidden;
}


/************ hiding info column for pages profile/register/login***************/

@media (max-width: 768px) {
    .sci-form-cols .reg-notes-wrap {
        display: none !important;
    }

    .sci-form-cols .sci-form-col-right {
        border: 0 !important;
    }
}


/*************** standard block titles for different pages *****************/


.block-title.lightgray {
    border-color: #eaeaea;
}
.block-title.lightgray span{
    background-color:#eaeaea;
    color: #444;
}

.block-title.lightblue {
    border-color: #4db2ec;
}
.block-title.lightblue span{
    background-color:#4db2ec;
}

.block-title.orange{
    border-color: #f69318;
}
.block-title.orange span{
    background-color:#f69318;
}

.block-title.redish{
    border-color: #e23764;
}
.block-title.redish span{
    background-color:#e23764;
}


.block-title.green{
    border-color: #9fc632;
}
.block-title.green span{
    background-color:#9fc632;
}


.block-title span.bt_extra-right {
    float: right;
    padding: 5px;
    padding-right: 0;
    text-align: right;
    background: initial;
}
.block-title span a {
    line-height: initial;
    display: inline-block;
    text-decoration: none;
    background: initial;
    color: #4db2ec;
    text-align: right;
    padding: 0;

    
}


/*************** TOP BAR (tapbar) TODO ***************/
.top-header-menu .avatar {
    height:25px;
    object-fit: cover;
}

.header-search-wrap .dropdown, .dropup {
    position: initial;
}



/***************** contribution page *****************/
.ak-multi-col-wrap .ak_formLineWrap {
    margin-bottom:0;
}

.media_type_wrap {
    text-align: center;
    border: 1px solid #e0e0e0;

}
.media_type_wrap .image-wrap {
    position: relative;
    height:130px;
}


.media_type_wrap .ak_formLineWrap,.media_type_wrap p {
    margin-bottom:0;
}
.media_type_wrap .image-wrap .mt-img {

    width: 60%;
}
.media_type_wrap .mt-radio-wrap {
    text-align: center;
}

.media_type_wrap .ak-3-col {
    opacity: 0.5;
    transition: opacity .33s;

}


.media_type_wrap .ak-3-col.active {
    opacity: 1;
}

.hide-elem {
    display: none;
}

.topics-grand-wrap .ts-block-wrap {
    width: 100%;
    height: 240px;
    position: relative;
    float: left;
    margin-left: 0;
    margin-right: 0;
}

.topics-grand-wrap .tsb-img-wrap {
    height: 230px;
    overflow: hidden;
    position: relative;
}
.topics-grand-wrap .tsb-img-wrap .tsb-img {
    height: 230px;
    width: 100%;
    object-fit: cover;
}
.topics-grand-wrap .ak-multi-col-wrap .ak-multi-col-right-wrap {
    padding-right:0;
}



/** styling tipso  **/

.tipso_bubble {
    box-shadow: 0 1px 3px gray;
    text-align: left;
    padding:3px 7px 10px 7px;
}

.tipso_style {

}




/********* Info box with title sitting on top border **/
.info-box-title-through {
    border: 1px solid #888888;
    padding: 20px 10px 5px 5px;
    margin-top: 22px;
    position: relative;

}

.info-box-title-through .box-title-through-line {
    border: 1px solid;
    display: inline-block;
    padding: 0 10px;
    position: absolute;
    top: -12px;
    background: white;
    left: 15px;
    cursor: pointer;
}



/*** styling bootstrap modals ****/
img.media-object {
    max-width:initial;
}



/** STYLING submissions page (grid style can be used on other pages as well)**/
.submission-card-wrap .sci-elem {
    line-height: 18px;

}
.submission-card-wrap .sci-elem .sci-count.rating{
    float: left;
}
.submission-card-wrap .sci-elem .sci-count{
    text-align: center;
    display: inline-block;
}

.submission-card-wrap .sci-elem .sci-count i.fa{
    margin-left:5px;
    margin-right:5px;
}



.submission-card-wrap .sc-img-wrap {
    height:150px;
    background-position: center;
    background-size:cover;
    background-repeat: no-repeat;
    border:1px solid #cccccc;
}

.submission-card-wrap i.fa-heart, .sci-elem.counts{
    color: #b7b7b7 !important;
    text-align: right;
}
.sci-elem.extra-info-wrap {
    color: #b7b7b7 !important;
}

.submission-card-wrap .sci-info-wrap {
    color: #444;
}

.submission-card-wrap .sci-elem.title {
    font-weight:bold;
}

.submission-card-wrap .extra-info-wrap  .lined {
    border-right:1px solid #b7b7b7;
    display: inline-block;
    padding:0 5px;
}
.submission-card-wrap .extra-info-wrap  .lined:first-child {
    padding-left:0;

}

.submission-card-wrap .extra-info-wrap  .lined:last-child {
    border-right:0;
}
code {
    border-radius:0 !important;
    color: #444;
    background: #e0e0e0;
}

.submission-card-wrap {
    min-height:200px;
    font-size:12px !important;
}

.subs-count-line {
    margin-bottom:10px;
}


/** trying the custom sidebar thing **/

.sci-custom-sidebar {
    display: block;
    min-height: 1px;
    float: right;

    padding-left: 24px;
    position: relative;
    width: 33.333%;
    /*min-width:349px;*/
}

.sci-custom-sidebar .filter-box-wrap {
    padding-top:0;
    margin-top:-5px;
}


/********* submissions page ********/
.submission-cards-wrap {
    display: block;
    min-height: 1px;
    float: left;

    margin-bottom:5px;
    position: relative;
    width: 66.666%;
}

.submissions .submission-card-wrap,
.finalists .submission-card-wrap{
    margin-bottom:25px;
    width: 50%;
    float: left;

}

.submissions .submission-card-wrap:nth-child(odd),
.finalists .submission-card-wrap:nth-child(odd),
.winners .submission-card-wrap:nth-child(odd) {
    padding-right:2%;
}
.submissions .submission-card-wrap:nth-child(even) ,
.finalists .submission-card-wrap:nth-child(even),
.winners .submission-card-wrap:nth-child(even){
    padding-left:2%;
}


.submissions .showall-anchor-wrap,
.finalists .showall-anchor-wrap,
.winners .showall-anchor-wrap{
    float:left;
}



/** latest submissions */

.latest-submissions-wrap .block-title {
    margin-bottom:10px;
}


@media (max-width: 767px) {

    .sci-custom-sidebar {
        width: 349px;
        max-width: 349px;
        margin: 10px auto;
        float: initial;
        padding-left: 0;
    }

    .submission-cards-wrap {
        width:100%;

    }

    .submissions .submission-card-wrap:nth-child(even),
    .finalists .submission-card-wrap:nth-child(even) {
        padding-left:0;
        padding-right:2%;
    }

    @media (max-width: 460px) {

        .submissions .submission-card-wrap,
        .finalists .submission-card-wrap{
            width: 100%;
            float:initial;

        }
        .sci-custom-sidebar {
            width:100%;
        }

        .submissions .submission-card-wrap,
        .finalists .submission-card-wrap {
            padding-left:0 !important;
            padding-right:0 !important;
        }
    }
}


/*********************************/
@media (min-width: 767px) {
    #td-mobile-nav {
        display: none;
    }
}


/******* styling projects visualization page ******/

#map .leaflet-popup-content {
    margin: 2px 8px 3px 8px;
    line-height: 1.4;
    text-align: center;
    width:30px !important;
}


#map a.leaflet-popup-close-button {
    display: none;
}
#map .leaflet-popup-content-wrapper {
    background: #1f607c;
    color: #fff;
    border-radius:2px;
}

#map .leaflet-popup-tip {
    display: none;
}
#map .leaflet-popup-content-wrapper:before {
    content: '';
    width: 0;
    height: 0;
    text-align: center;
    border-style: solid;
    border-width: 7px 7px 0 7px;
    border-color: #1f607c transparent transparent transparent;
    position: absolute;
    bottom: -7px;
    left: 50%;
    margin-left: -7px;
}

#map .leaflet-popup {
    margin-bottom:15px;
}

.country-charts-wrap {
    margin-top:40px;
}

.country-charts-wrap .nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover {
    border-radius:0;
}

.country-charts-wrap .nav-tabs {
    border-bottom:2px solid #444;
}

.country-charts-wrap ul {
    margin-bottom:initial;
}

.country-charts-wrap ul li {
    margin-left:0;
}

.country-charts-wrap .nav-tabs>li>a {
    color: #444;
    background: #fff;
    border:0;
    border-radius: 0;
    line-height:1;
}

.country-charts-wrap .nav-tabs>li.active>a {
    color: #fff;
    background: #444;
    border-radius: 0;
    border:0;
}

.chart-title {
    color: #333;
    font-family:sans-serif;
    font-size:20px;
    font-style: normal;
    font-weight:bolder;
}

.statistics-desc {
    font-size: 14px;
    line-height: 20px;
    margin-bottom:15px;
}
.chart-desc {
    color: #aaa;
    font-family:sans-serif;
    font-size:13px !important;
    line-height:18px !important;
    font-style: normal;
    font-weight:normal;
}
.map-desc {
    margin-bottom:10px !important;
}
.statistics-counter.row > .col-md-7{
    margin-left:15px;
}


.statistics-counter.row > div[class^="col-"] {
    height:45px;
    padding:10px;
    background: #e0e0e0;
    font-size:16px;
    font-weight:bolder;
}
.statistics-counter.row > div.col-md-7.smaller {
    font-size:12px;
}

.total-subs-count-text.smaller {
    font-size:12px;
}

.view-like-counter {
    color: #aaaaaa;
    font-size:14px;
    margin-bottom:35px;
}

.view-like-counter .lwc-cell {
    color: #444;
}

.view-like-counter .view-like-counter-col {
    padding-left:30px;
    padding-top:10px;
}


.stats-counter {
    margin-bottom:30px;
}
.stats-counter .sc-gray {
    background: #e0e0e0;
}
.stats-counter .total-subs-count-wrap {
    font-size: 16px;
    font-weight: bolder;
    padding:8px 8px 8px 22px;
    margin-bottom:5px;
}

.stats-counter .total-subs-count-text {
    width:70%;
    float:left;
}

.stats-counter .total-subs-count {
    width:30%;
    float:left;
}

.stats-counter .total-lv-wrap {
    display: table;
    width:100%;
}
.stats-counter .lv-cell {
    display: table-cell;
    font-size:13px;


}
.stats-counter .lv-cell.left {
    padding-left:10px;
}
.stats-counter .lv-cell.right {
    padding-left:10px;
}
.stats-counter .lv-cell.fake {
    width:5px;
}

.stats-counter .lv-cell .count {

    font-weight:600;
}


/** Sci Page Title **/
.sci-page-title {

    font-weight: 500;
    font-size: 30px;
    line-height: 38px;
    margin: -9px 0 19px 0;
}

/**************
 project overview - single submission display
 */
.submission .finalist-info {
    background: #dd616e;
    color: #fff;
    padding: 5px;
    padding-left:10px;
    display: inline-block;
}

.submission .winner-info {
    background: #9EC531;
    color: #fff;
    padding: 5px;
    padding-left:10px;
    display: inline-block;
}

.submission .award-winner-info {
    background: #e23664;
    color: #fff;
    padding: 5px;
    padding-left:10px;
    display: inline-block;
    text-transform: uppercase;
}

#update-countdown-wrap {
    width:100%;
    margin-bottom:-21px;
}

#update-countdown-wrap .cell-display,
#last-update-info-wrap .cell-display{
    padding:4px 4px 4px 30px;
    text-align: right;
}
#update-countdown-wrap .cell-display.italic,
#last-update-info-wrap .cell-display.italic{
    font-style: italic;
}
#update-countdown-wrap .update-countdown-text {
    width:50%;


}

#update-countdown-wrap .update-countdown {
    width:15%;
    padding-left:5px;
    font-weight:bold;


}


.submission-display-wrap {
    color: #444;
    font-size:14px;
    line-height:22px;
}



.submission-display-wrap .sub-desc {
    margin-bottom:10px;
}

.submission-display-wrap .sub-label {
    font-weight:bold;
}

.submission-display-wrap .latest-submissions-wrap {
    margin-top:30px;
}




.submission-display-wrap .pi-text-wrap .sub-desc:nth-child(4){
    margin-top:20px;
}


@media only screen and (min-width : 768px) {
    .row.table-row {
        display: table;
        -ms-word-break: break-all;
        word-break: break-all;
    }
    .table-row.row [class*="col-"] {
        float: none;
        display: table-cell;
        vertical-align: top;
    }

}
.table-row .formula-wrap {
    padding:10px;
}

.table-row .rating-info-wrap {
    background: #eeeeee;
}
.table-row .rating-info-wrap h3 {
    margin-bottom:0;
}

.table-row .rating-info-wrap .result-wrap {
    padding:5px;
    padding-left:30px;
    background: #8e8e8e;
    color: #fff;
    font-size:15px;
}

.table-row .rating-info-wrap.smaller .result-wrap{
    font-size:12px;
}

.table-row .rating-info-wrap.smaller h3 {
    font-size:20px;
}


/********************
malihu custom scrollbar mcs
 */
.mCSB_container {
    width:70px;
}

.mCSB_dragger_bar {
    background: darkgray !important;
    position: absolute !important;
    right: 0 !important;
}

.mCSB_draggerRail {
    background: transparent !important;
}

.select2-dropdown.sl_selector.select2-dropdown--below {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;;
}


/*********************
new language selector
 */

.sl_selector-wrap {
    position: relative;
    height:28px;
}
.sl_selector-wrap .dropdown-toggle {
    line-height: 28px;
    height: 28px;
    display: inline-block;
    padding-left: 5px;
    color: white;
    cursor: pointer;
    font-size:13px;
}

.sl_selector-wrap .dropdown-menu {
    overflow: hidden;
    color: #444;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;

    width:190px;
    top:18px;
    padding:0;
    font-size:13px;

}
.sl_selector-wrap .dropdown-menu .row {
    margin-left:0;
    margin-right:0;
}
.sl_selector-wrap .dropdown-menu .lang-item-wrap {
    padding:3px 5px;
    cursor: pointer;
}
.sl_selector-wrap .dropdown-menu .lang-item-wrap {
    padding-left:10px;
}
.sl_selector-wrap .dropdown-menu .lang-item-wrap.active,
.sl_selector-wrap .dropdown-menu .lang-item-wrap:hover{
    background: #8e8e8e;
    color: #fff;
}



/****
overriding bootstrap
*/
a:hover, a:focus {
    text-decoration: none !important;
}




/***

 */

.table-display {
    display: table !important;
}

.table-display .cell-display {
    display: table-cell !important;
}




/*******************


 */

.home-submission-end-alert .media-left{
    font-size: 70px;
    color: white;
    padding: 40px 30px 40px 30px;
    background: #e9821b;
}

.home-submission-end-alert .media-body {
    padding: 40px 10px 10px 10px;
    color: white;
    font-size:16px;
    background-image: linear-gradient(90deg,#f6921d 0%,#9ec531 100%);
    text-transform: uppercase;
}

.home-submission-end-alert .media-body p {
    font-size:14px;
}




/*********************

sy-ribbon
 */
.sy-ribbon-wrap {
    position: relative !important;
}

.sy-ribbon-wrap .sy-ribbon {
    background: #dd616e;
    color: #fff;
    position: absolute;
    top: 10px;
    right: -10px;
    width: 70px;
    padding: 5px;
    text-transform: uppercase;
    line-height: 21px;

}

.sy-ribbon-wrap .sy-ribbon:before {
    right: 0;
    border-width: 5px 10px 0 0;
    border-left-color: transparent !important;
    border-right-color: transparent !important;
    border-bottom-color: transparent !important;
    bottom: -5px;

    border-color: #9d4252;
    display: block;
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
}



.sy-ribbon-wrap .sy-ribbon-2 {
    background: #e23664;
    color: #fff;
    position: absolute;
    top: 50px;
    right: -10px;
    width: 184px;
    padding: 5px;
    text-transform: uppercase;
    line-height: 21px;

}

.sy-ribbon-wrap .sy-ribbon-2:before {
    right: 0;
    border-width: 5px 10px 0 0;
    border-left-color: transparent !important;
    border-right-color: transparent !important;
    border-bottom-color: transparent !important;
    bottom: -5px;

    border-color: #b42d55;
    display: block;
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
}



.sy-ribbon-wrap .sy-ribbon.winner {
    background: #9EC531;
    color: #fff;
    position: absolute;
    top: 10px;
    right: -10px;
    width: 70px;
    padding: 5px;
    text-transform: uppercase;
    line-height: 21px;

}

.sy-ribbon-wrap .sy-ribbon.winner:before {
    right: 0;
    border-width: 5px 10px 0 0;
    border-left-color: transparent !important;
    border-right-color: transparent !important;
    border-bottom-color: transparent !important;
    bottom: -5px;

    border-color: #739727;
    display: block;
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
}


/*************************

 */
.mb-20 {
    margin-bottom:20px !important;
}


.mb-10 {
    margin-bottom:10px !important;
}

.mb-5 {
    margin-bottom:5px !important;
}

.mb-0 {
    margin-bottom:0 !important;
}

.mt-10 {
    margin-top:10px !important;
}

.ml-10 {
    margin-left:10px !important;
}

.ml-15 {
    margin-left:15px !important;
}

/*****

 */
.row-narrow-margins > .vc_column_container{
    padding-right: 15px !important;
    padding-left: 15px !important;
}
.row-narrow-margins > .vc_column_container:first-child {
    padding-left: 24px !important;
}

.row-narrow-margins > .vc_column_container:last-child {
    padding-right: 24px !important;
}


.row-narrow2-margins > .vc_column_container{
    padding-right: 10px !important;
    padding-left: 10px !important;
}
.row-narrow2-margins > .vc_column_container:first-child {
    padding-left: 24px !important;
}

.row-narrow2-margins > .vc_column_container:last-child {
    padding-right: 24px !important;
}

