﻿* { padding: 0; margin: 0; }

html, body{
    height:100%;
    min-height: 100% !important;
}
body {
    padding-top: 50px;
    padding-bottom: 100px;
    font-family: 'Microsoft JhengHei', 'Arial';
    background-image: url("../Images/connected.png");
    margin-bottom:100px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;

}

.h1, .h2, .h3, h1, h2, h3{
    margin:0px;
}

a:active, a:hover, a:visited, a:link {
  text-decoration: none; /* no underline */
}

label {
    white-space: pre-wrap;
}

@media screen and (min-width: 1200px) {
    .body-content {

    margin-top: 30px;
}
}
/* 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;
}

.body-content h1{
    font-size:2em;
}
/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 400px;
}

.item-box{
    padding:10px;
}

.item-box .item{
	min-height:190px;
	background-image: url(../Images/logo.png);
	-webkit-background-size: 100%;
	     -o-background-size: 100%;
	        background-size: 100%;
	position: relative;
	top:0;
	left:0;
	z-index:4;
	overflow: hidden;
	-webkit-border-radius: 3px;
	        border-radius: 3px;
	-webkit-box-shadow: 0 1px 5px rgba(0,0,0,0.3);
	        box-shadow: 0 1px 5px rgba(0,0,0,0.3);
            background-repeat:no-repeat;
}

item-box .item {
    background-size: 100%;
}
    @media screen and (min-width: 580px) and (max-width: 767px) {
        .item-box {
            width: 33.3333% !important;
        }
    }

    @media screen and (max-width: 320px)  {
        .item-box {
            width: 100% !important;
        }
    }


    .item-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 3px;
        /* IE9 SVG, needs conditional override of 'filter' to 'none' */
        background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjI4JSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDAwMDAiIHN0b3Atb3BhY2l0eT0iMC40MiIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
        background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,0.42) 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(28%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,0.42))); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 28%,rgba(0,0,0,0.42) 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 28%,rgba(0,0,0,0.42) 100%); /* Opera 11.10+ */
        background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 28%,rgba(0,0,0,0.42) 100%); /* IE10+ */
        background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 28%,rgba(0,0,0,0.42) 100%); /* W3C */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#6b000000',GradientType=0 ); /* IE6-8 */
        -webkit-transition: background-color 0.3s ease-in-out;
        -moz-transition: background-color 0.3s ease-in-out;
        -ms-transition: background-color 0.3s ease-in-out;
        -o-transition: background-color 0.3s ease-in-out;
        transition: background-color 0.3s ease-in-out;
    }

    .item-box .item:hover .item-overlay {
        /* IE9 SVG, needs conditional override of 'filter' to 'none' */
        background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjI4JSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDAwMDAiIHN0b3Atb3BhY2l0eT0iMC40MiIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
        background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,0.42) 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(28%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,0.42))); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 28%,rgba(0,0,0,0.42) 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 28%,rgba(0,0,0,0.42) 100%); /* Opera 11.10+ */
        background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 28%,rgba(0,0,0,0.42) 100%); /* IE10+ */
        background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 28%,rgba(0,0,0,0.42) 100%); /* W3C */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#6b000000',GradientType=0 ); /* IE6-8 */
        background-color: rgba(0,0,0,0.4);
    }

    .item-content {
        position: absolute;
        width: 100%;
        bottom: 0;
        -webkit-transform: translate(0,100%);
        -moz-transform: translate(0,100%);
        -ms-transform: translate(0,100%);
        -o-transform: translate(0,100%);
        transform: translate(0,100%);
        -webkit-transition: all 0.3s ease-in-out;
        -moz-transition: all 0.3s ease-in-out;
        -ms-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }

    .item-box .item:hover .item-content {
        -webkit-transform: translate(0,0);
        -moz-transform: translate(0,0);
        -ms-transform: translate(0,0);
        -o-transform: translate(0,0);
        transform: translate(0,0);
        -webkit-transition: all 0.3s ease-in-out;
        -moz-transition: all 0.3s ease-in-out;
        -ms-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }

    .item-top-content {
        position: relative;
    }

    .item-top-content-inner {
        position: absolute;
        bottom: 0;
        padding: 10px 15px 10px 15px;
        background: #0b91b9;
        width: 100%;
        height: 60px;
    }

.item:hover .item-top-content-inner {
    background: #066C8A;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
        

        .item-top-content-inner h2 {
            font-size: 1.1em;
            color: #fff;
            line-height: 1.3;
        }

    @media only screen and (max-width: 767px) {
        .item-top-content-inner {
            height: 75px;
        }
    }

    .item-add-content {
        padding: 0 15px 15px 15px;
        opacity: 0;
        -webkit-transition: all 0.3s ease-in-out;
        -moz-transition: all 0.3s ease-in-out;
        -ms-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }

    .item-box .item:hover .item-add-content {
        opacity: 1
    }

    .item-add-content-inner {
        border: 0px solid #dadada;
        border-top-width: 1px;
        padding-top: 10px;
    }



    /* Buttons */
    .item-button {
        border-radius: 3px;
        width: 30px;
        height: 30px;
    }

        .item-button.play {
            background-color: #40c781;
            position: absolute;
            top: 15px;
            left: 15px;
            opacity: 0;
            background-image: url(http://webstudios.dk/resources/img/play-img.png);
        }

            .item-button.play:hover {
                background-color: #34a46c;
            }

    .container-item:hover .item-button.play {
        opacity: 1;
    }

    .item-button.share {
        background-color: #4f4f4f;
        position: absolute;
        top: 50px;
        left: 15px;
        opacity: 0;
        background-image: url(http://webstudios.dk/resources/img/share-img.png);
    }

        .item-button.share:hover {
            background-color: #333333;
        }

    .container-item:hover .item-button.share {
        opacity: 1;
    }
    /*.btn.buy{
    float:left;
    width: 100%;
	background-color: #0b91b9;
	text-align:center;
	zline-height:42px;
	font-weight:700;
	color:#fff;
	border-radius:3px;
	text-decoration:none;
	opacity:1;
	border:0px solid #0f7fa0;
	border-bottom-width:2px;
	-webkit-transition: all 0.2s ease-in-out;
	   -moz-transition: all 0.2s ease-in-out;
	    -ms-transition: all 0.2s ease-in-out;
	     -o-transition: all 0.2s ease-in-out;
	        transition: all 0.2s ease-in-out;
}
.btn.buy:hover{
	background-color:#37a9cb;
}
.expand{
	display:block;
}*/

    .buy, .buy:hover, .buy:active, .buy:visited {
        color: #fff;
    }


    /* Tags */
    .sale-tag {
        width: 50px;
        height: 100px;
        background: #40c781;
        position: absolute;
        top: -45px;
        right: -10px;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

        .sale-tag span {
            position: absolute;
            top: 48px;
            left: 2px;
            -webkit-transform: rotate(45deg);
            -moz-transform: rotate(45deg);
            -ms-transform: rotate(45deg);
            -o-transform: rotate(45deg);
            transform: rotate(45deg);
            font-size: 11px;
            color: #fff;
        }

    /* content */

    .item-product {
        width: 100%;
        float: left;
    }

    .item-product-price {
        width: 30%;
        float: right;
        text-align: right;
    }
    /* Style / Theming */



    /*Prduct title*/
    h2 {
        font-size: 1em;
        font-weight: 400;
        color: #222;
    }

    .subdescription {
        font-size: 0.8em;
        font-weight: 400;
        color: #7d7d7d;
    }

    /*product price*/
    .item-product-price {
        color: #0b91b9;
        font-size: 1em;
        font-weight: 700;
        position: relative;
        padding-top: 18px;
    }

        .item-product-price .subdescription {
            color: #7d7d7d;
        }

    .old-price {
        border: 0 solid #7d7d7d;
        border-bottom-width: 1px;
        margin-top: -11px;
        width: 30px;
        position: absolute;
        right: -2px;
        bottom: 10px;
        -webkit-transform: rotate(-30deg);
        -moz-transform: rotate(-30deg);
        -ms-transform: rotate(-30deg);
        -o-transform: rotate(-30deg);
        transform: rotate(-30deg);
    }

    .item-content {
        background: rgba(255,255,255,.85);
    }

    .item-add-content {
        font-family: 'Lato', sans-serif;
        font-weight: 400;
        color: #7d7d7d;
    }

        .item-add-content .section {
            margin-bottom: 10px;
        }

            .item-add-content .section:last-of-type {
                margin-bottom: 0;
            }

        .item-add-content h4 {
            font-weight: 600;
            color: #222;
            font-size: 0.8em;
        }

        .item-add-content p {
            font-size: 0.8em;
        }


    /* Item menu */
    .item-menu {
        position: absolute;
        top: 3px;
        left: 0px;
        height: 254px;
        width: 260px;
        border-radius: 3px 0 0 3px;
        background: #4f4f4f;
        -webkit-border-radius: 3px;
        border-radius: 3px;
        -webkit-box-shadow: 0 1px 5px rgba(0,0,0,0.3);
        box-shadow: 0 1px 5px rgba(0,0,0,0.3);
        -webkit-transform: translate(0,0);
        -moz-transform: translate(0,0);
        -ms-transform: translate(0,0);
        -o-transform: translate(0,0);
        transform: translate(0,0);
        -webkit-transition: all 0.3s ease-in-out;
        -moz-transition: all 0.3s ease-in-out;
        -ms-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }

        .item-menu.visible {
            -webkit-transform: translate(-70px,0);
            -moz-transform: translate(-70px,0);
            -ms-transform: translate(-70px,0);
            -o-transform: translate(-70px,0);
            transform: translate(-70px,0);
            -webkit-transition: all 0.3s ease-in-out;
            -moz-transition: all 0.3s ease-in-out;
            -ms-transition: all 0.3s ease-in-out;
            -o-transition: all 0.3s ease-in-out;
            transition: all 0.3s ease-in-out;
        }

        .item-menu:hover {
            -webkit-transform: translate(-70px,0);
            -moz-transform: translate(-70px,0);
            -ms-transform: translate(-70px,0);
            -o-transform: translate(-70px,0);
            transform: translate(-70px,0);
            -webkit-transition: all 0.3s ease-in-out;
            -moz-transition: all 0.3s ease-in-out;
            -ms-transition: all 0.3s ease-in-out;
            -o-transition: all 0.3s ease-in-out;
            transition: all 0.3s ease-in-out;
        }
    /*List*/
    .popout-menu ul {
        list-style-type: none;
    }

        .popout-menu ul li {
            -webkit-box-shadow: inset 0px 1px rgba(255,255,255,0.1);
            box-shadow: inset 0px 1px rgba(255,255,255,0.1);
            border-bottom: 1px solid #434343;
        }

            .popout-menu ul li:first-of-type {
                -webkit-border-radius: 3px 0;
                border-radius: 3px 0;
            }

            .popout-menu ul li:last-of-type {
                border-bottom-width: 0px;
            }

            .popout-menu ul li:hover {
                background: #434343;
            }

            .popout-menu ul li a {
                color: #eaeaea;
                font-weight: 600;
                font-size: 0.8em;
                text-decoration: none;
                line-height: 36px;
                padding: 0 15px;
                display: block;
                text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
            }

    @media screen and (min-width: 1200px) {
        .modal-dialog {
            width: 600px;
        }
    }

    .btn-editItem {
        background: none;
        border: none;
    }

    /* -------------------------------- 

Modules - reusable parts of our design

-------------------------------- */
    .cd-container {
        /* this class is used to horizontally align the gallery of items */
        position: relative;
        width: 90%;
        max-width: 1200px;
        margin: 0 auto;
    }

        .cd-container::after {
            /* clearfix */
            content: '';
            display: table;
            clear: both;
        }

    .cd-img-replace {
        /* replace text with a background-image */
        display: inline-block;
        overflow: hidden;
        text-indent: 50px;
        white-space: nowrap;
        line-height: 45px;
        color: #fff;
    }

        .cd-img-replace:hover {
            text-decoration: none;
            color: #fff;
        }

    /* -------------------------------- 

xheader 

-------------------------------- */
    header {
        position: fixed;
        top: 0;
        left: 0;
        height: 50px;
        width: 100%;
        background: #ffffff;
        text-align: center;
        zbox-shadow: 0 2px 0 rgba(0, 0, 0, 0.1);
        border-bottom: 1px solid #e4e4e4;
        z-index: 8;
    }

    @media only screen and (min-width: 1200px) {
        header {
            height: 80px;
        }
    }

    header h1 {
        font-family: 'Microsoft YaHei', 'Arial';
        float: left;
        margin-left: 110px;
        margin-top: 16px;
        font-size: 24px;
        color: #435779;
    }

.app-name {
    cursor: pointer;
}

.logo {
    /* delete this property if you don't want your logo to scale down on mobile devices */
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    -ms-transform: scale(0.8);
    -o-transform: scale(0.8);
    transform: scale(0.8);
    position: absolute;
    left: 0px;
    top: -4px;
    cursor: pointer;
}

        .logo img {
            width: 120px;
        }


    @media only screen and (min-width: 1200px) {
        .logo {
            zpadding-top: 20px;
            /* logo left margin on Dekstop */
            left: 2.4em;
            top: 0;
            -webkit-transform: scale(1);
            -moz-transform: scale(1);
            -ms-transform: scale(1);
            -o-transform: scale(1);
            transform: scale(1);
        }

            .logo img {
                width: 150px;
            }

        header h1 {
            font-size: 34px;
            margin-left: 188px;
            margin-top: 23px;
        }
    }

    #cd-hamburger-menu, #cd-cart-trigger {
        position: relative;
        ztop: 0;
    }

    #cd-cart-trigger {
        height: 100%;
    }

    #cd-hamburger-menu a {
        width: 60px;
    }

    #cd-cart-trigger a {
        height: 100%;
        width: 100%;
    }

    #cd-hamburger-menu {
        position: fixed;
        top: 50px;
        width: 100%;
        left: 0;
        z-index: 10;
    }

        #cd-hamburger-menu a {
            height: 45px;
            width: 100%;
            background: #0b91b9 url("../Images/cd-hamburger-menu.svg") no-repeat center left 10px;
            color: #fff;
        }

            #cd-hamburger-menu a:hover {
                color: #fff;
                text-decoration: none;
            }

    @media only screen and (min-width: 1200px) {
        #cd-hamburger-menu {
            display: none;
        }
    }

    #cd-cart-trigger {
        zright: 0;
    }

        #cd-cart-trigger a {
            background: #66CDAA url("../Images/cd-cart.svg") no-repeat 50% 7%;
            padding-top: 25px;
            z-index: 9999;
            text-align: center;
            text-indent: initial;
        }

    @media only screen and (min-width: 1200px) {
        #cd-cart-trigger {
            /* cart right margin on desktop */
            right: 0;
        }

            #cd-cart-trigger a {
                position: relative;
                border-left: none;
                background-color: #66CDAA;
            }
    }

    .login, .logout {
        height: 100%;
        background-color: #20B2AA;
    }

        .login a, .logout a {
            display: block;
            width: 100%;
            height: 100%;
            z-index: 9999;
            color: #fff;
            text-align: center;
            padding-top: 10px;
        }

            .login a p, .logout a p {
                margin-top: 4px;
            }

            .logout a img {
                margin-top: 1px;
            }

            .login a img, .logout a img {
                width: 23px;
                color: #fff;
            }


    @media only screen and (min-width: 1200px) {
        .login {
            right: 100px;
        }

            .login a {
                display: block;
                width: 100%;
                height: 100%;
                z-index: 9999;
                color: #fff;
            }

                .login a img {
                    width: 23px;
                }
    }

    #main-nav, #cd-cart {
        position: fixed;
        top: 0;
        height: 100%;
        width: 85%;
        /* header height */
        padding-top: 50px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
        z-index: 7;
    }

    @media only screen and (max-width: 1199px) {
        #main-nav, #cd-cart {
            padding-top: 95px;
        }
    }

    @media only screen and (min-width: 768px) {
        #main-nav, #cd-cart {
            width: 350px;
        }
    }

    @media only screen and (min-width: 1200px) {
        #main-nav {
            position: absolute;
            zwidth: 30%;
            /* header height has changed */
            padding-top: 80px;
        }

        #cd-cart {
            position: fixed;
            width: 30%;
            /* header height has changed */
            padding-top: 80px;
        }
    }

    #main-nav {
        left: -100%;
        background: #FFF;
        -webkit-transition: left 0.3s;
        -moz-transition: left 0.3s;
        transition: left 0.3s;
    }

        #main-nav ul {
            margin-top: 10px;
            list-style-type: none;
            padding-left: 0px;
        }

        #main-nav.speed-in {
            left: 0;
            padding-top: 100px;
        }

        #main-nav ul li {
            display: block;
            padding: 0.3em 1em;
            border-bottom: 1px solid #e0e6ef;
        }

        #main-nav ul ul {
            list-style-type: circle;
        }


            #main-nav ul ul li {
                border: none;
            }

        #main-nav ul li ul {
            display: none;
        }

        #main-nav ul li.active ul, #main-nav ul li:hover ul {
            display: block;
        }

        #main-nav ul li ul li a {
            padding: 0px;
        }


        #main-nav ul a p {
            margin: 0px 2px;
            font-size: 12px;
        }

            #main-nav ul a p:first-child {
                margin-top: 15px;
                font-size: 14px;
            }

        #main-nav ul .active {
            zbox-shadow: inset 3px 0 #435779;
        }

    @media only screen and (min-width: 1200px) {
        #main-nav {
            /* reset main nav style */
            zposition: absolute;
            height: auto;
            width: auto;
            left: auto;
            zright: 8em;
            padding-top: 0;
            ztop: 0;
            background: transparent;
            box-shadow: none;
            /* header height */
            line-height: 40px;
            z-index: 4;
            margin-bottom: 70px;
        }

            #main-nav ul li {
                display: block;
                margin-left: 1em;
                border-bottom: none;
            }

            #main-nav ul a {
                display: inline-block;
                height: auto;
                line-height: 1;
                padding: 0.7em 1em;
                border-bottom: none;
                color: #707070;
                text-decoration: none;
            }

            #main-nav ul li.active, #main-nav ul li:hover {
                color: #435779;
            }

                #main-nav ul li.active a, #main-nav ul li:hover a {
                    box-shadow: none;
                    color: #435779;
                    border-bottom: 2px solid #435779;
                    padding-left: 0px;
                }

                #main-nav ul li.active ul lia, #main-nav ul li:hover ul li a {
                    color: rgb(160, 160, 160);
                }

                #main-nav ul li.active ul li, #main-nav ul li:hover ul li {
                    line-height: 25px;
                    margin-left: 0px;
                }

                    #main-nav ul li:hover ul li a {
                        border: none;
                    }

                    #main-nav ul li.active ul li a {
                        border: none;
                    }

            #main-nav ul a p {
                margin-top: 3px;
            }

                #main-nav ul a p:first-child {
                    margin-top: 0px;
                    font-size: 14px;
                }

        .no-touch #main-nav ul a:hover {
            box-shadow: none;
            zbackground: #435779;
            color: #435779;
            border-bottom: 2px solid #435779;
            padding-left: 0px;
        }

            .no-touch #main-nav ul a:hover ul li {
                box-shadow: none;
                color: #435779;
                border-bottom: 2px solid #435779;
                padding-left: 0px;
            }

                .no-touch #main-nav ul a:hover ul li a {
                    border: none;
                }


        .no-touch #main-nav ul ul li:hover a {
            color: #435779;
            border: none;
        }

        .no-touch #main-nav ul ul li.active a {
            color: #435779;
            border: none;
        }
    }

    .no-js #main-nav {
        position: fixed;
    }

    #cd-cart {
        left: -100%;
        background: #FFF;
        -webkit-transition: left 0.3s;
        -moz-transition: left 0.3s;
        transition: left 0.3s;
        z-index: 7;
    }

        #cd-cart.speed-in {
            left: 0;
        }

        #cd-cart > * {
            padding: 0 1em;
        }

        #cd-cart h2 {
            font-size: 14px;
            font-weight: bold;
            text-transform: uppercase;
            margin: 1em 0;
        }

        #cd-cart .cd-cart-items {
            padding: 0;
        }

            #cd-cart .cd-cart-items li {
                position: relative;
                padding: 1em;
                border-top: 1px solid #e0e6ef;
            }

                #cd-cart .cd-cart-items li:last-child {
                    border-bottom: 1px solid #e0e6ef;
                }

        #cd-cart .cd-qty, #cd-cart .cd-price {
            color: #a5aebc;
        }

        #cd-cart .cd-price {
            margin-top: .4em;
        }

        #cd-cart .cd-item-remove {
            position: absolute;
            right: 1em;
            top: 17%;
            bottom: auto;
            -webkit-transform: translateY(-50%);
            -moz-transform: translateY(-50%);
            -ms-transform: translateY(-50%);
            -o-transform: translateY(-50%);
            transform: translateY(-50%);
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: url("../Images/cd-remove-item.svg") no-repeat center center;
        }

    .no-touch #cd-cart .cd-item-remove:hover {
        background-color: #e0e6ef;
    }

    #cd-cart .cd-cart-total {
        padding-top: 1em;
        padding-bottom: 1em;
    }

        #cd-cart .cd-cart-total span {
            float: right;
        }

        #cd-cart .cd-cart-total::after {
            /* clearfix */
            content: '';
            display: table;
            clear: both;
        }

    #cd-cart .checkout-btn {
        display: block;
        width: 100%;
        height: 60px;
        line-height: 60px;
        background: #7dcf85;
        color: #FFF;
        text-align: center;
        font-size: 1.1em;
    }

    .no-touch #cd-cart .checkout-btn:hover {
        /** Firefox */
        -moz-transition: all .25s ease-in;
        /* WebKit */
        -webkit-transition: all .25s ease-in;
        /* Opera */
        -o-transition: all .25s ease-in;
        /* Standard */
        transition: all .25s ease-in;
        background: #a2dda8;
    }

    #cd-cart .cd-go-to-cart {
        display: block;
        width: 100%;
        height: 60px;
        line-height: 60px;
        background: #eaa23e;
        color: #FFF;
        text-align: center;
        margin-top: 10px;
        font-size: 1.1em;
    }

        #cd-cart .cd-go-to-cart a {
            color: #FFF;
            text-decoration: none;
        }

            #cd-cart .cd-go-to-cart:hover, #cd-cart .cd-go-to-cart a:hover {
                /** Firefox */
                -moz-transition: all .25s ease-in;
                /* WebKit */
                -webkit-transition: all .25s ease-in;
                /* Opera */
                -o-transition: all .25s ease-in;
                /* Standard */
                transition: all .25s ease-in;
                background: #ffc467;
            }

    @media only screen and (min-width: 1200px) {
        #cd-cart > * {
            padding: 0 2em;
        }

        #cd-cart .cd-cart-items li {
            padding: 1em 2em;
        }

        #cd-cart .cd-item-remove {
            right: 2em;
        }
    }

    /* -------------------------------- 

xgallery 

-------------------------------- */
    main {
        position: relative;
        min-height: 100%;
        background: #eeeff7;
        padding-top: 70px;
        z-index: 1;
    }

    @media only screen and (min-width: 768px) {
        main {
            padding-top: 90px;
        }
    }

    @media only screen and (min-width: 1200px) {
        main {
            padding-top: 120px;
        }
    }

    #cd-gallery-items li {
        margin-bottom: 1.5em;
    }

        #cd-gallery-items li img {
            width: 100%;
            display: block;
            border-radius: 0.25em;
        }

    @media only screen and (min-width: 768px) {
        #cd-gallery-items li {
            width: 48%;
            float: left;
            margin-bottom: 2em;
            margin-right: 4%;
        }

            #cd-gallery-items li:nth-child(2n) {
                margin-right: 0;
            }
    }

    @media only screen and (min-width: 1200px) {
        #cd-gallery-items li {
            width: 31%;
            float: left;
            margin-bottom: 2.5em;
            margin-right: 3.5%;
        }

            #cd-gallery-items li:nth-child(2n) {
                margin-right: 3.5%;
            }

            #cd-gallery-items li:nth-child(3n) {
                margin-right: 0;
            }
    }

    #cd-shadow-layer {
        position: fixed;
        min-height: 100%;
        width: 100%;
        top: 0;
        left: 0;
        background: rgba(67, 87, 121, 0.6);
        cursor: pointer;
        z-index: 5;
        display: none;
    }

        #cd-shadow-layer.is-visible {
            display: block;
            -webkit-animation: cd-fade-in 0.3s;
            -moz-animation: cd-fade-in 0.3s;
            animation: cd-fade-in 0.3s;
        }

    /* -------------------------------- 

xkeyframes 

-------------------------------- */
    @-webkit-keyframes cd-fade-in {
        0% {
            opacity: 0;
        }

        100% {
            opacity: 1;
        }
    }

    @-moz-keyframes cd-fade-in {
        0% {
            opacity: 0;
        }

        100% {
            opacity: 1;
        }
    }

    @keyframes cd-fade-in {
        0% {
            opacity: 0;
        }

        100% {
            opacity: 1;
        }
    }

    .cart-inner {
        position: relative;
    }

    .badge {
        position: absolute;
        top: 6%;
        z-index: 9999;
    }

    @media only screen and (max-width: 767px) {
        .badge {
            right: 40%;
        }
    }

    @media only screen and (min-width: 768px) {
        .badge {
            right: 43%;
        }
    }

    @media only screen and (min-width: 1024px) {
        .badge {
            right: 44%;
        }
    }

    @media only screen and (min-width: 1200px) {
        .badge {
            right: 45%;
        }
    }




    .btn.btn-more {
        background-color: #337ab7;
        width: 25%;
        margin-left: 2px;
    }

        .btn.btn-more:hover {
            background-color: #0860a3;
        }

    .course-container h1 {
        font-size: 26px;
    }

    .progress-bar-container {
        zwidth: 600px;
        margin: 70px auto;
        margin-bottom: 30px;
    }

    .progressbar {
        counter-reset: step;
        padding-left: 0px;
    }

        .progressbar li {
            list-style-type: none;
            width: 25%;
            float: left;
            font-size: 12px;
            position: relative;
            text-align: center;
            text-transform: uppercase;
            color: #707070;
        }

            .progressbar li:before {
                width: 30px;
                height: 30px;
                content: counter(step);
                counter-increment: step;
                line-height: 30px;
                border: 2px solid #7d7d7d;
                display: block;
                text-align: center;
                margin: 0 auto 10px auto;
                border-radius: 50%;
                background-color: white;
            }

            .progressbar li:after {
                width: 100%;
                height: 2px;
                content: '';
                position: absolute;
                background-color: #7d7d7d;
                top: 15px;
                left: -50%;
                z-index: -1;
            }

            .progressbar li:first-child:after {
                content: none;
            }

            .progressbar li.active {
                color: green;
            }

                .progressbar li.active:before {
                    border-color: #55b776;
                }

                .progressbar li.active + li:after {
                    background-color: #55b776;
                }

    .user-box {
        border: 1px solid #d4d4d4;
        border-radius: 5px;
        padding-top: 20px;
        background: #fff;
    }

        .user-box h2 {
            font-size: 22px;
            color: #435779;
            border-bottom: 1px solid #435779;
            padding-bottom: 5px;
            margin-bottom: 25px;
        }

    @media(max-width:1200px) {
        .index-container {
            margin-top: 70px;
        }
    }

    .index-container div.tCell {
        display: table;
        text-align: center;
        width: 100%;
        margin: 10px;
    }

    .index-container a {
        height: 150px;
        display: table-cell;
        vertical-align: middle;
    }

    footer {
        position: fixed;
        bottom: 0;
        width: 100%;
        height: 60px;
        z-index: 4;
    }

    @media(max-width:480px) {


        footer .footer-contact-us p {
            font-size: 15px !important
        }
    }


    footer .footer-contact-us {
        padding-bottom: 5px;
    }

        footer .footer-contact-us p {
            margin-bottom: 0px;
        }

            footer .footer-contact-us p:first-child {
                margin-bottom: 5px;
            }


    footer div.footer-item {
        width: 50%;
        float: left;
    }

        footer div.footer-item:first-child {
            float: left;
        }

    footer div.footer-item-2 {
        width: 40%;
        float: left;
    }

    footer div.footer-item-logout {
        width: 20%;
        float: left;
        height: 100%;
        background: #20B2AA;
    }

    .alert {
        margin-top: 30px;
    }

    .body-content {
        margin-bottom: 100px;
    }

    .search-box {
        float: right;
        width: 200px;
        margin-top: 8px;
    }




    #custom-search-form {
        margin: 0;
        margin-top: 5px;
        padding: 0;
        position: relative;
        margin-right: 15px;
    }



    @media only screen and (max-width: 767px) {
        #custom-search-form {
            margin-top: 8px;
            position: absolute;
            right: 0;
            top: -2px;
        }

        .search-form-desktop {
            display: none;
        }
    }

    @media only screen and (min-width: 768px) {
        #custom-search-form {
            margin-top: 8px;
            position: absolute;
            right: 0;
            top: -2px;
        }

        .search-form-desktop {
            display: none;
        }
    }

    @media only screen and (min-width: 1024px) {
        #custom-search-form {
            margin-top: 8px;
        }
    }

    @media only screen and (min-width: 1200px) {

        .search-form-desktop {
            display: block;
        }

        #custom-search-form {
            margin-top: 20px;
        }
    }

    #custom-search-form .search-query {
        padding-right: 3px;
        padding-right: 4px \9;
        padding-left: 3px;
        padding-left: 4px \9;
        /* IE7-8 doesn't have border-radius, so don't indent the padding */
        margin-bottom: 0;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
    }

    #custom-search-form button {
        border: 0;
        background: none;
        /** belows styles are working good */
        padding: 2px 5px;
        margin-top: 2px;
        position: absolute;
        right: 5px;
        top: 5px;
        /* IE7-8 doesn't have border-radius, so don't indent the padding */
        margin-bottom: 0;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
    }

    .search-query:focus + button {
        z-index: 3;
    }

    #logo {
        cursor: pointer;
    }

    .checkout-remarks {
        background: #F7F8E0;
        color: #FA5858;
        padding: 5px;
        font-size: 17px;
        line-height: 1.7;
    }

    .agree-box {
        text-align: center;
        font-size: 17px;
        margin-top: 20px;
    }

        .agree-box label {
            font-weight: normal;
        }

    .btn-confirmPayment {
        margin-bottom: 20px;
    }

    .field-validation-error {
        color: #ff6a6a;
    }

    .loader {
        border: 16px solid #f3f3f3;
        border-radius: 50%;
        border-top: 16px solid #3498db;
        width: 120px;
        height: 120px;
        -webkit-animation: spin 2s linear infinite; /* Safari */
        animation: spin 2s linear infinite;
        margin: 0 auto;
    }

    /* Safari */
    @-webkit-keyframes spin {
        0% {
            -webkit-transform: rotate(0deg);
        }

        100% {
            -webkit-transform: rotate(360deg);
        }
    }

    @keyframes spin {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }

    .overlay {
        background: rgba(0, 0, 0, 0.4);
        z-index: 9999;
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        display: none;
    }

        .overlay p {
            margin-top: 20px;
            text-align: center;
            color: #FFF;
            font-weight: bold;
            font-size: 22px;
        }

    @media (min-width: 992px) {
        #table th.detail {
            display: none;
        }

        #table tbody tr td:first-child {
            display: none;
        }
    }

    .fixed-table-container {
        border-left: none !important;
        border-right: none !important;
        border-top: none !important;
    }

    .detail-view ul li {
        float: left;
        width: 80%;
        list-style-type: none;
        margin-bottom: 7px;
    }

        .detail-view ul li.left {
            width: 20%;
            font-weight: bold;
        }

    #table, #table tr td {
        border-bottom: 1px solid #ddd !important;
    }

    .failCourseList tr.info td {
        background: #FADCDC !important;
    }

    .rtn-payment-inner {
        width: 300px;
        margin: 0 auto;
        text-align: center;
    }

        .rtn-payment-inner img, .prepare-payment-inner img {
            margin-bottom: 10px;
        }

        .rtn-payment-inner h1, .prepare-payment-inner h1 {
            margin-bottom: 10px;
        }

        .rtn-payment-inner p, .prepare-payment-inner p {
            font-size: 16px;
        }

    .prepare-payment-inner {
        text-align: center;
    }

    .declaration ul {
        padding: 10px 20px;
    }

        .declaration ul li {
            margin-bottom: 10px;
        }

    .tip-box {
        margin: 10px 15px;
        background: #d9edf7;
        padding: 5px;
    }

    .formerStudentMsg {
        color: #ff5858;
    }

    .pForm {
        padding: 10px;
    }

        .pForm .alert {
            padding-left: 30px !important;
        }


    @media only screen and (max-width: 767px) {

        .divKnowFrom input {
            float: left;
            width: 5%;
        }

        .divKnowFrom label {
            float: left;
            display: block;
            width: 95%;
        }
    }

    .sticky-container {
        padding: 0px;
        margin: 0px;
        position: fixed;
        right: -170px;
        bottom: 60px;
        width: 210px;
        z-index: 1100;
    }

    .sticky li {
        list-style-type: none;
        background-color: #fff;
        color: #efefef;
        height: 43px;
        padding: 0px;
        margin: 0px 0px 1px 0px;
        -webkit-transition: all 0.25s ease-in-out;
        -moz-transition: all 0.25s ease-in-out;
        -o-transition: all 0.25s ease-in-out;
        transition: all 0.25s ease-in-out;
        cursor: pointer;
        border-radius: 30px 0px 0px 30px;
        margin-bottom: 2px;
    }

        .sticky li:hover {
            margin-left: -115px;
        }

        .sticky li img {
            float: left;
            margin: 5px 4px;
            margin-right: 5px;
        }

        .sticky li p {
            padding-top: 5px;
            margin: 0px;
            line-height: 16px;
            font-size: 13px;
        }

            .sticky li p a {
                text-decoration: none;
                color: #2C3539;
            }

                .sticky li p a:hover {
                    text-decoration: underline;
                }

    .optClassFull {
        background: #E6E6E6;
    }

    #cd-cart .cd-cart-items .dropdown-menu li {
        border: none;
        padding: 0;
    }

        #cd-cart .cd-cart-items .dropdown-menu li.divider {
            height: 1px;
            margin: 9px 0;
            overflow: hidden;
            background-color: #e5e5e5;
            padding: 0;
            border: none;
        }

    .optClassCode {
        position: relative;
    }

    .dropdown-menu {
        min-height: 200px;
        max-height: 480px;
        overflow-y: scroll;
    }

    .modal-body .dropdown-menu .divider {
        margin: 0 !important;
        background: #C2C2C2;
    }

    .optClassFull {
        background: #E6E6E6;
    }

    .modal-body .dropdown-menu > li > a {
        padding: 6px 20px;
    }

    .jfu-header{
        text-decoration:underline;
        text-align:left;
        font-weight:700;

    }
   