/*
Theme Name: ryanresources
Theme URI: http://studiosimplex.com
Author: studiosimplex
Author URI: http://studiosimplex.com
Description:Thank you for using ryanresources.
Version: 1.0
Text Domain: ryanresources

ryanresources WordPress Theme © 2016 studiosimplex

*/

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{font-size:100%;font:inherit;padding:0;border:0;margin:0;vertical-align:baseline}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}table{border-collapse:collapse;border-spacing:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}.clear{clear:both}
.sticky{}.bypostauthor{}.wp-caption{}.wp-caption-text{}.gallery-caption{}.alignright{}.alignleft{}.aligncenter{}.screen-reader-text{clip:rect(1px, 1px, 1px, 1px);position:absolute !important}

.clearfix{clear: both;}
.noshow{display: block;}
.show{display: block;}
.arrow{display: none;}

#p404 {
    padding-top: 50px;
    padding-bottom: 50px;
    line-height: 70px;
}
#p404, #p404 h1 {
    text-align: center;
}
#p404 a:link, #p404 a:visited {
    background-color: rgba(28,204,157,0.7);
    color: white;
    padding: 0px 14px;
    text-align: center;	
    text-decoration: none;
    display: inline-block;
}
#p404 a:hover, #p404 a:active {
    background-color: rgba(28,204,157,1);
}

/*colours*/
.rgbmix {
background: rgba(28,204,157,1);
background: -moz-linear-gradient(left, rgba(28,204,157,1) 0%, rgba(83,133,177,1) 100%);
background: -webkit-gradient(left top, right top, color-stop(0%, rgba(28,204,157,1)), color-stop(100%, rgba(83,133,177,1)));
background: -webkit-linear-gradient(left, rgba(28,204,157,1) 0%, rgba(83,133,177,1) 100%);
background: -o-linear-gradient(left, rgba(28,204,157,1) 0%, rgba(83,133,177,1) 100%);
background: -ms-linear-gradient(left, rgba(28,204,157,1) 0%, rgba(83,133,177,1) 100%);
background: linear-gradient(to right, rgba(28,204,157,1) 0%, rgba(83,133,177,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1ccc9d', endColorstr='#5385b1', GradientType=1 );
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignright {
    float: right;
    margin: 0.5em 1em 0.5em 0;
}
.alignleft {
    float: left;
    margin: 0.5em 1em 0.5em 0;
}

img {
    height: auto;
    max-width: 100%;
}

/*body*/
body {
	margin-right: 5px;
	margin-left: 5px;
}

/*header, menu, links*/

#header{
    padding-left: 12%;
    padding-right: 12%;
    margin: 0 auto;
    max-width: 900px;
}
#top_bar {
	height: 15px;
	margin-top: 10px;
}
#logo {
	float: left;
}
#menu {
	float: left;
	margin-left:50px;
	margin-top:60px;
	font-weight: 700;
}
li {
	float: left;
	margin-right: 40px;
}
ul {
	list-style-type:none;
}
a {
	//display: inline-block;
	text-decoration: none;
	color:#706f6f;
}
a:hover {
	color:#1CCC9C;
}

/*main page & sections*/
section #slider div {
	margin: 0;
}
.section-content {
	 margin: 0 auto;
	padding-left: 12%;
	padding-right: 12%;
	max-width: 900px;
}
section .entry-content .section_light {
	background-color: white;
}
section .entry-content .section_dark {
	background-color: #ededed;
}
section .entry-content .section_dark, section .entry-content .section_light {
	padding-top: 15px;
	padding-bottom: 15px;
} 
.section_dark div, .section_light div, .section_dark p, .section_light p{
	padding-top: 5px;
} 
.section_light div, .section_dark div {
	margin-top: 5px;
	margin-bottom: 5px;
}
.clients img {
    margin: 0;
	width:220px;
}

.underline {
	height: 1px;
	width:800px;
	position: relative;
	margin: 0 auto;
	padding: 0 !important;
}
section h2 {
	text-align: center;
}
#page-arrow{
	position:fixed;
	cursor: pointer;
        top: 50px;
        right:5%;
}

/*footer*/
#footer {
	text-align: center;
	height: 140px;
}
#footer_bar img {
	width: 100%;
}

/*typeography*/
body,
button,
input,
select,
textarea {
	color: #706f6f;
	/* Improving font rendering in Linux, in case default Open Sans font is disabled */
	font-family: 'Quicksand', sans-serif;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.8; /* original: 1.714285714 */
	text-rendering: optimizeLegibility;
}
body.custom-font-enabled {
	/* Improving font fallback in Linux */
	font-family: "Open Sans", Verdana, Geneva, "DejaVu Sans", sans-serif;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-weight: bold;
	margin: 0;
	text-align: left;
}
dfn,
cite,
em,
i {
	font-style: italic;
}

#mobile-menu {
	display: none;
}
#mobile-menu-close {
	display: none;
}

@media screen and (max-width: 1050px) {
#header{
    padding: 0;
    max-width: 100%;
}
}

@media screen and (max-width: 800px) {
.noshow{display: none;}
.show{display: block;}
#mobile-menu span img{
	width: 22px;
}
#mobile-menu{
	display: block;
    background-color: rgba(246, 254, 253, 1);
}
#mobile-menu-close {
  position: absolute;
  top: 0px;
  right: 0;
}
#menu {
  margin-left:0px;
  margin-top:0px;
  width: 100%;
  position: relative;
  text-align: center;
}
.menu a {
  width:100%;
}
.menu-item li {
  background-color: blue;
}
#mobile-menu span {
  float: left;
}
#mobile-menu-close {
  display: none;
}
li {
  clear:both;
 	width:100%;
}
section .entry-content .underline {
	width:100%;
}
}