/* compass utils */
/* base framework */
/***********************************************/
/**********		Colors				  **********/
/***********************************************/
/* Base */
/* NIN */
/* My Feed */
/* Backgrounds */
/* Texts */
/* Borders */
/* footer  */
/* Slider  */
/* Forms */
/* Table  */
/***********************************************/
/**********		Widths				  **********/
/***********************************************/
/***********************************************/
/**********		Breakpoints			  **********/
/***********************************************/
/* site utils */
/* Not needed with compass */
/*
@mixin radius($radius){
    -ms-border-radius: $radius;
    -moz-border-radius: $radius;
    -webkit-border-radius: $radius;
    border-radius: $radius;
}
@mixin box-sizing($type: border-box) {
    box-sizing: $type;
    -o-box-sizing: $type;
    -ms-box-sizing: $type;
    -moz-box-sizing: $type;
    -webkit-box-sizing: $type;
}
@mixin box-shadow($x: 0, $y: 0, $radius: 4px, $spread: 0, $color: rgba(0,0,0,0.5)) {
    -o-box-shadow: $x $y $radius $spread $color;
    -ms-box-shadow: $x $y $radius $spread $color;
    -moz-box-shadow: $x $y $radius $spread $color;
    -webkit-box-shadow: $x $y $radius $spread $color;
    box-shadow: $x $y $radius $spread $color;
}
@mixin opacity($opac) {
    filter: alpha(opacity=$opac * 100);
    -ms-filter: alpha(opacity=$opac * 100);
    -moz-opacity: $opac;
    -webkit-opacity: $opac;
    opacity: $opac;
}
*/
/* vendors overrides */
/*******************************************************/
/**** Overrides flexslider plugin					****/
/*******************************************************/
.flexslider {
  background: none;
  border: none;
}

.view-branded-content .flexslider article {
  width: auto;
  margin-right: 20px;
}

.flex-control-paging li a {
  background: rgba(255, 255, 255, 0.5);
}

.flex-control-paging li a:hover {
  background: rgba(255, 255, 255, 0.7);
}

.flex-control-paging li a.flex-active {
  background: rgba(255, 255, 255, 0.9);
}

.flex-control-nav {
  z-index: 2;
  position: static;
  margin-top: 10px;
}

.flex-control-paging li a {
  height: 9px;
  width: 9px;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

.flex-direction-nav a {
  height: 25px;
  width: 25px;
  transform: translateY(-80%);
}

.flex-direction-nav a:after, .flex-direction-nav a:before {
  color: rgba(49, 168, 219, 0.8);
  font-size: 25px;
}

.article-list-default .slides {
  width: 100%;
}

.article-list-default .flexslider {
  margin-bottom: 0;
}

.article-list-default .flex-control-paging li {
  margin: 0 6px;
  padding: 0;
  width: auto;
}

.article-list-default .flex-control-paging li a {
  background: rgba(49, 168, 219, 0.5);
}

.article-list-default .flex-control-paging li a:hover {
  background: rgba(49, 168, 219, 0.7);
}

@media all and (max-width: 500px) {
  .flex-control-nav {
    bottom: 20px;
     /*position: static;*/
     /*padding: 5px 0;*/
  }
  .flex-control-paging li a {
    background: rgba(49, 168, 219, 0.5);
  }
  .flex-control-paging li a:hover {
    background: rgba(49, 168, 219, 0.7);
  }
  .flex-control-paging li a.flex-active {
    background: rgba(49, 168, 219, 0.9);
  }
  .row .flex-control-nav {
    bottom: 20px;
  }
}

/**********************************/
/* Foundation Dropdowns           */
/**********************************/
.f-dropdown {
  position: absolute;
  left: -9999px;
  list-style: none;
  margin-left: 0;
  width: 100%;
  max-height: none;
  height: auto;
  background: white;
  border: solid 1px #cccccc;
  font-size: 0.875rem;
  z-index: 99;
  margin-top: 2px;
  max-width: 200px;
}

.f-dropdown > *:first-child {
  margin-top: 0;
}

.f-dropdown > *:last-child {
  margin-bottom: 0;
}

.f-dropdown:before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border: inset 6px;
  border-color: transparent transparent white transparent;
  border-bottom-style: solid;
  position: absolute;
  top: -12px;
  left: 10px;
  z-index: 99;
}

.f-dropdown:after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border: inset 7px;
  border-color: transparent transparent #cccccc transparent;
  border-bottom-style: solid;
  position: absolute;
  top: -14px;
  left: 9px;
  z-index: 98;
}

.f-dropdown.right:before {
  left: auto;
  right: 10px;
}

.f-dropdown.right:after {
  left: auto;
  right: 9px;
}

.f-dropdown.drop-right {
  position: absolute;
  left: -9999px;
  list-style: none;
  margin-left: 0;
  width: 100%;
  max-height: none;
  height: auto;
  background: white;
  border: solid 1px #cccccc;
  font-size: 0.875rem;
  z-index: 99;
  margin-top: 0;
  margin-left: 2px;
  max-width: 200px;
}

.f-dropdown.drop-right > *:first-child {
  margin-top: 0;
}

.f-dropdown.drop-right > *:last-child {
  margin-bottom: 0;
}

.f-dropdown.drop-right:before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border: inset 6px;
  border-color: transparent white transparent transparent;
  border-right-style: solid;
  position: absolute;
  top: 10px;
  left: -12px;
  z-index: 99;
}

.f-dropdown.drop-right:after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border: inset 7px;
  border-color: transparent #cccccc transparent transparent;
  border-right-style: solid;
  position: absolute;
  top: 9px;
  left: -14px;
  z-index: 98;
}

.f-dropdown.drop-left {
  position: absolute;
  left: -9999px;
  list-style: none;
  margin-left: 0;
  width: 100%;
  max-height: none;
  height: auto;
  background: white;
  border: solid 1px #cccccc;
  font-size: 0.875rem;
  z-index: 99;
  margin-top: 0;
  margin-left: -2px;
  max-width: 200px;
}

.f-dropdown.drop-left > *:first-child {
  margin-top: 0;
}

.f-dropdown.drop-left > *:last-child {
  margin-bottom: 0;
}

.f-dropdown.drop-left:before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border: inset 6px;
  border-color: transparent transparent transparent white;
  border-left-style: solid;
  position: absolute;
  top: 10px;
  right: -12px;
  left: auto;
  z-index: 99;
}

.f-dropdown.drop-left:after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border: inset 7px;
  border-color: transparent transparent transparent #cccccc;
  border-left-style: solid;
  position: absolute;
  top: 9px;
  right: -14px;
  left: auto;
  z-index: 98;
}

.f-dropdown.drop-top {
  position: absolute;
  left: -9999px;
  list-style: none;
  margin-left: 0;
  width: 100%;
  max-height: none;
  height: auto;
  background: white;
  border: solid 1px #cccccc;
  font-size: 0.875rem;
  z-index: 99;
  margin-top: -2px;
  margin-left: 0;
  max-width: 200px;
}

.f-dropdown.drop-top > *:first-child {
  margin-top: 0;
}

.f-dropdown.drop-top > *:last-child {
  margin-bottom: 0;
}

.f-dropdown.drop-top:before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border: inset 6px;
  border-color: white transparent transparent transparent;
  border-top-style: solid;
  position: absolute;
  top: auto;
  bottom: -12px;
  left: 10px;
  right: auto;
  z-index: 99;
}

.f-dropdown.drop-top:after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border: inset 7px;
  border-color: #cccccc transparent transparent transparent;
  border-top-style: solid;
  position: absolute;
  top: auto;
  bottom: -14px;
  left: 9px;
  right: auto;
  z-index: 98;
}

.f-dropdown li {
  font-size: 0.875rem;
  cursor: pointer;
  line-height: 1.125rem;
  margin: 0;
}

.f-dropdown li:hover, .f-dropdown li:focus {
  background: #eeeeee;
}

.f-dropdown li a {
  display: block;
  padding: 0.5rem;
  color: #555555;
}

.f-dropdown.content {
  position: absolute;
  left: -9999px;
  list-style: none;
  margin-left: 0;
  padding: 1.25rem;
  width: 100%;
  height: auto;
  max-height: none;
  background: white;
  border: solid 1px #cccccc;
  font-size: 0.875rem;
  z-index: 99;
  max-width: 200px;
}

.f-dropdown.content > *:first-child {
  margin-top: 0;
}

.f-dropdown.content > *:last-child {
  margin-bottom: 0;
}

.f-dropdown.tiny {
  max-width: 200px;
}

.f-dropdown.small {
  max-width: 300px;
}

.f-dropdown.medium {
  max-width: 500px;
}

.f-dropdown.large {
  max-width: 800px;
}

/**********************************/
/* Foundation Custom select */
.custom-dropdown-area {
  display: inline-block;
  margin: 0;
  position: relative;
  width: 100%;
}

.custom-dropdown-button {
  background-color: #fff;
  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeD0iMTJweCIgeT0iMHB4IiB3aWR0aD0iMjRweCIgaGVpZ2h0PSI1cHgiIHZpZXdCb3g9IjAgMCAxMCA1IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxMCA1IiB4bWw6c3BhY2U9InByZXNlcnZlIj48cG9seWdvbiBmaWxsPSIjMzFhOGRiIiBwb2ludHM9IjEwLDAgNSw1IDAsMCAiLz48L3N2Zz4=);
  background-position: 100% center;
  background-repeat: no-repeat;
  border: 1px solid #b2b2b2;
  color: #666;
  padding: 0.5rem;
  padding-right: 2rem;
  line-height: 28px;
  height: 28px;
  display: block;
  overflow: hidden;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
  font-size: 16px;
  font-size: 1.6rem;
}

.nin_tools_breastfeeding_tracker .custom-dropdown-button, .breastfeeding-item-node-form .custom-dropdown-button {
  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeD0iMTJweCIgeT0iMHB4IiB3aWR0aD0iMjRweCIgaGVpZ2h0PSI1cHgiIHZpZXdCb3g9IjAgMCAxMCA1IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxMCA1IiB4bWw6c3BhY2U9InByZXNlcnZlIj48cG9seWdvbiBmaWxsPSIjZjU5NTNmIiBwb2ludHM9IjEwLDAgNSw1IDAsMCAiLz48L3N2Zz4=);
}

.custom-dropdown-button.radius {
  border-radius: 3px;
}

.custom-dropdown-area:hover .custom-dropdown-button {
  border-color: #999999;
  color: rgba(0, 0, 0, 0.75);
}

.custom-dropdown-area:hover .custom-dropdown-options {
  background-color: #f3f3f3;
  border-color: #999999;
}

.custom-dropdown-button:disabled {
  background-color: #dddddd;
  cursor: default;
}

.custom-dropdown-options {
  background-color: #fff;
  border-top: 0;
  margin-top: -3px;
  max-height: 300px;
  max-width: 100%;
  overflow-y: scroll;
  width: 100% !important;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.custom-dropdown-options li {
  background-color: #fff;
  color: #666;
  padding: 1rem 0.5rem;
  position: relative;
  font-size: 16px;
  font-size: 1.6rem;
}

.custom-dropdown-options li span {
  display: inline-block;
  line-height: 1.5;
  padding-right: 20px;
}

.custom-dropdown-options li.disabled {
  color: #ccc;
}

.custom-dropdown-options li.disabled:hover {
  background: #fcfcfb;
}

.custom-dropdown-options li.selected:after {
  color: #31a8db;
  content: '\2714';
  position: absolute;
  right: 5px;
  top: 15px;
}

.nin_tools_breastfeeding_tracker .custom-dropdown-options li.selected:after, .breastfeeding-item-node-form .custom-dropdown-options li.selected:after {
  color: #f5953f;
}

.custom-dropdown-options:before, .custom-dropdown-options:after {
  display: none;
}

/************************************************************/
/**** Theme for drupal module EU compliance cookies      ****/
/************************************************************/
#sliding-popup {
  display: block;
  margin: 0;
  padding: 0px;
  right: 0;
  text-align: center;
  width: 100%;
  z-index: 99999;
}

.sliding-popup-bottom {
  position: fixed;
}

.sliding-popup-top {
  position: relative;
}

#sliding-popup .popup-content {
  display: block;
  margin: 0 auto;
  padding: 10px;
  max-width: 80%;
}

#sliding-popup .popup-content #popup-text {
  margin: 15px auto;
  max-width: 60%;
}

#sliding-popup .popup-content #popup-text h2,
#sliding-popup .popup-content #popup-text p {
  margin: 0 0 5px 0;
  font-size: 14px;
  font-size: 1.4rem;
}

@media all and (max-width: 500px) {
  #sliding-popup .popup-content #popup-text {
    max-width: 80%;
  }
}

/***********************************/
/**** Date picker				****/
/***********************************/
/* Input from */
.ui-datepicker-trigger {
  bottom: 4px;
  cursor: pointer;
  position: absolute;
  right: 5px;
}

/* Calendar object */
#ui-datepicker-div {
  z-index: 9999999999 !important;
  background: none;
  border: none;
  width: 250px;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
  border-radius: 0;
}

.ui-datepicker-header {
  background: #f6f6f6;
  border: 1px solid #ccc;
  border-bottom: none;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
  border-radius: 0;
  font-size: 10px;
  font-size: 1rem;
}

.ui-datepicker-calendar {
  background: #f6f6f6;
  border: 1px solid #ccc;
  border-top: none;
  font-size: 10px;
  font-size: 1rem;
}

.ui-datepicker .ui-datepicker-header {
  padding: 10px 0;
}

.ui-datepicker th {
  background-color: #fff;
  color: #f5953f;
  font-size: 12px;
  font-size: 1.2rem;
}

.ui-datepicker .ui-state-default {
  cursor: pointer;
  color: #666;
  line-height: 1.5;
  font-size: 12px;
  font-size: 1.2rem;
}

.ui-datepicker .ui-state-active {
  border-color: #f5953f;
  color: #f5953f;
}

.ui-datepicker .ui-datepicker-title, .ui-datepicker .ui-datepicker-title select {
  font-size: 1.5em;
}

.ui-datepicker .ui-datepicker-next, .ui-datepicker .ui-datepicker-prev {
  background: url(../images/ui-icons.png) no-repeat;
  height: 14px;
  top: 14px;
  width: 14px;
}

.ui-datepicker .ui-datepicker-next {
  right: 6px;
}

.ui-datepicker .ui-datepicker-prev {
  background-position: -16px 0;
  left: 6px;
}

/***********************************/
/**** Rating				 	****/
/***********************************/
.rate-widget-fivestar {
  display: inline-block;
  vertical-align: middle;
}

.rate-widget-fivestar ul {
  margin: 0;
  line-height: 1;
}

.rate-fivestar-processed {
  display: inline-block;
  margin: 0 5px 0 0;
}

.rate-fivestar-btn-filled,
.rate-user .rate-fivestar-btn-filled,
.rate-fivestar-btn-empty {
  background-image: url(../images/fivestar.png);
}

.rate-widget-fivestar ul li {
  margin-left: 0;
  padding: 0;
  width: auto;
}

.article-list-default .rate-widget-fivestar ul {
  width: 100%;
}

.reviews_full .rate-widget-fivestar {
  display: block;
  margin: 0 auto 5px;
  text-align: center;
}

/*******************************************************/
/**** Overrides mollom module 						****/
/*******************************************************/
.mollom-captcha-container span, #edit-mollom-captcha {
  color: #666;
  line-height: 1.2;
  margin-bottom: 5px;
  font-size: 14px;
  font-size: 1.4rem;
}

.mollom-privacy {
  color: #666;
  margin: 10px 30px;
  text-align: center;
  font-size: 14px;
  font-size: 1.4rem;
}

.mollom-privacy a {
  color: #31a8db;
  text-decoration: underline;
}
