/* Search form in header */
.header {
	width: 100%;
	z-index: 60;
	background: #fff;
	-webkit-transition: background .2s;
	transition: background .2s;
	padding-bottom: 1px;
	position: fixed;
}

.header-top {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    -webkit-transition: padding-top .3s;
    transition: padding-top .3s;
}

.logo {
    padding-right: 5px;
    margin-bottom: 4px;
    width: 300px;
    -webkit-transition: width .3s;
    transition: width .3s;
}

.social {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: end;
	-ms-flex-align: end;
	align-items: flex-end;
}

.header-socials li a:hover {
	color: #7A090C;
}

.scroll .header-top {
	padding-top: 0;
}

.scroll .header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background: #fff;
	z-index: 100;
}

.top-bar {
	position: relative;
}

.main-home,
.main-page {
	padding-top: 160px;
}

.menu-main-menu-container {
	display: inline-block;
	vertical-align: middle;
}

.header-form {
	display: inline-block;
	vertical-align: middle;
	padding: 7px 0;
}

.header-form .search-opener {
	color: #282828;
	font-size: 25px;
	line-height: 1;
	display: inline-block;
	vertical-align: top;
	margin-left: 27px;
	background-color: transparent;
	padding: 0;
	outline: none;
	cursor: pointer;
}

.header-form .search-opener:hover {
	color: #205999;
}

.header-form #searchform {
	border: none;
	padding: 10px 0;
	position: absolute;
	top: 100%;
	right: 0;
	width: 0;
	overflow: hidden;
	opacity: 0;
	-webkit-transition: opacity .2s .1s, width .4s;
	transition: opacity .2s .1s, width .4s;
	z-index: 5;
}

.header-form #searchsubmit {
	position: absolute;
	right: 20px;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	background: none;
	border: none;
	width: 22px;
	height: 22px;
	font-size: 16px;
	line-height: 1;
	padding: 0;
	outline: none;
	cursor: pointer;
}

.header-form #searchsubmit .fa-search {
	display: block;
	color: #283f5a;
	padding-top: 0;
}

.header-form #searchsubmit .fa-search:hover {
	color: #7a090c;
}

.header-form input[type="search"] {
	background: #d9d9d9;
	padding: 5px 20px;
	border: 2px solid #283f5a;
	height: 40px;
	margin: 0;
	max-width: 100%;
	background: rgba(255, 255, 255, .7);
	-webkit-appearance: none;
    box-sizing: border-box;
    color: #6d6e71;
    line-height: 29px;
    outline: none;
    box-shadow: none;
    -webkit-transition: border .2s;
    transition: border .2s;
    border-radius: 7px;
    font-size: 16px;
}

.header-form input[type="search"]::-webkit-input-placeholder {
	color: #283f5a;
}

.header-form input[type="search"]::-moz-placeholder {
	opacity: 1;
	color: #283f5a;
}

.header-form input[type="search"]:-ms-input-placeholder {
	color: #283f5a;
}

.header-form input[type="search"].placeholder {
	color: #283f5a;
}

.header-form .fa-times {
	display: none;
	color: #fff;
	padding-top: 4px;
}

.header-form .fa-times:hover {
	color: #7bc3d6;
}

.header-form .fa-search {
	color: #fff;
	padding-top: 3px;
}

.header-form .fa-search:hover {
	color: #7bc3d6;
}

.header-form.search-active #searchform {
	width: 100%;
	opacity: 1;
	-webkit-transition: opacity .2s , width .42s;
	transition: opacity .2s , width .42s;
}

.header-form.search-active .fa-search {
	display: none;
}

.header-form.search-active .fa-times {
	display: block;
}

.header-form.search-active .search-btn .fa-search {
	display: block;
}

/* Flexible Standart content styles */

.main-page-content img {
	border-radius: 5px;
}

.map-responsive {
	overflow: hidden;
	padding-bottom: 56.25%;
	position: relative;
	height: 0;
}
.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}


/*TMPL: Gallery */

.gallery-page {
  padding: 30px 0 150px;
}
.gallery-page__item {
  margin-bottom: 40px;
}
.gallery-page__item-image {
  width: 100%;
  padding-bottom: 76%;
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
}
.gallery-page__item-top {
  text-align: center;
  margin-bottom: 30px;
}
.gallery-page__item-top h3 {
  color: #fff;
  padding: 15px 5px;
  font-weight: 400;
  font-size: 24px;
  background-color: #283f5a;
  border-bottom-left-radius: 7px;
  border-bottom-right-radius: 7px;
}
.gallery-page__item p {
  font-weight: 700;
  font-size: 16px;
  color: #283f5a;
  margin-bottom: 0;
  text-transform: uppercase;
}
.gallery-page__item a {
  padding-top: 15px;
  display: inline-block;
  font-size: 18px;
}

/*Single Gallery*/


.single-champion.single-gallery {
	padding-top: 70px;
	padding-bottom: 150px;
}

.champion-card-image.gallery-image {
	width: 100%;
	padding-bottom: 76%;
	background-position: 50% 50%;
  margin-top: 5px;
}

.champion-card-title.gallery-card-title {
	background-color: #283f5a;
  padding: 17px 5px;
}

.resources-excerpt.gallery-excerpt {
	margin-bottom: 30px;
}

.resources-excerpt.gallery-excerpt p {
	font-weight: 700;
	font-size: 16px;
	color: #283f5a;
	margin-bottom: 0;
  line-height: 1.45;
	text-transform: uppercase;
}

.gallery-description {
	color: #283f5a;
}

.gallery-description p {
	font-size: 18px;
  line-height: 1.35;
  margin-bottom: 25px;
}

.gallery-description h6 {
  margin-bottom: 25px;
}

.back .single-back.gallery-back {
	font-size: 16px;
}