/*
 Theme Name:   Vantage Child
 Theme URI:    https://xxx/vantage-child/
 Description:  Vantage Child Theme
 Author:       Pauline Daniel
 Author URI:   
 Template:     vantage
 Version:      1.0.00001
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  vantage-child
*/

/* Make menu float over slider */
#page-wrapper {
	position : relative;
}

.full-container {
	max-width:100% !important;
}

#masthead {
	position : absolute;
	width : calc(100% - 40px);
	top : 20px;
	left : 20px;
}

#masthead.masthead-logo-in-menu .logo > img {
	position : absolute;
	top : 0;
	max-height : 90px;
}

/* Menu formatting */
.main-navigation {
	background-color : #ffffff00;
}

.main-navigation ul li a {
	padding-top : 10px;
	padding-bottom : 10px;
}

.horizons-nav a {
	border-left : 3px solid white;
}

.horizons-nav-donate a {
	border : 3px solid white;
}

/* Pages formatting */
.horizons-line {
	width : 70%;
}

.horizons-half-line {
	width : 40%;
}

.horizons-right {
	text-align : right;
}

.horizons-right-div {
	float : right;
}

article.post .entry-header h1.entry-title,
article.page .entry-header h1.entry-title,
.horizons-highlight {
	text-align : center;
	font-size : 1.5em;
	font-weight : bold;
}

/* Contact Form */
.so-widget-sow-contact-form .sow-contact-form {
	background-color : #ffffff00 !important;
}

.sow-contact-form label {
	text-transform : uppercase;
}

.sow-form-field-label-left {
	min-width : 100px;
}

.sow-submit-wrapper,
.sow-recaptcha {
	text-align : center;
}

.sow-recaptcha iframe {
	padding-left : 110px;
}

/* Donate Page */
#horizons-nh1,
#horizons-nh2,
#horizons-donate-modes {
	text-align : center;
}

#horizons-nh1 h3,
#horizons-nh2 h3,
#horizons-donate-modes h3,
#horizons-donate-modes .horizons-line {
	width : 100%;
	font-size : 30px;
}

.horizons-donate-col {
	margin : 20px;
	border : 2px solid #b2cbcf;
	padding : 5px 20px 20px 20px;
	min-height : 330px;
}

/* Flip Boxes */
/* This container is needed to position the front and back side */
.nh-flip-box {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  min-height : 150px;
}

.nh-flip-box div {
	transform-style: preserve-3d;
}

.nh-flip-box-front div,
.nh-flip-box-back div {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.nh-flip-box-container .panel-grid-cell:hover .nh-flip-box {
  transform: rotateY(180deg);
}

/* Position the front and back side */
.nh-flip-box-front, .nh-flip-box-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
}

/* Style the front side */
.nh-flip-box-front {
}

.nh-flip-box-front img {
	height : 100px !important;
	width : auto !important;
}

/* Style the back side */
.nh-flip-box-back {
  transform: rotateY(180deg);
  font-size:13px;
}

/* Footer */
#theme-attribution {
	display : none;
}

/* Mobile Styles */
@media only screen and (max-width: 490px) {
	#masthead.masthead-logo-in-menu .logo > img {
		height : 40px !important;
		left : 0;
	}
	
	.horizons-nav a {
		border-left : none;
	}
}