/*   
Theme Name: Ruby Theme
Theme URI: http://www.hand-design.co.uk/ruby
Description: Custom Theme for Ruby Turner
Author: Dean Hand
Author URI: http://www.hand-design.co.uk
Version: 1
*/


.light {
  font-weight: 300;
}
.regular {
  font-weight: 400;
}
.bold {
  font-weight: 700;
}
.extrabold {
  font-weight: 800;
}
.sectionPadding {
  padding: 48px 0;
}
.marginBottom {
  margin-bottom: 24px;
}
.sidePadding {
  padding-left: 12px;
  padding-right: 12px;
}
html {
 	margin-top: 0px; 
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
}
a:link, a:visited {
  color: #c73d3d;
  -webkit-transition: all 0.15s linear;
  -moz-transition: all 0.15s linear;
  -o-transition: all 0.15s linear;
  -ms-transition: all 0.15s linear;
  transition: all 0.15s linear;
}
a:hover {
  text-decoration: none;
  -webkit-transition: all 0.15s linear;
  -moz-transition: all 0.15s linear;
  -o-transition: all 0.15s linear;
  -ms-transition: all 0.15s linear;
  transition: all 0.15s linear;
}
p {
  line-height: 160%;
  font-weight: 300;
}
h1,
h2,
h3,
h4,
h5 {
  margin: 0 0 10px 0;
  line-height: 140%;
}
h1 {
  font-size: 5em;
  font-weight: 800;
  color: #c08d51;
  text-transform: uppercase;
}
h2 {
  font-size: 2.5714285714285716em;
  font-weight: 800;
  text-transform: uppercase;
  color: #c73d3d;
  margin-left: 2px;
}
h4 {
  padding-bottom: 12px;
  border-bottom: 1px solid #412f2d;
  margin-bottom: 12px;
}
/* ===== NAVIGATION ===== */
.logo { 
  color: white;
  text-transform: lowercase;
  font-weight: 400;
  font-size: 2rem;
}

.sub-logo {
  color: white;
  font-size: 1rem;
  line-height: 1;
  display: inline-block;
}
	
.logo-wrap form {
  display: inline-block;
}
	
.logo-wrap button {
  border-radius: 15px;
  background: black;
  color: white;
  border: 1px solid white;
  padding: 5px 15px;
  transition: background linear 0.15s, color linear 0.15s;
}
		
.logo-wrap button:hover {
  background: white;
  color: black;		
}

#main-nav>.container { width: 100%;
}
  
#menu-main-nav-menu { 
  margin: 8px 0 0 0;
  text-align: right;
}

nav ul li {
  list-style: none;
  display: inline-block;
  color: white;
}
nav ul li a {
  position: relative;
  color: white !important;
}
nav ul li a:after {
 	position: absolute;
  	content: '';
    width: 0%;
  	height: 100%;
  	left: 50%;
  	border-bottom: 1px solid white;
  	-webkit-transition: all 0.15s linear;
	-moz-transition: all 0.15s linear;
	-o-transition: all 0.15s linear;
	-ms-transition: all 0.15s linear;
	transition: all 0.15s linear;
}
nav ul li a:hover:after {
  width: 100%;
  left: 0%;
  -webkit-transition: all 0.15s linear;
	-moz-transition: all 0.15s linear;
	-o-transition: all 0.15s linear;
	-ms-transition: all 0.15s linear;
	transition: all 0.15s linear;
}
nav ul li a:link,
a:visited {
  margin: 0 20px;
  color: white;
}
nav ul li a:hover {
  color: white;
  -webkit-transition: all 0.15s linear;
  -moz-transition: all 0.15s linear;
  -o-transition: all 0.15s linear;
  -ms-transition: all 0.15s linear;
  transition: all 0.15s linear;
}
nav ul .current_page_item a:link {
  border-bottom: 1px solid white;
  color: white;
  -webkit-transition: all 0.15s linear;
  -moz-transition: all 0.15s linear;
  -o-transition: all 0.15s linear;
  -ms-transition: all 0.15s linear;
  transition: all 0.15s linear;
}
nav select {
  display: none;
}
#top {
  background: black;
}
/* ===== HEADER ===== */
header {
  text-align: center;
  height: 50vh;
}
header video {
  height: 100%;
}
header h2 {
  color: #a81a23;
}
header h3 {
  color: #ffffff;
}
header p {
  color: #ffffff;
}
#red {
  color: #c73d3d;
}
/* ===== MAIN BODY ===== */
#newsletter {
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
  padding: 8px;
  margin: 17px 0;
  display: block;
  background-color: rgba(73, 63, 63, 0.12);
  text-transform: uppercase;
  font-size: 18px;
}
}
#home-section {
  background-image: url(images/ruby-full.png);
  background-repeat: no-repeat;
  background-position: 71%;
  background-size: 21%;
}
section p a:link {
  color: #c73d3d;
}
section p a:visited {
  color: #c73d3d;
}
section p a:hover {
  color: #28beef;
}
#social a {
  cursor: pointer;
}
#social img {
  margin: 5px 12px;
}
.find-item {
  border-bottom: 1px solid #412f2d;
  margin-bottom: 12px;
  background-color: rgba(255, 255, 255, 0.36);
  padding: 10px;
}
iframe {
  width: 100%;
}
.news {
  margin-bottom: 12px;
  background-color: rgba(255, 255, 255, 0.36);
  padding: 10px;
  border-bottom: 1px solid #412f2d;
}
/* ==== PAGE ===== */
#page-header {
  padding-bottom: 24px;
  background-image: url(images/ruby_6795b.png);
  background-position: bottom right;
  background-repeat: no-repeat;
  background-size: auto 100%;
}
#buyFrom img{ 
	margin-bottom: 40px;
}
/* ===== FOOTER ===== */
footer .container {
  height: 48px;
  padding-top: 12px;
  border-top: 1px solid #000000;
}
footer a:link,
a:visited {
  color: #000000;
  font-weight: 300;
}
footer a:hover {
  color: #28beef;
  -webkit-transition: all 0.15s linear;
  -moz-transition: all 0.15s linear;
  -o-transition: all 0.15s linear;
  -ms-transition: all 0.15s linear;
  transition: all 0.15s linear;
}
/* ===== RESPONSIVE (above CSS is 1200px and above) ===== */
/* ===== desktop ===== */
@media (max-width: 1199px) {
  nav ul li a:link {
    margin: 0 16px;
  }
  #home-section {
    background-size: 37%;
  }
}
/* ===== tablet ===== */
@media (max-width: 979px) {
  .logo-wrap.span3 {
	text-align: center;
    width: 100%;
  }
  nav {
	display: block;
	margin-bottom: 45px;
  }
  nav select {
    display: inline-block;
    width: 90%;
    margin: 0 5%;
    margin-top: -40px;
  }
  nav ul {
    display: none;
  }
  header h2 {
    margin-top: 35px;
  }
  #home-section {
    background-size: 37%;
    background-position: 91%;
  }
  header {
  	height: auto;
  }
  header video {
	max-width: 90vw;
	height: auto;
  }
}
/* ===== phone ===== */
@media (max-width: 767px) {
  body {
    padding-left: 0;
    padding-right: 0;
  }
  nav {
    margin-bottom: 45px;
  }
  header {
    background-size: auto 85%;
    margin-top: -48px;
  }
  header h2 {
    margin-top: -50px;
  }
  header h1,
  h2,
  p {
    padding-left: 15px;
    padding-right: 15px;
  }
	#page-header h1 {
		padding-top: 40px;
	}
#page-header h2 {
		padding-top: 40px;
	}
	#page-header .btn {
		display:none;
	}
  #home-section {
    text-align: center;
    background-size: 100%;
    background-position: top;
  }
  #newsletter {
    display: block;
  }
  footer {
    text-align: center;
  }
  footer #hd {
    text-align: center;
    display: block;
  }
}
@media (max-width: 640px) {
  header {
    background-size: auto 72%;
  }
}
@media (max-width: 538px) {
  header h1 {
    font-size: 3.929em;
    text-align: center;
  }
  header h2 {
    text-align: center;
  }
  header {
    background-size: auto 100%;
  }
  header p {
    text-align: center;
    margin-top: -25px;
    padding-bottom: 40px;
  }
  header .btn {
    display: block;
    margin-top: 50px;
    position: absolute;
  }
  header audio {
    text-align: center;
    display: block;
    margin-top: 50px;
    position: absolute;
  }
}
@media (max-width: 435px) {
  header {
    background-size: auto 65%;
  }
 #buyHome {
 	margin-left: 25%;
margin-top: -51px; 
}
}

