/*
Theme Name: Riant Connections
Theme URI: http://www.riantconnections.nl
Description: Riant Connections
Version: 3.0.4.
Author: Webstudio toen & nu
Author URI: http://webstudiotoenennu.nl
*/

/* Layout for desktop version */

html {
	color: rgb(90,90,90);
	background: url(images/beeldmerk.png) no-repeat bottom center; 
}

.container {
	position: relative;
}

.row {
	margin-bottom: 60px;
}

#logo {
	margin-top: 30px;
}

#nav-main ul {
	overflow: hidden;
	list-style-type: none;
}

#nav-main ul li {
	float: left;
	display: inline;
	border-bottom: 2px solid #c8e5f3;
	margin-right: 9%;
}

#nav-main ul li a {
	display: block;
	color: rgb(90,90,90);
	text-decoration: none;
	text-align: center;
	padding-top: 30px;
}

#nav-main ul li:hover, #nav-main ul li.current_page_item, #nav-main ul li.current_page_ancestor {
	background: url(images/nav-main-li.png) no-repeat center top;
}

#overview-diensten {
	position: relative;
	overflow: hidden;
	height: 510px;
	display: inline;
}

.teaser {
	font-size: 13px;
	color: rgb(255, 255, 255);
	padding: 0 20px 20px 20px;
	background: #99BAC9;
	height: 140px;
	font-weight: bold;
}

#overview-diensten h1 {
	position: absolute;
	width: 120px;
	height: 55px;
	top: 0px;
	left: 300px;
	background: url(images/h-diensten.png) no-repeat;
	text-indent: -9999px;
}

.yui-nav {
	float: left;
	width: 500px;
	height: 510px;
	background: #fafafa url(images/beeldmerk-diensten.png) no-repeat right bottom;
}

.yui-nav li.selected {
	background: rgb(153,186,201);
}

.yui-nav li.selected a {
	color: rgb(255,255,255);
}

.yui-nav li {
	font-weight: 100;
	padding: 15px 5px 15px 20px;
	height: 140px;
	list-style-type: none;
}

.yui-nav li a {
	color: rgb(0,0,0);
	text-decoration: none;
	font-size: 26px;
}

.yui-nav li span {
	padding-top: 10px;
	font-weight: normal;
	color: rgb(75,75,75);
	display: block;
	font-size: 13px;
}

.yui-content {
	float: left;
	display: block;
	width: 437px;
	height: 450px;
}

.yui-content div {
	background: rgb(153,186,201);
	padding: 20px;
	height: 330px;
}

.yui-content div img {
	margin-top: 43px;
}

#signup-newsletter {
	position: relative;
	font-size: 13px;
	background: #e12d40;
	color: rgb(255,255,255);
}

#signup-newsletter-page {
	position: relative;
	font-size: 13px;
	background: #e12d40;
	color: rgb(255,255,255);
	padding: 15px;
}

#signup-newsletter-page .mc_custom_border_hdr, #signup-newsletter-page #mc_signup {
	padding: 15px;
}

#signup-newsletter-page .mc_form_inside {
	margin-bottom: 20px;
}

#signup-newsletter h2, #signup-newsletter-page h2 {
	position: absolute;
	background: url(images/h-nieuwsbrief.png) no-repeat;
	width: 120px;
	height: 55px;
	left: 15px;
	top: 0;
	text-indent: 9999px;
}

.mc_custom_border_hdr {
	margin-top: 53px;
	margin-bottom: 20px;
	font-weight: bold;
	padding-left: 15px;
}

.mc_form_inside {
	margin: 15px;
}

.mc_merge_var {
	float: left;
	margin-right: 10px;
	width: 120px;
}

.mc_merge_var input {
	width: 100px;
}

.latest-projects-content {
	border-right: 1px solid #bfb9b2;
}

.latest-projects-content.sixcol.last {
	border: none;
}

.latest-projects-content.sixcol.last {
	padding-top: 55px;
}

.latest-projects-content h3, .short-news-aside h3 {
	margin-bottom: 30px;
}

.latest-project, .latest-news-summery {
	overflow: hidden;
	margin-bottom: 20px;
	font-size: 12px;
}

.latest-project h4, .latest-news-summery h4 {
	margin-bottom: 15px;
}

.latest-project h4 a, .latest-news-summery h4 a {
	color: #e12d40;
	text-decoration: none;
}

.latest-project h4 a:hover, .latest-news-summery h4 a:hover {
	text-decoration: underline;
}

.latest-project img, .latest-news-summery img {
	float: left;
	width: 198px;
	margin: 0 15px 15px 0;
	display: inline;
}

/* LATEST NEWS */

.latest-news-wrapper {
	padding: 30px 0;
	margin-bottom: 60px;
	background-color: #cdcccc;
}

.latest-news-wrapper p {
	color: rgb(0,0,0);
}

.latest-news-wrapper .row {
	margin-bottom: 0;
}

.date-published {
	display: block;
	height: 15px;
	font-size: 10px;
	background: url(images/time.png) no-repeat;
	padding-left: 20px;
	color: #4C4C49;
	margin-bottom: 10px;
}

.more-link {
	display: block;
	color: #E12D40;
}

.short-news-aside img {
	float: none;
}

.short-news-aside {
	border-left: 1px solid #BFB9B2;
}

#nav-entry {
	overflow: hidden;
}

#nav-hentry-vorige {
	float: left;
	margin: 15px 0 13px 15px;
	display: inline;
}

#nav-hentry-volgende {
	float: right;
	margin: 15px 15px 13px 0;
	display: inline;
}

.main-article time {
	margin-bottom: 20px;
}

#diensten-page {
	border-bottom: 1px solid #bfb9b2;;
}

#diensten-page h1, #projecten-overzicht-page h1, #regular-page h1 {
	margin-bottom: 30px;
}

#diensten-page h3, #projecten-overzicht-page h3, #regular-page h3 {
	margin-bottom: 20px;
	font-weight: normal;
}

.dienst {
	padding-bottom: 50px;
}

.dienst h2 {
	margin-bottom: 30px;
	color: #1595d4;
}

.dienst p, #projecten-overzicht-info p, #regular-page p {
	margin-bottom: 20px;
}

.dienst ul, #projecten-overzicht-info ul, #regular-page ul {
	margin: 20px 0 20px 15px;
}

.dienst a, #projecten-overzicht-info a, #regular-page a, .latest-news-summery a {
	color: #E12D40;
}

.dienst a:hover, #projecten-overzicht-info a:hover, #regular-page a:hover {
	text-decoration: none;
}

#projecten-overzicht-page {
	margin-bottom: 80px;
}

#projecten-overzicht-page-container {
	overflow: hidden;
	background: #e5e6e6;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

#project-item-overzicht-page-container {
	overflow: hidden;
	background: #e5e6e6;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

#projecten-overzicht {
	position: relative;
	z-index: 1;
	-webkit-box-shadow: rgb(150,150,150) 0px 3px 4px;
	-moz-box-shadow: rgb(150,150,150) 0px 3px 4px;
	float: left;
	width: 588px;
	padding: 18px;
	background: #bccad1;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

#projecten-overzicht-info {
	background: #e5e6e6;
	float: right;
	width: 30%;
	padding: 2%;
	-webkit-border-top-right-radius: 5px;
	-webkit-border-bottom-right-radius: 5px;
	-moz-border-radius-topright: 5px;
	-moz-border-radius-bottomright: 5px;
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
}

#projecten-overzicht-info .latest-project-info {
	border-top: 1px solid #5A5A5A;
	font-size: 11px;
	line-height: 13px;
	padding-top: 10px;
}

#projecten-overzicht-info .latest-project-info p {
	margin: 0;
}

#projecten-overzicht-info h5 {
	margin-bottom: 15px;
}

#project-afbeelding {
	position: relative;
	margin-top: 20px;
}

#project-afbeelding-container ul {
	width: 100%;
	overflow: hidden;
}

#project-afbeelding-container ul li {
	list-style-type: none;
	width: auto;
	height: 400px;
}

#project-afbeelding #prevBtn a {
	position: absolute;
	width: 31px;
	height: 46px;
	top: 170px;
	left: 20px;
	background: url(images/pijl-vorige.png) no-repeat;
	text-indent: -9999px;
}

#project-afbeelding #nextBtn a {
	position: absolute;
	width: 31px;
	height: 46px;
	top: 170px;
	right: 20px;
	background: url(images/pijl-verder.png) no-repeat;
	text-indent: -9999px;
}

#regular-page {
	min-height: 500px;
}

#naw {
	color: #0056a3;
	font-size: 12px;
	text-align: right;

}

footer.row {
	margin-bottom: 10px;
}

footer a {
	color: #0056a3;
}

span.tel {
	display: block;
}

.onecol, .twocol, .threecol, .fourcol, .fivecol, .sixcol, .sevencol, .eightcol, .ninecol, .tencol, .elevencol {
}

/* CONTACT */

.wpcf7 .label-desc {
	display: block;
	font-style: italic;
}

.wpcf7 label {
	display: block;
	margin-bottom: 10px;
}

.wpcf7 form img {
	display: block;
}

.wpcf7 input, .wpcf7 textarea {
	padding: 9px 7px 10px 7px;
	width: 296px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	margin-bottom: 8px;
	background-color: white;
	border: 1px solid rgb(200,200,200);
}

.wpcf7 .submit-button {
	display: block;
	width: 150px;
	color: rgb(255,255,255);
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	background: #e12d40 !important;
	-webkit-box-shadow: 0 -1px 0 rgba(0,0,0,.3),inset 0 1px 2px rgba(0,0,0,.2);
	-moz-box-shadow: 0 -1px 0 rgba(0,0,0,.3),inset 0 1px 2px rgba(0,0,0,.2);
	box-shadow: 0 -1px 0 rgba(0,0,0,.3),inset 0 1px 2px rgba(0,0,0,.2);
	padding: 9px 7px 10px 7px;
	text-align: center;
	font-size: 18px;
	text-decoration: none;
	border: none;
}

.wpcf7-mail-sent-ok {
	font-weight: bold;
}

.wpcf7-not-valid-tip, .screen-reader-response, .wpcf7-response-output {
	padding-left: 10px;
	color: red;
}

/* QUICKSCAN */

input[type="radio"], input[type="checkbox"] {
	width: 30px;
}

.wpcf7-list-item {
	display: block;
}

/* BUTTON AKTIE */

.button2 {
	position: absolute;
	z-index: 100;
        right: 50px;
	top: 100px;
	width: 150px;
	height: 150px;
	border-radius: 50%;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	-o-border-radius: 50%;
	color: #fff;
	background-color: #e12d40;
	background-color: rgba(225,45,64,0.7);
}

.button2 span {
	font-size: 18px;
}

.button2 a {
	color: #fff;
	text-decoration: none;
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	width: 150px;
	height: 150px;
}

/* Layout for 767 till 1023px */

/* iPads (portrait) ----------- */
@media only screen and (min-width : 768px) and (max-width : 1023px) {

#projecten-overzicht-page-container #projecten-overzicht {
	width: 100%;
}

#projecten-overzicht-page-container #projecten-overzicht-info {
	display: none;
}

#project-item-overzicht-page-container #projecten-overzicht {
	margin-bottom: 30px;
	float: none;
}

#project-item-overzicht-page-container #projecten-overzicht-info {
	width: 96%;
	float: none;
}

.button2 {
	top: 130px;
	width: 125px;
	height: 125px;
}

.button2 a {
	width: 125px;
	height: 125px;
}

.button2 span {
	font-size: 14px;
}

}

/* Layout for mobile version */

@media handheld, only screen and (max-width: 767px) {

#nav-main ul li:hover, #nav-main ul li.current_page_item, #nav-main ul li.current_page_ancestor {
	font-weight: bold;
	background: none;
}

.teaser {
	display: none;
}

#overview-diensten h1 {
	position: relative;
	background: none;
	top: 25px;
	left: 20px;
	text-indent: 0;
}

#signup-newsletter h2 {
	position: relative;
	background: none;
	top: 0;
	left: 0;
	text-indent: 0;
}

#signup-newsletter {
	background: transparent;
	color: rgb(90,90,90);
}

.mc_merge_var {
	float: none;
	padding: 0;
}

.mc_custom_border_hdr, .mc_form_inside {
	margin: 0;
	padding: 0;
}

.yui-content {
	display: none;
}

#overview-diensten {
	width: 100%;
}

.yui-nav {
	width: 100%;
	margin-bottom: 30px;
	height: 700px;
}

.yui-nav li {
	height: 200px;
}

/* SIGN UP */

/* SIGN UP REGULAR PAGE */

#signup-newsletter-page {
	background: transparent;
	color: #5A5A5A;
	width: 100%;
	height: auto;
}

.latest-projects-content.sixcol.last {
	padding-top: 0;
}

#projecten-overzicht-page-container #projecten-overzicht-info {
	display: none;
}

#projecten-overzicht-page-container {
	width: 100
}

#projecten-overzicht-page-container #projecten-overzicht {
	width: 92%;
	padding: 4%;
}

/* PROJECT PAGINA */

.latest-project img, .latest-news-summery img {
	float: none;
	display: block;
}

project-item-overzicht-page-container {
	width: 92%;
}

#project-item-overzicht-page-container #projecten-overzicht {
	width: 92%;
	margin-bottom: 30px;
	padding: 4%;
	float: none;
}

#project-item-overzicht-page-container #projecten-overzicht-info {
	width: 96%;
	float: none;
}

#project-afbeelding-container {
	width: 100%;
	height: auto !important;
}

#project-afbeelding-container ul {
	width: auto !important;
}

#project-afbeelding-container ul li {
	height: auto !important;
	float: none !important;
}

#prevBtn, #nextBtn {
	display: none;
}

#naw {
	text-align: left;
	margin-top: 25px;
}

.button2 {
	font-size: 70%;
	top: 300px;
	width: 125px;
	height: 125px;
}

.button2 a {
	width: 125px;
	height: 125px;
}

.button2 span {
	font-size: 14px;
}

}


/* Provide higher res assets for iPhone 4 */

@media only screen and (-webkit-min-device-pixel-ratio: 2) { 

/* An example of how to override an image with one twice the size for iPhone 4. Specify the original pixel size with background-size.
.download {
background: url(../img/downarrow@2x.png) no-repeat;
background-size: 27px 28px;
}
*/

}