/* COMMON */
@font-face {
    font-family: Roboto;
    src: url(fonts/Roboto.ttf);
}
img {box-shadow: none !important;}
a:focus, button:focus {outline: none !important;}
article {border-bottom: 0px !important; margin-bottom: 0px !important;}
#page {background-color: white; margin-top: 20px; border-radius: 30px; border: 5px ridge #A65712; max-width: 1200px;}
#primary, #secondary {margin-top: 10px;}
#primary {box-sizing: border-box;}
#secondary {box-sizing: border-box;}
.mapcont {height: 400px; margin-top: 20px; margin-bottom: 20px;}
h3 {font-size: 45px !important; line-height: 50px !important;}
.entry-content iframe {margin-bottom: 0px !important;}
.downloadb {background-color: #264796; color: white !important; font-size: 21.5px; border-radius: 10px; text-decoration: none !important; text-align: center; display: block; line-height: 28px; padding: 5px;}
.linkblue {color: #264796; text-decoration: underline;}

/* HEADER */
#header-m {padding-top: 15px; display: -webkit-flex; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;}
#masthead {padding-top: 0px !important; padding-bottom: 0px;}
.centtop {width: 55%;}
.centtoptop {display: -webkit-flex; display: flex; justify-content: center; align-items: stretch; flex-wrap: wrap;}
.centtoptop a, .centtoptop p {font-size: 22px; line-height: 31px; text-decoration: none; color: black;}
.centtoptop .toph {text-align: center; font-size: 24px; font-weight: bold; padding-bottom: 20px;}
.centtoptop img {width: 35px; margin-right: 10px; margin-bottom: -10px;}
.centleftb, .centrightb {padding-left: 15px; padding-right: 15px;}
.centleftb {border-right: 1px solid #ccc;}
.phonetop, .mailtop {left: 0px; position: relative; -moz-transition: all 0.2s ease-in-out; -webkit-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out;}
.phonetop:hover, .mailtop:hover {left: 5px; position: relative; -moz-transition: all 0.2s ease-in-out; -webkit-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out;}
.mailtop {margin-top: 5px;}
.aklogo img, .fedlogo img {width: 100%; transform: scale(1); -moz-transition: all 0.2s ease-in-out; -webkit-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out;}
.aklogo img:hover, .fedlogo img:hover {transform: scale(1.02); -moz-transition: all 0.2s ease-in-out; -webkit-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out;}
h1.entry-title {font-size: 24px !important; font-weight: bold !important;}
#breadcrumbs {margin-bottom: 15px; line-height: 22px;}
#breadcrumbs a {color: #264796 !important;}

/* NAVIGATION */
#site-navigation ul.nav-menu {text-align: center !important; border: 0px !important; background-color: #264796; border-radius: 10px; display: -webkit-flex !important; display: flex !important; justify-content: space-evenly; align-items: center; flex-wrap: wrap; border-bottom-left-radius: 0px; border-bottom-right-radius: 0px;}
#site-navigation > button {box-shadow: none !important;}
ul.nav-menu li {margin-left: 10px; margin-right: 10px;}
ul.nav-menu li a {color: white; font-size: 25px; line-height: 60px; text-transform: none !important;}
ul.nav-menu li a:hover, ul.nav-menu li a:focus, .main-navigation .current-menu-item > a, .main-navigation .current-menu-ancestor > a, .main-navigation .current_page_item > a, .main-navigation .current_page_ancestor > a {color: #e4ad58; font-weight: normal;}
ul.sub-menu {background: #264796 !important; border-radius: 10px; border-top-left-radius: 0px; border-top-right-radius: 0px;}
ul.sub-menu li {margin-left: 0px; margin-right: 0px;}
ul.sub-menu li a {color: white; font-size: 16px !important; line-height: 24px !important; background: #264796 !important; border-bottom: 0px !important;}
ul.sub-menu li a:hover {color: #e4ad58 !important;}
ul.sub-menu > li:last-child a {border-bottom-left-radius: 10px; border-bottom-right-radius: 10px;}

/* SIDEBAR */
.widget-area .widget {margin-bottom: 30px !important;}
.bokss a {text-decoration: none !important; background-color: #264796; color: white !important; font-size: 21.5px; border-radius: 10px; padding-left: 5px; padding-right: 5px; line-height: 22px; width: 100%; box-sizing: border-box; display: inline-block; margin-top: 5px; padding-top: 5px; padding-bottom: 5px; display: -webkit-flex; display: flex; justify-content: flex-start; align-items: center; flex-wrap: wrap; -moz-transition: all 0.2s ease-in-out; -webkit-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out;}
.bokss a:hover {background-color: #1e3773; -moz-transition: all 0.2s ease-in-out; -webkit-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out;}
.bokss a img {width: 20%; margin-right: 5px; float: left; box-sizing: border-box;}
.bokss a span {width: 77%; box-sizing: border-box; text-align: center;}
.widget-title {text-align: center; line-height: 27px !important; margin-bottom: 15px !important; color: black !important; font-size: 19px !important; text-decoration: none;}
.widget-title a.rsswidget {color: black !important; font-size: 19px; text-decoration: none;}
.widget_rss ul li a {color: black !important;}
#text-2 ul li {margin-left: 15px !important; line-height: 22px; font-size: 16px; margin-top: 5px; margin-bottom: 5px !important;}
#text-3 .widget-title {hyphens: none !important;}
#text-3 .textwidget p {text-align: center; font-size: 25px !important; color: red; font-weight: bold !important;}
.centcentb {text-align: center;}
.centcentb a {color: white !important; background-color: #264796; text-decoration: none; font-size: 30px; border-radius: 10px; padding: 5px; padding-left: 10px; padding-right: 10px; box-shadow: none; -moz-transition: all 0.2s ease-in-out; -webkit-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; display: inline-block; width: 100%; box-sizing: border-box;}
.centcentb a:hover {box-shadow: 0 0 10px rgba(0,0,0,1) !important; -moz-transition: all 0.2s ease-in-out; -webkit-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out;}
.centcentb a img {width: 30px; margin-bottom: -6px; margin-right: 5px;}
#lichess {text-align: center; text-decoration: none;}
#lichess p {color: black; font-size: 19px; line-height: 29px; font-weight: bold; margin-bottom: 0px; text-transform: uppercase;}
#lichess img {transition: 1s;}
#lichess img:hover {transform: scale(0.97); transition: 0.5s;}

/* FOOTER */
#colophon {display: none !important;}
#footer-m {display: -webkit-flex; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
#footer-m > div {padding-left: 10px; padding-right: 10px; margin-top: 5px; margin-bottom: 5px;}
#copyfoot {font-size: 14px; line-height: 21px;}
#copyfoot a {color: #264796;}

/* HOME */
.home h1.entry-title {display: none !important;}
.home #breadcrumbs {display: none !important;}
.pt-cv-title {line-height: 20px !important; text-align: center;}
.pt-cv-title a {text-transform: uppercase; font-size: 14px; color: black;}
.pt-cv-href-thumbnail {height: 140px !important; display: -webkit-flex; display: flex; justify-content: center; align-items: center; flex-wrap: wrap;}
.pt-cv-href-thumbnail img {width: auto !important; max-height: 100%; height: auto !important;}
.pt-cv-view .pt-cv-title {min-height: 30px;}
.pt-cv-content {height: 118px !important; position: relative; font-size: 13px; line-height: 18px;}
.pt-cv-wrapper .btn-success {background-color: #264796 !important; color: white !important; border: 0px !important; border-radius: 0px !important; width: 100%; box-sizing: border-box; height: 34px !important;  position: absolute; bottom: 0px;}
.pt-cv-meta-fields time {font-size: 11px;}
.home #primary .entry-header {display: none;}
.arnews {text-align: right; color: #264796; display: block;}

/* Академия */
.mapcontak {background: url(/wp-content/uploads/2018/12/mapback.jpg); background-position: center;}
#akcont {display: -webkit-flex; display: flex; justify-content: space-around; align-items: flex-start; flex-wrap: wrap;}
#akcont > div {width: 45%; box-sizing: border-box;}
#akcont > div > h2 {text-align: center; font-size: 22px !important;}
#akcont > div a {text-decoration: none !important; color: black !important; left: 0px; position: relative; -moz-transition: all 0.2s ease-in-out; -webkit-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out;}
#akcont > div a:hover {left: 5px; position: relative; -moz-transition: all 0.2s ease-in-out; -webkit-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out;}
.page-id-39 h2 a {color: black !important;}

/* Отдельная новость */
article.type-post .entry-header img {margin-left: auto; margin-right: auto; max-height: 470px; width: auto; display: block;}
article.type-post .entry-meta {font-size: 0px;}
article.type-post .entry-meta time.entry-date {font-size: 16px; font-family: ProximaNova; color: black;}
article.type-post .entry-meta > a {text-decoration: none !important;}
.nav-previous a, .nav-next a {font-family: ProximaNova; color: #264796 !important;}
.type-post h1.entry-title {text-align: center;}

/* Турниры */
.turnirmenu {display: -webkit-flex; display: flex; justify-content: space-around; align-items: normal; flex-wrap: wrap;}
.turnir {width: 30%; min-width: 245px; background-color: white; color: black; box-sizing: border-box; border: 3px solid #264796; border-radius: 10px; display: -webkit-flex; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; text-decoration: none !important; padding: 5px; -moz-transition: all 0.2s ease-in-out; -webkit-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out;}
.turnir:hover {background-color: #264796; color: white !important; -moz-transition: all 0.2s ease-in-out; -webkit-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out;}
.turnir img {width: 37%; max-width: 150px; box-sizing: border-box; float: left;}
.turnir h2 {width: 60%; box-sizing: border-box; clear: none !important; margin: 0px !important; text-align: center; font-size: 29px; line-height: 32px;}
.turnirg {margin-top: 10px; margin-bottom: 10px;}
.turnirg h2 {width: 100%; box-sizing: border-box;}
.turnirmenug {margin-top: 20px;}

/* Звездный путь */
.pdfemb-poweredby {display: none !important;}
.sl-wrapper .sl-image .sl-caption {display: none !important;}

/* Состав Федерации */
.mfp-close:hover, .mfp-close:focus, .mfp-close:active {background: transparent !important; box-shadow: none !important;}
.wp-modal-header .member-popup-info {box-sizing: border-box;}

/* Партнёры */
.partcont {display: -webkit-flex; display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap;}
.partr {width: 100%; margin-top: 15px; margin-bottom: 15px;}
.partr img {height: 90px; width: auto; margin-right: 25px; margin-bottom: -38px;}
.partr p {font-size: 26px; font-weight: bold;}

/* Контакты */
.kontcont {display: -webkit-flex; display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap;}
.kontfed h2 {color: #264796; border: 3px solid #264796; border-radius: 10px;}
.kontak h2 {color: #e4ad58; border: 3px solid #e4ad58; border-radius: 10px;}
.kontr {text-align: center;}
.kontr h2 {font-size: 23px; line-height: 29px; padding-left: 10px; padding-right: 10px; display: inline-block;}
.kontr a {text-decoration: none !important; color: black !important; font-size: 18px; left: 0px; position: relative; -moz-transition: all 0.2s ease-in-out; -webkit-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out;}
.kontr a:hover {left: 5px; position: relative; -moz-transition: all 0.2s ease-in-out; -webkit-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out;}

@media screen and (max-width: 1280px) {
  .centtop {width: 40%;}
  .centtoptop .toph {padding-bottom: 5px;}
  .centleftb {border-right: 0px;}
  .centrightb .toph {margin-top: 5px;}
}

@media screen and (max-width: 985px) {
   #header-m {justify-content: space-around;}
   .centtop {width: 100%; -webkit-order: 1; order: 1; margin-top: 10px;}
   .bokss a {font-size: 14.5px; line-height: 15px;}
   .bokss a img {margin-right: 0px;}
   .bokss a span {width: 80%;}
    #akcont > div {width: 100%;}
}

@media screen and (max-width: 770px) {
  .pt-cv-href-thumbnail {height: auto !important;}
  .pt-cv-view .pt-cv-title {min-height: auto !important;}
  .pt-cv-content {height: auto !important;}
  .pt-cv-wrapper .btn-success {position: relative;}
  #lichess p {font-size: 16px; line-height: 24px;}
}

@media screen and (max-width: 600px) {
  .pdfemb-toolbar {height: 29px !important; width: 70px !important;}
  .pdfemb-page-area {display: none !important;}
  h3 {font-size: 28px !important; line-height: 30px !important;}
  #page {padding-left: 5px; padding-right: 5px;}
  #page #main {padding-left: 10px; padding-right: 10px;}
  .aklogo, .fedlogo {padding-left: 5px; padding-right: 5px;}
  .aklogo {width: 60%; box-sizing: border-box;}
  .fedlogo {width: 40%; box-sizing: border-box;}
  .centtoptop a, .centtoptop p {font-size: 19px;}
  .centtoptop img {width: 25px; margin-right: 5px; margin-bottom: -7px;}
  .mailtop {margin-top: 0px;}
  button.menu-toggle {background: #264796 !important; color: white !important; border-radius: 10px; font-size: 27px; width: 100%; margin-top: 5px; border: 3px solid;}
  button.menu-toggle:before {font-family: FontAwesome; content: "\f0c9"; margin-right: 10px;}
  #site-navigation ul.nav-menu {display: none !important;}
  #site-navigation ul.toggled-on {display: inline-block !important; border-top-left-radius: 0px; border-top-right-radius: 0px;}
  #site-navigation ul.toggled-on li {margin-top: 0px !important;}
  #site-navigation ul.toggled-on li a {text-decoration: none !important; font-size: 26px; line-height: 41px;}
    .nav-previous, .nav-next {line-height: 20px;}
  .bokss a {font-size: 21.5px; line-height: 22px;}
  .bokss a img {max-width: 70px;}
  .turnir {width: 100%;}
  #lichess p {font-size: 25px; line-height: 32px;}
}