/*
Copyright (C) 2017  Cloudbase Solutions SRL

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

@import '../variables.scss';

.root {
  padding-top: 150px;
  padding-bottom: 220px;
  height: 100%;
  box-sizing: border-box;
  flex-flow: column;
  display: flex;
  .stepTitle {
    font-weight: $weight-light;
    font-size: 32px;
    color: #0056B8;
    letter-spacing: -0.81px;
    text-align: center;
    background-color: #FFF;
    width: $wizard-content-width;
    margin: 0 auto 60px;
  }
  :global {
    .cloudCount_1 {
      margin: 0 auto;
      width: 33.3%;
      padding-left: 64px;
    }
    .cloudCount_2 {
      margin: 0 auto;
      width: 66.6%;
      padding-left: 32px;
    }
  }
}
.container {
  flex: 1;
  margin: 0 auto;
  padding: 0px 32px 70px;
  overflow-y: auto;
  width: $wizard-content-width;

}
.breadcrumbsWrapper {
  text-align: center;
  .breadcrumbs {
    span {
      display: inline-block;
      margin-right: 7px;
      letter-spacing: -0.4px;
      color: $gray;
      &:after {
        content: " ";
        background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iN3B4IiBoZWlnaHQ9IjEzcHgiIHZpZXdCb3g9Ii0xIC0xIDcgMTMiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+PHBvbHlsaW5lIGlkPSJQYWdlLTEtQ29weSIgc3Ryb2tlPSIjNjE2NzcwIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIuNTAwMDAwLCA1LjUwMDAwMCkgcm90YXRlKC0yNzAuMDAwMDAwKSB0cmFuc2xhdGUoLTIuNTAwMDAwLCAtNS41MDAwMDApICIgcG9pbnRzPSItMyA4IDIuNSAzIDggOCI+PC9wb2x5bGluZT48L3N2Zz4=');
        width: 7px;
        height: 13px;
        display: inline-block;
        margin-left: 5px;
        margin-top: 3px;
        float:right;
      }
      &.selected {
        color: $blue;
        &:after {
          background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iN3B4IiBoZWlnaHQ9IjEzcHgiIHZpZXdCb3g9Ii0xIC0xIDcgMTMiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+PHBvbHlsaW5lIGlkPSJQYWdlLTEtQ29weSIgc3Ryb2tlPSIjMDA1NkI4IiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIuNTAwMDAwLCA1LjUwMDAwMCkgcm90YXRlKC0yNzAuMDAwMDAwKSB0cmFuc2xhdGUoLTIuNTAwMDAwLCAtNS41MDAwMDApICIgcG9pbnRzPSItMyA4IDIuNSAzIDggOCI+PC9wb2x5bGluZT48L3N2Zz4=');
        }
      }
      &:last-child {
        margin-right: 0;
        &:after {
          display: none;
        }
      }
    }
  }
}


.wizardControls {
  position: absolute;
  bottom: 50px;
  width: $wizard-content-width;
  button {
    width: 160px;
    &.prev {
      float: left;
    }
    &.next {
      float: right;
    }
  }
  .buttons {
    margin-bottom: 80px;
    &:after {
      content: " ";
      clear: both;
      display: block;
      height: 0;
    }
  }
}
.cloudSelection {
  padding-left: 85px;
  width: 448px;
  height: 32px;
  box-sizing: border-box;
  float: left;
  img {
    margin-right: 32px;
    &:last-child {
      margin-right: 0;
    }
  }
}
