@font-face {
    font-family: 'sao';
    src: url('../fonts/sao_font.eot');
    src: url('../fonts/sao_font.eot?#iefix') format('embedded-opentype'),
         url('../fonts/sao_font.woff') format('woff'),
         url('../fonts/sao_font.ttf') format('truetype'),
         url('../fonts/sao_font.svg#saomedium') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'after_disaster';
    src: url('../fonts/after_disaster-webfont.eot');
    src: url('../fonts/after_disaster-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/after_disaster-webfont.woff') format('woff'),
         url('../fonts/after_disaster-webfont.ttf') format('truetype'),
         url('../fonts/after_disaster-webfont.svg#after_disasterregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

body {
  background-color: #dfdfe0;
}

a {
    color: #686c68;
    text-decoration: none;
}
a:hover, a:focus {
    color: #ffc800;
    text-decoration: underline;
}
a:focus {
    outline: thin dotted #ffc800;
    outline-offset: -2px;
}

.form {
  padding: 10px 50px 0 50px;  
}

.form-signin {
	max-width: 500px;
	padding: 0px;
	margin: 0 auto;
	background-color: #fff;
	border: 1px solid #e5e5e5;
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,.05);
	box-shadow: 0 1px 2px rgba(0,0,0,.05);
	margin-top: 10%;
}

.form-signin .form-signin-heading,
.form-signin .checkbox {
  margin-bottom: 10px;
}

.form-signin .checkbox {
	font-weight: normal;
}

.form-signin .form-control {
  position: relative;
  font-size: 16px;
  height: auto;
  padding: 10px;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

.form-signin .form-control:focus {
  z-index: 2;
}

.form-signin input[type="text"] {
  margin-bottom: -1px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.sao-footer,
.sao-header {
	display:block;
	padding: 20px;
	font-family: "sao", "after_disaster", helvetica;
	font-size: 40px;
	color: #615f60;
	text-align: center;
	background-color: #fff;
	margin: 0;
	-webkit-box-shadow: 0 20px 15px rgba(0,0,0,.20);
	-moz-box-shadow: 0 20px 15px rgba(0,0,0,.20);
	box-shadow: 0 20px 15px rgba(0,0,0,.20);
	position: relative;
  z-index: 1;
}

.sao-header .modal-title {
  font-family: "sao", "after_disaster", helvetica;
  font-size: 32px;
}

.sao-header .close {
  font-size: 50px;
}

.sao-footer {
	-webkit-box-shadow: 0 -20px 15px rgba(0,0,0,.20);
	-moz-box-shadow: 0 -20px 15px rgba(0,0,0,.20);
	box-shadow: 0 -20px 15px rgba(0,0,0,.20);
	padding: 0 30
}

.sao-body,
.sao-wrapper {
	padding: 30px;
	background-color: #d0d0d0;
}

.sao-title {
  display:block;
  padding: 20px;
  font-family: "sao", "after_disaster", helvetica;
  font-size: 32px;
  color: #615f60;
  background-color: #fff;
  text-align:left;
  border-bottom: 4px solid #615f60;
  margin: 0;
}

.sao-subtitle {
  display:block;
  padding: 0px;
  font-family: "sao", "after_disaster", helvetica;
  font-size: 22px;
  color: #615f60;
  text-align:left;
  margin: 0;
}

.form-control:focus {
  border-color: #f8ce3e;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px #f5d96e;
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px #f5d96e;
}

#icons {
  display: block;
  margin: 0 auto;
  padding: 0;
  width: 90px;
}

#icons li {
  list-style: none;
  margin: 0;
  padding: 0;
  float: left;
  display: block;
  margin-bottom: 5px;
}

#icons li a.link {
  width: 90px;
  height: 90px;
  margin: 0;
  padding: 0;
  background: url(../images/icon_bg.png) center top no-repeat transparent;
  cursor: pointer;
  float: left;
  display: block;
  color: #959595;
  text-align: center;
  font-size: 40px;
} 

#icons li a.link:hover {
  background: url(../images/icon_bg.png) center bottom no-repeat transparent;
  color: #fffffa;
}

#icons li a.link .glyphicon {
  line-height: 80px !important;
}

.buttons {
    margin: 20px 0;
}

.sao-menu {
    background-color: transparent;
    border: none;
    font-size: 22px;
    padding: 5px 0;
    box-shadow: none;
}

.sao-menu > li > a {
    color: #615F60;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0  6px 12px rgba(0, 0, 0, 0.176);
    font-family: "sao", "after_disaster", helvetica;
    padding: 5px 40px;
    margin-bottom: 5px;
}

.table-hover > tbody > tr:hover > td,
.table-hover > tbody > tr:hover > th {
  background-color: #ffc800;
  color: #fff;
}


.errorSummary {
  background-color: #fcf2f2;
  margin: 20px 0;
  padding: 15px 30px 15px 15px;
  border-left: 5px solid #dFb5b4;
}
.errorSummary p {
  font-size: 18px;
  font-weight: bold;
}

.errorSummary li {
  font-size: 14px;
  line-height: 18px;
  color: #333333;
}

.divide10 { height: 10px; display: block;}
.divide15 { height: 15px; display: block;}
.divide20 { height: 20px; display: block;}
.divide30 { height: 30px; display: block;}
.divide40 { height: 40px; display: block;}
.divide50 { height: 50px; display: block;}
.divide60 { height: 60px; display: block;}

.clear { clear: both; }
.no-padding { padding: 0 !important; }
.panel-sao .panel-heading, 
.tr-heading th { background-color: #ffc800 !important; color: #fff; font-weight: bold; }
.grid-view .button-column {
    text-align: center;
    width: 90px !important;
}

.col-print-1,
.col-print-2,
.col-print-3,
.col-print-4,
.col-print-5,
.col-print-6,
.col-print-7,
.col-print-8,
.col-print-9,
.col-print-10,
.col-print-11 {
  /*border: 1px solid #333 !important;*/
}

div.col-print-1,
div.col-print-2,
div.col-print-3,
div.col-print-4,
div.col-print-5,
div.col-print-6,
div.col-print-7,
div.col-print-8,
div.col-print-9,
div.col-print-10,
div.col-print-11 {
  /*border: 1px solid #333 !important;*/
  float: left;
}

.col-print-1 {
width: 8.333333333333332%;
}
.col-print-2 {
width: 16.666666666666664%;
}
.col-print-3 {
width: 25%;
}
.col-print-4 {
width: 33.33333333333333%;
}
.col-print-5 {
width: 41.66666666666667%;
}
.col-print-6 {
width: 50%;
}
.col-print-7 {
width: 58.333333333333336%;
}
.col-print-8 {
width: 66.66666666666666%;
}
.col-print-9 {
width: 75%;
}
.col-print-10 {
width: 83.33333333333334%;
}
.col-print-11 {
width: 91.66666666666666%;
}
.col-print-12 {
width: 100%;
}

.main-wcontent {
  background-color:#ffffff; 
  margin:0px 0 20px
}

.change-pass {
  float: right;
  font-size: 22px;
  display: block;
  width: 10px;
  height: 10px;
}


.pagination_custom > .yiiPager {
  display: inline-block;
  padding-left: 0;
  margin: 20px 0;
  border-radius: 4px;
}

.pagination_custom > .yiiPager > li {
  display: inline;
}

.pagination_custom > .yiiPager > li > a,
.pagination_custom > .yiiPager > li > span {
  position: relative;
  float: left;
  padding: 6px 12px;
  margin-left: -1px;
  line-height: 1.428571429;
  text-decoration: none;
  background-color: #ffffff;
  border: 1px solid #dddddd;
}

.pagination_custom > .yiiPager > li:first-child > a,
.pagination_custom > .yiiPager > li:first-child > span {
  margin-left: 0;
  border-bottom-left-radius: 4px;
  border-top-left-radius: 4px;
}

.pagination_custom > .yiiPager > li:last-child > a,
.pagination_custom > .yiiPager > li:last-child > span {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.pagination_custom > .yiiPager > li > a:hover,
.pagination_custom > .yiiPager > li > span:hover,
.pagination_custom > .yiiPager > li > a:focus,
.pagination_custom > .yiiPager > li > span:focus {
  background-color: #eeeeee;
}

.pagination_custom > .yiiPager > .active > a,
.pagination_custom > .yiiPager > .active > span,
.pagination_custom > .yiiPager > .active > a:hover,
.pagination_custom > .yiiPager > .active > span:hover,
.pagination_custom > .yiiPager > .active > a:focus,
.pagination_custom > .yiiPager > .active > span:focus {
  z-index: 2;
  color: #ffffff;
  cursor: default;
  background-color: #FFC800;
  border-color: #FFC800;
}

.pagination_custom > .yiiPager > .disabled > span,
.pagination_custom > .yiiPager > .disabled > a,
.pagination_custom > .yiiPager > .disabled > a:hover,
.pagination_custom > .yiiPager > .disabled > a:focus {
  color: #999999;
  cursor: not-allowed;
  background-color: #ffffff;
  border-color: #dddddd;
}

.main-wcontent {
  min-height: 570px;
}

.no-margin {
  margin: 0;
}

.margin-tb15 {
  margin: 15px 0;
}

.padding15 { padding: 15px; }

.panel-sao {
    border-color: #FFC800;
}
.panel-sao > .panel-heading {
    background-color: #FFC800;
    border-color: #FFC800;
    color: #FFFFFF;
}
.panel-sao > .panel-heading + .panel-collapse .panel-body {
    border-top-color: #FFC800;
}
.panel-sao > .panel-footer + .panel-collapse .panel-body {
    border-bottom-color: #FFC800;
}

.list-group-item .group-control { width: 100px; float: right; }

.list-group-item a.delete-block { height: 30px; margin-left: 10px; visibility: hidden; }
/*.list-group-item a.delete-block span { line-height: 15px;}*/

.last { margin-right: 0 !important;}

/* matrix zone */

.matrix .block {
  position: relative;
  margin-bottom: 30px;
}

.matrix .block label.sao-title  {
  position: absolute;
  background-color: #FFC800;
  color: #fff;
  padding: 5px;
  left: -40px;
  text-align: center;
  width: 40px;
  border-color: #FFC800;
}

.matrix .block .sector {
}

.matrix .block .sector ul {
  margin: 0;
  padding: 0;
 /* border: 2px solid #615F60;
  border-bottom: none;*/
}

.matrix .block .section {
  /*border-bottom: 2px solid #615F60;*/
  border-collapse: collapse;
  list-style: none;
  display: block;
  text-align: center;
}

.matrix .block .section a {
  display: block;
  padding: 10px 5px;
}

.btn-file {
    position: relative;
    overflow: hidden;
}
.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 999px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    background: red;
    cursor: inherit;
    display: block;
}