/* global styles */

*{ box-sizing: border-box; }

html, body{
    height: 100%;
    margin: 0px;
    padding: 0px;
}


body{
    background-color: #fff;
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #000;
}

body, div, a, span, ul, li, h1, h2, h3, h4, h5, h6{
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
}

h1, h2, h3, h4, h5, h6{
    color: #027dc3;
    padding: 10px 0px 10px 0px; margin: 10px 0px 10px 0px;
    line-height: 1.1em;
    font-weight: bold;
}

h1{ font-size: 2.0em; }
h2{ font-size: 1.8em; }
h3{ font-size: 1.6em; }

h4{ font-size: 1.4em; }
h5{ font-size: 1.2em;  }
h6{ font-size: 1em;  }

a{ color: #0077a3; text-decoration: underline; font-weight: 600; }
a:visited, a:active{ color: #0077a3; }
a:hover, a:visited:hover{ color: #1bb7ea; }

a img{ border: 0px solid #fff; }

/* FORM ELEMENTS */

input, select, textarea{
    background-color: #fff;
    font-weight: normal;
    font-size: 16px;
    border: 1px solid #e5e5e5;
    padding: 5px;

    border-radius: 3px;
}

select{ margin: 0px; }

.button, .button2{
    font-weight: normal;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    border: 0px;
    background-color: #017dc3;
    border-radius: 5px;
    padding: 5px;
    color: #fff;

    font-family: "Open Sans", Arial, Helvetica, sans-serif;
}

a.button, a.button2{
    display: inline-block;
}

.button:hover, .button2:hover, a.button:hover, a.button2:hover{
    opacity: .9;
    color: #fff;
}

a.button:visited, a.button:visited{
    color: #fff;
}

div.d_txt{
    padding: 10px 0px;
}

/* END FORM ELEMENTS */

#content img{
    height: auto !important;
    max-width: 100%;
    padding: 0px;
    margin: 10px 0px;
}

.r_col_2 .r_col, .r_col_3 .r_col, .r_col_4 .r_col{
    padding: 10px 0px;
}

.error{
    color: #cb0000;
    font-weight: bold;
}
.good{
    color: #0a0;
    font-weight: bold;
}

/* end global styles */

/* generic styles for elements that our in multiple places */

/* generic goal block */

.goal_adopted{
    text-transform: uppercase;
}

.goal_amount{
    font-weight: bold;
    font-size: 42px;
    line-height: 42px;
    padding-bottom: 10px;
}

.goal_dollar_amount{ font-size: 20px; font-weight: normal; line-height: 1.2em; margin-top: 20px; }

.goal_progress{

}
.goal_progress_bar{
    position: relative;
    border: 1px solid #d5d5d5;
    background: #fff;
    height: 50px;
}
.goal_progress_actual{
    height: 100%;
    background: #1bb7ea;
}

/* end generic goal block */


/* generic package list/blocks */

.pkg_list{
    overflow: hidden;
    padding: 20px 0px 0px 0px;
}

.pkg_list ul, .pkg_list li{
    list-style: none;
    margin: 0px;
    padding: 0px;
}
.pkg_list li{

/*
need something along these lines in the buy pages...
didn't test so well inside the exended nav box.
    float: left;
    width: 280px;
*/

    margin-right: 17px;
    margin-bottom: 17px;

    padding: 15px;

    background: #eaeaea;

    border: 1px solid #e0e0e0;
    border-radius: 10px;
}

.pkg_block{
    /* need relative here for the more info link for non-entry packages */
    position: relative;

    padding: 40px 20px 20px 20px;

    background: #fff;

    border: 2px solid #e5e5e5;
    border-radius: 10px;
}
.package_block .pkg_block{ cursor: pointer; }
.package_block .pkg_block:hover{
    background-color: #ddf7ff;
    border: 2px solid #0f7ac0;
}

.pkg_block_i{
    min-height: 206px;

    text-align: center;
    font-size: 16px;
}

.pkg_title{
    padding-bottom: 30px;
    line-height: 26px;
    font-size: 24px;
    font-weight: bold;
    color: #0f7ac0;

    width: 224px;
}

.pkg_title.pkg_title_long{
    font-size: 20px;
    line-height: 24px;
}

.pkg_number{
    display: inline-block;

    padding: 0px 60px 0px 0px;
    font-size: 42px;
    line-height: 42px;
    font-weight: bold;
    color: #0f7ac0;
}

.pkg_price{
    overflow: hidden;
    padding: 20px 0px 10px;
    font-weight: bold;
}

.pkg_price_l{
    float: left;
}
.pkg_price_r{
    float: right;
}

.pkg_price input{
    width: 32px;
    text-align: center;
}

.pkg_desc_c{
    position: absolute;
    bottom: 10px;
    left: 50%;
    width: 100px;
    margin-left: -50px;
}

/* package blocks with options */

.pkg_block.pkg_block_opt_c{
    padding: 10px 20px;
}

.pkg_block.pkg_block_opt_c .pkg_title{
    padding-bottom: 10px;
}

.pkg_block.pkg_block_opt_c .pkg_price{
    padding-top: 10px;
}

.pkg_options{ padding: 4px 0px; }

.pkg_opt{
    display: inline-block;
    vertical-align: middle;
}

.pkg_opt select, .pkg_opt input{
    padding: 5px 1px;
    font-size: 12px;
    color: #7d7d7d;
    width: 70px;
    max-width: 70px;
}

.pkg_opt select{ }
.pkg_opt input{ line-height: 1.4em; }

.pkg_opt select.pkg_error{
    border: 1px solid #d00;
}

.pkg_opt select option{
    font-size: 14px;
    color: #000;
}
.pkg_opt select option:first-child{
    color: #7d7d7d;
}

.pkg_opt_1, .pkg_opt_2{ margin-right: 5px; }

/*
.pkg_opt_1{
    float: left;
}
.pkg_opt_2{
    float: right;
}
*/

.pkg_img{
    padding-top: 5px;
}

/* end generic styles for elements that our in multiple places */

/* general content related styles */


/* header */

#header_container, #content_container, #footer_container{
    margin: 0px;
    padding: 0px;
    text-align: center;
}
#header, #col_main, #footer, #content_title{
    margin: 0px auto;
    text-align: left;
    max-width: 1350px;
    padding: 20px;
    overflow: hidden;
}


#top_content{
    min-height: 30px;
    background: url(/images/bg_top_bar.gif) repeat center top;
    overflow: hidden;
}
#top_content_menu{
    max-width: 1350px;
    padding-right: 20px;
    margin: 0px auto;
    text-align: center;
}

#top_content_menu, #top_content_menu a{
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}
#top_content_menu{ padding: 5px; }


#top_nav{
    float: right;
    list-style: none;
    margin: 0px;
    padding: 0px;
}
#top_nav li{
    float: left;
    list-style: none;
    margin: 0px;
    padding: 0px 10px;
}
#top_nav li a{
    color: #fff;
    text-decoration: none;
}
#top_nav li a:hover{
    text-decoration: underline;
}


#header{
    padding: 10px;
}

#logo_link{
    display: block;
    text-align: center;
}
#logo_link img{
    max-width: 100%;
}

#headmenu_container{
    padding: 20px 0px;
}

#headmenu{
    list-style: none;
    overflow: hidden;
    margin: 0px;
    padding: 0px;
    text-align: center;
}

#headmenu li{
    list-style: none;
    display: inline;
}

#headmenu li a{
    display: inline-block;

    padding: 10px 5px;

    font-size: 12px;
    text-decoration: none;
    color: #7d7d7d;
}

#headmenu li a:hover, #headmenu li a.cur{
    color: #017dc3;
}

/* end header */


/* title bar */

#content_title_c{
    background: #f6f6f6;
    border: 1px solid #eaeaea;
}

#content_title{
    color: #7d7d7d;
    font-size: 16px;
    overflow: hidden;
}

#content_title h1{
    color: #7d7d7d;

    margin: 0px 0px 5px 0px;
    padding: 10px 0px;

    font-size: 24px;
}

.title_extend{
    padding: 10px 0px;
}

.title_extend div{
    padding: 10px 0px;
}

.title_extend .button{
    min-width: 140px;
    padding: 15px 10px;
    margin-bottom: 10px;

    font-weight: 600;

    color: #fff;
}


/* extended nav (side bar on full screen, top bar at lower res) */
#extended_nav{
    background: #f6f6f6;
    overflow: hidden;
    border-radius: 5px;
    margin-bottom: 40px;

    border: 1px solid #eaeaea;
}

.nav_block{ padding: 20px; }

.nav_block, .nav_block h1, .nav_block h2, .nav_block h3, .nav_block h4, .nav_block h5, .nav_block h6{
    color: #7d7d7d;
}

.nav_block h4{
    /* font-size: 24px; this is what we want it set to */
    font-size: 18px;
    margin: 0px;
}

#nav_block_main{}

.nav_block{
    float: left;
    overflow: hidden;
}

.nav_block .goal_info{
    float: left;
    display: inline-block;
    padding: 10px 60px 0px 10px;
    margin-right: 20px;
}
.duck_r{
    background: url(/images/duck_small.png) no-repeat right center;
}
.duck_l{
    background: url(/images/duck_small.png) no-repeat left center;
}

.turtle_r{
    background: url(/images/turtle_small.png) no-repeat right center;
}
.turtle_l{
    background: url(/images/turtle_small.png) no-repeat left center;
}

.nav_block .goal_progress{
    float: left;
    padding: 10px 10px;
    margin-right: 20px;

    min-width: 200px;
}

.nav_block .button{
    padding: 24px 20px;
    text-align: center;
    min-width: 200px;
}
.nav_block .goal_adopt{
    float: left;
    padding-top: 10px;
    margin-right: 10px;
}

.nav_block .pkg_list li{
    margin-right: 0px;
    padding: 0px;
    border-radius: 0px;
    border: 0px;
    background: none;
}

/*
.nav_block .package_block{
    display: none;
}
*/

.share_buttons{
    padding: 26px 0px;
}

/* don't show these until the res is higher */
#nav_block_share, #nav_block_shop{
    display: none;
}

.latest_adoptions > ul {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    overflow-y: auto;
    max-height: 260px;
}

.latest_adoptions > ul > li {
    margin-bottom: 10px;
}

.latest_adoptions > ul > li .la_name {
    font-size: 16px;
    font-weight: 700;
}

/* content base */

#content{
    position: relative;
    min-height: 200px;
}

/* only applicable to portals */
/* .p_content */

#content .button{
    padding: 20px 10px;
    min-width: 140px;
}


/* end content base */





/* footer */

#footer{
    text-align: center;
}

#footer_logo{
    margin: 0px auto;
    width: 251px;
    height: 87px;
    padding: 10px 0px;

    background: url(/images/derby-duck-logo-footer.gif) no-repeat center center;
}

#footer, #footer a{
    color: #A3A3A3;
    font-size: 14px;
}
#footer a{
    text-decoration: underline;
}

#footer a:hover{
    color: #1BB7EA;
}

#footer .share_buttons{
    margin: 0px auto;
    text-align: center;
    padding: 20px 0px;
    width: 260px;
}

#footer_copyright{
    padding-top: 10px;
}

#bottommenu, #bottommenu li{
    list-style: none;
    margin: 0px;
    padding: 0px;
}

#bottommenu{
    padding: 10px 0px;
}

#bottommenu li{
    display: inline;
}

#bottommenu li a{
    display: inline-block;
    padding: 0px 15px;
    border-left: 1px solid #A3A3A3;
}

#bottommenu li:first-child a{
    border-left: 0px;
}

/* end footer */




/* specific components */

/* home page */

#homepage_video_bg{
    position: absolute;
    width: 100%;
    overflow: hidden;
}
#portal_homepage_image{ position: relative; min-height: 500px; }

#youtube_player{ position: absolute; }

.hp_block{
    position: relative;
}

.hpb_main{
    border: 1px solid #eaeaea;
    padding: 15px;
    margin: 15px;
}

.hp_block_base_content{
    border: 0px;
    padding: 0px 0px 20px 0px;
}
.hp_block_base_content .hpb_main{
    border: 0px;
    padding: 0px;
}

.hp_block_image, .hp_block_facebook_like_box{
    text-align: center;
}

.hpb_block_content{
    position: relative;
    overflow: hidden;
}
.hpb_block_content h2{ padding-top: 0px; margin-top: 0px; }

.hp_block_video .hpb_block_content{
    padding-bottom:56.25%;
    height:0;
}

.hp_block_video .hpb_block_content iframe{
    position:absolute;
    left:0;
    top:0;
    height:100%;
    width:100%;
}

.hp_block .live_edit_controls{
    top: 20px;
    right: 40px;
}

.hp_block .add_link_le{
    width: 85%;
}


.prize_title{
    padding-top: 0px;
    margin-top: 0px;
}
.prize_desc{
    font-size: 13px;
}

.hpb_block_flex_video{
    position: relative;
    min-height: 400px;
    background-color: #0f7ac0;
}

.hpb_block_flex_video iframe{
    position: absolute;
    transform: translate(-50%,-50%);
    top: 50%;
    left: 50%;
}

.hpb_block_video_gallery{
    background-color: #0f7ac0;
    text-align: center;
    padding: 60px 0px;
}
.hpb_block_video_gallery h4{ color: #fff; font-size: 32px; margin: 0 0 40px; padding: 0; }
.hpb_block_video_gallery ul{
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    max-width: 1380px;
}
.hpb_block_video_gallery ul li{ list-style: none; flex: 1 0 0; }

/* adopt form */


#adopt_form_c{

}

#adopt_num_entry_c{
    padding-bottom: 40px;
}

#adopt_pkg_list .pkg_list li{

    margin-right: 0px;

    /*
    float: left;
    min-width: 270px;
    margin-right: 15px;
    */
}


/* sponsors */
.sponsor_list{
    padding: 20px 0px;
}
.sponsor_list ul{
    list-style: none;
    margin: 0px;
    padding: 0px;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
}

.sponsor_list ul li{
    list-style: none;
    /*float: left;*/
    margin: 0px;
    width: 100%;
    /*
    width: 33%;
    min-width: 250px;
    */
}
.sponsor_list ul li a{
    display: block;
    max-width: 250px;
    margin: 0px auto;
    text-align: center;
    text-decoration: none;
    color: #7e7e7e;
    padding: 10px;
    min-height: 170px;
}
.sponsor_list ul li a:hover{
    color: #1bb7ea;
}
.sponsor_list ul li a span{
    display: block;
    padding: 0px 0px 5px 0px;
}

.sponsor_list .sponsor_image_c{
    min-height: 100px;
}

.sponsor_list ul li a img{
    max-width: 220px !important;
    max-height: 90px !important;
}


/* prizes */
.prize_list{
    padding: 20px 0px;
    max-width: 1200px;
    background: #fff;
}
.prize_list ul{
    list-style: none;
    margin: 0px;
    padding: 0px;
}

.prize_list ul li{
    list-style: none;
    margin: 0px;
    width: 100%;
    overflow: hidden;
    padding: 20px 20px 40px 20px;
}
.prize_list ul li a.prize_img{
    display: block;
    float: right;
    margin: 0px;
    padding: 0px 20px 00px 40px; !important;
    text-decoration: none;
    width: 30%;
    max-width: 200px;
    line-height: 0;
    text-align: center;
}
.prize_list ul li a.prize_img img{
    padding: 0px !important;
    margin: 0px !important;
    max-width: 200px;
    max-height: 200px;
    vertical-align: top;
}


/* teams/members */

/* team list */

.team_list{}

.team_list ul{
    list-style: none;
    margin: 0px;
    padding: 0px;
    overflow: hidden;
}


.team_list ul li{
    position: relative;
    list-style: none;

    margin: 0px 0px 15px 0px;
    padding: 15px;
    border: 1px solid #e8e8e8;
    background: #fff;
    color: #7c7c7c;


    border-radius: 10px;
    min-height: 365px;

    max-width: 100%;
    box-sizing: border-box;
}

li.hp_team .team_extra{
    display: none;
}

@media screen and (min-width: 768px){
    .team_list ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .team_list ul li{ width: 48%; }
}

@media screen and (min-width: 1024px){
    .team_list ul li{ width: 32%; }
}

/*
All I can say about the below team_list styles... it's voodoo magic
In a nutshell, min-height of the image: 200px, min-width of the image: 300px,
center aligns the whole thing to ensure that the center of the image fills up the whole space

(update): no longer voodoo magic :( -- now using backgrounds
*/

.team_list .team_image{
    position: relative;
    height: 200px;
    width: 280px;
    padding: 0px;
    margin: 0px auto;
    overflow: hidden;

    background: #fff;
    border-radius: 10px;
    max-width: 100%;
}
.team_list .team_image a{
    position: relative;
    display: block;
    border: 0px;

    height: 100%;
    width: 100%;

    padding: 0px;
    text-decoration: none;

    text-align: center;

    margin: auto;

    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

/*.team_list .team_image img{
    display: inline-block;
    vertical-align: middle;
    margin: auto !important;
    padding: 0px;

    min-width: 280px;
    min-height: 200px;
}*/

.team_list .team_name{
    padding: 15px 0px;
    margin: 0px;
    font-weight: bold;
    font-size: 16px;
}

.team_list .goal_progress_bar{
    height: 30px;
}


/* individual team/member */

.user_content{
    padding-bottom: 40px;
}

.user_img_float{
    position: relative;
    max-width: 100%;
    max-width: 400px;
    padding-bottom: 20px;
}
.user_img_float img{
    max-width: 100%;
}

.user_txt{
    padding-bottom: 40px;
}

/* this top image css can be used for anything else that requires a top image as well though */
.top_image_c{
    text-align: center;
    padding: 10px 0px 40px 0px;
}
.top_image{
    position: relative;
    margin: 0px auto;
    text-align: center;
    max-width: 1350;
}
.top_image img{
    max-width: 100%;
}



/* common interface styles */

.a_portal_image_c img{
    max-width: 200px;
    max-height: 150px;
}

.inline_img_container img{ max-width: 500px; max-height: 500px; }


/* for table data */
.t_data{ padding-bottom: 20px; max-width: 100%; }
.t_data table{ border-collapse: collapse; }
.t_data table tr:nth-child(odd){ background-color: #e5e5e5; }
.t_data table td, .t_data table th{ padding: 5px; border: 1px solid #ccc; white-space: nowrap; }
.t_data th, .t_data tr.header_row td{ background-color: #7d7d7d; color: #fff; font-size: 14px; font-weight: bold; }
.t_data th:last-child{ border-right: 1px solid #000 !important; }
.receipt_container .t_data th:last-child{ border-right: 1px solid #ccc !important; }
.t_data table.center_first tr td:first-child, .m_data table.center_first tr th:first-child{ text-align: center; }

.team_member_list.t_data th:last-child{ border-right: 1px solid #ccc !important; }
.team_member_list table tr td:first-child{ text-align: center; }
.team_member_list table tr td:first-child img{ max-height: 100px; }



/* contact styles */

#custom_form_container{ list-style: none; margin: 0px; padding: 0px; overflow: hidden; }

#custom_form .button{ width: 98%; margin: 0px auto; font-weight: normal; text-transform: capitalize; padding: 15px 0px; }

#custom_form ul{ list-style: none; margin: 0px; padding: 0px; }
#custom_form ul li{ width: 96%; margin-bottom: 10px; }
#custom_form ul li ul li{ margin: 2px 0px; width: auto; }
#custom_form input, #custom_form textarea{ width: 100%; }

.custom_form_item_error{ position: relative; padding: 4px; color: #303030; border: 4px solid #fcb040; margin: 5px 5px 6px; border-radius: 4px; background-color: #fffbdb; }

.form_static_item span{ font-weight: bold; }

#custom_form_confirmation_help{ padding-bottom: 15px; }

#custom_form_confirmation_actions{ margin-top: 20px; }

/* chrome only */
@media screen and (-webkit-min-device-pixel-ratio:0){
    #custom_form .button{ width: 100%; }
    #custom_form li{ width: 100%; }
    #custom_form input, #custom_form textarea{ width: 100%; }
}

#custom_form ul li ul li input{ width: auto; }

.intro_text{ margin-bottom: 20px; }

/* end contact styles */

#portal_homepage_image{
    padding: 50px 0px;
    background-size: cover;
}

#portal_homepage_image_text, .alpha_slides .slide_text{ position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }

#portal_homepage_image_text, .slide_text_i{
    margin: 0px auto;
    color: #fff;
    text-align: center;

    text-transform: uppercase;
    white-space: normal;

    /*text-shadow: 3px 4px 2px rgb(0, 0, 0);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 1);*/

    background-color: rgba(0, 0, 0, 0.4);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000);
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";

    padding: 20px 40px;

    width: 200px;
}
#portal_homepage_image_text h1, .slide_text_i h1{
    font-weight: bold;
    color: #fff;

    /*text-shadow: 3px 4px 5px rgb(0, 0, 0);
    text-shadow: 3px 4px 5px rgba(0, 0, 0, 0.45);*/

    margin: 0px;
    padding-bottom: 10px;
    font-size: 42px;
    letter-spacing: -3px;
    line-height: .8em;
}

#portal_homepage_image_text a, .slide_text_i a{
    display: block;
    font-weight: normal;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    border: 0px;
    background-color: #017dc3;
    border-radius: 5px;
    border: 1px solid #006daa;

    text-shadow: none;

    font-family: "Open Sans", Arial, Helvetica, sans-serif;

    padding: 10px 0px;
    margin: 10px auto 0px;
    width: 220px;
    max-width: 100%;
}
#portal_homepage_image_text a, .slide_text_i a,
#portal_homepage_image_text a:active, .slide_text_i a:active,
#portal_homepage_image_text a:visited, .slide_text_i a:visited,
#portal_homepage_image_text a:hover, .slide_text_i a:hover,
#portal_homepage_image_text a:visited:hover, .slide_text_i a:visited:hover{
    color: #fff;
}
.live_edit_object{ position: relative; }
.live_edit_object:hover .live_edit_controls{ display: block; }

.live_edit_object:hover .live_edit_object .live_edit_controls{ display: none; }

.live_edit_object:hover .live_edit_object:hover .live_edit_controls{ display: block; }

.live_edit_controls{
    display: none;
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 20000;
    padding: 5px;
    background-color: #fff;
    opacity: .9;
    border: 3px dashed #ccc;
    line-height: 1.2em;
}
.live_edit_button{
    display: inline !important;
    background-color: #017dc3;
    border: 1px solid #006daa;
    padding: 2px 8px !important;
    margin: 0px !important;
    text-decoration: none;
    font-size: 12px !important;
    font-weight: bold !important;
    color: #fff !important;
    opacity: .9;

    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    text-transform: none;

    border-radius: 0px !important;

    font-family: 'Arial' !important;
}
.live_edit_button:hover{ color: #fff; opacity: 1; }

.le_move_object{ margin-left: 10px !important; cursor: move; }

/* receipt */

.receipt_header_block{ width: 50%; }
#receipt_header_ship{ float: left; }
#receipt_header_bill{ float: right; }

#receipt_product_list{ clear: both; width: 100%; }
#receipt_product_list table{ width: 100%; }


/* files page */

.file_tabs{
    max-width: 780px;
}
.file_tabs ul{
    display: inline-block;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;

    border: 1px solid #eaeaea;
    background-color: #eaeaea;
}

.file_tabs ul li{
    float: left;
    margin: 0 1px 0 0;
    list-style: none;
}
.file_tabs ul li:last-child{ margin-right: 0; }

.file_tabs ul li a{
    display: inline-block;
    padding: 10px 20px;
    background-color: #f6f6f6;
    color: #7d7d7d;
    text-decoration: none;

    transition: all .2s linear;
}

.file_tabs ul li a.ft_cur{ color: #fff; background-color: rgba(1, 125, 195, 1); }
.file_tabs ul li a:hover{ color: #fff; background-color: rgba(1, 125, 195, .8); }

.file_tabs ul li a.ft_cur, .file_tabs ul li a:hover{  }

.file_iframe_c{
    padding-top: 20px;
}

/* video page */
#player {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: absolute;
    border: solid 2px gray;
}

.youtube .carousel {
    width: 20%;
    height: 100%;
    overflow: auto;
    position: absolute;
    right: 0px;
    z-index: 3;
}

.youtube .thumb_d{
    padding-bottom: 20px;
    line-height: 1em;
}

.youtube .thumb_d div{
    width: 90%;
    margin-top: -4px;
}

.youtube .thumbnail {
    margin: 0px;
    padding: 0px;
    width: 90%;
    border: 1px solid black;
    cursor: pointer;
}

.youtube iframe.player {
    width: 78%;
    height: 100%;
    overflow: auto;
    border: 0;
}

#google_translate_element{ position: fixed; bottom: 0; right: 30px; }

#sponsor_list_title{ font-size: 32px; }

#standard_offers, #exclusive_offers{
    flex-wrap: wrap;
    justify-content: space-between;
}

.offer_list_container {
    width: 100%;
    background-color: #fff;
    box-shadow: 0 0 14px rgb(185 185 185 / 60%);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 30px;
    position: relative;
    cursor: pointer;
}
.offer_list_container:hover{
    box-shadow: 0 0 14px rgb(1 125 195 / 60%);
}

.offer_list_container.featured{ width: 100%; }

.offer_featured_container {
    display: flex;
    flex-direction: column-reverse;
    flex-wrap: wrap;
}

.offer_featured_container > div {
    width: 100%;
}

@media screen and (min-width: 768px){
    #standard_offers, #exclusive_offers{ display: flex; }
    .offer_list_container { width: 49%; }

    .offer_featured_container {
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .offer_featured_container > div { flex: 1 0 0px; }
}

.offer_featured_left {
    position: relative;
}

.offer_list_title {
    font-size: 22px;
    font-weight: 600;
    padding-top: 80px;
}

.offer_list_button a {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #017dc3;
    padding: 10px;
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
}

.offer_featured_right {
    position: relative;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    min-height: 300px;
}

.offer_featured_right::after {
    content: 'Featured';
    text-transform: uppercase;
    color: #fff;
    background-color: #017dc3;
    border-top: 1px solid #166794;
    border-bottom: 1px solid #166794;
    transform: rotate(45deg);
    position: absolute;
    right: -30px;
    top: 22px;
    padding: 4px 30px;
    text-align: center;
    font-weight: 600;
}

.offer_list_image {
    position: relative;
    min-height: 300px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.offer_list_title{ padding: 80px 20px 70px; }
.offer_list_container.featured .offer_list_title{ padding-top: 20px; }

#exclusive_offers_unlock {
    padding: 20px;
    background-color: #f6f6f6;
    width: 100%;
    margin-bottom: 40px;
    font-weight: 600;
    border: 2px solid #eaeaea;
}

#exclusive_offers_unlock form {
    margin-top: 10px;
}

#exclusive_offers_unlock .button {
    background-color: #000;
    padding: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

#exclusive_offers_unlock form > div {
    display: flex;
    align-items: center;
}

#exclusive_offers_unlock form > div > div {
    margin-right: 10px;
}

#exclusive_offers_unlock form > div > div:first-child input {
    width: 240px;
}
#exclusive_offers_unlock form > div > div:nth-child(2) input {
    width: 80px;
}

.offer_company_logo{
    display: inline-block;
    width: 180px !important;
    max-width: 100%;
    height: 100px;
    background-color: #fff;
    padding: 10px;
    position: absolute;
    left: 50%;
    bottom: -50px;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgb(0 0 0 / 50%);
    text-align: center;
}

.offer_company_logo img{ width: auto; max-height: 100%; margin: 0 auto !important; }

.offer_list_container.featured .offer_company_logo{
    display: block;
    position: static;
    text-align: left;
    width: 150px !important;
    background-color: transparent;
    padding: 0;
    left: auto;
    bottom: auto;
    transform: none;
    box-shadow: none;
}

.offer_image_splash img, .offer_video_splash iframe{
    max-width: 100%;
    width: 540px;
}

.offer_details_title_container {
    display: flex;
    align-items: center;
    padding: 10px;
}

.offer_details_logo {
    width: 40%;
    padding-right: 20px;
}

.offer_details_logo img {
    max-width: 100%;
}

.offer_details_title strong {
    font-size: 22px;
    line-height: 1.2em;
}

.offer_details_desc {
    padding: 20px;
    border-top: 1px solid #eee;
    font-size: 18px;
}

.offer_details_exp {
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
    padding: 20px;
    font-size: 18px;
    text-align: center;
    font-weight: 600;
}

.offer_details_promo {
    padding: 20px;
    text-align: center;
    background-color: #1a70bd;
    border: 3px dashed #fff;
    font-weight: 800;
    color: #fff;
    font-size: 20px;
}

.receipt_share_buttons .st-btn > img {
    height: 16px !important;
    margin: 0 !important;
}
