.margin-bottom-5, 
.margin-bottom-10, 
.margin-bottom-15, 
.margin-bottom-20,
.margin-bottom-25, 
.margin-bottom-30, 
.margin-bottom-35, 
.margin-bottom-40, 
.margin-bottom-45, 
.margin-bottom-50, 
.margin-bottom-55, 
.margin-bottom-60 { 
    clear:both;
}
.margin-bottom-5  { margin-bottom:5px !important;}
.margin-bottom-10 { margin-bottom:10px;} 
.margin-bottom-15 { margin-bottom:15px;}
.margin-bottom-20 { margin-bottom:20px;}
.margin-bottom-25 { margin-bottom:25px;}
.margin-bottom-30 { margin-bottom:30px;}
.margin-bottom-35 { margin-bottom:35px;}
.margin-bottom-40 { margin-bottom:40px;}
.margin-bottom-45 { margin-bottom:45px;}
.margin-bottom-50 { margin-bottom:50px;}
.margin-bottom-55 { margin-bottom:55px;}
.margin-bottom-60 { margin-bottom:60px;}

@media (max-width: 768px) {
    .sm-margin-bottom-10 {
        margin-bottom: 10px;
    }
    .sm-margin-bottom-20 {
        margin-bottom: 20px;
    }
    .sm-margin-bottom-30 {
        margin-bottom: 30px;
    }
    .sm-margin-bottom-40 {
        margin-bottom: 40px;
    }
    .sm-margin-bottom-50 {
        margin-bottom: 50px;
    }
    .sm-margin-bottom-60 {
        margin-bottom: 60px;
    }
}

@media (max-width: 992px) {
    .md-margin-bottom-10 {
        margin-bottom: 10px;
    }
    .md-margin-bottom-20 {
        margin-bottom: 20px;
    }
    .md-margin-bottom-30 {
        margin-bottom: 30px;
    }
    .md-margin-bottom-40 {
        margin-bottom: 40px;
    }
    .md-margin-bottom-50 {
        margin-bottom: 50px;
    }
    .md-margin-bottom-60 {
        margin-bottom: 60px;
    }
}

/*Other Spaces*/
.margin-top-20 { margin-top: 20px;}
.margin-top-5 { margin-top: 5px;}
.margin-left-5 { margin-left: 5px;}
.margin-left-10 { margin-left: 10px;}
.margin-right-5 { margin-right: 5px;}
.margin-right-10 { margin-right: 10px;}

.padding-left-5 { padding-left: 5px;}

.navbar-brand
{
    padding: 5px !important;
}

#bd 
{
    border: 1px solid #CCD6DD;
    border-radius: 4px;
    margin-bottom: 20px;    
    padding: 20px;
}

.bar, #bd, #ft, #promo .inner {
    min-width: 240px;
    width: auto;
    margin: 0px auto;
}

.footer {
    bottom: 0px;
    width: 100%;
    min-height: 60px;
    padding-top: 8px;
    background-color: #F5F5F5;
}


html, body 
{
    height: 100%;
    color: #555;
    font-family: 'Roboto', sans-serif !important;
}


h2
{
    font-weight: 400 !important;
    font-size: 24px;
}


.btn-dvids {
    color: #ffffff;
    background-color: #7b1300;
    border-color: #620f00;
}

.btn.btn-dvids:hover 
{
    color: #f2f2f2;
    background-color: #620f00;
    text-decoration: none;    
}

.media-left.media-middle 
{
    padding-right: 30px;
}

.media-heading 
{
    margin-bottom: 10px;
}

h2 
{
    border-bottom: solid 1px #ccc; 
    padding-bottom: 20px; 
    font-weight: 600;
}

a
{
    color: #8e0004;
}

#dev-agreement-text
{
    margin-top: 10px; 
    height: 90px; 
    overflow-x: hidden; 
    overflow-y: auto; 
}

.nav.nav-pills > li > a {
    padding: 5px 15px;
}

.nav-pills>li+li {
    margin-left: 10px;
}

.well, 
.well-sm, 
.well-lg
{
    border-radius: 1px;
    -moz-border-radius: 1px;
    -webkit-border-radius: 1px;
}

/* Api Account Icon Editor Styles */
.imageBox
{
    position: relative;
    height: 400px !important;
    width: 400px !important;
    border:1px solid #aaa;
    background: #fff;
    overflow: hidden;
    background-repeat: no-repeat;
    cursor:move;
}

.imageBox .thumbBox
{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    margin-top: -100px;
    margin-left: -100px;
    box-sizing: border-box;
    border: 1px solid rgb(102, 102, 102);
    box-shadow: 0 0 0 1000px rgba(0, 0, 0, 0.5);
    background: none repeat scroll 0% 0% transparent;
}

.imageBox .spinner
{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    text-align: center;
    line-height: 400px;
    background: rgba(0,0,0,0.7);
}    

.box-sqr
{
    -moz-border-radius: 2px !important;
    -webkit-border-radius: 2px !important;
    border-radius: 2px !important;
}

.modal-dialog
{
    width: 430px !important;
    height: 430px !important;
}

.txtOverlay
{ 
    cursor: pointer;
    display: inline-block;
    max-width: 100%;
    width:64px; 
    height:64px;
    margin-right: 10px;
    padding: 4px;
    line-height: 1.42857;
    background-color: #FFF;
    border: 1px solid #DDD;
    border-radius: 4px;
    transition: all 0.2s ease-in-out 0s;        
    opacity:0.9; 
    background-position: 0 0;
    background-size: 64px;
    background-repeat: no-repeat;
} 

.theText
{ 
    text-align: center;
    display: inline-block;
    font-size:12px; 
    color:#000; 
    opacity:0; 
    width: 100%;
    height: 100%;
    padding: 2px;
} 

.txtOverlay:hover .theText,
.theText:hover
{ 
    opacity:0.75;
    background: rgba(255,255,255,.6);
}

.apiExampleHeaders
{
	color: #545454;
	font-size: 11px;
}

.if_empty {
    display: none;
}

.if_empty:nth-child(1) {
    display: block;
}


#logo
{
    height: 30px;
}

#q
{
    width: 420px;
}

#login_button_group
{
    margin-top: 8px;
}


@media (max-width: 998px) {
    #q
    {
        width: 270px;
    }
}

@media (max-width: 768px) {
    #search_form_container
    {
        margin-right: 0px;
    }

    #q
    {
        width: 100%;
    }

    .wider_modal {
        width: 100%;
        margin-left: 10px;
        margin-right: 10px;
    }

    #login_button_group
    {
        position: absolute;
        top: 0px;
        right: 8px;
    }
}

/* scroll fixes for bootstarp modal */
.modal-open .modal {
    padding-left: 0px !important;
    padding-right: 0px !important;
    overflow-y: scroll;
}

/* bg color fix for bootstarp modal */
.fade.in {
    opacity: .75;
    background-color: #000;
}

.wider_modal {
    width: 600px;
    margin-left: -80px;
}


/* All Things Footer
---------------------------------------------------------------- */

/* Wrapper for page content to push down footer */
#wrap {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0 auto -134px;
    padding-top: 21px;
    padding-bottom: 50px;
}

/* Set the fixed height of the footer here */
#push, #footer 
{
    height: 134px;
}

#footer
{
    background-color: #dedede;
}

.footer
{
    background-color: #dedede;
}

#footer_top_shelf
{
    height: 60px;
    color: #555;
    padding-top: 8px;
}

#footer_bottom_shelf
{
    height: 50px;
    color: #555;
    border-top: 1px solid #ccc;
    padding-top: 20px;
}

ul.footer_links
{
    margin: 0px;
    padding: 0px;
    list-style-type: none;
    margin-top: 0px;
}

ul.footer_links li 
{ 
    display: inline; 
    padding: 0px;
    margin-top: 0px;
    text-transform: uppercase;
    margin-right: 40px;
}

ul.footer_links li:last-child
    { 
        margin-right: 0px;
    }

ul.footer_links li a
{
    text-decoration: none;
    color: #555;
    padding: 0px;
    margin-top: 0px;
}

ul.footer_links li a:hover
{
    color: #333;
    text-decoration: underline;
}


@media (max-width: 565px) {
    ul.footer_links li 
    { 
        margin-right: 20px;
    }

    ul.footer_links li a
    {
        font-size: 10px;
    }
}

#login_box_container
{
    margin-top: 60px;
}

@media (max-width: 767px) {
    #login_box_container
    {
        margin-top: -10px;
    }

    .main_menu_dropdown
    {
        margin-right: 8px;
    }
}


dl h1
{
    font-size: 16px;
    line-height: 28px;
}

dd
{
    margin-bottom: 20px;
    color: #777;
}

dl a
{
    font-size: 18px;
    color: #8e0004;
    font-weight: 400;
}

dl a:hover
{
    color: #8e0004;
    text-decoration: underline;
}

mark
{
    background: #ffffc5;
    color: #777;
    font-weight: 400;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}

dt mark
{
    background: none;
    font-weight: 700;
}

.social_icons
{
    margin-left: 13px;
}

div.social_icon_group img:hover
{
    opacity: 0.6;
}

i.fa
{
    margin-right: 20px;
}



/* Docs Content Styles
--------------------------------------------------------------- */


div.docs_content_container, 
div.search_results_container
{
    font-family: 'Roboto', sans-serif !important;
    border-left: 1px solid #ddd;
    padding-left: 30px;
    padding-top: 0px;
}

div.docs_content_container h1,
div.search_results_container h1
{
    text-transform: uppercase;
    font-size: 28px;
}

div.docs_content_container p
{
    color: #777;
    line-height: 24px;
    margin-bottom: 24px;
}

div.docs_content_container h1:first-child,
div.search_results_container h1:first-child
{
    border-bottom: 1px solid #ddd;
    padding-bottom: 24px;
    padding-left: 30px;
    margin-left: -30px;
    margin-bottom: 30px;
    padding-top: 48px;
}

ul.doc_nav
{
    margin-top: 60px;
}

ul.doc_nav a
{
    color: #777;
}

li.active a
{
    color: #7b1300;
}

ul.doc_nav a
{
    border: 1px solid #fff;
}

ul.doc_nav a:hover
{
    background-color: #fff;
    border: 1px solid #ccc;
}

ul.doc_nav li:hover
{
    background-color: #fff;
    border: none;
}

@media (max-width: 770px) {
    ul.doc_nav
    {
        display: none;
    }
}

li.doc_mobile_menu_item a
{
    padding-top: 13px;
    height: 46px;
    color: #7b1300;
}

ul.doc_nav_mobile li.active a
{
    background-color: #7b1300;
}

.alert
{
    margin-top: 20px;
}

.api-key-header
{
    margin-top: 30px;
}

.nav-list li 
{
    list-style-type: none !important;
}

.nav-list ul
{
    padding-left: 15px !important;
}

.nav-list li.active a,
.nav-list li.active li.active a
{
    color: black;
    font-weight: bold;
}

.nav-list li.active ul li a
{
    font-weight: normal;
    color: #8e0004;
}

.nav-list > li.active > a
{
    background-color: #f8f8f8;
}

.docs_container_row table 
{
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
    border: 1px solid #ddd;
}

.docs_container_row table>thead>tr>th, 
.docs_container_row table>tbody>tr>th, 
.docs_container_row table>tfoot>tr>th, 
.docs_container_row table>thead>tr>td, 
.docs_container_row table>tbody>tr>td, 
.docs_container_row table>tfoot>tr>td 
{
    padding: 8px;
    line-height: 1.42857143;
    vertical-align: top;
    border-top: 1px solid #ddd;
}

.docs_container_row table>tbody>tr:nth-of-type(odd) 
{
    background-color: #f9f9f9;
}