/*======================================
Theme Name: Talem IP Law Theme
Theme URL: https://divicake.com/
Description: Custom theme design for Talem IP Law by Seamless Creative.
Version: 1.0
Author: Seamless Creative
Author URL: https://seamlesscreative.design
Template: Divi
======================================*/


@font-face {
    font-family: 'sansation_lightlight';
    src: url('Sansation-Light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'sansationregular';
    src: url('Sansation-Regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'sansationbold';
    src: url('Sansation-Bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/*----------Prevents headlines from wrapping during responsive use----------*/
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
    word-wrap: normal;
}

/*---------Fix Jumping Header----------*/
#page-container { 
	padding-top:104px !important; 
}

#footer-bottom {
	border: 0 !important;
	padding: 0;
}

@media (max-width:768px) {
	.et_pb_section.et_pb_section_0 {
  background-position: 65% 0%; 
}
}

.page-id-25 #main-header {
    background-color: rgba(242,242,242,0.6);
}

.page-id-25 #et-main-area {
	margin-top: -104px !important;
}

/* iPad logo placement */
@media only screen and (max-width: 980px) {
.et_pb_image_0 {
    margin-left: 0 !important;
}
}

/*----- Hide logo on home page -----*/
.page-id-25 #logo {
display: none !important;
}

/*----- Display logo on home page fixed header -----*/

@keyframes fadeDown {
	0% {opacity:0;
		margin-top:-60px;}
	100% {opacity: 1;
	margin-top: 0px;}
}

@media only screen and (min-width: 981px) {
.page-id-25 .et-fixed-header .et_menu_container #logo {
	display: inline-block !important; 
	animation-name: fadeDown !important;
	animation-duration: 1s !important;
}
}


.page-id-25 .et-fixed-header {
	background-color: rgba(242,242,242,1) !important;
}

#top-menu li.current-menu-item > a {
	color: #2ea3f2 !important;
}


/*----- Animate Scroll Down Arrow -----*/
#arrowIcon .et_pb_main_blurb_image {
	animation: fullwidth-header-bounce 2.2s ease-out infinite;
}
@keyframes fullwidth-header-bounce {
  0% { transform:translateY(0%); }
  12.5% { transform:translateY(20%); }
  25% { transform:translateY(0%); }
  37.5% { transform:translateY(20%); }
  50% { transform:translateY(0%); }
}

/*----- Remove patent slider text shadow -----*/
.et_pb_bg_layout_dark .et_pb_slide_description {
    text-shadow: none !important;
}

/*----- Hide bottom footer -----*/
#footer-bottom {
	display: none;
}

/*===== Contact Us Global Module =====*/

/*----- Animate ghost button hover -----*/
#ContactUs .et_pb_button:hover {
    border-width: 2px!important;
    background-image: initial!important;
    background-color: rgba(0,0,0,0)!important;
	border: 2px solid white !important;
	transform: translateX(0px) translateY(-4px);
}

/*===== Slim Email Optin Module =====*/

#NewsletterSignup .et_pb_button:hover {
    border-width: 2px!important;
    background-image: initial!important;
    background-color: rgba(0,0,0,0)!important;
	border: 2px solid white !important;
	transform: translateX(0px) translateY(-4px);
}


.dl-slim-optin1 .et_pb_newsletter_footer {
	flex-basis: 100%;
	margin-top: 0;
	font-size: 80%;
}	
.dl-slim-optin1 .et_pb_newsletter_field,
.dl-slim-optin1 .et_pb_newsletter_button_wrap {
	flex-basis:49%;
}
@media (max-width:980px) {
	.dl-slim-optin1 {
		display:block;
	}
	.dl-slim-optin1 .et_pb_newsletter_description,
	.dl-slim-optin1 .et_pb_newsletter_form {
		width: 100%;
		padding: 0;
	}
	.dl-slim-optin1 .et_pb_newsletter_description {
		margin-bottom: 10px;
		text-align:center;
	}
	.dl-slim-optin1 .et_pb_newsletter_footer {
		text-align:center;
	}
}
@media (max-width:479px) {
	.dl-slim-optin1 .et_pb_newsletter_field,
	.dl-slim-optin1 .et_pb_newsletter_button_wrap {
		flex-basis:100%;
	}
}

/*----- Center Email Optin module forms -----*/
.et_pb_column_1_2 .et_pb_newsletter_form {
	margin: auto;
  	width: 90%;
/*   	border: 3px solid green; */
}

@media (max-width:980px) {
	.et_pb_column_1_2 .et_pb_newsletter_form {
	margin: auto;
  	width: 100%;
/*   	border: 3px solid red; */
	}
	.dl-slim-optin1 .et_pb_newsletter_field, .dl-slim-optin1 .et_pb_newsletter_button_wrap {
    margin: auto;
	}
	.dl-slim-optin1 .et_pb_button {
    width: 55% !important;
    margin: auto;
}
}

@media (max-width:479px) {
	.et_pb_column_1_2 .et_pb_newsletter_form {
	margin: auto;
  	width: 100%;
/*   	border: 3px solid yellow; */
	}
	.dl-slim-optin1 .et_pb_newsletter_field, .dl-slim-optin1 .et_pb_newsletter_button_wrap {
    margin: auto;
	}
	.dl-slim-optin1 .et_pb_button {
    width: 40% !important;
    margin: auto;
}
}

/*===== END Slim Email Optin Module =====*/


/*========== Blog Page ==========*/

.et_pb_salvattore_content a.more-link {
    font-size: 16px;
    color: #0c71c3 !important;
    margin-top: 30px;
    float: none;
    padding: 8px 16px;
    border-radius: 25px;
    background-color: transparent;
    border: 2px solid #0c71c3;
}

.entry-title {
	margin-top: 0px;
	color: #0c71c3 !important;
}

.et_pb_post .entry-content {
    font-size: 17px !important;
}

#sidebar h4 {
	font-weight: 600;
    font-size: 22px;
    color: #0c71c3!important;
}

#sidebar {
	background-color: #f2f2f2;
    border-radius: 0px 5px 5px 0px !important;
    overflow: hidden;
    border-width: 1px;
    border-color: #bacbd9;
	padding: 20px 20px 0px 0px;
}

@media (max-width: 980px) {
.et_right_sidebar #sidebar {
    padding: 20px;
	border-radius: 5px 5px 0px 0px !important;
}
}

/* Patent Slider */
.et-pb-controllers {
    bottom: 0px !important;
}

.et_pb_slide_image {
    display: block!important;
}

/*----------Custom Back To Top Button----------*/
 
.et_pb_scroll_top.et-visible {
	background-color: rgba(12,113,195,0.65) !important;
}

.et_pb_scroll_top.et-pb-icon {
    right: -10px;
    bottom: 75px;
    border-radius: 5px;
    background: rgba(12,113,195,0.65);
    padding: 2px 12px 2px 2px;
}

