/* Header */
header {
  border-bottom: solid 1px #eee;
}

header.home {
  background: url(/static/images/home/search_bg.jpg) center center no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

header .navbar-container {
  background-color: rgba(255, 255, 255, 0.5);
}

header nav {
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
}

header nav.navbar.navbar-light .nav-link {
  color: rgba(0,0,0,.9);
  font-weight: 500;
}

header nav.navbar .nav-link:hover {
    color: rgba(0,0,0,.5);
    font-weight: 500;
}

header.home .search {
  height: 290px;
}

header .search {
  width: 100%;
  display: table;
}

header .search > .content {
  display: table-cell;
  padding: 0;
  vertical-align: middle;
  text-align: center;
  font-size: 21px;
  font-size: 1.3125rem;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0,0,0,.25);
}


#custom-search-input {
    top: 0;
    padding: 0;
    width: 650px;
    margin: auto;
    position: relative;
}

#custom-search-input .search-query {
    width: 100%;
    height: 50px;
    padding-left: 20px;
    border: 0;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0 0 50px 0 rgba(0,0,0,.35);
    -moz-box-shadow: 0 0 50px 0 rgba(0,0,0,.35);
    box-shadow: 0 0 50px 0 rgba(0,0,0,.35);
    font-weight: 500;
    font-size: 16px;
    font-size: 1rem;
    color: #333;
}

#custom-search-input .search-query:focus {
    outline: 0;
}

#custom-search-input input[type=submit] {
    position: absolute;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    right: 0;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    font-size: 1rem;
    top: 0;
    border: 0;
    padding: 0 25px;
    height: 50px;
    cursor: pointer;
    outline: 0;
    -webkit-border-radius: 0 3px 3px 0;
    -moz-border-radius: 0 3px 3px 0;
    -ms-border-radius: 0 3px 3px 0;
    border-radius: 0 3px 3px 0;
    background-color: #74d1c6;
}

#custom-search-input input[type=submit]:hover {
    background-color: #e74e84;
}

@media (max-width: 991px) {
    #custom-search-input {
        width: auto;
    }

    header .search > .content {
        padding: 0 30px;
    }
}

@media (max-width: 767px) {
    header .search > .content {
        font-size: 16px;
        font-size: 1rem;
        padding: 0 15px;
    }
}

@media (max-width: 575px) {
    #custom-search-input input[type=submit] {
        text-indent: -999px;
        background: url(/static/images/search.svg) center center no-repeat #74d1c6;
    }

    header .search > .content h3 {
        font-size: 32px;
        font-size: 2rem;
    }
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: .7rem;
        padding-left: .7rem;
    }
}


/* Footer */
footer #additional_links {
    margin: 0;
    padding: 0;
    font-size: 13px;
    font-size: .8125rem;
    color: #999;
}

footer #additional_links li:first-child {
    margin-right: 20px;
}

footer #additional_links li {
    display: inline-block;
    margin-right: 15px;
}

footer #copy {
    font-size: 13px;
    font-size: .8125rem;
    color: #999;
}

/* Home */
#home .events {
  margin-top: 15px;
}

#home .events .list-group .list-group-item {
  border: 0 none;
  padding: .1rem .5rem;
  font-size: .9rem;
}

#home .steps {
  padding-top: 120px;
  padding-bottom: 30px;
}

#home .steps .main_title {
  text-align: center;
  margin-bottom: 45px;
  text-transform: uppercase;
}

#home .steps .main_title h2 {
  font-weight: 300;
  letter-spacing: -1px;
  font-size: 36px;
  margin: 0
}

@media (max-width:767px) {
  #home .steps .main_title {
    margin-bottom: 15px
  }

  #home .steps .main_title h2 {
    font-size: 32px;
    font-size: 2rem
  }
}

.box_feat {
  background-color: #fff;
  padding: 165px 45px 20px;
  text-align: center;
  position: relative;
  border-radius: 5px;
  -webkit-box-shadow: 0 0 30px 0 rgba(0, 0, 0, .1);
  -moz-box-shadow: 0 0 30px 0 rgba(0, 0, 0, .1);
  box-shadow: 0 0 30px 0 rgba(0, 0, 0, .1);
  margin-bottom: 25px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
}

.box_feat h3 {
  font-size: 1.2rem;
  margin-top: 25px;
  color: #e74e84;
  text-transform: uppercase;
}

.box_feat span {
  position: absolute;
  top: 50%;
  right: -48px;
  margin: -42px 0 0;
  width: 70px;
  height: 70px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  border-radius: 50%;
  border: 2px solid #ededed;
  background: url(/static/images/home/arrow-gray-1.svg) center center no-repeat #fff;
  display: block;
  z-index: 9;
}

.box_feat#icon_1 {
  background: url(/static/images/home/user.svg) center 45px no-repeat #fff;
  background-size: 110px;
}

.box_feat#icon_2 {
  background: url(/static/images/home/check-form.svg) center 45px no-repeat #fff;
  background-size: 110px;
}

.box_feat#icon_3 {
  background: url(/static/images/home/team.svg) center 45px no-repeat #fff;
  background-size: 110px;
}

@media (max-width:991px) {
  .box_feat span {
    top: 100%;
    left: 50%;
    margin: -20px 0 0 -35px;
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
  }
}

.card-home-events-by-city a {
  margin-right: 5px;
  font-size: .9rem;
}

.card-home-events-by-last a {
    margin-right: 15px;
}

.card-home-events-by-topcity a {
  margin-right: 5px;
  font-size: .9rem;
}

.footerTop {
    border-top:1px solid #eee;
}

.footerTop a {
    font-size:.8rem;
}

/* Events */
.filterMenuBlock > p {
    font-size: 1.1rem;
    font-weight: 600;
    color: #444;
    margin: 0 0 5px 0;
    padding: 0 0 5px 0;
    border-bottom: solid 1px #eee;
}
.filterMenuBlock ul, .filterMenuBlock li {
    list-style: none;
    margin: 0;
    padding: 0;
}
.filterMenuBlock > ul > li > ul > li {
    padding-left: 10px;
}
.filterMenuBlock li {
    font-size: .9rem;
}
.filterMenuBlock .accordion .btn {
    padding: 0;
}


#eventDetail .card-header {
    background-color: transparent;
}
#eventDetail h1 {
    font-size: 1.2rem;
}


#eventList {
    font-size: .9rem;
}
#eventList .card-body ul, #eventList .card-body li {
    margin: 0;
    padding: 0;
    color: #444;
}
#eventList .gotoEvent {

}
#eventList .card-header a {
    text-decoration: none;
    font-size: 1rem;
}
#eventList .description {
    font-style: italic;
}

#btnFavouriteEvent {
    color: #a7a704;
    background-color: transparent;
}

.card.disciplines .card-header, .card.disciplines .card-body {
    padding: 5px 15px;
}
.card.disciplines ul, .card.disciplines li {
    list-style: none;
    margin: 0;
    padding: 0;
}
.card.disciplines ul > li > ul {
    padding-left: 15px;
}
.card.disciplines ul > li > ul label {
    font-size: .9rem;
}
.card.disciplines .btn-link {
    padding: 0;
}


/* Autocomplete */
.autocomplete-suggestions {
    text-align: left;
    cursor: default;
    border: 1px solid #ccc;
    border-top: 0;
    background: #fff;
    box-shadow: -1px 1px 3px rgba(0,0,0,.1);
    /* core styles should not be changed */
    position: absolute;
    display: none;
    z-index: 9999;
    max-height: 254px;
    overflow: hidden;
    overflow-y: auto;
    box-sizing: border-box;
}
.autocomplete-suggestion {
    position: relative;
    padding: 0 .6em;
    line-height: 23px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: .8rem;
    color: #333;
}
.autocomplete-suggestion b {
    font-weight: 500;
    color: #111;
}
.autocomplete-suggestion.selected {
    background: #f0f0f0;
}
.autocomplete-suggestion-title {
    font-size: .7rem;
    padding: .3em .9em;
    margin-bottom: 5px;
    border-bottom: dashed 1px #ccc;
}
.autocomplete-suggestion-title:not(:first-child) {
    margin-top: 5px;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  background-color: #ffffff;
  margin-bottom: 110px;
}

.trumbowyg-box {
	margin-top: 0;
}

.img-thumbnail.upload {
  display: inline-block;
}

.img-thumbnail.upload img {
	width: 100px;
	height: 100px;
	cursor: pointer;
}

button.btn-file-input {
	position: relative;
	overflow: hidden;
	cursor: pointer;
}

button.btn-file-input input {
	cursor: pointer;
	position: absolute;
	font-size: 50px;
	opacity: 0;
	right: 0;
	top: 0;
}

#modalMembership form {
  width: 90%;
  margin: auto;
}

.filterMenuBlock [data-toggle="collapse"] .fa {
  font-size: .6rem;
}

.filterMenuBlock [data-toggle="collapse"] .fa:before {
  content: "\f068";
}

.filterMenuBlock [data-toggle="collapse"].collapsed .fa:before {
  content: "\f067";
}

.form-register {
    width: 100%;
    max-width: 330px;
    margin: auto;
}

.form-login {
    width: 100%;
    max-width: 330px;
    margin: auto;
}

#page-events h1 {
  font-size: 1.7rem;
}

#page-events span.counter {
  font-size: .8rem;
  color: #ccc;
}

#page-events div.filterMenuBlock > ul {
  max-height: 300px;
  overflow-x: auto;
}

.expired {
    display: none;
}

#create-event h1 {
  font-size: 1.7rem;
}

#summary {
  font-size: 14px;
  line-height: 1.5;
}

#summary > div.collapse:not(.show) {
    height: 42px !important;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

#summary > div.collapsing {
    min-height: 42px !important;
}

#summary a.collapsed:after  {
    content: '+ Read More';
}

#summary a:not(.collapsed):after {
    content: '- Read Less';
}
