/* 

Imaginet Admin CSS
------------------

Orange      #2f96b4
Light Blue  #2f96b4

#686868


*/

form {
    /* Removes the 20px bottom padding that just takes up space */
    margin:0;
}

.nowrap {
    white-space: nowrap;
}

@media(min-width:980px) {
    body {
        border-top: dotted 1px #ffcccc;
        padding-top: 130px;
    }
}

h1 {
    color: #2f96b4;
    font: 400 1.8em 'Open Sans',sans-serif;
}

h2 {
    font: 600 1.4em 'Open Sans',sans-serif;
    border-bottom: 1px solid #ccc;
    color:#333;
    margin-bottom: 20px;
}

h3 {
    font: 400 1.2em 'Open Sans',sans-serif;
    color:#333;
}

a:hover,
a:active,
a:focus {
    color: #2f96b4;
    text-decoration: none;
}

.container .row {
    margin-left: 0;
}

[class*="span6"] {
    margin: 0;
}

[class*="span12"] {
    margin: 0;
}

.clear {
    clear: both;
    height: 0px;
}

code {
    color:#3BA9dd;
    background-color: #eee;
    border: solid 1px #ddd;
}

.well {
    margin-bottom: 10px;
}

.well.dark {
    /* a slightly darker well */
    background-color: #e3e3e3;
}

.well.editing-section h3{
    margin: 0;
}

/* Topnav*/
.navbar .imaginet {
    background: #51b2e9; /* Old browsers */
    /*Get rid of gradient*/
    border: none;
    /*padding: 5px 0;*/
    background: #00143b;
}

.navbar .brand {
    text-indent: -9999px;
}

#logo {
    padding: 2px 2px 1px 2px;
}

.navbar .nav > li > a {
    font-size: 1.0em;
    color: #f0f0f0;
    /* text-shadow: 0 1px 0 #bfbfbf; */ text-shadow:none;
    padding: 24px 12px;
    transition: all 0.4s ease;
}

.navbar .nav > li > a:hover,
.navbar .nav > li > a:active,
.navbar .nav > li > a:focus {
    color: #fcfcfc;
    background-color: transparent;
    /* text-shadow: 1px 0 0 #e3e3e3; */ 
    /*text-shadow:none;*/
    /*background-color: #1f7fb0;*/
    background: #002876;
}

.navbar .nav > .active > a,
.navbar .nav > .active > a:hover,
.navbar .nav > .active > a:focus {
    color: #ffffff;
    text-decoration: none;
    background-color: #299dd9;
   /* -webkit-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125);
       -moz-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125);
            box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125);*/


}

.navbar .nav > li .icon {
    margin-top: 3px;
}

.caret {
    border-top-color: white !important;
    border-bottom-color: white !important;
}

.navbar .nav li.dropdown.open > .dropdown-toggle, 
.navbar .nav li.dropdown.active > .dropdown-toggle,
.navbar .nav li.dropdown.open.active > .dropdown-toggle {
    color: #ffffff;
    text-decoration: none;
    background-color: #299dd9;
    background-color: #002876;
    /*-webkit-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125);
       -moz-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125);
            box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125);*/
}

.dropdown-toggle :hover{
    text-decoration: none;
}

.dropdown-menu {
    background-color: #ffffff;
    color: #333333;
}

.dropdown-menu .nav-title {
    margin-left: 20px;
    font-weight: bold;
}

.navbar .dropdown-menu li a {
    color: #808080;
}

/* @CM 2018-05-30 */
.navbar .dropdown-menu li a.active,
.navbar .dropdown-menu li a.active:hover {
    background-color: #51b2e9;
    background-image: linear-gradient(to bottom, #51b2e9, #038fb3);
    background-repeat: repeat-x;
    color: #ffffff;
}

.navbar .dropdown-menu li > a:hover,
.navbar .dropdown-menu li > a:focus,
.navbar .dropdown-submenu:hover > a {
    
    /* Blue */
    /*background-color: #51b2e9;*/
    /*background-image: linear-gradient(to bottom, #51b2e9, #038fb3);*/
    
    /* Orange */
    background-color: #f28739;
    background-image: linear-gradient(to bottom, #f28739, #d87d3b);
    
    /* Grey */
    /*background-color: #666;*/
    /*background-image: linear-gradient(to bottom, #666, #555);*/
    
    background-repeat: repeat-x;
    color: #ffffff;
    text-decoration: none;
}

.dropdown-menu .divider {
    background-color: #d3d3d3;
    border-bottom: 1px solid #f0f0f0;
}

.page_header {
    border-bottom: 1px solid #ddd;
    background: #747474;
    color: #fff;
}

.page_header h1 {
    margin: 8px 10px 8px 0;
}

.page_header h1 a {
    color: #f28739;
}
.page_header h2 {
    border-bottom: none;
    color: #999;
    /*font-style: italic;*/
    font-weight: normal;
    margin: 12px 10px 0px;
    color: #fff;
}

/* Help Doc Link */
.page_header h3#helpDocLink a {
    display: inline-block;
    margin-top: 8px;
    color: #9999A4;
    font-size: 14px;

    color: #fff;
}
.page_header h3#helpDocLink a:hover {

}

.navbar-search {
    margin-top: 18px;
}

.navbar-search .search-query {
    padding: 12px;
}

/* Footer */
#footer{
    margin-top:20px;
    /*border-top: solid 2px #999999;*/
    background: rgba(0,20,59,1);
    color: #fff;

}
#footer #support{
    padding: 20px 0 0 20px;
    font: 400 1em 'Open Sans',sans-serif;
}
#footer #phone{
    font-weight: bold;
    color: #2f96b4;
}
#footer #copy{
    padding: 5px 0 40px 20px;
    font: 400 0.85em 'Open Sans',sans-serif;
}
/*  Image Page */
#image-search-top, #image-search-bottom{
    background-color: #E5E5E5;
    padding: 10px;
    width:100%;
}

.image-listing-box{
    width:100%;
    min-width: 120px;
    border:1px solid #999;
    padding: 7.5px;
    margin-bottom: 10px;
}

.pagination.image-pagination {
    float: right;
    margin: 0px;
    max-width: 50%;
}

.time-dropdown{
    width:60px;
}

iframe {
    background-color: #ffffff;
    border-color: #cccccc;
    border-radius: 4px 4px 4px 4px;
    border: 1px solid #dddddd;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.024) inset;
    color: #999999;
    cursor: not-allowed;
    display: inline-block;
    height: 200px;
    margin-left: 0 !important;
    padding: 2px;
}

.custom_html {
    padding-top: 5px;
    /* fix for info button to be inline with box*/
    display:inline-block;
}


/**
 * Modal box overwrites
 */
.modal.inline-content {
    width: 800px;
    margin-left: -400px;
    height: auto;
}

.inline-content .modal-body {
    max-height: 590px;
}

.inline-content .modal-iframe {
    height: 500px;
    width: 100%;
    border: none;
    border-radius: 0px;
    box-shadow: 0 0 0;
}

.modal.imgpreview .modal-body {
    text-align: center;
}

/**
 * CKEditor overwrites
 */
[class*="cke_"] {
}

.cke_dialog_background_cover {
    max-width: none;
}

/**
 * Image Gallery
 */

.thumbnails  {
    margin-right: auto;
    margin-left: auto;
}

.thumbnails .thumbnail {
    position: relative;
    height: 150px;
    width: 180px;
    padding: 0;
    float: left;
    margin: 0 8px 8px 0;
}

/* info */

.image {
    position: absolute;
    display: block;
    top:0;
    width:100%;
    height:100%;
    z-index: 100;
}

.thumbnails .thumbnail .info {
    background: rgba(0,0,0,0.5);
    color: #FFF;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    padding: 3px;
    z-index: 101;
}
.thumbnails .thumbnail:hover .info {
    opacity: 1;
    height: auto;
}
.thumbnails .thumbnail .info > span.title {
    display: block;
    font-size: 12px;
    line-height: 15px;
}

/* links */
.thumbnails .thumbnail .links {
    background: rgba(0,0,0,0.5);
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    position: absolute;
    bottom: 0;
    white-space: nowrap;
    padding: 2px 0 2px 2px;
    width: calc(100% - 2px);
    z-index: 101;
}
.thumbnails .thumbnail:hover .links {
     opacity: 1;
}

table.imageDirectory {
    
}
table.imageDirectory td.thumb {
    width: 100px;
    text-align: center;
}
table.imageDirectory td.thumb img {
    border: 1px solid #ccc;
    height: 80px;
}
table.imageDirectory td.thumb img:hover {
    border: 1px solid #333;
}
table.imageDirectory td.details {
       font-size: 12px;
}
table.imageDirectory td.details span {
    display:inline-block;
    width: 90px;
}



/**
 * Settings data
 */
table.settings-data {
     font-size: 82%;
}

/**
 * Hide help popovers by default
 */
[rel="popover"] {
    display: none;
}


/* 
 * Navigation dragabble tables rows 
 */

#navigationTable th {
    background-color: #E5E5E5;
}

#navigationTable td.selected {
    background-color: #FFE0BC;
}

.table-hover tbody tr.draggable td,
             tbody tr.draggable td {
    background-image: url('../graphics/crosshatch.gif');
    background-repeat: repeat;
}

[rel='tooltip']:hover {
    cursor: help;
}


.ui-datepicker-trigger {
    margin-left:  6px;
}

.mandatory { 
    color:red;
    font-weight: bold;
}

/*Preview styles*/

.modal.preview {
    overflow-x: hidden;
    width: 1000px;
    height: 800px;
    left: 32%;
}

iframe.preview-frame {

    width: 1280px;
    height: 786px;
    border: 0;
    -ms-transform: scale(0.8);
    -moz-transform: scale(0.8);
    -o-transform: scale(0.8);
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
    
    -ms-transform-origin: 0 0;
    -moz-transform-origin: 0 0;
    -o-transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;

}

#navigationOverview span.spacer {
    float:left;
    display: inline-block;
    width:15px;
    height: 24px;
    border-right: 2px dashed #666;
    margin-right: 15px;
    
}

table#navigationOverview td {
    padding: 2px 5px !important;
}

table#navigationOverview span.label:hover {
    cursor: help;
}


h2 .link-right {
    font-weight:normal;
    font-size: 14px;
    float:right;
}



/* ------------------------------------------------------------------------------------------------ */
/* DYNAMIC CONTENT MODULES...                                                                       */

table.dynamicModules{
    
}

table.dynamicModules, 
table.dynamicModules tr, 
table.dynamicModules td{
}

table.dynamicModulesTop{
    padding:0px;
    margin-bottom: 0px;
}

table.dynamicModules:not(.locked) tr:not(.sortable-ignore){
    cursor: move;
}

table.dynamicModules td.edit{
    padding: 5px;
}

table.dynamicModules td.delete{
    padding: 5px;
}

table.dynamicModules td.drag{
    padding: 5px;
}

/*Dont shrink while sorting*/
.ui-sortable-helper {
    display: table;
}

.ui-sortable-helper{
    cursor: move;
}


/*Image slider image layout*/

.imageWrapper{
}

.imageItem{
    height: 200px;
    float: left;
    overflow: hidden;
    position: relative;
    margin: 0 5px 5px 0;
}

.imageItem img{
    max-height: 200px;
}

.imageTitle{
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: rgba(0,0,0,0.5);
    color: white;
    width: 100%;
    padding: 2px;
}

.alert-search {
  color: #3a87ad;
  background-color: #d9edf7;
  border-color: #bce8f1;
}

.nowrap{
    white-space: nowrap;
}

.existingTags{
    margin-bottom: 20px;
}

.blogTag{
    display: inline-block;
    padding: 2px 10px;
    background-color: #317eb1;
    border-style: solid;
    border-width: 2px;
    border-color: #317eb1;
    color: #fff;
    border-radius: 5px; 
    margin-left: 5px;
    margin-bottom: 10px;
}

a span.blogTag{
    background-color: #f5f5f5;
    border-style: solid;
    border-width: 2px;
    border-color: #317eb1;
    color: #000;
    border-radius: 5px; 
    margin-left: 5px;
}

a:hover span.blogTag{
    background-color: #317eb1;
    border-style: solid;
    border-width: 2px;
    border-color: #317eb1;
    color: #fff;
    border-radius: 5px; 
    margin-left: 5px;
}

.bulkUploadGallery{
    margin-bottom:20px;
}

.bulkImage{
    width:150px;
    height:150px;
    float:left;
    margin:0 10px 10px 0;
    position:relative;
    border:1px solid #eee;
}

.bulkImageText{
    position:absolute;
    bottom:0;
    left:-1px;
    width:143px;
    height:20px;
    background-color:#eee;
    padding:2px 4px;
}

#imgsvg{
    max-width: 130px;
    display: block;
    float:left;
    margin: 20px auto auto auto;
}

/* Generic table styling */

table thead th{   
    background-color: #E3E3E3;
    vertical-align: top !important;
}


/*Mobile menu*/
@media all and (max-width : 979px) {


    #imgsvg{
        margin: 8px auto auto 10px;
    }



    .navbar .nav > .active > a, 
    .navbar .nav > .active > a:hover, 
    .navbar .nav > .active > a:focus {
        box-shadow: none;
    }

    .nav-collapse .nav > li > a, 
    .nav-collapse .dropdown-menu a {
        border-radius: 0px;
        font-weight: normal;
    }

    .nav-collapse .nav > li > a, 
    .nav-collapse .dropdown-menu a {
        padding: 9px 30px;
    }

    .navbar .pull-right > li > .dropdown-menu, 
    .navbar .nav > li > .dropdown-menu.pull-right {

    }

    .navbar .dropdown-menu li a {
        color: #fff;
    }

    .navbar .dropdown-menu li > a:hover, 
    .navbar .dropdown-menu li > a:focus, 
    .navbar .dropdown-submenu:hover > a {
        background: #1f7fb0;
    }

    .nav-collapse .dropdown-menu {
        margin: 0px;
    }

}


/*    LOGIN MODAL     */
.modal {
    box-shadow: none;
    border-color: #686868;
}
.login .modal-header {
    background: #00143b;
    margin-bottom: 20px;
    border-radius: 5px 5px 0px 0px;
    border: 1px solid #00143b;
    padding: 15px;
}
#svglogo {
    max-width: 130px;
}
.login .modal-footer {
    background: #686868;
    border: none;
    border-radius: 0px 0px 5px 5px;
    padding: 10px;
}
.login .modal-footer span {
    display: block;
    margin-top: 5px;
}



/* 
  Config radio buttons
  @CM 2018-05-30
*/
select, textarea, input {
    /* This overrides all the 'many' input types... */
    margin-bottom: 0px !important;
} 
.inlineRadios input[type='radio'] {
    margin: 0px 5px 2px 7px !important;
}
.inlineRadios label {
    display: inline-block;
    margin-bottom: 0px;
    padding: 5px 20px 5px 5px;
}
.inlineRadios label:hover {
    background-color: #ddd;
}
/* End */


td.dragHandle,td.dragHandle span {
    cursor: move;
}


/*
    Error message placement
    -----------------------
    @CM 2018-06-07
*/
.page_header {
    position: relative;
}
.page_header #ajaxMessage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0.9;
    text-align: center;
}
.page_header #ajaxMessage .alert {
    width: 100%;
    height: 100%;
    -webkit-border-radius: 0px;
       -moz-border-radius: 0px;
            border-radius: 0px;
}
.page_header #ajaxMessage .alert p {
    margin: 4px auto;
}


.bulkImage {
    position: relative;
    overflow: hidden;
}

.bulkImageText {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.5);
    font-size: 10px;
    overflow: hidden;
    color: #fff;
    word-break: break-all;
    height: 0px;
    bottom: initial;
}

.bulkImage:hover .bulkImageText {
    height: auto;
}

/* tom testing */

/*#main {
    border: 2px solid red;
    
}
.container {
    border: 2px solid green;
}*/
