/*
 * ADOBE CONFIDENTIAL
 *
 * Copyright (c) 2015 Adobe Systems Incorporated. All rights reserved.
 *
 * NOTICE:  All information contained herein is, and remains
 * the property of Adobe Systems Incorporated and its suppliers,
 * if any.  The intellectual and technical concepts contained
 * herein are proprietary to Adobe Systems Incorporated and its
 * suppliers and are protected by trade secret or copyright law.
 * Dissemination of this information or reproduction of this material
 * is strictly forbidden unless prior written permission is obtained
 * from Adobe Systems Incorporated.
 */
html, body {
    height: 100%;
    overflow: hidden;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    
    border: 0;
    padding: 0;
    margin: 0;
    font-family: "San Francisco", "Helvetica Neue", "Lucida Grande", "Segoe UI";
    font-size : 12px;

    -webkit-font-smoothing: antialiased;

}

html.windows,
body.windows {
    font-family: Tahoma;
}

body.lighter {
    color: #4b4b4b;
}
body.light {
    color: #323232;
}
body.dark {
    color: #f0f0f0;
}
body.darker {
    color: #e1e1e1;
}

body.lighter .secondary-text {
    color: #606060;
}
body.light .secondary-text {
    color: #575757;
}
body.dark .secondary-text {
    color: #c2c2c2;
}
body.darker .secondary-text {
    color: #a3a3a3;
}


p {
    cursor: default;
}



#content {
    margin-right: auto;
    margin-left: auto;
    vertical-align: middle;
    width: 100%;
    height: 100%;
}

#panel-icon {
    vertical-align: middle;
    height: 78px;
    width: 100%;
    background-image: url('../icons/SP_x150_PreviewDevices_52_N.png');
    background-position: center center;
    background-repeat: no-repeat;
}

body.dark #panel-icon,
body.darker #panel-icon {
    background-image: url('../icons/SP_x150_PreviewDevices_52_N_D.png');
}

#content.not-logged-in #panel-icon  {
    background-image: url('../images/CreativeCloudAlert.svg');
}

#content.busy #panel-icon  {
    background-image: url('../images/wait_32.gif');
}

#billboard {
    font-size: 12px;
    font-weight: normal;
    text-align: center;
    margin: 20px;
}

#billboard p {
    display: none;
    padding: 0 10px;
}

@media (max-width: 205px) {
    #billboard a {
        display: none;
    }
}

@media (min-width: 206px) {
    #billboard a {
        font-size: 12px;
        text-decoration: none;
        position: relative;
        padding-bottom: 3px;
        white-space: nowrap;
    }

    #billboard a:after {
        content: '';
        width: 100%;
        position: absolute;
        left: 0;
        bottom: 1px;
        border-width: 0 0 1px;
        border-style: solid;
    }
}

body #billboard a {
    color: inherit;
}

#content.not-logged-in p.not-logged-in {
    display: block;
}

#content.no-internet p.no-internet {
    display: block;
}

#content.busy p.ready-to-pair,
#content.ready-to-pair p.ready-to-pair {
    display: block;
}

#content.no-devices #panel-icon {
    display: none;
}

#content div.no-devices-container,
#content div.no-devices-row,
#content div.no-devices-cell {
    display: none;
}

#content.no-devices div.no-devices-container {
    display: table;
    margin-left: 10px;
}

#content.no-devices div.no-devices-row {
    display: table-row;
    vertical-align: middle;
}

#content.no-devices div.no-devices-cell {
    display: table-cell;
    vertical-align: middle;
}

#content.no-devices p.no-devices {
    display: block;
    text-align: left;
}

.use-wifi-icon {
    background-repeat: no-repeat;
    background-position: center center;
    transition: .2s opacity;
    width: 36px;
    height: 36px;
}
body.lighter .use-wifi-icon,
body.light .use-wifi-icon {
    background-image: url("../images/ic_wifi_dark.svg");
}
body.dark .use-wifi-icon,
body.darker .use-wifi-icon {
    background-image: url("../images/ic_wifi.svg");
}

.use-usb-icon {
    background-repeat: no-repeat;
    background-position: center center;
    transition: .2s opacity;
    width: 36px;
    height: 36px;
}
body.lighter .use-usb-icon,
body.light .use-usb-icon {
    background-image: url("../images/ic_usb_dark.svg");
}
body.dark .use-usb-icon,
body.darker .use-usb-icon {
    background-image: url("../images/ic_usb.svg");
}

#version-string {
    display: none;
    font-size: 12px;
    padding-top: 20px;
    text-align: right;
}

#devices {
    height: 100%;
}

#device-container {
    height: 100%;
}

#device-list {
    list-style: none;
    padding: 0;
    margin: 0;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

.device {
    display: block;
    border-bottom-width: 1px;
    border-bottom-style: solid;
}

.user-notice {
    display: none;
    text-align: center;
    padding: 30px;
}

.panel-header {
    margin-bottom: 0;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    text-indent: 9px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.lighter .device, 
body.lighter .panel-header {
    border-bottom-color: #d1d1d1;
}

body.light .device , 
body.light .panel-header {
    border-bottom-color: #9c9c9c;
}

body.dark .device , 
body.dark .panel-header {
    border-bottom-color: #424242;
}

body.darker .device , 
body.darker .panel-header {
    border-bottom-color: #262626;
}

.panel-footer {
    display: table-cell;
    padding-top: 1em;
    margin-top: 0;
    border-top-width: 1px;
    border-top-style: solid;
    text-indent: 9px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.footer-spacer {
    display: table-cell;
    width: 14px;
    height: 100%;
}

body.lighter .panel-footer {
    border-top-color: #d1d1d1;
}

body.light .panel-footer {
    border-top-color: #9c9c9c;
}

body.dark .panel-footer {
    border-top-color: #424242;
}

body.darker .panel-footer {
    border-top-color: #262626;
}

body.lighter .panel-footer a {
    color: #4b4b4b;
}
body.light .panel-footer a {
    color: #323232;
}
body.dark .panel-footer a {
    color: #f0f0f0;
}
body.darker .panel-footer a {
    color: #e1e1e1;
}

.device-wrapper {
    font-size: 12px;
    padding: 0 5px;
}

.device-name {
    margin-right: 80px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-indent: 4px;
}

.device-resolution {
    float: right;
    width: 80px;
    margin: 0 4px;
    text-align: right;
}

.device-error {
    display: none;
}

.has-error .device-resolution {
    display: none;
}

.has-error .device-error {
    margin: 0 4px;
    float: right;
    display: block;
    width: 16px;
    height: 16px;
}

.tips {
  position: relative;
  text-decoration: none;
}
.tips:after {
  opacity: 0;
  height: 0px;
  position: absolute;
  z-index: 100;
  content: attr(aria-label);
  padding: 2px 6px;
  font-size: 11px;
  color: #000;
  background-color: #ffffca;
  box-shadow: 0px 0px 6px grey;
  display: block;
  pointer-events: none;
  text-align: center;
}

.device-wrapper .tips.active:hover:after {
  opacity: 1;
  position: relative;
  float: right;
  height: auto;
  left: -20px;
  top: -4px;
  white-space: nowrap;
}

.header-button-wrapper .tips.active:hover:after {
  opacity: 1;
  height: auto;
  width: 130px;
  left: -150px;
  text-indent: 0;
  white-space: normal;
}

.icon-warning {
  background-image: url("data:image/svg+xml;utf8, <svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='2 -2 18 18' enable-background='new 2 -2 18 18' xml:space='preserve'> <path fill='#FDC63D ' d='M10,4h2v6h-2V4z M10,11h2v2h-2V11z M10.2,0L3,15h16L11.7,0H10.2z'/> <rect x='10' y='4' width='2' height='6'/> <rect x='10' y='11' width='2' height='2'/></svg>");
  transition: .2s opacity;
}

.button-wrapper {
    margin: 10px;
}

#check-for-devices,
#refresh-devices,
#OK-button {
    cursor: pointer;
}

#check-for-devices:disabled {
    cursor: default;
}

.row-container {
    display:table;
    width: 100%;
    table-layout: fixed;
}

.header-label {
    display: table-cell;
}

#refresh-devices {
    display: table-cell;
    width: 24px;
    height: 24px;
}

.header-button-wrapper {
    display: table-cell;
    width: 24px;
    height: 100%;
    vertical-align: middle;
}

.header-spacer {
    display: table-cell;
    width: 6px;
    height: 100%;
}

.refresh-icon {
    background-repeat: no-repeat;
    background-position: center center;
    transition: .2s opacity;
}

.refresh-icon.spinning {
    -webkit-animation-name: rotate;
    -webkit-animation-duration: 1.5s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -webkit-transform-origin: 50% 50%;
}

@-webkit-keyframes rotate {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
    }
}

body.lighter .refresh-icon,
body.light .refresh-icon {
    background-image: url("../images/refresh_icon_dark.svg");
}
body.dark .refresh-icon,
body.darker .refresh-icon {
    background-image: url("../images/refresh_icon.svg");
}
body.lighter .refresh-icon:hover:not(.spinning),
body.light .refresh-icon:hover:not(.spinning) {
    background-color: rgb(220, 220, 220); 
    border: 1px solid rgb(153, 153, 153); 
}
body.dark .refresh-icon:hover:not(.spinning),
body.darker .refresh-icon:hover:not(.spinning) {
    background-color: rgb(50, 50, 50); 
    border: 1px solid rgb(117, 117, 117); 
}

.refresh-tip {
    display: block;
    float: right;
    width: 16px;
    height: 16px;
}

button {
    border-radius: 50px;
    display: inline-block;
    padding: 5px 20px 5px;
    font-family: "San Francisco", "Helvetica Neue", "Lucida Grande", "Segoe UI";
    font-size: 14px;
    outline: none;
}

body.lighter button {
    border: 1px solid rgb(75, 75, 75);
    color: rgb(75, 75, 75);
    background-color: inherit;
}

body.darker .has-error .device-name {
    color: #737373;
}

body.dark .has-error .device-name {
    color: #878787  ;
}

body.light .has-error .device-name {
    color: #808080 ;
}

body.lighter .has-error .device-name {
    color: #A8A8A8 ;
}

body.lighter button:disabled {
    color: rgb(181,181,181); 
    border: 1px solid rgb(231, 231, 231);
}

body.lighter button:active {
     background-color: rgb(75, 75, 75);
     color: rgb(220, 220, 220); 
}


body.light button {
    border: 1px solid rgb(51, 51, 51);
    color: rgb(51, 51, 51);
    background-color: inherit;
}

body.light button:disabled {
    color: rgb(153, 153, 153); 
    border: 1px solid rgb(173, 173, 173);
}

body.light button:active {
     background-color: rgb(83, 83, 83);
     color: rgb(220, 220, 220); 
}


body.dark button {
    border: 1px solid rgb(240, 240, 240);
    color: rgb(240, 240, 240);
    background-color: inherit;
}

body.dark button:disabled {
    color: rgb(117, 117, 117); 
    border: 1px solid rgb(94, 94, 94);
}

body.dark button:active {
     background-color: rgb(225, 225, 225);
     color: rgb(50, 50, 50); 
}


body.darker button {
    border: 1px solid rgb(225, 225, 225);
    color: rgb(225, 225, 225);
    background-color: inherit;
}

body.darker button:disabled {
    color: rgb(102, 102, 102); 
    border: 1px solid rgb(62, 62, 62);
}

body.darker button:active {
     background-color: rgb(225, 225, 225);
     color: rgb(50, 50, 50); 
}

/*
    Those classes will be edited at runtime with values specified
    by the settings of the CC application
*/
.hostFontColor{}
.hostFontFamily{}
.hostFontSize{}

/*font family, color and size*/
.hostFont{}
/*background color*/
.hostBgd{}
/*lighter background color*/
.hostBgdLight{}
/*darker background color*/
.hostBgdDark{}
/*background color and font*/
.hostElt{}
/*host links*/
.hostLink{}
