﻿@import url(https://fonts.googleapis.com/earlyaccess/droidarabickufi.css);
@import url(https://fonts.googleapis.com/earlyaccess/droidarabicnaskh.css);
@import url(http://fonts.googleapis.com/css?family=Roboto:400,100,100italic,300,300ita‌​lic,400italic,500,500italic,700,700italic,900italic,900);

html {
    font-size: 16px;
}

* {
    margin: 0px;
    padding: 0px;
}

body {
    /*font-family: "Lato", sans-serif;*/
    font-family:Roboto,'Droid Arabic Kufi';
    font-size:14px;
	font-weight:400;
	line-height:26px;
	color:#3a3737;
}

.image_container {
    justify-content: space-around;
    align-items: center;
}

.button {
    margin-left: 0 3%;
    width: 2rem;
    cursor: pointer;
}

.button--inactive {
    opacity: 0.2;
}
.button img {
    width: 60%;
}

.cards-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cards__container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 25rem;
}

.gallery_image {
    /* width: 250px; */
    height: 400px;
}

.box {
    /*     margin: -1.5rem; */
    /* width: 15rem; */
    height: 20rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin: 0px;
    /* transition: 1s all; */
}

.box:nth-child(2n) {
    transform: scale(0.85);
    z-index: -1;
}

.box:nth-child(2) {
    left: -2%;
}

.box:nth-child(4) {
    left: 2%;
}

.box:nth-child(4n + 1) {
    transform: scale(0.85);
    z-index: -2;
}

.box:nth-child(1) {
    left: 1%;
    opacity: 0.2;
}

.box:nth-child(5) {
    opacity: 0.2;
    left: -1%;
}

.card__text-content {
    text-align: center;
    width: 70%;
}

.card__title {
    padding: 1rem;
}

.box--hide {
    display: none;
}

/*.move-out-from-left {*/
/*    animation: moveOutLeft 0.5s ease-in-out;*/
/*}*/

/*.move-out-from-right {*/
/*    animation: moveOutRight 0.5s ease-in-out;*/
/*}*/

.move-to-position5-from-left {
    animation: moveToP5Left 0.5s ease-in-out;
}

.move-to-position4-from-left {
    animation: moveToP4Left 0.5s ease-in-out;
}

.move-to-position3-from-left {
    animation: moveToP3Left 0.5s ease-in-out;
}

.move-to-position2-from-left {
    animation: moveToP2Left 0.5s ease-in-out;
}

.move-to-position1-from-left {
    animation: moveToP1Left 0.5s ease-in-out;
}

.move-to-position5-from-right {
    animation: moveToP5Right 0.5s ease-in-out;
}

.move-to-position4-from-right {
    animation: moveToP4Right 0.5s ease-in-out;
}

.move-to-position3-from-right {
    animation: moveToP3Right 0.5s ease-in-out;
}

.move-to-position2-from-right {
    animation: moveToP2Right 0.5s ease-in-out;
}

.move-to-position1-from-right {
    animation: moveToP1Right 0.5s ease;
}

/*@keyframes moveOutLeft {*/
/*    0% {*/
/*        transform: scale(0.85) translateX(0%);*/
/*        opacity: 1;*/
/*    }*/
/*    50% {*/
/*        transform: scale(0.5) translateX(-150%);*/
/*        opacity: 0.5;*/
/*    }*/
/*    100% {*/
/*        transform: scale(0.15) translateX(0%);*/
/*        opacity: 0;*/
/*    }*/
/*}*/

/*@keyframes moveOutRight {*/
/*    0% {*/
/*        transform: scale(0.85) translateX(0%);*/
/*        opacity: 1;*/
/*    }*/
/*    50% {*/
/*        transform: scale(0.5) translateX(150%);*/
/*        opacity: 0.5;*/
/*    }*/
/*    100% {*/
/*        transform: scale(0.15) translateX(0%);*/
/*        opacity: 0;*/
/*    }*/
/*}*/

@keyframes moveToP5Left {
    from {
        transform: scale(0.85) translateX(100%);
    }
    to {
        transform: scale(0.85) translateX(0);
    }
}

@keyframes moveToP4Left {
    from {
        transform: scale(0.85) translateX(100%);
    }
    to {
        transform: scale(0.85) translateX(0);
    }
}

@keyframes moveToP3Left {
    from {
        transform: scale(0.85) translateX(100%);
    }
    to {
        transform: scale(1) translateX(0);
    }
}

@keyframes moveToP2Left {
    from {
        transform: scale(1) translateX(100%);
    }
    to {
        transform: scale(0.85) translateX(0);
    }
}

@keyframes moveToP1Left {
    from {
        transform: scale(0.85) translateX(100%);
    }
    to {
        transform: scale(0.85) translateX(0);
    }
}

@keyframes moveToP1Right {
    from {
        transform: scale(0.85) translateX(-100%);
    }
    to {
        transform: scale(0.85) translateX(0);
    }
}

@keyframes moveToP2Right {
    from {
        transform: scale(0.85) translateX(-100%);
    }
    to {
        transform: scale(0.85) translateX(0);
    }
}

@keyframes moveToP3Right {
    from {
        transform: scale(0.85) translateX(-100%);
    }
    to {
        transform: scale(1) translateX(0);
    }
}

@keyframes moveToP4Right {
    from {
        transform: scale(1) translateX(-100%);
    }
    to {
        transform: scale(0.85) translateX(0);
    }
}

@keyframes moveToP5Right {
    from {
        transform: scale(0.85) translateX(-100%);
    }
    to {
        transform: scale(0.85) translateX(0);
    }
}
#galley-left{
    position: absolute;
    left: 0;
    top: 50%;
    z-index: 99;
    background: white;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    border-radius: 7px;
    transform: translateY(-50%);
}
#galley-right{
    position: absolute;
    right: 0;
    top: 50%;
    z-index: 99;
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 7px;
    transform: translateY(-50%);
}

#galley-left .fa,
#galley-right .fa{
    font-size: 24px;
    color: crimson;
}






#gallery-ul li{
    width: 30%;
}