/* Global */
body {
  background: #efefef;
}
body.logged-in {
  background: #333;
}
.limiter {
  width: 960px;
}

/* horizontal menu */
ul.horizontal-menu {
  margin: 0;
  padding-left: 0;
}
ul.horizontal-menu li {
  float: left;
  margin: 0 .5em 0 0;
}

/* dropdown-menu */
.dropdown-menu li {
  display: list-item;
  position: relative;
  float: left;
}
.dropdown-menu ul {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
}
.dropdown-menu li:hover ul {
  opacity: 1;
  visibility: visible;
}


/* mobile button */
.mobile-btn {
  display: none;
  width: 30px;
  height: 30px;
}
.mobile-btn-menu {
  position: relative;
  width: 30px;
  height: 30px;
}
.mobile-btn-menu span {
  display: none;
}
.mobile-btn-menu i {
  margin: 0 auto;
  position: relative;
  top: 12px;
}
.mobile-btn-menu i:before, .mobile-btn-menu i:after {
  position: absolute;
  content: '';
}
.mobile-btn-menu i, .mobile-btn-menu i:before, .mobile-btn-menu i:after {
  width: 30px;
  height: 6px;
  background-color: #000;
  display: block;
}
.mobile-btn-menu i:before {
  margin-top: -12px;
}
.mobile-btn-menu i:after {
  margin-top: 12px;
}
.mobile-btn-menu i {
  -webkit-transition-duration: 0s;
  -webkit-transition-delay: .2s;
}
.mobile-btn-menu-active i {
  background-color: rgba(0,0,0,0.0);
  -webkit-transition-delay: .2s;
}
.mobile-btn-menu i:before {
  -webkit-transition-property: margin, -webkit-transform;
  -webkit-transition-duration: .2s;
  -webkit-transition-delay: .2s, 0;
}
.mobile-btn-menu-active i:before {
  margin-top: 0;
  -webkit-transform: rotate(45deg);
  -webkit-transition-delay: 0, .2s;
}
.mobile-btn-menu i:after {
  -webkit-transition-property: margin, -webkit-transform;
  -webkit-transition-duration: .2s;
  -webkit-transition-delay: .2s, 0;
}
.mobile-btn-menu-active i:after {
  margin-top: 0;
  -webkit-transform: rotate(-45deg);
  -webkit-transition-delay: 0, .2s;
}

/* hover setting */
.hover-setting {
  position: relative;
}
.hover-setting a {
  position: absolute;
  top: 0;
  right: 0;
  margin: -5px -70px 0 0;
  padding-left: 20px;
  font-size: .75em;
  background: url(images/icon_config.png) no-repeat;
}

/* Base */

/* neticrm menu */
#neticrm-menu {
  float: left;
}
#neticrm-menu li {
  margin: 0;
}
#neticrm-menu a {
  display: block;
  padding: 38px 5px 3px 5px;
  width: 90px;
  text-align: center;
  color: #FFF;
  background: url(images/bg.png) 20px -60px no-repeat;
  -webkit-transition: all .25s ease;
   -moz-transition: all .25s ease;
    -ms-transition: all .25s ease;
     -o-transition: all .25s ease;
        transition: all .25s ease;
}
#neticrm-menu a:hover {
  background-color: #272727;
  border-bottom: 0;
}
#neticrm-menu a:active,
#neticrm-menu a.active {
  background-color: #555;
  border-bottom: 0;
}
#neticrm-menu > li:hover a {
  background-color: #272727;
}
#neticrm-menu a.civicrm-contact {
  background-position: 20px -60px;
}
#neticrm-menu a.civicrm-contribute {
  background-position: 20px -270px;
}
#neticrm-menu a.civicrm-event {
  background-position: 20px -130px;
}
#neticrm-menu a.civicrm-mailing {
  background-position: 20px -200px;
}
#neticrm-menu a.civicrm-member {
  background-position: 20px -340px;
}
#neticrm-menu a.civicrm-report {
  background-position: 20px -410px;
}
#neticrm-menu ul {
  margin: 62px 0 0 0;
  background: #272727;
  -webkit-box-shadow: 3px 3px 3px #aaa;
  -moz-box-shadow: 3px 3px 3px #aaa;
  box-shadow: 3px 3px 3px #aaa;
  -webkit-transition: all .25s ease;
     -moz-transition: all .25s ease;
      -ms-transition: all .25s ease;
       -o-transition: all .25s ease;
          transition: all .25s ease;
}
#neticrm-menu ul li {
  display: block;
  border-bottom: 1px solid #555;
}
#neticrm-menu ul li:last-child {
  border-bottom: 0;
}
#neticrm-menu ul a {
  padding: 8px 16px;
  width: 220px;
  text-align: left;
  line-height: 1.3;
  font-size: .9375em;
  font-weight: normal;
  background: #272727;
}
#neticrm-menu ul a:hover {
  background: #333;
}
#neticrm-menu ul a.active {
  background: #555;
}

/* user menu */
#user-menu {
  position: absolute;
  right: 0;
  bottom: 5px;
}
#user-menu li {
  margin: 0;
  padding: 0 5px;
  /*border-right: 1px solid #fff;*/
}
#user-menu a {
  font-size: .8375em;
  color: #91cadd;
}
#user-menu a:hover {
  color: #00a9ff;
}

/* header */
/* header top */
#header-top {
  color: #fff;
  background: url(images/bg.png) 0 -490px #000;
}
.header-top,
.header-top a {
  color: #fff;
}

/* header main */
#header-main {
  margin: 0 0 10px 0;
  padding: 10px 0 5px 0;
  background: url(images/bg.png) repeat-x 0 -580px #fff;
  background: -webkit-gradient(linear, left top, left bottom, from(#fafafa), to(#e3e3e3));
  background: -moz-linear-gradient(top,  #fafafa,  #e3e3e3);
  filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#fafafa', endColorstr='#e3e3e3');
  -webkit-box-shadow: 0 0 20px rgba(0,0,0,.3);
  -moz-box-shadow: 0 0 20px rgba(0,0,0,.3);
  box-shadow: 0 0 20px rgba(0,0,0,.3);
}

#logo,
#name-and-slogan {
}

#logo {
  margin-right: 10px;
}

/* footer */
#footer {
  font-size: 13px;
  background: #efefef;
}
#footer,
#footer a {
  color: #fff;
}
#footer .row {
  margin-bottom: 15px;
}
.logged-in #footer {
  background: #333;
}
.logged-in #footer,
.logged-in #footer a {
  color: #fff;
}

/* header */
/*
#header {
  background: #fff;
  box-shadow: 0px 0px 8px #cfcfcf;
  -webkit-transition: all .5s ease-in-out;
  -moz-transition: all .5s ease-in-out;
  -o-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
}
.header-fixed {
  position: fixed;
  top: 0;
  z-index: 100;
  margin: 0;
  padding: 0;
  width: 100% !important;
  box-shadow: 0px 0px 12px #ccc;
}
#mobile-header {
  display: none;
}
#mobile-header .limiter {
  padding: 10px;
}
*/

/* Temp */


@media (min-width: 769px) and (max-width: 1199px) {
  .limiter {
    width: 960px;
  }
}

@media (max-width: 768px) {
  .mobile-btn {
    display: block;
  }
  .not-front .limiter {
    padding: 0 10px;
    width: 100%;
  }
  
  .front .limiter {
    width: 660px;
  }

  #header-top,
  #header-main {
    display: none;
  }
  #mobile-header {
    display: block;
  }
  #content,
  #sidebar-first,
  #sidebar-second {
    float: none;
    margin: 0;
    width: 100%;
  }
  .sidebar-first .content-inner,
  .sidebar-second .content-inner {
    padding: 0;
    margin: 0;
  }
}

/* use to hide calendar icon on cet modules*/
.crm-container-md [id$="birth_date"] .crm-form-select.crm-form-select-single.crm-form-elem.dateplugin::after {
  display: none;
}

/** #33102, Modify select height. */
.crm-container-md .crm-form-select-single select,
.crm-container-md .crm-form-select-single select.form-select {
  padding-top: 0;
  padding-bottom: 0;
}
.crm-container-md .crm-form-select-single::after {
  margin-top: 10px;
}
