body {
	text-align: center;
	direction: rtl;
}
textarea {
	width: 70% !important;
	max-width: 700px !important;
	height: 300px;
	padding: 10px;
	border-radius: 5px;
	border: 2px solid gray;
	position: relative;
	z-index: 1;
}
header#header {
    color: #fff !important;
    background-color: #009688 !important;
    padding: 0;
    position: fixed;
    left: 0;
    right: 300px;
    z-index: 2;
    text-align: right;
    top: 0;
    background-image: url(../all/table.png);
    background-size: 200px;
    border-bottom: 5px solid #4e4e4e;
}
header#header h1 {
    margin: 8px 0;
    font-size: 48px;
    text-shadow: 1px 1px 0 #000,
                -1px 1px 0 #000,
                1px -1px 0 #000,
                -1px -1px 0 #000,
                0px 1px 0 #000,
                0px -1px 0 #000,
                -1px 0px 0 #000,
                1px 0px 0 #000,
                2px 2px 0 #000,
                -2px 2px 0 #000,
                2px -2px 0 #000,
                -2px -2px 0 #000,
                0px 2px 0 #000,
                0px -2px 0 #000,
                -2px 0px 0 #000,
                2px 0px 0 #000,
                1px 2px 0 #000,
                -1px 2px 0 #000,
                1px -2px 0 #000,
                -1px -2px 0 #000,
                2px 1px 0 #000,
                -2px 1px 0 #000,
                2px -1px 0 #000,
                -2px -1px 0 #000;
}
#bars {
    position: absolute;
    right: 0;
    top: 0;
    background-color: rgba(255,255,255,0);
    text-shadow: 1px 1px 0 #000,
                -1px 1px 0 #000,
                1px -1px 0 #000,
                -1px -1px 0 #000,
                0px 1px 0 #000,
                0px -1px 0 #000,
                -1px 0px 0 #000,
                1px 0px 0 #000,
                2px 2px 0 #000,
                -2px 2px 0 #000,
                2px -2px 0 #000,
                -2px -2px 0 #000,
                0px 2px 0 #000,
                0px -2px 0 #000,
                -2px 0px 0 #000,
                2px 0px 0 #000,
                1px 2px 0 #000,
                -1px 2px 0 #000,
                1px -2px 0 #000,
                -1px -2px 0 #000,
                2px 1px 0 #000,
                -2px 1px 0 #000,
                2px -1px 0 #000,
                -2px -1px 0 #000;
}
#panel {
	width: 70% !important;
	max-width: 700px !important;
	margin: -25px auto 0 auto;
    padding: 15px 0 5px 0;
	position: relative;
	height: 92px;
}
#counter {
    background-color: #808080;
    color: white;
    font-size: 12px;
    padding: 8px 2px 2px 2px;
    margin-bottom: 5px;
}
textarea:focus {
	border-radius: 0;
	border: 3px solid #4d90fe;
}
.changeCopy {
	background-color: #f1f7ff;
	transition: 0.3s;
}
.changeOter {
	background-color: #fffff1;
	border: 3px solid #646400;
	transition: 0.3s;
}
#alert
{
	background-color: #04d90c;
	color: black;
	text-align: center;
	font-size: 20px;
	font-family: Verdana,sans-serif;
	padding: 5px;
	width: 220px;
	position: fixed;
	left: 0;
	right: 300px;
	top: 20px;
	margin: 0 auto;
	z-index: 99999999999;
	box-sizing: padding-box;
	border-radius: 15px;
	box-shadow: 0 0 10px 5px white;
	display: none;
	cursor: pointer;
}
.card {
	width: 250px;
	float: right;
	margin: 10px;
}
.card .w3-container {
	padding: 7px;
}
.card .card-body {
	height: 100px;
}
.card h3 {
	margin: 0;
}
.card .w3-btn {
	margin: 3px;
}
.allCard {
	margin-top: 10px;
	display:                 flex;
	display:                 -webkit-flex; /* Safari 8 */
	flex-wrap:               wrap;
	-webkit-flex-wrap:       wrap;         /* Safari 8 */
	justify-content:         center;
	-webkit-justify-content: center;       /* Safari 8 */
}
.w3-bar.w3-dark-grey > div, a {
	float: right !important;
	border-right: 1px solid #7d7d7d;
}
.w3-bar .w3-bar-item {
	border-right: 1px solid #7d7d7d;
}
.w3-bar.w3-dark-grey div div  a {
	text-align: right;
}

#item * {
	text-align: right;
}
.selected {
	background-color: #ace1e1;
}

@media (max-width: 992px) {
	textarea, #panel {
		width: 100% !important;
	}
    textarea {
        height: 200px;
    }
	#logo {
		position: absolute !important;
		top: 5px !important;
		left: 20px !important;
		width: 43% !important;
	}
	#close {
		position: absolute;
		top: 7px;
        right: 10px;
        font-size: 44px;
        color: white;
	}
    #menuHeader {
        background-color: #606060;
        height: 60px;
    }
	header {
		right: 0 !important;
	}
	#alert {
		right: 0;
	}
    #snackbar {
        right: 0 !important;
    }
}

@media (max-width: 640px) {
	#panel {
		height: 136px;
	}
    header h1 {
        font-size: 36px !important;
    }
	.btnOther {
		position: absolute !important;
		bottom: 6px;
	}
	#btnRight {
		right: 0;
		margin-right: 6px;
	}
	#btnLeft {
		left: 0;
		margin-left: 6px;
	}
}

#snackbar {
    visibility: hidden;
    min-width: 250px;
    margin: 0 auto;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 30px;
    font-size: 17px;
    right: 300px;
    width: 100px;
}

#snackbar.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

.danger {
    background-color: #730600 !important;
}

.success {
    background-color: #167300 !important;
}

@-webkit-keyframes fadein {
    from {top: 0; opacity: 0;} 
    to {top: 30px; opacity: 1;}
}

@keyframes fadein {
    from {top: 0; opacity: 0;}
    to {top: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
    from {top: 30px; opacity: 1;} 
    to {top: 0; opacity: 0;}
}

@keyframes fadeout {
    from {top: 30px; opacity: 1;}
    to {top: 0; opacity: 0;}
}