/*
0. General Styling
1. Upgrade Now - Tab
2. Upgrade Now - Button
3. Width Changes
4. Misc
*/

/* ----------------------------------------------------------------------------------------------------------
	0. GENERAL STYLING
---------------------------------------------------------------------------------------------------------- */

/* Ensure upgrade tab always shows */
body.wp-customizer #accordion-section-thinkup_section_upgrade {
	display: block !important;
}
body.wp-customizer #accordion-section-themes .accordion-section-title {
	background: #fff !important;
}

/* Remove spacing above Change tab hover color */
#customize-theme-controls .control-section-themes > .accordion-section-title {
	margin-bottom: 0 !important;
	border: none !important;
}
#accordion-section-themes+.control-section {
	border-top: 1px solid #ddd;
}

/* ----------------------------------------------------------------------------------------------------------
	1. UPGRADE NOW - TAB
---------------------------------------------------------------------------------------------------------- */

#customize-theme-controls #thinkup_redux_variables-thinkup_upgrade_content {
	padding-top: 0;
}

/* Change "Upgrade (10% off)" tab hover color */
#customize-theme-controls #accordion-section-thinkup_section_upgrade.control-section.control-section-redux > h3.accordion-section-title,
#customize-theme-controls #accordion-section-thinkup_section_upgrade.control-section.control-section-redux:hover > h3.accordion-section-title,
#customize-theme-controls #accordion-section-thinkup_section_upgrade.control-section.control-section-redux h3.accordion-section-title:hover,
#customize-theme-controls #accordion-section-thinkup_section_upgrade.control-section.control-section-redux.open h3.accordion-section-title,
#customize-theme-controls #accordion-section-thinkup_section_upgrade.control-section.control-section-redux h3.accordion-section-title:focus,
#customize-theme-controls #accordion-section-thinkup_section_upgrade.control-panel.control-panel-redux:hover > h3.accordion-section-title,
#customize-theme-controls #accordion-section-thinkup_section_upgrade.control-panel.control-panel-redux h3.accordion-section-title:hover,
#customize-theme-controls #accordion-section-thinkup_section_upgrade.control-panel.control-panel-redux.open h3.accordion-section-title,
#customize-theme-controls #accordion-section-thinkup_section_upgrade.control-panel.control-panel-redux h3.accordion-section-title:focus {
    color: #fff !important;
    background: #0067CE !important;
    border-color: #0067CE !important;
}
#customize-theme-controls #accordion-section-thinkup_section_upgrade.control-section.control-section-redux > h3.accordion-section-title:after,
#customize-theme-controls #accordion-section-thinkup_section_upgrade.control-section.control-section-redux:hover > h3.accordion-section-title:after,
#customize-theme-controls #accordion-section-thinkup_section_upgrade.control-section.control-section-redux h3.accordion-section-title:hover:after,
#customize-theme-controls #accordion-section-thinkup_section_upgrade.control-section.control-section-redux.open h3.accordion-section-title:after,
#customize-theme-controls #accordion-section-thinkup_section_upgrade.control-section.control-section-redux h3.accordion-section-title:focus:after,
#customize-theme-controls #accordion-section-thinkup_section_upgrade.control-panel.control-panel-redux:hover > h3.accordion-section-title:after,
#customize-theme-controls #accordion-section-thinkup_section_upgrade.control-panel.control-panel-redux h3.accordion-section-title:hover:after,
#customize-theme-controls #accordion-section-thinkup_section_upgrade.control-panel.control-panel-redux.open h3.accordion-section-title:after,
#customize-theme-controls #accordion-section-thinkup_section_upgrade.control-panel.control-panel-redux h3.accordion-section-title:focus:after {
    color: #fff !important;
}

/* Remove "Customizing" text from upgrade tab */
#accordion-section-thinkup_section_upgrade .customize-section-title h3 span {
	display: none !important;
}
#accordion-section-thinkup_section_upgrade .customize-section-title h3 {
    line-height: 54px !important;
    height: 54px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

/* Promotional table */
#promotion-table {
	margin-bottom: 40px;
	border: 1px solid #EEE;
	padding: 25px 10px;
	-webkit-box-shadow: 1px 1px 0px 2px #E0E0E0;
	-moz-box-shadow: 1px 1px 0px 2px #E0E0E0;
	-ms-box-shadow: 1px 1px 0px 2px #E0E0E0;
	-o-box-shadow: 1px 1px 0px 2px #E0E0E0;
	box-shadow: 1px 1px 0px 2px #E0E0E0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	box-sizing: border-box;
}
#promotion-header {
	margin-bottom: 25px;
}
#promotion-header,
#promotion-coupon {
}
#promotion-header .secondary-title {
	margin-bottom: 0;
}

/* Upgrade button and coupon section */
#thinkup-promotion-field-header {
	margin-bottom: 40px;
}
#thinkup-promotion-field-header .main-title {
	font-size: 28px;
	font-weight: bold;
	margin: 0 0 20px;
	line-height: 1;
	text-align: center;
}
#thinkup-promotion-field-header .secondary-title {
	text-align: center;
	font-size: 16px;
}
#thinkup-promotion-field-header,
#thinkup-promotion-field-item {
	max-width: 400px;
}

/* Upgrade Now button */
.promotion-button {
	display: block;
	color: #FFF;
	font-size: 18px;
	font-weight: bold;
	text-align: center;
	line-height: 40px;
	width: 190px;
	margin: 0 auto;
	background-color: #0067CE;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-o-border-radius: 3px;
	border-radius: 3px;
	border: 1px solid #0F5399;
	border-bottom-width: 3px;
	text-decoration: none;
}
.promotion-button:hover,
.promotion-button:focus,
.promotion-button:active {
	color: white;
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.promotion-button:active {
	border-width: 3px 1px 1px 1px;
}

/* Coupon styling */
#promotion-coupon a {
	background: #F3F3F3;
	font-size: 30px;
	margin-bottom: 20px;
	line-height: 1;
	color: inherit;
	text-decoration: none;
	width: 250px;
	padding: 10px 10px 15px;
	text-align: center;
	border: 3px dashed #CCC;
	margin: 0 auto 0;
	display: block;
}
#promotion-coupon span {
	font-size: 12px;
	display: block;
	margin-top: 15px;
}

/* Align upgrade images */
#thinkup-promotion-field-item {
}
#thinkup-promotion-field-item img {
	max-width: 100%;
	border: 1px solid #eee;
}


/* ----------------------------------------------------------------------------------------------------------
	2. UPGRADE NOW - BUTTON
---------------------------------------------------------------------------------------------------------- */

/* Add "Upgrade Now" button section */
#customize-thinkup-upgrade {
    height: 55px;
    text-align: center;
    background: #f3f3f3;
    z-index: 999999;
    border-top: 1px solid #ddd;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
}
#customize-thinkup-upgrade p {
    margin: 0;
    line-height: 55px;
    height: 55px;
}
#customize-thinkup-upgrade a {
	display: block;
	height: 45px;
}

/* Upgrade Now button styling */
#customize-thinkup-upgrade .promotion-button {
    font-size: 14px;
    height: 30px;
    line-height: 30px;
    margin: 0;
    display: inline-block;
    width: 140px;
}
#customize-thinkup-upgrade .promotion-button:focus {
	opacity: 0.8;
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}
#customize-thinkup-upgrade .promotion-button:active {
	border-width: 1px 1px 3px 1px;
}


/* ----------------------------------------------------------------------------------------------------------
	3. WIDTH CHANGES
---------------------------------------------------------------------------------------------------------- */


/* ----------------------------------------------------------------------------------------------------------
	4. MISC
---------------------------------------------------------------------------------------------------------- */

.clearboth {
	width: 100%;
	clear: both;
	display: block;
}