/* Add additional stylesheets below */
.form-actions {
	margin-top: 5px;
}
.btn-group {
	margin-top: 5px;
}
.btn-group-vertical {
	display: block;
	margin-right:27px;
	margin-botom:5px;
}
/* Footer */
.footer {
    padding: 5px;
    margin-top: 0px;
    border-top: 1px solid #e5e5e5;
    background-color: #f5f5f5;
    text-align: center;
}
.footer p {
    margin-bottom: 0;
    color: #777;
    font-size: 12px;
}
.footer-links {
    margin: 10px 0;
}
.footer-links li {
    display: inline;
    margin-right: 10px;
}
/* Responsive
-------------------------------------------------- */

/* Desktop large
------------------------- */
@media (min-width: 1200px) {
    .bs-docs-container {
        max-width: 970px;
    }
    .bs-docs-sidenav {
        width: 258px;
    }
}

/* Desktop
------------------------- */
@media (max-width: 980px) {
    /* Unfloat brand */
    body > .navbar-fixed-top .brand {
        float: left;
        margin-left: 0;
        padding-left: 10px;
        padding-right: 10px;
    }

    /* Inline-block quick links for more spacing */
    .quick-links li {
        display: inline-block;
        margin: 5px;
    }

    /* When affixed, space properly */
    .bs-docs-sidenav {
        top: 0;
        margin-top: 30px;
        margin-right: 0;
    }
}

/* Tablet to desktop
------------------------- */
@media (min-width: 768px) and (max-width: 980px) {
    /* Remove any padding from the body */
    body {
        padding-top: 0;
    }
    /* Widen masthead and social buttons to fill body padding */
    .jumbotron {
        margin-top: -20px; /* Offset bottom margin on .navbar */
    }
    /* Adjust sidenav width */
    .bs-docs-sidenav {
        width: 166px;
        margin-top: 20px;
    }
    .bs-docs-sidenav.affix {
        top: 0;
    }
}

/* Tablet
------------------------- */
@media (max-width: 767px) {
    /* Remove any padding from the body */
    body {
        padding-top: 0;
    }

    /* Widen masthead and social buttons to fill body padding */
    .jumbotron {
        padding: 40px 20px;
        margin-top:   -20px; /* Offset bottom margin on .navbar */
        margin-right: -20px;
        margin-left:  -20px;
    }
    .masthead h1 {
        font-size: 90px;
    }
    .masthead p,
    .masthead .btn {
        font-size: 24px;
    }
    .marketing .span4 {
        margin-bottom: 40px;
    }
    .bs-docs-social {
        margin: 0 -20px;
    }

    /* Space out the show-grid examples */
    .show-grid [class*="span"] {
        margin-bottom: 5px;
    }

    /* Sidenav */
    .bs-docs-sidenav {
        width: auto;
        margin-bottom: 20px;
    }
    .bs-docs-sidenav.affix {
        position: static;
        width: auto;
        top: 0;
    }

    /* Unfloat the back to top link in footer */
    .footer {
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .footer p {
        margin-bottom: 9px;
    }
}

/* Landscape phones
------------------------- */
@media (max-width: 480px) {
    /* Remove padding above jumbotron */
    body {
        padding-top: 0;
    }

    /* Change up some type stuff */
    h2 small {
        display: block;
    }

    /* Downsize the jumbotrons */
    .jumbotron h1 {
        font-size: 60px;
    }
    .jumbotron p,
    .jumbotron .btn {
        font-size: 20px;
    }
    .jumbotron .btn {
        display: block;
        margin: 0 auto;
    }

    /* center align subhead text like the masthead */
    .subhead h1,
    .subhead p {
        text-align: center;
    }

    /* Marketing on home */
    .marketing h1 {
        font-size: 40px;
    }

    /* center example sites */
    .example-sites {
        margin-left: 0;
    }
    .example-sites > li {
        float: none;
        display: block;
        max-width: 280px;
        margin: 0 auto 18px;
        text-align: center;
    }
    .example-sites .thumbnail > img {
        max-width: 270px;
    }

    /* Do our best to make tables work in narrow viewports */
    table code {
        white-space: normal;
        word-wrap: break-word;
        word-break: break-all;
    }

    /* Modal example */
    .modal-example .modal {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
    }

    /* Unfloat the back to top in footer to prevent odd text wrapping */
    .footer .pull-right {
        float: none;
    }
}
.btn-group > .btn + .dropdown-toggle {
    /*padding:8px;*/

    -webkit-box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
    box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}
.btn-mini .caret {
    margin-bottom: 1px;
}
.btn-group > .btn-mini + .dropdown-toggle {
   /* padding: 5px;*/
}

/* Sponsors banners on first page BEGIN */
.sponsors-banner {
    display: block;
    margin: 0 auto 25px;
    padding: 0;
    text-decoration: none;
    text-indent: 0;
    letter-spacing: -0.001em;
    width: 466px;
    height: 58px
}
.sponsors-banner.phpstorm {
    background: #5854b5 url(/images/phpstorm468x60_violet.gif) no-repeat 10px 50%;
    border: solid 1px #5854b5;
}
.sponsors-banner.navicat {
    background: white url(/images/navicat_banner.png) 0px 0px;
    border: solid 1px white;
}
.sponsors-banner .headline {
    margin: 3px 0 0 65px;
    padding: 0;
    float: left;
    font-size: 12px;
    cursor: pointer;
    background-image: none;
    border: 0;
    color: #fff;
    font-family: trebuchet ms, arial, sans-serif;
    font-weight: normal;
    text-align: left;
}
.sponsors-banner .description {
    margin: 0 0 0 195px;
    padding: 18px 0 2px 0;
    line-height: 13px;
    font-size: 13px;
    cursor: pointer;
    background-image: none;
    border: 0;
    display: block;
    width: 250px;
    color: #fff;
    font-family: trebuchet ms, arial, sans-serif;
    font-weight: normal;
    text-align: left;
}
.sponsors-banner.navicat .description {
    color: #003366;
    text-decoration: none;
    padding: 13px 0 18px 20px;
    width: 252px;
}
/* Sponsors banners on first page END */

/*Flashes*/
div.flash-error, div.flash-notice, div.flash-success
{
	padding:0.4em;
	-webkit-border-radius: 6px;
	margin-bottom:1em;
	/*border:2px solid #ddd;*/
}

div.flash-error
{
	background:#FBE3E4;
	color:#8a1f11;
	border-color:#FBC2C4;
}

div.flash-notice
{
	background:#FFF6BF;
	color:#514721;
	border-color:#FFD324;
}

div.flash-success {
	background:#E0F8DD;
	color:#007700;
	/*border-color:#C6D880;*/
}

div.flash-error a
{
	color:#8a1f11;
}

div.flash-notice a
{
	color:#514721;
}

div.flash-success a {
	color:#264409;
}
/*Flashes*/