/*
Theme Name: 	Newspaper Child
Theme URI: 		http://themeforest.net/user/tagDiv/portfolio
Description: 	Newspaper Child Theme
Template:       Newspaper
Version: 		7.2
Author: 		tagDiv
Author URI: 	http://themeforest.net/user/tagDiv/portfolio
License:
License URI:
Tags:black, white, one-column, two-columns, fixed-layout
*/












.td-pb-span4 {
    width:33.333%;
}
.td-pb-span8 {
    width:66.666%;
}

/*** HOME ICON for logo ***/
@media (min-width: 768px) {
  .td-header-style-7 .td-header-sp-logo a.tooltips span img {
    top: -3px;
  }
}

a.tooltips {
  position: relative;
  display: inline;

}
a.tooltips span {
  position: absolute;
  width: 35px;
  color: #FFFFFF;
  background: #484848;
  height: 30px;
  line-height: 35px;
  text-align: center;
  visibility: hidden;
  border-radius: 6px;
}
a.tooltips span img {
  width: 16px;

}
a.tooltips span:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 100%;
  margin-top: -8px;
  width: 0; height: 0;
  border-left: 8px solid #484848;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}
a:hover.tooltips span {
  visibility: visible;
  opacity: 0.8;
  left: -43px;
  top: 50%;
  margin-top: -15px;
  margin-right: 15px;
  z-index: 999;
}



@media (min-width: 830px) and (max-width: 1018px) {

  a:hover.tooltips span {
    visibility: visible;
    opacity: 0.8;
    right: 100%;
    top: 50%;
    margin-top: -8px;
    margin-right: 13px;
    z-index: 999;
  }

  i.fa.fa-home {
    font-size: 0.8em;
  }

  a.tooltips span {
    position: absolute;
    width: 20px;
    color: #FFFFFF;
    background: #484848;
    height: 20px;
    line-height: 19px;
    text-align: center;
    visibility: hidden;
    border-radius: 6px;
  }

  a.tooltips span:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    margin-top: -4px;
    width: 0;
    height: 0;
    border-left: 4px solid #484848;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
  }
}

@media (min-width: 768px) and (max-width: 829px) {
  a:hover.tooltips span {
    display:none;
  }
}


/*** td-module-thumb is intended to shorten the height of mega-menu items***/
.td-module-thumb {
  height:152px;
}
/*******/


i.fa-heart{
  color: #cf0007;
}
.td-module-image .avatar-50 {
  position: relative;
  top: -36px;
  left: 17px;
  z-index: 4;
  border-radius: 25px;
  border: 2px solid white;
}



.td_block_big_grid_3 .td-big-thumb .td-module-thumb {
  width: 532px;
  height: 462px;
}


.td_block_wrap .td-big-grid-wrapper .td-big-grid-scroll .td-big-grid-post-2,
.td_block_wrap .td-big-grid-wrapper .td-big-grid-scroll .td-big-grid-post-3{
  width: 24.3%;
}


/*Element {width: 49%;}*/
.td_block_wrap .td-big-grid-wrapper .td-big-grid-scroll .td-big-grid-post-1 {
  width: 49%;
}



@media (max-width: 1140px) and (min-width: 552px){

  .td_block_big_grid_3 .td-big-grid-post-0 {
    width: 100%;
    margin-bottom: 2px;
  }

  .td_block_big_grid_3 .td-big-thumb .td-module-thumb {
    width: 100%;

  }
  .td_block_wrap .td-big-grid-wrapper .td-big-grid-scroll {
    width:100%;

  }
  .td_block_wrap .td-big-grid-wrapper .td-big-grid-scroll > div{
    padding:0;
    margin:0;
    margin-left: 0.4%;
    margin-right: 0.4%;

  }

  .td_block_wrap .td-big-grid-wrapper .td-big-grid-scroll .td-big-grid-post-2,
  .td_block_wrap .td-big-grid-wrapper .td-big-grid-scroll .td-big-grid-post-3{
    width: 24.3%;
    height: 136px;
  }



  .td_block_wrap .td-big-grid-wrapper .td-big-grid-scroll .td-big-grid-post-1 {
    width: 49%;
    height: 136px;
  }


}


/**##############################################
fixing js composer column bug
***/

.td-pb-span6 {
  width: 50%;
}

/**##############################################
END of fixing js composer column bug
***/

/* User registeration form*/

.clear {
  clear:both;
}

@media (min-width: 768px) {
  .ak_form-content-wrap .formCol {
    width:45%;
  }


  .ak_form-content-wrap .formCol1 {
    float:left;
  }

  .ak_form-content-wrap .formCol2 {
    float:right;
  }



}

.ak_formLineWrap{
  margin-bottom:25px;
}

.ak_formLineWrap input[type=password]{

  margin-bottom:0;
}

.ak_formLineWrap .errorLine{
  padding:0 5px;
  font-size: 0.8em;
  background: #f2dedf;
  color: #af4341;
}
.ak_formLineWrap .labelWrap{
  padding:5px;
}

.ak_form-content-wrap .actionBtnsWrap.right {
  margin-top:25px;
  text-align: right;
}

.actionBtnsWrap .block {
  display: inline-block;
  margin-left: 4px;
  margin-right: 4px;
  padding:3px 10px;
  font-size:15px;

}

.actionBtnsWrap .sy-btn {

  color: #4db2ec;
  border: 1px solid #4db2ec;
  background:white;
}
.actionBtnsWrap .sy-btn:hover {
  color: white;
  background: #4db2ec;

}

.ak_form-content-wrap select{
  height:34px;
}

.ak_form-content-wrap textarea{
  height:140px;
  min-height:140px;
}

.ak_form-content-wrap select#lang {
  width:100%;
}


.ak_form-content-wrap .fl-cols .fl-col1,
.ak_form-content-wrap .fl-cols .fl-col2 {
  width:47%;
  display: block;

}

.ak_form-content-wrap .fl-cols .fl-col1 {
  float:left;
}
.ak_form-content-wrap .fl-cols .fl-col2 {
  float:right;
}

.ak_form-content-wrap .ak_formLineWrap .inline {
  display:inline-block;
}

.full-row-btn {
  width:100%;
  padding: 4px;
}

/***** for ak multi col row ****/

.ak-multi-col-wrap .ak-multi-col-left-wrap,
.ak-multi-col-wrap .ak-multi-col-right-wrap {
  display: inline-block;
  padding:5px;

}
.ak-multi-col-wrap .ak-multi-col-left-wrap {
  float:left;
}
.ak-multi-col-wrap .ak-multi-col-right-wrap {
  float:right;
}

.ak-multi-col-wrap .thirty{
  width:30%;
}
.ak-multi-col-wrap .seventy{
  width:70%;
}
.ak-multi-col-wrap .fifty{
  width:50%;
}

.ak-multi-col-wrap .fourty{
  width:40%;
}
.ak-multi-col-wrap .sixty{
  width:60%;
}

.ak-multi-col-wrap .twenty {
  width:20%;
}

.ak-multi-col-wrap .eighty{
  width:80%;
}

.ak-3-col-wrap .ak-3-col {
  display: block;
  width:33%;
  float:left;
}

/***/
.sci-form-cols .sci-form-col-right{
  border-left: 1px solid slategray;/*TODO: TEMP*/
}

.sci-form-cols .sci-form-col-left {
  padding-top:40px;
}




/***/

.prof-notes-title {
  margin-bottom: 5px;
  color: #444444;
  font-size: 17px;
  line-height: 1.4;
  text-align: left;
  text-transform: uppercase;
  font-weight: bold;
  font-family: "raleway" !important;
}
.reg-note-title {
  font-weight:bold;
  margin-bottom:15px;
  text-align: center;
}
.reg-notes-wrap {
  min-height:10em !important;
  position: relative !important;
}
.reg-notes-wrap > .wpb_wrapper{
  position: absolute;
  top:50%;
}

.reg-page-title {
  font-weight:bold;

}
.reg-page-title .wpb_wrapper p,
.sci-texttitle-1 .wpb_wrapper p{
  font-size: 1.6em;
  font-weight:bold;
}


.pb-banner-wrap .pb-inside-wrap{
  margin-top:10px;
  padding-bottom:10px;
  height:154px;
  margin-bottom:25px;
}
.pb-banner-wrap .pb-inside-wrap > div {
  display: table-cell;
}
.pb-banner-wrap .pb-inside-wrap .pb-caption-wrap {
  width:50%;
  vertical-align: middle;
  text-align: right;
  padding-right:10px;

}
.pb-banner-wrap .pb-inside-wrap .pb-icons-wrap {
  width:58%;
  padding-left:40px;
}

.pb-banner-wrap .pb-inside-wrap > div .pb-icon-wrap {
  display: inline-block;
  width:40%;
  padding:0 10px;
  vertical-align: top;
  
}

.pb-banner-wrap .pb-inside-wrap > div .pb-icon-wrap.opacity04 {
  opacity: 0.4;

}
.pb-banner-wrap .pb-inside-wrap > div .pb-icon-wrap .pb-icon-cap-bottom, 
.pb-banner-wrap .pb-inside-wrap > div .pb-icon-wrap .pb-icon-cap-top {
  text-align: center;
  padding:5px;
}

.profile .pb-banner-wrap .pb-inside-wrap > div .pb-icon-wrap .pb-icon-img {
  cursor: pointer;
}
/** TODO TEMP for placeholders**/
.sci-no-bottom-margin {
  margin-bottom:0;
}
.sci-margin-10 {
  margin-bottom:10px;
}
.prof-banner {
  height:155px;

}
.pb-inside-wrap {
  background:#f7f7f7;
}

.prof-banner .wpb_wrapper p,
.prof-nav .wpb_wrapper p{
  text-align: center;
  padding-top:20px;
}
/** TODO: END OF TEMP **/
/***/

.wp-social-login-widget{

}
.wp-social-login-provider .ak_wsl_text{
  display: inline-block;
}
.wpb_text_column .wp-social-login-widget .wp-social-login-provider-list  a:hover {
  text-decoration: none;
}
.wpb_text_column .wp-social-login-widget .wp-social-login-provider-list {
  padding-left:0px;
}
.wp-social-login-provider {
  display: inline-block;

  color: white;
  padding: 4px 10px;
  font-size: 0.8em;
  margin-right:5px;
}


.wp-social-login-provider-facebook {
  background: #516eab;
}
.wp-social-login-provider-google{
  background: rgb(215, 61, 50);
}

/*********************** Profile/contribution navigation */

.prof-nav {
  margin-top:5px;
  margin-bottom:5px;


}
.prof-nav {
  margin-bottom:0;
}
.prof-nav ul.pn-item-wrap{
  list-style: none;
  border-bottom:2px solid #4db2ec;

}

.prof-nav .pn-item-wrap > li {
  display: inline-block;
  margin-left:0;
  margin-right:0;
  float: left;
}

.prof-nav .pn-item-wrap > li.first {

}

.prof-nav .pn-item-wrap > li.active2 > a:after {
  content: '';
  width: 0;
  height: 0;
  text-align: center;;
  border-style: solid;
  border-width: 7px 7px 0 7px;
  border-color: #4db2ec transparent transparent transparent;
  position: absolute;
  bottom:-11px;
  left: 50%;
  margin-left: -10px;

}


.prof-nav .pn-item-wrap > li.active > a {
  background: #4db2ec;
  border-bottom:1px solid #4db2ec;
  color: white;
}
.prof-nav .pn-item-wrap > li > a {
  display: inline-block;
  text-decoration: none;
  position: relative;
  padding:3px 10px;
  border-bottom:1px solid white;



}
.prof-nav .pn-item-wrap > li > a:hover {
  color: white;
  background: #4db2ec;
  border-bottom:1px solid #4db2ec;
}


.prof-nav .pn-inside-wrap {
  position: relative;
}

.prof-nav .pn-inside-wrap .prof-extra-settings-grand-wrap {
  position: absolute;
  right: 21px;
  top: 5px;

}

.prof-extra-settings-grand-wrap .prof-extra-settings-wrap {
  position: relative;
}

.prof-extra-settings-grand-wrap .profnav-settings-icon-wrap {
  position: absolute;
  cursor: pointer;
}

.prof-extra-settings-grand-wrap .pn-settings-menu-items-wrap ul {
  margin-bottom:0;
}
.prof-extra-settings-grand-wrap .pn-settings-menu-items-wrap {

  background: white;
  position: absolute;
  top: 30px;
  right: -30px;
  min-width: 160px;
  text-align: center;
  min-height: 50px;
  box-shadow: 1px 1px 3px gray;
  border-top: 2px solid #4db2ec;
  color: #000;
  font-weight: bold;
  z-index: 10;
}

.prof-extra-settings-grand-wrap .pn-settings-menu-items-wrap:before {
  content: '';
  width: 0;
  height: 0;
  text-align: center;
  border-style: solid;
  border-width: 0 7px 7px 7px;
  border-color: transparent transparent #4db2ec transparent;
  position: absolute;
  top: -8px;
  right: 13px;
  margin-left: -10px;

}

.prof-extra-settings-grand-wrap ul li {
  list-style: none;
  margin: 0;
  padding:10px;
}
.prof-extra-settings-grand-wrap .prof-nav-more-settings.only-desktop {
  font-size: 13px;
  color: #444;
  margin-right: 5px;
}

.prof-extra-settings-grand-wrap ul li a {
  font-size:14px;
}


/********** hiding specific elements for the sake of responsiveness ********/
@media (max-width: 768px) {/* those that are not meant for ipad and narrower devices*/
  .desktop-only {
    display: none !important;
  }
}

@media (max-width: 380px) {/* those that are not meant for smartphones and narrower devices*/
  .ipad-desktop-only {
    display: none !important;
  }
}

/********************** Topic Slider Style**********************/


.topics-grand-wrap .ts-slider-wrap {
  height:135px;
  width:100%;
  min-width:100%;
  background: #f7f7f7;
  overflow-x: auto;
  overflow-y: hidden;
  position: relative;
  white-space: nowrap;
  padding-top:5px;
}

.topics-grand-wrap .ts-slider-wrap > .tss-insider {
  display: inline-block;
  position: relative;
}
.topics-grand-wrap .ts-slider-wrap  .tss-caption {
  display: inline-block;
  position: absolute;
  max-width:100%;
  min-width:100%;
  max-height:100%;
  height: 110px;
  min-height:110px;
  overflow: hidden;
  z-index: 2;
  top: 0;
  left: 0;
  padding: 5px;
  background: rgba(10, 10, 10, 0.32);

  white-space: normal;
  color: white;
}
.topics-grand-wrap .ts-slider-wrap  .tss-insider:hover {
  cursor: pointer;
}
.topics-grand-wrap .ts-slider-wrap  .tss-insider:hover .tss-caption{
  min-height:0 !important;
  height:inherit !important;
  background: rgba(10, 10, 10, 0.8) !important;
  transition: min-height 1s, background 1s !important;
}

.topics-grand-wrap .ts-slider-wrap > .tss-insider > img {
  height:110px;
}


.topics-grand-wrap .ak_formLineWrap {
  margin-bottom:0;
}

.target-topic-js-selected .tss-caption{
  min-height:0 !important;
  height:inherit !important;
  background: rgba(10, 10, 10, 0.8) !important;
  transition: min-height 1s, background 1s !important;
}
/********************** END Topic Slider Style**********************/

.ts-preview-wrap .tsp-title {
  font-weight:bold;
  text-align: center;
}

.ts-preview-wrap .tsp-desc {
  max-height:200px;
  overflow-y: scroll;
}









/*****/
.ak-form-wrap img{
  margin-bottom:0 !important;
}
.fl-cols {
  margin-bottom:10px;
}
.gender-cols .gc-col.gc-checkbox {
  height:60px;
  line-height:60px;
  text-align: right;
}

.gender-cols .gender-cols-inside {
  text-align: center;
}
.gender-cols .gc-col {
  width:50%;
  float:left;
}
.gender-cols .gc-icons {
  text-align: center;;
}
.gender-cols .gc-col .gci-icon img {
  height:35px;
}
.group-mem-gender .gender-cols .gc-col {
  width:100%;
}
.group-mem-gender .gender-cols .gc-col.gc-checkbox {
  height:inherit;
  line-height:inherit;
  text-align: center;
}

.login-forget-pw-wrap {
  text-align: right;
}

.login-cta-wrap {
  margin-top: 35px;
  text-align: center;
  margin-bottom: 10px;
}
a.sci-cta-btn {
  display: inline-block;
  padding: 10px;
  background: #e23764;
  color: white;
}
a.sci-cta-btn:hover {
  text-decoration: none;
}




/** styling for topics page

**/

.sci-topics-wrap .ts-blocks-wrap {

}

.sci-topics-wrap .ts-block-wrap{
  width: 340px;
  height: 240px;
  position: relative;
  float:left;
  margin-left: 5px;
  margin-right: 5px;
}


.ts-block-wrap .tsb-img-veil{
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  max-height: 100%;
  max-width:100%;
  overflow: hidden;


}
.ts-block-anchor{
  color:  initial !important;
  max-height: 190px;
  height: 0;
  overflow: hidden;
  padding: 0;
}
.ts-block-wrap .tsb-img-veil .tsbv-desc {
  max-height: 190px;
  height: 0;
  overflow: hidden;
  padding: 0;
}

.ts-block-wrap:hover .tsb-img-veil .tsbv-desc {
  height: 190px;
  transition: height 0.25s;
  padding: 30px 20px;
  background: rgba(255,255,255,.9);
}
.ts-block-wrap .tsbvd-fake-btn {
  margin-top:10px;
  color: #4db2ec;
  text-align: center;
}


.ts-block-wrap .tsb-img-veil .tsbv-title {
  font-size: 1.2em;
  line-height: 1.2em;
  font-weight: bold;
  text-align: center;
  max-height:40px;
  overflow: hidden;
  color: white;
  background: rgba(10, 10, 10, 0.5);
  padding: 10px 10px 10px 10px;
}
.ts-block-wrap:hover .tsb-img-veil .tsbv-title {
  background: rgba(10, 10, 10, 0.8);
}


.topics-filter-wrap .tf-element {
  display:inline-block;
}

.topics-filter-wrap .tf-search {
  width: 40%;
}

.tp-loadmore-row .tpml-inside {
  text-align: center;
}

.tsb-img-wrap{
  height:230px;
  overflow: hidden;
  position: relative;
}

.tsb-img-wrap .tsb-img{
  height:230px;
  width:340px;
  object-fit: cover;
}
.ts-block-wrap .tsb-lang {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 0 4px;
  background: rgba(10, 10, 10, 0.5);
  color: white;
}


/**     Single Topic Pages **/


.st-challenge-row {
  margin-bottom:10px;
  line-height:22px;
}
#stdt-readmore-btn,
#stdt-less{
  position:absolute;
  bottom:0;
  right:0;
  z-index: 2;
  margin-bottom: 8px;
  margin-right: 25px;
  padding: 4px 8px;
  color: #4db2ec;
  border: 1px solid #4db2ec;
  background: white;
  cursor: pointer;
}


#stdt-readmore-btn:hover,
#stdt-less:hover {
  color: white;
  background: #4db2ec;
}

.sci-single-topic-desc {
  position: relative;
  overflow: hidden;
  transition: height .33s;
}
.stdt-original {
  height:initial;
}

.stdt-less {
  height:410px;
}

.sts-btns-wrap .sci-cta-btn {
  margin-right:10px;
  margin-bottom: 5px;
}

.topics-short-info {


  padding: 10px 0;
}

.tstd-rm-shadow{
  height: 20px;
  position: absolute;
  z-index: 1;

  left: 0;
  width: 100%;
  bottom: 0;
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#f9f9f9+0,ffffff+100&0.5+0,1+45 */
  background: -moz-linear-gradient(top,  rgba(249,249,249,0.5) 0%, rgba(252,252,252,1) 45%, rgba(255,255,255,1) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top,  rgba(249,249,249,0.5) 0%,rgba(252,252,252,1) 45%,rgba(255,255,255,1) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom,  rgba(249,249,249,0.5) 0%,rgba(252,252,252,1) 45%,rgba(255,255,255,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#80f9f9f9', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */

}



/** CUSTOM RADIO BUTTON STYLE
<div class="radio-group">
<input type="radio" id="myid" name="poll_1" value="7">
<label for="myid">Economic Factors</label>
<div class="check"></div>
</div>
**/
.radio-group input[type="radio"] {
  position: absolute;
  visibility: hidden;

}


.radio-group {
  position: relative;
  padding-left:15px;
  margin-left:-13px;
}
.radio-group label {
  display: block;
  position: relative;
  padding-left:15px;

  height: 20px;
  z-index: 9;
  cursor: pointer;
  -webkit-transition: all 0.25s linear;
}

.radio-group .check {
  display: block;
  position: absolute;
  border: 1px solid #4d4d4d;
  border-radius: 100%;
  height: 16px;
  width: 16px;
  top: 3px;
  left: 10px;
  z-index: 5;
  transition: border .25s linear;
}
.radio-group input[type="radio"]:checked ~ .check:before {
  border: 6px solid #4d4d4d;
  background: #4d4d4d;
  display: block;
  position: absolute;
  content: '';
  border-radius: 100%;
  height: 10px;
  width: 10px;
  top: 1px;
  left: 1px;
  margin: auto;
  transition: background 0.25s linear;
}


/************* CUSTOM CHECKBOX STYLING ****************/
div.sychb-wrap {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 22px;
}
div.sychb-wrap > input[type=checkbox] {
  opacity:0;
}

div.sychb-wrap > input[type=checkbox]:checked + label.sychb-label-1:before,
div.sychb-wrap > input[type=checkbox]:not(:checked) + label.sychb-label-1:before {
  content: '';
  position: absolute;
  left:0; top: 2px;
  width: 17px; height: 17px;
  border: 1px solid #aaa;
  /*border-radius: 3px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,.3)*/
}

div.sychb-wrap > input[type=checkbox]:checked + label.sychb-label-1:after,
div.sychb-wrap > input[type=checkbox]:not(:checked) + label.sychb-label-1:after {
  content: '✔';
  position: absolute;
  top: 3px; left: 2px;
  font-size: 18px;
  line-height: 0.8;
  color: black;
  transition: all .2s;
}
div.sychb-wrap > input[type=checkbox]:not(:checked) + label.sychb-label-1:after {
  opacity: 0;
  transform: scale(0);
}
div.sychb-wrap > input[type=checkbox]:checked + label.sychb-label-1:after {
  opacity: 1;
  transform: scale(1);
}


/****** CUSTOM RADIO BUTTON   **/

div.sychb-wrap > input[type=radio] {
  opacity:0;
}

div.sychb-wrap > input[type=radio]:checked + label.sychb-label-1:before,
div.sychb-wrap > input[type=radio]:not(:checked) + label.sychb-label-1:before {
  content: '';
  position: absolute;
  left:0; top: 2px;
  width: 17px; height: 17px;
  border: 1px solid #aaa;
  border-radius: 50%;
  /*box-shadow: inset 0 1px 3px rgba(0,0,0,.3)*/
}

div.sychb-wrap > input[type=radio]:checked + label.sychb-label-1:after,
div.sychb-wrap > input[type=radio]:not(:checked) + label.sychb-label-1:after {
  content: '✔';
  position: absolute;
  top: -1px;
  left: 3px;
  font-size: 18px;
  line-height: 0.8;
  color: black;
  transition: all .2s;
}
div.sychb-wrap > input[type=radio]:not(:checked) + label.sychb-label-1:after {
  opacity: 0;
  transform: scale(0);
}
div.sychb-wrap > input[type=radio]:checked + label.sychb-label-1:after {
  opacity: 1;
  transform: scale(1);
}


/**    styling the flash messages ***/

.sci-flash-display-wrap {
  margin-bottom:0;
}
.sci-flash-display-wrap .flash-wrap {
  margin-bottom:10px;
}
.flash-wrap .flash-msg {

  font-size: 15px;
  padding: 10px 15px 15px 15px;
  margin-top: 5px;
  margin-bottom: 5px;
  border-radius:4px;
}

.flash-wrap .flash-msg.success {
  background: #e0efd8;
  color: #3b763e;
}

.flash-wrap .flash-msg.error {
  background: #f2dedf;
  color: #af4341;
}

.flash-wrap .flash-msg.message {
  background: #cce8f4;
  color: #477ba0;
}


.flash-wrap .flash-msg.warning {
  background: #fdf8e4;
  color: #8a6b3c;
}
.flash-wrap i.fa {
  font-size:20px;
}


/** styling sci top bar (topbar)**/

.sci-top-bar {
  background: #9fc632;
}
.sci-top-bar a {
  color: white;
}
.sci-top-bar a:hover {
  color: #000 !important;
}

.sci-topbar-left {
  width:50%;
  float:left;
}

.user-menu-grand-wrap {
  display: inline-block;
  position: relative;

  z-index: 99999;
}

.user-menu-grand-wrap .um-icon-wrap {
  position: absolute;

  width: 50px;
  height: 50px;
  border-radius: 100%;
  overflow: hidden;
  border:2px solid white;
  top: -14px;
  right: 10px;
}


.user-menu-grand-wrap .um-menu-wrap {
  display: none;
  background: white;
  position: absolute;
  top: 45px;
  right: 7px;
  width: 200px;
  box-shadow: 1px 1px 3px gray;
  border-top: 2px solid #9fc632;
  color: #000;
  font-weight:bold;
}

.user-menu-grand-wrap .um-menu-wrap:before {
  content: '';
  width: 0;
  height: 0;
  text-align: center;
  border-style: solid;
  border-width: 0 7px 7px 7px;
  border-color: transparent transparent #9fc632 transparent;
  position: absolute;
  top: -8px;
  right: 20px;
  margin-left: -10px;
}

.user-menu-grand-wrap ul {
  margin:0;
}
.user-menu-grand-wrap li {
  list-style: none;
  margin: 0;
  padding: 0 10px;
  display: block;
  width: 100px;
  float: left;

}
.user-menu-grand-wrap li:nth-child(-n+2) {
  margin-top:10px;
}
.user-menu-grand-wrap li i.fa {
  font-size:38px;
  display: block;

}
.user-menu-grand-wrap .um-caption {
  display: block;
  text-overflow: ellipsis;
  width: 80px;
  white-space: nowrap;
  overflow: hidden;
  text-align: center;
  line-height:18px;
  font-size:11px;
}
.user-menu-grand-wrap ul .um-anchor {
  color: #9fc632;
  width:100%;
  display: inline-block;
  /*border:1px solid #4db2ec;;*/


}
.user-menu-grand-wrap .um-anchor.sci-logout:hover {
  color: #444 !important;
}

.user-menu-grand-wrap .um-anchor:hover {
  text-decoration: none;
  color: #9fc632 !important;
}

.user-menu-grand-wrap .um-anchor:hover i.fa {
  color: #444;
}
.user-menu-grand-wrap .um-day-counter {
  text-align: center;
  border-bottom:1px solid #9fc632;
}

.user-menu-grand-wrap .um-extra-links {
  background: #e0e0e0;
  padding: 5px;
  text-align: right;
}

.user-menu-grand-wrap .um-extra-links .um-anchor {
  color: #444;
}

.user-menu-grand-wrap .um-extra-links .um-anchor:hover {
  text-decoration: none;
  background: inherit;
  color: #444;
}

/** styling sci mobile top bar (mobiletopbar)**/
.td-mobile-content .sci-mobile-menu-wrap {
  padding-left:12px;
}
.td-mobile-content .sci-mobile-menu-wrap li a {
  font-size: 15px;
  line-height: 8px;
}

.td-mobile-content .sci-mobile-menu-wrap li a.um-anchor {
  padding:0;
}

.td-mobile-content .sci-mobile-menu-wrap .td-container {
  width:100%;
}
.td-mobile-content .sci-mobile-menu-wrap .td-header-sp-top-menu-mobile {
  float: right;
}


/**styling overlay (login)*/

.sy-overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 99999;
}
.sy-overlay .sy-overlay-box {
  width: 400px;
  padding: 10px;
  z-index: 9999;
  position: relative;
  left: 50%;
  top: 50%;
  margin-left: -200px;
  margin-top: -250px;
  background: white;
}

@media (max-height: 400px) {
  .sy-overlay .sy-overlay-box {
    margin-top: 0;
    top:0;
  }

}
.sy-overlay .sy-overlay-curtain {

  height: 100%;
  width: 100%;
  opacity: .8;
  z-index: 9999;
  position: fixed;
  top: 0;
  left: 0;
  background: black;


}

.sy-overlay .sy-overlay-box .sy-overlay-close {
  width: 28px;
  border-radius: 100%;
  background: white;
  text-align: center;
  line-height: 25px;
  border: 1px solid white;
  position: absolute;
  top: -15px;
  box-shadow: 1px 1px 4px black;
  right: -15px;
  cursor: pointer;
  height: 28px;
}

.sy-overlay .sy-overlay-box h4.block-title {
  margin-top: -10px;
  margin-left: -10px;
  border-color: #e23764;
  margin-right: -10px;
  margin-bottom:18px;
}
.sy-overlay .sy-overlay-box h4.block-title > span {
  Display: inline-block;
  padding: 10px 20px;
  background: #e23764;
}

.sy-overlay .sy-overlay-box .wp-social-login-provider-list{
  text-align: center;
}

.sy-overlay .sy-overlay-box .ak_formLineWrap {
  margin-top: 0;
  margin-bottom: 10px;
}
.sy-overlay .sy-overlay-box .actionBtnsWrap {
  margin-top:0;
}



/** CUSTOM FOOTER CSS**/


.td-footer-wrapper {
  padding-bottom:4px;
  padding-top: 18px;
}
.td-footer-bottom-full {
  margin-top: 12px;
  padding-top: 50px;
  padding-bottom: 8px;
}
.td-footer-bottom-full .footer-logo-wrap {
  margin-top:0;
}

aside.footer-text-wrap a img.logo-ec.eu,
aside.footer-social-wrap a img.sy-footer-img {
  height: 45px;
  margin-top: 3px;
  margin-right: 14px;
}

aside.footer-logo-wrap p,
aside.footer-text-wrap p,
aside.footer-text-wrap .footer-email-wrap,
aside.footer-social-wrap p{
  font-size:12px;
  margin-top:10px;
  margin-bottom:5px;
}

.footer-text-wrap .footer-email-wrap {
  padding:0;
}

.td-footer-bottom-full .block-title {
  margin-bottom: -19px;
  margin-top: 32px;
}

aside .sy-footer-img {
  filter:grayscale(100%);
  transition: filter .33s;
}

aside .sy-footer-img:hover {
  filter:grayscale(0);

}

aside.footer-logo-wrap p a,
aside.footer-text-wrap p a,
aside.footer-social-wrap p a{
  color: #4db2ec;
}

/******* Custom header styling **************/
div.td-header-row div.td-header-sp-logo a.tooltips img {
  /*filter:grayscale(100%);
  transition: filter .33s;*/
}

div.td-header-row div.td-header-sp-logo a.tooltips img:hover {
  /*filter:grayscale(0);*/
}

/*** ***/

h4.sci-block-title {
  border-color: #4db2ec;
}




h4.sci-block-title span {
  background:#4db2ec ;
}




/**** QUICK AND DIRTY FOR RESOURCES TABLE --- FIX THIS***/
table#temp-for-resources tr:nth-child(odd) {
  background: #f9f9f9;
}
table#temp-for-resources tr:nth-child(even) {
  background: initial;
}

table#temp-for-resources td {
  padding:5px 10px;
}

/**** Category Blogs Styling.... CAUTION: dirty solution! ***/
.td_category_template_4 .td-category-pulldown-filter {
  display:none;
}


/****/

.td-social-sharing-buttons {
  -webkit-border-radius:0;
  -moz-border-radius:0;
  border-radius:0;
}


/******/
@media (max-width: 768px) {
  .vc_row {
    margin-left:0;
  }
}




/******** overwriting some bootstrap css *********/

label {
  font-weight:initial;
}

.menu-td-demo-header-menu-container a:hover {
  text-decoration: none;
}

body {
  font-family:Verdana, Geneva, sans-serif;
}


/******** END overwriting some bootstrap css *********/


/** HRs for throughout the project**/
hr.green {
  background: #9fc632;
  height: 2px;
}
hr.lightblue {
  background: #4db2ec;
  height: 2px;
}

hr.redish {
  background: #e23764;
  height:2px;
}


/********** styling anchor elements that look like button *************/

a.anchor-button {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid;
  font-size:15px;
}

a.anchor-button:hover,
a.anchor-button:active{
  background: #4db2ec;
  color: #fff;
  text-decoration: none;
}