/**
 * Just a wee bit of custom styling for the customizer
 *
 * @package Cryout Framework
 */

/* Panel maximizer */
#customize-theme-controls .customize-control + .customize-control { margin-top: 5px; }
.wp-full-overlay .button.cryout-expand-sidebar {
	left: initial;
	right: 0;
	margin-left: 0;
	margin-right: 5px;
	padding: 0 3px;
	position: absolute;
}
.wp-full-overlay .button.cryout-expand-sidebar:focus, .wp-full-overlay .button.cryout-expand-sidebar:hover {
	background: transparent;
	border-color: transparent;
}
.wp-full-overlay .cryout-expand-sidebar .collapse-sidebar-label {
	left: initial;
	right: 100%;
	margin-left: 0;
	margin-right: 10px;
}
.wp-full-overlay .cryout-expand-sidebar .collapse-sidebar-arrow::before { transform: rotate(180deg); }

.wp-full-overlay.cryout-maximized .cryout-expand-sidebar  .collapse-sidebar-arrow::before { transform: initial; }

.wp-full-overlay.cryout-maximized { margin-left: 40%; }

.wp-full-overlay.cryout-maximized .wp-full-overlay-sidebar {
	margin-left: 0 !important;
	width: 40% !important; }

/* Panel maximizer wp 4.5+ */
.wp-full-overlay .wp-full-overlay-footer { transition: width .2s; }
.wp-full-overlay.cryout-maximized .wp-full-overlay-footer { width: 40% !important; }
.wp-full-overlay-footer .devices .cryout-expand-sidebar { float: left; position: static; }
.wp-full-overlay-footer .devices .cryout-expand-sidebar .collapse-sidebar-label { display: none; }

/* General panels/sections */
#customize-theme-controls [id*="cryout-"] .customize-control-radioimage input[type="radio"] {
	display: none;
}

#customize-theme-controls [id*="cryout-"] .customize-control-radioimage .ui-button {
    margin:        0;
    border-radius: 0;
    border:        none;
    background:    transparent;
}

#customize-theme-controls [id*="cryout-"] .customize-control-radioimage .ui-button-text { padding: 0; }

#customize-theme-controls [id*="cryout-"] .customize-control-radioimage img {
    box-sizing: border-box;
    max-width:  100%;
    height:     auto;
    padding:    1px;
    border:     4px solid transparent;
}

#customize-theme-controls [id*="cryout-"] .customize-control-radioimage img:hover,
#customize-theme-controls [id*="cryout-"] .customize-control-radioimage img:focus {
	border-color: #ddd;
}

#customize-theme-controls [id*="cryout-"] .customize-control-radioimage .ui-state-active img,
#customize-theme-controls [id*="cryout-"] .customize-control-radioimage input[type="radio"]:checked + label > img {
    border-color: #00a0d2;
}

/* Theme panels/sections */
#customize-theme-controls [id*="cryout-"] .ui-slider { max-width: 80%; }

#customize-theme-controls [id*="cryoutspecial-about"].control-section .customize-section-description {
	text-align: center;
	max-width: 300px;
	padding: 0 10px;
}


#customize-theme-controls [id*="cryout-"].control-section.control-section-sidebar .accordion-section-content.ui-sortable {
	overflow: auto;
}

#customize-theme-controls [id*="cryout-"] .customize-control-description { margin-top: 5px; color: #888; }

#customize-theme-controls [id*="cryout-"] .customize-control input[type="range"] { width: 98%; }

#customize-theme-controls [id*="cryout-"] .customize-control input[type="text"],
#customize-theme-controls [id*="cryout-"] .customize-control input[type="password"],
#customize-theme-controls [id*="cryout-"] .customize-control input[type="email"],
#customize-theme-controls [id*="cryout-"] .customize-control input[type="search"],
#customize-theme-controls [id*="cryout-"] .customize-control input[type="url"] { }

#customize-theme-controls [id*="cryout-"] .customize-control input[type="number"] { max-width: 100px; }
#customize-theme-controls [id*="cryout-"] .customize-control input[type="tel"] { max-width: 300px; }

#customize-theme-controls [id*="cryout-"] .customize-control-color .customize-control-title { float: left; max-width: 78%; }
#customize-theme-controls [id*="cryout-"] .customize-control-color .customize-control-content { float: right; }
#customize-theme-controls [id*="cryout-"] .customize-control-color .customize-control-description { clear: both; }
#customize-theme-controls [id*="cryout-"] .customize-control-color .wp-color-result::after { content: ''; }

/* theme identifier */

#customize-theme-controls [id*="cryout-"] h3.accordion-section-title::before {
    background-color: #fff;
    display: block;
    font-size: 0.85em;
    left: 10px;
    padding: 0 3px;
    position: absolute;
}

#customize-theme-controls [id*="cryout-"] h3.accordion-section-title {
    padding-left: 40px;
}

#customize-theme-controls [id*="za_"] h3.accordion-section-title::before {
    background-color: #fff;
    display: block;
    font-size: 0.85em;
    left: 10px;
    padding: 0 3px;
    position: absolute;
	content: "ZA";
    border: 1px solid #aa0000;
    color: #aa0000;
}
#customize-theme-controls [id*="za_"] h3.accordion-section-title {
    padding-left: 40px;
}

/* about section */
#customize-theme-controls [id*="site_icon"] img,
#customize-theme-controls [id*="_logoupload"] img {
    width: initial;
}

#customize-theme-controls [id*="accordion-section-cryoutspecial-about-theme"] .accordion-section-content, {
	display: block;
}

#customize-theme-controls [id*="accordion-section-cryoutspecial-about-theme"] .customize-cryoutspecial-about-link a {
	display: block;
	max-width: 300px;
	padding: 10px;
	border: 1px solid #DDD;
	font-weight: bold;
	background: #fff;
	text-align: center;
	color: #aa0000;
}
#customize-theme-controls [id*="accordion-section-cryoutspecial-about-theme"] .customize-cryoutspecial-about-link a:hover {
	color: #ff0000;

/* theme logo in about section */
#accordion-section-cryoutspecial-about-theme > .accordion-section-title::before {
	/* background: url(../../admin/images/logo-customizer.png) center right no-repeat; */
    content: "";
    height: 22px;
    position: absolute;
    right: 40px;
    top: 11px;
    min-width: 35%;
}

/* Notices */
#customize-theme-controls [id*="cryout-"] .customize-control-notice {
	margin-top: -10px;
}

#customize-theme-controls [id*="cryout-"] .customize-cryoutcontrol-notice-desc {
    background: #fff;
    border: 1px solid #ddd;
    color: #222;
    padding: 8px 12px;
	font-size: 1.1em;
	line-height: 1.4;
	font-style: normal;
}

#customize-theme-controls [id*="cryout-"] .customize-cryoutcontrol-notice-desc a {
	cursor: pointer;
}

#customize-theme-controls [id*="cryout-"] .customize-cryoutcontrol-notice-warning-desc {
	color: #900;
}

/* RTL */
.rtl #accordion-panel-cryoutspecial-about-theme > .accordion-section-title::before {
	right: auto;
	left: 10px;
}

.rtl #customize-theme-controls [id*="cryout-"] h3.accordion-section-title::before {
    left: initial;
	right: 14px;
}

.rtl #customize-theme-controls [id*="cryout-"] h3.accordion-section-title {
    padding-left: 0px;
	padding-right: 40px;
}

.rtl .wp-full-overlay.cryout-maximized { margin-left: 0; margin-right: 40%; }
.rtl .wp-full-overlay .cryout-expand-sidebar .collapse-sidebar-arrow::before { transform: rotate(0deg); }
.rtl .wp-full-overlay.cryout-maximized .cryout-expand-sidebar  .collapse-sidebar-arrow::before  { transform: rotate(180deg); }
.rtl #accordion-section-cryoutspecial-about-theme > .accordion-section-title::before, #accordion-panel-cryoutspecial-about-theme > .accordion-section-title::before {
	right: auto; left: 40px; }

/* FIN */
