/* ===============================================
   GENERALS
   =============================================== */

button:hover ,
button:active ,
button:focus ,
input:hover ,
input:active ,
input:focus ,
textarea:hover ,
textarea:active ,
textarea:focus {
	outline:none !important;
	text-decoration:none !important;
}

input[type=file]:hover ,
input[type=file]:active ,
input[type=file]:focus {
	border:none !important;
}

.clear {
	clear:both;
	float:none !important;
}

.left {
	float:left;
}

.right {
	float:right;
}

.hide {
	display:none !important
}

/* ===============================================
   SAVE MESSAGE
   =============================================== */

.updated.fade.message_save.tiprp_panel_message {
	margin: 0 0 20px 0;
    padding: 20px;
    box-shadow: 0 2px 1px -1px #46b450;
    background: #fff;
    border: solid 1px #ddd;
    width: calc(100% - 40px);
}

/* ===============================================
   HEADER
   =============================================== */

#tiprp_panel_header {
	margin:0 0 20px 0;
	padding:20px 0;
	position:relative;
}

#tiprp_panel_header a {
	font-family: 'Open Sans', Geneva, sans-serif;
	display:inline-block;
	color:#616161;
	margin-left:5px;
	text-decoration:none;
	font-weight:600;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}

#tiprp_panel_header a:hover,
#tiprp_panel_header a:active,
#tiprp_panel_header a:focus {
	color:#5C97BF;
	-webkit-box-shadow: none;
    box-shadow: none;
}

#tiprp_panel_header .plugin_description {
	position:relative;
	text-align:left
}

#tiprp_panel_header h2 {
	text-align: left;
	font-size: 22px;
	font-family: 'Open Sans', Geneva, sans-serif;
	font-weight:600;
	color: #616161;
	text-shadow:none;
	margin:0 0 10px 0
}

#tiprp_panel_header span {
	font-family: 'Open Sans', Geneva, sans-serif;
	font-size: 12px;
	color: #616161;
	font-weight:600
}

/* ===============================================
   TABS
   =============================================== */

#tiprp_panel_tabs {
	width:98.5%;
	height:100%;
	display:inline-block;
	margin-top:20px;
	vertical-align:top;
}

.tiprp_panel_tabs {
	position:relative;
	display: block
}

#tiprp_panel_tabs-container {
	margin:0;
	padding:0 5px;
}

#tiprp_panel_tabs-container p {
	font-family: 'Open Sans', Geneva, sans-serif;
	font-size:20px;
	text-align:center;
	margin:0;
	line-height:1.4em;
}

#tiprp_panel_tabs-container h3 {
	text-align:center;
}

#tiprp_panel_tabs ul.tiprp_panel_navigation {
	list-style:none;
	margin:0;
	background:#fafafa;
	padding:20px;
	border:solid 1px #ddd;
}

#tiprp_panel_tabs ul.orders {
	padding:0;
	background:none;
}

#tiprp_panel_tabs li {
	float:left;
	margin:0;
}

#tiprp_panel_tabs li a {
	color:#616161;
	text-decoration:none;
	padding:15px 20px;
	display:block;
	text-align:center;
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-o-transition: all .3s ease;
	transition: all .3s ease;
	font-family: 'Open Sans', Geneva, sans-serif;
	font-weight:600;
	float:left;
	font-size:14px;
	text-shadow:none;
	margin:0 5px 0 0;
	border: solid 1px #fafafa;
	text-transform:uppercase
}

#tiprp_panel_tabs li a:hover,
#tiprp_panel_tabs li.ui-tabs-active a,
#tiprp_panel_tabs li.ui-state-active a {
	background:#f1f1f1;
	color:#616161;
	text-shadow:none;
	border: solid 1px #ddd;
}

#tiprp_panel_tabs li a:focus {
	box-shadow: none;
}

#tiprp_panel_tabs li[value="free_vs_pro"] + li a {
	background:#f22613;
	color:#fff;
	text-shadow:none;
	border: solid 1px #d91e18;
}

#tiprp_panel_tabs li[value="free_vs_pro"] + li a:hover {
	background:#d91e18;
}

/* ===============================================
   BOXS
   =============================================== */

.tiprp_panel_container .tiprp_panel_mainbox {
	font-family: 'Open Sans', Geneva, sans-serif;
	font-size:14px;
	line-height:1.4em;
	position:relative;
}

.tiprp_panel_container .tiprp_openbox {
	display:block !important;
}

.tiprp_panel_container .tiprp_panel_mainbox-open {
	font-family: 'Open Sans', Geneva, sans-serif;
	font-size:14px;
	line-height:1.4em;
	background:#f3f3f3;
	border-bottom: 1px solid #ddd;
	border-right: 1px solid #ddd;
	border-left: 1px solid #ddd;
	position:relative;
}

.tiprp_panel_container  {
	background:url(../images/subparent.png) no-repeat 8% center;
}

.tiprp_panel_container h5.element {
	background:url(../images/subparent.png) no-repeat #fafafa 98% center;
	padding:25px 20px;
	font-size:14px;
	margin:0;
	font-family: 'Source Sans Pro', sans-serif;
	font-weight:600;
	text-shadow:none;
	color:#616161;
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-o-transition: all .3s ease;
	transition: all .3s ease;
	text-transform:uppercase
}

.tiprp_panel_container .tiprp_openbox h5 {
	background-image:none;
}

.tiprp_panel_container h5.element-open ,
.tiprp_panel_container h5.section-title ,
.tiprp_panel_container h6.section-subtitle {
	background:#fafafa;
	padding:30px 20px;
	font-size:16px;
	margin:10px 0 0 0;
	color: #616161;
	font-family: 'Source Sans Pro', sans-serif;
	font-weight:700;
	border-left:solid 1px #ddd;
	border-right:solid 1px #ddd;
	border-top:solid 1px #ddd;
}

.tiprp_panel_container h5.section-title {
	margin-top: 20px !important;
	padding:20px;
	margin:0;
	border:none;
}

.tiprp_panel_container h6.section-subtitle {
	margin:0;
	padding:15px 20px;
	border:none;
	text-transform:none;
	border-top: solid 1px #ddd;
	border-left: solid 1px #ddd;
	border-right: solid 1px #ddd;
}

.tiprp_panel_container .cpt-section:not(.hide) {
	padding:20px;
	background:#fff;
	border-left: solid 1px #ddd;
	border-right: solid 1px #ddd;
}

.tiprp_panel_container .cpt-section:not(.hide) + .cpt-section:not(.hide){
	padding-top:0px;
}

.tiprp_panel_container .cpt-section div.tiprp_panel_box {
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

.tiprp_panel_container .cpt-section div.tiprp_panel_box:first-of-type,
.tiprp_panel_container .cpt-section div.tiprp_inputbox:first-of-type {
	border-top:none;
}

.tiprp_panel_container h5.element.linkable-element {
	background:none;
	padding:0;
}

.tiprp_panel_container h5.element.linkable-element a {
	background:url(../images/subparent.png) no-repeat #fafafa 98% center;
	display:block;
	color:#616161;
	text-decoration:none;
	padding:25px 20px;
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-o-transition: all .3s ease;
	transition: all .3s ease;
}

.tiprp_panel_container h5.element.linkable-element a:hover {
	background:url(../images/subparent.png) no-repeat #f1f1f1 98% center;
	display:block;
	color:#616161;
	text-decoration:none;
	padding:25px 20px;
}

.tiprp_panel_snippet_order .tiprp_panel_container h5.element {
	border:solid 1px #ddd;
	text-transform: none
}

.tiprp_panel_container h5.inactive {
	background:url(../images/subparent-hover.png) no-repeat #f1f1f1 98% center;
	cursor:pointer
}

.tiprp_panel_container .tiprp_container h5.inactive:hover {
	background:url(../images/subparent-hover.png) no-repeat #f1f1f1 98% center;
}

/* ===============================================
   INPUTBOX
   =============================================== */

.tiprp_panel_container div.tiprp_panel_box ,
.tiprp_panel_container div.tiprp_inputbox {
	padding:20px 0 20px 20px;
	border-bottom:1px solid #ddd;
}

.tiprp_panel_container div.tiprp_panel_box:first-of-type,
.tiprp_panel_container div.tiprp_inputbox:first-of-type {
	border-top:1px solid #ddd;
}

.tiprp_panel_container div.tiprp_panel_box {
	background:#fff;
	max-width:100%;
	display:block;
	border-left:1px solid #ddd;
	border-right:1px solid #ddd;
}

.MatchValueBox {
	background:#fff;
}

.MatchValueBox:nth-child(2n) {
	background:#fafafa;
}

.MatchValueBox  div.tiprp_panel_box {
	background:none;
}

.tiprp_panel_snippet_order div.tiprp_panel_box.deleteSlot ,
.tiprp_panel_container div.tiprp_panel_box.tiprp_panel_save_button {
	background:#fafafa;
	border-left:1px solid #ddd;
	border-right:1px solid #ddd;
	border-bottom:1px solid #ddd;
}

div#Slideshow .tiprp_panel_container .tiprp_panel_box .button,
.tiprp_panel_container div.tiprp_panel_slidebox .button#tiprp_add_snippet {
    margin:20px 0 5px 0;
}


div#Slideshow .tiprp_panel_container .tiprp_panel_box .button.delete,
.tiprp_panel_container div.tiprp_panel_slidebox p.tiprp_input {
    margin-left:0;
}

div#Slideshow .tiprp_panel_container .tiprp_panel_box .button.upload_button {
    margin-left:20%;
}

.tiprp_panel_container .tiprp_panel_box textarea {
	height:155px;
	width:98%;
	font-size:12px;
	padding:4px 1%;
	color:#333;
	line-height:1.5em;
	background:#fff;
	border:solid 1px #ddd;
}

.tiprp_panel_container .tiprp_panel_box input[type="text"],
.tiprp_panel_container .tiprp_panel_box input[type="number"],
.tiprp_panel_container .tiprp_panel_box input[type="time"],
.tiprp_panel_container .tiprp_panel_box input[type="color"],
.tiprp_panel_container .tiprp_panel_box select {
	width:98%;
	height:35px;
	font-size:12px;
	padding:0 1%;
	color:#333;
	line-height:1.5em;
	background-color:#fff;
	border:solid 1px #f1f1f1;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.tiprp_panel_container .tiprp_panel_box select {
	max-width: inherit !important;
}

.tiprp_panel_container .tiprp_panel_box .button.wp-picker-default {
    display: inline-block;
    margin: 0;
}

.tiprp_panel_container .wp-picker-open+.wp-picker-input-wrap {
	width:100%;
}

.tiprp_panel_container .tiprp_panel_box label {
	color:#333;
	font-family: 'Open Sans', Geneva, sans-serif;
	float:left;
	font-size:14px;
	padding:6px 0;
	cursor:text;
	font-weight:600
}

.tiprp_panel_container .tiprp_panel_box p {
	color:#333;
	font-family: 'Open Sans', Geneva, sans-serif;
	font-style:italic;
	font-size:12px;
    margin:5px 0 0 0;
}

.tiprp_panel_container .tiprp_panel_box span.separator{
	font-weight: bold;
	font-size: 11px;
}

.tiprp_panel_container .tiprp_panel_box textarea:focus,
.tiprp_panel_container .tiprp_panel_box input:focus,
.tiprp_panel_container .tiprp_panel_box select:focus {
	background-color:#fff;
}

.tiprp_panel_container .tiprp_panel_box input#tiprp_upload_backup:focus {
    background: #008ec2;
    border-color: #006799;
    -webkit-box-shadow: 0 1px 0 #0073aa,0 0 2px 1px #33b3db;
    box-shadow: 0 1px 0 #0073aa,0 0 2px 1px #33b3db;
}

.tiprp_panel_container .tiprp_panel_box.tiprp_panel_save_button .button {
    margin:5px 5px 5px 0;
	padding: 5px 10px;
    font-size: 13px;
    font-weight: bold;
    color: #fff;
    background: #5C97BF;
	border-color: #006799;
	-webkit-transition: background .3s ease;
    -moz-transition: background .3s ease;
    -o-transition: background .3s ease;
    transition: background .3s ease;
}

.tiprp_panel_container .tiprp_panel_box.tiprp_panel_save_button .button:hover,
.tiprp_panel_container .tiprp_panel_box.tiprp_panel_save_button .button:active,
.tiprp_panel_container .tiprp_panel_box.tiprp_panel_save_button .button:focus {
	background: #006799;
}

.tiprp_panel_container .tiprp_panel_box .iphone-check input[type="checkbox"]  {
    width:280px;
}

.tiprp_panel_container .tiprp_input label,.tiprp_input em,
.tiprp_panel_container .tiprp_icons label,.tiprp_icons em {
	display:block;
	margin:5px 0;
}

.tiprp_panel_container .input-left {
	float:left;
	width:19%;
	vertical-align:top;
	padding:0 0 14px 0;
}

.tiprp_panel_container .input-right {
	float:right;
	width:79%;
	padding:0
}

.tiprp_panel_container .tiprp_panel_box.tiprp_input {
	padding:0;
	border-top:none;
	border-bottom:none;
}

.tiprp_panel_container .tiprp_panel_box.tiprp_input label {
	width:inherit;
	padding:0;
	float:none;
}

.tiprp_panel_container .tiprp_panel_box.tiprp_input .button {
	margin:0;
}

/* ===============================================
   Template preview
   =============================================== */

.tiprp_panel_container .tiprp_layout_preview {
	margin-top:20px;
	margin-bottom:10px;
}

.tiprp_panel_container .tiprp_layout_preview img {
	width:500px;
	max-width:calc(100% -  20px);
	border: solid 1px #ddd;
}