html,
body {
    height: 100%;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
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;
}

/* align the logout "link" (button in form) of the navbar */
.new-navbar {
    background-color: #103964;
}

.new-btn-link {
    font-weight: normal;
    color: #FFFFFF;
    border-radius: 0;
}

.new-navbar a{
    background-color: #103964;
    color: #FFFFFF;
}

.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

body {
    overflow-Y:scroll;
    background-color:white;
    min-width:320px;
}

a:hover, a:active, a:focus {
    outline: none;
    text-decoration:none;
}

:focus {
    -moz-outline-style: none;
}

input::-moz-focus-inner /*Remove button padding in FF*/
{
    border: 0;
    padding: 0;
}

.pa {
    position:absolute;
}

.pr {
    position:relative;
}

.cb {
    clear:both;
}

.ib {
    display:inline-block;
    white-space:nowrap;
}

.no-wrap {
    white-space:nowrap;
}


.main-part {
    background-color:white;
    padding-bottom:15px;
    margin-top:30px;
}

#pagebg {
    padding-top:60px;
    min-width:400px;
    scroll-Y:scroll;
}

.navbar {
    min-width:400px;
}

/*--------------*/
body {
    overflow-Y:scroll;
    background-color:white;
    min-width:320px;
}

a:hover, a:active, a:focus {
    outline: none;
    text-decoration:none;
}

:focus {
    -moz-outline-style: none;
}

input::-moz-focus-inner /*Remove button padding in FF*/
{
    border: 0;
    padding: 0;
}

.pa {
    position:absolute;
}

.pr {
    position:relative;
}

.cb {
    clear:both;
}

.ib {
    display:inline-block;
    white-space:nowrap;
}

.no-wrap {
    white-space:nowrap;
}


.main-part {
    background-color:white;
    padding-bottom:15px;
    margin-top:30px;
}

#pagebg {
    padding-top:60px;
    min-width:400px;
    scroll-Y:scroll;
}

.navbar {
    min-width:400px;
}

h1, h2, h3 {
    font-family: "Bree Serif", "Times New Roman", Serif;
}

.s-logo {
    text-transform: uppercase;
    font-family: "Bree Serif", "Times New Roman", Serif;
    font-size:30px;
    color:white;
}

a.s-logo:hover, a.s-logo:active, a.s-logo:focus {
    color:white;
}

.s-header {
    padding:8px 0px;
    max-width:100%;
    background-color: rgba(0, 40, 80, 0.8);
    box-shadow:1px 1px 3px rgba(0,0,0,0.6);
    color:rgba(255,255,255,0.6);
}

.s-header .container {
    max-width:100%;
}

.mainbody {
    background-image:url('../img/fon.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

.s-mainbody {
    background-color:rgba(255,255,255,0.95);
    margin:15px -15px 80px -15px;
    padding:15px;
    border-radius: 3px;
    min-height:400px;
    box-shadow: 3px 3px 30px rgba(0,0,0,0.5);
}

.s-mainbody h1:nth-of-type(1){
    margin:-15px -15px 15px -15px;
    padding:8px 15px 20px 15px;
    background-color:rgba(200,80,0,0.8);
    color:white;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}
.s-mainbody h1:nth-of-type(1) small {
    color:white;
}

.btn-wide {
    width:100%;
}

.modal-open {
    overflow-Y: scroll;
}

.ex-profile-s-img {
    max-width:30px;
    max-height:30px;
    border-radius:3px;
    margin:-4px 10px -4px -8px;
}

.my-profile-img {
    border-radius:3px;
    margin-bottom:15px;

}

.my-profile-img img {
    border-radius:3px;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.6);
    width:100%;
}

.adminbg {
    padding-top:40px;
}

.vs-summary {
    font-family: "Bree Serif", "Times New Roman", Serif;
    font-size:22px;
}

.vs-share {
    display:inline-block;
    position:relative;
    top:-10px;
    padding-right:10px;
}

.pointer {
    cursor: pointer;

}

.s-foot-copy {
    padding:8px 15px;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,e0e0e0+50,ffffff+100&0+0,1+33,1+66,0+100 */
    background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(235,235,235,1) 33%, rgba(224,224,224,1) 50%, rgba(234,234,234,1) 66%, rgba(255,255,255,0) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(235,235,235,1) 33%,rgba(224,224,224,1) 50%,rgba(234,234,234,1) 66%,rgba(255,255,255,0) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(235,235,235,1) 33%,rgba(224,224,224,1) 50%,rgba(234,234,234,1) 66%,rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#00ffffff',GradientType=1 ); /* IE6-9 */
}

.cols-2 {
    -webkit-column-count: 2; /* Chrome, Safari, Opera */
    -moz-column-count: 2; /* Firefox */
    column-count: 2;

    -webkit-column-gap: 20px; /* Chrome, Safari, Opera */
    -moz-column-gap: 20px; /* Firefox */
    column-gap: 20px;
}

.mt-0 {
    margin-top:0;
}

.flex-row {
    display: flex;
}

.flex-col {
    flex: 1;
    padding-right:5px;
    padding-left:5px;
}

.flex-montage {
    display: flex;
    flex-wrap: wrap;
    justify-items: flex-end;
    margin-left:-10px;
    margin-right:-10px;
}

.flex-montage-item {
    flex:1;
    display:block;
    min-width:calc(50% - 20px);
    margin-left:10px;
    margin-right:10px;
}

.flex-montage-item:first-child {
    min-width:calc(100% - 20px);
}

.menu-special {
    background: none;
    background-color: #FFEEDD;
}

a.me-item-pic {
    display: block;
    width:100%;
    max-width:200px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.s-mainmenu {
    display: inline-block;
    padding-left:20px;
}

.s-mainmenu a {
    color:white;
    display: inline-block;
    font-size:16px;
    padding:8px 15px;
}

.well h1:first-child, .well h2:first-child, .well h3:first-child {
    margin-top:0;
}

/*-----------------------*/
.toggle-switch, .toggle-switch .toggle-knob {
    -moz-transition: all 0.2s ease-in;
    -webkit-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
}

.toggle-switch {
    height: 30px;
    width: 55px;
    display: inline-block;
    background-color: #ffffff;
    margin: 2px;
    margin-bottom: 5px;
    border-radius: 30px;
    cursor: pointer;
    border: solid 1px #d2d6de;
    box-shadow: inset 1px 1px 9px -3px rgba(4, 4, 4, 0.08), 1px 2px 6px -2px rgba(0, 0, 0, 0.01);
}

.toggle-switch .toggle-knob {
    width: 28px;
    height: 26px;
    display: inline-block;
    background-color: #ffffff;
    border: solid 1px rgba(126, 126, 126, 0.07);
    box-shadow: 0 1px 3px rgba(107, 106, 106, 0.26), 0 5px 1px rgba(107, 106, 106, 0.13);
    border-radius: 26px;
    margin: 1px 1px;
}

.toggle-switch.active {
    background-color: #64bd63;
    border: solid 1px transparent;
}

.toggle-switch.active .toggle-knob {
    margin-left: 24px;
}

