/*
 * 1. .row 행시작
 * 2. .row > .col-*-*
 *            이용할 기기  - 이용할 컬럼 수
 *            기본 .col-xs-*, Tablet 이상 .col-sm-*
 * 3. 예외사항 : 5컬럼 사용시 col-*-15
 */

.row {
    margin-left: -3px;
    margin-right: -3px;
}
.row [class^=col-] {
    position: relative;
    min-height: 1px;
    padding-right: 3px;
    padding-left: 3px
}

    .col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6,
    .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-15 {
        float: left
    }
    .col-xs-12 {
        width: 100%
    }
    .col-xs-11 {
        width: 91.66666667%
    }
    .col-xs-10 {
        width: 83.33333333%
    }
    .col-xs-9 {
        width: 75%
    }
    .col-xs-8 {
        width: 66.66666667%
    }
    .col-xs-7 {
        width: 58.33333333%
    }
    .col-xs-6 {
        width: 50%
    }
    .col-xs-5 {
        width: 41.66666667%
    }
    .col-xs-4 {
        width: 33.33333333%
    }
    .col-xs-3 {
        width: 25%
    }
    .col-xs-2 {
        width: 16.66666667%
    }
    .col-xs-1 {
        width: 8.33333333%
    }
    .col-xs-15 {
        width: 20%
    }

/*
 * 1. 320px ~ 767px : 100% phones, less than 768px
 * 2. 768px ~ 991px : 750px tablets, 768px and up
 * 3. 992px ~ 1199px : 970px desktops, 992px and up
 * 4. 1200px ~ : 1170px large desktops, 1200px and up
 */


@media (max-width:767px) {

    .visible-phone     { }
    .hidden-phone      { display: none; }
    .hidden-desktop    { }
    .visible-desktop   { display: none; }
}


@media (min-width:768px) {

    .visible-phone     { display: none; }
    .visible-tablet    { display: none; }
    .visible-desktop   { }
    .hidden-phone      { }
    .hidden-tablet     { }
    .hidden-desktop    { display: none; }

    .row {
        margin-left: -15px;
        margin-right: -15px;
    }

    .col {
        padding-right: 15px;
        padding-left: 15px
    }

    .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6,
    .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
        float: left;
    }
    .col-sm-12 {
        width: 100%;
    }
    .col-sm-11 {
        width: 91.66666667%;
    }
    .col-sm-10 {
        width: 83.33333333%;
    }
    .col-sm-9 {
        width: 75%;
    }
    .col-sm-8 {
        width: 66.66666667%;
    }
    .col-sm-7 {
        width: 58.33333333%;
    }
    .col-sm-6 {
        width: 50%;
    }
    .col-sm-5 {
        width: 41.66666667%;
    }
    .col-sm-4 {
        width: 33.33333333%;
    }
    .col-sm-3 {
        width: 25%;
    }
    .col-sm-2 {
        width: 16.66666667%;
    }
    .col-sm-1 {
        width: 8.33333333%;
    }
    .col-sm-15 {
        width: 20%;
    }
}


@media (min-width:768px) and (max-width:979px) {
    .visible-tablet    { }
    .hidden-tablet     { display: none; }
    .hidden-desktop    { }
    .visible-desktop   { display: none; }
}
