/**
Theme Name: OceanMind
Author: The Communications Group
Author URI: https://www.thecommunicationsgroup.com/
Description: Oceanmind Theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: oceanmind
Template: astra
*/

/* menu */

.ast-builder-menu-1 .main-header-menu .sub-menu { background-color: rgba(19,146,148,0.9); }

.ast-icon.icon-arrow svg { display: none; }

/* */

hr { max-width: 100% !important; width: 100%; background: url(images/om-splitter.png) center center no-repeat transparent; height: 1px;  margin-bottom:0; margin-top: 100px;}

.center { text-align: center; }


/* search */

.search #masthead {
    position: absolute;
    left: 0;
    right: 0;
}

.search .ast-primary-header-bar {
    background-color: transparent;
}


.search .ast-article-post, .ast-archive-description {max-width: 840px;
    margin: 0 auto; padding-right: 20px; padding-left: 20px;}

.search .search-form { max-width: 840px;
    margin: 0 auto; padding-right: 20px; padding-left: 20px;  }

.search-no-results p { max-width: 840px;
    margin: 0 auto; padding-right: 20px; padding-left: 20px;  }

.ast-icon.icon-search svg { height: 24px;
    width: 24px; fill: #fefefe;  }
.ast-dropdown-active .ast-icon.icon-search svg{  fill:#30b6aa;}

.ast-page-builder-template .entry-header { margin: 0 !important; }

input.search-submit { padding: 10px 25px !important; }
/* header */



.ast-logo-title-inline .ast-site-identity {
	    padding: 15px 0;
}
.entry-content { padding: 0 26px; }
.entry-content h2 { padding-top: 100px; margin-bottom: 75px;  }
.entry-content h3 { padding-top: 100px; margin-bottom: 50px; font-size: 48px;  }
h4 { color: #00211e !important; font-weight: 600; margin-bottom: 10px !important; }
h4.has-black-color, h4.has-black-color a { color: #00211e !important; }

.wp-block-column h4, .wp-block-column h4 a { color: #00211e !important; }


.wp-block-group { padding: 0; margin-left: -26px; margin-right: -26px; }
.wp-block-group ul { max-width: 850px; margin: 0 auto; margin-bottom: 1.6em; font-weight: 200; font-size: 22px; line-height: 26px; 
list-style: outside;
    padding-left: 20px;
}
.wp-block-group p { max-width: 850px; margin: 0 auto; margin-bottom: 1.6em; font-weight: 400; font-size: 18px; line-height: 26px; }
.wp-block-group p strong { font-weight: 400; font-size: 24px; line-height: 30px; }
.wp-block-group h2 { max-width: 850px; margin: 0 auto; margin-bottom: 75px; }
.wp-block-group h3 { max-width: 850px; margin: 0 auto; margin-bottom: 50px; }
.wp-block-group hr { margin-top: 60px; }
.wp-block-group details { max-width: 850px; margin: 0 auto; }
.wp-block-group figure { max-width: 850px; margin: 0 auto; }

.page-id-45.ast-single-post .wp-block-group p, .page-id-47.ast-single-post .wp-block-group p, .page-id-49.ast-single-post .wp-block-group p { line-height: 1.85714285714286; font-size: 18px;  }
.page-id-45.ast-single-post .wp-block-group p strong, .page-id-47.ast-single-post .wp-block-group p strong, .page-id-49.ast-single-post .wp-block-group p strong {  line-height: 1.85714285714286; font-size: 18px; }
.page-id-45.ast-single-post .wp-block-group ul, .page-id-47.ast-single-post .wp-block-group ul, .page-id-49.ast-single-post .wp-block-group ul { line-height: 1.85714285714286; font-size: 18px; }

.page-id-45.ast-single-post .ab-accordion-title, .page-id-47.ast-single-post .ab-accordion-title, .page-id-49.ast-single-post .ab-accordion-title { cursor: pointer;  }

.wp-block-image { margin-bottom: 26px;  }

.wp-block-cover { margin-left: -26px; margin-right: -26px; width: auto;  }
.has-background-dim { margin-top: 80px; }
.has-background-dim:before { opacity: 0 !important }
.wp-block-cover .has-large-font-size { font-size: 60px; font-weight: 200;  margin-bottom: 17px; }
.wp-block-cover .has-large-font-size strong { color: #7bffe6  }

.wp-block-button { margin: 0 auto !important; }
.wp-block-button .wp-block-button__link { font-size: 18px; letter-spacing: 2px; text-transform:  uppercase; background: url(images/om-readmore-white.png) calc(100% - 28px)  center no-repeat rgba(0,21,27,0.75); color: #fff; border-right: 1px solid #fff; border-left: 1px solid #fff;
padding-left: 50px; padding-right:67px; } 


.wp-block-column { position: relative; padding-bottom: 40px;  }
.wp-block-column p:not(.learnmore) { text-align: justify; }
.learnmores .wp-block-column p a { position: absolute; bottom: 20px;  text-align: center;     left: calc(50% - 67px);  }

.wp-block-columns { max-width: 1400px; margin: 0 auto; padding-left: 50px; padding-right: 50px; }
.fullw .wp-block-columns, .wp-block-columns.fullw { max-width: 100%; padding-right: 0; padding-left: 0;  }
.fullw .wp-block-cover { height: 100%; margin-right: 0; margin-left: 0;  }
.fullw .wp-block-column { padding-bottom: 0; flex-basis: calc(50%); margin-right: 0; margin-left: 0; }

.wp-block-group.fullw:nth-of-type(even) .wp-block-column:nth-of-type(even) { padding: 110px 100px; margin-left: 0 !important; }
.wp-block-group.fullw:nth-of-type(even) .wp-block-column:nth-of-type(odd) .wp-block-cover{ position: absolute; right: 0; }
.wp-block-group.fullw:nth-of-type(odd) .wp-block-column:nth-of-type(odd) { padding: 110px 100px; }
.wp-block-group.fullw:nth-of-type(odd) .wp-block-column:nth-of-type(even) .wp-block-cover { position: absolute;  left: 0; }

.imageleft .wp-block-column:nth-of-type(odd) img {
    display: block;
    width: 100%;
    height: auto;
}
.imageleft .wp-block-column:nth-of-type(even) { padding: 110px 100px; margin-left: 0 !important; }
/*.imageleft .wp-block-column:nth-of-type(odd) .wp-block-cover{ position: absolute; right: 0; }*/
.imageright .wp-block-column:nth-of-type(odd) { padding: 110px 100px; }
/*.imageright .wp-block-column:nth-of-type(even) .wp-block-cover { position: absolute;  left: 0; }*/

.imageright .wp-block-column:nth-of-type(even) img {
display: block;
    width: 100%;
    height: auto;
}

.imageleft .wp-block-columns, .wp-block-columns.imageleft, .imageright .wp-block-columns, .wp-block-columns.imageright { max-width: 100%; padding-right: 0; padding-left: 0;  }
.imageleft .wp-block-cover, .imageright .wp-block-cover { height: 100%; margin-right: 0; margin-left: 0;  }
.imageleft .wp-block-column, .imageright .wp-block-column { padding-bottom: 0; flex-basis: calc(50%); margin-right: 0; margin-left: 0; }

.wp-block-cover-image img.wp-block-cover__image-background, .wp-block-cover-image video.wp-block-cover__video-background, .wp-block-cover img.wp-block-cover__image-background, .wp-block-cover video.wp-block-cover__video-background { height: auto; }
.textoverimages .wp-block-cover-image img.wp-block-cover__image-background, .wp-block-cover-image video.wp-block-cover__video-background, .wp-block-cover img.wp-block-cover__image-background, .wp-block-cover video.wp-block-cover__video-background {
    height: 100%;
}
.wp-block-cover-image.has-background-dim:not([class*=-background-color]), .wp-block-cover.has-background-dim:not([class*=-background-color]) { background: transparent; padding-top: 0; padding-bottom: 0;}

.imageright p, .imageright h2, .imageright h3, .imageright h4 {
        padding-right: 30px;
}

.imageleft p, .imageleft h2, .imageleft h3, .imageleft h4 {
        padding-left: 30px;
}

.wp-block-column.wider .wp-block-image {
	margin: 0;
	width: 150%;
}

.page-id-19 .wp-block-group figure {
    margin-bottom: 26px;
}
.page-id-19 .wp-block-group p { font-size: 18px; font-weight: 400; }

.nopadboth { padding-top: 0 !important; padding-bottom: 0; }

.padtop100 {
	padding-top: 100px;
}

.padbottom100 {
    padding-bottom: 100px !important;
}
.wp-block-group.has-background { padding-top: 0; padding-bottom: 0; padding-left: 0; padding-right: 0; }

.has-background-dim { margin-top: 0; }

.padboth100 {
	padding-top: 100px !important;
	padding-bottom: 100px !important;
}
/* Forms  */
.wpcf7 {
	max-width: 850px;
    margin: 0 auto;
    padding-top: 100px;
}
 /* people */

 .people .bio {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    
    bottom: 0; 
    right: 0;
    background: #fff;
    padding: 10px;
    cursor: pointer;
    line-height: 150%;
 }
 .people .wp-block-column {
    position: relative;
    cursor: pointer;
 }

.people .wp-block-column h4 {}
.people .wp-block-column p { text-align: center;  }
.people  .wp-block-column:not(:first-child) { margin-left: 25px;  }


.wp-block-separator { border-top: 0 !important; border-bottom: 0 !important; }

/*.wp-block-group__inner-container .wp-block-columns .wp-block-column:nth-of-type(1) .wp-block-image {right: 0; position: absolute; text-align: right;}

.wp-block-group__inner-container .wp-block-columns .wp-block-column:nth-of-type(2) .wp-block-image {left: 0; position: absolute;}*/

/* home */ 

p.has-text-align-center { max-width: 800px;  }

.entry-content p.learnmore a {     line-height: 30px;
    background: url(images/om-readmore.png) calc(100% - 1px) center no-repeat;
    padding-right: 35px;
    text-transform: uppercase;
    font-weight: 600; 
    letter-spacing: 2px; }

input[type="submit"] { line-height: 30px;
    background: url(images/om-readmore.png) calc(100% - 1px) center no-repeat;
    padding-right: 35px;
    text-transform: uppercase;
    font-weight: 600; 
    letter-spacing: 2px;
    color: #30b6aa;
    -webkit-appearance: none; }

input[type="submit"]:hover, input[type="submit"]:active {background-color: transparent; color: #00211e; -webkit-appearance: none;}    

button:focus, .menu-toggle:hover, button:hover, .ast-button:hover, .ast-custom-button:hover .button:hover, .ast-custom-button:hover, input[type=reset]:hover, input[type=reset]:focus, input#submit:hover, input#submit:focus, input[type="button"]:hover, input[type="button"]:focus, input[type="submit"]:hover, input[type="submit"]:focus {
    color: #30b6aa;
    background-color: transparent;
    border-color: transparent;
}

.partners .wp-block-columns { display: table; width: 100%; }
.partners .wp-block-cover__inner-container { max-width: 1400px; }
.partners .wp-block-columns .wp-block-column {
    display: table-cell;
    width: 16.666666666666668%;
    text-align: center;
    vertical-align: middle;
    padding-bottom: 70px;
}
button:focus, .menu-toggle:hover, button:hover, .ast-button:hover, .ast-custom-button:hover .button:hover, .ast-custom-button:hover, input[type=reset]:hover, input[type=reset]:focus, input#submit:hover, input#submit:focus, input[type="button"]:hover, input[type="button"]:focus, input[type="submit"]:hover, input[type="submit"]:focus {
    background: url(images/om-readmore.png) calc(100% - 1px) center no-repeat;
    color: #30b6aa !important;
}
.partners .wp-block-columns .wp-block-column:nth-of-type(2) .wp-block-image { position: relative; text-align: center; }
.partners .wp-block-columns .wp-block-column:nth-of-type(1) .wp-block-image { position: relative; text-align: center; }

/* header */

.home_custom_bg {  display: table; width: 100%; position: relative;}
.home_custom_bg iframe { max-width: none;
    width: 100%;
    display: block;
    position: absolute;
    left: 0;
    top: 0; }
.home_custom_bg:before { content: " "; height: 154px; width: 100%; position: absolute;  top:0; left: 0; background: url(images/om-topshadow-long.png) repeat-x; z-index: 5;}
.home_custom_bg:after { content: " "; height: 154px; width: 100%; position: absolute; bottom:0; left: 0; background: url(images/om-botshadow.png) repeat-x; z-index: 5;}
.home_custom_bg .custom_bg_inner { display: table-cell; vertical-align: middle; text-align: left; height: 100%;   z-index: 10; position: relative; }

.home_custom_bg .custom_bg_inner h1 { font-size: 48px; color: #fff; font-weight: 400; line-height: 48px; max-width: 850px; padding-left: 26px;}
.home_custom_bg .custom_bg_inner .header_title { max-width: 1300px;
    margin: 0 auto; }
.home_custom_bg .custom_bg_inner .header_sub_title { font-weight: 700; color: #7bffe6; font-size: 48px; line-height: 48px; max-width: 1300px;
    margin: 0 auto; padding-left: 26px;}
.home_custom_bg .custom_bg_inner .partner-logos { background: url(images/partner-logos.png) center center no-repeat; width: 100%;  height: 63px; margin: 0 auto; position: absolute; bottom: 46px; left: 0;     background-size: contain; }    


.video_custom_bg {  display: table; width: 100%; position: relative; }
.video_custom_bg iframe { max-width: none;
    width: 100%;
    display: block;
    position: absolute;
    left: 0;
    top: 0; }
.video_custom_bg:before { content: " "; height: 154px; width: 100%; position: absolute;  top:0; left: 0; background: url(images/om-topshadow-long.png) repeat-x; z-index: 5;}
.video_custom_bg:after { content: " "; height: 154px; width: 100%; position: absolute; bottom:0; left: 0; background: url(images/om-botshadow.png) repeat-x; z-index: 5;}
.video_custom_bg .custom_bg_inner { display: table-cell; vertical-align: middle; text-align: left; height: 100%;   z-index: 10; position: relative; }

.video_custom_bg .custom_bg_inner h1 { font-size: 48px; color: #fff; font-weight: 400; line-height: 48px; max-width: 850px; padding-left: 26px;}
.video_custom_bg .custom_bg_inner .header_title { max-width: 1300px;
    margin: 0 auto; }
.video_custom_bg .custom_bg_inner .header_sub_title { font-weight: 700; color: #7bffe6; font-size: 48px; line-height: 48px; max-width: 1300px;
    margin: 0 auto; padding-left: 26px;}
.video_custom_bg .custom_bg_inner .partner-logos { background: url(images/partner-logos.png) center center no-repeat; width: 100%;  height: 63px; margin: 0 auto; position: absolute; bottom: 46px; left: 0;     background-size: contain; }    


.custom_bg { min-height: 500px; display: table; width: 100%; background-size: cover !important; position: relative; background-position:center center }

.custom_bg:before { content: " "; height: 154px; width: 100%; position: absolute;  top:0; left: 0; background: url(images/om-topshadow-long.png) repeat-x; z-index: 5;}.custom_bg:after { content: " "; height: 154px; width: 100%; position: absolute; bottom:0; left: 0; background: url(images/om-botshadow.png) repeat-x; z-index: 5;}
.custom_bg .custom_bg_inner { display: table-cell; vertical-align: middle; text-align: left; height: 100%;    }

.custom_bg .custom_bg_inner h1 { font-size: 72px; color: #fff; font-weight: 400; line-height: 72px; max-width: 850px; padding-top: 80px; padding-left: 26px; padding-right: 26px}
.custom_bg .custom_bg_inner .header_title { max-width: 1300px;  margin: 0 auto;  }

/* Footer */

.ast-footer-copyright { color: #a3aeb2 !important;  }
.site-primary-footer-wrap { color: #fff; }
.site-primary-footer-wrap .widget-title { font-size: 48px; color: #fff; font-weight: 300; }
.site-primary-footer-wrap h4 { font-size: 24px; line-height: 30px; color: #fff !important; }

.site-primary-footer-wrap em { font-weight:300; font-size: 30px; line-height: 30px; color: #fff;  font-style: normal;}
.site-primary-footer-wrap a { margin-right: 30px; }

.site-below-footer-wrap {color:#a3aeb2; font-size: 16px; }
.site-below-footer-wrap a {color:#fff; }

.site-below-footer-wrap .ast-builder-html-element a { color:#a3aeb2; }

#astra-footer-menu .menu-item a { border-right: 1px solid #fff; line-height: 17px;  color: #a3aeb2 !important;  }
#astra-footer-menu .menu-item:last-of-type a { border-right: 0;  }

.site-below-footer-wrap[data-section="section-below-footer-builder"] .ast-builder-grid-row, .site-primary-footer-wrap[data-section="section-primary-footer-builder"] { padding-left: 50px; padding-right: 50px; }


/* Insights */

.insights figure, .insights figure img {  width: 100%; }

.insights .wp-block-column .wp-block-image { width: 100%; }

.single header .post-thumb-img-content { display: none;  }
.single header h1 { 
font-size: 48px;
    font-size: 2.6666666666667rem;
    font-weight: 300;
    font-family: 'Source Sans Pro',sans-serif;  }

.single h1 { text-align: center;  max-width: 800px; margin: 0 auto; font-size: 48px !important; padding-bottom: 75px;  }
.single .entry-content { max-width: 800px; margin: 0 auto; }

.wp-block-group__inner-container .insights.wp-block-columns .wp-block-column:nth-of-type(1) .wp-block-image , .wp-block-group__inner-container .insights.wp-block-columns .wp-block-column:nth-of-type(2) .wp-block-image { position: relative; }


/* locations */

.nomargin { margin-top:0;  }

.locations { background-color: #4a9aa2;  }
.locations h3 { color: #fff;  }
.locations p { color: #fff;  }
.locations p.learnmore a { color: #fff; background-image: url(images/om-readmore-white.png); }
/* Set the size of the div element that contains the map */
#map {
  height: 700px;
  /* The height is 400 pixels */
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  /* The width is the width of the web page */
}    

/* singles */

.single article { max-width: 1400px; margin: 0 auto !important; padding-top: 100px;  }

/* */


.textoverimages .wp-block-cover { margin-left: 0; margin-right: 0; color: #fff; }
.textoverimages .wp-block-cover .wp-block-cover__inner-container {
        position: absolute;
    height: 100%;
    width: 100%;
}
.textoverimages .wp-block-cover .has-text-align-center {
max-width: 100%;
    display: table;
    height: 100%;
    width: 100%;
}
.textoverimages .wp-block-cover a { 
    color: #fff;
    text-align: center;
    display: table-cell;
    position: relative;
    width: 100%;
    height: 100%;
    vertical-align: middle;
   
}  

.alm-reveal { max-width: 1400px;
    margin: 0 auto;
    padding-left: 50px;
    padding-right: 50px;  
flex-wrap: nowrap;
display: flex;
}
.alm-reveal figure img {
    width: 100%;
}
.alm-reveal p span { display: block; text-align:  center  }
.alm-reveal p a {
line-height: 30px;
    background: url(images/om-readmore.png) calc(100% - 1px) center no-repeat;
    padding-right: 35px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    display: inline-block;
        margin: 0 auto;
    margin-top: 28px;
}

.acceptance-768 {display: inline-block !important; width: auto !important;  }

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


    .main-header-menu .menu-link, .main-header-menu>a { padding: 0px 15px; }

    .ast-icon.icon-arrow svg { display: inline;}
    .wp-block-column:not(:only-child) {
        flex-basis: 100% !important;
    }

    .imageleft .wp-block-column:nth-of-type(even), .imageleft:nth-of-type(even) .wp-block-column:nth-of-type(even) { padding: 30px 0;  }
    .imageright .wp-block-column:nth-of-type(odd), .imageright:nth-of-type(odd) .wp-block-column:nth-of-type(odd) { padding: 30px 0; }
    .imageright h2 { padding-left: 30px;  }
    .imageright .wp-block-column:nth-of-type(even) .wp-block-cover { position: relative; right: 0;  }
    .imageleft .wp-block-column:nth-of-type(odd) .wp-block-cover { position: relative;  left: 0; }

    .wp-block-group.fullw:nth-of-type(odd) .wp-block-column:nth-of-type(even) .wp-block-cover, .wp-block-group.fullw:nth-of-type(even) .wp-block-column:nth-of-type(odd) .wp-block-cover { position: relative;  }
    .wp-block-group.fullw:nth-of-type(odd) .wp-block-column:nth-of-type(odd), .wp-block-group.fullw:nth-of-type(even) .wp-block-column:nth-of-type(even) {     padding: 30px  }

    .wp-block-group__inner-container p { padding-left: 30px; padding-right: 30px; }

    .fullw:nth-of-type(even) .wp-block-column:nth-of-type(even) { padding: 50px 50px;  }
    .fullw:nth-of-type(odd) .wp-block-column:nth-of-type(odd) { padding: 50px 50px; }

    .fullw:nth-of-type(even) .wp-block-column:nth-of-type(odd) .wp-block-cover{ position: relative; right: 0; }    
    .fullw:nth-of-type(odd) .wp-block-column:nth-of-type(even) .wp-block-cover { position: relative;  left: 0; }

    .wp-block-cover img { max-width:1024px !important; }
    .partners .wp-block-cover { padding: 0;  margin-left: 0;
    margin-right: 0;}

    .custom_bg .custom_bg_inner h1 {}

     .video { display: none !important; }
     .video_custom_bg { min-height: 500px !important;}
}

@media screen and (max-width: 768px) {
    .custom_bg .custom_bg_inner h1 {}
.wp-block-group__inner-container .wp-block-cover { margin-right: 0; margin-left: 0; }    
.home_custom_bg { min-height: 500px !important; }
.wp-block-columns { padding-left: 0; padding-right: 0; }
.wp-block-image { text-align: center; }
.wp-block-group__inner-container p { padding-left: 30px; padding-right: 30px; }

.partners .wp-block-columns { display: flex; }

h2, .entry-content h2 { font-size: 48px; }

.home_custom_bg .custom_bg_inner h1, .home_custom_bg .custom_bg_inner .header_sub_title {
    font-size: 30px;
    line-height: 30px;
}
.people .wp-block-column:not(:first-child) { margin-left: 0  }
}

@media screen and (max-width: 426px) {
    .custom_bg .custom_bg_inner h1 {     font-size: 48px; }
}
