﻿/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
    line-height: 1.5rem;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* Popup dialog classes */
.modal-body-cover
{
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.5;
}

.popup-dlg
{
    background-color: white;
    position: fixed;
    z-index: 1001;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    padding: 1%;
}

.popup-dlg-hdr
{
    padding: 1%;
}

.popup-dlg-title
{
    float: left;
    width: 93%;
    text-align: center;
}

.popup-dlg-close
{
    float: right;
    cursor: pointer;
    margin: 1%;
    width: 5%;
}

.popup-dlg-close img
{
    width: 100%;
}

.popup-dlg-content
{
    overflow: hidden;
}

.popup-dlg-content > *:first-child
{
    max-width: 100%;
}

.clear-left
{
    clear: left;
}

.clear
{
    clear: both;
}

.full-width
{
    width: 100%;
}

.no-margin
{
    margin: 0!important;
}

.margin-top
{
    margin-top: 15px;
}

.margin-bottom
{
    margin-bottom: 15px;
}

.top-bottom-margin
{
    margin: 15px 0;
}

.right-left-margin
{
    margin: 0 15px;
}

.margin-left
{
    margin-left: 15px;
}

.margin-right
{
    margin-right: 15px;
}

.no-padding
{
    padding: 0!important;
}

.padding-all
{
    padding: 15px;
}

.padding-left
{
    padding-left: 15px!important;
}

.padding-right
{
    padding-right: 15px!important;
}

.padding-left-none
{
    padding-left: 0!important;
}

.padding-right-none
{
    padding-right: 0!important;
}

.border-top
{
    border-top: 1px solid #efefef;
}

.border-bottom
{
    border-bottom: 1px solid #efefef;
}

.no-border
{
    border: none!important;
}

.pointer 
{
    cursor: pointer;
}

.bold
{
    font-weight: bold;
}

.strikethrough
{
    text-decoration: line-through;
}

.underline
{
    text-decoration: underline;
}

.float-left { float: left; }
.float-right { float: right; }
.float-none { float: none; }
.inline-block { display: inline-block;}
.bullet { padding: 0 5px; }

.customer-emulation-container
{
    padding: 10px;
    width: 100%;
    text-align: right;
    background-color: #d70000;
    color: white;
}

.customer-emulation-container span
{
    color: white;
    padding-right: 5px;
}

.customer-emulation-container span + span
{
    cursor: pointer;
    text-decoration: underline;
    padding-left: 5px;
}

p.connection-string
{
    float: right;
    clear: right;
    margin: 15px 0;
    color: white;
}

p.user-identity
{
    float: right;
}

/* Associated images */
.caption-alt-container
{
    margin-top: 10px;
    float: left;
    font-size: 12px;
    margin-left: 5px;
}

.caption-alt-container div
{
    margin-right: 5px;
}

.caption-alt-container div span
{
    padding-left: 5px;
}

.caption-alt-container div + div
{
    margin-left: 15px;
}

.associated-image-thumbnail
{
}

.associated-image-thumbnail-container
{
    background-color: #ccc;
    height: 120px;
    background-size: cover;
    background-repeat: no-repeat;

    display: -webkit-flex; /* Safari */
    -webkit-align-items: center; /* Safari 7.0+ */
    display: flex;
    align-items: center;
    justify-content: center;
}

.associated-image-thumbnail-container.selected
{
    opacity: 0.5;
}

.associated-image-thumbnail-placeholder
{
    color: white;
    padding: 2px;
}

.associated-image-thumbnail-placeholder.blank
{
    background-color: transparent;
    color: black;
}

.associated-image-radio-container
{
    position: relative;
    top: 1px;
}

.associated-image-button-container
{
    margin-top: 5px;
    margin-bottom: 10px;
    height:16px;
    font-size: 14px;
}

.associated-image-change
{
    display: inline-block;
    padding: 0;
}

.associated-image-change + span
{
    padding: 0 5px;
}

.associated-image-delete
{
    display: inline-block;
    padding: 0;
}

.associated-image-desciption-edit-btn
{
    display: inline-block;
    padding: 0;
}

#associated-image-status
{
    margin-bottom: 15px;
    width: 100%;
    height: 22px;
    text-align: center;
    font-weight: bold;
}

.associated-image-description-popup iframe
{
    height: 200px!important;
}

.associated-image-description-popup .glyphicon
{
    top: 5px;
}

.associated-image-description-popup .glyphicon-floppy-disk
{
    padding-left: 10px;
}

.associated-image-description-popup .glyphicon-remove
{
    padding-right: 10px;
}

.associated-image-description-popup .caption-edit-heading
{
    margin-left: 35px;
}

.associated-image-description-popup .mce-container.mce-menubar.mce-toolbar.mce-stack-layout-item.mce-first, #associated-image-description-popup  #mceu_33, #associated-image-description-popup #mceu_34, #associated-image-description-popup  #mceu_35
{
    display: none!important;
}

.associated-images-menu-container
{
    margin: 5px 0;
    padding: 15px;
}

.associated-image-desciption-container
{
    font-size: 12px;
    height: 12px;
    margin-bottom: 10px;
    overflow: hidden;
}

.associated-image-desciption-edit
{
    width: calc(100% - 10px);
    height: 120px;
    font-size: 12px;
    margin: 5px;
}

#associated-image-description-popup
{
    width: 350px;
    border: 1px solid #000;
    position: absolute;
    background-color: white;
}

.caption-button-container
{
    padding: 5px;
    background-color: #ccc;
}

.carousel.fade {
     opacity: 1;
}
.carousel.fade .item {
    transition: opacity ease-out 2s;
    left: 0;
    opacity: 0; /* hide all slides */
    top: 0;
    position: absolute;
    width: 100%;
    display: block;
    z-index: 10;
}

.carousel.fade .item:first-child {
    top: auto;
    /*opacity: 1;*/
    position: relative;
}

.carousel.fade .item.active
{
    opacity: 1;
}

/* bootstrap override */
.carousel-caption
{
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    z-index: 10;
    padding-top: 0;
    padding-bottom: 0;
    text-shadow: none;
}

.carousel-caption *
{
    position: relative;
    z-index: 2;
}

.carousel-caption img {
    margin-top: 1rem;
}

.caption-overlay-bk
{
    background-color: black;
    opacity: 0.5;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Main classes for site and admin */
@font-face 
{
	font-family: base_font;
	src: url('/fonts/OpenSans/opensans-webfont.woff');
}

@font-face 
{
	font-family: base_font_light;
	src: url('/fonts/OpenSans/opensans-light-webfont.woff');
}

@font-face 
{
	font-family: base_font_medium;
	src: url('/fonts/OpenSans/opensans-semibold-webfont.woff');
}

@font-face 
{
	font-family: base_font_bold;
	src: url('/fonts/OpenSans/opensans-bold-webfont.woff');
}

body
{
    font-family: base_font, sans-serif;
    line-height: 1.375em;
    color: #000;
}

.container
{
    margin-left: auto;
    margin-right: auto;
}

.black-bk
{
    background-color: black;
}

.white-bk
{
    background-color: white;
}

.light-gray-bk
{
    background-color: #333333;
}

.gold-text
{
    color: #C0B460;
}

.white-text
{
    color: white;
}

.gold-bk
{
    background-color: #C0B460;
}

.center-both
{
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 0;
    margin-right: -50%;
    transform: translate(-50%, -50%) 
}

.center-h
{
    margin: 0;
    position: absolute;           
    left: 50%;                     
    transform: translate(0, -50%) 
}

.center-v
{
    margin: 0;
    position: absolute;
    top: 50%;
    transform: translate(-50%, 0) 
}

.fade-in
{
    opacity: 1;
    -webkit-transition: opacity 0.7s ease-in-out;
    -moz-transition: opacity 0.7s ease-in-out;
    -o-transition: opacity 0.7s ease-in-out;
    transition: opacity 0.7s ease-in-out;
}

.fade-out
{
    opacity: 0;
    -webkit-transition: opacity 0.7s ease-in-out;
    -moz-transition: opacity 0.7s ease-in-out;
    -o-transition: opacity 0.7s ease-in-out;
    transition: opacity 0.7s ease-in-out;
}

.table
{
    display: table;
}

.table-cell
{
    display: table-cell;
}