@import url('https://fonts.googleapis.com/css?family=Rubik');
* {
	font-family: 'Rubik', sans-serif;
}
html, body {
	direction: rtl;
	background-color: #fcf8ed;
}
header#home {
	position: relative;
	overflow: hidden;
	height: 550px;
}
header#home img:not(.button) {
	width: 100%;
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto;
}
.w3-bar a , .w3-bar .w3-dropdown-hover, .w3-bar .w3-dropdown-click{
	float: right !important;
}
div.w3-right.w3-hide-small a {
	float: right;
	font-size: 21px;
	margin-top: 4px;
}
.w3-white, .w3-hover-white:hover {
	color: #000!important;
	background-color: #fbffd1 !important;
}
.w3-333 {
	background-color: #5e384a !important;
	color: white;
}
img {
	margin-bottom: 0;
}
div#about p {
	font-size: 17px;
}
h3.w3-border-bottom.w3-border-light-grey.w3-padding-16 {
	font-weight: 600;
}
.w3-border-bottom {
    border-bottom: 2px solid #5e384a!important;
}
.w3-right a, .w3-right button {
	font-size: 17px;
	margin-top: 5px;
}
.w3-dropdown-content.w3-bar-block.w3-card-4 a {
	text-align: right;
}
.w3-dropdown-content.w3-bar-block.w3-card-4 {
	max-width: 150px;
}
.w3-bar .w3-button {
    background-color: #fbf8ed !important;
    color: #3a0000;
    margin-left: 8px;
    box-shadow: 3px 3px 6px 0px #b1acac4a;
    border-radius: 3px;
}
.w3-bar .w3-button:hover {
    background-color: white !important;
}
.active {
	cursor: pointer;
}
.button {
	position: absolute;
	cursor: pointer;
	width: 60px;
	display: none;
	opacity: 0.9;
}

#play, #stop {
	width: 100px;
	bottom: 7px;
	left: 0;
	right: 0;
	margin: auto;
}
#left {
	left: 0;
	top: 0;
	bottom: 0;
	margin: auto;
}
#right {
	right: 0;
	top: 0;
	bottom: 0;
	margin: auto;
}

#tmunotGaleery img {
	position: absolute;
	display: none;
}
#black
{
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    position: fixed;
    top: 0;
    right: 0;
    z-index: 9999999999999999999999999;
    display: none;
	overflow-y: auto;
}
#X
{
    background-color: white;
    color: black;
    width: 60px;
    height: 60px;
    border-radius: 60px;
    font-size: 40px;
    text-align: center;
    padding: 0;
	position: absolute;
	top: 20px;
	right: 20px;
    cursor: pointer;
    transition-duration: 0.4s;
}
#X:hover
{
    transform: rotate(360deg);
    transition-duration: 0.6s;
    background-color: #480909;
	color: white;
}
#black h4
{
    margin: 50px 0 30px 0;
    color: white;
    text-align: center;
    font-size: 50px;
}
#black #text
{
    color: white;
	margin: 15px 0;
}
#black #text p
{
    font-size: 25px;
    font-weight: bold;
    text-align: center;
}
.buttonActive {
	position: absolute;
	cursor: pointer;
	width: 60px;
	opacity: 0.9;
}
#leftActive {
	left: 0;
	top: 0;
	bottom: 0;
	margin: auto;
}
#rightActive {
	right: 0;
	top: 0;
	bottom: 0;
	margin: auto;
}
#messages {
	padding: 8px 5px 46px 0!important;
    color: #fff!important;
	background-color: #5e384a!important;
    min-height: 107px;
	position: relative;
	display: none;
}
.message {
    padding: 20px 7px 7px 7px;
    border-radius: 3px;
    min-height: 80px;
	position: relative;
	transform: rotate(3deg);
}
.message img {
	position: absolute;
    top: -13px;
    right: 0;
    display: block;
}
.message .date {
	position: absolute;
    left: 6px;
    top: 1px;
    font-size: 11px;
}
.notValid {
	border: 2px red solid;
}
.mobile {
    display: none;
}
@media (max-width: 991px){
	header#home {
		height: 290px;
	}
	#play, #stop {
		width: 70px;
	}
	#navbar {
		height: 70px;
	}
	#navbar .w3-right {
		position: fixed;
		bottom: 0;
		width: 80%;
		background-color: #5e384a;
		height: 100%;
		right: 0;
		overflow-y: auto;
        z-index: 99;
	}
	#navbar .w3-right a {
        width: 85% !important;
		text-align: right;
		margin: 10px;
		background: none;
		font-size: 22px;
	}
	#navbar .w3-right button {
		width: 85% !important;
		text-align: right;
		margin: 10px;
		background: none;
		font-size: 22px;
	}
	#navbar .w3-right #bars {
		margin: 15px 25px;
    	font-size: 36px;
	}
	#bars, #remove {
		display: block !important;
		font-size: 32px;
		margin: 12px 6px;
	}
	#remove {
		font-size: 37px;
		margin: 20px;
	}
	.w3-dropdown-hover {
		width: 100%;
	}
	.w3-dropdown-hover a {
		min-width: 240px;
    	max-width: 100%;
	}
	#barPhone {
		display: none;
	}
	#a {
		position: static;
		color: white;
		width: 100%;
	}
	.message {
		transform: rotate(0deg);
	}
	#black h4 {
		margin: 100px 10px 20px 10px;
		font-size: 30px;
	}
	#pic div {
		height: 260px !important;
	}
	.mobile {
        display: block;
    }
    .desktop {
        display: none;
    }
}