

@font-face {
  font-family: ClashRoyal;
  src: url(../css/font/Supercell-magic-webfont.ttf);
  font-weight: bold;
}

body {
	background-image: url(../img/bg.png);
	background-size: cover;
	background-repeat: no-repeat;
	font-family: ClashRoyal;
	height: 100%;
	-webkit-box-shadow: inset 3px 9px 93px 34px rgba(0,0,0,0.28);
	-moz-box-shadow: inset 3px 9px 93px 34px rgba(0,0,0,0.28);
	box-shadow: inset 3px 9px 93px 34px rgba(0,0,0,0.28);
	position: relative;
	min-height: 100%;
	overflow: auto;
	
}
html {
	height: 100%;
	min-height: 100%;
	overflow: auto;
}

.overlay {
	height: 100%;
	min-height: 100%;
	height: 100vh;
	position: relative;
	
	

}
   


h1 {
    position: relative;
    font-size: 16px;
    text-transform: uppercase;
    color: #fff;
    text-align: left;
    padding: 19px 0px 1px 93px;
    text-shadow: 0 3px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    margin-top: 0px;
}

h1:before {
    content: '';
    position: absolute;
    top: 10px;
    left: 16px;
    background: url(../img/title.png);
    width: 68px;
    height: 68px;
    background-size: 100%;
    background-repeat: no-repeat;
    box-shadow: 1px 2.5px 6px 2px rgba(0, 0, 0, 0.7);
    border-radius: 5px;
}

.title-wrap {
	float: none;
	width: 283px;
}



.selected-amount-wrapper {
    background-image: linear-gradient(to bottom, rgba(30, 40, 47, 0.77) 0%, rgba(30, 40, 47, 0.77) 50%, rgba(2, 13, 23, 0.89) 51%, rgba(2, 13, 23, 0.89) 100%);
    padding: 4px 0px 4px 0px;
    font-size: 14px;
    
    padding-right: 25px;
    text-align:right;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
   position: relative;
    color: #fff;
    cursor: default;
}

.single-resource-wrapper {
	margin-bottom: 15px;
	padding-right: 10px;
	padding-left:10px;
}


.value-button-wrapper {
	position: relative;
	-webkit-transition: all 0.2s ease-in-out 0s;
	-moz-transition: all 0.2s ease-in-out 0s;
	-ms-transition: all 0.2s ease-in-out 0s;
	-o-transition: all 0.2s ease-in-out 0s;
	transition: all 0.2s ease-in-out 0s;
}




.value-button.btn-disabled {
	border: 2px solid transparent;	
}
.value-button::selection {
  background: none;
}
.value-button::-moz-selection {
  background: none;
}
.value-button:active {
	transform:scale(0.9,0.9);
}
.value-button.btn-disabled:active {
	transform:scale(1,1);
}

.decrease-button.btn-disabled {
	color: #666;
	
	cursor: not-allowed;
}
.increase-button.btn-disabled {
	color:#666;
	opacity: .5;
	cursor: not-allowed;
}
.panel-title {
	margin-bottom: 15px;
}
.panel-title h2 {
	margin: 0;
}







.resource-img {
    max-width: 46px;
    position: absolute;
    right: -13px;
    top: -9px;
}


.max-amount {
	display: none;
	content: 'MAX';
	color: #24272d;
	right: 15px;
	top: 2px;
	position: absolute;
}
.max-amount::selection {
  background: none;
}
.max-amount::-moz-selection {
  background: none;
}


.royalgold-amount, 
.royalgem-amount {
	color: #d4d4d6;
	font-weight: 600;
}







.control-increase {
    position: absolute;
    left: -11px;
    top: -35px;
    width: 37px;
}


.control-increase img {
	height: 40px;
}

.control-decrease {
	position: absolute;
	top: -2px;
	right: -19px;
	width: 37px;
	line-height: 32px;
}


.resources-select-wrapper {
	margin-top: 30px;
}


.username-wraper {
	margin-top: 10px;
	padding-right: 0px;
	padding-left: 0px;
	margin-bottom: 30px;
	position: relative;
}

.username-wrap {
	padding-right: 0px;
	padding-left: 0px;
	text-align: center;
	position: relative;
}

.username-wrap input {
	width: 100%;
	padding: 3px 3px;
	 background:rgba(2, 13, 23, 0.80); 
	 color: #fff;
	 border-radius: 4px;
	 border:none;
	 outline: 0;
	 margin-top: -1px;
}


.connect-button {
	position: absolute;
	top: 21px;
    right: -21px;
}

.connect-button:active {
	transform:scale(0.9,0.9);
}

.connect-button img {
	height: 32px;
}

.username-wrap label {
	font-size: 12px;
	letter-spacing: .3px;
	color: #fff;
	text-shadow: 0 3px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
	text-align: left;
}

.usernameicn-backg {
	background-color: rgba(39, 51, 62, 0.61);
	padding-right: 0px;
	overflow: auto;
	border-radius: 4px;
	padding: 5px 10px 10px 10px;
	box-shadow: 1px 2px 2px .2px rgba(0, 0, 0, 0.7);
	border: 1px solid rgba(85, 219, 222, 0.58);
}

.username-control {
	padding-left: 15px;
	padding-right: 0px;

}

.acc-icon {
	padding: 7px;
	background:  rgba(39, 51, 62, 0.61);
	max-width: 63.75px;
	border-radius: 5px;
	position: relative;
	border: 1px solid rgba(85, 219, 222, 0.58);
        box-shadow: 1px 2px 1px 2px rgba(0, 0, 0, 0.7);

}

.acc-icon:active {
	transform:scale(0.9,0.9);
}


.acc-icon img {
	height: 50px;
}

.username-wrap2 {
	padding-right: 0px;
	padding-left: 0px;
	text-align: left;
	position: relative;
	color: #fff;
	text-shadow: 0 3px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
	display: none;
}


#user-text {
	margin-bottom: 0px;
	margin-top: 5px;
	font-size: 16px;
}

.username-wrap2 img {
	height: 46px;
	float: left;
	margin-top: 4px;
	margin-right: 3px;

}

.connected-usr {
	font-size: 12px;
	margin-bottom: 0px;
	color: #ffffcc;
}

.yes-confirm {
	position: absolute;
	top: 13px;
    right: -20px;
	height: 24px!important;
}


.icon-effect {
	background-color: rgba(255, 255, 255, 0.43);
    
    height: 39%;
    position: absolute;
    top: 3px;
    right: 3px;
    left: 3px;
    border-radius: 4px;
    
    z-index: -1;
}

.display-none {
	display: none;
}


.arena-img {
	max-height: 260px;
	margin-top: 20px;
}


.giveway-btn {
	background-image: url(../img/giveway-btn.png);
	background-size: 100%;
	height: 73px;
    width: 154px;
	position: relative;
	background-repeat: no-repeat;
	margin-bottom: 83px;
}

.giveway-btn-text span {
	position: absolute;
	top: 50%;
	left: 50%;
	transform:translate(-50%,-50%);
	color: #ffffcc;
	font-size: 16px;
	text-shadow: 0 3px 0 #582e00, -1px -1px 0 #582e00, 1px -1px 0 #582e00, -1px 1px 0 #582e00, 1px 1px 0 #582e00;
}

.giveway-btn:active {
	transform:scale(0.9,0.9);
}


.progress {
	height: 22px;
	border:2px solid #222;
	border-radius: 7px;
	background-color: #44433e;
	position: relative;
}

.progress span {
	position: relative;
    z-index: 11;
    font-size: 11px;
    top: -2px;
    color: #66feff;
    text-shadow: 0 1px 0 #582e00, -1px -1px 0 #582e00, 1px -1px 0 #582e00, -1px 1px 0 #582e00, 1px 1px 0 #582e00;
   }

.progress-bar {
	background-image: linear-gradient(to bottom, #2FD8FF 36%, #25C0EC 41%, #25C0EC 80%, #25C0EC 100%);
	border-radius: 7px;
	position: absolute;
	z-index: 10;
	
}

.progress:before {
	content: '';
	border-top: solid #2c2d28 3px;
	position: absolute;
	width: 100%;
	height: 3px;
	left: 0;
	border-radius: 8px;
	z-index: 1;
}

.icon-progress {
	position: absolute;
    left: -21px;
    top: 33px;
    z-index: 20;
    height: 49px;
}

.giveway-progress {
	text-shadow: 0 2px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}


.menu-wrap {
	position: fixed;
	bottom: 0px;
	left: 0px;
	right: 0px;
	z-index: 50;
}
.menu-wrap ul {
	padding: 0px;
	margin-bottom: 0px;
	text-align: center;
	position: relative;
	background-color: #334353;
	box-shadow: 3px 1.5px 7px 4px rgba(0, 0, 0, 0.7); 
}

.menu-wrap ul:before {
	content: '';
	position: absolute;
	height: 2px;
	border-top:2px solid rgba(255, 255, 255, 0.22);
	top:0px;
	left: 0px;
	width: 100%;
	z-index: 3;
}

.menu-wrap ul li {
	display: inline-block;
	list-style-type: none;
	padding-bottom: 5px;
	padding-top: 5px;
	border-right: solid 1px #1f2831;
	position: relative;
}


.menu-wrap ul li:after {
	content: '';
	position: absolute;
	height: 2px;
	border-left: 1px solid rgba(255, 255, 255, 0.22);
	top:0px;
	right: -1px;
	width: 2px;
	height: 100%;
}

.menu-wrap ul li img {
	height: 54px;
}


.battle {
	border:none!important;
	background-image: linear-gradient(to bottom, #4F708F 20%, #5C8CB0 55%);
	
	
}

.battle:before {
	content: '';
	position: absolute;
	height: 2px;
	border-left:2px solid rgba(255, 255, 255, 0.18);
	top:0px;
	left: 0px;
	width: 2px;
	height: 100%;
}

.battle>img {
	    top: -15px!important;
    padding-right: 11px;
    padding-left: 11px;
    position: relative;
    z-index: 5;
}



.battle span {
	display: block;
    font-size: 10px;
    margin-bottom: -4px;
    position: absolute;
    right: 0px;
    left: 0px;
    bottom: 9px;
    text-shadow: 0 2px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    color: #fff;
}

.clan {
	border-left: solid 1px #1f2831;
}

.clan:before {
	content: '';
	position: absolute;
	height: 2px;
	border-left:2px solid rgba(255, 255, 255, 0.18);
	top:0px;
	left: 0px;
	width: 2px;
	height: 100%;
}

.tv-icon {
	border:none!important;
}

.tv-icon:after {
	border:none!important;
}




.overlay-battle {
	position: absolute;
	background-image: linear-gradient(to bottom, #4F708F 20%, #5C8CB0 55%);
	top: 0;
	left:0;
	bottom: 0;
}

.popover-p {
	font-size: 11px;
	margin-bottom: 0px;
}

.popover.bottom>.arrow {
	left: 50%!important;
}

.popover {
	background-color: #ece9e4!important;
	-webkit-animation: bounce 1.8s infinite;
	-moz-animation: bounce 1.8s infinite;
 	-o-animation: bounce 1.8s infinite;
 	z-index: 1000;
}

@keyframes bounce {
 0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
 40% {transform: translateY(-8px);}
 60% {transform: translateY(-2px);}
}

#popover2 {
    margin-top: -10px!important;
    position: absolute;
    bottom: 30px;
    left: 10px;
}

#popover3 {
    margin-top: -10px!important;
    position: absolute;
    top: 10px;
    left: 0px;
    right: 0px;
}

.popover-content {
    padding: 10px 9px!important;
}

.clear {
	clear: both;
}



.popup-content {
	background-color: #deebf1;
	margin: 3px;
	border-radius: 4px;

}

.popup-content p {
	margin-bottom: 0px;
    padding: 10px 22px 10px 22px;
    text-align: center;
    font-size: 11.5px;
}

.mfp-close {
	opacity: 1;
	right: 8px;
    top: 6px;
    width: 38px;
}

.mfp-close:active {
	transform:scale(0.9,0.9);
}

.popup-list {
	padding: 0px;
}

.popup-list li {
	display: inline-block;
	padding: 10px;
	list-style-type:none;
}

.popup-list li img {
	height: 40px;
}

.popup-list li img:active {
	transform:scale(0.9,0.9);
}


.popup-style {
	background-color: #636a7c;
	padding: 5px;
	border-radius: 6px;
	max-width: 280px;
	border:solid 2px #333333;

}

.popup-style h4 {
	color: #fff;
	margin-top: 6px;
	font-size: 16px;
    text-shadow: 0 2px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.popup-style:before {
	content: '';
	border-top: 2px solid rgba(241, 216, 197, 0.45);
	border-top-right-radius: 6px;
	border-top-left-radius: 6px;
	top:0;
	left: 3px;
	width: 98%;
	position: absolute;
}


.roate-device {
	height: 100px;
}

.verification {
	display: none;
	background-color: #384b5e;
	width: 89%;
	margin-top: 12px;
	border:solid 1px #333333;
	position: relative;
	border-radius: 6px;
	color: #fff;
	padding-bottom: 20px;
}

.verification:before {
	content: '';
	border-top: 3px solid rgba(241, 216, 197, 0.25);
	border-top-right-radius: 6px;
	border-top-left-radius: 6px;
	top:0;
	left: 0px;
	width: 100%;
	position: absolute;
}


.header-wrap {
	position: relative;
	height: 100%;
}

.header-wrap h4 {
	font-size: 13px;
	letter-spacing: 1px;
	position: absolute;
	top: 24%;
	left:50%;
	transform: translate(-50%,-50%);
	text-shadow: 0 2px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;

}

.header-wrap img {
	max-height: 56px;
}

.content-ver p {
	font-size: 11px;
	text-shadow: 0 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
	text-align: center;
	padding-left: 10px;
	padding-right: 10px;
}

.verify-btn {
	background-image: url(../img/giveway-btn.png);
	background-size: 100%;
	height: 61px;
    width: 126px;
	position: relative;
	background-repeat: no-repeat;
	margin-bottom: 3px;
}

.verify-btn-text a {
	position: absolute;
	top: 50%;
	left: 50%;
	transform:translate(-50%,-50%);
	color: #ffffcc;
	font-size: 13px;
	text-align: center;
	text-shadow: 0 3px 0 #582e00, -1px -1px 0 #582e00, 1px -1px 0 #582e00, -1px 1px 0 #582e00, 1px 1px 0 #582e00;
}

.verify-btn:active {
	transform:scale(0.9,0.9);
}


.clock-img {
	height: 30px;
}


@media only screen and (max-width : 325px) { 

	h1 {
		font-size: 13px;
	}

	h1:before {
		width: 59px;
   		height: 59px;
   		top: 7px;
   		left: 27px;
	}


	.progress {
    margin-bottom: 6px!important;
	}

	

	.resources-select-wrapper {
   		margin-top: 3px!important;
	}

	.username-wraper {
	    position: relative;
	    margin-bottom: 9px;
	}

	.giveway-progress p {
		margin-bottom: 3px!important;
	}

	.progress {
		margin-bottom: 7px;
	}

	.arena-img {
	    max-height: 168px!important;
	    margin-top: 0px!important;
	}

	.icon-progress {
		top: 21px;
		left: -28px!important;
	}

	.giveway-btn {
		height: 70px!important;
    	width: 151px!important;
	}

	.battle>img {
    top: -15px!important;
    padding-right: 11px!important;
    padding-left: 11px!important;
    position: relative;
    z-index: 5;
}

}


@media only screen and (min-width : 320px) {
		.usernameicn-backg {
    background-color: rgba(39, 51, 62, 0.61);
    padding-right: 0px;
    overflow: auto;
    border-radius: 4px;
    padding: 0px 5px 5px 5px;
    box-shadow: 1px 2px 2px 0.2px rgba(0, 0, 0, 0.7);
    position: relative;
}

	.acc-icon img {
    height: 39px;
}

.giveway-progress p {
    margin-bottom: 3px;
}

.icon-progress {
    position: absolute;
    left: -21px;
    top: 21px;
    z-index: 20;
    height: 49px;
}

.padding-xs-prof{
	padding-right: 0px;
	padding-left: 0px;
 } 

	.padding-xs-sett{
	padding-right: 0px;
	padding-left: 0px;
 }

 	.resources-select-wrapper {
    margin-top: 16px;
 }

 .username-wraper {
 	margin-top: 0px;
    padding-right: 0px;
    padding-left: 0px;
    margin-bottom: 13px;
    position: relative;
}


.arena-img {
	max-height: 209px;
	margin-top: 11px;
}


.progress {
	margin-bottom: 13px;
}


.single-resource-wrapper {
    margin-bottom: 9px;
    padding-right: 10px;
    padding-left: 10px;
}


.giveway-btn {
    background-image: url(../img/giveway-btn.png);
    background-size: 100%;
    height: 89px;
    width: 188px;
    position: relative;
    background-repeat: no-repeat;
    margin-bottom: 83px;
}

.battle>img {
        top: -15px!important;
    padding-right: 30px;
    padding-left: 30px;
    position: relative;
    z-index: 5;
}

    }





 @media only screen and (min-width : 414px) {
 	.arena-img {
    max-height: 258px;
    margin-top: 15px;
}


	.username-wraper {
    margin-top: 0px;
    padding-right: 0px;
    padding-left: 0px;
    margin-bottom: 15px;
    position: relative;
}

 }  



 @media (min-width: 767px) {
 	.overlay {
 		max-width: 414px;
 		min-width: 414px;
    	min-height: 735px;
   		max-height: 735px;
   		border: 3px solid #334353;
   		border-radius: 5px;
   		box-shadow: inset 3px 9px 93px 34px rgba(0,0,0,0.28);
   		background-image: url(../img/bg.png);
    	background-size: cover;
    	background-repeat: no-repeat;
    	background-position: center center;

 	}

 	.menu-wrap {
 		position: absolute;
 	}

 	body {
 		background-image: url(../img/bg2.jpg);
 		box-shadow: none;
 	}

 	#popover2 {
    margin-top: -10px!important;
    position: absolute;
    bottom: 30px;
    left: 75px;
}

	.center-wrap-desktop{
	box-shadow: 2px -2.5px 40px 12px rgba(0, 0, 0, 0.7);
	margin-top: 50px;
	max-width: 414px;
    min-height: 735px;
    max-height: 735px;
}

 	
 } 


 @media (min-height: 780px) {
 	.center-wrap-desktop {
 		/*position: absolute;
 		top:50%;
 		left: 50%;
 		transform: translate(-50%,-50%);
 		box-shadow: 2px -2.5px 40px 12px rgba(0, 0, 0, 0.7);*/
    
 	}
 }