/* Transition effect between slides */ .fade-enter-active, .fade-leave-active { transition: opacity .5s; } .fade-enter, .fade-leave-to /* .fade-leave-active below version 2.1.8 */ { opacity: 0; } #rcp_admap { margin-top: 10px; } #rcp_admap .RC-AD { padding-top: 50px; padding-left: 40px; } #rcp_admap .map_section { height: 350px; width: 400px; position: relative; margin-left: calc((100% - 725px) / 2); float: left; overflow: hidden; } #rcp_admap ul.map_list { margin: 0; padding: 0; display: block; } #rcp_admap ul.map_list > li { list-style: none; position: absolute; top: 0; left: 0; right: 0; } #rcp_admap ul.map_list > li > .title { padding: 5px 0; background-color: #d30015; color: #fff; text-align: center; font-weight: bold; font-size: 18px; } #rcp_admap ul.map_list > li .election_scorecard { border: 1px solid #ccc; border-top: none; overflow: hidden; } #rcp_admap ul.map_list > li .title_section { background: #EBEBEB; background: -moz-linear-gradient(top, #fbfbfb 0%, #ebebeb 100%); background: -webkit-linear-gradient(top, #fbfbfb 0%,#ebebeb 100%); background: linear-gradient(to bottom, #fbfbfb 0%,#ebebeb 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fbfbfb', endColorstr='#ebebeb',GradientType=0 ); border-bottom: 1px solid #ccc; float: left; width: 100%; } #rcp_admap ul.map_list > li .title_section .title { font: 14px Verdana,Arial,Helvetica; padding: 4px 0; color: #666; text-align:center; float: left; width: 100%; font-weight: bold; text-transform: uppercase; } #rcp_admap a { color: inherit; } #rcp_admap ul.map_list > li .title_section .numbers { text-align: center; font-size: 12px; } #rcp_admap ul.map_list > li .title_section .numbers > .number { display: inline-block; } #rcp_admap ul.map_list > li .title_section .numbers > .label { display: inline-block; vertical-align: bottom; padding-bottom: 6px; } #rcp_admap ul.map_list > li .title_section .numbers > .dems.number { font-size: 22px; font-weight: bold; color: #0000cc; margin-right: 3px; } #rcp_admap ul.map_list > li .title_section .numbers > .dems.label { color: #0000cc; margin-right: 40px; } #rcp_admap ul.map_list > li .title_section .numbers > .toss_ups { display: inline-block; margin-right: 40px; vertical-align: bottom; } #rcp_admap ul.map_list > li .title_section .numbers > .gop.number { font-size: 22px; font-weight: bold; color: #cc0000; } #rcp_admap ul.map_list > li .title_section .numbers > .gop.label { color: #cc0000; margin-right: 2px; } #rcp_admap ul.map_list > li .map { float: left; } #rcp_admap ul.map_list > li .map img { width: 100%; } #rcp_admap ul.map_nav { padding: 0; margin: 0; position: absolute; bottom:0; left: 0; right: 0; overflow: auto; background: #eee; border: 1px solid #ccc; border-top: none; } #rcp_admap ul.map_nav > li { font-size: 14px; box-sizing: border-box; width: calc(100% / 3); float: left; list-style: none; text-align: center; border-top: 1px solid #ccc; border-right: 1px solid #ccc; cursor: pointer; font-size: 12px; } #rcp_admap ul.map_nav > li:nth-child(3n) { border-right: none; } #rcp_admap ul.map_nav > li:hover { background: #ddd; } #rcp_admap ul.map_nav > li.active { background: #d30015; color: #fff; } @media only screen and (max-width: 1159px) { #rcp_admap .RC-AD { padding-left: 0; } #rcp_admap .map_section { margin-left: calc((100% - 700px) / 2); } } @media only screen and (max-width: 767px) { #rcp_admap .map_section { margin: 0px auto; } } @media only screen and (max-width: 420px) { #rcp_admap .map_section { width: 100%; height: 0; padding-top: 97%; } } @media only screen and (max-width: 350px) { #rcp_admap ul.map_list > li .title_section .numbers > .dems.number, #rcp_admap ul.map_list > li .title_section .numbers > .gop.number { font-size: 16px; } #rcp_admap ul.map_nav > li { font-size: 12px; } }