* {
	padding: 0;
	margin: 0;	
}

.panel-success{ 
	border-color:#C0AECF;
}

.panel-success>.panel-heading {
	color:#fff !important;
	background-color:#2b2c6c !important;
	border-color:#2b2c6c !important
}

.navbar-brand {
	width: 200px;	
}

.navbar-brand img {
	width: 100%;
}

.ghost {
    opacity: 0.4;
}

#sortable li {
    cursor: move;
}

.mb {
    margin-bottom: 10px;
}

.remove-item {
    float: right;
    margin-left: 10px;
    color: #f00;
}

.edit-item {
    float: right;
    margin-left: 10px;
}

.save-item {
    display: none;
    float: right;
}

.delivery-skill.editing .remove-item {
    display: none;
}

.delivery-skill.editing .edit-item {
    display: none;
}

.delivery-skill.editing .save-item {
    display: inline;
}

.btn-success {
	background-color: #272727;
	border-color: #272727;
}

.btn-success:hover, .btn-success:focus, .btn-success:active, .btn-success.active, .open .dropdown-toggle.btn-success {
  color: #fff;
  background-color: #272727;
  border-color: #272727;
}

#btnClose {
	background-color: #c60e3b;
	border-color: #c60e3b;
}

#btnSave {
	background-color: #06a7e3;
	border-color: #06a7e3;
}

body {
	padding-top: 100px;
	font-family: Verdana, Geneva, sans-serif;
	color: #7d7d7d;
    min-height: 1000px;
    background-color: #ddd;
}
html {
    -webkit-font-smoothing: antialiased;
}
.topbar {
    position: fixed;
    height: 30px;
    width: 100%;
    background-color: #272727;
    z-index: 999;
	color: #FFF;
	padding: 5px 0;
	text-align: right;
}
.navbar-default .navbar-nav>li>a {
    color: #fff;
}
.navbar-default .navbar-nav>li>a:hover {
    color: #aaa;
}

@media (max-width : 1200px) {
    .navbar-default .navbar-nav>li>a {
        color: #000;   
    }
}

.topbar .container {
	background: none;
}
.navbar, .navbar .container {
    background-color: #414042;
  }
.container {
    background-color: white;
}
.mainsection {
    min-height: 800px;
    padding: 10px 5px 15px 5px;
}
footer {
background: #272727;
padding: 88px 0 78px 0;
color: #FFF;
text-transform: uppercase;
font-size: 13px;
font-weight: bold;

}
.scrolltable tr {
width: 100%;
display: inline-table;
}
.scrolltable {
   height:600px;              
}
.scrolltable tbody {
  overflow-y: scroll;      
  height: 500px;
  /*width: 97%;
  position: absolute;*/
}
#couponrow { display:none; }
#EditModal img {
	width: 100px;
	height: auto;
	margin-bottom: 10px;
}
.btnDeleteRow { margin-left: 5px; }

.navbar-header img {
	height: auto;	
	width: auto;
    max-width: 250px;
    max-height: 100px;
}

#cardCreator {
	position: relative;	
}

#locationMap {
	height: 300px;	
}

.pac-container {
	z-index: 10000000;	
}

.locationSend {
	display: none;	
}

#phone {
	position: relative;
	margin: 10px auto;
	width: 160px;
	height: 284px;	
	border: 1px solid #000;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	-ms-border-radius: 2px;
	-o-border-radius: 2px;
	border-radius: 2px;
	overflow: hidden;
}

#phone.landscape {
	width: 284px;
	height: 160px;	
}

#phone.stage1 {
	height: 426px;
	width: 240px;
}

#phone.stage1.landscape {
	width: 426px;
	height: 240px;
}

#phone.stage2 {
	height: 568px;
	width: 320px;
}

#phone.stage2.landscape {
	width: 568px;
	height: 320px;
	margin-left: -15px;
}

#topBar {
	padding-top: 10px;
	height: 33px;
	line-height: 23px;
	background: #2D3F54;	
	font-size: 6px;
	color: #FFF;
	text-align: center;
	
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	box-sizing: border-box;
}

#phone.stage1 #topBar {
	padding-top: 15px;
	height: 50px;
	font-size: 9px;
	line-height: 35px;
}

#phone.stage2 #topBar {
	padding-top: 20px;
	height: 66px;
	line-height: 46px;
	font-size: 12px;
}

#zoom {
	position: absolute;
	top: 0;
	right: 0;
	font-size: 14px;
	text-align: center;
	width: 50px;
	height: 50px;
	line-height: 50px;
	background: #ccc;
	cursor: pointer;
		
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-ms-border-radius: 50%;
	-o-border-radius: 50%;
	border-radius: 50%;
}

#scratchArea {
	margin: 5px auto;
	width: 146px;
	height: 146px;	
	border: 1px solid #000;
}

#phone.stage1 #scratchArea {
	margin: 8px auto;
	width: 219px;
	height: 219px;
}

#phone.stage2 #scratchArea {
	margin: 10px auto;
	width: 292px;
	height: 292px;
}

#phone.landscape #scratchArea {
	margin: 5px 0 5px 10px;
	height: 95px;
	width: 195px;
	float: left;
}

#phone.landscape.stage1 #scratchArea {
	margin: 8px 0 8px 15px;
	height: 142px;
	width: 292px;
}

#phone.landscape.stage2 #scratchArea {
	margin: 10px 0 10px 20px;
	height: 190px;
	width: 390px;
}

#scratchCanvas {
	width: 100%;
	height: 100%;	
}

#selectElements > * {
	display: none;	
	padding: 10px 0;
}

#elements {
	list-style: none;	
}

#elements li {
	padding: 5px 0;
	border-bottom: 2px solid #ccc;
}	

#elements a:first-child {
	margin: 0 0 0 15px;
}

#elements a {
	border-left: 1px solid #ccc;
	margin: 0 5px;
	padding: 0 5px;
}

#elements li:first-child .moveUp {
	display: none;
}

#elements li:last-child .moveDown {
	display: none;
}

@media (max-width:1200px) {
	.navbar-toggle {
		display: block;	
	}
	
	.navbar-collapse.collapse {
		display: none!important;	
	}
	
	.navbar-default .navbar-collapse, .navbar-default .navbar-form {
		width: 100%;
		background: #fff;
		overflow: auto;	
	}

	.navbar-header {
		width: 100%;
	}

	.nav>li {
		position: relative;
		display: block;
		float: none;
	}
}


/* FROM APP */
.scratchcardControls {
	padding-bottom: 0;
	position: relative;
	list-style: none;
}

.scratchcardControls li {
	width: 20%;
	float: left;
	height: 22px;
	position: relative;
	cursor: pointer;
	background: no-repeat center;
	background-size: 22px 22px;
}

#phone.stage1 .scratchcardControls li {
	background-size: 33px 33px;	
	height: 33px;
}

#phone.stage2 .scratchcardControls li {
	background-size: 44px 44px;
	height: 44px;
}

#phone.stage1 .scratchcardControls li.number span {
	font-size: 15px;
	line-height: 33px;
}

#phone.stage2 .scratchcardControls li.number span {
	font-size: 20px;	
	line-height: 44px;
}

.landscape .scratchcardControls {
	float: right;
	width: 27%;
}

.landscape .scratchcardControls li {
	width: 100%;
	height: 24px;
}

.landscape .scratchcardControls li.number span {
	line-height: 24px;
}

#phone.stage1.landscape .scratchcardControls li {
	width: 100%;
	height: 36px;
}

#phone.stage1.landscape .scratchcardControls li.number span {
	line-height: 36px;
}

#phone.stage2.landscape .scratchcardControls li {
	width: 100%;
	height: 50px;
}

#phone.stage2.landscape .scratchcardControls li.number span {
	line-height: 50px;
}

.landscape .scratchcard {
	height: 220px !important;
}

.mainContent.scratchcardPage.landscape .buttonBig {
	width: 49%;
	float: left;
}

.mainContent.scratchcardPage.landscape .buttonBig.preview {
	float: right;
}

.landscape .leftScrach {
	float: left;
	width: 70%;
}

.scratchcardControls li.heartIcon {
	background-image: url(../images/love.png?v=1);
}

.scratchcardControls li.tagIcon {
	background-image: url(../images/tag.png?v=1);
}

.scratchcardControls li.drinkIcon {
	background-image: url(../images/drink.png?v=1);
}

.scratchcardControls li.foodIcon {
	background-image: url(../images/food.png?v=1);
}

.scratchcardControls li.time {
	background-image: url(../images/time.png);
}

.scratchcardControls li.number {
	background-image: url(../images/blank.png);
}

.scratchcardControls li.number span {
	color: #fff;
	font-size: 10px;
	text-align: center;
	line-height: 22px;
	display: block;
}

.scratchcardControls li.award {
	background: url(../images/award.png) center no-repeat;
	background-size: 22px 22px;
}

.scratchcardControls li.destruct {
	background: url(../images/destroy.png) center no-repeat;
	background-size: 22px 22px;
}

.scratchcardControls li a {
	display: block;
	height: 100%;
}

.textButton{
	background: url(../images/text.png) center no-repeat;
	background-size: 20px 20px;
	width: 20px;
	height: 20px;
	position: absolute;
	top: 20px;
	right: 20px;
}

.cameraButton {
	background: url(../images/camera.png) center no-repeat;
	background-size: 20px 20px;
	width: 20px;
	height: 20px;
	position: absolute;
	bottom: -5px;
	right: -5px;
}

.overlay {
	background: rgba(45,63,84, 0.6);
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 99;
	display: none;
}

.buttons {
	position: absolute;
	bottom: -1000px;
	left: 0;
	width: 100%;
	display: none;
	z-index: 100;
}

.setPrize .buttons { 
	margin-bottom: -10px;
}

.buttons div {
	display: block;
	background: #2d3f54;
    color: #fff;
    line-height: 22px;
    width: 100%;
    text-align: center;
    font-size: 12px;
	border-top: 1px solid #fff;
}

.buttons div.scrollable {
	max-height: 70px;
	overflow-y: auto;
	overflow-x: hidden;
}

.buttons div .scratchIcon {
	padding: 10px 0;
	list-style: none;
	margin: 0;
}

.buttons div .scratchIcon li {
	width: 25%;
	height: 20px;
	float: left;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	cursor: pointer;
}

.buttons div .scratchIcon li.heartIcon {
	background-image: url(../images/heartIcon.png?v=1);
}

.buttons div .scratchIcon li.drinkIcon {
	background-image: url(../images/drinkIcon.png?v=1);
}

.buttons div .scratchIcon li.foodIcon {
	background-image: url(../images/foodIcon.png?v=1);
}

.buttons div .scratchIcon li.tagIcon {
	background-image: url(../images/tagIcon.png?v=1);
}

.scratchcardPage .timer {
	font-size: 25px !important;
	line-height: 60px !important;
}

.scratchcardPage .timer span {
	padding: 0 10px;
}

.buttons div span {
	color: #fff;
}

.buttons div.light {
	background: #7390ad;
}

.timerClock {
	background: url(../images/timeBig.png) center no-repeat;
	height: 60px;
	background-size: contain;
	margin: 15px 0;
}

.timerClock span {
	padding: 12px 0 0;
	line-height: 43px;
	display: block;
	text-align: center;
	font-size: 22px;
}

.numberOfGoes {
	text-align: center;
	padding-bottom: 15px;
	font-size: 18px;
}

.setPrize .mainContentInner {
	padding: 25px 0 10px;
}

.setPrize .scratchcard {
	position: relative;
	height: 60%;
	margin-top: 15px;
	border-top: 1px solid #2D3F54;
	border-bottom: 1px solid #2D3F54;
}

.setPrize .scratchcard .cameraIcon {
	background: url(../images/camera.png) center no-repeat;
	background-size: contain;
	width: 50px;
	height: 50px;
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -25px 0 0 -25px;
	z-index: 10000;
}

.setPrize .numberOfGoes {
	font-size: 10px;
	text-align: center;
	padding: 10px 0;
	position: relative;
	min-height: 40px;
}

#phone.stage1 .setPrize .numberOfGoes {
	min-height: 80px;
	font-size: 14px;
	padding: 15px 0;
}

#phone.stage2 .setPrize .numberOfGoes {
	font-size: 18px;
	min-height: 100px;
	padding: 20px 0;
}

.setPrize .numberOfGoes textarea {
	text-align: center;	
	height: 40px;
	resize: none;
	border: none;
	width: 90%;
}

#phone.stage1 .setPrize .numberOfGoes textarea {
	height: 80px;	
}

#phone.stage2 .setPrize .numberOfGoes textarea {
	height: 100px;	
}

#phone.stage1 .setPrize .numberOfGoes span.textIcon {
	font-size: 14px;
	height: 60px;
}

#phone.stage2 .setPrize .numberOfGoes span.textIcon {
	font-size: 18px;
	height: 80px;
}

.setPrize .numberOfGoes span.textIcon {
	width: 22px;
	height: 22px;
	background: url(../images/text.png) center no-repeat;
	background-size: contain;
	position: absolute;
	top: 50%;
	right: 10px;
	margin-top: -11px;
}

.closeOverlay, .overlay {
	cursor: pointer;	
}

.decreaseTime, .increaseTime, .less, .more, .swap {
	cursor: pointer;	
}

.topOptions {
    position: absolute;
    color: #ccc;
    list-style: none;
    font-size: 11px;
    text-align: center;
    margin: 0;
    background: transparent;
    width: 100%;
    top: -22px;
	background: #000;
	border-top: 1px solid #fff;
}

.topOptions li {
	background: #4b719c;
	border-bottom: none;	
	width: 50%;
	margin: 0;
	float: left;
	padding: 3px 0;
	cursor: pointer;
	opacity: 0.8;
	color: #fff;
}

.topOptions li.active {
	background: #2d3f54;
	opacity: 1;	
}

.option.animation {
	display: none;
}	

.option {
	border-top: 1px solid #fff!important;	
}

#destructions {
	list-style: none;
	padding: 6px;	
	margin: 0;
}

#destructions li {
	position: relative;
	width: 32px;
	height: 32px;
	float: left;
	margin-left: 6px;
	outline: 1px solid #fff;
	background: center center no-repeat;
	background-size: contain;
	cursor: pointer;
	font-size: 9px;
}

#phone.stage1 #destructions {
	padding: 7px;
}

#phone.stage1 #destructions li {
	width: 48px;
	height: 48px;
	margin-left: 10px;
}

#phone.stage2 #destructions {
	padding: 10px;
}

#phone.stage2 #destructions li {
	width: 64px;
	height: 64px;
	margin-left: 14px;
	font-size: 12px;
}

#destructions li:first-child {
	margin: 0!important;	
}

#destructions li p {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;	
}

#prizeImg {
	position: relative;
	background: no-repeat center center;
	background-size: contain;
}	

#prizeImg video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;	
}

#destructions li.active {
	outline: 3px solid #fff;	
}

#destructions li#destruction-flame {
	background-image: url(../images/flameanim.gif);
}

#destructions li#destruction-gravity {
	background-image: url(../images/gravityanim.gif);
}	

#destructions li#destruction-explosion {
	background-image: url(../images/explosionanim.gif);
}	

.timer {
	border-top: none!important;	
}

#prize {
	position: absolute;
	bottom: 0;	
	left: 0;
	width: 100%;
	height: 88%;
	background: #fff;
	display: none;
	overflow: hidden;
}

.buttonBig {
	padding: 0 10px;
}

.buttonBig span {
	display: block;
	background: #2d3f54;
	border: 1px solid #2d3f54;
	color: #fff;
	line-height: 22px;
	width: 100%;
	text-align: center;
	font-size: 12px;
	-webkit-transition: all 0.25s ease;
	transition: all 0.25s ease;
}

.buttonBig.hover span {
	background: #FFF;
	color: #2d3f54;
}

.buttonBig.setPrize {
	cursor: pointer;	
}

#phone.landscape #textOptions {
	left: auto;
	right: 0;
	top: 0;
	bottom: auto;
	height: 100%;	
	width: 80px;
	border-left: 1px solid #fff;
}

#textOptions .simplecolorpicker.icon, #textOptions .simplecolorpicker span.color {
	height: 20px;
}

#phone.landscape .buttons div.scrollable {
	max-height: 135px;	
	border-top: none;
}

.pushable {
	position: absolute;
	left: 0;
	width: 100%;
	height: 100%;	
}

#textOptions .simplecolorpicker span.color:hover, #textOptions .simplecolorpicker span.color[data-selected], #textOptions .simplecolorpicker span.color[data-selected]:hover {
    -webkit-box-shadow: 2px 2px 0px 0px rgba(255,255,255,0.5);
    -moz-box-shadow: 2px 2px 0px 0px rgba(255,255,255,0.5);
    box-shadow: 2px 2px 0px 0px rgba(255,255,255,0.5);
}

.loading {
    position: relative;
}

.loading::after {
    content: ' ';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../images/loading.gif) rgba(255,255,255,0.5) no-repeat center center;
    background-size: 32px 32px;
}

.delivery-skill input {
    display: none;
    width: 80%;
}

.delivery-skill.editing span {
    display: none;
}

.delivery-skill.editing input {
    display: inline;
}