@font-face {
  font-family: Gotham;
  src: url(font/GothamBold.ttf);
}

@font-face {
  font-family: Nimbus;
  src: url(font/NimbusSanCon-Bol.otf);
}

@font-face {
  font-family: GothamBook;
  src: url(font/Gotham-Book_0.otf);
}

@font-face {
  font-family: AdobeCaslon;
  src: url(font/AdobeCaslon.ttf);
}

#custom-handle {
	width: 3em;
	height: 1.6em;
	top: 50%;
	margin-top: -.8em;
	text-align: center;
	line-height: 1.6em;
}

.loader {
	border: 16px solid #f3f3f3; /* Light grey */
	border-top: 16px solid #36a97f; /* Blue */
	border-radius: 50%;
	width: 80px;
	height: 80px;
	animation: spin 2s linear infinite;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* WC Style */

#gladneyHeaderLogo{
	padding-left: 1em;
}

.kid-grid{
	margin: 0;
	padding: 0;
	display: grid;
	color: #494949;
	background-color: #E8E8E8;
	width: 250px;
}

#solochildgrid {
    display: flex;
}


#solochildgrid > div {
    margin-right: 3em;
}

#tabContent {
	overflow-x: hidden;
}


.thumbnail{
	grid-column-start: 1;
	grid-column-end: 3;
	grid-row-start: 1;
	grid-row-end: 3;
	width:250px;
	height:250px;
	padding: 0;
	margin: 0;
	overflow: hidden;
}

.thumbnail > img {
	min-height: 250px;
	min-width: 250px;
	height: auto;
	width: auto;

}

.kid-name{
	text-transform: uppercase;
	font-family: Nimbus, serif;
	margin: 0;
	padding-top: 20px;
	padding-left: 10px;
	font-size: 24px;
	text-align: left;
	grid-row-start: 3;
	grid-row-end: 4;
	grid-column-start: 1;
	grid-column-end: 2;
}

.kid-name--solo {
    padding: 16px 10px 10px 0;
}

.kid-info{
	font-family: GothamBook, serif;
	text-transform: uppercase;
	text-align:right;
	padding: 6px;
	padding-right: 10px;
	font-size: 90%;
	grid-column-start: 2;
	grid-column-end: 3;
	grid-row-start: 3;
	grid-row-end: 4;
}

button.learn-more-button{
	font-family: GothamBook, serif;
	width: 250px;
	color: #494949;
	background-color: #E8E8E8;
	border-top: 1px solid rgba(0,0,0,0.1);
	margin-bottom: 20px;
}

button.learn-more-button:hover, button.learn-more-button:focus{
	background-color: #173F54;
	color:white;
}

.gender-icon{
	margin:0px;
	height: 15px;
}



.profile-header > a {
	color: #494949;
	font-family: GothamBook, serif;
	font-size: 25px;
	padding-left: 25px;
}

.info-label{
	text-transform:none;
	font-family: AdobeCaslon, serif;
	color: #173F54;
	font-size: 1.1em;
}
.span3{
	background-color: rgb(53, 167, 126);
	max-width: 400px;
}
.span3.no-color {
	background: none;
}

.span6{
	text-align: center;
	padding: 0px;
	padding-bottom: 6px;
}
.tab-content.span6 {
	text-align: left;
}
.slider-for--image, .slider-for {
	width: 500px;
	height: auto;
}
.slider-nav {
	margin-top: 15px;
}
.slider-nav {
	width: 350px;
	margin-left: 75px;
}
.slider-nav--image {
	padding: 0 0.5em;
}
.filter-title{
	font-family: Nimbus, serif;
	font-size: 35px;
	text-align:center;
	background-color: rgb(37, 121, 90);
	color:white;
	padding: 20px;
}
.slick-current, .slick-current:active, .slick-current:focus {
	outline: none;
}

.banner__heading{
	padding-top:80px;
	margin-bottom:40px;
}

label{
	text-transform: none;
	font-family: GothamBook, serif;
	padding: 10px;
	text-align:center;
	padding: 0px;
	margin: 10px 0px;
	padding-top: 5px;
	font-weight: bold;
}


#gender-button,#siblings-button{
	width: 120px;
	border: 2px solid rgb(37, 121, 90);
	background: url(/img/select-menu-background.png) no-repeat right center;
	background-size: 120px 35px;
	appearance: none;
	-moz-appearance: none;
	-webkit-appearance: none;	
}

#ethnicity-button{
	width: 240px;
	border: 2px solid rgb(37, 121, 90);
	background: url(/img/select-menu-background-large.png) no-repeat right center;
	background-size: 240px 35px;
	appearance: none;
	-moz-appearance: none;
	-webkit-appearance: none;
	margin: auto;	
}

#ethnicity-menu{
	height: 150px;
	overflow:scroll;
	overflow-x: hidden;
}

.link-list li{
	padding: 12px 0px;
	line-height: 100%;
}

.site-footer__title{
	margin-left: 2em;
	margin-bottom: 1.5rem;
}

.site-footer__title  a {
	margin-left:0em;
} 

.loader{
	margin:40px;
}

.banner--plain{
	background: none;
	font-size: 60px;
	height: 80vh;
	padding-top: 17vh;
	text-shadow: 0 0 18px rgba(0, 0, 0, 0.8)
}

.banner__heading{
	background-image: url(/img/Heart-Gallery-WEB.jpg);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center 19%;
}

span.ui-selectmenu-icon.ui-icon.ui-icon-triangle-1-s{
	display: none;
}

label[for=china],label[for=us],label[for=taiwan],label[for=colombia]{
	width: 100px;
	padding: 10px 15px;
	appearance: none;
	-moz-appearance: none;
	-webkit-appearance: none;
	background-image: none;
	background-color: rgb(37, 121, 90);
	border-radius: 2px;
	border: 0;
	color: white;
    cursor: pointer;
	position: relative;
	left: 50%;
	transform: translate(-50%);
}

label[for=china]:hover,label[for=us]:hover,label[for=taiwan]:hover,label[for=colombia]:hover{
	width: 100px;
	padding: 10px 15px;
	appearance: none;
	-moz-appearance: none;
	-webkit-appearance: none;
	background-image: none;
	background-color: rgb(24, 73, 57);
	border-radius: 2px;
	border: 0;
	color: white;
	position: relative;
	left: 50%;
	transform: translate(-50%);
    cursor: pointer;
}

label[for=china].ui-checkboxradio-checked.ui-state-active,label[for=us].ui-checkboxradio-checked.ui-state-active,label[for=taiwan].ui-checkboxradio-checked.ui-state-active,label[for=colombia].ui-checkboxradio-checked.ui-state-active{
	width: 100px;
	padding: 10px 15px;
	appearance: none;
	-moz-appearance: none;
	-webkit-appearance: none;
	background-image: none;
	background-color: rgb(24, 73, 57);
	border-radius: 2px;
	border: 0;
	color: white;
	position: relative;
	left: 50%;
	transform: translate(-50%);
    cursor: pointer;
}

#slider-range{
	width: 82%;
	margin: auto;
}

/* Low Slider Node */
#slider-range > span:nth-child(2){
	background-image: none;
	background-color: rgb(24, 73, 57);
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: none;
	cursor: grab;
}
 /* High Slider Node */
 #slider-range > span:nth-child(3){
	background-image: none;
	background-color: rgb(24, 73, 57);
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: none;
	cursor: grab;
 }
 
#slider-range > span:nth-child(2):active, #slider-range > span:nth-child(3):active{
	cursor: grabbing;
}

 /* Selected Section */
 #slider-range > div{
	background-image: none;
	background-color: rgb(24, 73, 57);
	border: none;
	height: 0px;
	border-bottom: 10px solid rgb(24, 73, 57);
 }
 
 /* Unselected Section */
 #slider-range{
	background-image: none;
	background-color: rgb(37, 121, 90);
	border: none;
	height:0px;
	border-bottom: 10px solid rgb(37, 121, 90);
 }
 
input#age{
	text-decoration: none;
	font-family: Nimbus, serif;
	color: white;
	background-color: transparent;
	border:0;
	text-align: center;
	font-size: 28px;
	margin-bottom: 0;
	padding: 5px;
 }
 
.center{
	text-align:center;
	padding-bottom: 0;
}

#search{
	background-color: rgb(37, 121, 90);
	margin-top: 10px;
	position: relative;
	left: 50%;
	transform: translate(-50%);
}
 
#search:hover,#search:focus{
	background-color: rgb(24, 73, 57);
 }

#results {
	color: #494949;
}
	
	
.tab-header {
    font-family: GothamBook, serif;
    font-size: 0.9em;
    font-weight: bold;
    text-transform: uppercase;
    border: 1px solid rgba(49, 49, 49, 0.2);
    text-align: center;
    display: inline-block;
    padding: 0.5em 1.5em;
    color: black;
    background-color: rgba(49, 49, 49, 0.1);
    margin-top: 1em;
	cursor: pointer;
}

.tab-header--active {
    background-color: white;
    border-bottom-color: white;
}

hr.tab-divider {
    border-top: 1px solid rgba(49, 49, 49, 0.2);
    margin: -1px 0 2em 0;
}
	
select {
	border: none;
}

#siblings, #gender {
	max-width: 80px;
}


.tab-content {
    font-family: Verdana, Arial, sans-serif;
    line-height: 175%;
}

.attention {
    font-family: AdobeCaslon, serif;
    color: #173F54;
    font-size: 1.5em
}

li {
    line-height: 30px;
}

.tab-content > h4 {
    font-family: GothamBook, serif;
    font-size: 1.05em;
    font-weight: bold;
    text-transform: uppercase;
}

.tab-content > ul {
    list-style-type: disc;
}

.bold {
    font-weight: 900;
}

.tab-header {
    margin-top: 3em;
}

.pad-left {
	padding-left: 30px;
}

.sibling-name {
	border-bottom: 1px solid rgb(37, 121, 90);
}


#inquireButton {
	background-color: #fff;
	color: #F3866B;
	border: 2px solid #F3866B;
	font-size: 0.8em;
}

@media screen and (max-width: 360px) {
	.tab-header {
		font-size: 0.8em;
	}
}
@media screen and (max-width: 767px) {

	#solochildgrid {
		display: inline;
	}
	.centercontent {
		display: flex;
		justify-content: center;
	}
	#solochildgrid > div:nth-of-type(1) {
		margin-right: 0;
		display: flex;
		flex-flow: row wrap;
	}
	#solochildgrid > div:nth-of-type(1) > div:nth-of-type(1) {
		width: 80vw;
		padding-left: 10vw;
	}
	#solochildgrid > div:nth-of-type(1) > img{
		width: 80%;
	}
	#solochildgrid > div {
		margin-right: 0;
	}
	header {
		display: none;
	}
	.kid-name.kid-name--solo {
		text-align: center;
		font-size: 2em;
		border-bottom: 1px solid rgba(255, 255, 255, 0.5);
		padding: 10px 0;
	}
	#search_box {
		margin: auto;
		width: 100%;
	}
	.profile-header {
		text-align: center;
	}
	.slider-for--image {
		width: 100%;
		height: auto;
		overflow: hidden;
		margin-left: 15px;
	}
	.info-label {
		text-align: center;
	}
	div.slider-nav {
		position: relative;
		left: 50%;
		transform: translate(-50%);
		margin-left: 0;
	}
	#inquireButton {
		position: relative;
		left: 50%;
		transform: translate(-50%);
	}

	div.pad-left{
		padding-left: 0;
	}

	.label-group {
		width: 100%;
		text-align: center;
		border: 1px solid rgba(0, 0, 0, 0.3);

	}
	iframe, .kid-grid, .learn-more-button {
		position: relative;
		left: 50%;
		transform: translate(-50%);
	}
	div.span9 {
		margin-left: -12px !important;
	}
}