//
// RESOURCES
// --------------------------

#agave_resources {
    .page-description {
        padding: 60px 0 40px;
        
        h3 {
            margin-bottom: 25px;
        }
    }
    
    .tabs {
        border: 3px solid #ebebeb;
        margin: 30px 0;

        >ul {
            display:flex;
        }

        .tab {
            flex-grow: 1;
            list-style-type: none;
            text-align:center;
            position: relative;
            cursor:pointer;

            &[data-tab='success_training'] {
                background: linear-gradient(to bottom, #029cbf, #027b97);
            }

            &[data-tab='technical_support'] {
                background: linear-gradient(to bottom, #7fc141, #71ad3a);
            }

            &[data-tab='tools_resources'] {
                background: linear-gradient(to bottom, #5d7f8a, #49656d);
            }

            &:not(.active):before {
                content: '';
                display: block;
                width: 100%;
                height: 100%;
                position: absolute;
                background: rgba(0, 0, 0, 0.5);
            }

            p {
                color: #fff;
                text-decoration:none;
                font-size:13px;
                font-weight:600;
            }
        }

        .tab_details {
            &:not(.active) {
                display:none;
            }
        }

        .tab_content {
            padding: 4rem;

            .tab_details:not(.active) {
                display:none;
            }



            h3 {
                clear: both;
                float: none;
            }

            figure {
                margin: 0 15px 20px 0;
                float: left;
            }

            p {
                clear:both;
                float:none;
            }
        }
    }









    // .tabbed_content {
    //     border: 3px solid #ebebeb;
    //     margin-top:40px;

    //     .tabs {
    //         display: flex;
    //         flex-wrap: nowrap;
    //         justify-content: space-between;
    //         align-items: stretch;


    //         li {
    //             flex: 1 1 0;
    //             text-align: center;
    //             position: relative;
    //             cursor:pointer;

    //             &.support_training {
    //                 background: linear-gradient(to bottom, #029cbf, #027b97);
    //             }

    //             &.technical_support {
    //                 background: linear-gradient(to bottom, #7fc141, #71ad3a);
    //             }

    //             &.tools_resources {
    //                 background: linear-gradient(to bottom, #5d7f8a, #49656d);
    //             }

    //             &:not(.is-active):before {
    //                 content: '';
    //                 display: block;
    //                 width: 100%;
    //                 height: 100%;
    //                 position: absolute;
    //                 background: rgba(0, 0, 0, 0.5);
    //             }

    //             p {
    //                 color: #fff;
    //                 text-decoration:none;
    //                 font-size:13px;
    //                 font-weight:600;
    //             }
    //         }
    //     }

    //     .tabs-content {
    //         padding: 4rem;


    //         h3 {
    //             clear: both;
    //             float: none;
    //         }

    //         figure {
    //             margin: 0 15px 20px 0;
    //             float: left;
    //         }

    //         p {
    //             clear:both;
    //             float:none;
    //         }
    //     }

    // }

    .tech_times_newsletter {
        margin-top: 40px;
        padding: 30px;
        background-color: #f5f5f5;

        .newsletter {
            border: 1px solid #d7d7d7;
            margin: 0 0 20px 0;
            height: 150px;
            padding: 20px;
            background: #fff;
        }

        label.gfield_label {
            display: none!important;
        }

        .validation_error {
            display: none;
        }

        li.gfield.gfield_error {
            background: transparent!important;
            border: 0!important;
            padding: 0!important;
        }

        .gform_wrapper .field_description_below .gfield_description {
            padding-top: 5px!important;
            font-size: 12px;
        }
    }

    .information {
        margin-top: 40px;

        .tips {


            .info {
                flex: 1 1 0;
                text-align: center;
                color: #004071;
                font-weight: 400;
                font-size: 21px;
                display: flex;
                flex-direction: column;
                margin: 5px;
                justify-content: space-around;
                padding: 15px;

                img {
                    display: inline-block;
                    width: 70px;
                    margin: 0 auto;
                }
            }
        }
    }
    
    #attachment_15813 {
        display: none;
    }
    
    div.r2o {
        display: none;
    }



     /* Medium and up */
    @media screen and (min-width: 40em) {
       .tabbed_content {
          .tabs {
              li {
                  p {
                      font-size:18px;
                  }
              }
          }
       }

        .information {

            .tips {
                display: flex;
                flex-wrap: nowrap;
                justify-content: space-between;
                align-items: stretch;

                .info {
                    &:nth-child(2) {
                        border-left: 1px solid #d3d3d3;
                        border-right: 1px solid #d3d3d3;
                    }
                }
            }
        }
    }
}