:root {
  --mobile-max: 767px;
  --desktop-min: 768px;
  --tablet-max: 1023px;
  --desktop-lg-min: 1024px;
}

html { font-size: 62.5%; }
body { font-size: 1.6rem; line-height: 1.6; background-color: #f2f0ea; padding-top: 70px; }
body { font-family: "Open Sans", Arial, Helvetica, sans-serif; }

body.default .page { background-color: white; box-shadow: 0 3px 5px -1px #bbb; margin-bottom: 40px; padding: 20px 30px; }

@font-face {
    font-family: "NothingYouCouldDo";
    src: url(https://static.modern-chess.com/Fonts/NothingYouCouldDo.ttf) format("truetype");
}

h1, h2, h3, h4, h5, h6 { color: #333; margin: 0 0 10px 0; padding: 5px 0; font-weight: 500; line-height: 1.5; }
h1 { font-size: 3.2rem; margin: 10px 0 30px 0; font-weight: 400; }
h2 { font-size: 2.6rem; }
h3 { font-size: 2.2rem; font-weight: 600; }
h4 { font-size: 1.9rem; }
h5 { font-size: 1.7rem; }

h1 small, h2 small { font-size: 70%; display: inline-block; position: relative; top: -0.1em; }

h3.price { margin: 0; padding: 0; color:#333; }
h3.price .del { color: #cc0000; font-size: 18px; text-decoration: line-through; padding-right:10px; }

h2 a, h3 a, h4 a, h5 a, h6 a { color: #333 !important; border-bottom: none !important; }
h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover { color: #205b8c !important; text-decoration: none; }

h1 .label { position: relative; top: -0.3em; }
h2 .label { position: relative; top: -0.2em; }

button, a { transition: all .5s; }
/* button, a, img { transition: all .5s; } */

a:focus { outline: none; }
a.link { text-decoration: none; border-bottom: 1px solid transparent; }
a.link:hover { border-color: #337ab7; }

.container.clean { padding: 0; }

.hidden { display: none; }

.link.red-link { color: #cc0000; }
.link.red-link:hover { border-color: #cc0000; }

.article img { margin: 20px 0; width: 400px; max-width: 100%; display: block; }
.article a { text-decoration: none; border-bottom: 1px solid transparent; }
.article a:hover { border-color: #337ab7; }

.abstract { margin-bottom: 35px; }
.abstract a { text-decoration: none; border-bottom: 1px solid transparent; }
.abstract a:hover { border-color: #337ab7; }

.text-message { text-align: center; margin-top: -19px; margin-bottom: 20px; }
.text-message a { text-decoration: none; border-bottom: 1px solid transparent; font-weight: 600; }
.text-message.alert-warning a { color: #66512c; }
.text-message.alert-warning a:hover { border-color: #66512c; }

hr { border-color: #e3e3e3; }

label.label { color: white; border-radius: 1px; font-size: 14px; box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.15); text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.15); }
label.label.label-disabled { background-color: #999; }

.modal-title { font-size: 2.5rem; font-weight: 600; }
.modal-content { border-radius: 4px; }
.modal .close { font-size: 3.5rem; }

.position-setup .form-control { font-size: 15px; }
.position-setup .help-block { margin-top: -5px; font-size: 1.4rem; }
.position-setup .btn.btn-info { box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.15); padding: 7px 15px 8px 15px !important; font-size: 1.7rem; }
.position-setup .btn.btn-default { box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.15); }
.position-setup .btn.btn-default { padding: 5px 15px 6px 15px !important; font-size: 1.5rem; color: #777; }

.form-control { border-radius: 1px; box-shadow: 0 0 0 3px transparent; }
.form-control:focus { box-shadow: 0 0 0 3px #bfdeff !important; border-color: #4ba0ff !important; }
.has-error .form-control:focus { box-shadow: 0 0 0 3px #eeb5b5 !important; }

.form-control.lg { height: 37px; font-size: 1.6rem; }
.form-control.mc { border-color: #c3c3c3 #d9d9d9 #d9d9d9 #d9d9d9; box-shadow: inset 1px 2px 3px #eee; background-image: linear-gradient(#fafafa, white); }
.btn.lg { height: 37px; font-size: 1.6rem; }

.events { margin: 0 1px; }
.events .event { margin-bottom: 30px; }
.events .event h3 { font-size: 18px; line-height: 26px; color: black; margin-bottom: 0; }

.video.embed-responsive { box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); border-color: #ddd #ccc #ccc #ddd; border-radius: 2px; border: 1px solid #ddd; transition: all .5s; }
.video.embed-responsive, .youtube.embed-responsive { margin-bottom: 35px; }
.video.embed-responsive:hover { border-color: #337ab7; }
.video:focus { outline: none !important; }

.youtube.embed-responsive { box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.15); border-color: #ddd #ccc #ccc #ddd; border-radius: 2px; border: 1px solid #ddd; transition: all .5s; }
.youtube.embed-responsive:hover { border-color: #337ab7; }
.youtube .embed-responsive-item { padding: 5px; }

.embed-responsive { box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.15); border-color: #ddd #ccc #ccc #ddd; border-radius: 2px; border: 1px solid #ddd; transition: all .5s;  }
.embed-responsive:hover { border-color: #337ab7; }
.embed-responsive-item { padding: 5px; }

.navbar-brand { padding: 0; }
.navbar-brand > img { height: 50px; }
.navbar-inverse { margin-bottom: 0; }
.navbar-inverse .navbar-nav > li > a { font-size: 15px; font-weight: 600; text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15); }
.navbar-inverse .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > li.open > a { background-color: #00a9e0 !important; color: white; }
.navbar-inverse .navbar-nav > li.active > a { background-color: #00a9e0; color: white; }
.navbar-inverse .navbar-nav .dropdown-menu > li > a { padding: 7px 20px; }
.navbar-inverse .navbar-nav .dropdown-menu > li > a:hover { background-color: #ddd; color: #111; }
.navbar-fixed-top { border-width: 0; }

i.premium { color: #00a9e0; transition: all .5s; }
.navbar-inverse .navbar-nav > li > a:hover > i.premium, .navbar-inverse .navbar-nav > li.open > a > i.premium { color: white; }

.btn, .input-group-addon { border-radius: 2px; }
.btn-payment { border-radius: 2px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15); transition: box-shadow .5s, border-color 1s; }
.btn-payment img { transition: opacity .5s; }
.my-btn.btn-default.btn-payment:hover { box-shadow: 0 1px 3px #337ab7; border-color: #337ab7 !important; }
.btn-payment:hover img { opacity: 0.7; }

.btn-md { padding: 8px 14px; font-size: 16px; line-height: 1.3333333; }

.btn.btn-red-outline { color: #cc0000; border-color: #cc0000; }

.nav-notifications > a .badge { position: absolute; top: 8px; right: 5px; opacity: 0.95; background-color: #cc0000; color: white; border-radius: 2px; font-weight: 600; font-size: 15px; padding: 0 3px 2px 3px; border: 1px solid #c70000; }

.label { border-radius: 4px; display: inline-block; }
span.label { text-shadow: 0 0 3px rgba(0, 0, 0, 0.15); font-weight: 600; box-shadow: inset 0 0 1px rgba(0, 0, 0, .15); font-size: 1.5rem; padding: 6px 12px; }
span.label { display: inline-block; line-height: normal; margin-right: 11px; }

span.label-violet { background-color: #9a67ea; }
span.label-premium { background: linear-gradient(135deg, #fee870, #fada27); color: black; font-weight: 700; text-shadow: 0 1px 2px rgba(255,255,255,0.7); }
span.label-platinum { background: linear-gradient(135deg, #e5ecf3, #d3dce3); color: #1a2b3f; font-weight: 700; text-shadow: 0 1px 2px rgba(255,255,255,0.7); }
span.label-favorite { color: #b45309; background: #fff6d3; display: inline-block; font-weight: 500; text-shadow: none; box-shadow: none; }
span.label-arsenal { background: linear-gradient(135deg, #e0f0ff, #cce4f5); color: #0a3f5a; font-weight: 700; text-shadow: 0 1px 2px rgba(255,255,255,0.8); }
/* span.label-success { background: linear-gradient(135deg, #e2f2e3, #c8e6c9); color: #40851c; font-weight: 700; text-shadow: 0 1px 2px rgba(255,255,255,0.7); } */

.tooltip {opacity: 1 !important; }
.tooltip .tooltip-inner { background: #fff; color: #333; border: 1px solid #ddd; box-shadow: 0 2px 4px rgba(0,0,0,0.1); padding: 10px 12px; max-width: 255px; }

.openings-filter { background-color: #eee; border-radius: 3px; border: 1px solid #e6e6e6; margin-bottom: 20px; padding: 0 15px; }
.filter label { margin-top: 15px; }

.toolbar { margin-bottom: 20px; }
.toolbar .btn { margin: 0 15px 10px 0; }

.info-icon { border: 2px solid #aaa; color: #aaa; border-radius: 50%; cursor: pointer; display: inline-block; width: 24px; height: 24px; line-height: 20px; text-align: center; padding-right: 1px; margin-left: 5px; }
.tooltip-inner { font-size: 15px; padding: 8px; }

.site-message { margin-bottom: 20px; padding: 0; }
.site-message a img { transition: opacity .5s; width: 100%; min-height: 83px; }
.site-message a:hover img { opacity: 0.7; }
.site-message .thumbnail { margin-bottom: 0; box-shadow: 0 0 2px rgba(0, 0, 0, 0.15); }

.cart .item .thumbnail { transition: all .5s; }
.cart .item .thumbnail:hover { opacity: 0.7; box-shadow: 0 1px 3px #337ab7; border-color: #337ab7; }
.cart .item { margin-bottom: 10px; }

.list-item .thumbnail { transition: all .5s; }
.list-item .thumbnaill:hover { opacity: 0.7; box-shadow: 0 1px 3px #337ab7; border-color: #337ab7; }
.list-item { margin-bottom: 10px; }
.list-item > div[class^="col-"] { margin-top: 20px; }
.list-item > .col-sm-7 { margin-bottom: 10px; }

.my-resources li span.badge { border-radius: 50%; width: 20px; height: 20px; padding: 1px; padding-top: 4px; background-color: #aaa; text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15); font-size: 12px; }
.my-resources .item .thumbnail { transition: all .5s; }
.my-resources .item .thumbnail:hover { opacity: 0.7; }
.my-resources .item { margin-bottom: 10px; }

.premium-database { font-size: 17px; }
.premium-database a, .premium-plans a { text-decoration: none; border-bottom: 1px solid transparent; }
.premium-database a:hover, .premium-plans a:hover { text-decoration: none; border-color: #23527c; }
.premium-database .label { font-size: 90%; }
.premium-database .checkbox label { font-weight: 500; display: block;}

.premium-plan { border-radius: 1px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); border-color: #ddd #ccc #ccc #ddd; margin-bottom: 25px; }
.premium-plan > .premium-body { padding: 10px 25px 25px 25px; font-size: 17px; }
.premium-plan h2 { text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15); text-align: center; color: white; line-height: 40px; }

.premium-plan.bronze h2 { background-color: #0baeb3; }
.premium-plan.silver h2 { background-color: #6257e3; }
.premium-plan.gold h2 { background-color: #e1c340; }

.premium-plan.bronze { border-bottom: 5px solid #0baeb3; }
.premium-plan.silver { border-bottom: 5px solid #6257e3; }
.premium-plan.gold { border-bottom: 5px solid #e1c340; }

.dropdown-menu { z-index: 1031; }

.nav-notifications .dropdown-menu { width: 350px; padding: 10px; }
.nav-notifications .dropdown-menu li { margin-bottom: 7px; }
.nav-notifications a { border-bottom: 1px solid transparent; }
.nav-notifications a:hover { text-decoration: none; border-color: #23527c; }

.notification-html { padding-left: 0; }

.ago { color: #aaa; font-size: 13px; font-weight: 600; }

.alert { border-radius: 1px; margin-bottom: 30px; }
.cart-alert .alert { margin-bottom: 35px; }
.progress { border-radius: 1px; }

.article_meta { color: #777; font-size: 1.5rem; margin-bottom: 10px; border-bottom: 1px solid transparent; }
.article_meta a { border-bottom: 1px solid transparent; }
.article_meta a:hover { text-decoration: none; border-color: #23527c; }
.article_meta .fa, .article_meta .fas, .article_meta .glyphicon  { padding-right: 3px; color: #aaa; text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1); }
.article_meta .label { font-size: 15px; border-radius: 1px; box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.15); text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.15); width: auto; }
.article_meta .label i.fas { color: white; }

.article_meta .date { display: inline-block; margin-right: 15px; }
.article_meta .favorite { display: inline-block; margin-right: 10px; }
.article_meta .openings { display: inline-block; margin-right: 10px; }
.article_meta .authors { display: inline-block; margin-right: 10px; }
.article_meta .authors > a { display: inline-block; white-space: nowrap; margin-right: 7px; margin-bottom: 3px; }

.opening-tag { padding: 5px 9px; margin: 2px 7px 2px 0; font-size: 1.5rem; }
.opening-tag { display: inline-block; border-radius: 4px; text-decoration: none; color: #1a56db; background: #eff6ff; transition: all 0.2s ease; border: none !important }
.opening-tag:hover { color: #1e40af; background: #dbeafe; border-color: transparent; transform: translateY(-1px); }

.feature-tag { display: inline-block; padding: 4px 9px; margin: 3px 7px 3px 0; font-size: 1.5rem; border-radius: 4px; }
.feature-tag { text-decoration: none; color: #475569; background: #f1f5f9; transition: all 0.15s ease; }
.feature-tag i { font-size: 1.4rem; padding-right: 10px; opacity: 0.8; /*color: #64748b;*/ }

.favorite-tag { padding: 5px 11px; margin: 2px 7px 2px 0; font-size: 1.5rem; border: none; }
.favorite-tag { display: inline-block; border-radius: 4px; text-decoration: none; color: #b45309; background: #fff6d3; transition: all 0.2s ease; }
.favorite-tag:hover { color: #aa4b02; background: #ffeda6; transform: translateY(-1px); cursor: pointer; }

.favorite-tag.favorited { color: #dc2626; background: #fef2f2; }
.favorite-tag.favorited:hover { color: #b91c1c; background: #ffd1d1; }

/*.sequence-tag {
    display: inline-block;
    padding: 4px 9px;
    margin: 2px 7px;
    font-size: 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    color: #4f46e5;
    background: #eef2ff;
    transition: all 0.15s ease;
    border: none !important;
}*/

/*.sequence-tag:hover {
    background: #e0e7ff;
    color: #4338ca;
    text-decoration: none;
    transform: translateY(-1px);
}*/

a:hover .thumbnail { border-color: #337ab7; }

.my-btn { font-size: 15px; font-weight: 700; border-radius: 1px; padding: 10px 20px 11px 20px !important;  box-shadow: 1px 2px 3px #ccc; font-family: 'PT Sans Caption', sans-serif; }
.my-btn.btn-s { font-size: 14px; padding: 7px 15px 8px 15px !important; }
label.my-btn { font-weight: normal; margin-bottom: 3px; }
label.my-btn.btn-s { font-size: 13px; padding: 5px 11px 6px 11px !important; }

.btn.pull-right { margin-left: 25px; }
.btn .fa-left { padding-right: 9px; }
.btn .fa-right { padding-left: 9px; }

.my-btn.btn-default { background-color: #4288c4; background-image: linear-gradient(#fcfcfc, #eee); border-color: #ccc #bbb #bbb #ccc !important; text-shadow: 1px 1px 1px white; color: #555; }
.my-btn.btn-default:hover, .my-btn.btn-default:focus, .my-btn.btn-default:active { color: #337ab7; border-color: #aaa !important; }

.my-btn.btn-primary { background-color: #bf0404; background-image: linear-gradient(#69a4d7, #337ab7); text-shadow: 1px 1px 1px #205b8c; border-color: #337ab7 #205b8c #205b8c #337ab7; color: white !important; }
.my-btn.btn-primary:hover, .my-btn.btn-primary:focus, .my-btn.btn-primary:active { border-color: #0b4372; }

.my-btn.btn-success { font-weight: 500; border-color: #327232 #347034 #407740 #347034; text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.15); color: white !important; }
.my-btn.btn-danger { font-weight: 500; text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.15); color: white !important; }
.my-btn.btn-default.blue { font-weight: 500; color: #337ab7 !important; border-color: #337ab7 !important; }

.mc-btn.btn-success { color: white; border-radius: 2px; border-color: #4cae4c; box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.15); text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15); }
.mc-btn.btn-warning { color: white; border-radius: 2px; border-color: #eea236; box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.15); text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15); }
.mc-btn.btn-danger { color: white; border-radius: 2px; border-color: #cb322d; box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.15); text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15); }

.mc-btn.btn-danger.btn-outline { color: #cc0000; border-color: #cc0000; background-color: white; text-shadow: none; }
.mc-btn.btn-danger.btn-outline:hover { background-color: #eee; }

.mc-btn.btn-info { color: white; border-radius: 2px; border-color: #31b0d5; box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.15); text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15); }
.mc-btn.btn-primary { color: white; border-radius: 2px; border-color: #009ed1; background-color: #00a9e0; box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.15); text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15); }
.mc-btn.btn-primary:hover { background-color: #008bb8; }

.mc-btn.btn-primary.btn-outline { color: #337ab7; border-color: #009ed1; background-color: white; text-shadow: none; }
.mc-btn.btn-primary.btn-outline:hover { background-color: #eee; }

.mc-btn.btn-default { border-radius: 2px; border-color: #bbb; box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.15); margin-right:0; }
    
.fide_title { font-weight: 700; color: #cc0000; }

.box { background-color: #f6f6f6; border: 1px solid #d9d9d9; border-radius: 1px; box-shadow: 1px 2px 3px #ddd; padding: 7px 14px; }
.box a { border-bottom: 1px solid transparent; }
.box a:hover { text-decoration: none; border-color: #23527c; }

.thumbnail { padding: 5px; border-radius: 1px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); border-color: #ddd #ccc #ccc #ddd; }

.no-margin { margin: 0; }

.nav-pills { padding: 10px 0 20px 0; }
.nav-pills > li > a { color: #333; border-radius: 2px; padding: 10px 12px 11px 12px; }
.nav-pills > li > a:hover { color: #23527c; }
.nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus { background-color: #00a9e0; border-color: #0094c4; text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15); font-weight: 600; color: white; }

.nav-pills > li.inner > a, .nav-pills > li.inner-active > a { padding: 7px 12px 8px 12px; font-size: 13px; }
.nav-pills > li.inner-active > a { background-color: #eee; color: black; }
.nav-pills > li.inner-active > a:hover { color: #bf0404; }

.nav-pills.wizard > li > a { background-color: #eee; margin-left: 3px; border: none !important; transition: none; }

.navbar-form { margin-top: 10px; }

.content strong { color: #555; }
.content h4, .form h4 { padding-top: 10px; color: #333; }
.content a, .form a { border-bottom: 1px solid transparent; padding: 0 1px; }
.content a:hover, .form a:hover { text-decoration: none; border-bottom-color: #23527c; }
.content.info { padding-bottom: 15px; }

footer { background-color: #343530; border-top: 4px solid #2e2e2e; padding-top: 20px; color: #828282; }
footer .fas { padding-right: 10px; }
footer h3 { color: #828282; font-size: 15px; font-weight: 700; line-height: 25px; margin: 15px 0 5px 0; padding: 0; text-transform: uppercase; letter-spacing: 1px; text-shadow: 1px 1px 1px #111; }
footer ul, footer li  { margin: 0; padding: 0; list-style-type: none; padding: 3px 0; }
footer a { color: #eee; border-bottom: 1px solid transparent; font-size: 13px; }
footer a:hover { color: white; border-bottom: 1px dotted white; text-decoration: none; }

footer .payment-methods img { margin: 10px; max-height: 50px; }
footer .payment-methods .VISA { max-height: 40px; }
footer .payment-methods .Paysera { max-height: 30px; }

footer .copyright { margin-top: 35px; background-color: #40403a; color: #828282; padding: 20px 0; font-size: 12px; box-shadow: 0 -5px 10px -7px #21221f; }
footer .copyright a { font-size: 12px; }
footer .copyright strong { font-weight: normal; border-bottom: 1px solid #828282; }

footer .webdesign { text-align: right; }
footer .webdesign strong { font-family: "NothingYouCouldDo", Helvetica, Arial, cursive; }
footer .copyright a, footer .copyright strong { padding: 0 1px; }

footer .my-input { border-color: #222 #333 #333 #222; border-radius: 1px; box-shadow: inset 1px 2px 1px #414141; background-image: linear-gradient(#444, #555); height: 37px; font-size: 13px; color: #aaa; }
footer .my-btn { font-size: 15px; border-color: #555; background-image: linear-gradient(#444, #333); font-weight: 700; box-shadow: none; border-radius: 1px; padding: 10px 20px 11px 20px;   font-family: 'PT Sans Caption', sans-serif; color: #aaa; text-shadow: 1px 1px 2px #111; }
footer .my-btn:focus, footer .my-btn:active { background-image: linear-gradient(#222, #333); }

footer.strategy { position: fixed; height: 70px; line-height: 70px; bottom: 0; width: 100%; }
footer.strategy .copyright { padding: 0; }

.my-orders .order h2 { margin-bottom: 20px; }
.my-orders .order .order-info strong { width: 130px; display: inline-block; }
.my-orders .order p { margin-bottom: 15px; }
.my-orders .order .order-details h4 a { color: #337ab7 !important; }
.my-orders .order .order-details h4 a:hover { color: #205b8c !important; }

.purchase_form { margin-bottom: 25px; text-align: right; }
.purchase_form label.price { text-align: right; display: block; }
.purchase_form h3.price { margin-bottom: 15px;}

div.row.price { margin-bottom: 20px; }
div.row.price label { padding-top: 5px; display: block; text-align: right; color: #333; }

.promotion-discount, .promotion-discount label, .promotion-discount h3.price { color: #205b8c; }
.databases-discount, .databases-discount label, .databases-discount h3.price { color: green; }
.seminars-discount, .seminars-discount label, .seminars-discount h3.price { color: purple; }

.payment-types { padding-left: 25px; margin-bottom: 0; }
.payment-types strong { display: block; padding-bottom: 5px; }
.payment-types .radio input[type="radio"] { margin-left: -25px; }

.prevent-jump { min-height: 34px; }
.bootstrap-select > .dropdown-toggle { border-radius: 1px; }
.bootstrap-select.btn-group .dropdown-menu { border-radius: 1px; }
.bootstrap-select.btn-group .dropdown-menu li a { padding: 7px 20px; }
.bootstrap-select.btn-group .dropdown-menu li a:hover, .bootstrap-select.btn-group .dropdown-menu li.selected a { text-decoration: none; border-bottom-color: #ddd; background-color: #ddd; color: black; }
.bootstrap-select .btn-default:focus { background-color: #eee; box-shadow: 0 0 0 3px #bfdeff; }
.bootstrap-select.btn-group.open .dropdown-toggle { box-shadow: 0 0 0 3px #bfdeff; border-color: #4ba0ff; }

.team .author { display: block; margin-bottom: 30px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); padding: 5px; border: 1px solid transparent; border-radius: 2px; transition: box-shadow .5s, border-color 1s; }
.team .author h2 { display: block; padding: 9px 4px 4px 4px; text-align: center; font-size: 17px; margin: 0; line-height: 27px; }
.team .author h2 strong { color: #cc0000; }
.team .author img { transition: opacity .5s; }
.team .author:hover { box-shadow: 0 1px 3px #337ab7; border-color: #337ab7; text-decoration: none; }
.team .author:hover img { opacity: .7; }
/* .team .author h2 { padding: 9px 4px 4px 4px; text-align: center; font-size: 17px; font-weight: normal; line-height: 23px; height: 50px; } */
.team .author:hover h2 { color: #337ab7; }


/* TODO: Create classes instead of explicitly listing .chess-viewer and .chess-tester */
.article .chess-viewer, .article .chess-tester { margin: 35px 0; }
.chess-viewer .chess-board, .chess-tester .chess-board, .analysis-board .chess-board { margin-bottom: 15px; }
.chess-viewer, .chess-tester { padding-left: 15px; padding-right: 15px; margin-bottom: 30px; }
.chess-viewer > div, .chess-tester > div { border: 1px solid #dcd4c7; border-radius: 3px; transition: box-shadow 0.2s ease-in-out, border-color 0.2s ease-in-out; }
.chess-viewer .col-sm-7, .chess-tester .col-sm-7 { padding: 15px; background-color: #f4efe7; border-right: 1px solid #dcd4c7; }
.chess-viewer .col-sm-5, .chess-tester .col-sm-5 { padding: 0; background-color: #fbf9f5; }

.row-eq-height { display: flex; align-items: stretch; }
.chess-viewer[tabindex="0"]:focus > div { box-shadow: 0 0 0 3px #bfdeff; border-color: #4ba0ff; }

.chess-tester .chess-progress { text-align: center; padding: 7px 5px; border-bottom: 1px solid #dcd4c7; }
.chess-tester .chess-progress i { font-size: 25px; padding: 5px; }
.chess-tester .chess-progress .far.fa-check-circle { color: green; }
.chess-tester .chess-progress .far.fa-times-circle { color: #cc0000; }

.memory-booster, .strategy-booster, .computer-practice, .video-synchronizer { background-color: #fbf9f5; border: 1px solid #dcd4c7; border-radius: 2px; padding: 20px; margin-bottom: 30px; }
.computer-practice.component .score { display: inline-block; padding: 10px 0; }
.computer-practice.component p { margin-bottom:20px; }
.strategy-booster .message, .strategy-booster .next, .strategy-booster .wrong, .strategy-booster .reset, .strategy-booster .moves { position: relative; }
.strategy-booster .progress { border-radius: 2px; }
.strategy-booster .alert { border-radius: 2px; }

.chess-board.board-wrapper > .board-canvas { position: absolute; top: 0; pointer-events: none; opacity: 0.5; z-index: 2; }
.chess-board { position: relative; }
/* .chess-board.board-wrapper { width: 100%; padding-top: 100%; position: relative; } */
.chess-board > .board { display: grid; grid-template-columns: repeat(8, 1fr); grid-template-rows: repeat(8, 1fr); aspect-ratio: 1 / 1; }
/* .chess-board.board-wrapper > .board { display: grid; position: absolute; top: 0; left: 0; width: 100%; height: 100%; margin-bottom: 0; } */
/* .chess-board.board-wrapper > .board { grid-template-columns: 12.5% 12.5% 12.5% 12.5% 12.5% 12.5% 12.5% 12.5%; grid-template-rows: 12.5% 12.5% 12.5% 12.5% 12.5% 12.5% 12.5% 12.5%; } */
.chess-board > .board { box-shadow: 0 0 5px rgba(0,0,0,0.3); border: 2px solid #333; }
.chess-board > .board .square { position: relative; }
.chess-board > .board .square img { width: 100%; height: 100%; z-index: 1; position: absolute; top: 0; left: 0; margin: 0 !important; }
.chess-board > .board .square.square-white { background-color: #f0d9b5; }
.chess-board > .board .square.square-black { background-color: #b58863; }
.chess-board > .board .square.square_G:before { background-image: linear-gradient(to right, rgba(0, 204, 0, 0.7), rgba(0, 204, 0, 0.7)) !important; }
.chess-board > .board .square.square_R:before { background-image: linear-gradient(to right, rgba(204, 0, 0, 0.7), rgba(204, 0, 0, 0.7)) !important; }
.chess-board > .board .square.square-selected { background-image: linear-gradient(to right, rgba(0, 204, 0, 0.7), rgba(0, 204, 0, 0.7)); }
.chess-board > .board .piece { user-select: none; }
.chess-board > .board .piece-choice { background: white; transition: background-color .4s; }
.chess-board > .board .piece-choice:hover { background: #ccc; cursor: pointer; }

.chess-board .notation { font-size: 11px; font-weight: bold; }
.chess-board .notation > div { user-select: none; pointer-events: none; }
.chess-board .notation div:nth-child(even) { color: #b58863; }
.chess-board .notation div:nth-child(odd) { color: #f0d9b5; }
.chess-board .notation-rows { position: absolute; display: grid; top: 0; right: 0; width: 3%; min-width: 15px; height: 100%; grid-template-rows: repeat(8, 1fr); }
.chess-board .notation-rows div { text-align: center; margin-top: 5px; }
.chess-board .notation-columns { position: absolute; display: grid; bottom: 0; left: 0; height: 3%; min-height: 15px; width: 100%; grid-template-columns: repeat(8, 1fr); }
.chess-board .notation-columns div { display: table-cell; vertical-align: middle; padding-left: 7px; }

.component .dropdown-menu { border-radius: 1px; font-size: 1.6rem; }
.component .chess-analysis { background-color: #fbf9f5; border-bottom: 1px solid #dcd4c7; height: 40px; font-size: 1.6rem; padding: 0 0 0 10px; display: flex; align-items: center; }
.component .chess-analysis .analysis-info { font-size: 1.5rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.component .chess-analysis .analysis-btn { margin-left: auto; border-right: none; border-top: none; border-bottom: none; align-self: stretch; padding-top: 0 !important; padding-bottom: 0 !important; display: flex; align-items: center; }
.component .close { float: none; padding-left: 5px; }

/* .component .right-column { display: flex; flex-direction: column; flex: 1; min-height: 0; min-height: 300px; } */
.component .right-column .chess-moves { height: calc(100% - 40px); }

.analysis-board { background-color: white; box-shadow: 0 3px 5px -1px #bbb; margin-bottom: 40px; border-radius: 4px; }
.analysis-board .main { display: flex; /*background-color: #fbf9f5;*/ border: 1px solid lightgray; border-radius: 4px; }
.analysis-board .chess-analysis { background-color: white; }
.analysis-board .right-column { display: flex; flex-direction: column; border-left: 1px solid lightgray; flex: 5.5; min-width: 0; }
.analysis-board .left-column { padding: 20px; flex: 6.5; } 
.analysis-board .chess-moves { flex: 1; overflow-y: scroll; min-height: 0; contain: size layout; }

.component.analysis-board .chess-analysis { display: flex; align-items: center; gap: 20px; height: 50px; /*background-color: #fbf9f5;*/ border-bottom: 1px solid #dcd4c7; }
.component.analysis-board .analysis-moves { position: relative; height: 25px; line-height: 25px; font-size: 1.5rem; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; padding: 0 35px 0 10px; display: none; }
.component.analysis-board .analysis-moves.expanded { height: auto; overflow: visible; white-space: normal; }
.component.analysis-board .analysis-moves-toggle { position: absolute; right: 0; top: 0; height: 25px; padding: 0 5px; font-size: 1.3rem; line-height: 25px; }
.component.analysis-board .analysis-moves-toggle:hover { background: #5e9463; color: white; }
.component.analysis-board .analysis-moves:hover { cursor: pointer; background: #d8f0da; }
.component.analysis-board .chess-analysis .info { line-height: 20px; font-size: 1.4rem; }
.component.analysis-board .chess-analysis .score { font-size: 2.5rem; font-weight: bold; }
.component.analysis-board .chess-analysis .depth { display: block; }
.component.analysis-board .analysis-tooltip { position: fixed; display: none; box-shadow: 0 4px 12px rgba(0,0,0,0.3); z-index: 1000; transform: translateX(-50%); width: 240px; }
.component.analysis-board .analysis-tooltip .board .square { display: flex; align-items: center; justify-content: center; background-size: 96%; background-repeat: no-repeat; background-position: center; }

.component.chess-viewer .trainer-navigation { margin: 0 -15px; margin-bottom: 15px; height: 180px; position: relative; }

.component .trainer-navigation { overflow-y: auto; margin-bottom: 0; }
.component .trainer-navigation .list-group-item { border: none; box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.1); background-color: #f6f6f6; border-radius: 2px; margin: 3px; }
.component .trainer-navigation .list-group-item:hover { background-color: #eee; }

.component .chess-logo { margin-bottom: 15px; }
.component .chess-logo img { max-height: 50px; width: auto !important; max-width: auto !important; margin: 0; }

.component .chess-navigation .btn { box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.15); }

.component .btn { font-size: 1.7rem; font-weight: 500; border-radius: 2px; padding: 7px 15px 8px 15px !important; }
.component .btn { box-shadow: 0 0 0 3px transparent; transition: all ease .3s; }
.component .btn:focus, .component .btn:active, .component a:focus { outline: none !important; }

.component .btn-success { background-color: #28a745; text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15); border-color: #2c9645; color: white !important; }
.component .btn-success:hover { background-color: #218838; }
.component .btn-success:focus { box-shadow: 0 0 0 3px #b7e1c0; background-color: #218838; border-color: #1e7e34; }

.component .btn-primary { background-color: #00a9e0; text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15); border-color: #028dba; color: white !important; }
.component .btn-primary:hover, .component .btn-primary:focus, .component .btn-primary:active { background-color: #0096c7; }
.component .btn-primary:focus { box-shadow: 0 0 0 3px #7fbdff; border-color: #0062cc; }

.component .btn.btn-warning:focus { box-shadow: 0 0 0 3px #f1c88e; }
.component .btn.btn-warning:active { background-color: #de890f; }
.component .btn.btn-default:focus { box-shadow: 0 0 0 3px #ccc; }

.component .list-group-item:first-child { border-top-right-radius: 2px; border-top-left-radius: 2px; }
.component .list-group-item:last-child { border-bottom-right-radius: 2px; border-bottom-left-radius: 2px; }
.component .list-group-item.active, .list-group-item.active:focus, .component .list-group-item.active:hover { background-color: #00a9e0 !important; font-weight: 600; }
.component .list-group-item .label.label-default { background-color: #aaa; }

.component .chess-moves { font-size: 1.6rem; padding: 15px; overflow-y: scroll; overflow-x: hidden; }
.component .chess-moves h2 { font-size: 21px; line-height: 29px; margin: 0; padding: 0; font-weight: 600; text-align: center; }
.component .chess-moves h2 span.elo { font-weight: normal; }
.component .chess-moves h2 span.result { display: inline; font-size: 2.1rem; }
.component .chess-moves h3  { font-size: 1.7rem; line-height: 23px; margin: 0; padding: 0; margin-bottom: 10px; font-weight: 600; text-align: center; }
.component .chess-moves h3 span.event, .component .chess-moves h3 span.date, .component .chess-moves h3 span.annotator { font-weight: normal; }
.component .chess-moves h3 span.annotator { font-style: italic; }
.component .chess-moves .move { cursor: pointer; color: #23527c; display: inline-block; font-weight: 600; transition: all .4s; font-size: 1.8rem; padding: 0 3px;  margin-bottom: 3px; }
.component .chess-moves .move { line-height: 32px; height: 32px; display: inline-flex; align-items: center; }
.component .chess-moves .move .icon { font-size: 2.2rem; font-weight: normal; line-height: 1; margin-top: -3px; }
.component .chess-moves .move:hover { background-color: #ffeda7; border-radius: 4px; }
.component .chess-moves .move.active { background-color: #ffeda7; border-radius: 4px; }
.component .chess-moves .variant .move { line-height: 28px; height: 28px; display: inline-flex; margin: 0; font-weight: 400; font-size: 1.7rem; }
.component .chess-moves .variant .move .icon { font-size: 2.0rem; margin-top: -2px; }
.component .chess-moves .variant .comment { display: inline; }
.component .chess-moves .comment { display: block; margin-bottom: 3px; }
.component .chess-moves .comment.main { font-size: 15px;  }
.component .chess-moves .variant { display: block; margin-left: 25px; }
.component .chess-moves .variant.analysis .move { color: #006400; }
.component .chess-moves .result { font-size: 1.6rem; display: block; margin-top: 10px; font-weight: 700; }

.item .authors { margin-top: 5px; font-size: 15px; color: #999; }

.database-navigation { max-height: 500px; height: 500px; overflow-y: auto; position: relative; margin-bottom: 50px; }
.database-navigation .list-group-item { border: none; box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.1); background-color: #f6f6f6; border-radius: 2px; margin: 3px; }
.database-navigation .list-group-item:hover { background-color: #eee; }
.database-navigation .list-group-item.active, .database-navigation .list-group-item.active:focus, .database-navigation .list-group-item.hover { background-color: #00a9e0; font-weight: 600; }
.database-navigation .label { font-size: 90%; }
.database-navigation .label-default { background-color: #aaa; }
.database-navigation .authors { font-size: 14px; margin-top: 3px; }
.database-navigation .list-group-item.active .authors { font-weight: 500; }
.database-navigation .list-group-item.active .authors .fide_title { background-color: #cc0000; color: white; padding: 0 3px; border-radius: 2px; box-shadow: 0, 0, 1px rgba(0, 0, 0, 0.15); text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15); }

.pagination > .disabled > a { color: #aaa; }
.pagination > li:first-child > a, .pagination > li:first-child > span { border-top-left-radius: 2px; border-bottom-left-radius: 2px; }
.pagination > li:last-child > a, .pagination > li:last-child > span { border-top-right-radius: 2px; border-bottom-right-radius: 2px; }
.pagination > .active > a, .pagination > .active > a:focus, .pagination > .active > a:hover, .pagination > .active > span, .pagination > .active > span:focus, .pagination > .active > span:hover { background-color: #00a9e0; border-color: #0094c4; text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15); font-weight: 600; color: white; }

#article img { display: block; margin-right: auto; margin-left: auto; }

.form-horizontal .control-label { text-align: left; padding-bottom: 9px; }

.navbar-default .container-fluid, .navbar-default .navbar-collapse { padding: 0; }
.nav-notifications .dropdown-menu { padding-right: 15px; height: 500px; overflow-y: scroll; overflow-x: hidden; }

@media (max-width: 1200px) {
    .component .chess-analysis .analysis-info { font-size: 1.3rem; }
    .component .chess-analysis .analysis-btn { font-size: 1.4rem; line-height: normal; }
}

@media (min-width: 768px) {
    .site-message { min-height: 73px; }
}

@media (max-width: 767px) {

    body { font-size: 1.5rem; padding-top: 50px; }
    header .search { padding-right: 0; }

    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.2rem; }
    h3 { font-size: 2.0rem; }
    h4 { font-size: 1.8rem; }
    h5 { font-size: 1.6rem; }

    span.label { font-size: 1.4rem; padding: 5px 10px; }

    .opening-tag { padding: 4px 9px; font-size: 1.4rem; }
    .favorite-tag { padding: 4px 11px; font-size: 1.4rem; }
    .feature-tag { font-size: 1.4rem; }
    .feature-tag i { display: none; font-size: 1.3rem; }
    
    .text-message { margin-bottom: 0; }
    .site-message { min-height: 35px; margin-bottom: 0; aspect-ratio: unset; }
    .site-message .thumbnail { padding: 0; box-shadow: none; border: none; min-height: 40px; }

    .component .chess-moves { font-size: 1.5rem; }
    .component .dropdown-menu { font-size: 1.5rem; }
    .component .btn { font-size: 1.6rem; }
    .component .chess-moves .result { font-size: 1.5rem; }

    .component .chess-analysis .analysis-info { font-size: 1.5rem; }
    .component .chess-analysis .analysis-btn { font-size: 1.5rem; line-height: normal; }
    
    .article_meta { font-size: 1.4rem; }

    .nav-notifications .dropdown-menu .notification-html { color: #ccc; }
    .database-navigation { margin-bottom: 30px; }

    .navbar { margin-bottom: 0; }
    body.default .page { margin: 0; padding: 20px; }
    .cart .item .col-sm-3 { margin: 0 13%; }
    .btn-toolbar .btn { display: block; margin-right: 0; }

    .btn-xs-block { display: block; width: 100%; }
    
    .chess-viewer .chess-board, .chess-tester .chess-board, .analysis-board .chess-board { margin-bottom: 10px; }
    .chess-viewer .col-sm-7, .analysis-board .col-sm-7 { padding: 10px; border-bottom: 1px solid #dcd4c7; border-right: none; }
    .chess-tester .col-sm-7 { padding: 10px; border-bottom: 1px solid #dcd4c7; }
    .memory-booster, .strategy-booster, .computer-practice, .video-synchronizer { padding: 20px 10px; }

    .component .chess-logo img { max-height: 40px; }
    .component .chess-logo { margin-bottom: 10px; }
    .conponent .chess-moves { padding: 10px; }
    .component .btn { padding: 5px 10px 6px 10px; font-size: 14px; }

    .row-eq-height { display: block; }
    .position-setup .row-eq-height { display: flex; }

    .position-setup .board-controls { margin-bottom:25px; }
    .position-setup .form-control { font-size: 13px; }

    footer .webdesign { text-align: center; }
}

.nav-tabs > li > a { border-radius: 1px 1px 0 0; margin: 0; font-size: 17px; }
.nav-tabs > li:first-child > a { margin-left: 5px; }

footer .btn-social { color: white; text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15); transition: all ease-in-out .3s; margin-right: 10px;  border-radius: 30%; height: 47px; width: 50px; display: inline-block; text-align: center; line-height: 47px; font-size: 29px; border-bottom: none; }
footer .btn-social:hover { border-bottom: none; opacity: 0.7; }

.btn-youtube { background-color: #c4302b; border: 1px solid rgba(0, 0, 0, 0.2); }
.btn-facebook { background-color: #3b5998; border: 1px solid rgba(0, 0, 0, 0.2); }
.btn-twitter { background-color: #1da1f2; border: 1px solid rgba(0, 0, 0, 0.2); }

footer .btn-social { box-shadow: 0 0 0 3px transparent; }
footer .btn-social:focus { box-shadow: 0 0 0 3px #999; }

.checkbox, .radio { display: block; position: relative; cursor: pointer; user-select: none; padding-left: 3rem; }
.checkbox.inline, .radio.inline { display: inline-block; }
.form-horizontal .checkbox, .form-horizontal .radio { margin: 0; margin-bottom: 12px; padding: 0; padding-left: 3rem; }

.checkbox .checkmark, .radio .checkmark, .checkbox .text, .radio .text { transition: all ease-in-out .3s; }

.checkbox input:disabled ~ .checkmark, .radio input:disabled ~ .checkmark { border: 1px solid #ddd; color: #aaa; }
.checkbox input:disabled ~ .text, .radio input:disabled ~ .text { color: #aaa; }
.checkbox:hover input:disabled ~ .checkmark, .radio:hover input:disabled ~ .checkmark { background-color: white; }
.checkbox .checkmark .fas, .radio .checkmark .fas { display: none; }
.checkbox input, .radio input { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0; }
.checkbox .checkmark, .radio .checkmark { position: absolute; top: 0; left: 0; border: 1px solid #ccc; background-color: white; display: flex; align-items: center; justify-content: center; }
.checkbox:hover input ~ .checkmark, .radio:hover input ~ .checkmark { background-color: #eee; }
.checkbox input:focus ~ .checkmark, .radio input:focus ~ .checkmark { box-shadow: 0 0 0 3px #bfdeff; border-color: #4ba0ff; }
.checkbox > label, .radio > label { font-weight: 500; }
.checkbox .text, .radio .text { display: inline-block; vertical-align: middle; line-height: 1.8; }

/* Checkbox specific */
.checkbox .checkmark { border-radius: 2px; height: 2.8rem; width: 2.8rem; }
.checkbox input:checked ~ .checkmark { background-image: linear-gradient(to right, #eee , #ddd); border: 2px solid #4ba0ff; }
.checkbox input:checked ~ .checkmark .fas { display: block; color: #4ba0ff; font-size: 1.6rem; }
.checkbox input:checked ~ .text { text-decoration: underline; color: #007bff; }

/* Radio specific */
.radio .checkmark { border-radius: 50%; height: 3rem; width: 3rem; }
.radio input:checked ~ .checkmark { background-image: linear-gradient(to right, #eee , #ddd); border: 2px solid #4ba0ff; }
.radio input:checked ~ .checkmark .fas { display: block; color: #4ba0ff; font-size: 1.6rem; opacity: 0.8; }
.radio input:checked ~ .text { text-decoration: underline; color: #007bff; }
.radio .description { margin-left: 20px; padding-top: 0.5rem; color: #666; font-size: 1.6rem; }

.switch { display: inline-flex; width: 47px; height: 28px; border-radius: 14px; background: #eee; box-shadow: inset 0 0 7px rgba(0,0,0,0.15); padding: 2px; cursor: pointer; align-items: center; justify-content: flex-start; }
.switch.on { background: #a1d8a3; justify-content: flex-end; }
.thumb { width: 24px; height: 24px; background: white; border-radius: 50%; box-shadow: 0 0 5px rgba(0,0,0,0.15); }

.clock-display { margin: 0 auto; border-spacing: 11px; border-collapse: separate; }
.clock-display td { width: 60px; text-align: center; vertical-align: middle; }
.clock-data { font-size: 33px; border: 1px solid #d4c8b4; border-radius: 3px; }
.clock-info { font-size: 13px; color: #337ab7; }
span.monospace { display: inline-block; width: 20px; } 

#cookies-consent { opacity: 0; transition: opacity 1s; width: 250px; position: fixed; right: 30px; bottom: 50px; z-index: 10; }
#cookies-consent { background-color: #333; color: white; border-radius: 2px; padding: 20px 25px 30px 25px; }
#cookies-consent p { margin-bottom: 20px; }
#cookies-consent a { color: #89c0ef; text-decoration: underline; font-size: 16px; }
#cookies-consent button { font-size: 16px; padding: 8px 20px; }

.col-ms-1, .col-ms-2, .col-ms-3, .col-ms-4, .col-ms-5, .col-ms-6, .col-ms-7, .col-ms-8, .col-ms-9, .col-ms-10, .col-ms-11, .col-ms-12 { position: relative; min-height: 1px;  padding-left: 15px; padding-right: 15px; }

.component.analysis-board .chess-analysis .stockfish-short { display: none; }

@media (min-width: 768px) and (max-width: 991px) {
    .component.analysis-board .chess-analysis .info { line-height: 18px; font-size: 1.3rem; }
    .component.analysis-board .chess-analysis .score { font-size: 2.2rem; }
    .component.analysis-board .chess-analysis .stockfish { display: none; }
    .component.analysis-board .chess-analysis .stockfish-short { display: inline-block; }
}

@media (max-width: 480px) {
    .favotites .item .thumbnail { margin-left: 15%; margin-right: 15%; }
    .items .list-item > .col-sm-3 { margin-left: 15%; margin-right: 15%; }
/*     .magazine .list-item > .col-sm-3 { margin-left: 15%; margin-right: 15%; } */
    .my-resources .item > .col-sm-3 { margin-left: 15%; margin-right: 15%; }
    .database-navigation { max-height: 400px; }
    .img-profile { min-height: calc(100vw - 50px); }
    .position-setup .row-eq-height { display: block; }
    
     .analysis-board .main { flex-direction: column; }
    .analysis-board .left-column, .analysis-board .right-column { flex: auto; }
}

@media (min-width: 480px) and (max-width: 768px) {
    .events .event .col-sm-4 { margin: 0 15% 20px 15%; }
    .item .list-item .thumbnail { margin: 0 15% 20px 15%; }
    .img-profile { min-height: calc(50vw - 35px); }

    .container { max-width: 748px; }
    .visible-ms { display: block !important; }
    .col-ms-1, .col-ms-2, .col-ms-3, .col-ms-4, .col-ms-5, .col-ms-6, .col-ms-7, .col-ms-8, .col-ms-9, .col-ms-10, .col-ms-11 { float: left; }
    .col-ms-1 { width: 8.33333%; }
    .col-ms-2 { width: 16.66667%; }
    .col-ms-3 { width: 25%; }
    .col-ms-4 { width: 33.33333%; }
    .col-ms-5 { width: 41.66667%; }
    .col-ms-6 { width: 50%; }
    .col-ms-7 { width: 58.33333%; }
    .col-ms-8 { width: 66.66667%; }
    .col-ms-9 { width: 75%; }
    .col-ms-10 { width: 83.33333%; }
    .col-ms-11 { width: 91.66667%; }
    .col-ms-12 { width: 100%; }
    .col-ms-push-1 { left: 8.33333%; }

    .col-ms-push-2 { left: 16.66667%; }
    .col-ms-push-3 { left: 25%; }
    .col-ms-push-4 { left: 33.33333%; }
    .col-ms-push-5 { left: 41.66667%; }
    .col-ms-push-6 { left: 50%; }
    .col-ms-push-7 { left: 58.33333%; }
    .col-ms-push-8 { left: 66.66667%; }
    .col-ms-push-9 { left: 75%; }
    .col-ms-push-10 { left: 83.33333%; }
    .col-ms-push-11 { left: 91.66667%; }

    .col-ms-pull-1 { right: 8.33333%; }
    .col-ms-pull-2 { right: 16.66667%; }
    .col-ms-pull-3 { right: 25%; }
    .col-ms-pull-4 { right: 33.33333%; }
    .col-ms-pull-5 { right: 41.66667%; }
    .col-ms-pull-6 { right: 50%; }
    .col-ms-pull-7 { right: 58.33333%; }
    .col-ms-pull-8 { right: 66.66667%; }
    .col-ms-pull-9 { right: 75%; }
    .col-ms-pull-10 { right: 83.33333%; }
    .col-ms-pull-11 { right: 91.66667%; }

    .col-ms-offset-1 { margin-left: 8.33333%; }
    .col-ms-offset-2 { margin-left: 16.66667%; }
    .col-ms-offset-3 { margin-left: 25%; }
    .col-ms-offset-4 { margin-left: 33.33333%; }
    .col-ms-offset-5 { margin-left: 41.66667%; }
    .col-ms-offset-6 { margin-left: 50%; }
    .col-ms-offset-7 { margin-left: 58.33333%; }
    .col-ms-offset-8 { margin-left: 66.66667%; }
    .col-ms-offset-9 { margin-left: 75%; }
    .col-ms-offset-10 { margin-left: 83.33333%; }
    .col-ms-offset-11 { margin-left: 91.66667%; }
}

@media (min-width: 1400px) { 
    .container { width: 1370px; }
    .component.chess-viewer .col-sm-7, .component.chess-tester .col-sm-7 { width: 55% !important; }
    .component.chess-viewer .col-sm-5, .component.chess-tester .col-sm-5 { width: 45% !important; }
    .component .col-sm-7 { width: 55% !important; }
    .component .col-sm-5 { width: 45% !important; }
    .component .col-sm-offset-3 { margin-left: 21.6667% !important; }
}

.offer-card { border-radius: 2px; margin-bottom: 30px; padding: 30px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); transition: box-shadow 0.3s ease; line-height: 1.6; }
.offer-card:hover { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35); }
.offer-description { margin: 15px 0 25px; }
.offer-details { margin-bottom: 35px; }
.offer-details .row { margin-bottom: 15px; }
.offer-details label { font-weight: 600; margin-bottom: 10px; padding-top: 7px; }
.offer-details span.label { color: white; padding: 6px 12px; border-radius: 20px; font-weight: bold; font-size: 1.1em; }
.offer-details span.label { line-height: 1.6; display: inline-block; background: linear-gradient(135deg, #27ae60, #2ecc71); }

.promo-code { background: linear-gradient(135deg, #f39c12, #e67e22); padding: 8px 16px; border-radius: 6px; font-family: 'Courier New', monospace; font-weight: bold; }
.promo-code { font-size: 0.95em;  display: inline-block; cursor: pointer; transition: all 0.3s ease; text-align: center; min-width: 150px; }
.promo-code { color: white; text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15); }
.promo-code:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(243, 156, 18, 0.3);  }
.promo-code-red { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.promo-code-violet { background: linear-gradient(135deg, #9b59b6, #8e44ad); }
.promo-code-orange { background: linear-gradient(135deg, #f39c12, #e67e22); }
.promo-code-blue { background: linear-gradient(135deg, #3498db, #2980b9); }
.promo-code-olive { background: linear-gradient(135deg, #c0b24d, #b0991c); }
.promo-code-coral { background: linear-gradient(135deg, #ff7f50, #e85d4f); }

.card-highlight { position: relative; overflow: hidden; }
.card-highlight::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, #f39c12, #e67e22, #27ae60, #3498db); }

