/*
 Theme Name:   Learn Child
 Theme URI:    http://demo.vegatheme.com/learn
 Description:  In 2014, our default theme lets you create a responsive magazine website with a sleek, modern design. Feature your favorite homepage content in either a grid or a slider. Use the three widget areas to customize your website, and change your content's layout with a full-width page template and a contributor page to show off your authors. Creating a magazine website with WordPress has never been easier.
 Author:       Ocean Theme Team
 Author URI:   http://vegatheme.com
 Template:     learn
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         black, green, white, light, dark, two-columns, three-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
 Text Domain:  learn-child
*/

@import url("../learn/style.css");
 
/* =Theme customization starts here
------------------------------------------------------- */

.center {
    text-align: center;
}

.right {
   text-align: right;
}

/* MENU */
#menu-main-menu .current-menu-item a{
    color:#df302b;
}

.col-item{
    overflow:auto;
    padding:10px;
    border: 1px solid #ccc;
}

.courses-list .col-item{
    margin-bottom:4px;
}

.col-item .info.course{
    padding-top:0;
    padding-bottom:0;
}

.col-item .separator {
    border-top: 1px solid #ddd;
}

.col-item .btn-add {
    border-right: 1px solid #ddd;
}

.course_info.pull-left span{
    color:gray;
    display:inline-block;
    margin-right:20px;
}
.course_info h4{
    width:50%;
    float:left;
    border:0px solid blue;
}
.course_info .c_location_container{
    width:20%;
    float:left;
    display:block;
    border:0px solid red;
    padding:0 5px;
}
.course_info .c_date_container{
    width:20%;
    float:left;
    display:block;
    padding:0 5px;
}

.course_info .price_container{
    width:10%;
    display:block;
    padding:0 5px;
    margin-top:0;
    text-align:right;
}

a, #user-course-status-toggle a{
    color:#e0312c;
}

.col-item a.course_logo{
    display:block;
    text-align:center;
}

.col-item a.course_logo img{
    width:60%;
    margin:0 auto;
}

.box_style_1{
    border:1px solid #ccc;
    box-shadow:none;
}


.course-container a.button, .course-container a.button:visited, .course-container a.comment-reply-link, .course-container #commentform #submit, .course-container .submit, .course-container input[type=submit], .course-container input.button, .course-container button.button, .course a.button, .course a.button:visited, .course a.comment-reply-link, .course #commentform #submit, .course .submit, .course input[type=submit], .course input.button, .course button.button, .lesson a.button, .lesson a.button:visited, .lesson a.comment-reply-link, .lesson #commentform #submit, .lesson .submit, .lesson input[type=submit], .lesson input.button, .lesson button.button, .quiz a.button, .quiz a.button:visited, .quiz a.comment-reply-link, .quiz #commentform #submit, .quiz .submit, .quiz input[type=submit], .quiz input.button, .quiz button.button{
    background:#ccc;
}

.woocommerce table.shop_table {
    border:1px solid #ddd;
    border-radius:0;
}

#user-course-status-toggle a {
    display: inline-block;
    margin: 0;
    border-bottom: 0px;
    border-radius:0;
}

#container{
    padding:30px 5%;
}

/*Main stuff*/
#main{
    padding-bottom:100px;
}

#container{
    overflow:auto;
}

.woocommerce-message{
    font-size:14px;
}

.sensei div.sensei-message:empty, .woocommerce-message:empty
{
    padding:0;
}

h1.homepage {
    text-transform: uppercase;
    font-weight: 400;
    font-size: 36px;
    margin-top: 0;
}

.page h1 {

    text-transform: uppercase;
    font-weight: 400;
    font-size: 36px;
    margin-top: 0;
    margin-bottom: 15px;
}

/*Menu*/

.nav-inner .container{
    padding-top:10px;
}

.btn-login{
    font-size:14px;
    margin:0;
    padding-bottom:1.1em;
}

.btn-login a.cart-link, .mobile-cart a.cart-link{
    display:inline-block;
    position:relative;
    background:#e0312c;
    border-radius:20px;
    color:white;
    width:30px;
    height:30px;
    text-align:center;
    margin-left:25px;
}

.btn-login a.cart-link span.count, .mobile-cart a.cart-link span.count{
    color:#666;
    font-size:11px;
    position:absolute;
    top:3px;
    left:0;
    font-weight:400;
    z-index:1;
    font-family:Arial,Helvetica,sans-serif;
    text-align:center;
    width:100%;
}

.btn-login a.logout{
    color:#e0312c;
}

.cart-link i{
    font-size:30px;
}

header.top-header{
    position:relative;
}

.mobile-cart a.cart-link{
    background:none;
	margin-left: 0px !important;
}

.mobile-cart{
    position: absolute;
    top: 10px;
/*     right: 45px; */
    right: 55px;
    width:30px;
    height:30px;
    z-index:1;
    display:none;
}

#mobile-login{
    position:absolute;
    top:-40px;
/*     right:55px; */
	right: 95px;
    display:none;
}

.nav-container{
    padding:0 40px;
}

.sf-menu a{
    padding:1.1em 1.2em;
}

.sf-menu li.show-mobile-only {
    display: none;
}


/*Footer*/
.top-footer img{
    max-width:100px;
}


/*Course*/
p.status.module-status.in-progress{
    display:none;
}

#user-course-status-toggle a {
    color: #aaa;
    background: #ddd;
}

.course_output .entry.fix p{
    margin-bottom:0;
    margin-top:20px;
    margin-bottom:5px;
}

.course_output .entry.fix ul{
    margin-bottom:20px;
}

.course_output .entry.fix ul li{
    margin-bottom:5px;
}

/*Materials*/
.materials{
    display:block;
    width:100%;
    margin-bottom:20px;
    overflow:auto;
}

.materials .material{
    padding:5px;
}

.materials .material:nth-child(odd){
    background:#eee;
}

/* Product Archive Page */
.course_output{
    float:left;
    width:48%;
}

.filter-controls {
    margin: 0 15px 10px 15px;
}

#mobile_resources{
    display:none;
}

#mobile_resources.box_style_1 {

    margin: 0;
    padding: 0;
}

.box_style_1.product-categories{
    margin-top:0px;
}


.box_style_1.resources h2, .box_style_1.product-categories h2, #main_content .box_style_1.product-categories h2{
    margin-top:0;
    font-size:18px;
    border-bottom: 1px solid #eaeff3;
    padding-bottom: 10px
}

.box_style_1#mobile_resources{
    border:none;
}

.category-content{
    padding-bottom:40px;
    border-bottom:2px solid #eee;
    margin-bottom:30px;
}

/* Product Instance */
.woocommerce div.product div.product_price p.price{
    color:gray;
    display:block;
    margin-bottom:10px;
    font-weight:normal;
    padding-bottom:5px;
}

.product_price{
    text-align:right;
    font-size:30px;
    border-bottom:2px solid #eee;
}

.offline-product-info {
    padding: 0;
    margin: 20px 0;
    border-radius: 5px;
    width: 100%;
    display: block;
    position: static;
    background-color: rgba( 248, 248, 248, 1 );
}

.offline-product-info h4 {

    color: white;
    background: #1c1c1c;
    margin: 0;
    padding: 8px 0;
    text-align: center;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

h1.productheader{
    font-size:24px;
    text-transform:none;
    font-weight:500;
    margin-bottom:10px;
}

.offline-product-info dl {

   padding: 5px 10px;
}

.offline-product-info dd {

    margin-bottom: 8px;
}

/*Datepicker*/
.ui-datepicker-title select{
    margin:2.5%;
}


/*Buttons*/

.sensei-results-links a.button.view-results, .sensei-results-links a.button.sensei-certificate-link, .gform_wrapper.catalog_form_wrapper .gform_footer input[type=submit]{
    display: inline-block;
    padding: 5px 20px 4px;
    border: none;
    color: #fff;
    text-align: center;
    text-shadow: none;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 11px;
    font-family: inherit;
    cursor: pointer;
    overflow: visible;
    width: auto;
    line-height: 1.618em;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    white-space: nowrap;
    -webkit-appearance: none;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    background: #6eb4e8;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    margin-left:10px;
    margin-bottom:10px;
}

.sensei-results-links a.button.sensei-certificate-link:hover{
    background:#3b9de5;
}

a.button.send-message-button, .lesson a.button.send-message-button, .lesson-template-default .lesson a.button.send-message-button{
    background:#6eb4e8;
}

a.button.send-message-button:hover, .lesson a.button.send-message-button:hover, .lesson-template-default .lesson a.button.send-message-button:hover{
    background:#3b9de5;
}

.quiz input[type=submit]{
    background:#63a95f;
}

.quiz input[type=submit]:hover{
    background:#33842f;
}

.quiz input[type=submit], .quiz a{
    margin-bottom:8px;
}

.quiz input[type=submit].quiz-submit.save, .quiz a.button.return-to-course-cta, .lesson-template-default .lesson a.button, .course a.button.view-results{
    background:#bbb;
}

.quiz input[type=submit].quiz-submit.save:hover, .quiz a.button.return-to-course-cta:hover, .lesson-template-default .lesson a.button:hover, .course a.button.view-results:hover{
    background:#888;
}

.quiz input[type=submit].quiz-submit.reset:hover{
    background:#e0312c;
}

/* QUIZ */
.quiz form ol#sensei-quiz-list > li {
    float: left;
    /*width: 44%;*/
    width: 100%;
    margin: 3%;
}

.quiz form ol#sensei-quiz-list li .answer_message{
    position:relative;
    top:auto;
    left:auto;
    text-align:left;
}

.quiz form ol#sensei-quiz-list > li:nth-child(odd) {
    clear:left;
}

.course-results-lessons > a {

    float: left; margin-right: 20px;
}

/*Side Menus*/
.woocommerce.widget_product_categories{
    list-style-type:none;
    font-weight: 600;
    font-size: 14px;
}

ul.product-categories li.cat-item a{
    font-size:18px;
    margin-top:15px;
    width:100%;
    display:inline-block;
    padding:4px 10px;
    line-height:20px;
    cursor:pointer;
}

ul.product-categories li.cat-item.current-cat a{
    background:#e0312c;
    color:white;
}

ul.product-categories li.cat-item.current-cat a:hover{
    background:#e0312c;
    color:white;
}

ul.product-categories li.cat-item a:first-child{
    margin-top:0px;
}

ul.product-categories li.cat-item a:hover{
    background:#efefef;
}

ul.product-categories ul.children li a{
    font-size:14px;
    margin-top:0;
    line-height:16px;
    border-bottom:none;
}

ul.product-categories li.cat-item.current-cat ul.children li.cat-item a{
    background:#efefef;
    color:#e0312c;
}

/*Product Filter*/
.product-nav label.full{
    width:100%;
}

.woocommerce .filter-controls select{
    width:100%;
}

#citc-course-type, #citc-sort-by, #citc-order-by{
    width:100%;
}

#citc-find.btn{
    background-color: rgb( 100, 100, 100 );
}

#citc-find.btn:hover{
    background:#e0312c;
    color:white;
}

.no-pad-left{
    padding-left:0;
}

.no-pad-right{
    padding-right:0;
}

.woocommerce a.remove {
    line-height: 20px;
}

.woocommerce input.button.alt, .woocommerce input.button, .woocommerce a.button.alt{
    background:#e0312c;
}

.woocommerce input.button.alt:hover, .woocommerce input.button:hover, .woocommerce a.button.alt:hover{
    color:white;
    background:#c02e2a;
}

input#coupon_code.input-text{
    min-width:150px;
}

#mobile-product-categories{
    display:none;
}

/* MY ACCOUNT/MY COURSES/LOGIN/REGISTER */
label[for=rememberme]{
    margin-left:20px;
}

p.lost_password{
    margin-top:10px;
    margin-left:20px;
    display:block;
    float:right;
}

/*GRAVITY FORMS*/
.gform_wrapper.catalog_form_wrapper{
    max-width:600px;
    margin:0 auto;
    position:relative;
}

.gform_wrapper.catalog_form_wrapper h3.gform_title{
    font-size:24px;
}

.gform_wrapper.catalog_form_wrapper .gform_footer input[type=submit]{
    display: inline-block;
    padding: 5px 20px 4px;
    border: none;
    color: #fff;
    text-align: center;
    text-shadow: none;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 11px;
    font-family: inherit;
    cursor: pointer;
    overflow: visible;
    width: auto;
    line-height: 1.618em;
    box-sizing: border-box;
    white-space: nowrap;
    border-radius: 5px;
    background-clip: padding-box;
    background: #6eb4e8;
    box-shadow: none;
    margin:0 0 20px 0;
    background:#e0312c;
}

.gform_wrapper.catalog_form_wrapper .gform_footer input[type=submit]:hover{
    background:#e0312c;
}

body .gform_wrapper textarea {
    height: 80px!important;
}

/*Overrides*/
.woocommerce-info.custom-info{
    margin-bottom:20px;
}

.woocommerce-info.custom-info a{
    color:#1e85be;
}


/*responsive fixes*/
@media (max-width: 992px) {
    
    .row.filter-controls div.col-md-3, .row.filter-controls div.no-pad-left, .row.filter-controls div.no-pad-right{
        padding-right:0;
        padding-left:0;
    }

    .course_info h4{
        width:100%;
    }
    .course_info .c_location_container{
        width:50%;
        padding-left:0;
    }
    .course_info .c_date_container{
        width:50%;
    }
    .course_info .price_container{
        width:100%;
        clear:left;
        margin-top:10px;
    }

}

@media (max-width: 767px){

    .sf-menu li.show-mobile-only {
        display: block;
    }

    .btn-login {
        margin-right: 0px;
    }

    .product .course_output, .product .entry-summary{
        width:100%;
    }

    .woocommerce-page div.product div.summary, .woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary{
        display:block;
        float:left;
        margin-top:50px;
    }

    #mobile-product-categories{
        display:block;
    }

    .desktop_aside{
        display: none;
    }

    #mobile_resources li {

       margin: 20px 0;
    }

    #mobile_resources{
        display:block;
    }

    #desktop-login{
        display:none;
    }

    #mobile-login{
        display:block;
        top:-50px;
    }

    div.course_info{
        width:100%;
    }

    div.course_info .pull-left span{
        width:100%;
        display:block;
    }

}

@media only screen and (max-width: 641px){
    .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=image]):not([type=file]) {
        padding: 5px;
    }
}


@media (max-width: 600px) {
    
    .quiz form ol#sensei-quiz-list > li {
        float: left;
        width: 92%;
        margin: 4%;
    }

    .quiz form ol#sensei-quiz-list > li:nth-child(even) {
        clear:left;
    }

    .course-results-lessons > a {

        float: none;
        margin-bottom: 20px;
    }

}

@media (max-width: 500px) {



    p.lost_password{
        margin-top:30px;
        margin-left:0px;
        display:block;
        float:left;
        clear:left;
    }

    .btn-login a.cart-link{
        display:none;
    } 

    #mobile-login{
        top:-45px;
    } 

    .mobile-cart{
        display:block;
    } 

    .col-item a.course_logo{
        width:100%;
    }

    .col-item a.course_logo img{
        width:100%;
        margin-top:0px;
    }

    div.course_info .price{
        display:block;
        width:100%;
    }
}

/*add transition*/
.tr{
    transition:all .3s ease-in-out;
}



