/* You can add global styles to this file, and also import other style files */

html, app-root, app-login {
    width: 100%;
    height: 100%;
    display: inline-block;
}

body
{
    font-family: Arial, Helvetica, sans-serif;
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin: 0;
}

input[type=text], input[type=password], textarea, select {
    height: 35px;
    border-radius: 0;
    border: 1px solid #00000033;
}

header {
    border-bottom: 1px solid black;
}

.float-right {
  float: right;
}

.invisible {
  visibility: hidden;
}

.hidden {
  display: none;
}

.button-action {
    color: white;
    height: 4vh;
    background-color: orange;
    min-width: 100px;
    border-radius: 20px;
    cursor: pointer;
    padding: 0 10px;
}

.button-action.delete {
  background-color: red;
}

.button-action:disabled {
    background-color: gray;
}

.button-action:hover:enabled {
    background-color: salmon;
}

.link-action {
    cursor: pointer;
    text-decoration: underline;
    color: black;    
}

.top-menu-item {
    display: inline-block;
    background-color: lightgray;
    border-radius: 5px;
    border: 2px solid black;
    text-decoration: none;
    color: black;
    padding: 5px;
    margin: 0 5px;
    height: 27px
}

.top-menu-item.active {
    background-color: white;
    border-bottom-color: white;
    border-radius: 0;
    position: relative;
    top: 1px;
}

.left-menu {
    width: 300px;
    background-color: #5A8FA7;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    vertical-align: top;
}

.left-menu .top-menu-item {
    width: 280px;
    margin: 5px;
    padding: 12px 5px 5px 5px;
}

.left-menu .top-menu-item.active {
    border-bottom-color: black;
    border-right-color: white;
    top: 0px;
    left: 7px;
}

.main-content {
    vertical-align:top;
}

.page {
  height: 100%;
  overflow: auto;
  display: block;
}

.link-action:hover {
    text-decoration: dashed;
}

.content {
    width: 100%;height: 
    calc(100% - 90px);
}

.main-content-data {
    overflow: auto;
    height:100%
}

.logo-wrapper {
    display: block;
    width: 30vw;
    margin: 0 auto;
    padding: 12vh 0;
}

.logoWrapper {
    width: 100%;
}

#logo {
    height: 50px;
    width: 250px;
    color: transparent;
    background-image: url('/assets/images/logo7tech.svg');
    background-repeat: no-repeat;
    display: block;
    background-position: center;
}

.logoWrapper .dropdown, .logoWrapper .dropdown-content {
    width: 80px;
    text-transform: uppercase;
}

.logoWrapper .dropbtn {
    text-transform: uppercase;
}


/* Style The Dropdown Button */
.dropbtn {
    background-color: #4CAF50;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
  }
  
  /* The container <div> - needed to position the dropdown content */
  .dropdown {
    position: relative;
    display: inline-block;
    text-align: center;
  }
  
  /* Dropdown Content (Hidden by Default) */
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }
  
  /* Links inside the dropdown */
  .dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }
  
  /* Change color of dropdown links on hover */
  .dropdown-content a:hover {background-color: #f1f1f1}
  
  /* Show the dropdown menu on hover */
  .dropdown:hover .dropdown-content {
    display: block;
  }
  
  /* Change the background color of the dropdown button when the dropdown content is shown */
  .dropdown:hover .dropbtn {
    background-color: #3e8e41;
  }

.login-panel 
{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    border: 1px solid lightgray;
    padding: 15px;
    box-shadow: 2px 2px gray;
    background-color: #5A8FA7;
    color: white;
}

.login-panel a {
  color: white;
}

.login-panel input[type=text], .login-panel input[type=password] {
  width: calc(100% - 10px);
}

.login-panel button.login, .login-panel asl-google-signin-button.login{
  min-width: 65%;
}

.login-panel asl-google-signin-button.login {
  display: inline-block;
}

.login-panel button.login-facebook 
{
  background-color: #006DB8;
  min-width: 65%;
  border: 1px solid gray;
  height: 32px
}

.alert  {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
    border:1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.25rem;
    padding: 2rem;
    box-shadow: 0 5px 10px -5px rgba(0, 0, 0, 0.5);
    transition:  all 0.2s ease-in-out;
    z-index: 1003;
}
  
.alert.info {
    background: green;
    color: white;
}

.alert.error {
    background: #f65656;
    color: white;
}

.alert.visible {
    transform: translate(-50%, -120%);
}

.data-table {
    border-collapse: collapse;
}
.data-table td{
    border: 1px solid black
}

.no-data-table td{
    border: 0
}

.user-disabled {
    background-color: lightgray;
}

.role-application {
    background-color: #4CAF50;
    vertical-align: middle;
}

.role-application-name {
    font-weight: bold;
    color: white;
}

.role-name {
    font-weight: bold;
    font-style: italic;
    color: lightcyan;
}

.modal {
    position: fixed; /* Stay in place */
    z-index: 1001; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal .modal-content {
    position: absolute;
    left: 50%;
    top: -50%;
    transform: translate(-50%, -50%);
    background-color: #fefefe;
    padding: 20px;
    border: 2px solid #888;
    width: 60%;
    box-shadow: 2px 2px black;
    opacity: 0;
    transition:  all 0.2s ease-in-out;
    font-family: courier;
    font-size: 2em;
}

/* The Close Button */
.modal .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.modal .close:hover,
.modal .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.popup {
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    display: none;
}

.popup.visible {
    display: block;
}

/* Modal Content/Box */
.popup .popup-content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: #fefefe;
    padding: 20px;
    border: 2px solid #888;
    width: 80%;
    box-shadow: 2px 2px black;
    transition:  all 0.2s ease-in-out;
}

.popup .title {
    display: inline-block;
}

.popup .close-button {
    cursor: pointer;
    float: right;
}

.loader
{
    position: fixed;
    z-index: 1004;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    display: none;
}

#loader i {
    animation: loader-rotate 2s linear infinite;
    position: absolute;
    left:50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 2em;
    color: brown;
}

@keyframes loader-rotate {
    to {
      transform: translate(-50%, -50%) rotate(360deg)
    }
  }

.home-page {
    height: 100%;
    background-image: url('/assets/images/logo7tech.svg');
    background-repeat: no-repeat, repeat;
    background-color: #cccccc;
    background-position: center
}

.tab-container {
    border: 1px solid #ccc;
    background-color: white;
}

.tab-header {
    background-color: #f1f1f1;
}

.tab-button {
    border:0;
    border-collapse: collapse;
    cursor: pointer;
    padding: 10px 20px;
}

.tab-button.active {
    background-color: white;
}

.tab-button:hover:not(.active) {
    background-color: #616161;
    color: white;    
}

.tab-content {
    padding: 4px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
  }
  
  /* Hide default HTML checkbox */
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  /* The slider */
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  input:checked + .slider {
    background-color: #2196F3;
  }
  
  input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
  }
  
  input:checked + .slider:before {
    -webkit-transform: translateX(19px);
    -ms-transform: translateX(19px);
    transform: translateX(19px);
  }
  
  /* Rounded sliders */
  .slider.round {
    border-radius: 34px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  }

  .switch-label {
    margin-left: 6px;
  }

  .html-editor-switch-content {
    font-size: 18px;
    display: inline-block;
    padding: 2px;
  }

  .html-editor-text-editor {
    width: 100%;
    min-height: 200px;
    border:1px solid gray;
  }

  .html-editor-container table td{
    padding: 2px;
    border: 0;
    vertical-align: top;
  }

  .html-editor-container  .html-editor-toolbar {
    background-color: rgb(248, 248, 248);
  }

  .html-editor-container .html-function {
    cursor: pointer;
  }

  .asset-card {
    width:200px;
    height:230px;
    display: inline-block;
    padding: 5px;
    margin: 5px;
    border: 1px solid gray;
    background-color: #fff;
    text-align: center;
    vertical-align: top;
  }

  .asset-card .title {
    padding: 2px;
    overflow: hidden;
    width: 100%;
    white-space:nowrap;
  }

  .asset-card .title a {
    background-color: lightgray;
  }

  .asset-card img, .asset-card video {
    max-width: 200px;
    height: 120px;
  }

  .asset-card .document {
    padding-top: 40px;
    height: 84px;
    text-align: center;
    font-size: 2em;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  }

  .asset-card .username {
    padding: 4px;
    font-style: italic;
    font-size: 0.8em;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  }

  .article-status-in-progress {
    background-color: white;
  }

  .article-status-in-approval {
    background-color: yellow;
  }

  .article-status-in-published {
    background-color: lightgreen;
  }

  .article-status-in-archived {
    background-color: lightgray;
  }

  .file-drag-drop {
    border: 2px dashed black;
    height: 100px;
    text-align: center;
    vertical-align: middle;
    line-height: 70px;
    padding: 0;
    margin: 5px 0;
    cursor: pointer;
  }

  .file-drag-drop.waiting
  {
    background-color: white;
  }

  .file-drag-drop.dragging
  {
    background-color: rgb(230, 228, 228);
  }

  .file-drag-drop.uploading
  {
    background-color: cornsilk;
  }
  

  .angular-editor-toolbar-set #insertImage-,   .angular-editor-toolbar-set #insertVideo-
  {
    display: none;
  }

  .angular-editor-textarea img, .angular-editor-textarea video {
    max-width:40%
  }

.cookies-banner {
  background: #444;
  color: #fff;
  padding: 6px;
  font-size: 13px;
  text-align: center;
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 10;
}

.cookies-banner button {
  text-decoration: none;
  background: #222;
  color: #fff;
  border: 1px solid #000;
  cursor: pointer;
  padding: 4px 7px;
  margin: 2px 0;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.07s, color 0.07s, border-color 0.07s;
}

.cookies-banner button:hover {
  background: #fff;
  color: #222;
}

.footer 
{
  height: 34px;
  background-color: gray;
  color: white;
  padding: 2px;
  text-align: center;
  font-size: 12px;
}

.footer a, .footer a:active, .footer a:visited {
  color: white;
}

.stick-down .footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
}

.plagiarism-warning {
  background-color: pink;
}

.plagiarism-error {
  background-color: red;
}

.ordered-objected {
  border: 2px solid lightgray;
  border-radius: 5px;
  padding: 5px;
  margin: 5px;
  display: inline-block;
  background-color: aliceblue;
  white-space: nowrap;
}

.ordered-objected .move-object-left {
  cursor: pointer;
  padding: 0 3px;
  color:gray;
  border: 1px solid lightgray;
}

.ordered-objected .move-object-right {
  cursor: pointer;  
  padding: 0 3px;
  color:gray;
  border: 1px solid lightgray;
}

.ordered-objected .delete-object {
  color: red;
  padding: 0 3px;
  cursor: pointer;
}

.contest-cancelation-reason {
  font-style: italic;
}

.ordered-objected .winner, .ordered-objected .winner a {
  color:green;
}