html,
body {
    /*height: 100%;*/
    /* The html and body elements cannot have any padding or margin. */
}

#wrap {
    min-height: 100%;
    height: auto !important;
    height: 100%;

    /* Negative indent footer by it's height */
    /*margin: 0 auto -60px;*/
}

/* Set the fixed height of the footer here */

#footer {
    background-color: #f5f5f5;
}

/* Lastly, apply responsive CSS fixes as necessary */
@media (max-width: 767px) {
    #footer {
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }
}

.images-list {
	list-style: none;
	padding: 0px;
	margin: 0px 0px 20px 0px;
}

.images-list li {
	margin: 10px 0px 10px 0px;
}

.js-delete-photo {
	margin: 0px 0px 0px 10px;
}

.clear {
	clear: both;
}

.container {
	width: 100% !important;
}

.row-red {
	background: #ffdddd;
}

.row-green {
	background: #ddffdd;
}

.row-yellow {
	background: #ffffdd;
}

.tr-warning td {
	background: #ffffcc !important;
}

.export-form {
	border: 1px solid #999;
	padding: 20px;
	margin: 20px 0;
	width: 300px;
}

.moderation {
	/*border: 1px solid #999;
	background: #ddd;
	padding: 10px 10px;*/
	/*width: 250px;*/
	/*min-width: 70px;*/
}

.moderation select {
	margin-top: 0px;
	width: 70px;
}

.moderation a {
	font-size: 18px;
}

.moderation a:first-child {
	margin-right: 25px;
}

.moderation .accept {
	color: #038403;
}

.moderation .deny {
	color: #af0505;
}
















@media (min-width: 768px) {
	.container-fluid {
	    width: 750px;
	}
}

@media (min-width: 992px) {
	.container-fluid {
	    width: 970px;
	}
}


@media (min-width: 1200px) {
	.container-fluid {
	    width: 1170px;
	}
}


.container-fluid {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.container {
	padding: 0;
	margin: 0;
}





body {
    padding: 20px;
    padding-top: 70px;
}
/*.alert-danger {
    border-color: #b94a48;
}
.alert-info {
    border-color: #3a87ad;
}*/

/* cerulean */
.navbar {
    background-image: -webkit-linear-gradient(#54b4eb, #2fa4e7 60%, #1d9ce5);
    background-image: -o-linear-gradient(#54b4eb, #2fa4e7 60%, #1d9ce5);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#54b4eb), color-stop(60%, #2fa4e7), to(#1d9ce5));
    background-image: linear-gradient(#54b4eb, #2fa4e7 60%, #1d9ce5);
    background-repeat: no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff54b4eb', endColorstr='#ff1d9ce5', GradientType=0);
    border-bottom: 1px solid #178acc;
    -webkit-filter: none;
    filter: none;
    -webkit-box-shadow: 0 1px 10px rgba(0,0,0,0.1);
    box-shadow: 0 1px 10px rgba(0,0,0,0.1);
}
.navbar-default {
    background-color: #2fa4e7;
    border-color: #1995dc;
}
.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
    border-color: #1995dc;
}
.navbar .navbar-nav>li>a,
.navbar-brand {
    text-shadow: 0 1px 0 rgba(0,0,0,0.1);
}
.navbar-default .navbar-nav>li>a,
.navbar-default .navbar-nav>li button {
    color: #ffffff;

    font-size: 12px;
}
.dropdown-menu>li>a:hover,
.dropdown-menu>li>a:focus {
    text-decoration: none;
    color: #ffffff;
    background-color: #2fa4e7;
    background-image: none;
}
.navbar-default .navbar-nav>li>a:hover,
.navbar-default .navbar-nav>li>a:focus {
    color: #ffffff;
    background-color: #178acc;
    background-image: none;
}
.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>.active>a:focus {
    color: #ffffff;
    background-color: #178acc;
    background-image: none;
}
.navbar-default .navbar-nav>.open>a,
.navbar-default .navbar-nav>.open>a:hover,
.navbar-default .navbar-nav>.open>a:focus {
    background-color: #178acc;
    color: #ffffff;
    background-image: none;
}
.dropdown-menu>.active>a,
.dropdown-menu>.active>a:hover,
.dropdown-menu>.active>a:focus {
    color: #ffffff;
    text-decoration: none;
    outline: 0;
    background-color: #2fa4e7;
    background-image: none;
}
.navbar-default .navbar-brand {
    color: #fff;
}
.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus {
    color: #eee;
    background-color: transparent;
}
.navbar-default .navbar-toggle {
    border-color: #fff !important;
}
.navbar-default .navbar-toggle .icon-bar {
    background-color: #fff !important;
}
.navbar-default .navbar-toggle:focus,
.navbar-default .navbar-toggle:hover {
    background-color: #1995dc !important;
}
/**/

.panel {
    position: relative;
}
.buttons_for_panel {
    position: absolute;
    /*top: 1px;
    right: 15px;*/
    top: 3px;
    right: 3px;
}
.panel-heading a {
    text-decoration: underline;
}
.panel a:hover {
    text-decoration: none;
}
.myActions {
    text-align: center;
    width: 126px;
}
.grid-view img {
    max-width: 300px;
    max-height: 300px;
}
.detail-view img {
    max-width: 900px;
    max-height: 900px;
}
.grid-view a,
.detail-view a{
    text-decoration: underline;
}
.detail-view > tr > th,
.detail-view > thead > tr > th,
.detail-view > tbody > tr > th {
    min-width: 200px;
    width: 25%;
}

/*
    yii2
*/
.navbar-form {
    margin-right: 0;
    margin: 0;
    padding-left: 0;
}
.navbar-default .navbar-nav>li button {
    padding: 10px 15px;
    padding-top: 15px;
    padding-bottom: 15px;
    border: none;
}
.navbar-default .navbar-nav>li button:hover {
    color: #ffffff;
    background-color: #178acc;
    text-decoration: none;
}
#footer {
    margin-bottom: 0;
    margin-top: 40px;
}

/**/
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}
a.asc:after {
    content: /*"\e113"*/ "\e151";
}
a.desc:after {
    content: /*"\e114"*/ "\e152";
}
.sort-numerical a.asc:after {
    content: "\e153";
}
.sort-numerical a.desc:after {
    content: "\e154";
}
.sort-ordinal a.asc:after {
    content: "\e155";
}
.sort-ordinal a.desc:after {
    content: "\e156";
}
.grid-view th {
    white-space: nowrap;
}
.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}
/*.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}*/
/**/

.breadcrumb {
    border: 1px solid #ddd;
    box-shadow: 0 1px 2px rgba(0,0,0,.05);
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.grid-view .summary {
    text-align: right;
    height: 0;
    position: relative;
    top: -30px;


}
.detail-view {
    margin-top: 20px;
}
.preGridButtons {
    line-height: 40px;
    margin-top: -3px;
    /* margin-bottom: 20px; */
}
.preDetailButtons {
    line-height: 40px;
    margin-top: -3px;
}
.fancybox img {
    max-height: 240px;
    max-width: 320px;
}

.bootstrap-tagsinput {
    width: 100%;
}
.grid-view {
    padding-top: 20px;
}
.grid-view td:last-child {
    white-space: nowrap;
    /*vertical-align: middle;*/
    line-height: 22px;
}

/* crop image */
.acuArea {
    max-width: 100%;
}
.acuArea img {
    max-width: 100%;
    max-height: 100%;
}

/**/
.required > label:after {content: " *"; color: #a94442;}
img {
    max-width: 100%;
    height: auto;
}
.selectArea {
    position: relative;
}
.select2.select2-container.select2-container--default {
    width: 100% !important;
}
.select2-container--default .select2-selection--single {
    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);
    height: 34px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 32px;
    padding: 0 12px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 32px;
}
#map {
    margin-top: 10px;
    width: 100%;
    height: 400px;
}
.gridActions a {
    font-size: 16px;
    line-height: 14px;
    margin: 0px 2px;
}
.admin_color {
    width: 40px;
    height: 20px;
    margin: auto;
}
.detail-view .admin_color {
    margin: 0;
}
.cbColumn {
    cursor: pointer;
}
.aiuImg {
    float: left;
    margin: 14px;
}
.aiuImg a {
    width: 128px;
    height: 128px;
    vertical-align: middle;
    display: table-cell;
    position: relative;
}
.aiuImg a span {
    position: absolute;
    bottom: -20px;
    right: 0px;
}
.thumbnail {
    display: inline-block;
    margin: 0;
}
.fancybox img {
    max-height: 100%;
    max-width: 100%;
}
.aiuImgs200 .aiuImg a {
    width: 200px;
    height: 200px;
}
textarea {
    min-height: 114px;
    max-width: 100%;
}
.dl-horizontal.dl320 dt {
    width: 320px;
}
.dl-horizontal.dl320 dd {
    margin-left: 340px;
}
@media (max-width: 1500px) {
    .dl-horizontal.dl320 dt {
        width: 256px;
    }
    .dl-horizontal.dl320 dd {
        margin-left: 266px;
    }
}
tr.odd {
    background-color: #f9f9f9;
}
.filters select.form-control {
    padding: 6px 6px;
}
.dropdown-menu {
    z-index: 1040;
}
.aiuFile a {
    height: auto;
}
.grid-view pre,
#adminMessage pre {
    margin: 0;
    background: #eee;
    color: #000;
}

/**/

.bpt20 {
    padding-top: 20px !important;
}
.cfp0 {
    padding: 0;
}
.menu {
/*    background-color: #2fa4e7;
    border-color: #1995dc;
    background-image: linear-gradient(to right, #2fa4e7, #1d9ce5);
    background-repeat: no-repeat;
    border-right: 1px solid #178acc;*/
    /* height: 100%; */
    padding: 20px 0;
}
.menu > li {
    margin: 0 !important;
}
.menu > li > a,
.menu > li button {
    color: #ffffff;
    border-radius: 0;
    padding: 10px 20px;
    background: none;
}
.menu > li > a:hover,
.menu > li > a:focus,
.menu > li.active > a,
.menu > li.open > a,
.menu > li button:hover,
.menu > li button:focus,
.menu > li.active button {
    color: #ffffff;
    background-color: #178acc !important;
    background-image: none;
    text-decoration: none;
}
.menu form {
    padding: 0;
}
.menu button {
    width: 100%;
    text-align: left;
}
.menu .dropdown-menu {
    border-radius: 0;
    margin: 0;
    right: -1px;
}
.menu .dropdown-menu>li>a {
    padding: 5px 35px;
}
.menu2 {
    height: auto;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}
.menu2 .dropdown-menu {
    bottom: 100%;
    top: auto;
}
.rowTable {
    display: table;
    width: 100%;
    margin: 0;
}
.col-left {
    display: table-cell;
    vertical-align: top;
    width: 300px;
    max-width: 300px;
    padding-right: 20px;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    padding: 0;
    z-index: 100;
    
    background-color: #2fa4e7;
    border-color: #1995dc;
    background-image: linear-gradient(to right, #2fa4e7, #1d9ce5);
    background-repeat: no-repeat;
    border-right: 1px solid #178acc;
}
.col-right {
    display: table-cell;
    vertical-align: top;
    width: auto;
    padding-left: 300px;
    position: relative;
}
#footer.l2 {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 300px;
    margin: 0;
}
.mainMenuLeft #content {
    margin-bottom: 82px;
}
.menu1 {
    padding-bottom: 200px;
}
.l2 {
    display: none;
}
pre.integral {
    padding: 0;
    margin-top: 4px;
    margin-left: -28px;
    background: none;
    border: none;
    font-size: 12px;
    color: #666;
}
.preGridButtonsStat {
    line-height: 1.42857143;
    position: relative;
}
.preGridButtonsStat .btn {
    z-index: 1;
    position: relative;
}
.c1_datePickStatArea {
    position: absolute;
    top: 0px;
    left: 0;
    right: 0;
    text-align: center;
}
.c1_datePickStat {
    display: inline-block;
    width: 200px;
    text-align: center;
}
.grid-view td ul:last-of-type,
.grid-view td dl:last-of-type {
    margin-bottom: 0;
}
.grid-view td dl dt {
    font-weight: normal;
}
.grid-view td dl dd {
    font-weight: bold;
}

/*.navbar-nav {
	width: 90%;
}*/

.navbar-right {
}

.btn .fa {
	margin-right: 5px;
}

.preDetailButtons {
    line-height: 40px;
    margin-top: -3px;
}

table.table.detail-view {
    margin-top: 20px;
}

.table>thead>tr:last-child>th, .table>tbody>tr:last-child>th, .table>tfoot>tr:last-child>th, .table>thead>tr:last-child>td, .table>tbody>tr:last-child>td, .table>tfoot>tr:last-child>td {
	border-bottom: 1px solid #ddd;
}

.table tr th, .table tr td {
	padding: 8px !important;
	border-right: 1px solid #ddd;
}

.table tr th:first-child {
	text-align: left;
	border-left: 1px solid #ddd;
}

.table tr td:first-child {
	text-align: left;
	border-left: 1px solid #ddd;
}

.table tr th:last-child {
	border-right: 1px solid #ddd;
}

.table tr td:last-child {
	text-align: left;
	border-right: 1px solid #ddd;
}

.table>thead>tr>th {
	border-top: 1px solid #ddd !important;
}


.preGridButtons .btn-group .btn {
	margin-right: 10px;
}



.errorSummary {
	border: 1px solid #f00;
	padding: 10px;
	background: #fcc;
	color: #f00;
}
