/*
Theme Name:  NMS V2
Theme URI:   https://nmss-orderform.com/
Version:     1.0
Description: Custom child theme created for our site Nordic Medical Solutions.
Author:      jakobnordic
Author URI:  https://nms-orderform.com/
Template:    Divi
*/


/***********************************************************************
Caution: do not remove this to keep Divi Children Engine always updated 
Divi Children Engine version: 1.0.4
***********************************************************************/

/*------------------------------[FONT ICONS]-----------------------------*/
/*--[Created by Divi Children, https://divi4u.com/divi-children-plugin/]--*/
/*-----------------------------------------------------------------------*/

.icon_tags, .icon_profile, .icon_chat, .icon_clipboard, .icon_calendar {
	font-family: 'ETmodules';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-size: 16px;
	color: #318EC3;
}
.icon_tags:before {
	content: "\e07c";
	padding: 0px 5px 0 0;
}
.icon_profile:before {
	content: "\e08a";
	padding: 0 5px 0 0;
}
.icon_chat:before {
	content: "\e066";
	padding: 0 5px 0 20px;
}
.icon_clipboard:before {
	content: "\e0e6";
	padding: 0 5px 0 20px;
}
.icon_calendar:before {
	content: "\e023";
	padding: 0 5px 0 20px;
}

/*- YOU CAN INCLUDE THE CUSTOM CODE FOR YOUR CHILD THEME BELOW THIS LINE-*/

/*------------------------------------------------*/
/*-----------------[BASIC STYLES]-----------------*/
/*------------------------------------------------*/

/* .et_pb_slide_description { float: left; padding: 9% 3% 9% 0; text-align: left; width: 40%; } */

p, .display_archive .campaign { letter-spacing: -0.02em; }

.et_pb_text p, .et_pb_team_member_description p, .et_pb_newsletter .et_pb_newsletter_description p, .search article { text-align: justify; }

.gecko .et_pb_newsletter .et_pb_newsletter_field { margin-bottom: inherit; padding-left: inherit; }
.et_pb_newsletter_form input[type="text"], .et_pb_newsletter_form p.et_pb_newsletter_field input[type="text"] { font-size: 14px; }

.single-project .et_pb_text_0 p { text-align: center; }

p + h2 { margin-top: 9px; }

.et_pb_gallery_item h3 { font-family: inherit; }

.display_archive .campaign { color: #fff; }

.et_pb_member_position { color: #235062; }

.type-project p a { color: #132635; text-decoration: underline; }
.et_pb_text.et_pb_bg_layout_dark p a, .et_pb_code a { color: #cfccc9; text-decoration: underline; }
.et_pb_text.et_pb_bg_layout_dark p a:hover, .et_pb_code a:hover, .type-project p a:hover  { color: #8d887c; text-decoration: none; }


/* .et_pb_code a:hover { color: #cfccc9; text-decoration: underline; } */

.et_pb_toggle_content a { text-decoration: underline; }
.et_pb_toggle_content a:hover { color: #235062; text-decoration: none; }


/*------------------------------------------------*/
/*---------------[MAIN LAYOUT INFO]---------------*/
/*------------------------------------------------*/


.menu-item-429, .menu-item-2730, .menu-item-3275, .menu-item-3492, .menu-item-4158, .menu-item-5842, .menu-item-5843, .menu-item-5844, .menu-item-5845, .menu-item-5846 {
	background-image: url('https://nmss-orderform.com/wp-content/uploads/2020/03/NMS_WeChat.png');
	background-repeat: no-repeat;
	background-position: left left;
	padding-left: 20px;
	background-size: 17px;
}

#et-info-phone::before { content: none!important; }


.input.et_pb_contact_captcha { max-height: 45px; }
.et_contact_bottom_container { overflow: visible; width:100%;  }
.et_pb_contact_right p input { max-width: 50px; }
.et_pb_contact_right { vertical-align: top; width: 47%; }
.et_contact_bottom_container { margin-top: 0.5%; }

textarea { font-family: inherit; }

.et_mobile_menu li.current-menu-item a, #et-secondary-nav .current-menu-item a { color: #a39e98; }


/*------------------------------------------------*/
/*---------------[DROPDOWN MENU PRODUCTS]------------------*/
/*------------------------------------------------*/

.fullwidth-menu .menu-item-has-children > a:first-child::after { right: inherit; }
.fullwidth-menu li { width: 100%; }

@media all and (max-width: 980px) {
.et_pb_fullwidth_menu .fullwidth-menu-nav, .fullwidth-menu { display: block!important; }
.et_mobile_nav_menu { display: none!important; }
.et_pb_fullwidth_menu .fullwidth-menu-nav > ul > li.mega-menu > ul { top: 81px; }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation : landscape) {
.et_pb_fullwidth_menu .fullwidth-menu-nav > ul > li.mega-menu > ul { top: 75px; }
}


/*------------------------------------------------*/
/*-------------------[PRODUCTS]-------------------*/
/*------------------------------------------------*/

.single-project .et_pb_column_0 {
    background-color: #ffffff;
    padding-top: 28px;
    padding-right: 28px;
    padding-bottom: 22px;
    padding-left: 28px;
    margin-top: 5px; 
}

.single-project .et_pb_column_1 { }


/*------------------------------------------------*/
/*---------------------[FOOTER]-------------------*/
/*------------------------------------------------*/

#footer-info { text-align: center !important; float: none; padding-bottom: 0; }
#footer-info span { color: #fff !important; display: block; text-decoration: none !important; }
#footer-social-new ul { text-align: center !important;} 
#footer-social-new ul li { display: inline-block; *display: inline; zoom: 1; float: none; margin-bottom: -12px; margin-top:20px; }
#footer-social-new ul li img {max-height: 32px; vertical-align: middle; margin-top: -7px; }
#footer-social-new li a span { display: none; }

.gazelle { text-align:center; }

/*------------------------------------------------*/
/*--------------------[SIDEBAR]-------------------*/
/*------------------------------------------------*/



/*------------------------------------------------*/
/*------------[CAPTIONS AND ALIGNMENTS]-----------*/
/*------------------------------------------------*/



/*------------------------------------------------*/
/*-----------------[WP CALENDAR]------------------*/
/*------------------------------------------------*/



/*------------------------------------------------*/
/*-------------------[PAGE NAVI]------------------*/
/*------------------------------------------------*/



/*------------------------------------------------*/
/*------------------[TRANSITIONS]-----------------*/
/*------------------------------------------------*/



/*------------------------------------------------*/
/*-----------------[WECHAT OVERRIDE]-----------------*/
/*------------------------------------------------*/

#footer-social-new ul li a.thumbsniper:hover,
#footer-social-new ul li a.thumbsniper:hover:after,
#top-menu li a.thumbsniper:hover,
#top-menu li a.thumbsniper:hover:after,
#et-secondary-nav li a.thumbsniper:hover,
#et-secondary-nav li a.thumbsniper:hover:after
{
	visibility: visible;
	opacity: 1;
}

#footer-social-new ul li a.thumbsniper:after,
#top-menu li a.thumbsniper:after,
#et-secondary-nav li a.thumbsniper:after
{
	content: "";
	width: 169px;
	height: 169px;
	background-image: url('https://nmss-orderform.com/wp-content/uploads/2020/03/NMS_WeChat.png');
	background-repeat: no-repeat;
	background-position: center center;
	padding: 14px;
	position: absolute;
    background-color: #ffffff;
    background-size: 177px 177px;
	visibility: hidden;
	opacity: 0;
	z-index: 99999999999;
	margin-bottom: 8px;

	-webkit-transition: all .4s ease-out !important;
	-moz-transition: all .4s ease-out !important;
	transition: all .4s ease-out !important;
}

#top-menu li a.thumbsniper:after,
#et-secondary-nav li a.thumbsniper:after {
    top: 25px;
    right: 0;
}

#footer-social-new ul li a.thumbsniper:after {
    bottom: 32px;
    right: 0;
}

/*------------------------------------------------*/
/*---------------[RESPONSIVE LAYOUTS]-------------*/
/*------------------------------------------------*/

@media only screen and ( min-width: 768px ) {

.et_pb_newsletter_description { margin-bottom: 0; }
.et_pb_newsletter .et_pb_newsletter_description p { max-width: 485px; }

}

@media only screen and ( min-width: 981px ) {

}

/*-------------------[960px]------------------*/
@media only screen and ( min-width: 981px ) and ( max-width: 1100px ) {

	/*-------------------[Sliders]------------------*/

	/*-------------------[Portfolio]------------------*/

	/*-------------------[Sidebar]------------------*/
	
	/*-------------------[Menu]------------------*/
	
}

/*-------------------[768px]------------------*/
@media only screen and ( max-width: 980px ) {

	/*-------------------[Portfolio]------------------*/
	
	/*-------------------[Sliders]------------------*/
	
	/*-------------------[Menu]------------------*/

}

@media only screen and ( min-width: 768px ) and ( max-width: 980px ) {

}

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

}

/*-------------------[480px]------------------*/
@media only screen and ( max-width: 767px ) {

	/*-------------------[Menu]------------------*/

}

/*-------------------[320px]------------------*/
@media only screen and ( max-width: 479px ) {

}

/* custom quick fixes */
#top-menu-nav{
	visibility: hidden;
}

#et_top_search {
	display: none;
}

#main-header {
	background: #132635;
}

.c-crm-modal-inner {
	max-height: 80%;
    overflow-y: scroll;
}