/*
 * Licensed to Jasig under one or more contributor license
 * agreements. See the NOTICE file distributed with this work
 * for additional information regarding copyright ownership.
 * Jasig 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 the following location:
 *
 *   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.
 */
 
 /* -------- Global -------- */
@charset "utf-8";
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans'),
  		 local('OpenSans'),
  		 url(font/OpenSans.woff2) format('woff2'),
  		 url(font/OpenSans.woff) format('woff'),
  		 url(font/OpenSans.ttf) format('truetype'),
  		 url(font/OpenSans.svg#OpenSans) format('svg'),
  		 url('font/OpenSans.eot') format('eot'),
  		 url('font/OpenSans.eot?#iefix') format('embedded-opentype');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}

/* reset */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; vertical-align: baseline; background: transparent; }

body { line-height: 1; }

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }

nav ul { list-style: none; }

blockquote, q { quotes: none; }

blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }

a { outline: none; margin: 0; padding: 0; font-size: 100%; vertical-align: baseline; background: transparent; }

/* change colours to suit your needs */
ins { background-color: #ff9; color: #000; text-decoration: none; }

/* change colours to suit your needs */
mark { background-color: #ff9; color: #000; font-style: italic; font-weight: bold; }

del { text-decoration: line-through; }

abbr[title], dfn[title] { border-bottom: 1px dotted; cursor: help; }

table { border-collapse: collapse; border-spacing: 0; }

button { -webkit-appearance: button;cursor: pointer; }

/* change border colour to suit your needs */
hr { display: block; height: 1px; border: 0; border-top: 1px solid #cccccc; margin: 1em 0; padding: 0; }

input, select { vertical-align: middle; }

/* general page */
body { font-family: 'Open Sans','Helvetica Neue', Arial, Roboto, sans-serif; font-size: 11px; line-height: 1.4em; }

#cas { background: #FAFAFA; }
#cas .flc-screenNavigator-view-container { width: 60%; margin: 80px auto; }
#cas .flc-screenNavigator-view-container #header  { 
	background: #fff; 
	z-index: 200; 
	-webkit-box-shadow: 0px 1px 3px 0px rgba(0,0,0, 0.21); 
	box-shadow: 0px 1px 3px 0px rgba(0,0,0, 0.21); 
}
#cas .flc-screenNavigator-view-container #header .header-inner  { 
	position: relative;
    width: 100%;
    max-width: 1440px;
    padding: 0 24px;
    margin: 0 auto;
    z-index: 10;
    box-sizing: border-box;
}
#cas .flc-screenNavigator-view-container #content { 
	background: #fff; 
	border-radius: 2px; 
	max-width: 600px;
    display: block;
    margin: auto;
	-webkit-box-shadow: 0px 1px 3px 0px rgba(0,0,0, 0.21); 
	box-shadow: 0px 1px 3px 0px rgba(0,0,0, 0.21); 
}

@media only screen and (max-width: 960px) { #cas .flc-screenNavigator-view-container { width: 100%; }}
/* header */
#cas #header { position: fixed; width: 100%; top: 0px; left: 0px; height: 54px;}
#cas #header #company-name { width: 118px; height: 31px; text-indent: -999em; background: url(../images/ja-sig-logo.gif) no-repeat; margin: 0 0 10px 10px; }
#cas #header #app-name { background: #3b5998; color: white; padding: 1.4em 1.4em; font-size: 2em; font-weight: normal; }
.heading_logo { 
	height: 44px;
    width: auto;
    margin: -5px 0 0;
    padding: 10px 0;
    max-width: none;
}

/* content */
#cas #content { padding: 10px; overflow: hidden; text-align: center;  -webkit-animation:spin 3s linear infinite;
    -moz-animation:spin 3s linear infinite;
    animation:spin 3s linear infinite;}
    
 /* @-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
  @-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
  @keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }
#cas #content #msg { padding: 20px; margin-bottom: 10px; }*/
#cas #content #msg h2 { font-size: 1.4em; margin-bottom: 0.5em; }
#cas #content #msg.errors { padding: 20px 0; border: 1px solid #BB0000; color: #BB0000; padding-left: 100px; background: url(../images/error.gif) no-repeat 20px center; }
#cas #content #msg.success { padding: 20px 0; border: 1px solid #390; color: #390; padding-left: 100px; background: url(../images/confirm.gif) no-repeat 20px center; }
#cas #content #msg.info { padding: 20px 0; border: 1px solid #008; color: #008; padding-left: 100px; background: url(../images/info.gif) no-repeat 20px center; }
#cas #content #login { width: 500px; float: left; margin-right: 20px; }
#cas #content #login #fm1 { padding: 20px; position: relative; margin: 10px auto;}
#cas #content #login #fm1 h2 { font-size: 1.4em; font-weight: normal; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid #DDDDDD; }
#cas #content #login #fm1 .row { margin-bottom: 10px; }
#cas #content #login #fm1 .row .fl-label { display: block; color: #777777; }
#cas #content #login #fm1 .row input[type=text], #cas #content #login #fm1 .row input[type=password] { padding: 10px; border: 1px solid #DDDDDD; width: 100%; box-sizing: border-box;}
#cas #content #login #fm1 .row.check { padding-bottom: 10px; margin-bottom: 10px; color: #777; font-size: 11px; }
#cas #content #login #fm1 .row .btn-submit { 
  width: 100%;
  min-height: 36px; 
  background-image: none !important;
  background-color: #294f94 !important;
  box-sizing: border-box;
  border: none; 
  color: #FFF !important;
  margin: 0 auto 6px;
  padding: 8px 16px;
  font-size: 16px;
  outline: none;
   -webkit-border-radius: 2px; 
   -moz-border-radius: 2px; 
  border-radius: 2px;
  cursor: pointer;
  transition-property: all;
  transition-duration: 0.25s;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 14px;
  font-style: inherit;
  font-variant: inherit;
  font-family: inherit;
  letter-spacing: .5px;
  line-height: 24px;
}
#cas #content #login #fm1 .row .btn-reset { border: 0; background: none; color: #777; text-transform: lowercase; border-left: 1px solid #ddd; }
#cas #content #login #fm1 .row .btn-submit:hover, #cas #content #login #fm1 .row .btn-reset:hover { background: #3464bc }
#cas #content #sidebar { width: auto; }
#cas #content #sidebar .sidebar-content { padding-left: 20px; }
#cas #content #sidebar .sidebar-content p { margin-bottom: 1.4em; }
#cas #content #sidebar .sidebar-content #list-languages ul { list-style: none; }
#cas #content #sidebar .sidebar-content #list-languages ul li { display: inline-block; padding: 0px 10px; border-right: 1px solid #e2e2e2; }
#cas #content #sidebar .sidebar-content #list-languages ul li:last-child { border: 0; line-height: 1.4em; }
.fl-panel { margin: 0px auto !important; float: none !important; }
.pic_container { position: relative; }
.user_logo { 
	height: 150px; 
	margin: 20px auto 0; 
	border-radius: 50%; 
	overflow: hidden; 
}
.social { padding: 20px 0 }

.facebook_login_button,
.google_login_button {
  display: block;
  width: 60%;
  min-height: 36px; 
  box-sizing: border-box;
  border: none; 
  color: #FFF; 
  margin: 0 auto 6px;
  padding: 8px 16px;
  padding-left: 50px;
  font-size: 16px;
  outline: none;
   -webkit-border-radius: 2px; 
   -moz-border-radius: 2px; 
  border-radius: 2px;
  cursor: pointer;
  transition-property: all;
  transition-duration: 0.25s;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 14px;
  font-style: inherit;
  font-variant: inherit;
  font-family: inherit;
  letter-spacing: .5px;
  line-height: 24px;
}

.facebook_login_button {
	background: #3B5998 url(../images/facebook-logo.svg) 10px 50% / auto 30px no-repeat;
}

.facebook_login_button:hover {
	background-color: #4c70ba;
}

.google_login_button {
	background: #d34836 url(../images/g-plus-logo.svg) 10px 50% / auto 30px no-repeat;
}

.google_login_button:hover {
	background-color: #d34836e6;
}

.facebook_login_button p, .google_login_button p{ 
	position: relative; 
	display: inline-block; 
	font-weight: 500;
   font-size: 14px;
   font-style: inherit;
   font-variant: inherit;
   font-family: inherit;
   letter-spacing: .5px;
   line-height: 24px; 
}

fieldset.newest_title {
    border-top: 1px solid #AAA;
    border-bottom: none;
    border-left: none;
    border-right: none;
    display: block;
    text-align: center;
}

fieldset.newest_title legend {
    padding: 5px 10px;
    color: #AAA;
}

#cas #content #fm1 p {
	font-size: 13px;
   margin-top: 24px;
   text-align: center;
   color: #515151;
}

#cas #content #fm1 a {
	color: #294f94;
	text-decoration: none;
}

#cas #content #fm1 a:hover {
	color: #3464bc;
}

/* footer */
#cas #footer { 
	color: #999; 
	max-width: 600px;
    display: block;
    margin: 20px auto;
}

#cas #login .logout {
	margin: 40px 0;
	color: #212121;
}

#cas #login .logout h1 {
	font: 300 24px/30px Roboto,sans-serif;
   letter-spacing: -.01em;
   margin: 30px 0 10px;
}

#cas #login .logout h2 {
	font: 300 21px/27px Roboto,sans-serif;
   letter-spacing: -.01em;
   margin: 30px 0 10px;
}

/* < 960 */
@media only screen and (max-width: 960px) { #cas #footer { padding-left: 10px; } }
/* < 799 */
@media only screen and (max-width: 799px) { #cas #header #app-name { font-size: 1em; }
  #cas #content #login { float: none; width: 100%; }
  #cas #content #login #fm1 .row .fl-label { margin-left: -10px; }
  #cas #content #login #fm1 .row input[type=text], #cas #content #login #fm1 .row input[type=password] { width: 100%; padding: 10px; }
  #cas #content #login #fm1 .row .btn-reset { display: none; }
  #cas #content #sidebar { margin-top: 20px; }
  #cas #content #sidebar .sidebar-content { padding: 0; } }
