/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
/*
MIT Licensed

Custom theme for ngDialog.

Copyright (c) 2013-2015, Likeastore.com info@likeastore.com
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
*/



.ngdialog.ngdialog-theme-custom {
    display: flex;
    justify-content: center;
    color: #333;
}

.ngdialog.ngdialog-theme-custom .ngdialog-content {
  position: relative;
  margin: auto;
  width: 500px;
  max-width: 100%;
  padding: 20px;
  background-color: white;
  border-radius: 6px;
  box-shadow: 4px 4px 20px rgba(0,0,0,0.4);
}

.ngdialog.ngdialog-theme-custom.wide .ngdialog-content {
    width: 900px;
}

.ngdialog.ngdialog-theme-custom.w600 .ngdialog-content {
    width: 600px;
}

.ngdialog.ngdialog-theme-custom.w700 .ngdialog-content {
    width: 700px;
}
.ngdialog.ngdialog-theme-custom.w800 .ngdialog-content {
    width: 800px;
}

.ngdialog.ngdialog-theme-custom.download-clients .ngdialog-content {
    width: 790px;
    min-height: 556px;
    max-height: 756px;
    padding:0px;
    border-radius: 8px;
    /*flex: 0 0 90%;*/
    display: flex;
}

.ngdialog.ngdialog-theme-custom.settings-content .ngdialog-content {
    width: 590px;
    min-height: 556px;
    max-height: 756px;
    padding:0px;
    border-radius: 8px;
    /*flex: 0 0 90%;*/
    display: flex;
}

.ngdialog.ngdialog-theme-custom .ngdialog-content h1,
.ngdialog.ngdialog-theme-custom .ngdialog-content h2,
.ngdialog.ngdialog-theme-custom .ngdialog-content h3,
.ngdialog.ngdialog-theme-custom .ngdialog-content h4,
.ngdialog.ngdialog-theme-custom .ngdialog-content h5,
.ngdialog.ngdialog-theme-custom .ngdialog-content h6,
.ngdialog.ngdialog-theme-custom .ngdialog-content p,
.ngdialog.ngdialog-theme-custom .ngdialog-content ul,
.ngdialog.ngdialog-theme-custom .ngdialog-content li {
  color: inherit;
}

.ngdialog.ngdialog-theme-custom .ngdialog-close {
  cursor: pointer;
  position: absolute;
  right: 0;
  top: 0;
}

.ngdialog.ngdialog-theme-custom .ngdialog-close:before {
  background: transparent;
  color: #bbb;
  content: "\00D7";
  font-size: 26px;
  font-weight: 400;
  height: 30px;
  line-height: 26px;
  position: absolute;
  right: 3px;
  text-align: center;
  top: 3px;
  width: 30px;
}

.ngdialog.ngdialog-theme-custom .ngdialog-close:hover:before,
.ngdialog.ngdialog-theme-custom .ngdialog-close:active:before {
  color: #777;
}

.ngdialog.ngdialog-theme-custom input,
.ngdialog.ngdialog-theme-custom textarea {
  background: #fcfcfc;
  border: 1px solid #BFBFBF;
}

.ngdialog-overlay {
    background: rgba(0,0,0,0.6);
}

.ngdialog.ngdialog-theme-custom h1 {
    font-size: 20px;
    font-weight: normal;
    margin-bottom: 16px;
}

.ngdialog.ngdialog-theme-custom .field-wrapper {
    padding: 16px 0;
}

.ngdialog.ngdialog-theme-custom .field-wrapper input[type="text"], .ngdialog.ngdialog-theme-custom .field-wrapper input[type="password"] {
    width: 100%;
    height: 28px;
    padding: 0 8px;
    font-size: 14px;
    border-radius: 2px;
    border: 1px solid #b9b9b9;
}


.ngdialog.ngdialog-theme-custom input.ng-invalid {
    border-color: rgba(246, 94, 81, 0.61) !important;
}

.ngdialog.ngdialog-theme-custom .buttons-wrapper {
    padding-top: 16px;
}

.ngdialog.ngdialog-theme-custom .buttons-wrapper a {
    margin: 4px 10px;
    font-size: 17px;
}

.ngdialog.ngdialog-theme-custom .buttons-wrapper .simple-link-submit {
    border: none;
    margin: 0 10px;
    padding: 0;
    font-size: 17px;
}

.ngdialog.ngdialog-theme-custom .buttons-wrapper .primary-button {
    color: #00770b;
    font-weight: bold;
}

.ngdialog.ngdialog-theme-custom select {
    -webkit-appearance: none;
    width: 460px;
    padding: 8px 32px 8px 16px;
    border: 1px solid #b9b9b9;
    border-radius: 6px;
    font-size: 16px;
    outline: none;
    cursor: pointer;
    background-color: white;
    background-image: url('../images/select_arrow.svg');
    background-repeat: no-repeat;
    background-position: 440px;
}

.ngdialog.ngdialog-theme-custom .checklist {
    max-height: 320px;
    overflow: auto;
    margin-left: 20px;
}

.ngdialog.ngdialog-theme-custom .checklist label {
    display: block;
    line-height: 32px;
    cursor: pointer;
}

.ngdialog.ngdialog-theme-custom .checklist label input[type="checkbox"] {
    margin-right: 5px;
}

.ngdialog.ngdialog-theme-custom.v2 .ngdialog-content{
    padding: 0px;
    display: flex;
    flex-direction: column;
    border-radius: 4px;
    box-shadow: 10px 10px 20px rgba(0,0,0,0.4);
    width: 380px;
    height: 180px;
}

.ngdialog.ngdialog-theme-custom.v2 .title-bar{
    background-color: #e8e8e8;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.ngdialog.ngdialog-theme-custom.v2 .body-bar{
    background-color: white;
    flex: 1 1 auto;
    color: #444444;
}


.ngdialog.ngdialog-theme-custom.v2 .body-scroll{
    padding: 8px;
    text-align: center;
}

.ngdialog.ngdialog-theme-custom.v2 .buttons{
    text-align: center;
    flex: 0 0 44px;
    background-color: white;
    padding: 4px 0;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    margin-bottom: 10px;
}

.ngdialog.ngdialog-theme-custom.v2 .section-button.primary {
    color: #2aa300;
}

.ngdialog.ngdialog-theme-custom.v2 .section-button{
    margin: 4px;
    background-color: #eeeeee;
    padding: 8px 16px;
    border-radius: 3px;
    color: #777777;
}

.ngdialog.ngdialog-theme-custom.v2 .section-button:hover {
    background-color: #67C048;
    color: white;
}




.ngdialog.ngdialog-theme-custom.v2 .ngdialog-content h1{
    font-size: 14px;
    margin: 0;
    padding: 8px 16px;
    font-weight: 600;
    color: #444444;
}