/*!
 * Bootstrap Modal
 *
 * Copyright Jordan Schroter
 * Licensed under the Apache License v2.0
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 */

.modal-open {
	overflow: hidden;
}


/* add a scroll bar to stop page from jerking around */
.modal-open.page-overflow .page-container,
.modal-open.page-overflow .page-container .navbar-fixed-top,
.modal-open.page-overflow .page-container .navbar-fixed-bottom,
.modal-open.page-overflow .modal-scrollable {
	overflow-y: scroll;
}

@media (max-width: 979px) {
	.modal-open.page-overflow .page-container .navbar-fixed-top,
	.modal-open.page-overflow .page-container .navbar-fixed-bottom  {
		overflow-y: visible;
	}
}


.modal-scrollable {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	overflow: auto;
}

.modal {
	outline: none;
	position: absolute;
	margin-top: 0;
	top: 10%;
	overflow: visible; /* allow content to popup out (i.e tooltips) */
}

.modal.fade {
	top: -100%;
	-webkit-transition: opacity 0.3s linear, top 0.3s ease-out, bottom 0.3s ease-out, margin-top 0.3s ease-out;	
	   -moz-transition: opacity 0.3s linear, top 0.3s ease-out, bottom 0.3s ease-out, margin-top 0.3s ease-out;
	     -o-transition: opacity 0.3s linear, top 0.3s ease-out, bottom 0.3s ease-out, margin-top 0.3s ease-out;
	        transition: opacity 0.3s linear, top 0.3s ease-out, bottom 0.3s ease-out, margin-top 0.3s ease-out;
}

.modal.fade.in {
	top: 50%;
}

.modal-body {
	max-height: none;
	overflow: visible;
}

.modal.modal-absolute {
	position: absolute;
	z-index: 950;
}

.modal .loading-mask {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: #fff;
	border-radius: 6px;
}

.modal-backdrop.modal-absolute{
	position: absolute;
	z-index: 940;
}

.modal-backdrop, 
.modal-backdrop.fade.in{
	opacity: 0.7;
	filter: alpha(opacity=70);
	background: #fff;
}

.modal.container {
  width: 940px;
  margin-left: -470px;
}

/* Modal Overflow */

.modal-overflow.modal {
	top: 1%;
}

.modal-overflow.modal.fade {
	top: -100%;
}

.modal-overflow.modal.fade.in {
	top: 1%;
}

.modal-overflow .modal-body {
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}

/* Responsive */

@media (min-width: 1200px) {
	.modal.container {
		width: 1170px;
		margin-left: -585px;
	}
}

@media (max-width: 979px) {
	body .modal, 
	.modal.container,
	.modal.modal-overflow 	{
		top: 10%;
		right: 1%;
		left: 1%;
		bottom: auto;
		width: auto !important;
		height: auto !important;
		margin: 0 !important;
		padding: 0 !important;
	}
	
	.modal.fade.in, 
	.modal.container.fade.in,
	.modal.modal-overflow.fade.in {
		top: 1%;
		bottom: auto;
	}
	
	.modal-body,
	.modal-overflow .modal-body {
		position: static;
		margin: 0;
		height: auto !important;
		max-height: none !important;
		overflow: visible !important;
	}
	
	.modal-footer,
	.modal-overflow .modal-footer {
		position: static;
	}
}

@media (max-width: 360px) {
	.modal, 
	.modal.container,
	.modal.modal-overflow 	{
		right: 1%;
		left: 1%;
		bottom: auto;
		width: auto !important;
		height: auto !important;
		margin: 0 !important;
		padding: 0 !important;
	}
}

.loading-spinner {
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -12px 0 0 -12px;
}

/*
Animate.css - http://daneden.me/animate
Licensed under the ☺ license (http://licence.visualidiot.com/)

Copyright (c) 2012 Dan Eden*/

.animated {
	-webkit-animation-duration: 1s;
	   -moz-animation-duration: 1s;
	     -o-animation-duration: 1s;
	        animation-duration: 1s;
	-webkit-animation-fill-mode: both;
	   -moz-animation-fill-mode: both;
	     -o-animation-fill-mode: both;
	        animation-fill-mode: both;
}

@-webkit-keyframes shake {
	0%, 100% {-webkit-transform: translateX(0);}
	10%, 30%, 50%, 70%, 90% {-webkit-transform: translateX(-10px);}
	20%, 40%, 60%, 80% {-webkit-transform: translateX(10px);}
}

@-moz-keyframes shake {
	0%, 100% {-moz-transform: translateX(0);}
	10%, 30%, 50%, 70%, 90% {-moz-transform: translateX(-10px);}
	20%, 40%, 60%, 80% {-moz-transform: translateX(10px);}
}

@-o-keyframes shake {
	0%, 100% {-o-transform: translateX(0);}
	10%, 30%, 50%, 70%, 90% {-o-transform: translateX(-10px);}
	20%, 40%, 60%, 80% {-o-transform: translateX(10px);}
}

@keyframes shake {
	0%, 100% {transform: translateX(0);}
	10%, 30%, 50%, 70%, 90% {transform: translateX(-10px);}
	20%, 40%, 60%, 80% {transform: translateX(10px);}
}

.shake {
	-webkit-animation-name: shake;
	-moz-animation-name: shake;
	-o-animation-name: shake;
	animation-name: shake;
}

.modal {
    background-clip: padding-box;
    background-color: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 6px 6px 6px 6px;
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
    left: 50%;
    margin-left: -280px;
    outline: medium none;
    position: fixed;
    top: 10%;
    width: 560px;
    z-index: 9999999;
    overflow: hidden;
}

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

.modal-header {
    border-bottom: 1px solid #EEEEEE!important;
    padding: 9px 15px!important;
}


.modal-body {
    max-height: 400px!important;
    overflow-y: auto!important;
    padding: 15px!important;
    position: relative!important;
}
.modal-dialog {
    left: 50%;
    padding-bottom: 2px;
    padding-top: 25px;
    right: auto;
    width: 500px;
}

.modal-footer:before, .modal-footer:after {
    content: ""!important;
    display: table!important;
    line-height: 0!important;
}
.modal-footer:after {
    clear: both!important;
}
.modal-footer:before, .modal-footer:after {
    content: ""!important;
    display: table!important;
    line-height: 0!important;
}
.modal-footer {
    background-color: #F5F5F5!important;
    border-radius: 0 0 6px 6px!important;
    border-top: 1px solid #DDDDDD!important;
    box-shadow: 0 1px 0 #FFFFFF inset!important;
    margin-bottom: 0!important;
    padding: 14px 15px 15px!important;
    text-align: right!important;
}

.modal .btn {
    display: inline-block;
    *display: inline;
    padding: 4px 12px;
    margin-bottom: 0;
    *margin-left: .3em;
    font-size: 14px;
    line-height: 20px;
    color: #333333;
    text-align: center;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
    vertical-align: middle;
    cursor: pointer;
    background-color: #f5f5f5;
    *background-color: #e6e6e6;
    background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
    background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
    background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
    background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
    background-repeat: repeat-x;
    border: 1px solid #cccccc;
    *border: 0;
    border-color: #e6e6e6 #e6e6e6 #bfbfbf;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    border-bottom-color: #b3b3b3;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
    *zoom: 1;
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}
#alert-modal-text{
    padding-left: 15px;
}

/*  browse your computer css */

.file-upload-link input[type="file"] {
    position: absolute;
    display: block;
    z-index: 99;
    width: auto;
    height: 100%;
    font-size: 100px;
    margin: 0px;
    padding: 0px;
    border: 0px none;
    cursor: pointer;
    right: 0px;
    top: 0px;
    opacity: 0;
}

/* drawer fix */
body div.drawer {
	display: block;
	float: left;
	position: relative;
}

.no-drug{

}

figure{
	min-height: 247px;
	position: relative;
}

.img-holder ul li textarea{
	margin: 0;	
}

/* Dragg and drop */

.picture-block-grid.ui-sortable > li div .mask:before, .picture-block-grid > li.no-drug div .mask:before{
    background: url("../images/element.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    content: "";
    height: 53px;
    position: absolute;
    right: 23px;
    top: 13px;
    width: 53px;
    z-index: 10;
}

.picture-block-grid > li.no-drug div .mask {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.5);
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

/* Styles for tagging and meta data not included with the design from AC */
#img-holder .select-wrap, #img-holder .tag-text {
	display: none;
}

#img-holder .select-wrap select{
	color: #868585;
    width: 100%;
}

/* centering placeholder text */
section#main .form-control.url-field{
    text-align: center;
}
section#main .form-control.url-field.error{
    margin: 0 0 1rem;
}
body .img-holder.expand{
    margin-top: 5.375rem
}

/* ------------------------------- */
/*  Tagging                        */
/* ------------------------------- */
/*----------------------------------------
* Pseudo-Classes
*----------------------------------------*/
.jquery-notes-container .clearfix:after {
    clear:both;
    content:".";
    height:0px;
    display:block;
    visibility:hidden;
}
/*----------------------------------------
 * Reset
 *----------------------------------------*/
.jquery-notes-container * {
    margin:0;
    padding:0;
    list-style:none;
    font-family:Verdana, Helvetica, sans-serif;
    font-size:10px;
    font-style:normal;
    text-decoration:none;
}
.jquery-notes-container .ui-menu .ui-menu-item a b {
    font-weight:bold;
}
.jquery-notes-container .ui-menu .ui-menu-item a i {
    font-style:italic;
}
.jquery-notes-container label {
    margin:0;
    padding:0;
    list-style:none;
    font-size:11px;
    font-weight:bold;
    text-decoration:none;
}
.jquery-notes-container div,
.jquery-notes-container img {
    border:none;
    background:none;
    outline:none;
}
/*----------------------------------------
 * Notes
 *----------------------------------------*/
.jquery-notes-container {
    /*position:relative;*/
}
.jquery-notes-container .notes, .jquery-notes-container .notes img.img_main {
    /*position:relative;*/
    display: block ;
    bottom: 0;
    left: 0;
    margin: auto!important;
    position: absolute;
    right: 0;
    top: 0;
    max-width: 100%;
    max-height: 100%;
}
.jquery-notes-container .notes img {
    /*position:absolute;
    margin: auto;
    max-width: 100%;
    max-height: 100%;*/
}
.jquery-notes-container .notes .note {
    position:absolute;
}
.jquery-notes-container .notes .offFocus {
    opacity:1;
}
.jquery-notes-container .notes .onFocus {
}
.jquery-notes-container .notes:hover .note {
    display:block;
}
.jquery-notes-container .notes .select{
    z-index:9990;
}
.jquery-notes-container .notes .note .ui-resizable-handle {
    position:absolute;
    height:10px;
    width:10px;
    background:url('jquery-notes/images/resize.png') no-repeat;
}
.jquery-notes-container .notes .note .ui-resizable-ne {
    right:0;
    top:0;
    cursor:ne-resize;
    background-position:-6px 2px;
}
.jquery-notes-container .notes .note .ui-resizable-nw {
    left:0;
    top:0;
    cursor:nw-resize;
    background-position:2px 2px;
}
.jquery-notes-container .notes .note .ui-resizable-se {
    right:0;
    bottom:0;
    cursor:se-resize;
    background-position:-6px -6px;
}
.jquery-notes-container .notes .note .ui-resizable-sw {
    left:0;
    bottom:0;
    cursor:sw-resize;
    background-position:2px -6px;
}
.jquery-notes-container .notes .note .border {
    position:relative;
    width:100%;
    height:100%;
    border:1px solid #fff;
    outline:1px solid #000;
}
.jquery-notes-container .notes .note .border .bg {
    position:relative;
    width:100%;
    height:100%;
    background:#fff;
    opacity:0.2;
}
.jquery-notes-container .notes .note .border .bg a {
    position:relative;
    width:100%;
    height:100%;
    display:block;
}
.jquery-notes-container .notes .text {
    position:absolute;
    padding:5px;
    margin-top:4px;
    line-height:10px;
    background:#000;
    display:none;
    border-radius:5px;
    opacity:0.9;
    z-index:9990;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
}
.jquery-notes-container .notes .text span {
    color:#fff;
}
.jquery-notes-container .notes .text .author {
    font-style:italic;
}
.jquery-notes-container .notes .text .date {
    color:#999;
    font-size:8px;
    font-style:italic;
    display:block;
}
/*----------------------------------------
 * Loading
 *----------------------------------------*/
.jquery-notes-container .notes .layer {
    position:absolute;
    top:0;
    left:0;
    height:100%;
    width:100%;
    background:transparent;
    opacity:0.7;
    z-index:9999;
    display:none;
}
.jquery-notes-container .notes .loading {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    z-index:9999;
    display:none;
}
.jquery-notes-container .notes .loading .message {
    position:relative;
    margin:0 auto;
    width:100px;
    line-height:25px;
    padding:0 5px 0 25px;
    color:#fff;
    font-weight:bold;
    text-align:center;
    background:url('jquery-notes/images/loader.gif') no-repeat 10px center #000;
    opacity:0.9;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    border-radius:5px;
}
/*----------------------------------------
 * Notes Formular
 *----------------------------------------*/
.jquery-notes-container .notes .note .text-box {
    background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid #113553;
    font-size: 11px;
    padding: 15px 15px 5px 15px;
    position: absolute;
    width: 137px;
    /*z-index: -1;*/
    left: 8px;
    top: 8px;
    border-radius:4px;
    word-wrap: break-word;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;

}

.jquery-notes-container .notes .popup-wrap .text-box textarea{
    width: 127px;
    resize: none;
    padding: 5px;
    height: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
}
.jquery-notes-container .notes  .popup-wrap .popup textarea.edit-notes{
    display:none;
}

.jquery-notes-container .notes .note .text-box input,
.jquery-notes-container .notes .note .text-box select {
    position:relative;
    padding:5px;
    margin-top:1px;
    margin-left: 5px;
    margin-bottom: 5px;
    width:240px;
    line-height:15px;
    font-family:verdana, sans-serif;
    font-size:10px;
    background:#fff;
    border:1px solid #777;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    border-radius:5px;
}

.jquery-notes-container .notes .note .text-box a.cancel-note {
    
}

/*----------------------------------------
 * Controller
 *----------------------------------------*/
.jquery-notes-container .controller {
    position:relative;
}
.jquery-notes-container .controller a {
    position:relative;
    margin:2px;
    height:16px;
    width:16px;
    display:block;
    background:#000;
    background-repeat:no-repeat;
    background-position:center center;
    float:left;
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
    border-radius:3px;
}
.jquery-notes-container .controller a.counter {
    background-image:url('jquery-notes/images/notes.png');
}
.jquery-notes-container .controller a.add-note {
    background-image:url('jquery-notes/images/add.png');
}
.jquery-notes-container .controller a.cancel-note {
    background-image:url('jquery-notes/images/cancel.png');
}
.jquery-notes-container .controller a.hide-notes {
    background-image:url('jquery-notes/images/hide.png');
}
.jquery-notes-container .controller a.show-notes {
    background-image:url('jquery-notes/images/show.png');
}
.jquery-notes-container .controller a.reload-notes {
    background-image:url('jquery-notes/images/reload.png');
}
.jquery-notes-container .controller a.link {
    background-image:url('jquery-notes/images/link.png');
}
/*----------------------------------------
 * Custom
 *----------------------------------------*/
div.jquery-notes-container {
    margin:auto;
    line-height: 1;
}
.jquery-notes-container .notes .note .border .bg {
    background: url('../images/btn-open.png') no-repeat center transparent;
    opacity: 1;
}
.jquery-notes-container .notes .note .border {
    border: 0;
    outline:0;
}
.jquery-notes-container .notes .note {
    margin-top:-10px;
    margin-left:-10px;
    width:20px;
    height: 20px;
}
.jquery-notes-container .notes .text {
    margin-top: -10px;
    margin-left: -10px;
}

#tags_list li {
    margin: 5px 0;
}
ul#tags_list {
    list-style: none;
}
.ui-autocomplete {
    max-height: 100px;
    overflow-y: auto;
    overflow-x: hidden;
    font-size: 10px;
    z-index: 99999 ;
}
.jquery-notes-container .notes .note .text-box select {
    width: 199px;
}

/* new styles */

.picture-block-grid .popup-wrap .open {
    background: url("../images/element.png") no-repeat scroll -134px -27px rgba(0, 0, 0, 0);
    display: block;
    height: 18px;
    overflow: hidden;
    position: relative;
    text-indent: -9999px;
    width: 18px;
    z-index: 5;
}
.picture-block-grid .popup-wrap.active .open {
    background-position: -132px -54px;
    height: 18px;
    margin: -1px;
    width: 18px;
}
.picture-block-grid .popup-wrap .popup {
    background: none repeat scroll 0 0 #fff;
    border: 1px solid #113553;
    border-radius: 4px;
    color: #113553;
    display: none;
    padding: 15px 17px 9px 18px;
    position: absolute;
    width: 136px;
    z-index: 2;
}
.picture-block-grid .popup-wrap.active .popup {
    display: block;
}
.picture-block-grid .popup-wrap p {
    margin: 0 0 12px;
}
.picture-block-grid .popup-wrap ul {
    border-top: 1px solid #dddcdc;
    font: bold 10px/16px Arial,Helvetica,sans-serif;
    list-style: outside none none;
    margin: 10px -2px 0;
    padding: 8px 3px 0;
    text-align: right;
    text-transform: uppercase;
}
.picture-block-grid .popup-wrap ul li {
    display: inline;
    margin: 0 0 0 20px;
}
.picture-block-grid .popup-wrap ul a {
    color: #c1c0c0;
    text-decoration: none;
}
.picture-block-grid .popup-wrap ul a:hover {
    text-decoration: underline;
}
.picture-block-grid .popup-wrap ul a.pink {
    color: #113553;
}
.picture-block-grid .text-area {
    border-top: 1px solid #b7b7b7;
    min-height: 39px;
    overflow: hidden;
    padding: 10px 2% 9px;
}
.picture-block-grid .text-area textarea, .picture-block-grid .text-area textarea:focus {
    border: medium none;
    box-shadow: none;
    width: 95%;
}
.picture-block-grid .text-area p, .picture-block-grid .tag-text p {
    margin: 0 0 5px;
}
.picture-block-grid .panel {
    background: none repeat scroll 0 0 #f2f2f2;
    border-radius: 0 0 5px 5px;
    border-top: 1px solid #dfdfdf;
    bottom: 0;
    box-sizing: content-box;
    left: 0;
    margin-bottom: 0 !important;
    min-height: 35px;
    overflow: hidden;
    position: absolute;
    width: 100%;
}

.picture-block-grid .btn-cancel, .picture-block-grid .btn-apply, .picture-block-grid .btn-done, .picture-block-grid .select-wrap, .picture-block-grid .tag-text {
    display: none;
}
.picture-block-grid .btn-cancel, .picture-block-grid .btn-apply{
    float:left;
}
.picture-block-grid .select-wrap select {
    color: #868585;
    width: 100%;
}
.picture-block-grid > li.selected .block {
    border: 1px solid #113553;
}
.picture-block-grid > li.selected textarea.description-text {
    display: none;
}
.picture-block-grid > li.selected .select-wrap {
    display: block;
    min-height: 34px;
    padding: 12px 14px 11px;
    height: 100px;
    border: 1px solid #cccccc;
}
.picture-block-grid > li.selected .btn-cancel, .picture-block-grid > li.selected .btn-apply {
    display: block;
    float: left;
}
.picture-block-grid > li.selected .btn-categorize, .picture-block-grid > li.selected .btn-delete, .picture-block-grid > li.selected .btn-attach, .picture-block-grid > li.tag .btn-categorize, .picture-block-grid > li.tag .btn-delete, .picture-block-grid > li.tag .btn-lock, .picture-block-grid > li.tag .btn-attach {
    display: none;
}
.picture-block-grid > li.tag .block {
    border: 1px solid #113553;
    border-radius: 5px;
}
.picture-block-grid > li.tag .btn-done {
    display: block;
    float: right;
}
.picture-block-grid .popup-wrap .row {
    background: none repeat scroll 0 0 #fff;
    margin: -2px -4px -1px -6px;
}
.picture-block-grid .popup-wrap .row + .btn-wrap {
    padding: 10px 3px 2px;
}
.picture-block-grid .popup-wrap .row input {
    border: 1px solid #bbb;
    color: #113553;
    font-size: 13px;
    height: 37px;
    padding: 0 13px;
}
.picture-block-grid .popup-wrap .row input:-moz-placeholder {
    color: #113553;
}
.picture-block-grid .popup-wrap .row input::-moz-placeholder {
    color: #113553;
}
.picture-block-grid > li.no-tag textarea.description-text {
    display: none;
}
.picture-block-grid > li.no-tag .tag-text {
    color: #113553;
    display: block;
    min-height: 39px;
    padding: 10px 21% 9px 4.8%;
    height: 100px;
    border: 1px solid #cccccc;
}

.select-wrap .selectboxit-container.uploader-select-year {
    width: 30%;
    padding-bottom: 1%;
}
.select-wrap .selectboxit-container.uploader-select-make {
    width: 60%;
}
.select-wrap .selectboxit-container.uploader-select-model{
	width: 30%;	
}
.select-wrap .selectboxit-container .selectboxit {
    width: 100%;
}
.selectboxit-option, .selectboxit-optgroup-header{
	width: 100%;
}

.complete .block{
    white-space:nowrap;
    background:#fffefe;
    text-align:center;
    height: 317px;
    border: 1px solid #113553;
}
.complete .block:after {
    content:'';
    display:inline-block;
    height:100%;
    width:1px;
    overflow:hidden;
    margin:0 0 0 -5px;
    vertical-align:middle;
}
.complete-holder{
    vertical-align:middle;
    display:inline-block;
    color:#113553;
    white-space:normal;
    padding:16px 0 0;
}
.complete-holder strong{
    display:block;
    margin:0 0 8px;
    font:84px/80px Arial, Helvetica, sans-serif;
}
.complete-holder span{
    display:block;
    font:13px/15px Arial, Helvetica, sans-serif;
}
@media only screen and (max-width: 767px){
    .complete-holder strong{
            margin:0 0 5px;
            font:100px/150px Arial, Helvetica, sans-serif;
    }
     .complete-holder span{font:22px/24px Arial, Helvetica, sans-serif;}
    body .modal, .modal.container, .modal.modal-overflow {
        bottom: auto;
        height: auto;
        left: 1%;
        margin: 0 ;
        padding: 0 ;
        right: 1%;
        width: auto ;
    }
    .mask{
        display: none;
    }
}
@media only screen and (max-width: 320px) {
    .complete-holder strong{
        margin:0 0 5px;
        font:100px/100px Arial, Helvetica, sans-serif;
    }
    .complete-holder span{font:18px/20px Arial, Helvetica, sans-serif;}
    .padding-form{
        padding: 0px 0px;
    }
    .complete .block{
        height: auto;
    }
    .modal, .modal.container, .modal.modal-overflow {
        bottom: auto;
        height: auto;
        left: 1%;
        margin: 0 ;
        padding: 0 ;
        right: 1%;
        width: auto ;
    }
}

@media only screen and (max-height: 768px) {
    #info img{
        height: 200px;
    }
    
}

@media only screen and (max-height: 700px) {
    #info img{
        height: 150px;
    }
    
}

@media only screen and (max-height: 600px) {
    #info img{
        height: 100px;
    }
    
}

/* container of the sortable elements */
body{
    max-width: 1034px;
}
#img-holder{
    display: block;
    float: left;
    position: relative;
    width: 100%;
    max-width: 1034px;
    overflow: hidden;
    margin-top: 1rem;
}
.img-holder .picture-block-grid{
    float: left;
    display: block;
    width: 100%;
}

.tooltip {
  position: absolute;
  z-index: 1030;
  display: block;
  font-size: 11px;
  line-height: 1.4;
  opacity: 0;
  filter: alpha(opacity=0);
  visibility: visible;
  max-width: 200px;
  background: none!important;
}

.tooltip.in {
  opacity: 0.8;
  filter: alpha(opacity=80);
}

.tooltip.top {
  padding: 5px 0;
  margin-top: -3px;
}

.tooltip.right {
  padding: 0 5px;
  margin-left: 3px;
}

.tooltip.bottom {
  padding: 5px 0;
  margin-top: 3px;
}

.tooltip.left {
  padding: 0 5px;
  margin-left: -2px;
  margin-top: 10px;
}

.tooltip-inner {
  /*max-width: 200px;*/
  padding: 8px;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  background-color: #000000;
  margin-top: 8px;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
}

.tooltip-arrow {
  position: absolute;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
}

.tooltip.top .tooltip-arrow {
  bottom: 0;
  left: 50%;
  margin-left: -5px;
  border-top-color: #000000;
  border-width: 5px 5px 0;
}

.tooltip.right .tooltip-arrow {
  top: 50%;
  left: 0;
  margin-top: -5px;
  border-right-color: #000000;
  border-width: 5px 5px 5px 0;
}

.tooltip.left .tooltip-arrow {
  top: 50%;
  right: 0;
  margin-top: -15px;
  border-left-color: #000000;
  border-width: 5px 0 5px 5px;
}

.tooltip.bottom .tooltip-arrow {
  top: 0;
  left: 50%;
  margin-left: -5px;
  border-bottom-color: #000000;
  border-width: 0 5px 5px;
}

.fade {
  opacity: 0;
  -webkit-transition: opacity 0.15s linear;
     -moz-transition: opacity 0.15s linear;
       -o-transition: opacity 0.15s linear;
          transition: opacity 0.15s linear;
}

.fade.in {
  opacity: 1;
}

.button.dissabled{
    background-color: #c5c5c5;
    border-color: #6a6a6a;
}

/* Progress Frame */

.thumbnail-progress {
  position: relative;
  height: 216px;
  overflow: hidden;
}

.thumbnail-progress .bar {
  width: 0%;
}

.thumbnail-progress .filename {
  word-break: break-word;
  color: #999999;
}

.progress {
  height: 20px;
  margin-bottom: 20px;
  overflow: hidden;
  background-color: #f7f7f7;
  background-image: -moz-linear-gradient(top, #f5f5f5, #f9f9f9);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#f9f9f9));
  background-image: -webkit-linear-gradient(top, #f5f5f5, #f9f9f9);
  background-image: -o-linear-gradient(top, #f5f5f5, #f9f9f9);
  background-image: linear-gradient(to bottom, #f5f5f5, #f9f9f9);
  background-repeat: repeat-x;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#fff9f9f9', GradientType=0);
  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
     -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
          box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.progress .bar {
  float: left;
  width: 0;
  height: 100%;
  font-size: 12px;
  color: #ffffff;
  text-align: center;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #0e90d2;
  background-image: -moz-linear-gradient(top, #149bdf, #0480be);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#149bdf), to(#0480be));
  background-image: -webkit-linear-gradient(top, #149bdf, #0480be);
  background-image: -o-linear-gradient(top, #149bdf, #0480be);
  background-image: linear-gradient(to bottom, #149bdf, #0480be);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff149bdf', endColorstr='#ff0480be', GradientType=0);
  -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
     -moz-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
          box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-transition: width 0.6s ease;
     -moz-transition: width 0.6s ease;
       -o-transition: width 0.6s ease;
          transition: width 0.6s ease;
}

.progress .bar + .bar {
  -webkit-box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.15), inset 0 -1px 0 rgba(0, 0, 0, 0.15);
     -moz-box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.15), inset 0 -1px 0 rgba(0, 0, 0, 0.15);
          box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.15), inset 0 -1px 0 rgba(0, 0, 0, 0.15);
}

.progress-striped .bar {
  background-color: #149bdf;
  background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
  background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  -webkit-background-size: 40px 40px;
     -moz-background-size: 40px 40px;
       -o-background-size: 40px 40px;
          background-size: 40px 40px;
}

.progress.active .bar {
  -webkit-animation: progress-bar-stripes 2s linear infinite;
     -moz-animation: progress-bar-stripes 2s linear infinite;
      -ms-animation: progress-bar-stripes 2s linear infinite;
       -o-animation: progress-bar-stripes 2s linear infinite;
          animation: progress-bar-stripes 2s linear infinite;
}

.progress-danger .bar,
.progress .bar-danger {
  background-color: #dd514c;
  background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#c43c35));
  background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35);
  background-image: -o-linear-gradient(top, #ee5f5b, #c43c35);
  background-image: linear-gradient(to bottom, #ee5f5b, #c43c35);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffc43c35', GradientType=0);
}

.progress-danger.progress-striped .bar,
.progress-striped .bar-danger {
  background-color: #ee5f5b;
  background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
  background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
}

.progress-success .bar,
.progress .bar-success {
  background-color: #5eb95e;
  background-image: -moz-linear-gradient(top, #62c462, #57a957);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#57a957));
  background-image: -webkit-linear-gradient(top, #62c462, #57a957);
  background-image: -o-linear-gradient(top, #62c462, #57a957);
  background-image: linear-gradient(to bottom, #62c462, #57a957);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff57a957', GradientType=0);
}

.progress-success.progress-striped .bar,
.progress-striped .bar-success {
  background-color: #62c462;
  background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
  background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
}

.progress-info .bar,
.progress .bar-info {
  background-color: #4bb1cf;
  background-image: -moz-linear-gradient(top, #5bc0de, #339bb9);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#339bb9));
  background-image: -webkit-linear-gradient(top, #5bc0de, #339bb9);
  background-image: -o-linear-gradient(top, #5bc0de, #339bb9);
  background-image: linear-gradient(to bottom, #5bc0de, #339bb9);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff339bb9', GradientType=0);
}

.progress-info.progress-striped .bar,
.progress-striped .bar-info {
  background-color: #5bc0de;
  background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
  background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
}

.progress-warning .bar,
.progress .bar-warning {
  background-color: #faa732;
  background-image: -moz-linear-gradient(top, #fbb450, #f89406);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406));
  background-image: -webkit-linear-gradient(top, #fbb450, #f89406);
  background-image: -o-linear-gradient(top, #fbb450, #f89406);
  background-image: linear-gradient(to bottom, #fbb450, #f89406);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffbb450', endColorstr='#fff89406', GradientType=0);
}

.progress-warning.progress-striped .bar,
.progress-striped .bar-warning {
  background-color: #fbb450;
  background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
  background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
}


/* Upload Implementation for safari */
.drawer #form-container .device-field .file-upload-link{
    padding: 0.5rem 1rem;
}
.drawer #form-container .device-field .file-upload-div #file-upload-input{
    height: 2rem;
}

/* selectboxit classes */
.picture-block-grid .selectboxit-container .selectboxit-options{
    max-height: 175px;
    top: -11rem!important;
}

.picture-block-grid .selectboxit-container.uploader-select-model .selectboxit-options{
    max-height: 63px!important;
    top: 2rem!important;
}
