/**
 * Form Styles.
 */
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,400i,500,500i,700,900');

.noselect, .tab_title, .downloadsender_tab-title {
	-webkit-touch-callout: none;-webkit-user-select: none;-khtml-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none
}
.downloadsender code {
	-webkit-touch-callout: all!important;-webkit-user-select: all!important;-khtml-user-select: all!important;-moz-user-select: all!important;-ms-user-select: all!important;user-select: all!important
}

/* Settings errors */
.downloadsender #downloadsender-setting-error:not(.notice) {
	display: none;
}
.downloadsender #downloadsender-setting-error {
	max-width: 947px;
	margin-left: 10px;
	margin-top: 15px;
}

/*-------------------------------------------------------------------------*/
/*	Fields
/*-------------------------------------------------------------------------*/

#downloadsender_tabs {
	margin: 30px 0 15px 0 !important;
	max-width: 1000px;
}
#downloadsender_tabs.mce-dialog-tabs {
	margin-top: 15px !important;
}
#downloadsender_tabs > div:first-of-type + div > div.downloadsender_tab-title {
	margin-top: 0!important;
}
.wrap.downloadsender th[scope="row"] {
	display: none!important;
}
.wrap.downloadsender th[scope="row"] + td {
	padding: 0;
	line-height: unset;
	vertical-align: unset;
}
#downloadsender_tabs {
	margin: 15px 0;
}
.downloadsender_options-tab:not(.flex-block) {
	display: block;
	margin-top: 5px;
}
.downloadsender_options-tab.title {
	margin-top: 0;
	display: inline-block;
}
.downloadsender_options-tab:not(.flex-block), .mce-dialog-tabs .downloadsender_options-tab {	
	position: relative;
	margin-top: 10px;
}
.flex-block .downloadsender_options-tab {	
	margin-top: 0;
}
.downloadsender_options-tab.select {
	margin-bottom: 10px;
}
.downloadsender_options-tab label.switch {
	margin-top: 4px;
}
.downloadsender_options-tab .button, .downloadsender_options-tab .button-secondary {
	box-shadow: none;
}
input[type="radio"], input[type="checkbox"] {
	margin: 0 4px 0 0;
}
.downloadsender_options-tab p.description{
	display: inline-block;
	margin-bottom: 12px;
}
.mce-dialog-tabs .downloadsender_options-tab p.description{
	display: block;
}

/* select */
.downloadsender_options-tab select {
	height: unset;
}

/* required fields */
.downloadsender_options-tab .asterisk {
	display: inline-block;
	margin-left: 4px;
	font-size: 16px;
	color: #ff5a00;
}

/* Buttons */
.downloadsender .button-primary, .downloadsender .button-secondary {
	min-width: 120px;
	text-align: center;
}
.downloadsender_options-tab.singlebutton > div {
	display: inline-block;
}
.downloadsender_options-tab .dashicons {
	position: relative;
	top: 3px;
	margin-right: 5px;
}

/* Heading */
.downloadsender_options-tab.heading {
	position: relative;
	margin: 5px -25px;
	padding: 0 25px 0 25px;
	height: 34px;
	line-height: 34px;
	font-size: 1.3em;
	font-weight: 600;
	color: #23282d;
}

/* input fields*/
#downloadsender_tabs input[type="text"] {
	padding: 3px 5px;
}

/* Blocks */
#downloadsender_tabs .flex-block {
	display: flex;
}

/* inline & inline-block Fields */
.downloadsender_options-tab.inline-block, .downloadsender_options-tab.inline {
	display: inline-block;
	width: calc(50% - 27px);
	margin-right: 25px;
}
.downloadsender_options-tab.inline-block {
	width: calc(50% - 12px);
	margin-right: 10px;
}
.downloadsender_options-tab.right-block {
	margin-left: 10px;
	margin-right: 0;
}
.downloadsender_options-tab.inline {
	width: auto;
	margin-right: 5px;
}
.mce-dialog-tabs .downloadsender_options-tab.inline {
	width: 100%;
}
.downloadsender_options-tab.textblock {
	line-height: 18px!important;
}
.downloadsender_options-tab.textblock.inline-label {
	min-width: 150px;
	font-weight: 600;
}

/* Row border */
.downloadsender_options-tab.border {
	padding: 5px 10px;
	min-height: unset!important;
}

/* Separator */
.downloadsender_separator[data-height="null"] { height: 0; margin-bottom: 0; }
.downloadsender_separator[data-height="thinnest"] { height: 2px; margin-bottom: 4px; }
.downloadsender_separator[data-height="thinner"] { height: 4px; margin-bottom: 8px; }
.downloadsender_separator[data-height="thin"] { height: 6px; margin-bottom: 12px; }
.downloadsender_separator[data-height="wide"] { height: 8px; margin-bottom: 16px; }
.downloadsender_separator[data-height="wider"] { height: 10px; margin-bottom: 20px; }
.downloadsender_separator[data-height="widest"] { height: 12px; margin-bottom: 24px; }
.downloadsender_separator[data-height="default"] { height: 3px; margin-bottom: 7px; }
.downloadsender_separator[data-width="null"] { width: 0; margin-bottom: 0; }
.downloadsender_separator[data-width="thinnest"] { width: 20px; margin-left: 20px; }
.downloadsender_separator[data-width="thinner"] { width: 40px; margin-left: 40px; }
.downloadsender_separator[data-width="thin"] { width: 80px; margin-left: 80px; }
.downloadsender_separator[data-width="wide"] { width: 120px; margin-left: 120px; }
.downloadsender_separator[data-width="wider"] { width: 160px; margin-left: 160px; }
.downloadsender_separator[data-width="widest"] { width: 200px; margin-left: 200px; }
.downloadsender_separator[data-width="default"] { width: 240px; margin-left: 240px; }
.downloadsender_separator:not(.vertical) {
	border-bottom: 1px solid rgba(0,0,0,.1);
}
.downloadsender_separator.vertical {
	height: 25px;
	border-left: 1px solid rgba(0,0,0,.1);
}
.downloadsender_options-tab.separator.vertical {
	top: 15px;
    min-height: 30px;
    line-height: 30px;
}
.downloadsender_separator.dashed {
	border-bottom: 1px dashed rgba(0,0,0,.2);
}
.downloadsender_separator.no_line {
	border-color: transparent;
}

/* Section Title, Subtitle & accordion tab */
.downloadsender_options-tab.subtitle {
	padding: 0;
}
.downloadsender_tab-title {
	position: relative;
	font-weight: bold;
	height: 30px;
	line-height:30px;
	padding: 0 20px;
	margin-top: 20px;
	margin-bottom: 25px;
}

.toggle-button:before {
	font: 400 20px/1 dashicons;
	position: absolute;
	content: "\f142";
	height: 38px;
	width: 38px;
	line-height: 38px;
	font-weight: 700;
	right: 0;
	top: 0;
	color: #555;
	cursor: pointer;
	box-sizing: inherit;
}
.toggle-button.tab-collapsed:before {
	content: '\f140';
}
.tab-trigger {
	margin-bottom: 0!important;
	cursor: pointer;
}
[data-tab-target] {
	margin-bottom: 0;
}
#downloadsender_tabs .toggle-tab {
	position: relative;
	margin-top: -1px;
	padding: 50px 25px 25px 25px;
	border-top: 1px solid #ccc;
	min-height: 250px;
}

#expire_time option:last-child {
	
}
#downloadsender_tabs.mce-dialog-tabs .toggle-tab {
	padding-top: 25px !important;
}
#downloadsender_tabs .toggle-tab:before {
	content: '';
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	background: #ffffff;
}
.downloadsender_tab-title:not(.no-background) {
	font-weight: normal;
}
.downloadsender_tab-title.no-background {
	font-size: 13px;
	padding-left: 0;
	margin: 0 0 10px 0;
}
.downloadsender_tab-title.full-width  {
	border-left: none;
}
.downloadsender_options-tab textarea:not(.wp-editor-area), .downloadsender_options-tab .wpbp_input_field_larg {
	resize: none;
	width: 100%!important;
	max-width: 500px;
}
.downloadsender_options-tab textarea, .downloadsender_options-tab input:not([type="checkbox"]):not([type="radio"]),
.downloadsender_options-tab select {
	margin-top: 7px;
}

/* Paragraph */



/* Labels */
.downloadsender_options-tab label {
	display: inline-block;
	margin-right: 10px;
	font-weight: 600;
}
.downloadsender_options-tab .sub-desc {
	color: #666;
}
/* Disabled fields */
.downloadsender_options-tab.disabled {
	pointer-events: none;
	opacity: 0.5;
}
.downloadsender_options-tab.hidded {
	display: none;
}

/* save changes */		
.save_changes_container {
	display: flex;
	justify-content: end;
	position: relative;
	text-align: right;
	height: 29px;
	z-index: 5;
}
.save_changes_container > div {
	margin-left: 15px;
}
.save_changes_container.top {
	padding-bottom: 30px;
	min-width: 365px;
}
.save_changes_container.bottom {
	padding-top: 15px;
	margin-top: 10px;
}

/* Tab title */
.downloadsender_tab-title:not(.no-background) {	
	height: 38px;
	line-height: 38px;
	padding: 0 30px;
	margin-left: .5em;
	margin-top: 0;
	font-size: 14px;
	font-weight: 600;
	color: #555;
	background: #e5e5e5;
	border: 1px solid #ccc;
}
.mce-dialog-tabs .downloadsender_tab-title:not(.no-background) {
	padding: 0 20px;
}
.downloadsender_tab-title:not(.no-background):not(.active):hover {
	background-color: #fff;
	color: #444;
}

/* form validation */
body input.is-empty-field {
	border: 1px solid #e6c7a4;
	background-color: bisque;
}

/* Bulk actions */
.expired-links-response {
	display: block;
	margin-bottom: 15px;
	padding: 5px 15px;
	font-size: 12px;
	font-style: italic;
	color: #444;
	background: #fff;
	border-left: 4px solid #fff;
	-webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
		 -o-box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
			box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
}
.expired-links-response.notice-success {
	border-left-color: #46b450;
}
.expired-links-response.notice-warning {
	border-left-color: #ffb900;
}
.expired-links-response .spinner {
	float: unset;
	margin: 1px 0;
}
/* Dropdown*/
.downloadsender_options-tab optgroup {
	font-style: normal;
}

/* Accordion */
.ds-accordion {
	background-color: #eee;
	color: #444;
	cursor: pointer;
	padding: 12px 18px;
	width: 100%;
	border: none;
	text-align: left;
	outline: none;
	font-size: 15px;
	transition: 0.4s;
}

.ds-accordion.active, .ds-accordion:hover {
	background-color: #ccc; 
}

.ds-panel {
	padding: 0 18px;
	display: none;
	background-color: #eee;
	border: 1px solid #ccc;
	overflow: hidden;
}
/* Modaal */
.modaal-container {
	border-radius: 3px !important;
}
.modaal-close:focus, .modaal-close:hover {
	background: transparent!important;
}
.modaal-close::after, .modaal-close::before {
	background: #23282d!important;
}
.modaal-close:hover:after, .modaal-close:hover:before {
	background: #0085ba!important;
}
.modaal-close.ok-modaal:before, .modaal-close.ok-modaal:after {
	display: none!important;
	opacity: 0!important;
}
.modaal-close.ok-modaal {
	position: unset!important;
	right: unset!important;
	top: unset!important;
	color: #fff;
	cursor: pointer;
	opacity: 1;
	width: unset!important;
	height: unset!important;
	margin: 0;
	padding: 0 10px!important;
	background: #007cba!important;
	border-color: #007cba!important;
	color: #fff;
	text-decoration: none;
	text-shadow: none;
	border-radius: 3px!important;
}
.modaal-close.ok-modaal:focus, .modaal-close.ok-modaal:hover {
	background: #0071a1!important;
	border-color: #0071a1!important;
}
.downloadsender.modaal .footer-group-button {
	text-align: right;
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #eaeaea;
}
.downloadsender.modaal .button-primary {
	min-width: 0;
}


/*
.downloadsender.modaal .button-primary.ok-modaal {
	background: #32373c;
	border-color: #2c3136 #292e33;
	box-shadow: 0 1px 0 #22272c;
	text-shadow: none;
}
.downloadsender.modaal .button-primary.ok-modaal:hover {
	background: #008ec2;
	border-color: #0180af #017daa;
	box-shadow: 0 1px 0 #00749f;
}
*/

/* Buttons */
.downloadsender_options-tab .set-default {
	display: inline-block;
	position: absolute;
	right: 0;
	padding: 2px 8px;
	font-size: 11px;
	color: #444;
	background: #e5e5e5;
	border: 1px solid #ccc;
	cursor: pointer;
}
.downloadsender_options-tab .set-default:hover {
	background: #fff;
}

.downloadsender_options-tab.premium_require .set-default {
	display: none;
}

.downloadsender_options-tab.file_url .set-default, .downloadsender_options-tab.file .set-default {
	top: -16px;
}

/*-------------------------------------------------------------------------*/
/*	Responsive Styles
/*-------------------------------------------------------------------------*/

@media only screen and (max-width: 782px) {
	.downloadsender_options-tab:not(.checkbox):not(.radio):not(.color):not(.file_upload):not(.toggle_button) label, .downloadsender_options-tab.color > label, label#toggle_switch , label#subtitle {
		position: relative;
		left: 0px;
	}
	.downloadsender_options-tab.inline-block, .downloadsender_options-tab.inline {
		display: block;
		width: 100%;
	}
	.downloadsender_options-tab:not(.separator):not(.title):not(.source_type) {
		width: 100% !important;
	}	
	#downloadsender_tabs input[type="text"]:not(#custom_base) {
		max-width: 100% !important;
	}
	
	.downloadsender_options-tab textarea, .downloadsender_options-tab .wpbp_input_field_larg {
		 max-width: 100%!important;
	}
	.downloadsender_options-tab.right-block {
		margin-left: 0;
		margin-right: 0;
	}
}