/*   
Theme Name: RSVP
Description: RSVP website
Author: Odvod Media
Version: 1
*/

/* fonts
-------------------------------------------------------------------------------*/

@font-face {
	font-family: 'marcellusregular';
	src: url('css/fonts/marcellus-regular-webfont.woff2') format('woff2'),
			 url('css/fonts/marcellus-regular-webfont.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'open_sansbold';
	src: url('css/fonts/opensans-bold-webfont.woff2') format('woff2'),
			 url('css/fonts/opensans-bold-webfont.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'open_sansregular';
	src: url('css/fonts/opensans-regular-webfont.woff2') format('woff2'),
			 url('css/fonts/opensans-regular-webfont.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

/* default
-------------------------------------------------------------------------------*/

html, body, body div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, hgroup, menu, nav, section, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	vertical-align: baseline;
	background: transparent;
}									

article, aside, figure, footer, header, hgroup, nav, section {display: block;}

/* Responsive images and other embedded objects
   Note: keeping IMG here will cause problems if you're using foreground images as sprites, like, say for Google Maps custom placemarkers. 
   There has been a report of problems with standard Google maps as well, but we haven't been able to duplicate or diagnose the issue. */
img,
object,
embed {width: 100%; height:auto}

/* force a vertical scrollbar to prevent a jumpy page */
html {overflow-y: scroll;}

/* we use a lot of ULs that aren't bulleted. 
	don't forget to restore the bullets within content. */
ul {list-style: none;}

blockquote, q {quotes: none;}

blockquote:before, 
blockquote:after, 
q:before, 
q:after {content: ''; content: none;}

a {margin: 0; padding: 0; font-size: 100%; vertical-align: baseline; background: transparent; text-decoration:none; transition: all .4s; -moz-transition: all .4s; -webkit-transition: all .4s; -o-transition: all .4s; }
a:hover{ text-decoration:none}

del {text-decoration: line-through;}

abbr[title], dfn[title] {border-bottom: 1px dotted #000; cursor: help;}

/* tables still need cellspacing="0" in the markup */
table {border-collapse: collapse; border-spacing: 0;}
th {font-weight: bold; vertical-align: bottom;}
td {font-weight: normal; vertical-align: top;}

h1,h2,h3,h4,h5,h6{ font-weight:400}

hr {display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0;}

input, select {vertical-align: middle;}

pre {
	white-space: pre; /* CSS2 */
	white-space: pre-wrap; /* CSS 2.1 */
	white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
	word-wrap: break-word; /* IE */
}

input[type="radio"] {vertical-align: text-bottom;}
input[type="checkbox"] {vertical-align: bottom; *vertical-align: baseline;}
.ie6 input {vertical-align: text-bottom;}

select, input, textarea {font: 99% sans-serif;}

table {font-size: inherit; font: 100%;}
 
/* Accessible focus treatment
	people.opera.com/patrickl/experiments/keyboard/test */
a:hover, a:active {outline: none;}

small {font-size: 85%;}

strong, th {font-weight: 500;}

td, td img {vertical-align: top;} 

/* Make sure sup and sub don't screw with your line-heights
	gist.github.com/413930 */
sub, sup {font-size: 75%; line-height: 0; position: relative;}
sup {top: -0.5em;}
sub {bottom: -0.25em;}

/* standardize any monospaced elements */
pre, code, kbd, samp {font-family: monospace, sans-serif;}

/* hand cursor on clickable elements */
.clickable,
label, 
input[type=button], 
input[type=submit], 
button {cursor: pointer;}

/* Webkit browsers add a 2px margin outside the chrome of form elements */
button, input, select, textarea {margin: 0;}

/* make buttons play nice in IE */
button {width: auto; overflow: visible;}
 
/* scale images in IE7 more attractively */
.ie7 img {-ms-interpolation-mode: bicubic;}

/* prevent BG image flicker upon hover */
.ie6 html {filter: expression(document.execCommand("BackgroundImageCache", false, true));}

 canvas { -moz-user-select: none; -webkit-user-select: none; -ms-user-select: none; }

/* let's clear some floats */
.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; overflow: hidden; }  
.clearfix:after { clear: both; }  
.clearfix { zoom: 1; }  

.clear { clear: both; }

.show { display: block !important; }
.hide { display: none !important; }

img { display: block; }
.home img { transition: none; -moz-transition: none; -webkit-transition: none; -o-transition: none; }

.container { position: relative; display: block; }

.left { position: relative; float: left; }
.right { position: relative; float: right; }

a.tel, a.tel:hover, a[href^="tel:"], a[href^="tel:"]:hover { color: #000; cursor: default; }

b, strong { font-family: "open_sansbold", sans-serif; font-weight: 400; }

/*** site styles ***/

html, BODY { height: 100%; }
BODY { background: #fff; font-family: "marcellusregular", sans-serif; font-size: 18px; line-height: 1.3; font-weight: 400; color: #454545; text-align: center; }

h1, h2, h3, h4, h5 { font-family: "marcellusregular", sans-serif; margin: 0; padding: 0; line-height: 1.2; font-weight: 400; }
h1 { font-size: 72px; margin: 0 0 0; color: #454545; }
h3 { font-family: "open_sansbold", sans-serif; font-size: 16px; margin: 0 0 5px; color: #e0a334; text-transform: uppercase; }

p { padding: 0 0 20px; margin: 0; line-height: 1.5; }
p:last-child, p:last-of-type { padding-bottom: 0; }



.site { position: relative; display: block; width: 100%; max-width: 800px; margin: 0 auto; padding: 180px 0 150px; box-sizing: border-box; -moz-box-sizing: border-box; overflow: hidden; z-index: 9999; }
.content-wrapper { position: relative; display: block; padding: 90px 100px 70px; background: #fff; box-sizing: border-box; -moz-box-sizing: border-box; }
.content { position: relative; display: block; width: 100%; text-align: left; }

.content ul, .content ol { margin: 0 0 20px; padding: 15px 0 0; }
.content ul:first-child, .content ol:first-child { padding-top: 0; }
.content ul li, .content ol li { list-style-type: disc; margin: 0 0 5px 20px; padding: 0; line-height: 1.5; }
.content ol li { list-style-type: decimal; }
.content ul ul, .content ol ul, .content ul ol, .content ol ol { margin-bottom: 10px; padding-top: 10px; }
.content p + ul, .content p + ol { margin-top: -20px; }
.content p:last-of-type + ul, .content p:last-of-type + ol { margin-top: 0; }
.content ul:last-of-type, .content ol:last-of-type { margin-bottom: 0; }
.content ul:last-of-type + p, .content ol:last-of-type + p { padding-top: 20px; }
.content p:last-of-type + table { margin-top: 20px; }
.content img { max-width: 100%; width: auto; }
.content a { color: #e0a334; text-decoration: none; }
.content a:hover { color: #454545; text-decoration: none; }




.content h1.page-title { text-align: center; margin-bottom: 20px; }
.content h1.page-title:after { position: relative; display: block; width: 260px; height: 2px; content: ''; background: #e0a334; margin: 0 auto; }

.content .content-text { position: relative; display: block; width: 100%; max-width: 530px; margin: 0 auto; text-align: center; }
.content .content-text strong { font-family: "marcellusregular", sans-serif; font-weight: 400; }

.content hr { border: none; border-bottom: 2px solid #e0a334; padding: 0; margin: 0 0 25px; }

.content .wpcf7 { padding: 40px 0 0; margin: 0; width: 100%; box-sizing: border-box; -moz-box-sizing: border-box; }
.content .wpcf7 p { padding-bottom: 25px; margin: 0; width: auto; line-height: 1.3; }
.content .wpcf7 img { width: auto; }
.content .ajax-loader { background: #FFF; float: left; padding: 2px; margin: 0 10px 0 0; -webkit-border-radius: 15px; -moz-border-radius: 15px; border-radius: 15px; }
.content .wpcf7 label { display: block; font-family: "open_sansbold", sans-serif; font-size: 16px; text-transform: uppercase; margin: 0 0 3px; }
.content .wpcf7 input, .content .wpcf7 select, .content .wpcf7 textarea { font-family: "open_sansregular", sans-serif; font-weight: 400; font-size: 16px; color: #000000; background: #e1e1e1; padding: 10px 20px; width: 100%; border: none; outline: 0; margin: 0; line-height: 1.1; box-sizing: border-box; -moz-box-sizing: border-box; }
.content .wpcf7 textarea { height: 180px; }
.content .wpcf7 select { padding: 5px 10px; width: 60px; margin: 0 10px; }

.content .wpcf7 .checkbox span.wpcf7-list-item { overflow: hidden; }
.content .wpcf7 .checkbox span.wpcf7-list-item input[type="checkbox"] { position: absolute; left: -999px; }
.content .wpcf7 .checkbox span.wpcf7-list-item:after { position: relative; display: block; width: 35px; height: 35px; background: #e1e1e1; content: ''; font-family: "fontello"; font-size: 16px; line-height: 35px; text-align: center; -webkit-border-radius: 50px; -moz-border-radius: 50px; border-radius: 50px; cursor: pointer; }
.content .wpcf7 .checkbox span.wpcf7-list-item.checked:after { background: #e0a334; content: '\e800'; color: #fff; }
.content .wpcf7 .checkbox label { display: inline-block; margin-left: 10px; padding-top: 7px; vertical-align: top; }


.content .wpcf7 h3.guest-title { display: none; margin: 0 0 20px; }
.content .wpcf7 .guest { position: relative; display: none; padding: 0; margin: 0 0 20px; border-bottom: 2px solid #e0a334; }
.content .wpcf7 .guest.last { margin-bottom: 0; border-bottom: none; }



.content .wpcf7 .form-recaptcha .wpcf7-form-control-wrap { border: none; padding: 0; margin: 0 0 20px; }
.content .wpcf7-recaptcha { margin-bottom: 30px; }

.content .wpcf7 input[type="submit"] { display: inline-block; width: auto; color: #fff; font-family: "open_sansbold", sans-serif; font-size: 16px; text-transform: uppercase; line-height: 1; background: #e0a334; padding: 25px 50px; margin: 20px 0 0; text-decoration: none; border: none; outline: 0; transition: all .4s; -moz-transition: all .4s; -webkit-transition: all .4s; -o-transition: all .4s; -webkit-box-shadow: 7px 7px 15px 0px rgba(0,0,0,0.31); -moz-box-shadow: 7px 7px 15px 0px rgba(0,0,0,0.31); box-shadow: 7px 7px 15px 0px rgba(0,0,0,0.31); }
.content .wpcf7 input[type="submit"]:hover { color: #fff; background: #454545; text-decoration: none; }

.content .wpcf7 p.newsletter { line-height: 1.4; padding: 0 0 25px; }
.content .newsletter label { float: left; margin-right: 10px; }
.content .newsletter label input { width: 20px; height: 20px; }

.content .ajax-loader { float: right; }



.content .wpcf7 .wpcf7-checkbox .wpcf7-list-item-label { display: none; }
.content .wpcf7 .newsletter .wpcf7-form-control-wrap { padding: 0; border: none; background: none; }
.content .wpcf7 span.wpcf7-list-item { margin-left: 0; }
.content span.wpcf7-not-valid-tip { padding-top: 10px; }



.footer { position: relative; display: block; width: 100%; padding: 90px 100px; background: #000; box-sizing: border-box; -moz-box-sizing: border-box; }
.footer .footer-logos { position: relative; display: block; width: 100%; box-sizing: border-box; -moz-box-sizing: border-box; }
.footer .footer-logos img { max-width: 190px; }

.bg { position: fixed; top: 0; left: 0; display: block; width: 100%; height: 100%; z-index: 100; overflow: hidden; }


.loading { position: fixed; top: 0; display: none; width: 100%; height: 100%; background: #FFF url(images/ajax-loader.gif) center center no-repeat; z-index: 999999999999; }


input.placeholder, textarea.placeholder { color: #000000; font-family: "open_sansregular", sans-serif; font-weight: 400; }
::-webkit-input-placeholder { /* WebKit browsers */
	color:    #000000;
	font-family: "open_sansregular", sans-serif; font-weight: 400;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
	color:    #000000;
	font-family: "open_sansregular", sans-serif; font-weight: 400;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
	color:    #000000;
	font-family: "open_sansregular", sans-serif; font-weight: 400;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
	color:    #000000;
	font-family: "open_sansregular", sans-serif; font-weight: 400;
}

@viewport { width: auto; }






@media only screen and (max-width: 800px) {
	
	.site { padding: 20px; }
	
}

@media only screen and (max-width: 667px) {
	
	h1 { font-size: 64px; }
	.content-wrapper { padding: 50px 50px 40px; }
	.footer { padding: 50px; }
	
}

@media only screen and (max-width: 600px) {
	
	.content-wrapper { padding: 40px 20px 30px; }
	.footer { padding: 30px 20px; }
	.footer .footer-logos img { max-width: 150px; }

}

@media only screen and (max-width: 480px) {
	
	h1 { font-size: 54px; }
	.content h1.page-title::after { width: 220px; }
	.content .wpcf7 label { font-size: 14px; }
	.footer .footer-logos img { max-width: 120px; }
	
}

@media only screen and (max-width: 420px) {

	.site { padding: 0; }
	h1 { font-size: 48px; }
	.content h1.page-title::after { width: 180px; }
	.content-wrapper { padding: 30px 20px 20px; }
	.content .wpcf7 input[type="submit"] { padding: 20px 40px; }
	.footer .footer-logos img { max-width: 100px; }
	
}



@media only screen and (min-width: 480px) and (-webkit-min-device-pixel-ratio: 2){
	
}

@media only screen and (max-width: 320px) and (-webkit-min-device-pixel-ratio: 2){
	
}
