
.rtl .m-page-title {
    font: 15pt/26pt StoneSerifStd-Medium;
    padding: 7px 25px 7px 5px;
    border-bottom:1px solid #fff;
}
.rtl .m-page-line-wrapper {
    padding-bottom:5px;    
}
.rtl #mobile-menu-btn {
    position:absolute;
    width:52px;
    height:52px; 
    top:10px;
    right:20px;
    left:auto;   
    background:url('../images/list.png') no-repeat;
    background-size:100%;
}


@media screen and (max-width: 980px) {
    /*same as the desktop version  */     
}

@media screen and (max-width: 650px) {
    .rtl .mobile-b {
        display:block;
    }
    .rtl .mobile-ib {
        display:inline-block;
    }
    .rtl .mobile-i {
        display:inline;
    }
    .rtl #primary {
        margin:0!important;
    }

    body.rtl {
        width:100%;
        min-width:320px;
    }
    body.rtl #page {
        width:100%;
        min-width:100%;
        background:#fff;
    }
    body.rtl header#masthead.site-header {
        width:100%;
        padding:0px;
        height:auto;
    }
    body.rtl #logo {
        margin:auto;
        position:relative;
        top:0;
        left:0;
        width: 270px;
        height: 75px;
        right: 0px;
        background: url('../images/taub_logo_heb.jpg') no-repeat;
        background-size: 100%;
        color: transparent;
    }  
    body.rtl #logo a{
        margin:auto;
        position:relative;
        top:0;
        left:0;
        width: 270px;
        height: 70px;
    }  
    body.rtl .top-line-container {
        display:none;
    }
    body.rtl .lang-share {
        display:none!important;
    }
    body.rtl #main-menu {
        display:none;    
    }
    body.rtl #main-menu, body.rtl #menu-main-hebrew {
        width:100%; 
    }
    body.rtl #menu-main-hebrew>li>a, body.rtl #menu-main-hebrew>li:hover>a {
        font: 16pt/24pt atlas-aaa-regular;
        text-transform: uppercase;
        color:#fff;
        background:rgb(0,12,64);
        padding:0;
    }
    body.rtl #menu-main-hebrew>li {
        float:left;
        width:50%;
        padding:0;
        display:inline-block;
    }
    body.rtl #page #menu-item-925 {
        display:inline-block;
    }
    body.rtl #page #menu-item-195 {
        display:none;
    }
    body.rtl #page #menu-item-947 {
        display:inline-block;  
    }
    body.rtl #page #menu-item-731 {
        display:none;    
    } 
    body.rtl .menu-main-hebrew-container:hover+.menu-layer {
        display:none;
    }
    body.rtl #menu-main-hebrew>li:hover {
        background:none;
    }
    body.rtl #menu-main-hebrew>li ul, body.rtl #menu-main-hebrew>li:hover ul {
        display: none;
    }
    body.rtl #menu-main-hebrew .menu-item-language {
        display:inline-block;
    }
    body.rtl #menu-main-hebrew .menu-item-language.menu-item-language-current a[onclick] {
        display:none;
    }
    
    .rtl #primary .left {
        display:block;
        float:none;
        clear:both;
        padding:0;
        width:auto;
        
    }
    .rtl #primary .left.no-mobile {
        display:none;
    }
    body.rtl .left .sidemenu {
        display:block;
        text-align: center;  
        padding:0;  
    }
    body.rtl .left .sidemenu ul {
        display:block;
        width:100%;
    }
    body.rtl .left .sidemenu ul li {
        display:inline-block;  
        margin-left:5px;
        margin-left:0;
        margin-right: 5px;  
    }
    body.rtl .left .sidemenu ul li a:after {
        content:"|";
        margin-left:5px;
        font:13pt/25pt StoneSerifStd-MediumItalic;
    }
    body.rtl .left .sidemenu ul li:last-child a:after {
        content:"";
    }
    body.rtl .left .sidemenu ul li a[class*='research'] {
        background:none;    
    }
    body.rtl #main-content.wrapper {
        width:100%;
        /*display:none;*/
    }
    .rtl #primary #content {
        width:100%;
        margin:0;
        float:none;
        clear:both;
    }
    .rtl #primary #content .gallery{
        width:100%;
        margin:0;
        /*display:none;*/
    }
    .rtl .iosSlider .slider .item img  {
        width:100%;
        height:auto;
    }
    body.rtl #primary .gallery #left-text blockquote, body.rtl #primary .gallery #left-text blockquote p {
        font-size:14pt!important;
        line-height:21pt!important;    
    }
    .rtl .gallery .left-block-locked {
        width:150px;
    }
    .rtl #bottom-text {
        font-size: 12pt;
        line-height: 18pt;
    }
    .rtl #primary #content img{
        width:100%;
        
    }
    body.rtl #primary #content .gallery img {
        position: relative;
        left: 20%;
       
    }
    .rtl #primary .graph-img {
        position:relative;
        top:0px;
        left:0px;
    }
    .rtl #primary .block {
        margin:0;
        width:100%;
        height:auto;
    }
    .rtl #primary .block-text {
        padding: 0;
        
    }
    .rtl #primary .block-text h4{
        width:40%!important;
        float:right;
        margin-right: 5%;
        margin-left: 5%;
        padding:20px 0;
    } 
    .rtl #primary .block-text img {
        float: right;
        width: 50%!important;
        top: 0;
        left: 0px;
        height: auto;
    }
    .rtl #primary .block-text iframe {
        width:100%;
        min-height:300px;
        height:auto;
    }
    .rtl #primary .block-text p {
        width: 40%;
        float: right;
        padding: 20px 5%;
        /*margin-bottom: 50px;*/
    }
    .rtl #primary .block-text.video p {
        width:100%;
        display:none;
        margin:0;
        
        
    }
    .rtl #primary .block-text.video p:first-child {
        width:100%;
        display: block;
        
    }
    .rtl #primary .block .read-more, .rtl #primary .block .to-all {
        right: 50%;
        padding: 0 5%;
        margin-bottom: 10px;
        left: auto;
        text-align:right;
    }
    body.rtl .footer-top-bg {
        background: #fff;
        display:block;
        margin:0 10px;
        border-bottom:3px solid #000;
        height:0px;
    }
    body.rtl .footer-text {
        border:none;
    }
    .rtl footer#colophon {
        width:100%;
    }
    body.rtl .l {
        margin:0;
    }
    body.rtl .inner-vision {
        display:none;
    }
    body.rtl .advanced-search {
        /*display:none;*/
    }
    body.rtl .search-results-actions {
        display:none;
    }
    body.rtl #advanced-search-go {
        position:relative;
        top:70px;
        margin-left: 10px;
    }
    .rtl #primary .search-results {
        width:100%;
        margin:0;
        height:auto;
    }
    .rtl #primary .search-results-container {
        padding:0;
        height:auto;
    }
    .rtl #primary .search-results .result-item {
        margin:0 25px;
        height:auto;
        border-bottom:1px solid #888;
        padding-bottom:55px;
    }
    .rtl #primary .search-results-container:last-child .search-results .result-item {
        border:none;
    }
    .rtl #primary .search-results .read-more {
        bottom:20px;
    }
    .rtl #primary .event-intro {
        margin-top:0;
    }
    body.rtl #primary .event-full-text .interested-articles, #primary .interested-block  {
        display:none;   
    }
    body.rtl #primary  #content div.panel-block, body #primary #content h4.right-panel-header {
        padding-left:25px;    
    }
    .rtl #content .advanced-search .search-dropdown {
        max-height:150px;
    }
    .rtl #primary .left .sidemenu a:hover {
        background:none;
    }
    .rtl #primary .advanced-search {
        position:relative;
    }
    .rtl #primary #content .advanced-search input[type='submit'] {
        position:absolute;
        top: 123px;
        right: 365px;
        left:auto;            
    }
    body.rtl #primary #content .event-intro {
        margin-top:0;    
    }
    body.rtl #primary .event-full-text {
        width:auto;
        margin:0;
    }
    body.rtl #primary .event-full-text div {
        padding: 10px 40px 20px 40px;    
    }
    body.rtl #primary .research-right-panel {
        margin-left: 0px;  
        margin-right: 20px;
        float: right;  
    }
    body.rtl #primary #content .event {
        margin:0;  
        width:auto;  
        float:none;
        clear:both;
    }
    .load-more {
        padding:0;
    }
    .event-left-describe {
        width:auto;
    }
    .event-register input[type='text'] {
        width:auto;
    }
    .rtl .event-images {
        padding: 15px 40px 10px 40px;
    }
    .rtl #primary.contact #content {
        width:auto;
    }
    .rtl #primary.contact #content p {
        padding-left: 0px; 
        padding-right:50px;   
    } 
    .rtl #primary.contact #content form {
        padding: 0 40px;
        width:auto;
        display:block;
        height: 300px;
    }
    .rtl #primary.contact #content form p {
        padding:0;
    }
    .rtl #primary.contact #content {
        margin:0;
        padding:0;
        position:relative;
        top:-30px;
    }
    .rtl #primary.contact #content h3 {
        margin-left: 0;  
        width:auto; 
        padding-right:25px;
        /*margin-top:0;*/
    }
    .rtl .cgmp-centering-container-handle {
        width:100%!important;
        margin:auto;
        display:block;
        /*min-width:400px;*/
    }
    .rtl #primary.contact .google-map-placeholder {
        width:100%!important;
    }
    .rtl #primary span.wpcf7-form-control-wrap {
        width:100%;
        display:inline-block;
    }
    .rtl #primary.contact #content form input[type='submit'] {
        float:none;
        clear:both;
    }
    .rtl #primary.contact div.wpcf7 img.ajax-loader {
        display:none;
    }
    .rtl #primary #content .members-list {
        margin:0;
        padding-bottom:20px;
        padding-left:25px;
        width:auto;
        border:none;
        /*background:#eee;*/
    }
    .empty {
        height:0;
        margin:0;
        padding:0;
    }
    .rtl #primary #content h2.board {
        background:#ddd;
        color:#111!important;
        border-bottom:2px solid #111;
    }
    .rtl #primary .press-post-container {
        margin:0;
        width:auto;
    }
    .rtl #primary.contact h2, #primary.databyte h2, #primary.press-room h2 {
        margin:0;
        display:none;
    }
    .rtl #primary div.press-post-block.search-results:first-child {
        margin:0;
        border-top:none;
    }
    .rtl #primary .media-img {
        display:none;
    }
    .rtl #primary div.media-post-block.search-results .result-item {
        width:auto;
    }
    .rtl #primary div.media-post-block.search-results {
        width:auto;
        height:auto;
    }
    .rtl #primary .media-post-container .search-results .result-item {
        border:none;    
    }
    .rtl #content article .main-describe-container {
        float:none;
        clear:both;
    }
    .rtl #content article .entry-content-main {
        width:auto;
    }
    .rtl #content article .main-info-container {
        float:none;
        clear:both;
        width:auto;
        margin:0;
    }
    .rtl #content article .photo-container {
        margin-bottom:0;
    }
    .rtl #content article .additional-info {
        width:auto;
    }
    .rtl #primary #content .main-info-container img {
        width: 70%;
        margin: auto;
        right: 15%;
        position: relative;
    }
    
    body.rtl #primary #content .press-post-container .advanced-search input[type='submit'] {
        top:86px;
        right: 360px;
        left: auto;
    }
    .rtl #primary.press-room h2.search-header {
        display:block;
    }
    .rtl #primary div.press-post-block.search-results .read-more {
        position:relative;
        top:5px;
    }
    .rtl .m-menu-search-btn {
        background:url('../images/search-wh.png') no-repeat;
        width:16px;
        height:16px;
        background-size:100%;    
    }
    .rtl #m-menu-close-btn {
        background:url('../images/cross-wh.png') no-repeat;
        width:16px;
        height:16px;
        background-size:100%;    
    }
    .rtl #m-menu-line {
        background:#454364;
        display:block;
    }
    .rtl #m-menu-line>div {
        width:80%;
        
        /*float:left;*/
    }
    .rtl .m-search-field {
        background:transparent;
        color:#fff;
        border:none;
        outline:none;
    }
    .rtl #primary .left .series {
        padding:0px;
    }
    .rtl .comments-block {
        width:auto;
    }
    .rtl #primary #content .comment-text, #primary #content .comment-text p {
        width:auto;
    }
    .rtl #primary .comments-block h3 {
        padding:0 25px;
    }
    body.rtl .block .overlay-invol input[type='submit'] {
        position: relative;
        top: -35px;
        right: 150px;
        left:auto;
    }
    
    .rtl .gallery {
        height: auto !important;
    }
    
    .rtl .gallery .slick-dots {
        display: none !important;
    }
    
    .rtl .gallery .left-block-locked {
        position: static;
        height: auto;
        width: 100%;
        padding-bottom: 80px;
    }
    
    .rtl .gallery #left-text {
        position: static;
    }
    
    .rtl .iosSlider {
        height: 320px;
    }
    
    .rtl .gallery .item {
        height: 360px !important;
    }
    
    .rtl .bottom-block-locked {
        background-position: right top;
    }
    
    
    .rtl #get-involved {
        width: 100%;
        height: 450px;
        max-height: 450px;
        position: fixed;
        top: 0;
        z-index: 99;
        right: 0;
        left: auto;
        background: url('../images/involved.png') no-repeat;
        background-position: right top;
        -webkit-box-shadow: 0px 3px 10px 2px rgba(0,0,0,0.5);
        -moz-box-shadow: 0px 3px 10px 2px rgba(0,0,0,0.5);
        box-shadow: 0px 3px 10px 2px rgba(0,0,0,0.5);
    }
    
    .rtl #get-involved input {
        max-width: 90%;
    }
    
    .rtl #close_involved {
        display: block;
        position: absolute;
        top: 5px;
        right: 35px;
        left:auto;
        color: #fff;
        font-weight: bold;
    }
    
    
    .rtl #celllinks {
        width: 100%;
        height: 100px;
        margin-bottom: 5px;
        margin-top: 5px;
        color: #fff;
    }
    
    .rtl #celllinks:after {
        clear: both;
        content: " ";
        display: block;
        height: 0;
    }
    
    .rtl #cellcubes {
        list-style-type: none;
    }
    
    .rtl #cellcubes:after {
        clear: both;
        content: " ";
        display: block;
        height: 0;
    }
    .rtl #cellcubes li {
        float: right;
        width: 30%;
        margin-left: 1%;
        margin-right: auto;
        padding: 0 1%;
        text-align: center;
        background: rgb(32,75,127);
        height: 100px;
        font-size: 16px;
        line-height: 20px;
        display: flex;
        align-items: flex-end;
    }
    .rtl #cellcubes li:last-of-type {
        float: right;
        width: 32%;
        margin-left: 0;
    }
    
    .rtl #cellcubes li em {
        font-size: 12px;
    }
    
    .rtl #cellcubes li a {
        color: #fff;
        flex-grow: 1;
    }
   

}

@media screen and (max-width: 485px) {/*480*/
    
    /*disable webkit text size adjust (for iPhone) */
	html {
		-webkit-text-size-adjust: none;
	}
    body {
        font: .81em/150%  Arial, Helvetica,sans-serif ;
    }
    
}

@media screen and (max-width: 380px) {
	body.rtl #logo {
		float: left;
	}
	
	.rtl #mobile-menu-btn {
		width: 45px;
		height: 45px;
	}
}