/*
Theme Name: rdarchitect
Theme URI: rdawsonarchitect.co.uk
Author: Shoo Web Development
Author URI: http://www.shoosocialmedia.co.uk
Description: Wordpress theme for R Dawson Architect RIBA Ltd
Version: 0.0.2
Text Domain: rdarchitect
Tags: rdarchitect
*/

body {
	margin: 0;
	word-wrap: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
ul, 
li,
input,
textarea,
label{
	font-family: Arial;
	font-weight: 400;
}

label{
	line-height: 2em;
}

h2 {
	font-size: 2em;
}
h3 {
	font-size: 1.7em;
}
h4 {
	font-size: 1.4em;
}

a,
li,
button{
	text-decoration: none;
}

img {
	max-width: 100%;
	height: auto;
}

.title h1 {
	font-size: 2.5em;
}

/*Grid Layouts*/
.g100, .g98, .g90, .g80, .g73, .g65, .g64, .g48, .g46, .g40, .g32, .g31, .g30, .g29, .g23 {
	display: inline-block;
	float: left;
	position: relative;
}

.g100 {
	width: 100%;
}

.g98 {
	width: 98%;
}
.g90 {
	width: 90%;
}
.g80{
	width: 80%;
}

.g73 {
	width: 73%;
}

.g65 {
	width: 65%;
}

.g64 {
	width: 64%;
}

.g48 {
	width: 48%;
}
.g46 {
	width: 46%;
}
.g40 {
	width: 40%;
}
.g32 {
	width: 32%;
}
.g31 {
	width: 31%;
}
.g30 {
	width: 30%;
}
.g29 {
	width: 29%;
}

.g23 {
	width: 23%;
}

.p20 {
	padding: 20px;
}
.p40 {
	padding: 40px;
}

.container {
	width: 70%;
	margin-left: 15%;
	margin-right: 15%;
	display: inline-block;
}

.fright {
	float: right;
}

/*Margins*/

.mlr1 {
	margin-left: 1%;
	margin-right: 1%;
}
.mlr2 {
	margin-left: 2%;
	margin-right: 2%;
}
.ml2 {
	margin-left: 2%;
}
.mr2 {
	margin-right: 2%;
}
.mlr5{
	margin-left: 5%;
	margin-right: 5%;	
}
.mlr10 {
	margin-left: 10%;
	margin-right: 10%;
}

.mtb10 {
	margin-top: 10px;
	margin-bottom: 10px;
}
.mtb20 {
	margin-top: 20px;
	margin-bottom: 20px;
}
.mtb60 {
	margin-top: 60px;
	margin-bottom: 60px;
}
.mtb120 {
	margin-top: 120px;
	margin-bottom: 120px;
}

.m10p {
	margin: 10px;
}

/*Padding*/

.p10p {
padding: 10px;
}
.p20 {
padding: 20px;
}

.ptb10p {
	padding-top: 10px;
	padding-bottom: 10px;
}
.ptb20 {
	padding-top: 20px;
	padding-bottom: 20px;
}
.ptb60 {
	padding-top: 60px;
	padding-bottom: 60px;
}
/*Flex*/
.flex {
	display: flex;
	align-items: center;
}
.flex-col{
	flex: 1;
}
.flex-col.logo {
	max-width: 320px;
}
/* Colours */

.offwhite{
	background-color: #f1f1f1;
}
.black {
	background-color:#0a0a0a;
	color: #fff;
}
.darkgrey {
	background-color:#365f90;
	color: #fff;
}

/*Navigation*/
.topmenu {
	text-align: left;
}
.mainmenu {
	text-align: right;
}

.mainmenu a {
	font-size: 24px;
}

.navigation.mainmenu ul li a {
	transition: color 0.75s;
}
.navigation.mainmenu ul li a:hover {
	color: #EBE9E1;
	transition: color 0.75s;
}

.topmenu a {
	font-size:14px;
	margin-top: 5px;
	margin-bottom: 5px;
}

.navigation a{
	color: #fff;
	text-decoration: none;
}

.navigation ul{
	margin: 0;
}

.navigation ul li {
	display: inline-block;
	list-style-type: none;
	padding: 10px;
}

.sub-menu {
  display: none;
  position: absolute;
  background-color: #0a0a0a;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  padding: 12px 16px;
  z-index: 1;
}

.menu-item:hover .sub-menu {
  display: block;
}

.navigation ul li ul li {
  display: block;
  float: none;
}
.center {
	text-align: center;
}
.header {
	background-color: #264264;
	color: #fff;
	text-align: center;
}
#header_logo {
	max-height: 85px;
}
#banner_logo {
	max-height: 200px;
}


.feed .post:nth-child(even) {
	background-color: #f1f1f1;
}
.feed .post:nth-child(even) .thumb {
	float: right;
}
.feed .post:nth-child(even) .content {
	float: left;
}
.footer {
	color: #fff;
	background-color:#264264;
	text-align: center;
}
.footer ul {
    list-style-type: none;
    padding-inline-start: 0px;
}
.footer a {
	color: #EBE9E1;
	transition: color 1s;
}
.footer a:hover {
	color: #fff;
	transition: color 1s;	
}

.footer .bottom{
	background-color: #333;
	text-align: center;
	font-size: 12px;
}
/*Contact Forms*/
textarea,
input {
	width: 99%;
	font-size: 1.2em;
}
textarea {
	height:100px;
}

input {
	padding-top: 10px;
	padding-bottom: 10px;
}

input[type="submit" i] {
	border-radius: 0px;
	cursor: pointer;
	max-width:100%;
	color: #000;
	background-color: #f7f7f7;
	transition: background-color 1s;
	border: none;
	margin: 0;
	padding: 15px;
	font-weight: 800;
	font-size: 1em
}
input[type="submit" i]:hover {
	background-color: #d7d7d7;
	transition: background-color 1s;
}

/*Home Page Specific*/
.homebanner {
    height: auto;
    background-position: center;
    background-size: cover;
}
.blogbanner {
    height: 50vh;
    background-position: center;
    background-size: cover;
}
.whiteoverlay {
	background-color: rgba(255,255,255,0.75);
	height: 100%;
}
.homecontent{
    background-position: center;
    background-size: cover;
	background-attachment: fixed;
}
.homecontent .container{
	background: rgba(255,255,255,0.8);
}
.blogbanner img,
.homebanner img {
	max-width: 100%;
	height: auto;
	margin-bottom: -4px;
}

.infosection button,
.pagination button,
.post button,
.homebanner button {
	border-radius: 0px;
}
.tagline,
.title{
	text-align: left;
	min-height: 100%;
}
.tagline h2 {
	font-size: 2.5em;
}
.tagline p {
	font-size: 1.1em;
}
.ctacontainer {
	text-align:center;
	max-width: 300px;
	font-size: 0px;
	cursor: pointer;
	margin-left: auto;
    margin-right: auto;
}
.ctaimg{
	max-width: 100%;
	display: inline-block;
	transition: transform 1s;
}
.ctacontainer:hover .ctaimg {
	transition: opacity 1s;
	transform: scale(1.2);
	transition: transform 1s;
}
.ctacontainer:hover .ctabutton {
	background-color: #264264;
	transition: background-color 1s;
}


button {
	cursor: pointer;
	max-width:100%;
	color: #fff;
	background-color: #365f91;
	transition: background-color 0.5s;
	border: none;
	margin: 0;
	padding: 10px;
	font-weight: 800;
	font-size: 1em;
	margin-bottom: 20px;
}
button:hover {
	background-color: #264264;
	transition: background-color 0.5s;
}

.ctabutton {
	font-size:20px;
	width: 300px;
}

.bannerbutton{
	background-color: #0F75BC;
	font-size:20px;
	padding: 10px 30px;
}

.black button,
.darkgrey button {
	color: #0a0a0a;
	background-color: #EBE9E1;
}
.black button:hover,
.darkgrey button:hover,
.black .ctacontainer:hover .ctabutton,
.darkgrey .ctacontainer:hover .ctabutton{
	background-color: #fff;
	transition: all 0.5s;
	color: #0a0a0a;
}

.left {
	text-align: left;
}
.right {
	text-align: right;
}
.nooverflow {
	overflow:hidden;
}
.ctacontainer .nooverflow {
	max-height: 200px;
}

@media screen and (max-width: 1439px) {
	
	.container {
		width: 90%;
		margin-left: 5%;
		margin-right: 5%;
}
@media screen and (max-width: 768px) {
	
	.tagline{
		text-align: center;
	}
	.mtb60 {
		margin-bottom: 30px;
		margin-top: 30px;
	}
	.mtb120 {
		margin-bottom: 60px;
		margin-top: 60px;
	}
	.infosection .container {
		display: flex;
		flex-direction: column;
	}
	.infosection .right {
		text-align: left;
	}
	.infosection .image {
		order: 1;
	}
	.infosection .text {
		order: 2;
	}
	.infosection .g40 {
		width: 90%;
	}
	.infosection button {
		width: 100%;
	}
	
	.g31, .g32, .g48, .g64 {
		width: 98%;
	}
	.g29, .g30 {
		width: 96%;
	}
	.g40 {
		width: 90%;
	}
	.portfoliogrid h2 {
		font-size: 1.5em;
	}
	.tagline h2 {
		font-size: 2em;
	}
}
