/* ************************************************
 @project                   : http://alwataniah-school.com
 @company                   : http://eprisenet.com/
 @year                      : 2017
 @developer                 : Hiba Almanakly
 @email                     : eng.hibaalmanakly@gmail.com
 @createdDate               : Feb, 2017
 @updatedBy                 : Hiba Almanakly	
 @updatedDate               : July, 2017
 ************************************************ */




.headermobile{
    position: fixed;
    z-index: 300;
    width: 100%;
    direction: ltr;
    display: none;
}
.menumobile{
    display: none;
    cursor: pointer;
}
.menulayermobile{
    direction: rtl;
    position: fixed;
    width: 100%;
    height: 100vh;
    z-index: 250;
    background: rgba(0, 0, 0, 0.9);
    text-align: center;
    height: 0;
    display: none;
}
.menumaintitlemobile{ 
    text-transform: uppercase;
    cursor: pointer;
    font-family: GESSUniqueBold, AdventProBold;
    font-size: 14px; 
    padding:0;
    margin-bottom: 4%;
    display: none;
}
@media only screen and (device-width: 768px)
,only screen and (max-width: 1024px)
,only screen and (max-device-width: 1024px) and (orientation:portrait)
,only screen and (max-device-width: 1024px) and (orientation:landscape) 
{
    .header, 
    .menu, 
    .menulayer{
        display: none;
    }

    .headermobile{
        display: block;
    }
    .menumobile{
        display: inline-block;
    }
    .menulayermobile{
        display: none;
    }
    .menuulmobile{
        position: absolute;
        width: 50%;
        background: black;
        z-index: 150;
        opacity: 0;
        display: none;
        height: 30vh;
        overflow: overlay;
        margin: 0 25%;
        box-shadow: 6px 6px 10px #222222;
    }


    .menuulmobile::-webkit-scrollbar {
        width: 0.50em;
    }
    .menuulmobile::-webkit-scrollbar-thumb {
        background-color: #ffffff;
        outline: #000000;
        -webkit-box-shadow: inset 0px 0px 6px rgb(0, 0, 0);
    }
    .menuulmobile::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 7px rgb(41, 41, 41);
    }










    .headernav .span{
        width: 80%;
    }
    .html.front #section1{        
        height: 70vw;
    }
    .loadingtext{
        font-size: 18px;
        position: absolute;
        bottom: 35%;
        padding: 0;
        color: rgba(255, 255, 255, 0.75);
    }
    .loadingtext2{
        padding: 0;
        position: absolute;
        bottom: 5%;
    }
    .abouttext .content{
        text-align: justify;

    }
    .whiteload .footercontent:nth-child(1){
        font-size: 18px;
        padding-bottom: 1%;
    }
    .contentsection{

    }
    .rightbar{
        width: 50%;
    }
    .logintitle{
        vertical-align: middle;
        border-color: rgba(255, 255, 255, 0.50);
    }
    .logo{
        width: 16%;
        padding: 1% 0;
        vertical-align: middle;
    } 
    .loginlink, .i18n-en .loginlink{
        position: relative;
        float: right; 
        right:3%;
    }
    .menu  {
        left: 66%;
        vertical-align: middle;
    } 
    .i18n-en .menu {
        left: 69%;
        vertical-align: middle;
    }
    .menucontainer{
        top:10%;
    }
    .menumaintitle{
        display: none;
    }
    .menumaintitlemobile{
        display: block;
    }
    .menuul{
        display: none;
    }
    .menugroup{
        width:100%;
        padding: 0;
        top:20%;
        direction: ltr;
    }
    .menuli{
        width: 50% !important;
        margin: 2% 0;
        padding: 2% 0;
        display: inline-block;
    }

    .slidernav {
        width: 2vw;
        height: 2vw;
        margin: 0 1vw;
    }
    .slidertitlecontainer{
        top:50%;
        padding:0 7%;
    }
    .section2first {
        height: 140vw;
    }
    .part, .i18n-en .part {
        width: 50%;
        height: 25%;
    }
    .particon {
        padding-top: 16%;
        height: 6vw;
    } 
    .abouttext, .i18n-en .abouttext{
        width: 90%;
        height: auto;
        margin: 3% 5% 0% 5%;
    }
    .aboutimage ,.i18n-en .aboutimage {
        width: 90%;
        height: 35vw;
        margin: 2% 5% 2% 5%;
    }

    .newsimage1  {
        width: 90%;
        height: 38vw;
        margin: 2% 5%;
    }
    .i18n-en .newsimage1 {
        width: 90%;
        height: 38vw;
        margin: 2% 5%;
    }
    .newstext1  {
        width: 80%;
        height: auto;
        margin: 2% 10%;
    }
    .i18n-en .newstext1 {
        width: 80%;
        height: auto;
        margin: 2% 10%;
    }
    .newstext2 {
        width: 80%;
        height: auto;
        margin: 2% 10%;
    }
    .i18n-en .newstext2 {
        width: 80%;
        height: auto;
        margin: 2% 10%;
    }
    .newsimage2  {
        width: 90%;
        height: 38vw;
        margin: 4% 5%;
        background-position: 50% 10%;
    }
    .i18n-en .newsimage2 {
        width: 90%;
        height: 38vw;
        margin: 4% 5%;
        background-position: 50% 10%;
    }
    #section6 {
        padding: 0 5%;
        width: 90%;
    }
    #section8 {
        width: 90%;
        padding: 2% 5%;
    }
    .footercontent .contactsocial{
        display: none;
    }

    /* innrer pages */
    .region-filternodes {
        width: 100%;
    }
    .termcontent,.i18n-en .termcontent  {
        margin: 4% 2% !important;
        width: 96%;
    }
    .termsidebar{
        width: 100%;
        padding: 0% 0 0 0 ;
        height: auto !important;
    }
    .termlistimage, .i18n-en .termlistimage {
        height: 28vw;
        width: 29vw !important;
        margin: 0;
    }
    .termlisttitle, .i18n-en .termlisttitle,
    .termlistsummary, .i18n-en .termlistsummary,
    .termlistsubtitle, .i18n-en .termlistsubtitle  {
        width: 54vw;
        margin: 1% 5%;
    } 

    .node-type-innerpage .termcontent {
        width: 84%;
        padding: 1% 4%;
        margin: 4% !important;
    }
    .multiimagebigimage,
    .i18n-en .multiimagebigimage{
        width: 90%;
        height: 34vw;
        margin: 4% 5%;
    }
    .multiimagecontainer{
        height: 13vh;
        width: 96%;
    }
    .oneimage {
        height: 11vh;
        width: 29%;
    }
    .menuzoom{
        height:50%;
    }
    .closemenuzoom{
        width: 7%;        
        padding-bottom: 1%;
    }
    .sidebartitle{
        padding: 1% 20%;
    }
    .termdata {
        width: 64%;
        padding: 3% 3%;
    }
    .termdescription{
        line-height: 1.5;
    }

    .socialicon {
        height: 4vw; 
    }
    .arrowright, .arrowleft{
        width: 4%;
        top: 50%;
    }
    .headercontactsocial{
        top:33%;
    }
    .last4albumscontainer {
        /* width: 90%; 
         margin: 0 5%;*/

    }
    .lasralbumscontent{
        width:180vw;
    }
    .ablumcontent{
        width:20.6vw;
    }
    .arrowrightalbum {
        right: 1%;
        top: 45%;
        width: 3%;
    }

    .arrowleftalbum {
        left: 1%;
        top: 45%;
        width: 3%;
    }
    .albumtitlemore{
        padding: 25% 0px;
        height: 50% !important;
    }
    .newscontent:before {
        margin: 6px 6px;
    }
    .slidertitle:after {
        right: -10%;
    }

    .copyright .powered{
        display: block;
        float: none;
        right: 0%;
        position: relative;
    }

    .footercontent .content ul li,
    .footercontent .content p{
        line-height: 21px;
    }
    .contactcontainer{
        width: 90%;
        padding: 0 5% 5% 5%;
    }
    .contactxx {
        width: 46%;
    }
    .contactinput { 
        font-size: 21px;
    }
    .contactextarea{
        padding: 2% 0;
        font-size: 21px;
        width: 96%;
        margin: 2%;

    }
    .views-view-grid.cols-3 td h2{
        margin: 0 5% 2% 5%;
    }
    .views-view-grid.cols-3 td{
        vertical-align: bottom;
    }

    body .view-schoolnews, 
    body .view-downloadfiles,
    body .view-schoolcalendar,
    body.i18n-en .view-schoolcalendar{
        margin: 3% 0;
        padding: 2% 0;
        width: 100%;
    }
    body .view-schoolcalendar{
        height: initial !important;
        border-radius: 8px !important;
    }
    body.page-calendar .region.region-content #block-system-main .content{
        margin: 3% 0;
        width: 80%;
        padding: 3% 10%;
    }

    body.node-type-event .termcontent,
    body.node-type-news .termcontent,
    body.page-calendar .termcontent,
    body.i18n-en.node-type-event .termcontent,
    body.i18n-en.node-type-news .termcontent,
    body.i18n-en.page-calendar .termcontent{
        float: right;
        width: 100%;
        margin: 3% 0% !important;
    }
    body.node-type-event .multiimagebigimage,
    body.node-type-news .multiimagebigimage,
    body.page-calendar .multiimagebigimage,
    body.i18n-en.node-type-event .multiimagebigimage,
    body.i18n-en.node-type-news .multiimagebigimage,
    body.i18n-en.page-calendar .multiimagebigimage{
        width: 70%;
        height: 30vh;
        margin: 0% 15%;
        display: inline-block;
    }
    body.node-type-event .termdata,
    body.node-type-news .termdata,
    body.page-calendar .termdata,
    body.i18n-en.node-type-event .termdata,
    body.i18n-en.node-type-news .termdata,
    body.i18n-en.page-calendar .termdata{
        width: 90%;
        padding: 3% 5%;
    }
    body .righteventcontainer,
    body.i18n-en .righteventcontainer{
        width: 70%;
        padding: 3% 0;
        margin: 6% 15% 5% 15%;
        height: initial !important;
        float: left;
        border-radius: 8px;
    }

    .albumicon{
        height: 20%;
        padding: 25% 4%;
    }
}