﻿@import url("https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700");

/*v3 Fixes for pages with menu*/

/*For rem used in v5 without dstroying v3 menu*/
html {
    font-size: 10px;
}

/*Nukes any v3 backgrounds and replaces with v5 background*/
body {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    font-size: 12px;
}

.hide-element {
    display: none;
}

/*Provides line to encase v3 menu if shown*/
.head-container.container {
    border-right-color: #343434;
    border-left-color: #343434;
    border-bottom-width: 1px;
    border-bottom-style: solid;
}

/*v5 Spa Menu*/
.spaMenu {
    height: 55px;
    width: 100%;
    background: #474d55;
    box-shadow: 0 3px 3px -2px rgba(0, 0, 0, 0.4);
    font-size: 1.4rem;
    line-height: 1.42857;
    position: relative;
}

.spaMenu .pebbleLogo {
    float: left;
    height: 25px;
    width: auto;
    padding-top: 15px;
    padding-left: 17px;
}

.spaMenu .pebbleLogo-button {
    padding: 0 17px 15px 0;
}

.spaMenu .externals__spa-button-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    float: right;
}

.spaMenu .externals__spa-button-container .externals__spa-button {
    display: flex;
    justify-content: center;
    padding: 15px;
    align-items: center;
    color: #FFF;
    fill: #fff;
    border-left: 1px solid #5b676b;
}

.spaMenu .externals__spa-button-container .externals__spa-button:hover {
    background: #595E69;
}

.spaMenu .externals__spa-button-container .externals__spa-button svg {
    width: 25px;
    height: 25px;
}

.spaMenu .logout {
    float: right;
    width: 53px;
    border: 0;
    border-left-style: solid;
    border-right-style: solid;
    border-left-color: #5B676B;
    border-left-width: 1px;
    border-right-color: #474d55;
    border-right-width: 1px;
    color: #ffffff;
    font-family: pebble-font;
    font-size: 3.5rem;
    height: 55px;
    line-height: 55px;
    vertical-align: middle;
    text-align: center;
}

a.logout {
    text-decoration: none;
}

.logout:hover {
    background-color: #5D6269;
}
a.logout img {
    height:25px;
}

/*Main containers for v5 stuff*/

/*Sets up global v5 properties, 1000px max instead of 1300 as in v5 to fit with v3*/
.v5main {
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 10px;
    max-width: 1000px;
    margin-right: auto;
    margin-left: auto;
}

/*container for actual page content*/
.v5innerMain {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 20px;
    margin-bottom: 40px;
}

/*Normal v5 content container*/
.v5content {
    color: #808994;
    line-height: 22pt;
    margin-top: 20px;
    font-size: 1.4rem;
}

/*Grey background container used commonly in v5*/
.v5greyArea {
    background-color: #F7F7F7;
    border-left: 0;
    border-right: 0;
    border-top: 1px;
    border-bottom: 1px;
    border-style: solid;
    border-color: #D5DDDF;
    margin-top: 20px;
    margin-bottom: 20px;
}

/*Blue background container*/
.v5darkerCardArea {
    background-color: #eaf2f4;
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    border-radius: 3px;
    padding: 30px;
    padding-top: 20px;
}

.v5darkerCardArea p:first-of-type {
    margin-top: 0;
}

/*External Services store displays*/

/*Removes spaces between store divs so can use max width*/
.v5blockContainer {
    font-size: 0;
}

/*Used for stores that can be added (not current stores the user has) to add dynamic display*/
.v5storeBlock {
    display: inline-block;
    border: 1px;
    border-style: solid;
    border-color: #D5DDDF;
    line-height: 83px;
    width: 48.5%;
    cursor: pointer;
    box-sizing: border-box;
    margin-top: 20px;
}

/*Fixed height of images for addable store images and allows width resize*/
.v5storeBlock img {
    height: 43px;
    width: auto;
    padding: 20px;
    margin-left: 10px;
    float: left;
}

/*Each addable store block on the left (2 colums) pushes the right one over slightly*/
.v5storeBlock:nth-child(odd) {
    margin-right: 3%;
}

/*'+' icons on the right of addable store blocks positioning*/
.v5storeBlock img:nth-child(even) {
    float: right;
    margin-left: 0;
    margin-right: 10px;
    height: 30px;
    margin-top: 6px;
}

/*Addable store block highlighting on hover*/
.v5storeBlock:hover {
    background-color: #F7F7F7;
}

.v5storeBlock:hover img:nth-child(even) {
    opacity: 0.9;
}

/*Store block for currently setup stores*/
.v5currentStoreBlock {
    width: 100%;
    cursor: pointer;
    border: 0;
    border-bottom: 1px;
    border-style: solid;
    border-color: #D5DDDF;
}

/*Current user setup store block for display on delete page*/
.v5currentStoreBlock.smaller {
    width: 60%;
    border-bottom: 0;
    cursor: default;
}

/*Positioning of currently setup store block icons*/
.v5currentStoreBlock img, .v5currentStoreBlock__img {
    height: 43px;
    width: auto;
    padding: 20px;
    margin-left: 10px;
    vertical-align: middle;
}

/*Name of setup stores in currentStoreBlock*/
.storeName {
    height: 83px;
    line-height: 83px;
    margin-right: 30px;
    vertical-align: middle;
    float: right;
}

/*Positions and sizes the 'x' for deleting a setup store*/
.v5currentStoreBlock img:nth-child(even) {
    float: right;
    margin-left: 0;
    margin-right: 10px;
    height: 14px;
    margin-top: 15px;
    opacity: 0.5;
}

/*Highlighting of 'x' for deletion on hover*/
.v5currentStoreBlock:hover img:nth-child(even) {
    opacity: 1.0;
}

/*Fix because the setup store container has this border already*/
.v5currentStoreBlock:last-of-type {
    border-bottom: 0;
}

.v5ExternalHeader {
    padding: 70px 0px 20px 0px;
}

@media (min-width: 1120px) {
    .v5ExternalHeader {
        padding: 20px 0px;
    }
}

/*Help button*/
.v5HelpBtn {
    right: 20px;
    bottom: 10px;
    position: fixed;
    background: #06a5d1;
    border: 1px solid transparent;
    height: 34px;
    width: 83px;
    color: #fff;
    padding: 0;
    -webkit-box-shadow: 0px 2px 5px 0px rgba(50,50,50,0.2);
    box-shadow: 0px 2px 5px 0px rgba(50,50,50,0.2);
    -webkit-border-radius: 24px;
    -moz-border-radius: 24px;
    border-radius: 24px;
    font-size: 1.4rem
}

.v5HelpBtnContent {
    display: block;
    margin-left: -2px;
}

.v5HelpBtnContent .icon-help-symbol {
    display: inline-block;
    font-size: 1.4rem;
    width: 20px;
    height: 20px;
    line-height: 1.8rem;
    vertical-align: middle;
    border: 1px solid #fff;
    border-radius: 24px;
}

/*v5 Titles and SubTitles*/

.v5pageTitle {
    color: #5C646E;
    font-size: 2.1rem;
    line-height: 1.1;
    letter-spacing: -0.05rem;
    padding-bottom: 20px;
    padding-top: 20px;
}

.v5OrgTitle {
    margin: 0;
    padding: 0;
    color: #5C646E;
    font-size: 2.8rem;
    font-weight: 400;
}

/*Used for section titles on page*/
.v5title {
    color: #5C646E;
    font-size: 1.8rem;
    line-height: 1.1;
    letter-spacing: -0.025rem;
    padding-bottom: 20px;
    padding-top: 20px;
}

/*Used under titles for description of title*/
.v5subTitle {
    color: #5C646E;
    font-size: 1.8rem;
    line-height: 22pt;
    letter-spacing: -0.025rem;
    padding-top: 20px;
}

.v5subTitle.bold {
    font-weight: 600;
}

.v5subTitle.bold span {
    font-weight: normal;
}

/*Title for addable services that have names and descriptions instead of icons (linked accounts only atm)*/
.v5title.noSpacing.v5cardTitle {
    padding: 0;
    margin: 0;
    margin-top: 20px;
    line-height: 22px;
    float: left;
}

/*Title description for store (card) titles*/
.v5titleDesc {
    float: left;
    color: #808994;
    font-size: 1.4rem;
    line-height: 22px;
}

/*Title for setup services that don't have icons (linked)'*/
.serviceTitle {
    color: #5C646E;
    font-size: 2.2rem;
    line-height: 1.1;
    letter-spacing: -0.025rem;
}

/* Spacers and position fixes*/

.v5topMargin {
    margin-top: 20px;
}

.v5spacer {
    margin-top: 20px;
}

.subTitleSpacer {
    margin-top: 10px;
}

.v5button.leftMargin {
    margin-left: 20px;
}

.leftPadding {
    padding-left: 30px;
}

.bottomMargin {
    margin-bottom: 20px;
}

/*Separators*/

/*Standard v5 separator*/
hr {
    border: 0;
    margin-bottom: 20px;
    border-top: 1px;
    border-style: solid;
    border-color: #D5DDDF;
}

hr.slimline {
    border: 0;
    border-top: 1px;
    border-style: solid;
    border-color: #D5DDDF;
}

/*Dashed v5 blue separator*/
hr.blue {
    margin-top: 20px;
    border-style: dotted;
    border-color: #06a5d1;
}

hr.blue.noBottomMargin {
    margin-bottom: 0;
}

/*v5 Buttons*/

/*Standard blue button*/
.v5button {
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: #06a5d1;
    border-color: transparent;
    border-style: solid;
    border-width: 1px;
    border-radius: 3px;
    font-size: 1.4rem;
    height: 42px;
    color: #ffffff;
    cursor: pointer;
    line-height: 1.42857;
    text-align: center;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 1px;
    padding-bottom: 0;
    box-sizing: border-box;
}

/*Select colour emulation of opacity*/
.v5button:hover {
    background-color: #06bae5;
}

.v5button.v5anchor {
    width: auto;
    height: auto;
    display: inline;
    margin: 0;
    padding: 0;
    position: relative;
    cursor: pointer;
    border: none;
    background: none;
    text-decoration: none;
    color: #06a5d1;
    font-weight: 400;
}

.v5button.v5anchor:hover, .v5button.v5anchor:focus {
    text-decoration:underline;
    color: #06a5d1;
}

.v5button.v5anchor:active {
    -webkit-box-shadow:none;
    box-shadow:none
}

/* v5 grey button, not necesarily cancel!*/
.v5button.cancel {
    background-color: #282828;
    opacity: 0.9;
    text-decoration: none;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 11px;
    padding-bottom: 10px;
}

.v5button.cancel:hover, .v5button.danger:hover  {
    opacity: 1.0;
}
.v5button.cancel[disabled] {
    background: grey;
    opacity: 0.2;
}

.v5button.danger {
    background-color: #CC2C3A;
    opacity: 0.9;
    text-decoration: none;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 11px;
    padding-bottom: 10px;
    margin-right:5px;
}
.v5button.danger:focus {
    border-color: #06a5d1;
}
.v5button.alt {
    background: transparent;
    color: #4A4A4A;
    border: 1px solid #C2C2C2; 
    margin-right:5px;
}

/*Styling for button class used as 'a' tag*/
.v5button.link {
    text-decoration: none;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 11px;
    padding-bottom: 10px;
}

.v5button-no-style {
    border: none;
    background: none;
    position: relative;
}

.v5button-no-style:active {
    box-shadow: none;
}

/*Height setting for title height buttons*/
.v5pageTitle img {
    height: 43px;
    width: auto;
}

/*Title button positioning*/
.v5button.cancel.v5close {
    float: right;
    margin-top: -18px;
}

.centralButton {
    width: 100%;
    text-align: center;
}

.centralButton button {
    margin-top: 0;
}

/*Customised table structure! But only two v5 tables anyway, and they're both wildly different'''*/
.v5table {
    margin-top: 20px;
    width: 100%;
}

.v5th {
    background-color: #F7F7F7;
    min-width: 120px;
    padding-left: 30px;
    font-weight: bold;
    letter-spacing: -0.05rem;
    color: #474D55;
    text-transform: uppercase;
}

.v5td {
    color: #808994;
    line-height: 22pt;
    padding-left: 30px;
    word-wrap: break-word;
    max-width: 260px;
}

.v5tr {
    text-align: left;
    line-height: 1.1;
    font-size: 1.4rem;
    border: 0;
    border-bottom: 1px;
    border-style: solid;
    border-color: #D5DDDF;
    height: 83px;
    vertical-align: middle;
}

.v5tr:hover img {
    opacity: 1.0;
}

.v5tr th:nth-child(4) {
    min-width: 54px;
    width: 54px;
}

.v5td img {
    height: 14px;
    opacity: 0.5;
    padding: 20px;
    vertical-align: middle;
}

.v5tr.clickable {
    cursor: pointer;
}

.v5tdTempAccess {
    width: 100px;
    font-weight: 600;
    color: #5C646E;
}

/*v5 Input styling*/

input[type=text], input[type=password] {
    border: 1px;
    display: block;
    border-style: solid;
    border-color: #BCBCBC;
    color: #5C646E;
    outline-color: #5C646E;
    line-height: 1.42857;
    font-weight: 300;
    padding: 10px;
    box-sizing: border-box;
    min-width: 40%;
}

input[type=text].extend {
    min-width: 55%;
}

input[type=checkbox] {
    margin-right: 15px;
    width: 20px;
    height: 20px;
    background-color: white;
    vertical-align: middle;
    cursor: pointer;
    box-sizing: border-box;
    padding: 0;
    -webkit-appearance: checkbox;
    border: initial;
}

.v5darkerCardArea input[type=email] {
    border: 1px;
    display: inline-block;
    border-style: solid;
    border-color: #BCBCBC;
    color: #5C646E;
    outline-color: #5C646E;
    line-height: 1.42857;
    font-weight: 300;
    padding: 10px;
    height: 43px;
    box-sizing: border-box;
    min-width: 40%;
}

select {
    border: 1px;
    display: block;
    border-style: solid;
    border-color: #BCBCBC;
    color: #5C646E;
    outline-color: #5C646E;
    line-height: 1.42857;
    font-weight: 300;
    padding: 10px;
    box-sizing: border-box;
    min-width: 40%;
}

.v5darkerCardArea select {
    border: 1px;
    display: inline-block;
    border-style: solid;
    border-color: #BCBCBC;
    color: #5C646E;
    outline-color: #5C646E;
    line-height: 1.42857;
    font-weight: 300;
    padding: 10px;
    box-sizing: border-box;
    min-width: 40%;
    margin-right: 20px;
}

.v5divInputHolder {
    min-width: 40%;
}

.v5divInputHolder select {
    min-width: 100%;
}

.v5divInputHolder input[type=email] {
    min-width: 100%;
}

.v5divInputHolder textarea {
    min-width: 80%;
    border: 1px;
    padding: 10px;
    padding-right: 12px;
    display: block;
    border-style: solid;
    border-color: #BCBCBC;
    color: #5C646E;
    outline-color: #5C646E;
    line-height: 1.42857;
    font-weight: 300;
    resize: none;
}

/*v5 Asset table for externals*/
.v5assetTable-wrapper {
    width: 100%;
    overflow: auto;
}

.v5assetTable {
    margin-top: 20px;
    margin-bottom: 20px;
    width: 100%;
    border: 0;
    border-top: 1px;
    border-bottom: 1px;
    border-style: solid;
    border-color: #D5DDDF;
}

.v5assetTable tr td {
    display: block;
    flex: 3;
}

.v5assetTable tr td.v5assetIcon {
    flex: 1;
}

.v5assetTable tr td.v5assetTableWrap {
    flex: 14;
}

.v5assetTr {
    display: flex;
    border: 0;
    border-bottom: 1px dotted #06a5d1;
    border-right: 1px solid transparent;
    line-height: 1.42857;
    font-size: 1.4rem;
    font-weight: 300;
    justify-content: space-between;
    padding-top: 14px;
    padding-bottom: 14px;
    align-items: center;
    box-sizing: border-box;
}

.v5assetTableName {
    color: #5C646E;
    font-size: 1.8rem;
    font-weight: normal;
    letter-spacing: -0.025rem;
    line-height: 2.3rem;
    text-decoration: underline;
    margin: 0;
}

.v5workspaceTableName {
    color: #5C646E;
    font-size: 1.8rem;
    font-weight: normal;
    letter-spacing: -0.025rem;
    line-height: 2.3rem;
    text-decoration: underline;
    padding-bottom: 6px;
    padding-top: 7px;
}

.v5shareBlock {
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    -ms-border-radius: 2px;
    border-radius: 2px;
    background-color: #78952c;
    padding: 3px 6px 3px 6px;
    margin-right: 1px;
    margin-bottom: 2px;
    color: #ffffff ;
    border: transparent;
    text-transform: uppercase;
    display:inline-block;
}

.v5shareBlock.is-task {
    background-color: #e3a460 ;
}

.v5shareBlock.single-use {
    background-color: #e3a460 ;
}

.v5shareBlock.collaboration {
    background-color: #9e95d6 ;
}

.v5shareBlock.for-assessement {
    background-color: lightskyblue; /* ??? */
}

.v5assetTableInfo {
    color: #5C646E;
    font-size: 1.3rem;
    font-weight: 300;
    line-height: 1.5rem;
    margin: 0;
    margin-top: -4px;
    white-space: normal;
}

.v5assetTable .v5assetTr:last-of-type {
    border: 0;
}

.v5colourMod {
    display: inline-block;
    border-radius: 2px;
    font-size: 1.3rem;
    height: 22px;
    line-height: 1.5rem;
    margin-right: 4px;
    padding-left: 3px;
    padding-right: 6px;
    text-transform: uppercase;
}

.v5assetIcon {
    padding-left: 20px;
    padding-right: 19px;
    width: 32px;
    font-size: 3.2rem;
    line-height: 2.3rem;
}

.v5iconWidth {
    width: 100px;
    padding-left: 0;
    padding-right: 0;
}

.v5assetTableWrap {
    white-space: nowrap;
    max-width: 466px;
    padding-right: 20px;
}

.v5workspaceTableWrap {
    white-space: nowrap;
    padding-right: 20px;
}

.v5assetStoreIcon {
    opacity: 0.5;
}

.v5assetTr img {
    vertical-align: middle;
}

.v5assetTypeIcon {
    width: 32px;
    height: 32px;
    border-radius: 2px;
    font-family: pebble-font;
    font-size: 3.2rem;
    line-height: 1;
    margin: 0;
    position: absolute;
}

.v5assetStoreCount {
    font-weight: 800;
    line-height: inherit;
    margin-left: 8px;
    text-align: center;
    vertical-align: middle;
    margin-bottom: 100px;
}

.v5assetStoreIconActive {
    opacity: 1.0;
}

.v5collabHolder {
    line-height: 1.5rem;
    font-size: 1.3rem;
}

.v5collabIconHolder {
    background-color: #9E95D6;
    border-radius: 2px;
    height: 22px;
    text-transform: uppercase;
    margin: 0;
    margin-right: 4px;
    margin-bottom: 2px;
    padding: 0;
    padding-left: 3px;
    padding-right: 6px;
}

/*Hyperlink styles*/

a {
    color: #06A5D1;
}

.v5workspaceTableName a {
    color: #5C646E;
    text-overflow: ellipsis;
    overflow-x: hidden;
    display: inline-block;
    width: 100%;
    padding-left: 1px;
}

.workSpaceTr.v5assetTr .v5assetIcon {
    flex: 0 0 auto;
    padding-right: 20px;
}

.v5assetTableName a {
    color: #5C646E;
    text-overflow: ellipsis;
    overflow-x: hidden;
    display: inline-block;
    width: 100%;
}

.v5VerticallyAlignedFlex {
    display:flex;
    display:-webkit-box;
    display:-moz-box;
    display:box;
    display:-webkit-flex;
    display:-moz-flex;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-align:center;
    -moz-box-align:center;
    box-align:center;
    -webkit-align-items:center;
    -moz-align-items:center;
    -ms-align-items:center;
    -o-align-items:center;
    align-items:center;
    -ms-flex-align:center;
}

.v5back-to-external-portal {
    position: fixed;
    top: 70px;
    left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;

}

.v5button.v5back-to-external-portal {
    margin-top: 0;
    padding: 5px 16px 5px 7px;
    opacity: 1;
    background: #575f68;
}

.v5back-to-external-portal .icon-thin-arrow-left {
    font-size: 1.2rem;
}