/*
 ---------------------------------------
 General Styles _ Consofas Design Lab
 ---------------------------------------
 */
#zoom { z-index: 999; }

#popup_newsletter {
	background-color: #fff;
    box-shadow: 0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12);
    display: none;
    padding: 24px;
    position: relative;
    width: 60%;
}

.layout-1, .layout-2, .layout-3, .layout-4 { position: relative; text-align: center; max-width: 95%; }

.custombox-content img {
    height: auto;
    max-width: 100%;
}

#custombox-popup_newsletter *, #custombox-popup_newsletter *::before, #custombox-popup_newsletter *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

#custombox-popup_newsletter .popup-block-title {
	font-size: 24px !important;
	font-weight: 600 !important;
	line-height: 1.1em !important;
	padding-bottom: 0 !important;
}
#custombox-popup_newsletter .content {
	font-size: 14px;
	line-height: 1.6em;
	margin-top: 0.5em;
}
#custombox-popup_newsletter .img_location_above { text-align: center; }
#custombox-popup_newsletter .img_location_above img { display: inline; }
#custombox-popup_newsletter .img_location_below img { display: inline; }
#custombox-popup_newsletter .img_location_top { float: left; width: 100%; }
#custombox-popup_newsletter .img_location_below { width: 100%; text-align: center; }
#custombox-popup_newsletter .img_location_left { float: left; width: 33%; }
#custombox-popup_newsletter .img_location_right { float: right; width: 33%; }

#custombox-popup_newsletter .popup-content { padding: 25px 15px 15px 15px; }

#custombox-popup_newsletter .content-img-top { float: right; width: 100%; }
#custombox-popup_newsletter .content-img-below { width: 100%; }
#custombox-popup_newsletter .content-img-left { float: right; width: 67%; }
#custombox-popup_newsletter .content-img-right { float: left; width: 67%; }


#custombox-popup_newsletter .cdl_popup_close_button:before { position: absolute; top: 7px; right: 7px; }
#custombox-popup_newsletter .cdl_popup_close_button { color: #000; position: absolute; top: -10px; right: -10px; width: 30px; height: 30px; -webkit-border-radius: 30px; -moz-border-radius: 30px; border-radius: 30px; background-color: #fff; -webkit-box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.34); -moz-box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.34); box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.34); cursor: pointer; font-size: 18px; line-height: 25px; font-family: "Helvetica Neue",Verdana,Arial,sans-serif !important; text-align: center; }

/*
 ----
 Forms
 -------
 */

#custombox-popup_newsletter .rounded button, #custombox-popup_newsletter .rounded input {
	border: none;
    border-radius: 3px !important;
    height: 30px;
    padding: 7px 15px;
}
#custombox-popup_newsletter input, #custombox-popup_newsletter textarea, #custombox-popup_newsletter #popup_email {
    padding: 14px !important;
    font-family: "Open Sans",sans-serif;
    font-size: 14px;
}
#custombox-popup_newsletter .popup_input {
    float: left;
    padding-right: 20px;
    width: 68%;
    font-size: 16px;
}
#custombox-popup_newsletter .popup_hide {
	font-size: 12px;
	margin-top: 15px;
}
#custombox-popup_newsletter button.button span {
    background: none;
    color: #fff;
    float: inherit;
}

#custombox-popup_newsletter .formSuccess {
	padding: 20px;
	font-weight: bold;
	font-style: italic;
}
#custombox-popup_newsletter #successCloseBtn {
	margin-top: 15px;
}


/*
 ---------------------------------------
 Layout 1
 ---------------------------------------
 */
#custombox-popup_newsletter .layout-1 .backgroundImage {
	padding: 15px;
}
#custombox-popup_newsletter .layout-1 .popup_divider {
	clear: both;
}
#custombox-popup_newsletter .layout-1 .opt-in {
	padding: 15px;
}

#custombox-popup_newsletter .layout-1 .form_content {
    background-color: #e9e9e9;
    color: rgba(0, 0, 0, 0.5);
    padding: 40px 30px;
    position: relative;
    width: 100%;
}
#custombox-popup_newsletter .layout-1 .input-text, #custombox-popup_newsletter .layout-1 #popup_email {
    height: auto;
	padding: 10px !important;
    border: medium none;
    line-height: 20px;
    float: left;
}
#custombox-popup_newsletter .layout-1 #popup_email {
	float: right;
}
#custombox-popup_newsletter .layout-1 button {
    background-color: #222;
    border: medium none;
    color: #fff;
    font-weight: 600;
    height: auto;
    letter-spacing: 1px;
    text-transform: uppercase;
    width: 32%;
    padding: 10px !important;
    line-height: 20px;
}
#custombox-popup_newsletter .layout-1 .popup_hide {
	text-align: right;
	margin-bottom: -30px;
	margin-top: 8px;
}
#custombox-popup_newsletter .layout-1 .input-num-1 { width: 100%; }
#custombox-popup_newsletter .layout-1 .input-num-2 { width: 48%; }
#custombox-popup_newsletter .layout-1 .input-num-3 { width: 32%; }
#custombox-popup_newsletter .layout-1 .middle-input { margin-left: 2%;  }




/*
 ---------------------------------------
 Layout 2
 ---------------------------------------
 */
#custombox-popup_newsletter .layout-2 .cdl_table_layout {
	display: table;
}
#custombox-popup_newsletter .layout-2 .opt-in {
	display: table-cell;
	width: 65%;
	text-align: center;
}
#custombox-popup_newsletter .layout-2 .backgroundImage {
	padding: 15px;
	text-align: center;
}
#custombox-popup_newsletter .layout-2 .backgroundImage img {
	display: inline;
}
#custombox-popup_newsletter .layout-2 .form_content  {
	display: table-cell;
	vertical-align: middle;
	width: 34%;
}
#custombox-popup_newsletter .layout-2 .popup_input {
	padding-right: 0;
	width: 100%;
}
#custombox-popup_newsletter .layout-2 #popup_email, #custombox-popup_newsletter .layout-2 #firstname, #custombox-popup_newsletter .layout-2 #laname {
	padding: 0 8px !important;
}
#custombox-popup_newsletter .layout-2 .input-num-1 { width: 80%; margin-bottom: 15px; }
#custombox-popup_newsletter .layout-2 .input-num-2 { width: 80%; margin-bottom: 15px; }
#custombox-popup_newsletter .layout-2 .input-num-3 { width: 80%; margin-bottom: 15px; }
#custombox-popup_newsletter .layout-2 .middle-input { margin-left: 0;  }


/*
 ---------------------------------------
 Layout 3
 ---------------------------------------
 */

#custombox-popup_newsletter .layout-3 .backgroundImage {
	padding: 15px;
	text-align: center;
}
#custombox-popup_newsletter .layout-3 .backgroundImage img {
	display: inline;
	width: 70%;
}
#custombox-popup_newsletter .layout-3 .popup-content {
	padding: 15px 30px;
}
#custombox-popup_newsletter .layout-3 .popup_divider {
	clear: both;
}
#custombox-popup_newsletter .layout-3 .opt-in {
	padding: 15px;
}
#custombox-popup_newsletter .layout-3 .form_content {
    padding: 40px 30px;
    position: relative;
    width: 100%;
}
#custombox-popup_newsletter .layout-3 button {
    background-color: #222;
    border: medium none;
    color: #fff;
    font-weight: 600;
    height: auto;
    letter-spacing: 1px;
    text-transform: uppercase;
    width: 32%;
    line-height: 20px;
}
#custombox-popup_newsletter .layout-3 #popup_email, #custombox-popup_newsletter .layout-3 #firstname, #custombox-popup_newsletter .layout-3 #laname {
	padding: 10px !important;
	height: auto;
}
#custombox-popup_newsletter .layout-3 .input-num-1 { width: 100%; }
#custombox-popup_newsletter .layout-3 .input-num-2 { width: 48%; }
#custombox-popup_newsletter .layout-3 .input-num-3 { width: 32%; }
#custombox-popup_newsletter .layout-3 .middle-input { margin-left: 0;  }

 /*
 ---------------------------------------
 Layout 4
 ---------------------------------------
 */

#custombox-popup_newsletter .layout-4 .opt-in {
	text-align: center;
}
#custombox-popup_newsletter .layout-4 .backgroundImage {
	padding: 0;
	text-align: center;
	width: 35%;
}
#custombox-popup_newsletter .layout-4 .img_layout_above .backgroundImage,
#custombox-popup_newsletter .layout-4 .img_layout_above .popup-content,
#custombox-popup_newsletter .layout-4 .img_layout_above .form_content,
#custombox-popup_newsletter .layout-4 .img_layout_below .backgroundImage,
#custombox-popup_newsletter .layout-4 .img_layout_below .popup-content,
#custombox-popup_newsletter .layout-4 .img_layout_below .form_content{
	width: 100%;
	float: none;
}
#custombox-popup_newsletter .layout-4 .backgroundImage img {
	display: inline;
}

#custombox-popup_newsletter .layout-4 .popup-content {
	width: 65%;
}
#custombox-popup_newsletter .layout-4 .form_content  {
	float: right;
	margin-top: 20px;
	width: 65%;
}
#custombox-popup_newsletter .layout-4 .popup_input {
	padding-right: 0;
	width: 100%;
}
#custombox-popup_newsletter .layout-4 #popup_email, #custombox-popup_newsletter .layout-4 #firstname, #custombox-popup_newsletter .layout-4 #laname {
	padding: 0 8px !important;
}
#custombox-popup_newsletter .rounded .action-newsletter button, #custombox-popup_newsletter .rounded .action-newsletter input {
    height: auto;
}
#custombox-popup_newsletter .layout-4 .input-num-1 { width: 70%; /*margin-bottom: 15px;*/ }
#custombox-popup_newsletter .layout-4 .input-num-2 { width: 80%; margin-bottom: 15px; }
#custombox-popup_newsletter .layout-4 .input-num-3 { width: 80%; margin-bottom: 15px; }

@media (max-width: 500px) {
	#custombox-popup_newsletter .popup_input {
	    float: none;
	    font-size: 16px;
	    padding-right: 0;
	    padding-left: 0;
	    width: 100%;
	}
	#custombox-popup_newsletter .layout-1 .input-num-2, #custombox-popup_newsletter .layout-3 .input-num-2, #custombox-popup_newsletter .layout-4 .input-num-2 {
	    width: 100%;
	    margin-bottom: 10px;
	}
	#custombox-popup_newsletter .layout-1 button, #custombox-popup_newsletter .layout-3 button, #custombox-popup_newsletter .layout-4 button {
	    padding-right: 20px;
	    padding-left: 20px;
	    position: inherit;
	    width: 100%;
    }
}

#custombox-popup_newsletter .backgroundImage .blackBox
{
	position: relative !important;
}