/*
THEME NAME: Black Diamond Hospitality Group
DESCRIPTION: Custom theme developed by DaddyDesign.com for Black Diamond Hospitality Group
VERSION: 1
AUTHOR: Daddy Design
AUTHOR URI: http://www.daddydesign.com/
*/

/* General Settings */
*{ margin: 0; padding: 0; }
img { border: 0; }

html, body { height: 100%; }
body{
font-family: "Roboto", serif;
font-size: 17px;
color: #111;
background: #fff;
overflow-x: hidden;
}

p { margin-bottom: 20px; line-height: 27px; }

a{ color: #111; text-decoration: none; outline: none; }
a:hover{ text-decoration: none; }

.content-block a:not(.btn){
	text-decoration:underline; color:#000;
	font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

/* HTML5 Elements */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, main, section figure, article figure { display: block; padding: 0; margin: 0; }

/* Loader */
.loader{ position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: block; background: transparent; text-indent: -9000px; z-index: 9; }
#loader{ position: fixed; z-index: 9999999; }
.loader:before {
content: '';
height: 20px;
width: 20px;
position: absolute;
left:50%; 
top:50%; 
margin-top: -10px;
margin-left: -10px;
-webkit-animation: rotation .6s infinite linear;
-moz-animation: rotation .6s infinite linear;
-o-animation: rotation .6s infinite linear;
animation: rotation .6s infinite linear;
border-left: 6px solid rgba(255, 255, 255, .5);
border-right: 6px solid rgba(255, 255, 255, .5);
border-bottom: 6px solid rgba(255, 255, 255, .5);
border-top: 6px solid rgba(255, 255, 255, 1);
border-radius: 100%;
text-indent: -9000px;
-webkit-box-sizing: border-box; 
-moz-box-sizing: border-box; 
box-sizing: border-box;
}
.loader.big:before { height: 40px; width: 40px; margin-top: -20px; margin-left: -20px; }
@-webkit-keyframes rotation { from { -webkit-transform: rotate(0deg); } to { -webkit-transform: rotate(359deg); } }
@-moz-keyframes rotation { from { -moz-transform: rotate(0deg); } to { -moz-transform: rotate(359deg); } }
@-o-keyframes rotation { from { -o-transform: rotate(0deg); } to { -o-transform: rotate(359deg); } }
@keyframes rotation { from { transform: rotate(0deg); } to { transform: rotate(359deg); } }

/* Box Method */
.box{ -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }

/* Center */
.center{ text-align: center; }

/* Padding */
.pad_xbig{ padding: 120px; }
.pad_big{ padding: 80px; }
.pad_med{ padding: 60px; }
.pad_small{ padding: 40px; }
.pad_xsmall{ padding: 30px; }
.pad_xxsmall{ padding: 20px; }
.pad_std{ padding: 10px; }
.pad_top{ padding-top: 40px; }
.pad_top_med{ padding-top: 60px; }
.pad_btm_med{ padding-bottom: 60px; }
.pad_top_big{ padding-top: 80px !important; }
.pad_top_xbig{ padding-top: 120px !important; }
.pad_btm_big{ padding-bottom: 80px !important; }
.pad_notop{ padding-top: 0 !important; }
.pad_nobtm{ padding-bottom: 0 !important; }
.grid_std .wrapper.pad_big{ padding-bottom: 50px; }

.section_pad{ padding: 15px 30px; }

/* Margin */
.marg5{ margin: 0 0 5px; }
.marg10{ margin: 0 0 10px; }
.marg15{ margin: 0 0 15px; }
.marg20{ margin: 0 0 20px; }
.marg30{ margin: 0 0 30px; }
.marg40{ margin: 0 0 40px; }
.marg50{ margin: 0 0 50px; }
.marg60{ margin: 0 0 60px; }

/* Round */
.round{ border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px; }
.round_big{ border-radius: 20px; -moz-border-radius: 20px; -webkit-border-radius: 20px; }

/* Shadow */
.shadow{
-webkit-box-shadow: 0px 0px 20px 0 rgba(0,0,0,0.1);
-moz-box-shadow: 0px 0px 20px 0 rgba(0,0,0,0.1);
box-shadow: 0px 0px 20px 0 rgba(0,0,0,0.1);
}

/* Button */
.btn{
width: auto;
height: auto;
float: left;
font-size: 16px;
font-weight: 700;
line-height: 22px;
color: #fff !important;
text-align: center;
text-decoration: none;
text-transform: uppercase;
padding: 18px 30px;
margin: 0;
border: 1px solid #000;
background-color: #000;
vertical-align: top;
}
.btn:hover{ color: #111 !important; background-color: transparent; text-decoration: none !important; }

/* With Background Image */
.with_bg{
background-color: #000;
background-repeat: no-repeat;
background-position: center;
-webkit-background-size: cover; 
-moz-background-size: cover; 
-o-background-size: cover; 
background-size: cover;
}
.with_bg.pos_top{ background-position: top; }
.with_bg.pos_btm{ background-position: bottom; }
.with_bg.with_overlay::before{
content: '';
display: block; 
width: 100%; 
height: 100%; 
position: absolute;
top: 0;
left: 0;
background: #000; 
-webkit-opacity: 0.3;
-moz-opacity: 0.3;
opacity: 0.3;
z-index: 1;
}
.with_bg.with_overlay.dark::before{
-webkit-opacity: 0.4;
-moz-opacity: 0.4;
opacity: 0.4;
}
.with_bg.with_overlay.xdark::before{
-webkit-opacity: 0.7;
-moz-opacity: 0.7;
opacity: 0.7;
}

/* Image Resizing */
.img img{ display: block; width: auto; max-width: 100%; height: auto; margin: 0 auto; position: relative; }
.img a{ display: block; }

/* Container */
#container{ width: 100%; height: 100%; float: left; display: block; padding: 0 0 0 300px; margin: 0 auto; position: relative; }

/* Header */
#header{ width: 300px; height: 100%; background: #fff; position: fixed; top: 0; left: 0; bottom: 0; z-index: 9999; }
#header .wrapper{
display: block;
color: #fff;
text-align: center;
position:absolute;
top: 50%; 
left: 50%; 
padding-left: 10px;
-webkit-transform: translate(-50%,-50%);
-ms-transform: translate(-50%,-50%); 
transform: translate(-50%,-50%);
z-index: 9;
}

#header #logo{ width: 180px; height: 180px; display: block; margin: 0 auto; text-indent: -9000px; }
#header #logo a{ display: block; width: 180px; height: 180px; background: url(images/logo.svg) no-repeat center; }
	
#nav_btn{ display: none; }
#header .toggle{ display: block; }
#header #nav{ width: 100%; float: left; clear: both; padding-top: 30px; }
#header #nav ul.menu{ display: block; list-style: none; }
#header #nav ul.menu li{ display: block; }
#header #nav ul.menu li a{ display: block; font-size: 22px; font-weight: 300; font-style: italic; padding: 3px 0; position: relative; }
#header #nav ul.menu li a:hover{ color: #999; }
#header #nav ul.social{ display: block; padding-top: 36px; list-style: none; position: relative; }
#header #nav ul.social::before{ content: ''; width: 30px; display: block; position: absolute; top: 16px; left: 50%; margin-left: -15px; border-top: 1px solid #ddd; }
#header #nav ul.social li{ width: 30px; height: 30px; display: inline-block; text-indent: -9000px; }
#header #nav ul.social li a{ 
width: 30px; 
height: 30px; 
display: block; 
background-position: center; 
background-repeat: no-repeat; 
-webkit-background-size: cover; 
-moz-background-size: cover; 
-o-background-size: cover; 
background-size: cover;
position: relative; 
overflow: hidden; 
}
#header #nav ul.social li.facebook a{ background-image: url(images/facebook.svg); }
#header #nav ul.social li.instagram a{ background-image: url(images/instagram.svg); }
#header #nav ul.social li.linkedin a{ background-image: url(images/linkedin.svg); }

/* Main */
#main{ width: 100%; float: left; position: relative; }

/* Section */
.section{ width: 100%; float: left; position: relative; }
.section.hgt100{ height: calc(100vh); }
.section.minhgt100{ display: table; min-height: calc(100vh); }
.section.centered{ text-align: center; }
.section .wrapper{ width: 100%; display: block; clear: both; margin: 0 auto; position: relative; overflow: hidden; }
.section.minhgt100 .wrapper{ display: table-cell; vertical-align: middle; }

.section .main{ width: 100%; float: left; position: relative; }
.section .main.short{ width: 100%; max-width: 1380px; float: none; display: block; clear: both; margin: 0 auto; position: relative; overflow: hidden; }
.section .main.xshort{ width: 100%; max-width: 880px; float: none; display: block; clear: both; margin: 0 auto; position: relative; overflow: hidden; }
.section .header{ width: 100%; float: left; position: relative; }
.section .header.center{ text-align: center; }

.section .header h1{ font-size: 70px; font-weight: 900; line-height: 74px; }
.section .header h1.small{ font-size: 50px; font-weight: 900; line-height: 56px; }
.section .header h2{ font-size: 36px; font-weight: 900; line-height: 42px; }
.section .header h3{ font-size: 20px; font-weight: 700; line-height: 26px; }
.section .header h3.med{ font-size: 22px; line-height: 28px; }
.section .header h3.big{ font-size: 26px; line-height: 32px; }
.section .header h4{ font-size: 20px; font-weight: inherit; line-height: 24px; }
.section .content{ width: 100%; float: left; position: relative; }
.section .content.small, .section .content.small p{ font-size: 15px; line-height: 23px; }
.section .content.med, .section .content.med p{ font-size: 20px; line-height: 32px; }
.section .content.big, .section .content.big p{ font-size: 24px; line-height: 35px; }
.section .footer{ width: 100%; float: left; padding-top: 15px; position: relative; }
.section .footer.center .btn{ float: none; display: inline-block; }

.section .image{ width: 100%; float: left; position: relative; }

/* Hero */
.section.hero.slideshow .swiper-wrapper{ overflow: hidden; }
.section.hero.slideshow .swiper-wrapper .slide{ text-indent: -9000px; }
.section.hero.slideshow .header{
width: 100%;
max-width: 880px;
display: block;
color: #fff;
text-align: right;
position:absolute;
bottom: 0; 
right: 0; 
padding: 100px;
z-index: 9;
}
.section.hero.slideshow .header h1{ margin-bottom: -12px; }

/* Concept Preview */
.concept_preview{ height: calc(100vh - 20px); }
.concept_preview .wrap{ display: block; width: 100%; height: 100%; position: relative; }
.concept_preview .logo, .concept_preview.coming_soon span{
width: 100%;
max-width: 380px;
display: block;
padding: 80px;
position:absolute;
top: 50%; 
left: 50%; 
-webkit-transform: translate(-50%,-50%);
-ms-transform: translate(-50%,-50%); 
transform: translate(-50%,-50%);
z-index: 9;
}
.concept_preview.coming_soon span{ font-size: 36px; font-weight: 900; font-style: italic; color: #fff; text-align: center; }

/* Concepts */
.concept .logo{ width: 360px; height: 360px; float: right; display: table; border: 1px solid #ddd; }
.concept .logo .img_wrap{ display: table-cell; vertical-align: middle; padding: 60px; }
.featured.concept .logo{ border: 0; }
.featured.concept .logo a.wrap{ height: 100%; display: table; border: 1px solid #ddd; position: relative; overflow: hidden; }
.featured.concept .logo a:hover.wrap{ border: 1px solid #000; }
.featured.concept .logo .img_wrap img{ max-height: 200px;  margin-bottom: 50px; }
.featured.concept .logo .header{
height: 50px;
padding: 0 20px;
position: absolute;
bottom: 0;
left: 0;
right: 0;
border-top: 1px solid #ddd;
}
.featured.concept .logo .header span.title{ float: left; font-size: 15px; font-weight: 900; text-transform: uppercase; line-height: 50px; }
.featured.concept .logo .header span.more{ float: right; font-size: 11px; color: #888; text-transform: uppercase; line-height: 50px; }
.featured.concept .logo a:hover.wrap .header{ border-top: 1px solid #000; }

.concept .image{ width: 360px; height: calc(100vh - 420px); float: right; clear: both; margin-top: 20px; }
.concept .image img{ display: none; }

.concept .slideshow{ position: absolute; top: 20px; right: 400px; left: 20px; bottom: 20px; }
.concept .slideshow .swiper-wrapper .slide{ text-indent: -9000px; }
.concept .slideshow .nav{ 
width: 100%;
display: block;
position: absolute; 
bottom: 0;
padding: 25px;
text-align: center;
z-index: 999;
}
.concept .slideshow .nav .nav_btn{
width: 30px; 
height: 30px; 
display: inline-block;
margin: 2px;
text-indent: -9000px;
background-color: transparent; 
background-position: center; 
background-repeat: no-repeat; 
-webkit-background-size: 24px; 
-moz-background-size: 24px; 
-o-background-size: 24px; 
background-size: 24px;
-webkit-opacity: 0.7;
-moz-opacity: 0.7;
opacity: 0.7;
position: relative; 
overflow: hidden; 
cursor: pointer;
}
.concept .slideshow .nav .nav_btn.prev{ background-image: url(images/arrow-left-white.svg); }
.concept .slideshow .nav .nav_btn.next{ background-image: url(images/arrow-right-white.svg); }
.concept .slideshow .nav .nav_btn:hover{
-webkit-opacity: 1;
-moz-opacity: 1;
opacity: 1;
}

/* Page */
.entry .section.hero .wrapper{ height: 540px; }
.entry .section.hero .wrapper .header{
width: 100%;
max-width: 780px;
display: block;
color: #fff;
text-align: right;
position:absolute;
bottom: 0; 
right: 0; 
z-index: 9;
}
.entry .section.hero .wrapper .header h1{ margin-bottom: -12px; }

/* Team */
.team .team_member{ width: 100%; float: left; clear: both; padding: 40px 0 20px; }
.team .team_member:first-child{ padding-top: 0; }
.team .team_member:last-child{ padding-bottom: 0; }

.team .team_member .header{
width: 40%;
float: left;
clear: both;
text-align: right;
padding-right: 60px;
}
.team .team_member .header h3{ font-size: 36px; line-height: 42px; font-weight: 900; }
.team .team_member .header h4{ font-size: 18px; line-height: 22px; font-weight: 300; }
.team .team_member .header .image{ width: 50%; float: right; padding-top: 20px; }

.team .team_member .content { width: 60%; float: right; clear: right; }

.content-block ul.board{ list-style: none !important; text-align: left !important; padding: 0 !important; }
.content-block ul.board li{ width: 100%; float: left; text-align: left; padding: 0 0 25px !important; }
.content-block ul.board li h3{ width: 100% !important; display: block; padding: 0 !important; }
.content-block ul.board li h4{ width: 100% !important; display: block; font-size: 18px; line-height: 22px; font-weight: 300; padding: 0 !important; }
.content-block ul.board li a.linkedin{ float: left; display: block; font-size: 13px; font-weight: 600; padding-top: 3px; text-transform: uppercase; }
.content-block ul.board li a:hover{ color: #888; }

/* Press */
.press ul{ width: 100%; float: left; list-style: none; position: relative; }
.press ul li{ width: 100%; float: left; position: relative; padding: 5px 0 10px; }
.press ul li a{ display: block; padding: 20px 25px; border: 1px solid #ddd; }
.press ul li h3{ font-size: 20px; font-weight: 300; line-height: 26px; }
.press ul li span.date{ display: block; font-size: 13px; color: #888; }
.press ul li a:hover{ border: 1px solid #000; }

/* Grid */
.section.grid{ padding: 10px; margin-bottom: -20px; overflow: hidden; }
.section.grid .item{ padding: 10px; }
.section.grid.cols2 .item{ width: 50%; float: left; }
.section.grid.cols3 .item{ width: 33.3333%; float: left; }
.section.grid.cols4 .item{ width: 25%; float: left; }

/* Continue Scroll Button */
.nav_btn.continue{
width: 70px;
height: 70px;
display: block;
position: absolute;
right: 0;
bottom: 0;
background: url(images/arrow-down-white.svg) no-repeat center #000;
-webkit-background-size: 24px; 
-moz-background-size: 24px; 
-o-background-size: 24px; 
background-size: 24px;
cursor: pointer;
text-indent: -9000px;
z-index: 99;
}

/* Navigation */
.pagination{ padding: 20px 20px 0; }
.wp-pagenavi{ width: 100%; clear: both; padding: 20px 25px; background: #000; text-align: right; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
.wp-pagenavi a, .wp-pagenavi span{ padding: 3px !important; margin: 1px; border: 0 !important; }
.wp-pagenavi span.pages{ float: left; font-size: 14px; color: #888; font-style: italic; padding-left: 0 !important; margin-left: 0; padding-right: 10px !important; margin-right: 5px; }
.wp-pagenavi a{ font-size: 18px; font-weight: 700; color: #fff; }
.wp-pagenavi a:hover{ color: #888; }
.wp-pagenavi span.current{ font-size: 18px; font-weight: 700; color: #888; }

/* Footer */
#footer{ width: 100%; float: left; position: relative; }
#footer .wrapper{ width: 100%; height: 100px; float: left; position: relative; background: #000; }
#footer a{ color: #fff; }
#footer a:hover{ color: #666; text-decoration: none; }

#footer .nav{ width: auto; float: left; }
#footer .nav ul{ width: auto; float: left; padding: 0 35px; position: relative; list-style: none; }
#footer .nav ul li{ width: auto; float: left; position: relative; }
#footer .nav ul li a{ display: block; height: 100px; font-size: 16px; font-weight: 700; line-height: 100px; text-transform: uppercase; padding: 0 10px; position: relative; }

#footer .meta{ width: auto; height: 100px; float: right; display: table; font-size: 11px; line-height: 16px; text-align: right; color: #888; padding-right: 40px; }
#footer .meta .wrap{ display: table-cell; vertical-align: middle; }
#footer .meta span{ display: block; }
#footer .meta a{ color: #888; }
#footer .meta a:hover{ text-decoration: underline; }

/* Forms */
.wpcf7{ display: block; clear: both; padding: 80px 0 0 !important; }
.content-block .wpcf7:first-child{ padding: 0 !important; }
.wpcf7-form{ width: 100%; max-width: 780px; display: block; margin: 0 auto; overflow: hidden; position: relative; }
.wpcf7-form fieldset{ width: 100%; float: left; display: block; border: 0; }
.wpcf7-form label{ display: block; font-size: 15px; color: #333; font-weight: bold; line-height: 20px; padding: 0 15px 0 0; margin: 0 0 10px; }
.wpcf7-form div.form_radios{ width: 100%; float: left; margin: 0 0 20px; position: relative; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
.wpcf7-form div.form_radios .wpcf7-list-item{ display: inline-block; padding: 0 4px 4px 0; }
.wpcf7-form div.form_field{ width: 100%; float: left; margin: 0; position: relative; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
.wpcf7-form fieldset.x3 div.form_field{ width: 33.3333%; padding: 0 10px; }
.wpcf7-form fieldset.x3 div.form_field:first-child{ padding-left: 0; }
.wpcf7-form fieldset.x3 div.form_field:last-child{ padding-right: 0; }
.wpcf7-form fieldset.x2 div.form_field{ width: 50%; }
.wpcf7-form fieldset.x2 div.form_field:first-child{ padding-right: 10px; }
.wpcf7-form fieldset.x2 div.form_field:last-child{ padding-left: 10px; }
.mailpoet_checkbox_label,
.wpcf7-form div.form_field span{ display: block; }
.wpcf7-form div.form_field input, 
.wpcf7-form div.form_field select,
.wpcf7-form div.form_field textarea { 
width: 100%; 
display: block; 
font-family: "Roboto", serif;
color: #111;
font-size: 15px; 
font-weight: 700;
padding: 20px 25px;
background: #fff;
border: 1px solid #ccc;
-webkit-box-sizing: border-box; 
-moz-box-sizing: border-box; 
box-sizing: border-box;
-webkit-appearance: none;
border-radius: 0; 
-moz-border-radius: 0; 
-webkit-border-radius: 0;	
outline: none;
}
.wpcf7-form div.form_field textarea { height: 240px; padding: 20px 25px; }
.wpcf7-form div.form_field select{ 
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
text-indent: 0.01px;
text-overflow: '';
padding-right: 50px;
background: url(images/arrow-down.svg) no-repeat right 25px top 50% #fff;
-webkit-background-size: 13px 8px; 
-moz-background-size: 13px 8px;  
-o-background-size: 13px 8px; 
background-size: 13px 8px;
}
.wpcf7-form div.form_field select::-ms-expand { display: none; }
.wpcf7-form div.form_field input::-webkit-input-placeholder{ color: #111; }
.wpcf7-form div.form_field input:-moz-placeholder{ color: #111; }
.wpcf7-form div.form_field input::-moz-placeholder{ color: #111; }
.wpcf7-form div.form_field input:-ms-input-placeholder{ color: #111; }
.wpcf7-form div.form_field select::-webkit-input-placeholder{ color: #111; }
.wpcf7-form div.form_field select:-moz-placeholder{ color: #111; }
.wpcf7-form div.form_field select::-moz-placeholder{ color: #111; }
.wpcf7-form div.form_field select:-ms-input-placeholder{ color: #111; }
.wpcf7-form div.form_field textarea::-webkit-input-placeholder{ color: #111; }
.wpcf7-form div.form_field textarea:-moz-placeholder{ color: #111; }
.wpcf7-form div.form_field textarea::-moz-placeholder{ color: #111; }
.wpcf7-form div.form_field textarea:-ms-input-placeholder{ color: #111; }

.wpcf7-form div.submit{ width: 100%; float: left; clear: both; padding-right: 0; margin: 10px 0 20px; position: relative; }
div.wpcf7 .ajax-loader{ position: absolute; top: 50%; right: 0; margin-top: -8px !important; }
.wpcf7-form div.submit input { 
width: auto; 
height: auto;
display: block; 
float: left;
font-family: "Roboto", serif;
font-size: 16px;
font-weight: 700 !important;
color: #fff; 
text-transform: uppercase; 
padding: 20px 30px;
margin: 0 auto; 
border: 1px solid #000;
background-color: #000;
position: relative; 
cursor: pointer;
outline: none;
-webkit-appearance: none;
border-radius: 0; 
-moz-border-radius: 0; 
-webkit-border-radius: 0;	
z-index: 9; 
}
.wpcf7-form div.submit input:hover{ color: #111; background-color: transparent; }

div.wpcf7-response-output{ 
clear: both;
font-family: "Roboto", serif;
color: #111 !important;
font-size: 16px;
font-weight: 700;
line-height: 22px;
border: 0 !important;
background: none;
margin: 0 0 20px !important; 
padding: 15px 20px !important;
color: inherit; 
text-align: center;
border-radius: 0; 
-moz-border-radius: 0; 
-webkit-border-radius: 0;
}

span.wpcf7-not-valid-tip {
width: auto !important;
height: 1px;
position: absolute;
overflow: hidden;
background: transparent !important;
border: 0 !important;
border-top: 1px solid #ed2024 !important;
text-indent: -9000px;
top: 0 !important;
left: 0 !important;
right: 0 !important;
bottom: inherit !important;
padding: 0 !important;
}

/* Content Block Universal Code */
/* Begin Images */
.content-block img{ display: block; max-width: 100%; height: auto; padding: 10px 0 20px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
.content-block .aligncenter { display: block; margin: 0 auto; }
.content-block .alignleft{ max-width: 50%; display: inline-block; float: left; padding-right: 30px; vertical-align: top; }
.content-block .alignright{ max-width: 50%; display: inline-block; float: right; padding-left: 30px; vertical-align: top; }
.content-block .alignleft img, .content-block .alignright img{ padding-left: 0; padding-right: 0; }
.content-block .wp-caption{ width: auto !important; text-align: center; margin: 0 0 20px; background: #fff; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
.content-block .wp-caption.alignleft, .content-block .wp-caption.alignright{ width: 50% !important; padding: 0; }
.content-block .wp-caption.alignleft{ margin-right: 30px; }
.content-block .wp-caption.alignright{ margin-left: 30px; }
.content-block .wp-caption p.wp-caption-text{ display: block; font-size: 15px; line-height: 22px; padding: 10px 12px; margin: 0; background-color: #fff; }
.content-block .wp-caption img{ padding: 10px 10px 0; margin: 0 auto; }
/* END Images */

/* Begin Image Gallery */
.content-block .gallery{ display: block; max-width: 1020px; padding: 10px 0 30px; margin: 0 auto; overflow: hidden; }
.content-block .gallery .gallery_item{ width: 20%; float: left; }
.content-block .gallery .gallery_item a{ display: block; padding: 5px; margin: 5px; background: #fff; }
.content-block .gallery .gallery_item a img{ display: block; width: auto; max-width: 100%; height: auto; padding: 0; margin: 0 auto; }
/* END Image Gallery */

/* Video */
.content-block .fluid-width-video-wrapper{ margin: 60px 0 20px; }
.video.content-block .fluid-width-video-wrapper, #video .fluid-width-video-wrapper{ margin: 0; }
.content-block embed, .content-block iframe, .content-block object{ max-width: 100%; }
.content-block video { max-width: 100%; height: auto; }

.content-block p{ clear: both; }
.content-block p sm{ display: block; font-size: 13px; font-weight: 400; line-height: 20px !important; }
.content-block p.disclaimer{ font-size: 13px; font-style: italic; line-height: 21px; }
.content-block a.btn{ margin-top: 15px; }

.content-block blockquote{ 
font-size: 20px;
font-weight: 400;
font-style: italic;
line-height: 28px;
color: #222;
padding: 5px 20px;
margin: 30px 0;
border-left: 3px solid #ddd;
position: relative;
}
.content-block blockquote p{ line-height: 28px; }
.content-block blockquote p:last-child{ margin-bottom: 0; }

.content-block h1, .content-block h2, .content-block h3, .content-block h4, .content-block h5{ font-size: 100%; font-weight: 700; clear: both; padding: 20px 0 15px; }
.content-block h1:first-child, .content-block h2:first-child, .content-block h3:first-child, .content-block h4:first-child, .content-block h5:first-child{ padding-top: 0; }
.content-block h1{ font-size: 32px; line-height: 38px; }
.content-block h2{ font-size: 28px; line-height: 34px; }
.content-block h3{ font-size: 24px; line-height: 30px; }
.content-block h4{ font-size: 20px; line-height: 28px; }
.content-block h5{ font-size: 18px; line-height: 26px; }

.content-block ul, .content-block ol{ padding: 0 0 20px 40px; }
.content-block ul{ list-style: disc; }
.content-block ol{ list-style: decimal; }
.content-block ul li, .content-block ol li{ padding: 0 0 8px; line-height: 26px; }
.content-block ul li p, .content-block ol li p{ margin: 0 0 15px; }
/* END Content Block Universal Code */

/* Content Block Group Universal Code */
.content-block .wp-block-group{ width: 100%; float: left; clear: both; padding: 40px 0 20px; }
.content-block .wp-block-group:first-child{ padding-top: 0; }
.content-block .wp-block-group:last-child{ padding-bottom: 0; }

.content-block .wp-block-group h2:first-child{
width: 40%;
float: left;
clear: both;
font-size: 36px;
line-height: 42px;
font-weight: 900;
text-align: right;
-webkit-box-sizing: border-box; 
-moz-box-sizing: border-box; 
box-sizing: border-box;
padding-right: 60px;
}

.content-block .wp-block-group p,
.content-block .wp-block-group h2,
.content-block .wp-block-group h3,
.content-block .wp-block-group h4,
.content-block .wp-block-group h5,
.content-block .wp-block-group ul, 
.content-block .wp-block-group ol,
.content-block .wp-block-group blockquote { 
width: 60%; 
float: right; 
clear: right;
-webkit-box-sizing: border-box; 
-moz-box-sizing: border-box; 
box-sizing: border-box;
}

.content-block .wp-block-group blockquote{ margin: 15px 0 30px; }
.content-block .wp-block-group blockquote p{
width: auto;
display: block;
float: none;
clear: inherit;
}

/* Modal Window */
#modal, #mask{
display:none;
width: 100%;
height: 100%;
position:fixed;
top:0px;
left:0px;
z-index: 999998;
}
#mask{ background: #000; }

.modal_window{
display:none;
position: absolute;
top: 0; 
right: 0; 
left: 0; 
bottom: 0;
margin: 0 0 45px;
z-index: 99999999;
}
.modal_window .loader{ background-color: transparent !important; }