/*
Theme Name: MDS Alliance

Theme URI: http://markations.com

Author: markations.com

Author URI: http://markations.com/
Description: MDS Alliance is a fully responsive theme that looks great on any device. Features include a front page template with its own widgets, an optional display font, styling for post formats on both index and single views, and an optional no-sidebar page template. Make it yours with a custom menu, header image, and background.
Version: 1.0
Tags: light, gray, white, one-column, two-columns, right-sidebar, flexible-width, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready
Text Domain: MDS Alliance

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/


.togglelangone { display: none;}
.hth-left{position: relative;}
.hth-left:before{content:'';position: absolute;background: url(../images/color-bg.jpg) left top repeat;display:block;left:0;top:0;}
.home .middle-main{background: #fff;}
.middle-main{background: #fff;}
.gheader { height: 234px;background-position: center top !important;}
.ngg-navigation{padding-bottom: 6px !important;}


/* Responsive Media */
@media screen and (max-width: 1200px) {
.owl-theme .owl-controls .owl-buttons div.owl-prev{ left: -20px !important;}
.owl-theme .owl-controls .owl-buttons div.owl-next{right: -20px !important;}
.landing-col {
    width: 30% !important;
    float: none !important;
    display: inline-block;
    margin-right: 0 !important;
}
.twitter-box {
    width: 18%;
    float: right;
    margin-right: 35px;
}
.withtwitter .landing-col {
    width: 23% !important;
}
}
@media screen and (max-width: 1180px) {
.landing-images{padding: 0;}
.main-navigation li a{padding: 0 6px !important; font-size: 13px !important;}
.main-navigation .menu-navigation-menu-spanish0-container li a , .main-navigation .menu-navigation-menu-german0-container li a {
    font-size: 11px !important; 
}
}
@media screen and (max-width: 1169px) {

.landing-images { padding-left: 0 !important;}
.fix{width: 95% !important;}
#logo{margin-left: auto !important;}
.main-navigation li ul li a{padding: 5px 6px !important;font-size: 15px !important; font-weight: normal !important;}
.hth-left{ padding: 40px 50px 15px 0 !important;}
.member-slider{padding-left: 0 !important;}
.owl-theme .owl-controls .owl-buttons div.owl-prev{left:0 !important;}
.member-location-box .owl-theme .owl-controls .owl-buttons div.owl-next { right: 0 !important;}
.gen_mem { width: 100% !important;}
.member-list{border: none !important;margin:0 !important;text-align: center !important;float: none !important;display: inline-block !important;}
.mem-img{text-align: center !important;}
.main-title{width: 100%;}
.owl-theme .owl-controls .owl-buttons div.owl-prev{ left: -10px !important;}
.owl-theme .owl-controls .owl-buttons div.owl-next{right: -10px !important;}
.home-middle-slider { margin-bottom: 36px !important; margin-left: 0 !important; width: 100% !important;}
.member-b-right{width: 75% !important;margin-right: 0 !important; padding-left: 20px;}
.member-b-left{width: 25% !important;margin-left: 0 !important;}
h1.title-part a{line-height: normal !important;}
.landing_gallery{text-align: center !important;margin:0 !important;}
.landing_gallery li { display: inline-block !important; margin-right: 0 !important; width: 32.33% !important;vertical-align: top;}
.ngg-gallery-thumbnail img{max-width: 100% !important;}
.ngg-gallery-thumbnail-box{min-height: 200px !important;width: 32.33% !important;margin-right: 0 !important;display: inline-block !important;float: none !important;}
.main-navigation li ul{right: 100% !important;}

.twitter-box { width: 100% !important; float: left !important; margin: 20px 0;}
.video-box .fix > iframe { width: 100% !important;  }
.h-social ul li {
    padding-left: 10px !important;
}
}
@media screen and (max-width: 1150px) {
.top-right{width: auto;}
.top-r-top{ text-align: right;}	
#head-inner{padding-right: 0px !important;}
#logo{margin-left:0px !important;}
.hth-left h2{font-size: 26px !important; line-height: 30px !important;margin: 0 0 10px 0 !important;}
.hth-left h3{font-size: 20px !important;}
.hth-left{ padding: 40px 50px 15px 0 !important;font-size: 15px !important; letter-spacing: 0 !important; line-height: normal !important;}
.gheader { background-position: right top !important;}
}
@media screen and (max-width: 1000px) {

.landing-col{ width: 32.33% !important;}
.main-navigation li a {
    font-size: 13px !important;
    padding: 0 5px !important;
}
.h-search{padding: 0 0 0 10px !important;}
.search-ico {width: 15px !important;}
.h-social {
    padding: 0 0 0 10px !important;
}
.h-social ul li {
    padding-left: 10px !important;
}
.h-social ul li a img {
    max-width: 15px !important;    
}
.h-social ul li:first-child {
    padding: 0 !important; 
}
}
@media screen and (max-width: 980px) {
.main-navigation li ul li a{padding: 5px 6px !important;}
.welcome-text h1{font-size: 30px !important; margin: auto !important;}
.welcome-text{margin-bottom: 20px !important;font-size: 18px !important; line-height: normal !important; margin-top: -60px !important;}
.hth-logo{padding: 160px 0 0 160px !important;}
.home-middle-slider { margin-bottom: 30px !important; margin-left: 0 !important; width: 100% !important;}
.owl-theme .owl-controls .owl-buttons div.owl-next{ right: 0 !important;}
.owl-theme .owl-controls .owl-buttons div.owl-prev{left: 0 !important;}
.main-title{font-size: 30px; line-height: normal; margin-bottom: 10px;}
.member-location-title span{font-size: 30px; line-height: normal; margin-bottom: 10px;}
.member-b-right{text-align: left !important;}
.flit-box{margin-right: 0 !important; padding: 10px 0 !important;}
.gheader { background-position: right -170px top !important;}
ul.globres { margin-left: 0 !important;padding-left: 10px;}

}
@media screen and (max-width: 930px) {
.contact-col{margin: 0 0 30px 0 !important;}
.mem-img { margin-bottom: 12px !important; }
}
@media screen and (max-width: 767px) {
#logo{width: 150px !important;}
.welcome-text{ margin-top: 0 !important;padding: 0 10px;}
#footer_language_list{padding-right: 0 !important;}	
#footer_language_list ul li a, #footer_language_list ul li span.icl_lang_sel_current{padding:0 8px !important;}
.home-mid-slider .main-title span { font-size: 34px !important;}
.member-location-title span { font-size: 34px !important;}
.hth-left{padding: 30px 0 !important; width: 100% !important; min-height: 100px !important;}
.here-to-help-main .fix { width: 100% !important;}
.hth-left h2, .hth-left h3{padding: 0 20px !important;}
.learn-more { font-size: 16px !important;line-height: 22px !important; margin-top: 19px !important; padding: 5px 10px 5px 20px !important; position: relative !important;}
.hth-left p { padding: 0 20px;}
.hth-logo{width: 100% !important; min-height: 300px !important;background-size: auto 300px !important;padding: 0 !important; text-align: center !important;}
.hth-logo img { margin-top: 65px; max-width: 200px;}
.white-box{display: inline-block; float: none !important;min-height: 300px !important; padding: 20px !important;}
.home-middle-slider{margin: 0 !important;}
.main-title{margin-bottom: auto !important;width: 100% !important;line-height: normal !important;}
.small-title{line-height: normal !important; padding-bottom: 0 !important; padding-top: 0 !important; text-align: center !important; width: 100% !important;}
.landing-col{width: 48% !important;}
.landing-col:hover{-webkit-transform: scale(1) !important;-moz-transform: scale(1) !important;transform: scale(1) !important;}
.footer-menu ul li { display: block !important; line-height: 30px;}
.footer-menu{ margin-bottom: 25px !important;}
.here-to-help-main:before{display: none;}
.form-box .frm_style_formidable-style.with_frm_style fieldset { padding: 0 !important;}
.title-box{margin-bottom: 20px !important;font-size: 26px !important;line-height: normal !important;}
.default-page{padding: 0 10px !important;}
.filter-box-main .awqsf_box { float: left; margin: 0 0 20px !important; text-align: left !important; width: 100% !important;}
.filter-box-main form { margin: 0 auto; max-width: 200px;}
.flit-box{width: 100% !important;}
.our-member-main .title-box-2{font-size: 18px !important;}
.member-box{ padding: 35px 0 15px !important;}
.gallery-img{margin-top: -110px !important;}
.red-bar{font-size: 14px !important; line-height: 22px !important;}
.ngg-gallery-thumbnail-box{width: 48% !important;}
.landing_gallery li{width: 48% !important;}
.our-member-main{padding-bottom: 0;}
.withtwitter .landing-col {
    width: 43% !important;
}

.welcome-text h1{font-size: 24px !important;}
.twitter-box h3 {
    font-size: 18px !important;
    margin-bottom: 0;
    margin-top: 10px;
}
}
@media screen and (max-width: 550px) {
.gheader { background-position: right -290px top !important;}
.footer-menu ul li { line-height: 18px; }
.footer-main { padding: 22px 0; }
.mem-img { margin-bottom: 12px; }
.video-box .fix > iframe { height:250px !important;  }

}
@media screen and (max-width: 480px) {
.top-right { width: 100%;}
.hth-logo { background-size: auto 200px !important; min-height: 200px !important;}
.hth-logo img { margin-top: 45px; max-width: 140px;}
.home-mid-slider .main-title span { font-size: 28px !important;}
.member-location-title span { font-size: 28px !important;}
.hth-left h2 {font-size: 20px !important; line-height: 24px !important; margin: 0 0 5px !important;}
.hth-left h3 { font-size: 16px !important;}
.hth-left p { font-size: 14px;padding: 0 20px;}
#togglelang { display: block;}
.top-language-box:after{display: none;}
.threelangone { display: none !important;}
.threelangone.langenableone { width: 140px;display: block !important;}
#footer_language_list:before{display: none;}
.togglelangone { display: block;}
.langenable { display: block !important; position: absolute !important; right: 0px !important; width:130px;margin-top: 0 !important;
padding-right: 0 !important;top: 43px !important;}
#footer_language_list ul li a{color: #fff !important;}
#footer_language_list ul li { background: #9f1d22; text-align: center; float: left !important; width: 100% !important;}
.top-right {  margin-right: 0px !important; margin-top: 10px !important; position: absolute !important; right: 20px !important; width: auto !important; z-index: 999;}
#head-inner { padding-right: 0px !important;}
#footer_language_list ul li span.icl_lang_sel_current:after{display: none !important}
#footer_language_list.langenable:after{background: #9f1d22 !important;}
#footer_language_list ul li span.icl_lang_sel_current{text-decoration: underline !important; color: #fff !important;}
.landing-col{width: 100% !important;}
.item { padding: 0 40px !important;}
.member-b-right{width: 100% !important;margin:0 !important;padding: 0 !important;}
.member-b-left{width: 100% !important;margin:0 0 15px 0 !important;}
.gheader{height: 160px;}
.ngg-gallery-thumbnail-box { width: 100% !important;}
.title-box {font-size: 18px !important; line-height: normal !important; margin-bottom: 14px !important;}
.landing_gallery li { width: 100% !important;}
.default-page{min-height: 175px !important;}
.ngg-gallery-thumbnail-box .ngg-fancybox { display: inline-block !important;}
.ngg-gallery-thumbnail { display: inline-block !important; float: none !important; text-align: center !important; width: 100% !important;}
.withtwitter .landing-col {
    width: 100% !important;
}
.search-input-box {
    width: 220px !important;
}
}