/******* Do not edit this file *******/
/*
My Custom CSS - by Salvatore Noschese
aka L'AltroWeb - https://laltroweb.it/
/*
Saved: Feb 01 2019 | 08:16:33 (pm)
/*
/******* Do not edit this file *******/

body.home #main-header {
    position: absolute !important;
    top: 10px;
    background-color: rgba(255, 255, 255, 0.5) !important;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
.surrogacy-text {
  position: absolute;
  right: 0px;
  top: 83px;
  padding-top: 20%;
}
.surrogacy-text p{
    font-size: 26px;
}
nav#top-menu-nav {
   padding-top: 4%;
}
/* form*/
button.frm_button_submit {
    border-radius: 18px 0px!important;
    padding:11px;
}
/*--------Header Spacing-----------------*/
body.home .et_pb_section_0.et_section_regular {
    margin-top: 275px!important;
}
body.home #main-header {
    position: absolute !important;
}
#main-header {
    position: relative !important;
}
/*
.et_pb_section_0.et_section_regular {
    margin-top: 275px!important;
}*/
.post-template-default .et_pb_section_0.et_section_regular {
    margin-top: auto!important;
}
.single.et_pb_pagebuilder_layout.et_full_width_page .et_post_meta_wrapper {
    padding-top: 50px;
}

/* home page */
.page-id-78 .et_pb_section.et_pb_section_0.et_section_regular{
       margin-top: 0px!important; 
}
/* -------------home page tweaks----------------*/
/* font aweson phone header */
#et-info-phone:before {
    display: none;
}
#et-info-phone {
    font-size: 17px;
}
#et-info-phone {
    margin-right: 0px !important;
}
#et-info-phone .et_pb_widget {
    float: none;
    max-width: 100%;
}
#top-header {
    padding-top: 50px;
    padding-bottom: 50px;
}
div#text-2 {
    float: none;
    z-index: 999999;
    position: relative;
}
ul.flags {
    clear: both;
    overflow: hidden;
    float: right;
    width: 100%;
    margin-top: 2%;
}
ul.flags li {
    float: right;
    padding-right: 9%;
}
/*ul.flags li:nth-child(9) */
#text-2 > div > ul > li:nth-child(5) {
    padding-right: 0px !important;
}
#logo {
    max-height: 80% !important;
}
.build-a-family {
    background: rgba(15, 176, 171, 0.11);
    padding-top: 20px;
    padding-bottom: 20px;
    font-family: 'Open Sans Condensed';
    font-size: 26px;
}   
.build-a-family .container{
    padding-left: 1%;
}
.build-a-family span{
        font-style: italic;
}

/* Menu */
.et_header_style_left #et-top-navigation nav > ul > li > a {
    padding-bottom: 0px;
}
#top-menu li.first-child {
    border-top-left-radius: 25px;
}
#top-menu li.last-child {
    border-bottom-right-radius: 25px;
}
#top-menu li {
    text-align: right;
    border-width: 0.3px;
    border-top-left-radius: 0px;
    border-bottom-right-radius: 0px;
    border: 1px solid rgb(72, 72, 72);
    background-color: rgb(130, 215, 210);
    padding-top: 8px;
    padding-right: 0px;
    padding-bottom: 8px;
    padding-left: 0px;
    margin-top: 5px;
    margin-right: -5px;
    margin-bottom: 0px;
    margin-left: 0px;
}
#top-menu li:hover {
    background-color: rgb(41, 182, 174);
}
#top-menu li.current-menu-item > a {
    color: #fff;
}
#top-menu li.current-menu-item > a {
    color: rgb(72, 72, 72);
}
#top-menu a {
    display: block;
    position: relative;
    color: rgb(72, 72, 72);
    text-decoration: none;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    transition: all 0.25s ease-in-out 0s;
    font-weight: 400;
    font-size: 17px;
    padding: 8px 15px 8px 15px;
}
.current-menu-item {
    background-color: rgb(41, 182, 174) !important;
}
.current-menu-item a{
    color: rgb(72, 72, 72);
}
#top-menu .menu-item-has-children > a:first-child:after, #et-secondary-nav .menu-item-has-children > a:first-child:after {
    display: none;
}
.nav li ul {
    border-top: 0px;
    background: transparent;
    padding: 8px 0;
}
#top-menu li li a {
    width: 242px;
    padding: 6px 0px;
}
#top-menu li li a:hover {
color:#fff!important;
}
#top-menu li li {
    text-align: left;
    padding: 0 10px;
    background: rgb(238, 230, 230);
}


/**/
p.welcome {
font-family: 'Homemade Apple', cursive!important;
font-size:22px;
line-height: 2em;
color: rgb(159, 159, 159);
text-align: center;
}

/* buttons styling*/

  a.et_pb_button{
    border-radius: 25px 0px!important;
    font-family: 'Open Sans Condensed', sans-serif;
    text-transform: uppercase;
  }
  
  /* meet surrogate hyperlink*/
      a.meet-suro {
    color: rgb(7, 131, 142);
    text-decoration: underline;
    text-align: center;
    font-size: 25px;
    }


li.bodytext, li{
    font-family: 'Open Sans Condensed', sans-serif;
    line-height: 1.25em;
    margin-bottom: 5px;
    text-align: left;
    font-size: 23px;
}

/* font size tweaking*/
h2.custom1,h1.custom1 {
font-size:42px;
}

h1.custom2 {
    text-transform: uppercase;
    font-size: 42px;
    line-height: 1.2em;
    font-weight: 300;
    text-align: left;
    color: rgb(83, 83, 83);

}

h2.headline{
    font-size:33px;
}

/* these headlines are used for the state sections*/
h2.preamble1{
    margin-top: 40px;
    font-size:29px;
    text-decoration: underline;
    font-weight: bold;
}

/* used in law map state pages, same sex couple section*/
h2.preamble2{
    margin-top: 0px;
    margin-top: 10px;
    font-size:29px;
    text-decoration: underline;
    font-weight: bold;
}

p.subtitle {
    font-size:34px;
line-height: 1.2em;
letter-spacing: 0em;
font-weight: 400;    
}
p.copyright{
    font-size:18px;
}
p.subtitle-headline {
    font-size:26px;
line-height: 1.5em;
font-weight: 400;    
}

p a {
    text-decoration-line: underline;
}

hr {
    margin-top: 30px;
    margin-bottom: 40px;
}

/*----------- FOOTER -------------*/
/* cp removal*/
div#footer-bottom {
    display: none;
}

footer#main-footer {
    display: none;
}


/*----------baCK TO TOP -------------*/
span.et_pb_scroll_top.et-pb-icon.et-visible {
    width: 50px;
    background-color: rgb(41, 182, 174);
    border-color: rgb(132, 217, 212);
    height: 50px;
    margin-top: 0px;
    border-width: 3px;
    border-style: solid;
    margin-right: 60px;
}


/*------BLOG----*/
.et_pb_post .entry-featured-image-url {
    display: block;
    position: relative;
        max-width: 40%;
    vertical-align: bottom;
    float: left;
    padding: 15px;
}

#left-area {

    padding-bottom: 0px;
}


.single .post {
    padding-bottom: 0px;
}
.single .et_pb_post {
    margin-bottom: 0px!important;
}

a.more-link {
    margin-bottom: 0px;
    border-radius: 25px 0px;
    font-weight: 400;
    text-align: center;
    text-transform: uppercase;
    font-size: 20px;
    background-color: rgb(238, 230, 230);
    color: rgb(81, 81, 81);
    border:1px solid rgb(126, 126, 126);
    padding: 10px 10px;
    width: 13%;
    font-family:'Open Sans Condensed', sans-serif;
    margin-left:40%;
}
@media screen and (max-width: 1335px) {
ul.flags li {
    padding-right: 5%;
}
}
@media screen and (max-width: 1195px) {
header#main-header .container {
    width: 90%;
 }
}
@media screen and (max-width: 1064px) {
header#main-header .container {
    width: 100%;
 }
}
@media screen and (max-width: 1000px) {
ul.flags li {
    padding-right: 1%;
 }
}
@media screen and (max-width: 980px) {
.mobile_menu_bar:before {
    font-size: 40px;
    color: #666;
 }
}
/*----------- TABLET VIEW ------------*/
@media screen and (max-width: 782px){
/*
html {
    margin-top: 11px !important;
}*/
}

@media screen and (max-width: 980px) {
   .bg-mob{
	background-image: none!important;
	background:#f1e8df !important;
}
.surrogacy-text {
    display:none;
}
a.more-link {
 
    width: 38%;
   margin-left: 0; 
}
.post-content {
    width: 60%;
    float: right;
    display: inline-block;
}

    
}


@media screen and (max-width: 768px) {

ul.flags {
    display:none;

}
body.home #main-header {
    position: absolute !important;
    background-color: #ffffff !important;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
#main-header {
    /*position: absolute !important;*/
    background-color: #ffffff !important;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
/*
body.home .et_pb_section_0.et_section_regular {
    margin-top: 236px!important;
}

.et_pb_section_0.et_section_regular {
    margin-top: 236px!important;
}
*/

.home .et_pb_section_2 {
    background-image: url(http://creativefamilyconnections.com/wp-content/uploads/2017/04/HOMEBanners1.jpg);
    background-position: 100% 0%;
}
#logo {
    max-height: 90% !important;
}
img#logo {
    padding: 5px 0;
}
.mobile_menu_bar:before {

    font-size: 60px;
    color: #666;
}
}
/*----------- Smartphone VIEW ------------*/
@media screen and (max-width: 480px) {

img.resp {
	width:480px !important;
	margin-bottom:25px;
}

.frm_style_formidable-style.with_frm_style .frm_submit button{
        width: 36%;
}

h2, h2.headline {
    font-size: 26px;
}
/*
body.home .et_pb_section_0.et_section_regular {
    margin-top: 270px!important;
}

.et_pb_section_0.et_section_regular {
    margin-top: 270px!important;
}*/

span.et_pb_scroll_top.et-pb-icon.et-visible {
    margin-right: 10px;
}

/*--BLOG ---*/
.et_pb_post a img {
    max-width: 100%!important;
    vertical-align: bottom;
    float: none;
    padding: 0;
}
a.more-link {
    width: 100%;
   margin-left: 0; 
}
.post-content {
    width: 100%;
    float: none;
    display: inline-block;
}
}
.blog_bg {
    background: #99cccc;
    padding: 2%;
}