/** 
 *------------------------------------------------------------------------------
 * @package       T3 Framework for Joomla!
 *------------------------------------------------------------------------------
 * @copyright     Copyright (C) 2004-2013 JoomlArt.com. All Rights Reserved.
 * @license       GNU General Public License version 2 or later; see LICENSE.txt
 * @authors       JoomlArt, JoomlaBamboo, (contribute to this project at github 
 *                & Google group to become co-author)
 * @Google group: https://groups.google.com/forum/#!forum/t3fw
 * @Link:         http://t3-framework.org 
 *------------------------------------------------------------------------------
 */


/* -------------------------------------------------*/
/* T3 THEMEMAGIC
---------------------------------------------------*/

@import "../../fonts/fa3/css/font-awesome.css";


/* Layout
--------- */
#t3-admin-thememagic,
#t3-admin-tm-preview {
	position: absolute;
	top: 0;
	bottom: 0;

  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;

	-webkit-transition: left 800ms cubic-bezier(0.25, 0.1, 0.25, 1); 
  -moz-transition: left 800ms cubic-bezier(0.25, 0.1, 0.25, 1);
  -o-transition: left 800ms cubic-bezier(0.25, 0.1, 0.25, 1);
  transition: left 800ms cubic-bezier(0.25, 0.1, 0.25, 1); 
			
	-webkit-backface-visibility: hidden; /* it seem webkit-only, FF 13 have problem*/
}

#t3-admin-thememagic {
	left: 0;
	width: 300px;
	z-index: 2;
}

#t3-admin-tm-preview {
	left: 300px;
	right: 0;
}

#t3-admin-tm-ifr-preview {
	position: absolute;
	width: 100%;
	height: 100%;
}

.no-magic #t3-admin-tm-preview {
  left: 0;
}


/* thememagic
------------- */
#t3-admin-thememagic {
  font: 12px/16px sans-serif;
  color: #333;
  background: #eee;
  border-right: 1px solid #ccc;
  box-shadow: 5px 0 8px rgba(0,0,0,.1);
}

#t3-admin-thememagic a,
#t3-admin-thememagic a:hover {
  text-decoration: none;
}

/* Cutomizer Header ---*/
.t3-admin-tm-header {
  background: #eee;
  position: relative;
  z-index: 2;
}

.t3-admin-tm-header h2 {
  font-size: 24px;
  width: 268px;
  font-weight: normal;
  line-height: normal;
  margin: 0;
  padding: 15px;
  border-bottom: 1px solid #ccc;
  box-sizing: padding-box;
  -moz-box-sizing: padding-box;
  -webkit-box-sizing: padding-box;
}

.t3-admin-tm-header h2 span {
  display: block;
  line-height: 30px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.t3-admin-tm-header h2 strong {
  display: block;
  font-size: 12px;
  font-weight: bold;
  line-height: normal;
  margin-bottom: 3px;
  color: #666;
}

.t3-admin-tm-header #t3-admin-tm-form {
  margin: 0;
  padding: 15px;
  border-bottom: 1px solid #ccc;
  white-space: nowrap;
}

.t3-admin-tm-header #t3-admin-tm-form select {
  margin-left: 10px;
  margin-right: 10px;
  padding-right: 5px;
  width: 100px;
}

.t3-admin-tm-header #t3-admin-tm-form .dropdown-menu {
  right: 0;
  left: auto;
}


/* Form Elements
---------------- */
label, input, button, select, textarea, option {
  font-size: 12px;
}

label {
  font-weight: bold;
  display: inline-block;
}

input, select {
	width: auto;
}

a.btn, a.btn:hover {
  text-decoration: none;
}

.btn {
  background-image: none;
}

textarea, input, select, .btn, button {
  border-radius: 0 !important;
}

.disabled {
  cursor: not-allowed !important;
}

#theme-name {
  margin-top: 10px;
}

.tooltip {
  font-family: sans-serif;
}

/* Variables Form ---*/
#t3-admin-tm-variable-form {
	position: absolute;
	top: 168px;
	bottom: 0;
	overflow: auto;
	margin-bottom: 0;
  padding: 0;
  width: 100%;
  background: #fff;
  border-top: 1px solid #ccc;
  margin-right: -1px;
  z-index: 1;
}

/* Elements Size ---*/
.input-tiny {
  width: 40px;
}

/* Color Picker ---*/
.miniColors-triggerWrap {
  position: relative;
  top: -1px;
  left: 5px;
}

/* CHANGED INDICATOR
-------------------- */
.t3-controls::before {
  content: "\f071"; 
  font-family: "FontAwesome";
  font-size: 16px;
  vertical-align: middle;
  color: #f80;
  display: none;
  float: right;
  margin-top: 8px;
}

.t3-changed .t3-control-label {
  color: #f80;
}
.t3-changed .t3-controls::before {
  display: inline-block;
}


/* Arcodion
----------- */
.accordion {
  margin: 0;
}

.accordion-group {
  margin: 0;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid #ccc;
}

.accordion-heading {
  color: #ccc;
  border-radius: 0;
}

.accordion-heading a {
  background: #f2f2f2;
  color: #333;
  font-weight: bold;
  border-radius: 0;
  font-size: 14px;
}

.accordion-heading .accordion-toggle {
  padding: 10px 15px;
}

.accordion-heading a:hover {
  background: #eee;
  color: #333;
}

.active .accordion-heading a,
.accordion-heading a:active {
  background: #07b;
  color: #fff;
}

.accordion-heading-inner {
}


/* User Interaction Elements
---------------------------- */
/* Close Button ---*/
.themer-close {
	width: 200px;
	height: 30px;
  line-height: 30px;
  display: block;
  background: #333;
  color: #999;
  text-decoration: none;
}

.themer-close i {
  margin-right: 10px;
  margin-left: 10px;
}

.themer-close:hover {
  color: #fff;
  text-decoration: none;
}


/* Minimize Button ---*/
a.themer-minimize {
  width: 100px;
  height: 30px;
  line-height: 30px;
  display: block;
  background: #333;
  color: #999;
  text-decoration: none;
  position: absolute;
  top: 0;
  right: 0;
}

a.themer-minimize:hover {
  color: #fff;
  text-decoration: none;
}

a.themer-minimize .icon-remove-sign,
a.themer-minimize .icon-magic {
  font-size: 16px;
  margin-right: 5px;
  margin-left: 10px;
}

a.themer-minimize .icon-magic { display: none; }

a.themer-minimize.active {
  opacity: .5;
  right: -40px;
  background: none;
  width: 40px;
  height: 40px;
}

a.themer-minimize.active:hover {
  opacity: 1;
}

a.themer-minimize.active .icon-magic {
  display: block;
  color: #333;
  margin-right: 0;
  margin-top: 5px;
  font-size: 18px;
  border: 1px solid #ccc;
  width: 35px;
  height: 35px;
  line-height: 35px;
  text-align: center;
  background: #f2f2f2;
}

a.themer-minimize.active .icon-remove-sign,
a.themer-minimize.active span {
  display: none;
}


/* Progress ----*/
/* PROGRESS BAR
--------------- */
.t3-progress {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 0%;
  opacity: 0;
  height: 4px;
  background: #f80;
  pointer-events: none;
}

.t3-progress.t3-anim-slow {
  -webkit-transition: width 5s ease-in;
  transition: width 5s ease-in;

  opacity: 1;
  z-index: 100;
}

.t3-progress.t3-anim-finish {
  -webkit-transition: width 0.5s ease-in, opacity 0.5s 0.5s;
  transition: width 0.5s ease-in, opacity 0.5s 0.5s;
  
  width: 100% !important;
  opacity: 0;
  z-index: 100;
}

/* Radio Button Groups ---*/
.radio.btn-group input[type=radio] {
  display: none;
}

.radio.btn-group > label:first-of-type {
  margin-left: 0;
  border-bottom-left-radius: 4px;
  border-top-left-radius: 4px;
}

fieldset.radio.btn-group {
  padding-left: 0;
  padding-top: 0 !important;
}

fieldset select {
  width: 220px;
}


/* ThemeMagic Modals
/* -----------------*/
.modal-open .modal .dropdown-menu {
  z-index: 2050;
}

.modal-open .modal .dropdown.open {
  *z-index: 2050;
}

.modal-open .modal .popover {
  z-index: 2060;
}

.modal-open .modal .tooltip {
  z-index: 2080;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  background-color: #000000;
}

.modal-backdrop.fade {
  opacity: 0;
}

.modal-backdrop,
.modal-backdrop.fade.in {
  opacity: 0.8;
  filter: alpha(opacity=80);
}

/* Modal ---*/
.modal {
  font: 14px/20px sans-serif;
  color: #666;

  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 1050;
  overflow: auto;
  width: 350px;
  margin: -200px 0 0 -150px;
  background-color: #fff;
  border: 1px solid #333;
  border-radius: 3px;
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding-box;
  background-clip: padding-box;

}

.modal.fade {
  -webkit-transition: opacity .3s linear, top .3s ease-out;
  -moz-transition: opacity .3s linear, top .3s ease-out;
  -o-transition: opacity .3s linear, top .3s ease-out;
  transition: opacity .3s linear, top .3s ease-out;
  top: -25%;
}

#t3-admin-thememagic-dlg.fade.in,
#t3-admin-tm-warning.fade.in {
  top: 50%;
}

.modal-header {
  padding: 9px 15px 0;
}

.modal-header .close {
  margin-top: 2px;
}

.modal-header h3 {
  margin: 0;
  line-height: 30px;
}

.modal-body {
  overflow-y: auto;
  max-height: 400px;
  padding: 15px;
}

.modal-form {
  margin-bottom: 0;
}

.modal-footer {
  padding: 14px 15px 15px;
  margin-bottom: 0;
  text-align: right;
  background-color: #f5f5f5;
  border-top: 1px solid #ddd;
  border-radius: 0 0 6px 6px;
  box-shadow: inset 0 1px 0 #ffffff;
  *zoom: 1;
}

.modal-footer:before,
.modal-footer:after {
  display: table;
  content: "";
  line-height: 0;
}

.modal-footer:after {
  clear: both;
}

.modal-footer .btn + .btn {
  margin-left: 5px;
  margin-bottom: 0;
}

.modal-footer .btn-group .btn + .btn {
  margin-left: -1px;
}


/* Modal Media select ---*/
.controls a.modal {
  position: static;
  top: auto;
  left: auto;
  margin: 0;
  display: block;
  width: 60px;
  box-shadow: none;
}

.controls .media-preview {
  display: none;
}


/* MISC
/* -----*/
.invisible {
  visibility: hidden;
}

.alert {
  border-radius: 0;
  margin-bottom: 0;
}
