/* Bootstrap-overide */

@media (max-width: 500px){
input[type=text],
input[type=password]
{   background-color: #ffffff;
    border : solid #eee 1px;
    width: 100%;
    -box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    height: 31px;
    *line-height:32px;
    *margin-left:-3px;
    *margin-right:-4px;
    display: inline;   
    padding: 0px 0 0 5px;}

input[type=submit] {width: 100%;}
}

@media (max-width: 767px){
body {padding-right: 0 !important;padding-left: 0 !important;}
.navbar {margin-bottom:0;}

footer [class*="span"]
{display: inline;float:left;}

footer .row-fluid .span4 {width: 31.914893617021278%;}
}
}

@media (max-width: 979px){
.navbar .nav-collapse .nav li > a:hover {background-color:#555555;} 
}

@media (max-width: 979px){
.carousel-inner p {display:none;}
}


/* Admin pages */

@media (max-width: 480px){
.pagebody.administration.featuresettings .forminput {margin-left:0;}
}

@media (max-width: 500px)
{
.mhelp,
.addcontent .pageditnotes,
.pagelayout .altlayoutnotice {display:none;}

.btn-group,
select,
.panelayout .layoutalt1, 
.panelayout .layoutalt2, 
.panelayout .layoutright, 
.panelayout .layoutcenter, 
.panelayout .layoutleft 
{width:100%;}

.btn-group a{margin-bottom:1%;padding:0;width:100%;float:left;clear:left;}
}


/* Header */

@media (max-width: 279px){
.small {display: none;}
.big {margin: 4px 0;}
.mainheader input[type=text], .mainheader input[type=submit] { width: 100%; }
.mainheader .pull-right { float:none; }
.mainheader a { display: block; text-align:center; }
}

@media (min-width: 280px){
.mainheader input[type=text], .mainheader input[type=submit] {width: auto;}
.mainheader .pull-right { float:right; }
.mainheader a { float: left; }
}

@media (min-width: 280px) and (max-width: 403px){
.small {margin: 4px 0;}
.big {display: none;}
}

@media (min-width: 404px){
.small {display: none;}
.big {margin: 4px 0;}
}


/* Menu */

@media (min-width: 1200px){
ul.nav ul {width:21%;}
}

@media (max-width: 797px){
.nav-collapse .nav > li > a
{font-weight:normal;}
.AspNet-TreeView-Leaf {display:none;}
}


/* Panels */

@media (max-width: 685px){
.panelwrapper {padding-left:4px;padding-right:4px;}
table {padding: 0;}
}

@media (max-width: 980px){
.slidecontainer .span1 {margin-left:5px;margin-top: 70px;}
}


/* Treeview */

@media only screen and (min-width:767px) and (max-width:980px){   .panelwrapper.childpagesitemapmodule .moduletitle {display: none;}
}


/* Registration */

@media (max-width: 684px){
.pagebody.registerpage .clearpanel.thirdpartyauth {float:none;}
}
     
@media (max-width: 684px){
.loginpage .floatpanel {float:none;}
}


/* Newsletter */

@media (min-width:767px) and (max-width:976px){
.NewsLetterSubscribeModule h2 {font-size: 24.75px;}
}

@media (min-width:1200px){
.NewsLetterSubscribeModule .watermarktextbox.subscribeemail
 {width: 50%;}
}
 
@media (max-width:1200px){
.NewsLetterSubscribeModule .watermarktextbox.subscribeemail 
{   border : solid #eee 1px;
    width: 100%;
    margin-bottom:0;
    -box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    height: 32px;
    *line-height:32px;
    *margin-left:-3px;
    *margin-right:-4px;
    display: inline;   
    padding: 0px 0 0 5px;}   
.NewsLetterSubscribeModule .btn  {width: 100%;}
}


/* Search */

@media only screen and (max-width: 480px){
.searchresultsummary { display:none; }
.searchcontrols input[type="submit"].btn {width:100%;height:35px;}
.searchfeatures,
.searchresults .searchbox {width:100%;}
}

@media only screen and (min-width: 980px){
.searchduration {display:inline;}
}


/* Social buttons */

@media (min-width: 1200px){
.social-button {margin-right: 15px;margin-bottom: 15px;}
}

@media (min-width: 980px) and (max-width: 1199px){
.social-buttons{margin-left: -10px;}
.social-button{margin-left: 1px;margin-bottom: 1px;}
}    

@media (min-width: 768px) and (max-width: 979px){
.social-buttons{margin-left: -6px;}
.social-button{margin-right: 1px;margin-bottom: 1px;}
}


/* Contact */

@media (max-width: 767px){
.contactform tr.mceFirst {display:none;}
}


/* Course Module */

@media (max-width: 480px){
.techniqueedit .panelistbox input {width: 90%;}
.techniqueedit .panelistbox select {width:91%}
.techniqueedit .layoutbuttons input {width: 12px;}
}


/* Userprofile */

@media (max-width: 480px){
.userprofile .settingrow label {width: 100%;}
.ui-tabs .ui-tabs-panel {padding: 0;}
}

@media (min-width: 481px) and (max-width: 767px){
.userprofile .settingrow label {width: 20%;}
}
@media (min-width: 768px) and (max-width: 979px){
.userprofile .settingrow label {width: 16%;}
}

@media (min-width: 980px) and (max-width: 1199px){
.userprofile .settingrow label {width: 12%;}
}

@media (min-width: 1200px){
.userprofile .settingrow label {width: 9%;}
}


/* BJJ Camp */

@media (max-width:767px){.childpagesitemapmodule .sub-nav .tree-root {display:inline;}
}


/* Footer Addthis */

/*@media (max-width: 480px){
.addthis_toolbox.addthis_default_style.addthis_32x32_style.middle
{}
}

@media (min-width: 481px) and (max-width: 767px){
.addthis_toolbox.addthis_default_style.addthis_32x32_style.middle
{}
}

@media (min-width: 768px) and (max-width: 979px){
.addthis_toolbox.addthis_default_style.addthis_32x32_style.middle
{}
}

@media (min-width: 980px) and (max-width: 1199px){
.addthis_toolbox.addthis_default_style.addthis_32x32_style.middle
{}
}

@media (min-width: 1200px){
.addthis_toolbox.addthis_default_style.addthis_32x32_style.middle
{}
}*/