/*
*   name           Favourite
*   version        3.3
*   description    Responsive and customizable Joomla!3 template
*   demo           ttp://demo.favthemes.com/favourite/
*   author         FavThemes
*   author URL     http://www.favthemes.com
*   copyright      Copyright (C) 2012-2015 FavThemes.com. All Rights Reserved.
*   license        Licensed under GNU/GPLv3 (http://www.gnu.org/licenses/gpl-3.0.html)
*/

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

/// custom style

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

.item-image img{
  background:none;
  border:0;
}

#fav-containerwrap{
  background:none;
}
#fav-container{
  box-shadow:none;
}
#fav-headerwrap{
  border-top:0;
}
#fav-copyrightwrap{
  border-top:1px solid #eee;
}

img.pull-left{
  margin-right:20px;
}

.item-page h4, .item-page h3{
  clear:both;
}

#fav-lead1 .row-fluid .span3{
  padding: 20px 0;
}
.favglyph1:hover, .favglyph1:active, .favglyph2:hover, .favglyph2:active, .favglyph3:hover, .favglyph3:active, .favglyph4:hover, .favglyph4:active{
  background: #E7F2D3;
}

.clear{
  clear:both;
}

#address-list-form .form-group{
  width:50%;
  float:left;
  background: #f1f1f1;
  padding: 1% 0;
  border-radius: 5px;
}

/** 	Events		**/
.events-page .form-group{
  float:left;
  width:48%;
  margin:20px 0 30px;
  background: #f5f5f5;
  padding: 1%;
  border-radius: 5px;
}
.events-body .events-page .ievent{
  margin-left:1.5%;
  min-height:410px !important;
  cursor:pointer;
  /*font-size:12px; */
}

.events-page .ievent h3{
  line-height:1;
}
/*
.events-page .ievent .image-frame img{
  width:1px;
}*/

div.event-venue {
  margin-top: 10px;
}

div.event-time label, div.event-venue label {
  display: none;
}

.short-description {
  width: 250px;
  margin: 0 0 1em 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;  
}

.event-details .event-description .image-frame {
  float: left;
  margin: 0 20px 20xp 0;
}

.events-page .ievent.span3{
  min-height:390px !important;
}

.event-details.span6{
  margin-left:0;
  margin-bottom:30px;
}

.registration-form{
  background: #E7F2D3;
  border-radius:8px;
  padding: 0 20px;
  overflow: hidden;
} 

.registration-form .form-group{
    background: transparent !important;
    width:98% !important;
    margin:0 !important;
}

.registration-form .form-group label :not([type=checkbox]){
  width:30%;
}

.registration-form .form-group input[type=text] {
  width:99%;
}

.dataProtection.form-group p, .dataProtection.form-group .badge {
    font-size: 11px !important;
}

.dataProtection.form-group .badge {
    line-height: 1.5em;
}

.dataProtection.form-group img{
  width:11px !important;
}

/* JQuery accordion styling */

.faqs h2{
  margin-top:30px;
  font-size: 25px;
}

.ui-state-default{
  background: url("../../../images/africa-accordion-bg.jpg") repeat-x !important;
  border:0 !important;
  color: #333 !important;
  font-weight: 400 !important;
}

.ui-state-default .ui-icon {
  background:url("../../../images/icons/icon-plus2.png") no-repeat 0 0 !important;
  margin-right: 5px;
}

.ui-state-active .ui-icon, .ui-icon-minus{
  background:url("../../../images/icons/icon-minus.png") no-repeat 0 0 !important;
}

.ui-icon-plus{
  background:url("../../../images/icons/icon-plus1.png") no-repeat 0 0 !important;
}

.ui-state-active, .ui-state-default:hover, .ui-state-default:active, .ui-state-default:focus{
  background: url("../../../images/africa-accordion-bg1.jpg") repeat-x !important;
  color:#fff !important;
}

.ui-state-default:hover .ui-icon{
   background:url("../../../images/icons/icon-plus1.png") no-repeat 0 0 !important;
}

.ui-widget-content a{
  color: #86B827 !important;
}

.ui-state-focus:focus{
  outline:none !important;
}

.ui-accordion .ui-accordion-header{
  padding: .3em .5em .3em .7em !important;
}

.ui-widget-content{
  background: #fff!important;
}

a[name]{
  display: block;
  padding-top: 30px;
}
a[name]:nth-of-type(1){
  padding-top:0;
}
@media (max-width: 768px) {
    .virtuescope h3{
      padding-top: 20px !important;
    }
    .moduletable.virtuescope {
      font-size: 20px;
    }
    #favglyph-box2 i {
        padding-top: 58%;
    }
    #fav-navbar ul.nav-child {
      display: block !important;
  	}
  	#fav-container .row-fluid .span3 {
   	  width: 48.93617021276595%;
	}
    .homepage #fav-maincontent img {
      width: 97%;
      margin-left: 3%;
    }
    div[itemprop="articleBody"] .span4 p{
      margin-left:25px;
    }
    .breadcrumb>li{
        display:block;
        float:left;
      }
}

@media (max-width: 767px){
   .favstyle #fav-caption h3 {
     font-size: 18px !important
  }
  .favstyle .fav-control-paging {
    bottom: -8px;
    right: 40%;
  }
  #favglyph-box2 i {
      padding-top: 58%;
  }
  .moduletable.virtuescope a img {
    width: 100%;
    margin-bottom: 20px;
  }
  #fav-main img{
    height:auto !important;
  }
  .events-page .form-group{
    width:98%;
    margin: 10px 0 20px;
  }
}