/**
 * common.css
 *
 * Copyright (c) 2013 Simon Fraser University Library
 * Copyright (c) 2000-2013 John Willinsky
 * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
 *
 * PKP-wide shared stylesheet.
 * DEPRECATED. Do not modify.
 */

/**
 * Common HTML elements
 */

body {
	margin: 0;
	padding: 0;
	font-family: Verdana,Arial,Helvetica,sans-serif;
	text-align: center;    
        background-color: #F3F4F4;
        height: auto;
        overflow-y: auto;
        line-height: 1.5;
        color: #40454A;      
        max-width: 1010px; //for responsive
}



div {
	text-align: left;
}

p {
	margin: 1em 0; /* Making default stylesheet explicit - fixes IE7 margin collapsing. */
}

table {
	border: 0;
	border-spacing: 0;
	font-size: 1.0em;
}

form {
	margin: 0;
}

a {
	text-decoration: underline;
       /* height: 4px;
left: 0px;
right: 0px;
top: -1px;*/
color: #51AB6D;
}

a.plain {
	text-decoration: none;
}

ul {
	margin: 0.25em 0 0.75em 0;
	padding: 0 0 0 2.5em;
}
 
tt {
	font-size: 1.25em;
}

label {
}

label.error {
	color: #900;
}

input.textField, select.selectMenu, textarea.textArea, input.uploadField {
    width: auto;
    margin:1px;
padding: 6px 12px;
font-size: 14px;
line-height: 1.42857;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
       -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
          transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

input:focus {
  border-color: #66afe9;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
          box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
}


input.button {
color: #FFF;
border: 1px solid #51AB6D;
background: linear-gradient(to bottom, #51AB6D, #418857) repeat scroll 0% 0% transparent;
border-radius: 4px;
font-weight: 700;
font-size: 14px;
font-family: Lato,sans-serif;
padding: 8px 16px;
margin:5px;
}

input.defaultButton {
color: #FFF;
border: 1px solid #51AB6D;
background: linear-gradient(to bottom, #51AB6D, #418857) repeat scroll 0% 0% transparent;
border-radius: 4px;
font-weight: 700;
font-size: 14px;
font-family: Lato,sans-serif;
padding: 8px 16px;
margin:5px;
}
input{
    width:auto;
}
/**
 * Main layout elements
 */

#container {
	width: 100% !important;
	/*min-width: 730px !important;*/
	margin: 0px 15%;
	text-align: center;
}

#headerlogo {
	/*min-height: 80px;*/
        margin: 0 auto;
	padding:0px 1.5em 0px 1.5em;
        background-color: #fff;
}

#headerlogo img{
	float: left;
        margin:0;
}

#headerTitle {
	text-align: left !important;
	margin: 0 auto;
	padding: 0;
	width: 100%;        
        margin-bottom: 10px;
        background-color: #FFF;
        border: 1px solid #E4E4E4;
        border-radius: 6px;
}

#header h1 {
	margin: 0px auto;
        font-family: Georgia,"Times New Roman",Times,serif;
        color: #51AB6D;
        padding: 1em 0px 1em 1em;
        font-weight: bold;
        border-top: 1px solid #E4E4E4;
        box-shadow: 0px 1px 5px #DCDDDD;
        background-color: #fff;
        background-color: #FFF;
        border: 1px solid #E4E4E4;
        border-radius: 6px;
}


#footer {
	width: 100%;
	min-height: 50px;
	position: static;
	clear: both;
	text-align: center;
}

#footerContent {
	width: 100%;
	margin: 0 auto;
	padding-left: 10%;
}

#main {
	padding: 0.5em 0em 2em 0em;
}

#main h2 {
	margin: 0em 1em 0.5em 0em;
	padding-top: 0.5em;
	font-family: Georgia,'Times New Roman',Times,serif;
	font-weight: normal;
}

#main h3 {
	margin: 0em 1em 0.5em 0em;
	padding-top: 0em;
	font-family: Georgia,'Times New Roman',Times,serif;
	font-weight: normal;
}

#navbar {
	margin-right: 0;
	padding-bottom: 0.5em;
}



#content {
	margin: 0;
	padding: 8px 15px;
	padding-top: 0.5em;
	font-size: 0.8em;
	border-top: 1px solid #E4E4E4;
        background-color: #f5f5f5;
        border-radius: 6px
}

#content h3 {
	margin: 0em 1em 0.25em 0em;
	padding-top: 0.75em;
	font-family: Georgia,'Times New Roman',Times,serif;
	font-weight: normal;
	font-size: 1.8em;
}

#content h4 {
	margin: .75em 1em 0.25em 0em;
	font-family: Georgia,'Times New Roman',Times,serif;
	font-weight: normal;
	font-size: 1.5em;
}

#content h5 {
	margin: 0em 1em 0.25em 0em;
	padding-top: 0.75em;
	font-weight: bold;
	font-size: 1em;
}


/**
 * Breadcrumbs
 */

#breadcrumb {
  padding: 8px 15px;
  margin-bottom: 20px;
  list-style: none;
  background-color: #f5f5f5;
  border-radius: 4px;
}

#breadcrumb a {
	text-decoration: none;
        color:#777;
}

#breadcrumb a.current {
	font-weight: bold;
        color:#51AB6D;
}


/**
 * Footer elements
 */

#footer div.debugStats {
	font-size: 0.6em;
}


/**
 * Additional text styles
 */

span.disabled, label.disabled {
	color: #666;
}

a.action, a.file {
	font-size: 1em;
	text-transform: uppercase;
}

a.icon {
	text-decoration: none;
}

a.icon img {
	border: 0;
}

a.icon:hover {
	background: none;
}

span.formRequired {
	color: #333;
	font-size: 0.9em;
}

span.heading {
	font-size: 0.85em;
	text-transform: uppercase;
}

span.highlight {
	border-bottom: 1px dotted #000;
}

div.warningMessage {
	background: url(../templates/images/icons/icon_alert.gif) no-repeat 3px 40%;
	margin: 5px;
	padding: 5px 5px 5px 25px;
}

.nowrap {
	white-space: nowrap;
}

/**
 * Table styles
 */

table.info td {
	padding: 0;
	padding-bottom: 0.5em;
	padding-right: 0.5em;
}

table.listing td {
	padding: 0.25em 1.5em 0.25em 0.5em;
}

table.listing tr.heading td, table.listing td.heading, table.info td.heading {
	font-size: 0.85em;
	text-transform: uppercase;
	font-weight: normal;
	padding: 0.75em 1.5em 1em 0.5em;
}

table.info td.heading {
	padding-left: 0;
}


table.listing td.nodata, table.info td.nodata {
	text-align: center;
	font-style: italic;
}

table.listing td.headseparator {
	border-top: 2px solid #DDD;
	font-size: 0.1em;
	line-height: 1%;
}

table.listing td.endseparator {
	border-top: 2px solid #DDD;
	font-size: 0.25em;
	line-height: 10%;
}

table.listing td.separator, table.info td.separator {
	border-top: 1px solid #DDD;
	font-size: 0.1em;
	line-height: 1%;
}

table.data tr {
}

table.data td {
	padding-bottom: 0.25em;
}

table.data td.label {
	padding-right: 1em;
}

table.data td.value {
}

table.data td.separator {
	padding: 0.5em;
	font-size: 0.1em;
	line-height: 1%;
}

table.data td.heading {
	padding-left: 0;
	padding-right: 0;
}

table.nested tr {
	padding: 0;
	margin: 0;
}

span.nested {
	padding: 0 4px 0 0;
	font-size: 1.2em;
}

/**
 * Form-specific elements
 */

span.pkp_form_error { /* Named for compatibility with new lessphp structure */
	color: #900;
	font-weight: bold;
	font-size: 1em;
}

span.pkp_form_success { /* Named for compatibility with new lessphp structure */
	color: #090;
	font-weight: bold;
	font-size: 1em;
}

ul.pkp_form_error_list { /* Named for compatibility with new lessphp structure */
	color: #900;
}


/**
 * Other organizational elements
 */
ul.menu {
	margin: 0;
	padding: 0;        
}
ul.menu li {
	margin: 0;
	display: inline;
}

#navbar:before,
#navbar:after {
    content: " ";
    display: table;
}
#navbar:after {
    clear: both;
}
#navbar {
    *zoom: 1;
}

	#navbar ul
{
	list-style:none;
	position:relative;
	float:left;
	margin:0;
	padding:0
}

#navbar ul a
{
 border-top:  #51AB6D solid 5px;      
	display:block;
	text-decoration:none;
	font-weight:700;
	padding:10px 5px;
	color: #9A9A90;
	    font-size: 12px;
        line-height: 2; 
}

#navbar ul li
{
	position:relative;
	float:left;
	margin:0;
	padding:0;
	display:inline;
}

#navbar ul li.current-menu-item
{
	background:#ddd
}

#navbar ul li:hover
{
	background:#FFF;
}

#navbar ul ul
{
	display:none;
	position:absolute;
	top:100%;
	left:0;
	background:#fff;
	padding:0
}

#navbar ul ul li
{
	float:none;
	width:200px
}

#navbar ul ul a
{
	line-height:120%;
	padding:5px 15px
}

#navbar ul ul ul
{
	top:0;
	left:100%
}

#navbar ul li:hover > ul
{
	display:block
}
#navbar ul li ul a
{
background-color: #51AB6D;
border-bottom: 1px solid #499A62;
color: #F3F4F4;
font-weight: 500;
padding: 9px 16px;
white-space: nowrap;
border:0;
width: 100px;
margin:0;
top:0;
}
#navbar ul li ul a:hover
{
background:#336f45;
}

/*
nav ul {
	margin: 0;
	padding: 0;
        height:30px;
}

nav ul li {
	margin: 0;	
	position:relative;
	padding:0;
	display:inline;
}

nav ul a {
        border-top:  #51AB6D solid 5px;
        font-size: 12px;
        line-height: 1.5;  
        padding: 26px 0;
        color: #9A9A90;
        text-transform: uppercase;
        font-weight: 900;
        text-decoration: none;
	
}

#navbar ul ul
{
	display:none;
	position:absolute;
	top:100%;
	left:0;
	background:#fff;
	padding:0
}

#navbar ul ul li
{
	float:none;
	width:200px
}

#navbar ul ul a
{
	line-height:120%;
	padding:5px 15px
}

#navbar ul ul ul
{
	top:0;
	left:100%
}

#navbar ul li:hover > ul
{
	display:block
}
#navbar ul li ul a
{
background-color: #51AB6D;
border-bottom: 1px solid #499A62;
color: #F3F4F4;
font-weight: 500;
padding: 9px 16px;
white-space: nowrap;
border:0;
width: 100px;
margin:0;
top:0;
}
#navbar ul li ul a:hover
{
background:#336f45;
}
*/




#navbar a#pull {
	display: none;
}

ul.steplist {
	margin: 0;
	padding: 0;
	list-style-type: decimal;
}

ul.steplist li {
	margin: 0;
	padding: 0;
	font-size: 0.85em;
	padding-right: 0.5em;
	display: inline;
	text-transform: uppercase;
}

ul.steplist li.current {
	font-weight: bold;
}

ul.steplist a {
	text-decoration: none;
}

ul.plain {
	list-style-type: none;
	padding-left: 1.5em;
}

ul.plain li{
    padding: 5px 15px;
}

ul.filter {
	margin: 0;
	padding: 1.5em 0 1.5em 0;
	list-style-type: none;
}

ul.filter li {
	padding-right: 1.5em;
	display: inline;
}


/**
 * Other organizational elements
 */

div.separator {
	width: 100%;
	margin-top: 1em;
	margin-bottom: 0.25em;
	padding: 0;
	border-bottom: 1px solid #DDD;
	font-size: 0.5em;
	line-height: 25%;
}




/*@media screen and (max-width:700px){
    #main,
    #rightSidebar{
        float: none;
        width: 100%
    }
}

@media screen and (max-width:420px){
    #navbar li,
    #navbar a{
        display: block;
	float: none;
	width: 100%;
        padding: 26px 150px 25px;
    }
}
*/
@media only screen and (max-width : 700px) {
       .headerlogo{
            height:auto; 
            margin-bottom: 10px;
        }
        #main{            
             position: relative;
             min-width:85%;
             margin-left: 3%;
        }
        #rightSidebar{           
            position:relative;
            width: 85%;
        }
		
		
	

         textarea{max-width:200px; }
         editor{max-width:200px; }
     
}
@media only screen and (max-width : 500px) {
       .headerlogo{
            height:auto; 
            margin-bottom: 10px;
        }
        #main{            
             position: relative;
             min-width:85%;
             margin-left: 3%;
        }
        #rightSidebar{           
            position:relative;
            width: 85%;
        }
	#navbar {
            float: none;
		border-bottom: 0;
                height: auto;
	}
	#navbar ul {
		display: none;
		height: auto;
                right:0;
		left:auto;
                background: #FFF;
                width:300px;
	}
       
        #navbar li{
            position:relative;
            display:block;
            border: transparent;
        }

        #navbar li a{
                position:relative;
                display:block;
                padding:20px 25px;
                border: 0;
        }

        #navbar li a:hover{
                text-decoration:none;
                background-color:#eee
        }
    
    
	#navbar a#pull {
		display: block;
		position: relative;
	}
	#navbar a#pull:after {
		content:"";
		background: url('nav-icon.png') no-repeat;
		width: 46px;
		height: 36px;
		display: inline-block;
                margin: 0 10px 0 5px;
	}
         textarea{max-width:200px; }
         editor{max-width:200px; }
     
}
