﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

.mt-0 {
    margin-top: 5px !important;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

.photo {
width:120px; height: 140px;
}



  .square-box{
    position: relative;
    width: 10%;
    overflow: hidden;
    background: #4679BD;
}
.square-box:before{
    content: "";
    display: block;
    padding-top: 100%;
}
.square-content{
    position:  absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    color: white;
}
.square-content div {
   display: table;
   width: 100%;
   height: 100%;
}
.square-content span {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    color: white
}

@media (min-width: 1200px) {
    .container, .container-sm, .container-md, .container-lg, .container-xl {
        max-width: 1140px;
    }
}


@media (min-width: 1600px) {
    .container, .container-sm, .container-md, .container-lg, .container-xl {
        max-width: 1540px;
    }
}


@media (min-width: 2000px) {
    .container, .container-sm, .container-md, .container-lg, .container-xl {
        max-width: 1940px;
    }
}


@media (min-width: 2500px) {
    .container, .container-sm, .container-md, .container-lg, .container-xl {
        max-width: 1440px;
    }
}



@media (min-width: 3000px) {
    .container, .container-sm, .container-md, .container-lg, .container-xl {
        max-width: 2940px;
    }
}



/* collapsed sidebar styles */
@media screen and (max-width: 767px) {

    .photo {
        width: 80px;
        height: 90px;
    }


    .row-offcanvas {
        position: relative;
        -webkit-transition: all 0.25s ease-out;
        -moz-transition: all 0.25s ease-out;
        transition: all 0.25s ease-out;
    }

    .row-offcanvas-right .sidebar-offcanvas {
        right: -41.6%;
    }

    .row-offcanvas-left .sidebar-offcanvas {
        left: -41.6%;
    }

    .row-offcanvas-right.active {
        right: 41.6%;
    }

    .row-offcanvas-left.active {
        left: 41.6%;
    }

    .sidebar-offcanvas {
        position: absolute;
        top: 0;
        width: 41.6%;
    }

    #sidebar {
        background-color: #3b3b3b;
        padding-top: 0;
    }

        #sidebar .nav > li {
            color: #ddd;
            background: linear-gradient(#3E3E3E, #383838);
            border-top: 1px solid #484848;
            border-bottom: 1px solid #2E2E2E;
        }
}

.heartbeat {
                position: absolute;
                display: none;
                margin: 5px;
                color: red;
                right: 0;
                top: 0;
            }


.collapse.in {
    display: inline !important;
}
.containerX {
    margin: 10px;
    width: 112px;
    height: 31px;
    line-height: 31px;
    text-align: center;
    border: 0px solid red;
}

.resize_fit_center {
    max-width: 100%;
    max-height: 100%;
    vertical-align: middle;
}

body {
    padding-top: 0px;
}
/*body { padding-top: 0px; }
                @@media screen and (max-width: 768px) {
                    body { padding-top: 200px; }
                }*/

.fa-2x {
    font-size: 2em !important;
}

.faGreen {
    color: #99ff99;
}

.faRed {
    color: #009933;
}

.navbar {
    min-height: 80px;
}

.navbar-brand {
    padding: 0 15px;
    height: 80px;
    line-height: 80px;
}

.navbar-toggle {
    /* (80px - button height 34px) / 2 = 23px */
    margin-top: 23px;
    padding: 9px 10px !important;
}

@media (min-width: 768px) {
    .navbar-nav > li > a {
        /* (80px - line-height of 27px) / 2 = 26.5px */
        padding-top: 26.5px;
        padding-bottom: 26.5px;
        line-height: 27px;
    }
}

.navbar-right {
    float: right;
    margin-left: 15px;
}




.bg-custom-2 {
    background-image: linear-gradient(15deg, #446e9b 0%, #6d94bf 100%);
}




