/**
    Common
    
    Common set of styles in view pages. Reserves set of id and class names.
    
    Reserved Ids (in regex):
        header|header:.*
        padding|padding:.*
        body|body:.*
        footer|footer:.*
        
    Reserved Class Names (in regex):
        header:.*
        body:.*
        padding:.*
        footer:.*
        
    Individual pages should not override styles matching the listed id and
    class. Except for the div#body for sizing issues.
    
    @author     sungchul.lee@primoris.co.nz
    @signature  p#10ns2&*1:sha256:43:c3b1f01224ff445b20da4f349cbc09f3aa9b2660744
**/
/*@font-face {
    font-family: 'ServicePulse Default';
    font-style: normal;
    font-weight: 300;
    src: local('e'), url('/console/application/views/shared/fonts/OpenSans-Light.ttf') format('truetype');
}
@font-face {
    font-family: 'ServicePulse Default';
    font-style: italic;
    font-weight: 300;
    src: local('e'), url('/console/application/views/shared/fonts/OpenSans-LightItalic.ttf') format('truetype');
}
@font-face {
    font-family: 'ServicePulse Default';
    font-style: normal;
    src: local('e'), url('/console/application/views/shared/fonts/OpenSans-Regular.ttf') format('truetype');
}
@font-face {
    font-family: 'ServicePulse Default';
    font-style: italic;
    src: local('e'), url('/console/application/views/shared/fonts/OpenSans-Italic.ttf') format('truetype');
}
@font-face {
    font-family: 'ServicePulse Default';
    font-style: normal;
    font-weight: 500;
    src: local('e'), url('/console/application/views/shared/fonts/OpenSans-Semibold.ttf') format('truetype');
}
@font-face {
    font-family: 'ServicePulse Default';
    font-style: italic;
    font-weight: 500;
    src: local('e'), url('/console/application/views/shared/fonts/OpenSans-SemiboldItalic.ttf') format('truetype');
}
@font-face {
    font-family: 'ServicePulse Default';
    font-style: normal;
    font-weight: 700;
    src: local('e'), url('/console/application/views/shared/fonts/OpenSans-Bold.ttf') format('truetype');
}
@font-face {
    font-family: 'ServicePulse Default';
    font-style: italic;
    font-weight: 700;
    src: local('e'), url('/console/application/views/shared/fonts/OpenSans-BoldItalic.ttf') format('truetype');
}*/

* {
    -webkit-transition: background-color .2s, border-color .2s, color .2s;
    -moz-transition: background-color .2s, border-color .2s, color .2s;
    -o-transition: background-color .2s, border-color .2s, color .2s;
    transition: background-color .2s, border-color .2s, color .2s;
    
   /* font-family: 'ServicePulse Default', sans-serif;
    font-weight: 400;*/
    font-family: 'Gotham SSm A', 'Gotham SSm B'; font-weight: 400; font-style: normal;
    /* temporal patch for layout issues */
    line-height: 140%;
}
div#header a#header-logo {
    padding: 0px;
    padding-top: 2px;
    position: absolute;
    left: calc(50% - 80px);
}
div#header #side-menu-button svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}
div#header a#side-menu-button svg:hover {
    fill: #E3E3E3;
}

@media only screen and (max-width: 1100px) {
    #header-logo {
        display: none;
    }
}

/* Some header styles are moved to the webpack build */
div#header span#header\:info-progress {
    background-image: url(../images/iconset/rss_gray.svg);
    background-size: 16px 16px;
    background-repeat: no-repeat;
    background-origin: content-box;
    -webkit-transform: scaleX(-1);
    -moz-transform: scaleX(-1);
    -ms-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    transform: scaleX(-1);
    width: 16px;
    height: 16px;
    margin-top: 18px;
    display: inline-block;
    float: right;

    top: 10px;
}
div#header span#header\:info-progress.header\:info-progress-error {
    background-image: url(../images/iconset/rss_orange.svg);
}
div#header\:message-box {
    display: block;
    top: 30px;
    right: 0px;
    width: auto;
    height: auto;
    padding-bottom: 8px;
    display: none;

    /* New settings for fixing the messagebox in place */
    position: fixed;
    top: 4px;
    right: -8px;
    z-index: 10000;
}

.header\:message {
    position: relative;
    float: right;
    clear: both;
    display: block;
    width: auto;
    min-height: 34px;
    font-size: 0.85em;
    font-weight: bold;
    text-align: right;
    color: #eee;
    margin-top: 8px;
    margin-right: 8px;
    padding-left: 20px;
    padding-right: 20px;
    line-height: 34px;
    border: 0;
    background-color: rgba(0,0,0,0.7);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    radius: 4px;
    box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.1);
    -webkit-transition: height 0.3s ease-out, min-height 0.3s ease-out;
    transition: height 0.3s ease-out, min-height 0.3s ease-out;

    /* Overflow display */
    top: 34px;
    right: 21px;
}
div.header\:message.shrink {
    box-shadow: none;
    border-color: transparent;
    background-color: transparent;
    color: transparent;
    height: 0px;
    min-height: 0px;
    margin-top: 0px;
    z-index: 1000;
}

.keepontop {
    z-index: 1000;
}

div#footer span#footer\:logo {
    position: fixed;
    left: 4px;
    bottom: 40px;
    background-repeat: no-repeat;
    background-origin: content-box;
    display: block;
}

div#footer p#footer\:signature {
    position: relative;
    float: right;
    color: #fff;
    font-size: 0.8em;
    margin-top: 8px;
    margin-left: 16px;
    margin-right: 8px;
    display: inline-block;
}
div#footer p#footer\:domain {
    position: relative;
    float: left;
    color: #fff;
    font-size: 0.8em;
    margin-top: 8px;
    margin-left: 8px;
    margin-right: 16px;
    display: inline-block;
}

/* Card loading animation */
.spinner {
  margin: 80px auto;
  width: 80px;
  height: 40px;
  text-align: center;
  font-size: 10px;
}

.spinner > div {
  background-color: #FA9C19;
  height: 100%;
  width: 11px;
  display: inline-block;
  margin-left: 2px;
  margin-right: 2px;
  -webkit-transform-origin: bottom;
  transform-origin: bottom;
  
  -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
  animation: sk-stretchdelay 1.2s infinite ease-in-out;
}

.spinner .rect2 {
  -webkit-animation-delay: -1.1s;
  animation-delay: -1.1s;
}

.spinner .rect3 {
  -webkit-animation-delay: -1.0s;
  animation-delay: -1.0s;
}

.spinner .rect4 {
  -webkit-animation-delay: -0.9s;
  animation-delay: -0.9s;
}

.spinner .rect5 {
  -webkit-animation-delay: -0.8s;
  animation-delay: -0.8s;
}

@-webkit-keyframes sk-stretchdelay {
  0%, 40%, 100% { -webkit-transform: scaleY(0.02) }  
  20% { -webkit-transform: scaleY(1.0) }
}

@keyframes sk-stretchdelay {
  0%, 40%, 100% { 
    transform: scaleY(0.02)
    /*-webkit-transform: scaleY(0.02)*/
  }  20% { 
    transform: scaleY(1.0)
    /*-webkit-transform: scaleY(1.0)*/
  }
}



/* general styles */
h2 {
    color: #777;
    font-size: 1.8em;
    /* font-weight: bold; */
    letter-spacing: 0.05em;
}

a {
    text-decoration: none;
    outline: none;
}

[contenteditable="true"]:active,
[contenteditable="true"]:focus {
    border: none;
    outline: none;
    
    -webkit-user-select: all;
    -ms-user-select: all;
    user-select: all;
}

.tooltip:hover::after,
.tooltip.focused:after {
    background-color: #333;
    background-color: rgba(0,0,0,.8);
    box-shadow: 1px 1px 4px 0px #333;
    color: #eee;
    content: attr(tip);
    top: 0px;
    right: -200px;
    padding: 5px 15px 10px 15px;
    position: absolute;
    z-index: 98;
    width: 170px;
    font-size: 0.8em;
    -webkit-animation: tooltip-fade-in 0.75s ease 0s 1;
    -moz-animation: tooltip-fade-in 0.75s ease 0s 1;
    -o-animation: tooltip-fade-in 0.75s ease 0s 1;
    animation: tooltip-fade-in 0.75s ease 0s 1;
}
@-webkit-keyframes tooltip-fade-in {
    from {opacity:0;}
    to {}
}
@-moz-keyframes tooltip-fade-in {
    from {opacity:0;}
    to {}
}
@-o-keyframes tooltip-fade-in {
    from {opacity:0;}
    to {}
}
@keyframes tooltip-fade-in {
    from {opacity:0;}
    to {}
}

span#hvideo {
    position: fixed;
    display: block;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.75);
    z-index: 5000;
}
span#hvideo iframe {
    position: relative;
    margin: 0px auto;
    text-align: center;
    display: block;
    top: 0%;
}
